GammaGammaModel.fit#

GammaGammaModel.fit(data, method='mcmc', **kwargs)[source]#

Infer model posterior.

Parameters:
datapd.DataFrame

Input data for model fitting.

method: str

Method used to fit the model. Options are: - “mcmc”: Samples from the posterior via pymc.sample (default) - “map”: Finds maximum a posteriori via pymc.find_MAP - “demz”: Samples from the posterior via pymc.sample using DEMetropolisZ - “advi”: Samples from the posterior via pymc.fit(method="advi") and pymc.sample - “fullrank_advi”: Samples from the posterior via pymc.fit(method="fullrank_advi") and pymc.sample

kwargs:

Other keyword arguments passed to the underlying PyMC routines