Density, (cumulative) distribution function and random generation for inverse-gamma distribution.
Usage
density_inverse_gamma(shape, scale, x)
cdf_inverse_gamma(shape, scale, x)
random_inverse_gamma(shape, scale, n)
Arguments
- shape, scale
shape and scale parameters.
- x
vector of quantiles.
- n
number of observations.