eelbrain.Model

class eelbrain.Model(x)

A list of effects.

Parameters

x (effect | iterator of effects) – Effects to be included in the model (Var, Factor, Interaction , …). Can also contain models, in which case all the model’s effects will be added.

Variables

effects (list) – Effects included in the model (Var, Factor, etc. objects)

Methods

as_table([method, cases, group_terms])

Return a table with the model codes

check([v])

Shortcut to check linear independence and orthogonality

head([n])

Table with the first n cases in the Model

info()

A fmtxt.Table with information about the model

lin_indep([v])

Check the Model for linear independence of its factors

orthogonal([v])

Check the Model for orthogonality of its factors

repeat(n)

Repeat each row of the Model n times

sorted()

Sorted copy of the Model, interactions last

tail([n])

Table with the last n cases in the Model