Learn R Programming

acid (version 1.1)

gini.Dag: Gini Coefficient for the Dagum Distribution

Description

This function computes the Gini coefficient for the Dagum Distribution.

Usage

gini.Dag(a, p)

Arguments

a
the parameter a of the Dagum distribution as defined by Kleiber and Kotz (2003).
p
the parameter p of the Dagum distribution as defined by Kleiber and Kotz (2003).

Value

  • returns the Gini coefficient.

References

Cowell, F.A. (2000): Measurement of Inequality, in: Atkinson and Bourguignon (eds.), Handbook of Income Distribution, pp. 1-86, Elsevier, Amsterdam.

See Also

gini

Examples

Run this code
a.test<- 4
b.test<- 20000
p.test<- 0.7
alpha.test<-1
GB2sample<-rGB2(10000,b.test,a.test,p.test,1)
gini.Dag(a.test,p.test)
gini(GB2sample)

Run the code above in your browser using DataLab