gini.gamma: Gini Coefficient for the Gamma Distribution

Description Usage Arguments Value Author(s) References See Also Examples

View source: R/gini.gamma.R

Description

This function computes the Gini coefficient for the gamma distribution.

Usage

1

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

gini

Examples

1
2
3
4
5
shape.test <- 5
scale.test  <- 50000
y <- rgamma(10000,shape=shape.test,scale=scale.test)
gini(y)
gini.gamma(shape.test)

acid documentation built on May 29, 2017, 1:03 p.m.