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
Problem analyzing outcome by dateHello STATAListers, I'm a new user and having trouble working on a simple dataset with just 5 varia…
Endogenous switching model using "etregress"I am trying to estimate the effect of off-farm participation on farm household food insecurity statu…
fixed effect interaction with many values of FEHi, I am trying to run a specification using reghdfe, where I interact a district indicator (unique…
Using FEI am trying to carry out panel FE analysis using .xtreg. For cluster SE do I need to create a differ…
Obtaining a forest plot showing the standardised mean differences after teffects ipw and aipwDear Statalisters, I have been trying to produce a forest plot-style of graph to show the mean in t…
Subscribe to:
Post Comments (Atom)
0 Response to xtline and standard deviation
Post a Comment