Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: st: computing odds ratios for models with interraction terms
From
Nikolaos Pandis <npandis@yahoo.com>
To
statalist@hsphsun2.harvard.edu
Subject
Re: st: computing odds ratios for models with interraction terms
Date
Thu, 5 May 2011 21:50:46 -0700 (PDT)
Ann,
you can use the -lincom- command to calculate what you need.
Nick
--- On Fri, 5/6/11, Fitzmaurice, Ann E. <a.e.fitzmaurice@abdn.ac.uk> wrote:
From: Fitzmaurice, Ann E. <a.e.fitzmaurice@abdn.ac.uk>
Subject: st: computing odds ratios for models with interraction terms
To: "statalist@hsphsun2.harvard.edu" <statalist@hsphsun2.harvard.edu>
Date: Friday, May 6, 2011, 12:38 AM
Hi
I use the following for example
Logistic outcome i.varA i.varB b i.varA#i.varB other variables
And I obtain the odds ratios for var a var b and the interaction terms
Var a has four levels and var b has 3 levels
What I would like to do , is to generate the odds ratios for the 12 cells in the table var a by var b
Is there a way of doing this in stata, I would also like the confidence intervals
Thanks
Ann
Ann E Fitzmaurice
Medical Statistician
Immpact University of Aberdeen
Health Sciences Building
Foresterhill
Aberdeen, AB25 2ZD
Scotland
Tel: +44 (0)1224 553876
Fax: +44 (0)1224 555704
Email: a.e.fitzmaurice@abdn.ac.uk
The University of Aberdeen is a charity registered in Scotland, No SC013683.
*
* 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/