invGamma: Functions for the inverse gamma distribution.

dinvGammaR Documentation

Functions for the inverse gamma distribution.

Description

Functions for the inverse gamma distribution, analogues to the gamma distribution functions.

Usage

dinvGamma(x, a, b, log = FALSE, normalize = TRUE)
pinvGamma(q, a, b, lower.tail = TRUE, log.p = FALSE)
qinvGamma(p, a, b, lower.tail = TRUE, log.p = FALSE)
rinvGamma(n, a, b)

Arguments

x, q

vector of quantiles

a

shape parameter

b

rate parameter

log, log.p

logical; if TRUE, probabilities/densities p are returned as log(p)

normalize

normalize the density function? (default)

lower.tail

logical; if TRUE (default), probabilities are P[X <= x], otherwise, P[X > x]

p

vector of probabilities

n

number of observations. If length(n) > 1, the length is taken to be the number required

Details

See the gamma distribution (rgamma) for the details.

Author(s)

Daniel Saban\'es Bov\'e


bfp documentation built on March 19, 2024, 3:07 a.m.

Related to invGamma in bfp...