API — PyMC dev documentation (original) (raw)

Dimensionality#

PyMC provides numerous methods, and syntactic sugar, to easily specify the dimensionality of Random Variables in modeling. Refer to Distribution Dimensionality notebook to see examples demonstrating the functionality.

API extensions#

Plots, stats and diagnostics#

Plots, stats and diagnostics are delegated to theArviZ. library, a general purpose library for “exploratory analysis of Bayesian models”.

ArviZ is a dependency of PyMC and so, in addition to the locations described above, importing ArviZ and using arviz.<function> will also work without any extra installation.

Generalized Linear Models (GLMs)#

Generalized Linear Models are delegated to theBambi. library, a high-level Bayesian model-building interface built on top of PyMC.

Bambi is not a dependency of PyMC and should be installed in addition to PyMC to use it to generate PyMC models via formula syntax.