class eelbrain.pipeline.TTestInd(model, c1, c0, tail=0, vars=None)

Independent measures t-test (comparing groups of subjects)

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.


Sample test definitions, assuming that the experiment has two groups called 'younger' and 'older':

tests = {
    'old=young': TTestInd('group', 'older', 'younger', vars={'group': GroupVar(['younger', 'older'])}),