statsmodels.regression.mixed_linear_model.MixedLM.score_sqrt

MixedLM.score_sqrt(params)[source]

Returns the score vector with respect to the parameterization in which the random effects covariance matrix is represented through its Cholesky square root.

Parameters:

params : MixedLMParams or array-like

The model parameters. If array-like must contain packed parameters that are compatible with this model instance.

Returns:

The score vector.

Notes

The input, if provided as a MixedLMParams object, can be of any parameterization.