statsmodels.genmod.bayes_mixed_glm.BayesMixedGLMResults.predict

BayesMixedGLMResults.predict(exog=None, linear=False)[source]

Return predicted values for the mean structure.

Parameters:
exogarray_like

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

linearbool

If True, returns the linear predictor, otherwise transform the linear predictor using the link function.

Returns:
A one-dimensional array of fitted values.

Last update: Mar 18, 2024