Feature-selection, and similarity analyses of the feature-selected voxels
The code for the second set of analyses in the paper can be found in the
subdirectory Spatially_normalised_analyses of the zip archive. In order to
compare the locations of the selected voxels across different subjects, the
brain volumes were all spatially normalised to the standard MNI152 template
at 3x3x3mm resolution using SPM8, before feature-selection or
similarity-analysis was carried out. A batch script to run those standard
preprocessing steps is
Step1_split_and_spatially_normalise_haxby_data.m.
Because the .mat file to be read-in by this Step4 decoding script is
included with the rest of the code, the reader may skip straight to running
the Step4 script, if desired. The data in that .mat file can be recreated
from scratch by running the Steps 1 to 3 scripts.
Chance-level performance of a Monte Carlo permutation distribution,
compared against a binomial distribution
Chance performance for our new permutation-matching decoding approach is
determined by a permutation distribution. For more standard multi-class
decoding approaches, chance performance is given by a binomial
distribution. The Matlab script
perm_matching_vs_binomial.m in the Additional_scripts subdirectory
calculates and compares these two distributions, for the case of eight
different stimulus conditions. As running that code demonstrates, for both
distributions the expected number correct for chance performance is 1 out
of 8, and the p<0.05 critical-value number correct is 3 out of 8.