|
A function that can be used in Formulas.
randomGamma
(shape
, rate
)
shape
and rate parameter rate
, which is defined as the probability density function f(x; shape
, rate
) = (1 / Γ (shape
)) rate
shape
xshape
−1 e−rate
x
, for x
> 0, shape
> 0 and rate
> 0, according to the method by Marsaglia & Tsang (2000).© David Weenink 2019, Paul Boersma 2023