dinvgamma {MCMCpack}R Documentation

Evaluate the Density of the Inverse Gamma Distribution

Description

This evaluates the density of the Inverse Gamma Distribution at the value x.

Usage

   dinvgamma(x, shape, rate=1)

Arguments

x Scalar location to evaluate density.
shape Scalar shape parameter.
rate Scalar rate parameter (default value one).

Value

The density evaluated at x. The parameterization is consistent with the Gamma Distribution in the base package.

See Also

rinvgamma, GammaDist

Examples

density <- dinvgamma(4.2, 1.1)

[Package Contents]