Macaulay2 » Documentation
Packages » Probability :: Probability
next | previous | forward | backward | up | index | toc

Probability -- basic probability functions

Description

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.

Discrete distributions

Continuous distributions

You may also define your own probability distributions using discreteProbabilityDistribution and continuousProbabilityDistribution.

Caveat

As is always the case when working with real numbers in Macaulay2, unexpected results may occur due to the limitations of floating point arithmetic.

Menu

Author

Certification a gold star

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.

Version

This documentation describes version 0.5 of Probability.

Citation

If you have used this package in your research, please cite it as follows:

@misc{ProbabilitySource,
  title = {{Probability: basic probability functions. Version~0.5}},
  author = {Doug Torrance},
  howpublished = {A \emph{Macaulay2} package available at
    \url{https://github.com/Macaulay2/M2/tree/master/M2/Macaulay2/packages}}
}

@article{ProbabilityArticle,
  title = {{The Probability package for \emph{Macaulay2}}},
  author = {Doug Torrance},
  journal = {Journal of Software for Algebra and Geometry},
  volume = {14},
  year = {2024},
}

Exports

For the programmer

The object Probability is a package, defined in Probability.m2.


The source of this document is in Probability.m2:473:0.