Dear Stata Users,
I'm trying to use graph box (Stata 13.1) to display summary data for survey responses to individual items before and after an intervention, using the over command. However I am unable to rearrange the data so that the items are ordered with before/after box plots for each item.
Variable description/Code:
"sespd" and "noedpd" are categorical variables with 5 item Likert scale response options.
"after" is coded as 0 for the survey response before the intervention and 1 for the response after the intervention
graph box sespd noedpd, over(after) ascategory
produces graph1
What I would like to see is the data ordered by 0 1 for sespd followed by 0 1 for noedpd
I tried to use sort, but it can only be specified as an over sub option, so I don't think this is the command I need.
Thanks,
Any help would be appreciated.
I'm trying to use graph box (Stata 13.1) to display summary data for survey responses to individual items before and after an intervention, using the over command. However I am unable to rearrange the data so that the items are ordered with before/after box plots for each item.
Variable description/Code:
"sespd" and "noedpd" are categorical variables with 5 item Likert scale response options.
"after" is coded as 0 for the survey response before the intervention and 1 for the response after the intervention
graph box sespd noedpd, over(after) ascategory
produces graph1
What I would like to see is the data ordered by 0 1 for sespd followed by 0 1 for noedpd
I tried to use sort, but it can only be specified as an over sub option, so I don't think this is the command I need.
Thanks,
Any help would be appreciated.
Comment