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
explained variance cox regression str2ph str2d with factor variablesHi there, I am running some cox regression analyses and want to estimate the explained variance wit…
Hint to start programmingHello I am trying to write simple programs and can't seem to get started with what I am trying to d…
Estimating discretionary accruals using modified jones model by company and year (r111 error)Hi there, I am trying to estimate the discretionary accruals of the modified Jones model in Stata. …
foreach loop variablesHey folks, im pretty new to stata and trying to merge different variables into 1 variable for ~20 d…
Questions about lud() and lusolve()Hi there! I have several questions about lud()and lusolve() functions. Reading MATA manual relativ…
Subscribe to:
Post Comments (Atom)
0 Response to Stata 17- Percentages of the total sum
Post a Comment