Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: RE: Re: Confidence Interval Graph


From   "Nick Cox" <n.j.cox@durham.ac.uk>
To   <statalist@hsphsun2.harvard.edu>
Subject   st: RE: Re: Confidence Interval Graph
Date   Wed, 20 Apr 2005 14:21:49 +0100

twoway rcap lower upper whatever || scatter OR whatever 

Nick 
n.j.cox@durham.ac.uk 

Paolo Grillo, MD

> how can I build a Graph with a thick point for a value and two lines 
> (one above and one below) for confidence interval?
> I thought that "twoway rcap" is useful for me, but I am not 
> able to put 
> the point in the middle of the range.
> In my dataset I have four columns.
> 1) Gene
> 2) OR for the correspondin gene (It's a case-control study)
> 3) Lower bound CI 95%
> 4) Upper bound CI 95%
> So I would like to have a graphs with one vertical line (with 
> a central 
> thich point) that indicates both the OR and the corresponding 
> CI limits 
> for each gene.

*
*   For searches and help try:
*   http://www.stata.com/support/faqs/res/findit.html
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/



© Copyright 1996–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index