statsmodels.regression.mixed_linear_model.MixedLM.predict¶
- MixedLM.predict(params, exog=None)[source]¶
Return predicted values from a design matrix.
- Parameters:¶
- paramsarray_like
Parameters of a mixed linear model. Can be either a MixedLMParams instance, or a vector containing the packed model parameters in which the fixed effects parameters are at the beginning of the vector, or a vector containing only the fixed effects parameters.
- exogarray_like,
optional Design / exogenous data for the fixed effects. Model exog is used if None.
- Returns:¶
Anarrayoffittedvalues.Notethatthesepredictedvaluesonlyreflectthefixedeffectsmeanstructureofthemodel.
Last update:
Jun 10, 2024