Good morning,
I am interested in calculating the potential differences in the gini index for networth before and after an increase in inflation.
For that, I have my original networth values and then I create a new variable considering an increase in inflation of +10% (I do this by dividing my original variable by 1.10). I get the new variables in which I can clearly see that those who had a negative networth now have a higher value (they improve), but those who what a positive networth get now lower values (worse situation). Thus, I expect to calculate the Gini and obtain that it has decreased since all the values get closer after the increase in inflation. However, when I compute inequal7 for the original variable and the new one, I get the same Gini Index (and the other measures too) for both variables! Stata is supposed to use negative values (it states...has 511 values < 0 *used* in calculations) so I don't understand the issue.
If anyone has experience with this problem or knows the answer please I would really appreciate your help.
Thanks a lot,
Nerea.
Related Posts with GINI calculation using inequal7
calculate growth rate of a variable based on a base yearGreetings dear Statalist users, I am currently trying to calculate a growth rate for GDP per capita…
How get rowname of max value using matsort, tabstatmat and st_matrixrowstripeHi all, I am trying to get row name of a max value in a matrix. Previously i did install matsort an…
Get rownames from tabstat matrixHi all, I am trying to get rownames from a tabstat matrix, example code: Code: sysuse auto, clear…
Bar Chart with standard errors (move from two to three bars)Dear all, I hope all is well with you. I wanted to create a bar chart with three bars along with th…
Combine Graphs with conditionsHi, I created two graphs using the following commands Graph 1 graph hbar (asis) avg? , over(yaxis,…
Subscribe to:
Post Comments (Atom)
0 Response to GINI calculation using inequal7
Post a Comment