Hello everyone!
I hope there is an easy way to do this. I know that the are some documents explaining how to include a mean in a box plot but for some reason I found them complicated and hard to understand. I was wondering if there is a user command or a faster way to include just means in box-plot charts. I am comparing pre and post median for a control and experimental groups (see below). Also see my the code I used.
You can also find a sample data-set.
Thank you in advance,
Marvin
I hope there is an easy way to do this. I know that the are some documents explaining how to include a mean in a box plot but for some reason I found them complicated and hard to understand. I was wondering if there is a user command or a faster way to include just means in box-plot charts. I am comparing pre and post median for a control and experimental groups (see below). Also see my the code I used.
Code:
# delimit : graph box PreUOF PostUOF, title("UOF Incidents Distribution Before and After Counseling by Group", size(medium) span) ytitle(UOF Incidents) ylabel(0(2)16) yla(, ang(h)) nooutsides legend(order(1 "Pre" 2 "Post")) over(Group) name(UOFPrePost_Group_Dis, replace); # delimit cr
Code:
* Example generated by -dataex-. To install: ssc install dataex clear input long(FISA_NO PreUOF PostUOF) byte Group 5672 5 2 1 14023 3 2 0 5438 4 5 0 10993 3 0 0 13202 3 1 0 13268 4 7 1 43385 3 2 1 12161 4 4 1 12227 5 6 0 10151 4 4 1 end label values Group Group label def Group 0 "Control", modify label def Group 1 "Experimental", modify
Marvin
Comment