Hi, I am trying to create a descriptive statistics table for numerical and categorical variables in Stata. I have read that for categorical variables you would instead report percentage or the proportion of the observations in each group. I am struggling to do this though. An example of what I am trying to replicate is below, which came from a paper

For my project, my categorical variables are mental wellbeing, age, education, employment, marital status. My numerical variables are gender, age and income. At the same time I wanted to split this between ethnic and non-ethnic people. Like in this example they split it by G1, G2, G2.5 and natives. Any help?
For my project, my categorical variables are mental wellbeing, age, education, employment, marital status. My numerical variables are gender, age and income. At the same time I wanted to split this between ethnic and non-ethnic people. Like in this example they split it by G1, G2, G2.5 and natives. Any help?
Comment