Invparalogistic {VGAM}R Documentation

The Inverse Paralogistic Distribution

Description

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

Usage

dinvparalogistic(x, a, scale)
pinvparalogistic(q, a, scale)
qinvparalogistic(p, a, scale)
rinvparalogistic(n, a, scale)

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.
a shape parameter.
scale scale parameter.

Details

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

Value

dinvparalogistic gives the density, pinvparalogistic gives the distribution function, qinvparalogistic gives the quantile function, and rinvparalogistic generates random deviates.

Note

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

Author(s)

T. W. Yee

References

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

See Also

invparalogistic, genbetaII.

Examples

y = rinvparalogistic(n=3000, 4, 6)
fit = vglm(y ~ 1, invparalogistic(init.a=2.1), trace=TRUE, crit="c")
coef(fit, mat=TRUE)
Coef(fit)

[Package VGAM version 0.7-7 Index]