Learn R Programming

lgpr (version 1.2.4)

dinvgamma_stanlike: Density and quantile functions of the inverse gamma distribution

Description

Using the same parametrization as Stan. More info here.

Usage

dinvgamma_stanlike(x, alpha, beta, log = FALSE)

qinvgamma_stanlike(p, alpha, beta)

Value

density/quantile value

Arguments

x

point where to compute the density

alpha

positive real number

beta

positive real number

log

is log-scale used?

p

quantile (must be between 0 and 1)

See Also

Other functions related to the inverse-gamma distribution: plot_invgamma(), priors