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
Invalid name error in foreach loopHi, Same title as a similar post from 2020 which did not answer my problem... I am trying to run a…
How to merge two datasets and How to use keepHello everyone! I'm a very beginner using STATA so please I'd like to get some help with merge comm…
Counting unique idsWhen I use the following code: Code: bys month: count(refer_id) Is there anything I can add to it …
variable distribution respect othersDear all, it is the first time to me in statalist. I would ask you if aanyone of you can help me wit…
Graphing averages using collapse mean and loops with same suffixHello, I am trying to graph cross-country distributions along with international averages using loo…
Subscribe to:
Post Comments (Atom)
0 Response to Command for this panel data regression
Post a Comment