Hi everyone!
Is there anyone who can help me optimize a STATA code? I am running a region specific time varying fixed effects model which takes ages using 'reg'. Is there a way to run this more efficiently?
I use a Diff in Diff technique. This is my regression:
reg outcome treated##post1 i.region##i.year, vce(cl region)
My panel data includes 391 regions and covers a period of 20 years. Therefore, the i.region#i.year yields a big number of combinations. This makes the regression very time consuming.
Is there anyone who can help me optimize a STATA code? I am running a region specific time varying fixed effects model which takes ages using 'reg'. Is there a way to run this more efficiently?
I use a Diff in Diff technique. This is my regression:
reg outcome treated##post1 i.region##i.year, vce(cl region)
My panel data includes 391 regions and covers a period of 20 years. Therefore, the i.region#i.year yields a big number of combinations. This makes the regression very time consuming.
Comment