Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.
From | Maarten buis <maartenbuis@yahoo.co.uk> |
To | statalist@hsphsun2.harvard.edu |
Subject | Re: st: conditional test after logistic regression |
Date | Wed, 14 Apr 2010 08:36:19 -0700 (PDT) |
--- On Wed, 14/4/10, Ricardo Ovaldia wrote: > If I fit: > > . logistic case x y > > I can test the null Ho:Bx=0, By=0 using: > > . test x y > > How can I test the null Ho: (Bx|By)=0 ? I am guessing you want to condition on y an not on By. In that case the answer can be pretty easy: you haven't included an interaction term between x and y, so that is just text x However, this will only work if you are interested in effects in terms of odds ratios or log odds ratios. Things get more complicated when you want to look at marginal effects. 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/