dinvgamma_stanlike: Density and quantile functions of the inverse gamma...

View source: R/misc-invgamma.R

dinvgamma_stanlikeR Documentation

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)

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)

Value

density/quantile value

See Also

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


jtimonen/lgpr documentation built on Oct. 12, 2023, 11:13 p.m.