gini.1994 {Gini}R Documentation

Gini Coefficient

Description

To calculate the Gini coefficient according to the following literature: Hansheng Ding, Shanlian Hu. A study on the equity of distribution of health resources in China(in Chinese). Zhongguo Wiesheng Shiye Guanli, 1994, (2): 105-107.

Usage

gini.1994(x,y)

Arguments

x

vector, population of each region

y

vector, health resource of each region

Value

G

Gini coefficient. Critria: <0.3=best fairness, 0.3-0.4=relative fairness, >0.4=unfairness, >0.6=highly unfair

Note

Please feel free to contact us, if you have any advice and find any bug!

Update:

Version 0.1.0: The first version.

See Also

gini gini.1997 gini.2000 gini.2002 gini.2007 gini.1994b

Examples

x=c(382.8,522.7,192.4,227.4,490.2,108.0,222.5,220.5,231.2,375.3,323.9,79.9,305.7,98.7,46.1,35.3)
y=c(2778,3333,1673,1708,2118,1077,1850,1557,2010,2587,2482,616,2010,936,633,582)
gini.1994(x,y)#0.1216807

[Package Gini version 0.1.0 Index]