Hi,
I'm trying to estimate a straight forward Difference-in-Difference model to find the impact of a treatment (targeting 50 out of 100 schools) on student maths scores in grade 7. I have baseline pre-treatment data for both groups and end-line data for both groups. So a simple school level fixed effects model with clustered standard errors would be:
reg maths_score i.treated##i.y2016 male income i.school_id, cluster(school_id)
where treated=1 if the school was treated, y2016=1 if end-line year, male is a gender dummy and income is a continuous variable. When estimated both male and income are significant at the 1% level.
But what I really want to know is whether the coefficient on treated and income are significantly different for males versus females. Will the following help me achieve this?
reg y i.treated##i.year##i.male c.income##i.male i.school_id, cluster(school_id)
I ask as fully interacting the model with the gender variable gives me a result where male and all the new interaction terms become non-significant. Income alone remains significant. I'm struggling to interpret why/how male lost significance while male#income is not significant either. Any insights much appreciated.
Related Posts with Difference-in-difference with interactions
RDD with fractional dependent variableDear Stata Community I use the RDD STATA package provided by Calonico, Cattaneo and Titiunik (2015)…
pv command does not allow me to run a second pv-regression on the same datasetHi, I'm using the pv command from the pv package (ssc install pv). It runs a regression for five di…
RDD with dependent variable as a percentageDear Stata Community After reading the FAQ to the end, I'll try it again, sorry for that. I use th…
Cleaning a string variable to create a numerical variableHi, I have station-level electric fuel price variable that is reported in different formats - per ho…
Predicting individual-level slopes and intercepts after running mixed-effects modelsHi All I'm running two linear spline mixed-effects models (growth curve analysis) looking at mental…
Subscribe to:
Post Comments (Atom)
0 Response to Difference-in-difference with interactions
Post a Comment