Interface | Description |
---|---|
ProbabilityMassFunction<X> |
A probability mass function (pmf) is a function that gives the probability that a discrete random
variable is exactly equal to some value.
|
Class | Description |
---|---|
ProbabilityMassFunction.Mass<X> |
Stores a possible outcome for a probability distribution and its associated probability.
|
ProbabilityMassQuantile<X> |
As probability mass function is discrete, there are gaps between values in the domain of its cdf,
The quantile function is:
\[
Q(p)\,=\,\inf\left\{ x\in R : p \le F(x) \right\}
\]
|
ProbabilityMassSampler<X> |
A random sampler that is constructed ad-hoc from a list of values and their probabilities.
|
Copyright © 2010-2020 NM FinTech Ltd.. All Rights Reserved.