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
MA(5) for panel dataDear Statalist members, I used the information given on this Stata pdf https://www.stata.com/suppor…
f test following reghdfe for joint significance of individual fixed effectsHi all, I'd like to run a f-test to test joint significance of each fixed effects. For example, I'd…
Implied Cost of Equity, mm_root function skips the results of some observationsHi There, I have used the following codes to calculate the implied cost of equity. While the code c…
Not obvious behaviorThe following fragment illustrates a rather non-obvious behavior of Stata when working with data fra…
Losing Precision with ASEC ID ValuesHi Statalisters, I'm currently working with the 2019 CPS ASEC, trying to match individual responden…
Subscribe to:
Post Comments (Atom)
0 Response to Command for this panel data regression
Post a Comment