Learn R Programming

ERPeq (version 0.1.0)

cdfinvgamma: Cumulative distribution function of the inverse gamma distribution

Description

Cumulative distribution function of the inverse gamma distribution

Usage

cdfinvgamma(par, x)

Value

return the value of the pdf of the inverse gamma distribution

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

References

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

Examples

Run this code
cdfinvgamma(c(2,5,3),3)

Run the code above in your browser using DataLab