statsmodels.regression.mixed_linear_model.MixedLM.get_fe_params

MixedLM.get_fe_params(cov_re, vcomp, tol=1e-10)[source]

Use GLS to update the fixed effects parameter estimates.

Parameters:
  • cov_re (array_like (2d)) – The covariance matrix of the random effects.

  • vcomp (array_like (1d)) – The variance components.

  • tol (float) – A tolerance parameter to determine when covariances are singular.

Returns:

  • params (ndarray) – The GLS estimates of the fixed effects parameters.

  • singular (bool) – True if the covariance is singular