Bookmark and Share

Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

st: how to add error bars to each data marker on a line graph (or the size of the data marker reflect the confidence interval)?


From   Xin Lu <xinlu2004@gmail.com>
To   statalist@hsphsun2.harvard.edu
Subject   st: how to add error bars to each data marker on a line graph (or the size of the data marker reflect the confidence interval)?
Date   Thu, 17 Feb 2011 20:18:28 -0600

I have a data set with 15 rows and four columns: x | y | lower CI for
y | upper CI for y.

I use the line graph to illustrate my data. So I would have 15 data
markers connected by straight line segment. I need to put error bars
(confidence interval for y) at each data point, or I could use the
size of the data marker to reflect the confidence interval. Does
anyone know if STATA can accomplish it?

I can't use EXCEL to do it, because EXCEL requires all CI to be the
same at each data point.

Thanks
*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/


© Copyright 1996–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index