Question: Lets say you had a dataset with two variabels age and sex. Write the stata code to get summary statistics on age. Write the stata
Lets say you had a dataset with two variabels age and sex. Write the stata code to get summary statistics on age. Write the stata code to get summary statistics on sex. Now, lets say you wanted to look at a boxplot of age but you wanted to compare women and men using the boxplot fuction. Write the stata code to generate a boxplot of the age variable, stratified by sex.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
