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
Related Posts with Command for this panel data regression
Creating dummy variable equal to one if current mean is one standard deviation above/below the historical meanHello everybody, I am trying to create a dummy variable that is equal to one of current rainfall in…
estate binary indicatorsHello, I am exporting results with a binary variable as the main IV, and the output shows "var=1" a…
barcolor()Hi, I'm now trying to make a bar graph using betterbar command. In the option for barcolor , barcol…
Twoway graphs: yaxis only on the right-hand side (like in The Economist)Dear Forum, I wonder how to create graphs that have the yaxis only on the right-hand side, like man…
how to merge the spatial data when there is no common variables in two dataset?Hi all, My data contains households’ GPS info (latitude, longitude, and altitude) and don’t have da…
Subscribe to:
Post Comments (Atom)
0 Response to Command for this panel data regression
Post a Comment