Statalist


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

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


From   "Nick Cox" <n.j.cox@durham.ac.uk>
To   <statalist@hsphsun2.harvard.edu>
Subject   st: RE: Graph showing ORs (or RRs) and confidence intervals
Date   Thu, 26 Mar 2009 19:11:11 -0000

-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 
n.j.cox@durham.ac.uk 

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/



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