Hi,
I am running the following regression:
xtreg recycling loginc logpopden md11 md12 md13 md14 md15 md16 md17 md18 md19 md20 md21 md22 md23 md24 md25 md26 md27 md28 md29 md291 wasteavg dryavg quarter2 quarter3 quarter4 year2 year3 year4 year5, fe vce(cluster acode)
I check for serial correlation using
xtserial recycling loginc logpopden md11 md12 md13 md14 md15 md16 md17 md18 md19 md20 md21 md22 md23 md24 md25 md26 md27 md28 md29 md291 wasteavg dryavg quarter2 quarter3 quarter4 year2 year3 year4 year5, output
This gives me output
Wooldridge test for autocorrelation in panel data
H0: no first-order autocorrelation
F( 1, 310) = 69.989
Prob > F = 0.0000
So I then do
reg D.(recycling loginc logpopden md11 md12 md13 md14 md15 md16 md17 md18 md19 md20 md21 md22 md23 md24 md25 md26 md27 md28 md29 md291 wasteavg dryavg quarter2 quarter3 quarter4 year2 year3 year4 year5)
predict u,resid
regress u l.u
Below is my output.
Source | SS df MS Number of obs = 5,174
-------------+---------------------------------- F(1, 5172) = 703.69
Model | 4128.47295 1 4128.47295 Prob > F = 0.0000
Residual | 30343.7093 5,172 5.86691981 R-squared = 0.1198
-------------+---------------------------------- Adj R-squared = 0.1196
Total | 34472.1822 5,173 6.66386666 Root MSE = 2.4222
------------------------------------------------------------------------------
u | Coef. Std. Err. t P>|t| [95% Conf. Interval]
-------------+----------------------------------------------------------------
u |
L1. | -.3368239 .0126974 -26.53 0.000 -.3617161 -.3119317
|
_cons | -.048475 .0336738 -1.44 0.150 -.1144898 .0175399
------------------------------------------------------------------------------
Am I correct in thinking my results indicate I am inbetween a First difference and Fixed effects estimator?
What commands do I need to run this as a first difference calculation? I have never done first difference in Stata before.
Related Posts with First Difference vs Fixed Effects Serial Correlation
Loop not identifying the local of variable suffixesHi. I am trying to run the loop below over several individual datasets for the years 2007-2012. Some…
Creating 5th lags for list of variables in wide rangeI seem to be stuck trying make 5th lags of my panel data for counries on government debt from 1990 t…
How to combine descriptive statistics and ttest resultsArray Hello; I have three dependent variable and all of them are binary, and a list of independent …
Welch's F-test as an alternative to Fisher's F.Hi Everyone, Is there an option to get Welch's F or Brown-Forsythe's F in Stata (for situations whe…
discrete-time survival analysis (xtcloglog) the outcome problemsHi everyone, I am running a discrete-time survival analysis about firm survival on an unbalanced pan…
Subscribe to:
Post Comments (Atom)
0 Response to First Difference vs Fixed Effects Serial Correlation
Post a Comment