I have a panel data set for 31 Chinese provinces with 6 records for 6 5-year periods which include the log of temperature, log of precipitation, and log of outmigration rate for each of them (1990-1995, 1995-2000, 2000-2005, 2005-2010, 2010-2015, 2015-2020).
I would like to estimate a first-difference equation to see if the coefficients are consistent with what I got in the fixed effects model, which is
.
I tried the code:
and the coefficients do not appear to be the same. i think that is because I didn't include the differences of time-fixed effects.
It might be a simple question, but it's bogging me down. Any ideas about how I can include them to fix my code?
Thank you in advance.
I would like to estimate a first-difference equation to see if the coefficients are consistent with what I got in the fixed effects model, which is
Code:
eststo: reghdfe lnomr lntemp lnprecip, a(province year) cl(province)
I tried the code:
Code:
reghdfe s5.(lnomr lntemp lnprecip), cl(province)
It might be a simple question, but it's bogging me down. Any ideas about how I can include them to fix my code?
Thank you in advance.
Comment