Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.
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/