Dear All, I ran the following command
but found the error message as 
Does anyone know what's wrong with the code? Thanks.
Code:
local in1 "inrange(year,2011,2012)" local in2 "inrange(year,2009,2014)" foreach v of local in1 in2 { reghdfe lPAY3 Treat Post Treat*Post if `v', a(stkcd year) vce(cl stkcd) }
Does anyone know what's wrong with the code? Thanks.
Comment