Scroll to navigation

ttest(1) The Computational Morphometry Toolkit ttest(1)


ttest - T-tests


ttest [options] imageX0 [imageX1 ...] -- imageY0 [imageY1] ... ttest [options] --symmetric imageX0 [imageX1 ...]


Pixelwise tests of statistical significance. Also compute correlations and z-scores


Global Toolkit Options (these are shared by all CMTK tools)

Write list of basic command line options to standard output.
Write complete list of basic and advanced command line options to standard output.
Write list of command line options to standard output in MediaWiki markup.
Write man page source in 'nroff' markup to standard output.
Write toolkit version to standard output.
Write the current command line to standard output.
Set verbosity level.
Increment verbosity level by 1 (deprecated; supported for backward compatibility).
Set maximum number of parallel threads (for POSIX threads and OpenMP).

Main Options

Use log data for testing
Use absolute data for testing
Generate absolute (unsigned) data
Invert data, i.e., subtract from 1.0
Convert probabilities to short (and scale by 1000)
Compute paired t-test [default: groupwise]
Compute paired cross-correlation
Compute z-scores of test (y) distribution averages
Text file input and output rather than image files.
Mask file name [Default: NONE]
Output file name [Default: ttest.nii ]
T-statistics output file name (for correlation: p-value output file) [Default: NONE]


Torsten Rohlfing, with contributions from Michael P. Hasak, Greg Jefferis, Calvin R. Maurer, Daniel B. Russakoff, and Yaroslav Halchenko



Report bugs at


CMTK is developed with support from the NIAAA under Grant AA021697, National Consortium on Alcohol and Neurodevelopment in Adolescence (N-CANDA): Data Integration Component. From April 2009 through September 2011, CMTK development and maintenance was supported by the NIBIB under Grant EB008381.

Jul 7 2024 CMTK 3.3.1p2