statsmodels.regression.mixed_linear_model.MixedLM.score_full

MixedLM.score_full(params)[source]

Calculates the score vector for the profiled log-likelihood of the mixed effects model with respect to the parameterization in which the random effects covariance matrix is represented in its full form (not using the Cholesky factor).

Parameters:

params : MixedLMParams or array-like

The parameter at which the score function is evaluated. If array-like, must contain packed parameter values that are compatible with the current model.

Returns:

The score vector, calculated at params.

Notes

The score vector that is returned is taken with respect to the parameterization in which cov_re is represented through its lower triangle (without taking the Cholesky square root).

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