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.

9.1. Discrete distributions

9.2. Continuous distributions

9.3. Multivariate discrete distributions

9.4. Multivariate continuous distributions

Project Versions

Table Of Contents

Previous topic

8. Extending PyMC

Next topic

10. Conclusion

This Page