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
Unconditional quantile regression / pooling together dataDear Statalist members. Has anyone ever used unconditional quantile regression in stata (ivqte comma…
RDPLOT QuestionHi all, Is there a reason that a line on an RD plot would go below 0 when your Y variable does not …
100% Stacked Bar ChartHello, I want to create a stacked bar graph, where the bars equal 100%, representing the percentage …
issue with replacing values with bysortHi all, I have the following situation: Code: +--------------------------------+ | pi…
Unconditional quantile regression when treatment variable is an interaction term of two dummy variablesDear Statalist members, has anyone ever tried to use unconditional quantile regression in stata (ivq…
Subscribe to:
Post Comments (Atom)
0 Response to interaction terms
Post a Comment