betaDistribution
betaDistribution(
alpha,beta):Distribution
Defined in: beta-distribution.ts:23
The beta distribution over [0, 1] — the conjugate prior of a proportion,
and the reference distribution behind the t and F families.
survival uses the exact reflection 1 − Iₓ(a, b) = I₁₋ₓ(b, a) rather than
the subtraction it is written as, so the upper tail keeps its digits.
Parameters
Section titled “Parameters”number
First shape parameter; must be positive.
number
Second shape parameter; must be positive.
Returns
Section titled “Returns”The distribution.
Throws
Section titled “Throws”When either shape is not positive.