eelbrain.pipeline.TTestRelated
- class eelbrain.pipeline.TTestRelated(model, c1, c0, tail=0)
Related measures t-test
- Parameters:
model (str) – The model which defines the cells that are used in the test. It is specified in the
"x % y"format (like interaction definitions) wherexandyare variables in the experiment’s events.c1 (str | tuple) – The experimental condition. If the
modelis a single factor the condition is astrspecifying a value on that factor. Ifmodelis composed of several factors the cell is defined as atupleofstr, one value on each of the factors.tail (int) – Tailedness of the test.
0for two-tailed (default),1for upper tail and-1for lower tail.
See also
Examples
Sample test definitions:
tests = { 'surprising=expected': TTestRelated('surprise', 'surprising', 'expected'), }
Notes
For a t-test between two epochs, use an
EpochCollectionepoch andmodel='epoch'.