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
Add lable to binary variableHello. I have a binary variable "size" : 1 means it's small, 0 means it's large. But in my data bas…
pairwise correlationsAre pairwise correlations the same as Pearson's Coefficient Correlation and what command would you e…
How to do a differential effect in StataI have a binary variable : 0 = English company, 1 = French company. I have a second variable "profit…
MIXLOGITWTP space - Individual wtpHello, in choice data I am estimating wtp space using the command mixlogitwtp which works well. How…
"sts graph, risktable() saving()" tries (and fails) to save graph-file twiceHi all, I've come across some unexpected behaviour which I'd appreciate comments on. I'm using Stat…
Subscribe to:
Post Comments (Atom)
0 Response to xtline and standard deviation
Post a Comment