eelbrain.test.TTestOneSample
- class eelbrain.test.TTestOneSample(y, match=None, sub=None, data=None, popmean=0, tail=0)
One-sample t-test
- Parameters
y (Var) – Dependent variable.
match (categorial) – Units within which measurements are related (e.g. ‘subject’ in a within-subject comparison).
sub (index-array) – Perform the test with a subset of the data.
data (Dataset) – If a Dataset is specified, all data-objects can be specified as names of Dataset variables.
popmean (float) – Population mean to test against (default 0).
tail (0 | 1 | -1) – Which tail of the t-distribution to consider: 0: both (two-tailed, default); 1: upper tail (one-tailed); -1: lower tail (one-tailed).
- Variables