This package provides a number of basic probability functions. In particular, for both discrete and continuous probability distributions, there are the following four functions:
A variety of common probability distributions are supported.
You may also define your own probability distributions using discreteProbabilityDistribution and continuousProbabilityDistribution.
As is always the case when working with real numbers in Macaulay2, unexpected results may occur due to the limitations of floating point arithmetic.
Version 0.3 of this package was accepted for publication in volume 14 of Journal of Software for Algebra and Geometry on 2024-01-23, in the article The Probability package for Macaulay2 (DOI: 10.2140/jsag.2024.14.51). That version can be obtained from the journal.
This documentation describes version 0.5 of Probability.
If you have used this package in your research, please cite it as follows:
|
The object Probability is a package, defined in Probability.m2.
The source of this document is in Probability.m2:473:0.