powered by
Probability density function of the inverse gamma distribution
pdfinvgamma(par, x)
return the value of the pdf of the inverse gamma distribution
parameter vector of the inverse gamma distribution. First parameter is the shape, second is the rate parameter.
vector of observations or single value
Cook, J. D. (2008). Inverse gamma distribution. online: http://www. johndcook. com/inverse gamma. pdf, Tech. Rep.
pdfinvgamma(c(2,5,3),3)
Run the code above in your browser using DataLab