Bookmark and Share

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   Ricardo Ovaldia <[email protected]>
To   [email protected]
Subject   Re: st: conditional test after logistic regression
Date   Wed, 14 Apr 2010 08:47:22 -0700 (PDT)

Thank you Maarten. That is what I thought, but I am not sure that I want conditioning on y. The article that I am reading states the null in terms of beta - Ho: (Bx|By)=0 

Would your answer change if y=x^2?

So that the model would be:

logistic case x x2

where x2=x^2

and the null is now,  Ho: (Bx2|Bx)=0 ?

Ricardo

Ricardo Ovaldia, MS
Statistician 
Oklahoma City, OK


--- On Wed, 4/14/10, Maarten buis <[email protected]> wrote:

> From: Maarten buis <[email protected]>
> Subject: Re: st: conditional test after logistic regression
> To: [email protected]
> Date: Wednesday, April 14, 2010, 10:36 AM
> --- 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/
> 


      

*
*   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/


© Copyright 1996–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index