MixedLM.get_scale()

statsmodels.regression.mixed_linear_model.MixedLM.get_scale

MixedLM.get_scale(fe_params, cov_re) [source]

Returns the estimated error variance based on given estimates of the slopes and random effects covariance matrix.

Parameters:

fe_params : array-like

The regression slope estimates

cov_re : 2d array

Estimate of the random effects covariance matrix (Psi).

Returns:

scale : float

The estimated error variance.

doc_statsmodels
2017-01-18 16:12:06
Comments
Leave a Comment

Please login to continue.