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.

Variables
  • column_names ([str]) – Names of the linear model columns.

  • column_keys ([str]) – Corresponding dataset keys (with invalid characters replaced).

  • tests (None | {str: TTestRelated}) – Tests computed with compute_column_ttests().

  • samples (None | int) – Number of samples used to compute tests in tests.

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 self.tests

design([subject])

Table with the design matrix

info_list()

table([title, caption])

Table listing all terms and corresponding smallest p-values