Statalist The Stata Listserver

[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

Re: st: interaction term in probit (inteff problem)

From   Richard Williams <>
Subject   Re: st: interaction term in probit (inteff problem)
Date   Fri, 23 Jun 2006 10:41:23 -0400

At 10:24 AM 6/23/2006, Kai-Wen  Cheng wrote:
By the way, I have another question about inteff commands...
I am using 10 years data and I have to figure out the interaction effects
between college(a dummy variable) and every year. That is, I need to
figure out the interaction effects of year2*college, year3*college,
In Norton, Wang, Ai's paper, it said put dummy1 in the second position and
dummy 2 in the third and then dummy1*dummy2 in the fourth...But how about
getting more than one interaction terms? how to apply the commands to my
It doesn't sound to me like you can do it. The help file says it is for "when two variables have been interacted." In your setup, you've got 9 vars (year2 through year10) interacted with college. I guess you could include those terms beginning with variable 5, but they'll be treated as continuous vars and the program won't know they are interaction terms.

If it seemed legit to treat year as a continuous var, then you would just have year and college and you could use the program.

I suspect this would not be legitimate, but I suppose you could keep on rerunning the program rotating which vars are in positions 2, 3 and 4.

Richard Williams, Notre Dame Dept of Sociology
OFFICE: (574)631-6668, (574)631-6463
FAX: (574)288-4373
HOME: (574)289-5227
EMAIL: Richard.A.Williams.5@ND.Edu
WWW (personal):
WWW (department):
* For searches and help try:

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