I have three variables 'count_selectoptionsh' 'count_selectoptionsl' and 'treatment where the first two are count of high and low value options chosen by the participant. Treatment is just 1, 2 and 3 for three different treatments.
How do I generate two separate (and also combined) bar graphs for the mean of 'count_selectoptionsh' and 'count_selectoptionsl' by treatment with standard error bars?
Thank you for your help!
Code:
* Example generated by -dataex-. For more info, type help dataex clear input float(count_selectoptionsh count_selectoptionsl) byte treatment 1 2 2 0 2 1 5 1 2 0 2 1 3 2 1 4 3 3 2 2 3 5 3 2 1 1 3 1 1 2 2 3 1 0 1 1 1 1 2 4 3 3 0 2 1 4 4 2 1 2 1 0 0 1 4 4 2 3 6 1 2 3 1 0 0 1 1 3 2 2 3 3 0 0 1 1 1 2 3 1 1 2 2 1 1 3 2 0 3 1 1 4 1 2 2 1 3 3 1 1 2 2 2 1 3 2 7 1 2 4 3 1 1 1 5 3 1 3 4 3 3 3 2 4 2 3 7 5 1 2 4 1 0 0 1 2 5 1 4 5 2 3 6 1 4 6 2 0 0 3 2 2 2 1 7 1 1 1 3 0 3 1 1 1 3 0 2 2 4 3 2 3 2 2 3 7 3 2 2 2 2 2 3 1 2 3 1 2 1 5 1 3 7 0 2 1 4 2 2 4 2 1 0 3 2 2 2 2 2 1 4 5 2 2 3 2 2 5 1 2 4 2 3 4 1 0 3 2 1 1 3 1 1 1 1 1 3 4 4 2 2 3 3 1 3 1 1 2 1 3 5 3 1 0 3 4 3 2 2 4 2 3 3 3 0 0 3 0 0 1 1 1 1 1 2 3 1 2 3 2 2 2 2 5 3 4 3 1 7 2 2 5 5 3 1 0 3 2 7 3 end
Thank you for your help!
Comment