Hello, I am very new to Stata.
I have a database in excel which I imported to Stata, and need to do some analysis.
I need to know the % of the total over multiple variables:
From the excel calculation above I know that I have 66% of S.16, etc. by dividing the total of S. by the total of each S.XX
I can't figure how can I do it in Stata. I was thinking that tabout would help but in vain
I would also need to analyse based on other variables for example location and/or Year. for example: What is my % of S.16...S.19 in location A in 2022?
Many thanks in advance and thanks for the support.
Jorge Bica
I have a database in excel which I imported to Stata, and need to do some analysis.
I need to know the % of the total over multiple variables:
|
I can't figure how can I do it in Stata. I was thinking that tabout would help but in vain

I would also need to analyse based on other variables for example location and/or Year. for example: What is my % of S.16...S.19 in location A in 2022?
Many thanks in advance and thanks for the support.
Jorge Bica
Comment