Hello friends,
I managed to generate the Gini coefficient I was looking for, however, I need to save them in a variable, the commands I gave were:
egen gini_grupo = group(sector municipio)
ineqdeco income, by(gini_grupo)
g gini = r(Gini_k)
But it just generates missings for me, any suggestions?
Thank you very much
I managed to generate the Gini coefficient I was looking for, however, I need to save them in a variable, the commands I gave were:
egen gini_grupo = group(sector municipio)
ineqdeco income, by(gini_grupo)
g gini = r(Gini_k)
But it just generates missings for me, any suggestions?
Thank you very much
Comment