gini.gamma {acid} | R Documentation |
Gini Coefficient for the Gamma Distribution
Description
This function computes the Gini coefficient for the gamma distribution.
Usage
gini.gamma(p)
Arguments
p |
the shape parameter p of the gamma distribution as defined by Kleiber and Kotz (2003). |
Value
returns the Gini coefficient.
Author(s)
Alexander Sohn
References
Cowell, F.A. (2000): Measurement of Inequality, in: Atkinson and Bourguignon (eds.), Handbook of Income Distribution, pp. 1-86, Elsevier, Amsterdam.
Kleiber, C. and Kotz, S. (2003): Statistical Size Distributions in Economics and Actuarial Sciences, Wiley, Hoboken.
See Also
Examples
shape.test <- 5
scale.test <- 50000
y <- rgamma(10000,shape=shape.test,scale=scale.test)
gini(y)
gini.gamma(shape.test)
[Package acid version 1.1 Index]