eelbrain.testnd.LM
- class eelbrain.testnd.LM(y, model, ds=None, coding='dummy', subject=None, sub=None)
Fixed effects linear model
- Parameters
y (NDVar) – Dependent variable.
model (Model) – Model to fit.
ds (Dataset) – Optional Dataset providing data for y/model.
coding ('dummy' | 'effect') – Model parametrization (default is dummy coding). Vars are centered for effect coding (but not for dummy coding).
subject (str) – Optional information used by
LMGroup
; if subject is a column inds
it will be extracted automatically.sub (index) – Only use part of the data.
See also
Examples
See Two-stage test example.
Methods
|
|
|
|