statsmodels.genmod.bayes_mixed_glm.BinomialBayesMixedGLM.predict

method

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

Return the fitted mean structure.

Parameters
paramsarray-like

The parameter vector, may be the full parameter vector, or may be truncated to include only the mean parameters.

exogarray-like

The design matrix for the mean structure. If omitted, use the model’s design matrix.

linearbool

If True, return the linear predictor without passing through the link function.

Returns
A 1-dimensional array of predicted values