Estimation with AR(1) ErrorsThe previous example found evidence for
autocorrelated errors within the cross-section units.
The The transformed model may feature heteroskedasticity. Therefore, it may be
of interest to obtain heteroskedasticity consistent standard errors.
The When the
The SHAZAM commands (filename:
The SHAZAM output can be viewed.
[SHAZAM Guide home] SHAZAM output|_SAMPLE 1 20 |_READ(FIRM1.txt) YEAR IGM FGM CGM ICHR FCHR CCHR / SKIPLINES=1 UNIT 88 IS NOW ASSIGNED TO: FIRM1.txt 7 VARIABLES AND 20 OBSERVATIONS STARTING AT OBS 1 |_READ(FIRM2.txt) YEAR IGE FGE CGE IWH FWH CWH / SKIPLINES=1 UNIT 88 IS NOW ASSIGNED TO: FIRM2.txt 7 VARIABLES AND 20 OBSERVATIONS STARTING AT OBS 1 |_READ(FIRM3.txt) YEAR IUS FUS CUS / SKIPLINES=1 UNIT 88 IS NOW ASSIGNED TO: FIRM3.txt 4 VARIABLES AND 20 OBSERVATIONS STARTING AT OBS 1 |_* Stack the data |_MATRIX I=(IGM'|ICHR'|IGE'|IWH'|IUS')' |_MATRIX F=(FGM'|FCHR'|FGE'|FWH'|FUS')' |_MATRIX C=(CGM'|CCHR'|CGE'|CWH'|CUS')' |_SAMPLE 1 100 |_* Create cross-section dummy variables. |_* Set the number of cross-sections |_GEN1 NC=5 |_MATRIX CSDUM=SEAS(100,-NC) |_DO #=1,NC |_ GENR D#=CSDUM:# |_ENDO _DO #=1,NC ****** EXECUTION BEGINNING FOR DO LOOP # = 1 #_ GENR D1=CSDUM:1 #_ ENDO #_ GENR D2=CSDUM:2 #_ ENDO #_ GENR D3=CSDUM:3 #_ ENDO #_ GENR D4=CSDUM:4 #_ ENDO #_ GENR D5=CSDUM:5 #_ ENDO ****** EXECUTION FINISHED FOR DO LOOP #= 5 |_* Pooling with AR1 errors and Panel-Corrected Covariance Matrix |_POOL I F C D1-D5 / NOCONSTANT NCROSS=5 AR1 SAME HETCOV POOLED CROSS-SECTION TIME-SERIES ESTIMATION 100 TOTAL OBSERVATIONS 5 CROSS-SECTIONS 20 TIME-PERIODS DEPENDENT VARIABLE = I MODEL ASSUMPTIONS: SAME ESTIMATED RHO FOR EACH CROSS-SECTION OLS COEFFICIENTS 0.10598 0.34666 -76.067 -29.374 -242.17 -57.899 92.539 USING PANEL-CORRECTED COVARIANCE MATRIX RHO VECTOR 0.62657 -0.47882E-01 0.85293 0.86680 0.51239 SAME ESTIMATED RHO FOR ALL CROSS-SECTIONS = 0.60606 BUSE [1973] R-SQUARE = 0.8436 BUSE RAW-MOMENT R-SQUARE = 0.9033 VARIANCE OF THE ESTIMATE-SIGMA**2 = 3186.3 STANDARD ERROR OF THE ESTIMATE-SIGMA = 56.447 SUM OF SQUARED ERRORS-SSE= 0.29632E+06 MEAN OF DEPENDENT VARIABLE = 248.96 LOG OF THE LIKELIHOOD FUNCTION = -542.740 VARIABLE ESTIMATED STANDARD T-RATIO PARTIAL STANDARDIZED ELASTICITY NAME COEFFICIENT ERROR 93 DF P-VALUE CORR. COEFFICIENT AT MEANS F 0.90932E-01 0.1445E-01 6.291 0.000 0.546 0.4823 0.7021 C 0.36095 0.4002E-01 9.019 0.000 0.683 0.5007 0.4510 D1 -3.3596 73.61 -0.4564E-01 0.964-0.005 -0.0050 -0.0027 D2 -20.763 13.03 -1.594 0.114-0.163 -0.0312 -0.0167 D3 -222.24 37.69 -5.897 0.000-0.522 -0.3335 -0.1785 D4 -50.604 13.49 -3.751 0.000-0.363 -0.0759 -0.0407 D5 108.32 53.42 2.028 0.045 0.206 0.1626 0.0870 |_* Test for equality of firm intercepts |_TEST |_ TEST D1=D2 |_ TEST D1=D3 |_ TEST D1=D4 |_ TEST D1=D5 |_END F STATISTIC = 27.464480 WITH 4 AND 93 D.F. P-VALUE= 0.00000 WALD CHI-SQUARE STATISTIC = 109.85792 WITH 4 D.F. P-VALUE= 0.00000 UPPER BOUND ON P-VALUE BY CHEBYCHEV INEQUALITY = 0.03641 |_STOP [SHAZAM Guide home] |