I am trying to plot the time series of mean and standard deviation of a variable, for 2 different groups in the same figure. For a single group, meansdplot works well:
However, I don't know how to overlay two groups in the same figure. The following code does not work:
If meansdplot does not work for this purpose, is there a good approach in Stata?
Code:
webuse abdata, clear meansdplot wage year if ind == 4
Code:
twoway (meansdplot wage year if ind == 4) (meansdplot wage year if ind == 7)
Comment