List of Discrete Distributions 1D
The following is a list of all 1D discrete distributions currently available in UQpy
.
Binomial
Binomial distribution having probability mass function:
\[f(x) = {n \choose x} p^x(1-p)^{n-x}\]
for \(x \in \{0, 1, 2, ..., n\}\).
In this standard form \((loc=0)\). Use loc to shift the distribution. Specifically, this is equivalent to computing \(f(y)\) where \(y=x-loc\).
The Binomial
class is imported using the following command:
>>> from UQpy.distributions.collection.Binomial import Binomial
Poisson
Poisson distribution having probability mass function:
\[f(x) = \exp{(-\mu)}\dfrac{\mu^k}{k!}\]
for \(x\ge 0\).
In this standard form \((loc=0)\). Use loc to shift the distribution. Specifically, this is equivalent to computing \(f(y)\) where \(y=x-loc\).
The Poisson
class is imported using the following command:
>>> from UQpy.distributions.collection.Poisson import Poisson