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
Robustness CheckHi, For my project, I've just been running simple OLS regressions. I was wondering if there was any…
Using subpop reg to compare regression coefficients between groups.I am investigating how access to water and toilets in the household affects educational attainment i…
Proof of parallel trends in Difference in Difference using a leads and lags regression?Dear Statalist users, I need to prove that the treatment group and the control group follow similar…
Generate dummy variable attributed to all observations of an ID if one of the observations meets criteriaHi, I haven't had much experience using Stata and was wondering whether one could generate a dummy v…
multicollinearity in panel datai am working on a panel data of 144 countries for 16 years. In order to check for multicollinearity,…
Subscribe to:
Post Comments (Atom)
0 Response to Command for this panel data regression
Post a Comment