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
How to subset my dataset based on multiply string filters?My data set is very big, so I copy and paste the first 15 rows as a new exemple excel file. Code: …
Comparing two coefficients in GMMDear Stata users, I am using the Difference and System GMM approach for estimation and I want to co…
Standardized beta estimates for interaction terms in mixed effect modelsDear Statalist, I am using mixed-effects to run the below model, but wondering how to get the stand…
clustered standard errors or just robust? panel dataHi there, I have to use an event study methodology to estimate the impact of the event (child birth…
esttab output format for mixed interaction modelsDear Statalist, I need output the mixed interaction effects using esttab. However, I have two model…
Subscribe to:
Post Comments (Atom)
0 Response to interaction terms
Post a Comment