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
repeatedly getting error when trying to create a panel "repeated time values within panel r(451)"I have the following data type. I have four countries with 50 companies each for three years. I was …
cmp for a tobit model with a binary endogenous variable?Dear Stata listers, I am estimating a model with a dependent truncated variable (i.e. an index betw…
"assert inrange(var1,1,5)" and "assert inrange(var1,1,5)&!missing(var1)"What's the difference between "assert inrange(var1,1,5)" and "assert inrange(var1,1,5)&!missing(…
Make panel dataHello Statalist! I want to make panel data from this: ID roa2009 roa2010 roa2011 roa2012 bis2009 …
loop for scatter plotsHi everyone, i have 1 dependent variable and 20 independent variables and i would like to plot scatt…
Subscribe to:
Post Comments (Atom)
0 Response to Command for this panel data regression
Post a Comment