Skip to content

Instantly share code, notes, and snippets.

View andreifoldes's full-sized avatar

Andrei Tamas Foldes andreifoldes

  • Cardiff
View GitHub Profile
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@andreifoldes
andreifoldes / partial_permutation_testing.md
Created August 25, 2022 11:25 — forked from effigies/partial_permutation_testing.md
Markiewicz and Bohland, 2016 permutation testing

Partially-parametric permutation testing

Cluster thresholding in multi-voxel pattern analysis (MVPA) is an open problem, as many figures of merit are possible, few (if any) of which have been sufficiently analyzed to permit a parametric solution or a guarantee of compatibility with pre-computed simulations. Stelzer, et al. 2012 represents probably the most conservative approach, constructing voxel-wise and then cluster-wise null distributions at the group level, based on permuting the training labels at the individual level.

In Mapping the cortical representation of speech sounds in a syllable repetition task, we adapted this approach to skip the voxel-wise null distribution,

@andreifoldes
andreifoldes / dsu.sh
Last active April 11, 2018 16:23 — forked from ddbs/dsu.sh
Data Science Ubuntu
# Instructions to build a Data Science VM based on Ubuntu Xenial
######################################
# R
######################################
# Update CRAN mirror for R
echo "deb https://cran.rstudio.com/bin/linux/ubuntu xenial/" | sudo tee -a /etc/apt/sources.list
## Secure CRAN mirror and upgrade