dist_inverse_gamma: The Inverse Gamma distribution

View source: R/dist_inverse_gamma.R

dist_inverse_gammaR Documentation

The Inverse Gamma distribution

Description

[Stable]

Usage

dist_inverse_gamma(shape, rate = 1/scale, scale)

Arguments

shape, scale

parameters. Must be strictly positive.

rate

an alternative way to specify the scale.

See Also

actuar::InverseGamma

Examples

dist <- dist_inverse_gamma(shape = c(1,2,3,3), rate = c(1,1,1,2))
dist


mean(dist)
variance(dist)
support(dist)
generate(dist, 10)

density(dist, 2)
density(dist, 2, log = TRUE)

cdf(dist, 4)

quantile(dist, 0.7)


distributional documentation built on March 31, 2023, 7:12 p.m.