Statalist


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

st: RE: RE: Graph showing ORs (or RRs) and confidence intervals


From   "Elizabeth Allred" <[email protected]>
To   "'[email protected]'" <[email protected]>
Subject   st: RE: RE: Graph showing ORs (or RRs) and confidence intervals
Date   Thu, 26 Mar 2009 16:06:12 -0400

Thanks Roger. This works beautifully! -rcap- didn't handle the horizontal plotting well but -eclplot- does.

Liz

>>> On 3/26/2009 at  3:36 PM, in message
<[email protected]>, "Newson, Roger B"
<[email protected]> wrote:
> One possibility here might be to use -eclplot-, downloadable from SSC, which 
> combines the functions of -rcap- and -scatter- in a single command. To see a 
> description of -eclplot-, type, in Stata,
> 
> ssc describe eclplot
> 
> and to download -eclplot-, type
> 
> ssc install eclplot, replace
> 
> The on-line help for -eclplot- contains some hypertext references on how to use 
> -eclplot-, together with other packages.
> 
> I hope this helps.
> 
> Best wishes
> 
> Roger
> 
> 
> Roger B Newson BSc MSc DPhil
> Lecturer in Medical Statistics
> Respiratory Epidemiology and Public Health Group
> National Heart and Lung Institute
> Imperial College London
> Royal Brompton Campus
> Room 33, Emmanuel Kaye Building
> 1B Manresa Road
> London SW3 6LR
> UNITED KINGDOM
> Tel: +44 (0)20 7352 8121 ext 3381
> Fax: +44 (0)20 7351 8322
> Email: [email protected] 
> Web page: http://www.imperial.ac.uk/nhli/r.newson/ 
> Departmental Web page:
> http://www1.imperial.ac.uk/medicine/about/divisions/nhli/respiration/popgene 
> tics/reph/
> 
> Opinions expressed are those of the author, not of the institution.
> 
> -----Original Message-----
> From: [email protected] 
> [mailto:[email protected]] On Behalf Of Nick Cox
> Sent: 26 March 2009 19:11
> To: [email protected] 
> Subject: st: RE: Graph showing ORs (or RRs) and confidence intervals
> 
> -hplot- (which goes back to 1997 at least) still works! But there was no
> point in my updating it. It was superseded in Stata 8 by both -graph
> dot- (etc.) and various -twoway- commands. The StataCorp developers
> looked carefully at the same sources of inspiration. 
> 
> So, in terms of new Stata graphics, this could be a -twoway- plot using
> both -rcap- and -scatter-. 
> 
> There is a pertinent tutorial in 
> 
> SJ-8-2  gr0034  . . . . . . . . . .  Speaking Stata: Between tables and
> graphs
>         (help labmask, seqvar if installed) . . . . . . . . . . . .  N.
> J. Cox
>         Q2/08   SJ 8(2):269--289
>         outlines techniques for producing table-like graphs
> 
> I will be talking around this kind of topic at the Washington, DC
> meeting in July. 
> 
> Nick 
> [email protected] 
> 
> Elizabeth Allred
> 
> Back in 2001 (Version 6) Nick Cox wrote a program called hplot with
> which one could display odds (or risk) ratios and confidence intervals.
> Has anybody updated hplot or written something similar  that they'd be
> willing to share?
> 
> Below is a sketch of what I'm looking for.
> 
> Liz
> 
>       |
> var A |     |---------x----------------|
>       |
> var B ||-----------x--------------------|
>       |
> var C |             |-------x------------|
>       |
>       +________________________________________
>                       1              2       
> 
> *
> *   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/ 
> 
> *
> *   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/
*
*   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–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index