boax.core.distributions module#
Implements common probability distributions.
Distributions#
Beta Distribution#
- class boax.core.distributions.beta.Beta(a: Array | ndarray | bool | number, b: Array | ndarray | bool | number)#
A tuple describing the two shape parameters of the beta distribution.
- a#
The alpha parameter.
- b#
The beta parameter.
|
Smart constructor for the beta distribution. |
|
Probability density function. |
|
Cumulative distribution function. |
|
Survival function. |
|
Log probability density function. |
|
Log cumulative distribution function. |
|
Log survival function. |
Gamma Distribution#
- class boax.core.distributions.gamma.Gamma(a: Array | ndarray | bool | number, b: Array | ndarray | bool | number)#
A tuple describing the shape and rate parameters of the gamma distribution.
- a#
The shape parameter.
- b#
The rate parameter.
|
Smart constructor for the gamma distribution. |
|
Probability density function. |
|
Cumulative distribution function. |
|
Survival function. |
|
Log probability density function. |
|
Log cumulative distribution function. |
|
Log survival function. |
Multivariate Normal Distribution#
- class boax.core.distributions.multivariate_normal.MultivariateNormal(mean: Array | ndarray | bool | number, cov: Array | ndarray | bool | number)#
A tuple describing the two parameters of the multivariate normal distribution.
- mean#
The mean vector parameter.
- cov#
The covariance matrix parameter.
|
Smart constructor for the multivariate normal distribution. |
|
Probability density function. |
|
Log probability density function. |
Normal Distribution#
- class boax.core.distributions.normal.Normal(loc: Array | ndarray | bool | number, scale: Array | ndarray | bool | number)#
A tuple describing the two parameters of the normal distribution.
- loc#
The location parameter.
- scale#
The scale parameter.
|
Smart constructor for the normal distribution. |
|
Probability density function. |
|
Cumulative distribution function. |
|
Survival function. |
|
Log probability density function. |
|
Log cumulative distribution function. |
|
Log survival function. |