giniquintile: Gini coefficients

Description Usage Arguments Details Value References See Also Examples

Description

Calculate the Gini coefficient from quintile data

Usage

1

Arguments

L

vector of percentages at 20th, 40th, 60th, and 80th percentiles

Details

Calculate the Gini coefficient given the quintile data.

Value

the estimated Gini coefficient

References

Leon Gerber, "A Quintile Rule for the Gini Coefficient", Mathematics Magazine, 80:2, April 2007.

See Also

Other integration: adaptint, gaussint, mcint, midpt, revolution-solid, romberg, simp38, simp, trap

Other newton-cotes: adaptint, midpt, romberg, simp38, simp, trap

Examples

1
2
L <- c(4.3, 9.8, 15.4, 22.7)
giniquintile(L)


Search within the cmna package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.