Learn R Programming

VGAM (version 0.8-4.1)

Paralogistic: The Paralogistic Distribution

Description

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

Usage

dparalogistic(x, a, scale=1, log=FALSE)
pparalogistic(q, a, scale=1)
qparalogistic(p, a, scale=1)
rparalogistic(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

  • dparalogistic gives the density, pparalogistic gives the distribution function, qparalogistic gives the quantile function, and rparalogistic generates random deviates.

Details

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

paralogistic, genbetaII.

Examples

Run this code
y = rparalogistic(n=3000, 4, 6)
fit = vglm(y ~ 1, paralogistic(init.a=2.1), trace=TRUE, crit="c")
coef(fit, mat=TRUE)
Coef(fit)

Run the code above in your browser using DataLab