Hello Everyone,
I have a list of individuals and their incomes. I have divided them into 5 quintiles of income. I use the command below in Stata-17 to find the summation on incomes in each quintile (Q).
table (Q)(), statistic (sum income)
How can I add another column containing the percentages? I mean, what command should I use to calculate the share of each quintile in the total income of the sample?
I appreciate your help.