Displaying 1 result from an estimated 1 matches for "rustichini".
2005 Jun 24
2
Gini with frequencies
...here,
I am trying to compute Gini coefficients for vectors containing income classes. The data I possess look loke this:
yit <- c(135, 164, 234, 369)
piit <- c(367, 884, 341, 74 )
where yit is the vector of income classes, and fit is the vector of associated frequencies.(This data is from Rustichini, Ichino and Checci (Journal of Public Economics, 1999) ). In ineq pacakge, Gini( ) doesn't seem to handle frequencies. On the other had, Lc() compute the Lorenz curve using these frequencies, but I don't manage to use its output to compute the Gini coefficient. I wonder if you have already...