Please have a look at my data:
Code:
* Example generated by -dataex-. For more info, type help dataex clear input float event byte countrycode 0 2 0 4 0 7 0 7 0 5 1 3 0 9 1 4 0 8 0 5 0 8 0 5 0 5 0 5 0 5 0 3 0 5 0 3 0 5 0 7 end
Array
For each country code, the center of the box would be the mean of event, the left boundary of the box would be the mean - sd of event, and the left boundary of the box would be the mean + the sd of event, so the mean would be at the center of each box.
Is there a way to generate such plots? I tried the command -graph box- but my attempts remained unsuccessful. Any help would be appreciated. Thanks a lot!
0 Response to How to do a Box Plot with mean instead of median and SD instead of quartiles?
Post a Comment