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: conditional test after logistic regression
From
Maarten buis <[email protected]>
To
[email protected]
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/