statsmodels.genmod.bayes_mixed_glm.PoissonBayesMixedGLM.predict

PoissonBayesMixedGLM.predict(params, exog=None, linear=False)

Return the fitted mean structure.

Parameters:
  • params (array_like) – The parameter vector, may be the full parameter vector, or may be truncated to include only the mean parameters.

  • exog (array_like) – The design matrix for the mean structure. If omitted, use the model’s design matrix.

  • linear (bool) – If True, return the linear predictor without passing through the link function.

Return type:

A 1-dimensional array of predicted values