Bookmark and Share

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, is already up and running.

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

Re: st: conditional test after logistic regression

From   Maarten buis <>
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 L. Buis
Institut fuer Soziologie
Universitaet Tuebingen
Wilhelmstrasse 36
72074 Tuebingen


*   For searches and help try:

© Copyright 1996–2016 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   Site index