Learn R Programming

VGAM (version 0.8-2)

Invparalogistic: 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=1, log=FALSE)
pinvparalogistic(q, a, scale=1)
qinvparalogistic(p, a, scale=1)
rinvparalogistic(n, a, scale=1)

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

Value

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

Details

See invparalogistic, 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

invparalogistic, genbetaII.

Examples

Run this code
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)

Run the code above in your browser using DataLab