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]
RE: RE: 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
Zhiqiang Wang <[email protected]>
To
<[email protected]>
Subject
RE: RE: 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
Fri, 18 Feb 2011 16:45:16 +1000
Assuming that your four variables are named as x, y, low and upper, try the following:
. sort x
. line y x || rcap low upper x
Zhiqiang
*
* 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/