eelbrain.testnd.TTestOneSample
 class eelbrain.testnd.TTestOneSample(y, popmean=0, match=None, sub=None, data=None, tail=0, samples=10000, pmin=None, tmin=None, tfce=False, tstart=None, tstop=None, parc=None, force_permutation=False, **criteria)
Massunivariate one sample ttest
 Parameters
y (NDVar) – Dependent variable.
popmean (scalar) – Value to compare y against (default is 0).
match (None  categorial) – Combine data for these categories before testing.
sub (index) – Perform test with a subset of the data.
data (Dataset) – If a Dataset is specified, all dataobjects can be specified as names of Dataset variables
tail (0  1  1) – Which tail of the tdistribution to consider: 0: both (twotailed); 1: upper tail (onetailed); 1: lower tail (onetailed).
samples (int) – Number of samples for permutation test (default 10,000).
pmin (None  scalar (0 < pmin < 1)) – Threshold for forming clusters: use a tvalue equivalent to an uncorrected pvalue.
tmin (scalar) – Threshold for forming clusters as tvalue.
tfce (bool  scalar) – Use thresholdfree cluster enhancement. Use a scalar to specify the step of TFCE levels (for
tfce is True
, 0.1 is used).tstart (scalar) – Start of the time window for the permutation test (default is the beginning of
y
).tstop (scalar) – Stop of the time window for the permutation test (default is the end of
y
).parc (str) – Collect permutation statistics for all regions of the parcellation of this dimension. For thresholdbased test, the regions are disconnected.
force_permutation (bool) – Conduct permutations regardless of whether there are any clusters.
mintime (scalar) – Minimum duration for clusters (in seconds).
minsource (int) – Minimum number of sources per cluster.
 Variables
clusters (None  Dataset) – For clusterbased tests, a table of all clusters. Otherwise a table of all significant regions (or
None
if permutations were omitted). See also thefind_clusters()
method.difference (NDVar) – The difference value entering the test (
y
if popmean is 0).n (int) – Number of cases.
p (NDVar  None) – Map of pvalues corrected for multiple comparison (or None if no correction was performed).
p_uncorrected (NDVar) – Map of pvalues uncorrected for multiple comparison.
t (NDVar) – Map of tvalues.
tfce_map (NDVar  None) – Map of the test statistic processed with the thresholdfree cluster enhancement algorithm (or None if no TFCE was performed).
See also
testnd
Information on the different permutation methods
Notes
Data points with zero variance are set to t=0.
Methods

Retrieve a specific cluster as NDVar 

Compute a probability map 

Find significant regions or clusters 
Find peaks in a thresholdfree cluster distribution 


List with information about the test 

Difference map masked by significance 

Statistical parameter map masked by significance 