statsmodels.regression.mixed_linear_model.MixedLM.fit
MixedLM.fit(start_params=None, reml=True, niter_em=0, niter_sa=0, do_cg=True, fe_pen=None, cov_pen=None, free=None, full_output=False, **kwargs) [source]
Fit a linear mixed model to the data. Parameters:
start_params: array-like or MixedLMParams : If a MixedLMParams the state provides the starting value. If array-like, this is the packed parameter vector, assumed to be in the same state as this model. reml : bool If true, fit accordin