statsmodels.genmod.bayes_mixed_glm.BayesMixedGLMResults#
- class statsmodels.genmod.bayes_mixed_glm.BayesMixedGLMResults(model, params, cov_params, optim_retvals=None)[source]#
Class to hold results from a Bayesian estimation of a Mixed GLM model.
- Attributes:
- model
_BayesMixedGLM The model instance used to obtain this result.
- params
ndarray The full vector of posterior parameter estimates (fixed effects, variance component parameters, and random effect realizations, in that order).
- fe_mean
ndarray Posterior mean of the fixed effects coefficients.
- fe_sd
ndarray Posterior standard deviation of the fixed effects coefficients
- vcp_mean
ndarray Posterior mean of the logged variance component standard deviations.
- vcp_sd
ndarray Posterior standard deviation of the logged variance component standard deviations.
- vc_mean
ndarray Posterior mean of the random coefficients
- vc_sd
ndarray Posterior standard deviation of the random coefficients
- optim_retvals
optional The return value of the numerical optimization routine used to obtain the fit (e.g. the
OptimizeResultfromscipy.optimize.minimize), if available.
- model
Methods
Return the covariance matrix of the posterior parameter estimates.
predict([exog, linear])Return predicted values for the mean structure.
random_effects([term])Posterior mean and standard deviation of random effects.
summary()Summarize the posterior parameter estimates.
Methods
Return the covariance matrix of the posterior parameter estimates.
predict([exog, linear])Return predicted values for the mean structure.
random_effects([term])Posterior mean and standard deviation of random effects.
summary()Summarize the posterior parameter estimates.