Define the variance component structure of a multilevel model
- Parameters:
- names
list[str] names[k] is the name of variance component k.
- colnames
list[list[list[str]]] colnames[k][i] is the list of column names for
mats[k][i].
- mats
list[list[array_like]] mats[k][i] is the design matrix for group index
i in variance component k.
- Attributes:
- names
list[str] names[k] is the name of variance component k.
- mats
list[list[array_like]] mats[k][i] is the design matrix for group index
i in variance component k.
- colnames
list[list[list[str]]] colnames[k][i] is the list of column names for
mats[k][i].
Notes
The groups in colnames and mats must be in sorted order.
Methods