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]

From |
Nick Cox <n.j.cox@durham.ac.uk> |

To |
"'statalist@hsphsun2.harvard.edu'" <statalist@hsphsun2.harvard.edu> |

Subject |
st: RE: RE: 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 |
Fri, 18 Feb 2011 17:08:13 +0000 |

Zhiqiang Wang already gave a one-line solution in Stata. http://www.stata.com/statalist/archive/2011-02/msg00986.html Nick n.j.cox@durham.ac.uk Liao, Junlin Excel is probably the best for this task. Excel does not require all CI to be the same. With data correctly lined up, it's easy to do it in Excel. It requires quite some manipulation to achieve it in Stata. Please search online for your problem. There are many nice tutorials out there. UCLA is a nice place to look for such material for doing it in Stata. Xin Lu 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. * * 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/

**Follow-Ups**:**Re: st: RE: RE: 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:*Roger Newson <r.newson@imperial.ac.uk>

**st: RE: RE: RE: 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:*"Liao, Junlin" <junlin-liao@uiowa.edu>

**References**:**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>

**st: RE: 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:*"Liao, Junlin" <junlin-liao@uiowa.edu>

- Prev by Date:
**RE: st: Stata 11 Random Effects--Std. Errors** - Next by Date:
**st: RE: how to add error bars to each data marker on a line graph (or the size of the data marker reflect the confidence interval)?** - Previous by thread:
**st: RE: how to add error bars to each data marker on a line graph (or the size of the data marker reflect the confidence interval)?** - Next by thread:
**st: RE: RE: RE: how to add error bars to each data marker on a line graph (or the size of the data marker reflect the confidence interval)?** - Index(es):