statistics v0.5.1 Statistics.Distributions.Beta

The Beta distribution

Link to this section Summary

Functions

The cumulative density function

The probability density function

The percentile-point function

Draw a random number from a Beta distribution

Link to this section Functions

Link to this function cdf(a, b)
cdf(number(), number()) :: (... -> any())

The cumulative density function

Examples

iex> Statistics.Distributions.Beta.cdf(1,100).(0.1)
0.9996401052677814
Link to this function pdf(a, b)
pdf(number(), number()) :: (... -> any())

The probability density function

Examples

iex> Statistics.Distributions.Beta.pdf(1,100).(0.1)
0.0029512665430652825
Link to this function ppf(a, b)
ppf(number(), number()) :: (... -> any())

The percentile-point function

Examples

iex> Statistics.Distributions.Beta.ppf(1,100).(0.1)
0.001053089271799999
Link to this function rand(a, b)
rand(number(), number()) :: number()

Draw a random number from a Beta distribution

Examples

iex> Statistics.Distributions.Beta.rand(1,100)
0.005922672626035741