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
Related Posts with xtline and standard deviation
Applying Fixed Effects to asdoc command?Dear all, I am using Stata 16, on mac. Here is the code that I have: asdoc reg hard_drugs_DLI ait …
Standard deviationHey guys, i could need some assistance with the following issue. Dataset Station__name Year Mea…
Any Problems running Stata 15 in macos Big Sur?Curious if anyone is having any issues running Stata 15 in Big Sur? Thanks. …
Producing line plots from two-way table frequency categoriesApologies in advance if there's an obvious answer to this I've missed or if I'm a little clumsy in s…
X-axis in xtlineHi, this may be a trivial question, but I am having an issue with my graph using xtline where my plo…
Subscribe to:
Post Comments (Atom)
0 Response to xtline and standard deviation
Post a Comment