statsmodels.genmod.bayes_mixed_glm.BinomialBayesMixedGLM.fit_map

BinomialBayesMixedGLM.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.