eelbrain.testnd.LMGroup

class eelbrain.testnd.LMGroup(lms)[source]

Group level analysis for linear model testnd.LM objects

Parameters:

lms (Sequence[LM]) – A separate testnd.LM object for each subject.

column_names

Names of the linear model columns.

Type:

list[str]

column_keys

Corresponding dataset keys (with invalid characters replaced).

Type:

list[str]

tests

Tests computed with compute_column_ttests(), mapping column name to test.TTestRelated.

Type:

dict

samples

Number of samples used to compute tests in tests.

Type:

int

See also

LM

Examples

See Two-stage test example.

Methods

coefficients(term)

Coefficients for one term as NDVar

coefficients_dataset([terms, long])

Regression coefficients in a Dataset

column_ttest(term[, return_data, popmean])

One-sample t-test on a single model column

compute_column_ttests(*args, **kwargs)

Compute all tests and store them in tests

design([subject])

Table with the design matrix

info_list()

table([title, caption])

Table listing all terms and corresponding smallest p-values