Density, distribution function, quantile function and random
generation for the Dagum distribution with shape parameters a
and p, and scale parameter scale.
Usage
ddagum(x, a, scale, p.arg, log=FALSE)
pdagum(q, a, scale, p.arg)
qdagum(p, a, scale, p.arg)
rdagum(n, a, scale, 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.
a, p.arg
shape parameters.
scale
scale parameter.
log
Logical.
If log=TRUE then the logarithm of the density is returned.
Value
ddagum gives the density,
pdagum gives the distribution function,
qdagum gives the quantile function, and
rdagum generates random deviates.
Details
See dagum, 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.