statsmodels.regression.mixed_linear_model.MixedLM.group_list#

MixedLM.group_list(array)[source]#

Return array split into subarrays corresponding to the grouping structure

Parameters:
arrayarray_like

An array with the same length as endog to be split by group. If None, None is returned.

Returns:
list[ndarray] or None

The list of subarrays, one per group, or None if array is None.