No, currently the paired t-test plug-in in SnPM doesn't allow for nuisance covariates. However, a paired t-test is equivalent to a one-sample t-test on the pairwise differences, and the One Sample T-test plug-in *does* allow for nuisance (or "confounding") covariates.
The attached script, PairDiff.m will produce the differences if you don't already have them. Let me know if it works for you OK.
Sorry for the trouble.
-Tom
On Mon, Mar 31, 2008 at 11:13 AM, Scheuerecker, Johanna <[log in to unmask]> wrote:
Dear SPMers,
does anyone know if there is a possibility to use paired t-test in SNPM5 with one covariate of interest?
Thanks a lot,
Johanna
-- ____________________________________________ Thomas Nichols, PhD Director, Modelling & Genetics GlaxoSmithKline Clinical Imaging Centre
Senior Research Fellow
Oxford University FMRIB Centre