Quantcast
Channel: Statalist
Viewing all articles
Browse latest Browse all 65574

Getting either error bars with "twoway" or connecting "serrbar" graphs

$
0
0
Hi

I have three variables in my dataset that I have created separately from my original dataset:
- mean (represents proportion with the outcome)
- se (standard error of the mean)
- year (explantory variable)

By using twoway, I can get a line graph, but nowhere online or in the menus can I see a means of adding error bars to this
"twoway (connected mean year)"

When I use serrbar, I get an error bar for each variable, but no connection between the points appears despite using the "connect(l)" option
"serrbar mean se year, scale (1.96) connect(l)"

Is there a means of getting a combination of the two, either in this derived dataset or in my original one?

Many thanks again.




Viewing all articles
Browse latest Browse all 65574

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>