Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: RE: Interaction between 0-1 and and 0-1-2 variable with logistic regression


From   "Raoul C Reulen" <[email protected]>
To   <[email protected]>
Subject   st: RE: Interaction between 0-1 and and 0-1-2 variable with logistic regression
Date   Tue, 26 Jul 2005 18:10:32 +0100

.xi: logistic outcome i.gender*i.income 

or

.xi: logistic outcome income i.gender*income

Then use test or lrtest to test for interaction

Hope this helps

See also http://www.ats.ucla.edu/stat/stata/ or STATA manual

-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of Ashwin
Ananthakrishnan
Sent: 26 July 2005 16:34
To: [email protected]
Subject: st: Interaction between 0-1 and and 0-1-2 variable with
logistic regression

Hi,

I'm running a multiple logistic regression with a
dichotomous outcome variable - 0/1. My two main
predictors of interest (among 4 or 5 other predictors)
are gender (0/1), and income (1/2/3) for low, medium,
or high.
Using stata, how would I test for interaction between
gender and income?

Ashwin

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
*
*   For searches and help try:
*   http://www.stata.com/support/faqs/res/findit.html
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/

*
*   For searches and help try:
*   http://www.stata.com/support/faqs/res/findit.html
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/



© Copyright 1996–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index