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