Learn R Programming

VGAM (version 0.8-1)

Invlomax: The Inverse Lomax Distribution

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, p.arg, log = FALSE)
pinvlomax(q, scale=1, p.arg)
qinvlomax(p, scale=1, p.arg)
rinvlomax(n, scale=1, p.arg)

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.
p.arg
shape parameter.
scale
scale parameter.
log
Logical. If log=TRUE then the logarithm of the density is returned.

Value

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

Details

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

References

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

See Also

invlomax, genbetaII.

Examples

Run this code
y = rinvlomax(n=1000, 6, 2)
fit = vglm(y ~ 1, invlomax, trace=TRUE, crit="c")
coef(fit, mat=TRUE)
Coef(fit)

Run the code above in your browser using DataLab