Learn R Programming

bfp (version 0.0-48)

dinvGamma: 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

Author

Daniel Saban\'es Bov\'e

Details

See the gamma distribution (rgamma) for the details.