I have a large panel dataset and am trying to replicate the results produced by a first differencing model by instead using a fixed effects model. I have read online the results should be somewhat similar.
The first differencing results:
The fixed effects results. I'm wondering why qualitatively they're very different. Perhaps I'm making incorrect assumptions that they should be similar or something else is going on.
Thank you.
The first differencing results:
Code:
. areg dln_cons_beer dln_excise_price dln_salestax_price dln_population,a(year)
Linear regression, absorbing indicators Number of obs = 1,607
Absorbed variable: year No. of categories = 33
F( 3, 1571) = 9.31
Prob > F = 0.0000
R-squared = 0.2686
Adj R-squared = 0.2523
Root MSE = 0.0310
------------------------------------------------------------------------------------
dln_cons_beer | Coef. Std. Err. t P>|t| [95% Conf. Interval]
-------------------+----------------------------------------------------------------
dln_excise_price | -.8767847 .1690759 -5.19 0.000 -1.208423 -.5451466
dln_salestax_price | -.1991993 .3006204 -0.66 0.508 -.7888587 .3904602
dln_population | .0335824 .0649213 0.52 0.605 -.0937592 .1609239
_cons | .0042591 .0011534 3.69 0.000 .0019968 .0065215
------------------------------------------------------------------------------------
F test of absorbed indicators: F(32, 1571) = 12.442 Prob > F = 0.000
Code:
. xtreg ln_cons_beer ln_excise_price ln_salestax_price ln_population i.year, fe
Fixed-effects (within) regression Number of obs = 1,656
Group variable: state Number of groups = 49
R-sq: Obs per group:
within = 0.6640 min = 32
between = 0.1076 avg = 33.8
overall = 0.2398 max = 34
F(36,1571) = 86.24
corr(u_i, Xb) = -0.2019 Prob > F = 0.0000
-----------------------------------------------------------------------------------
ln_cons_beer | Coef. Std. Err. t P>|t| [95% Conf. Interval]
------------------+----------------------------------------------------------------
ln_excise_price | -1.574363 .0521172 -30.21 0.000 -1.676589 -1.472136
ln_salestax_price | .8174433 .2683902 3.05 0.002 .2910027 1.343884
ln_population | -.0254941 .0157272 -1.62 0.105 -.0563425 .0053544
_cons | 3.254145 .1233847 26.37 0.000 3.012129 3.496161
-----------------------------------------------------------------------------------
F test that all u_i=0: F(48, 1571) = 213.47 Prob > F = 0.0000

Comment