Hello.
I am trying to create a bar graph that has multiple groups, with the X axis categorized by age intervals (10-20, 20-30...) and within each age interval, show the average Go Score, with standard error bars, in both males and females.
My variables are as follows:
age_5 = age group in 5 year increments
sex (m=0 / f=1)
Go_score (independent variable).
I have tried the following code:
graph bar go_score, over(sex) over(age_5yearinc) which works nicely, but I would also like the graph to have error bars, and this unfortunately I have found to be very difficult.
I am trying to create a bar graph that has multiple groups, with the X axis categorized by age intervals (10-20, 20-30...) and within each age interval, show the average Go Score, with standard error bars, in both males and females.
My variables are as follows:
age_5 = age group in 5 year increments
sex (m=0 / f=1)
Go_score (independent variable).
I have tried the following code:
graph bar go_score, over(sex) over(age_5yearinc) which works nicely, but I would also like the graph to have error bars, and this unfortunately I have found to be very difficult.
Comment