pdfinvgamma {ERPeq}R Documentation

Probability density function of the inverse gamma distribution

Description

Probability density function of the inverse gamma distribution

Usage

pdfinvgamma(par, x)

Arguments

par

parameter vector of the inverse gamma distribution. First parameter is the shape, second is the rate parameter.

x

vector of observations or single value

Value

return the value of the pdf of the inverse gamma distribution

References

Cook, J. D. (2008). Inverse gamma distribution. online: http://www. johndcook. com/inverse gamma. pdf, Tech. Rep.

Examples

pdfinvgamma(c(2,5,3),3)

[Package ERPeq version 0.1.0 Index]