Skip to Content

Invlomax {VGAM}

The Inverse Lomax Distribution
Package: 
VGAM
Version: 
0.9-3

Description

Density, distribution function, quantile function and random generation for the inverse Lomax distribution with shape parameter p and scale parameter scale.

Usage

dinvlomax(x, scale = 1, shape2.p, log = FALSE)
pinvlomax(q, scale = 1, shape2.p)
qinvlomax(p, scale = 1, shape2.p)
rinvlomax(n, scale = 1, shape2.p)

Arguments

x, q
vector of quantiles.
p
vector of probabilities.
n
number of observations. If length(n) > 1, the length is taken to be the number required.
shape2.p
shape parameter.
scale
scale parameter.
log
Logical. If log = TRUE then the logarithm of the density is returned.

Details

See invlomax, which is the VGAM family function for estimating the parameters by maximum likelihood estimation.

Values

dinvlomax gives the density, pinvlomax gives the distribution function, qinvlomax gives the quantile function, and rinvlomax generates random deviates.

References

Kleiber, C. and Kotz, S. (2003) Statistical Size Distributions in Economics and Actuarial Sciences, Hoboken, NJ, USA: Wiley-Interscience.

Note

The inverse Lomax distribution is a special case of the 4-parameter generalized beta II distribution.

See Also

invlomax, genbetaII.

Examples

idata <- data.frame(y = rinvlomax(n = 1000, exp(2), exp(1)))
fit <- vglm(y ~ 1, invlomax, idata, trace = TRUE, crit = "coef")
coef(fit, matrix = TRUE)
Coef(fit)

Author(s)

T. W. Yee

Documentation reproduced from package VGAM, version 0.9-3. License: GPL-2