eelbrain.pipeline.TTestIndependent¶
-
class
eelbrain.pipeline.
TTestIndependent
(model, c1, c0, tail=0)¶ Independent measures t-test (comparing groups of subjects)
- Parameters
model (str) – The model which defines the cells that are used in the test. Usually
"group"
.c1 (str | tuple) – The experimental group. Should be a group name.
c0 (str | tuple) – The control group, defined like
c1
.tail (int) – Tailedness of the test.
0
for two-tailed (default),1
for upper tail and-1
for lower tail.
See also
Examples
Sample test definitions, assuming that the experiment has two groups called
'younger'
and'older'
:variables = { 'age': GroupVar(['younger', 'older']), } tests = { 'old=young': TTestIndependent('group', 'older', 'younger'), 'old>young': TTestIndependent('group', 'older', 'younger', tail=1), }