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
Merge identifier and date within rangeHi all, I would like to merge two datasets by identifier and date within range dataset A: accountnum…
Error message with 'collect export' in Stata 17Hello, I have a large descriptive Table 1 that I'd like to try to export to an Excel file for a man…
Renaming with renumbering Code: * Example generated by -dataex-. For more info, type help dataex clear input byte v1 str19 st…
Margins plots and significanceHello Stata Folk, I'm running a panel regression with squared interaction terms. I want to confirm …
Multiple correspondence analysis predictionHi all I am trying to make a multiple correspondence analysis in Stata using the Burt approach. My a…
Subscribe to:
Post Comments (Atom)
0 Response to Command for this panel data regression
Post a Comment