SPM2 is old now. Consider using SPM8.
SPM2 is a major update to the SPM software, containing substantial theoretical, algorithmic, structural and interface enhancements over previous versions.
Previously, SPM has used unbiased ordinary least squares (OLS) estimators that, under assumptions of identically and independently distributed errors (i.i.d. or sphericity) are the same as maximum likelihood (ML) estimators.
SPM2 now uses restricted maximum likelihood REML estimates of variance components (pooled over voxels) to allow departures from i.i.d. assumptions. The ensuing non-sphericity estimates are then used to form ML estimates using weighted least squares (WLS). This increases the scope of data that can be analysed with SPM and provides more efficient and precise [hyper-]parameter estimates.
Classical inference about parameters, or contrasts of the model parameters, proceeds using conventional parametric statistics to provide P values pertaining to the maxima, spatial extent of voxel-clusters or number of clusters. These P values are used to reject the null hypothesis. The P values have to be adjusted to protect against family-wise false-positives over the search volume. This adjustment uses a Random Field Theory (RFT) correction that, for spatially extended continuous data, plays the same role as a Bonferroni correction does with discrete data.
In addition to WLS estimators and classical inference, SPM2 also supports Bayesian estimation and inference. In this instance the statistical parametric maps become posterior probability maps Posterior Probability Maps (PPMs), where the posterior probability is a probability of an effect given the data. There is no multiple comparison problem in Bayesian inference and the posterior probabilities do not require adjustment.
SPM2 is available via FTP,
but we ask you to complete a registration form prior
to downloading. Having completed the form, you will be directed to the download location,
keyword enabled FTP
URL. You should also periodically check the updates.
You need the following to run SPM2:
*.mexsol), Linux (
*.mexlx), and Windows (
*.dll). If you are lucky, you may be able to get SPM2 running under MacOS X (but no Deformations toolbox). For these platforms you only need Matlab.
Makefileis provided with the distribution, configured for various platforms. If you have to tweak the Makefile to compile the SPM mex-files for your platform, please send us the details so we can include them in the distributed Makefile. Additionally, if you send us the compiled binaries, we would be happy to host archives of compiled mex-files in the user contributions area, for other users benefit.
spm_format.manin the distribution]. SPM can also read some MINC & ECAT-7 images. A utility is provided that will convert DICOM files into a form that SPM2 can work with. It has been tested with data from our Siemens Sonata and Allegra scanners, but may not work as well for data from other systems. Information about other image format conversion utilities can be found at http://www.mricro.com/mricro.html#DICOM.
Although SPM2 still uses the Analyze file format, and will therefore read image files from previous versions of SPM, there are differences in the algorithms, templates and models used in SPM2 over previous releases. Therefore, we recommend you use a single SPM version for any given project.
One thing to watch out for is the image orientation. The proper Analyze format uses a left-handed
co-ordinate system, whereas Talairach uses a right-handed one. In SPM99, images were flipped at
the spatial normalisation stage (from one co-ordinate system to the other). In SPM2, a different
approach is used, so that either a left- or right-handed co-ordinate system is used throughout.
The SPM2 program is told about the handedness that the images are stored with by the
spm_flip_analyze_images.m function and the
parameter that is specified in the
spm_defaults.m file. These files are intended
to be customised for each site. If you previously used SPM99 and your images were flipped during
spatial normalisation, then set
defaults.analyze.flip=1. If no flipping
took place, then set
Check that when using the Display facility (possibly after specifying some rigid-body rotations) that: