Returns the estimated error variance based on given estimates of the slopes and random effects covariance matrix.
fe_params : array-like
The regression slope estimates
cov_re : 2d array
Estimate of the random effects covariance matrix (Psi).
scale : float
The estimated error variance.
statsmodels.regression.mixed_linear_model.MixedLM.from_formula
statsmodels.regression.mixed_linear_model.MixedLM.group_list
Enter search terms or a module, class or function name.