Hi,
Im trying to run a regression using interaction terms including a dummy, could some one help me with the code.
the dependant variable is pov
the independant variables are rol and wat
my dummy variable is dev, =1 if yes and =0 if no
I have done this regression already: reg poverty rol wat if dev==1
but i now want to create interaction terms with the dummy- so a single variable that will give the coefficient of rol and wat if dev=1 or dev=0
i know i need to generate a new variable but not sure how to do this
anyone know how i can code this?
Related Posts with interaction terms
filling in missing observations?Here is part of my dataset, the same id means the same person, how to fill in missing values in name…
why i can't convert from yyyy/mm/dd to timehello i have variable for time like this : Day (variable name) 2011/12/01 2011/12/02 2011/12/03 . .…
cmp for instrumental multinomial probit when there are many categoriesDependent variable Y1 has three categories 1, 2, 3 Dependent variable Y2 has four categories 1, 2, …
Histogram with log scale both below and above 0Dear Statalisters. I have been puzzling over what I would have thought would be a simple challenge.…
Unclear Seasonality & Strange Structural Break TestI'm getting odd results with time-series data and I'm trying to interpret them to find seasonality. …
Subscribe to:
Post Comments (Atom)
0 Response to interaction terms
Post a Comment