Inv.lomax | R Documentation |
Density, distribution function, quantile function and random
generation for the inverse Lomax distribution with shape
parameter p
and scale parameter scale
.
dinv.lomax(x, scale = 1, shape2.p, log = FALSE)
pinv.lomax(q, scale = 1, shape2.p, lower.tail = TRUE, log.p = FALSE)
qinv.lomax(p, scale = 1, shape2.p, lower.tail = TRUE, log.p = FALSE)
rinv.lomax(n, scale = 1, shape2.p)
x , q |
vector of quantiles. |
p |
vector of probabilities. |
n |
number of observations. If |
shape2.p |
shape parameter. |
scale |
scale parameter. |
log |
Logical.
If |
lower.tail , log.p |
Same meaning as in |
See inv.lomax
, which is the VGAM family
function for estimating the parameters by maximum likelihood
estimation.
dinv.lomax
gives the density,
pinv.lomax
gives the distribution function,
qinv.lomax
gives the quantile function, and
rinv.lomax
generates random deviates.
The inverse Lomax distribution is a special case of the 4-parameter generalized beta II distribution.
T. W. Yee
Kleiber, C. and Kotz, S. (2003). Statistical Size Distributions in Economics and Actuarial Sciences, Hoboken, NJ, USA: Wiley-Interscience.
inv.lomax
,
genbetaII
.
idata <- data.frame(y = rinv.lomax(n = 1000, exp(2), exp(1)))
fit <- vglm(y ~ 1, inv.lomax, idata, trace = TRUE, crit = "coef")
coef(fit, matrix = TRUE)
Coef(fit)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.