Notice: On March 31, it was **announced** that Statalist is moving from an email list to a **forum**. The old list will shut down on April 23, and its replacement, **statalist.org** is already up and running.

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

From |
Maarten Buis <maartenlbuis@gmail.com> |

To |
statalist@hsphsun2.harvard.edu |

Subject |
Re: st: How to test the significance of a ratio of two correlated odds ratios in Stata |

Date |
Mon, 5 Sep 2011 09:59:50 +0200 |

On Mon, Sep 5, 2011 at 9:50 AM, Maarten Buis wrote: > I would do this by creating my own dummy variables. Lets say that 0 is > a placebo, and 1 and 2 are different treatments. I would create one > dummy that is 0 when placebo and 1 when any treatment and one dummy > that is 0 when placebo or treatment 1 and is 1 when treatment 2. If > you add those two dummies to your model than the "odds ratio" reported > by -logit- is actually the ratio of odds ratios you are looking for. To be exact, the "odds ratio" belonging to the variable for treatment_2. This is in effect an interaction term between treatment_2 and any_treatment. Hope this helps, Maarten -------------------------- Maarten L. Buis Institut fuer Soziologie Universitaet Tuebingen Wilhelmstrasse 36 72074 Tuebingen Germany http://www.maartenbuis.nl -------------------------- * * 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/

**References**:**st: How to test the significance of a ratio of two correlated odds ratios in Stata***From:*"Tiago V. Pereira" <tiago.pereira@mbe.bio.br>

**Re: st: How to test the significance of a ratio of two correlated odds ratios in Stata***From:*Maarten Buis <maartenlbuis@gmail.com>

- Prev by Date:
**Re: st: How to test the significance of a ratio of two correlated odds ratios in Stata** - Next by Date:
**Re: st: Negative Predictive Value** - Previous by thread:
**Re: st: How to test the significance of a ratio of two correlated odds ratios in Stata** - Next by thread:
**st: Re: selmlog: question** - Index(es):