MixedLM.predict(params, exog=None)[source]

Return predicted values from a design matrix.

  • params (array-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.
  • exog (array-like, optional) – Design / exogenous data for the fixed effects. Model exog is used if None.

  • An array of fitted values. Note that these predicted values
  • only reflect the fixed effects mean structure of the model.