eelbrain.testnd.LMGroup

class eelbrain.testnd.LMGroup(lms)

Group level analysis for linear model LM objects

Parameters:
lms : sequence of LM

A separate LM object for each subject.

See also

LM

Examples

See Two-stage test example.

Attributes:
column_names : [str]

Names of the linear model columns.

column_keys : [str]

Corresponding dataset keys (with invalid characters replaced).

tests : None | {str: ttest_rel}

Tests computed with compute_column_ttests().

samples : None | int

Number of samples used to compute tests in tests.

Methods

coefficients(self, term) Coefficients for one term as NDVar
coefficients_dataset(self[, terms, long]) Regression coefficients in a Dataset
column_ttest(self, term[, return_data, popmean]) One-sample t-test on a single model column
compute_column_ttests(self, *args, **kwargs) Compute all tests and store them in self.tests
design(self[, subject]) Table with the design matrix
info_list(self)
table(self[, title, caption]) Table listing all terms and corresponding smallest p-values