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

Re: st: Re: Confidence Interval Graph


From   Roger Newson <[email protected]>
To   [email protected]
Subject   Re: st: Re: Confidence Interval Graph
Date   Wed, 20 Apr 2005 14:59:12 +0100

At 14:17 20/04/2005, Paolo wrote:
Dear All,
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.
Use the -eclplot- package, downloadable from SSC. (Type -ssc install eclplot- to install this.) The command you use should be something like

eclplot or ormin ormax gene

You can, of course, add options (there are many to choose from). Or you can even construct the command using the -eclplot- dialog, which is probably easier for most people.

I hope this helps.

Roger



--
Roger Newson
Lecturer in Medical Statistics
Department of Public Health Sciences
Division of Asthma, Allergy and Lung Biology
King's College London

5th Floor, Capital House
42 Weston Street
London SE1 3QD
United Kingdom

Tel: 020 7848 6648 International +44 20 7848 6648
Fax: 020 7848 6620 International +44 20 7848 6620
or 020 7848 6605 International +44 20 7848 6605
Email: [email protected]
Website: http://phs.kcl.ac.uk/rogernewson/

Opinions expressed are those of the author, not the institution.

*
* 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–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index