Hello everyone,
I need to draw a lineplot for paneldata.
I used the following command:
collapse (mean) housingindex, by (agegroups wave)
sort agegroups wave
xtset agegroups wave
xtline housingindex, overlay
That worked. But now I need to draw the standard deviation in this plot, also.
The byoptions are limited in the xtline-command, when overlay is used.
Do you know, if there is any possibility to add the standard deviation to the plot?
Maybe addplot-option could work - but I don't understand, how that works.
Thank you in advance!
Mimi
0 Response to xtline and standard deviation
Post a Comment