statsmodels.genmod.bayes_mixed_glm.PoissonBayesMixedGLM.fit_map

PoissonBayesMixedGLM.fit_map(method='BFGS', minim_opts=None)

Construct the Laplace approximation to the posterior distribution.

Parameters:
  • method (string) – Optimization method for finding the posterior mode.
  • minim_opts (dict-like) – Options passed to scipy.minimize.
Returns:

Return type:

BayesMixedGLMResults instance.