Bookmark and Share

Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at

[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–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index