eelbrain.testnd.LMGroup.column_ttest¶

LMGroup.
column_ttest
(term, return_data=False, popmean=0, *args, **kwargs)¶ Onesample ttest on a single model column
 Parameters
term (str) – Name of the term to test.
return_data (bool) – Return the individual subjects’ coefficients along with test results.
popmean (scalar) – Value to compare y against (default is 0).
tail (0  1  1) – Which tail of the tdistribution to consider: 0: both (twotailed); 1: upper tail (onetailed); 1: lower tail (onetailed).
samples (None  int) – Number of samples for permutation cluster test. For None, no clusters are formed. Use 0 to compute clusters without performing any permutations.
pmin (None  scalar (0 < pmin < 1)) – Threshold for forming clusters: use a tvalue equivalent to an uncorrected pvalue.
tmin (None  scalar) – Threshold for forming clusters.
tfce (bool) – Use thresholdfree cluster enhancement (Smith & Nichols, 2009). Default is False.
tstart (scalar) – Restrict time window for permutation cluster test.
tstop (scalar) – Restrict time window for permutation cluster test.
mintime (scalar) – Minimum duration for clusters (in seconds).
minsource (int) – Minimum number of sources per cluster.
 Returns
result (TTestOneSample) – Ttest result.
data (Dataset (only with
return_data=True
)) – Dataset with subjects’ coefficients.
Notes
Performs a onesample ttest on coefficient estimates from all subjects to test the hypothesis that the coefficient is different from popmean in the population.