statsmodels.regression.mixed_linear_model.MixedLM
class statsmodels.regression.mixed_linear_model.MixedLM(endog, exog, groups, exog_re=None, use_sqrt=True, missing='none', **kwargs) [source]
An object specifying a linear mixed effects model. Use the fit method to fit the model and obtain a results object. Parameters:
endog : 1d array-like The dependent variable exog : 2d array-like A matrix of covariates used to determine the mean structure (the ?fixed effects? covariates). groups : 1d