eelbrain.pipeline.ANOVA

class eelbrain.pipeline.ANOVA(x, model=None, vars=None)

ANOVA test

Parameters:
  • x (str) – ANOVA model specification, including subject for participant random effect (e.g., "x * y * subject"; see eelbrain.test.ANOVA).

  • model (str) – Model for grouping trials before averaging (by default all fixed effects in x). Should be specified in the "x % y" format (like interaction definitions) where x and y are variables in the experiment’s events.

  • vars (tuple | dict) – Variables to add dynamically.

Examples

Sample test definitions:

tests = {
    'one_way': ANOVA('word_type * subject'),
    'two_way': ANOVA('word_type * meaning * subject'),
}