I have the following regression to run, I am unable to figure out how best to write the command
Array



It is panel data of night-light for a village (v), state (s) and year (t) and errors are clustered. Would the following command give the result?

reghdfe ln_avg_light new post2000 post2000new i.year i.year#i.year, absorb(svgroup) cluster(sdgroup)

Where I generated post2000new = post2000*new (both of them are binary values)

Thanks