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.
Related Posts with Stata 17- Percentages of the total sum
how to generate the median variable by industry every 3 years?Hello everyone: I am trying to get the median of the sales growth rate for all the companies within…
Labelling units in a numlist of a loopDear all, For a number of countries in PISA, I am studying the expectation of college graduation am…
delimiters not recognized by stata when importing txtDear statalist, I have a txt file which I would like to import in stata. The delimiter I use is "§"…
Keep duplicate closest to value of observation in previous yearDear Stata Forum, As suggested in the title I have some duplicate values in my data in terms of id …
Descriptive statistics if command error r(198)Hi everyone, I am trying to create a descriptive statistics table of my data but only for the cases…
Subscribe to:
Post Comments (Atom)
0 Response to Stata 17- Percentages of the total sum
Post a Comment