9. Probability distributions¶
PyMC provides a large suite of built-in probability distributions. For each distribution, it provides:
- A function that evaluates its log-probability or log-density: normal_like().
- A function that draws random variables: rnormal().
- A function that computes the expectation associated with the distribution: normal_expval().
- A Stochastic subclass generated from the distribution: Normal.
This section describes the likelihood functions of these distributions.