giniCoef {binequality} | R Documentation |
Calculates the Gini coefficient from quantiles
Description
This function estimates the Gini coefficient using the quantiles sampled from a fitted GAMLSS object.
Usage
giniCoef(seq.i, samps.i)
Arguments
seq.i |
a (non-empty) numeric vector of quantile locations. |
samps.i |
a (non-empty) numeric vector of quantile values. |
Details
Calculates the Gini coefficient from quantiles
Value
Returns the Gini coefficient estimate.
References
FIXME - references
Examples
#not run, internal function
[Package binequality version 1.0.4 Index]