Dear all,
I am computing inequality indexes using the ineqdec0 command as I include negative and zero values for my income variable. In this case, I know that the Gini index cannot be interpreted as before between 0 and 1, but its value can go well above 1. However, it should still be an area measurement, such that negative values are not allowed. Nevertheless, when applying such command I obtain negative values for my Gini coefficient.
How is it possible?
In case I am wrong, and negative values are reasonable, how can I report everything in positive terms?
I attach my code, although I do not think it is useful as it is a one line command.
ineqdec0 income [aw=weight] if country ==`x' & year ==`y'
replace gini_country=r(gini) if country ==`x' & year ==`y'
Best regards,
Francesco
I am computing inequality indexes using the ineqdec0 command as I include negative and zero values for my income variable. In this case, I know that the Gini index cannot be interpreted as before between 0 and 1, but its value can go well above 1. However, it should still be an area measurement, such that negative values are not allowed. Nevertheless, when applying such command I obtain negative values for my Gini coefficient.
How is it possible?
In case I am wrong, and negative values are reasonable, how can I report everything in positive terms?
I attach my code, although I do not think it is useful as it is a one line command.
ineqdec0 income [aw=weight] if country ==`x' & year ==`y'
replace gini_country=r(gini) if country ==`x' & year ==`y'
Best regards,
Francesco
Comment