gini.1994b {Gini}R Documentation

Gini Coefficient

Description

To calculate the Gini coefficient according to the following literature: Brown MC. Using Gini-style indices to evaluate the spatial patterns of health practitioners: theoretical considerations and an application based on Alberta data. Soc Sci Med, 1994, 38(9): 1243-1256.

Usage

gini.1994b(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.1994 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.1994b(x,y)#0.1216807

[Package Gini version 0.1.0 Index]