AUTOREG Procedure

Example 8.2 Comparing Estimates and Models

(View the complete code for this example.)

In this example, the Grunfeld series are estimated using different estimation methods. For information about the Grunfeld investment data set, see Maddala (1977). For comparison, the Yule-Walker method, ULS method, and maximum likelihood method estimates are shown. With the DWPROB option, the p-value of the Durbin-Watson statistic is printed. The Durbin-Watson test indicates the positive autocorrelation of the regression residuals. The DATA and PROC steps follow:

title 'Grunfeld''s Investment Models Fit with Autoregressive Errors';
data grunfeld;
   input year gei gef gec;
   label gei = 'Gross investment GE'
         gec = 'Lagged Capital Stock GE'
         gef = 'Lagged Value of GE shares';
datalines;
1935     33.1      1170.6     97.8

   ... more lines ...   

proc autoreg data=grunfeld;
   model gei = gef gec / nlag=1 dwprob;
   model gei = gef gec / nlag=1 method=uls;
   model gei = gef gec / nlag=1 method=ml;
run;

The printed output produced by each of the MODEL statements is shown in Output 8.2.1 through Output 8.2.4.

Output 8.2.1: OLS Analysis of Residuals

Grunfeld's Investment Models Fit with Autoregressive Errors

The AUTOREG Procedure

Dependent Variablegei
 Gross investment GE

Ordinary Least Squares Estimates
SSE13216.5878DFE17
MSE777.44634Root MSE27.88272
SBC195.614652AIC192.627455
MAE19.9433255AICC194.127455
MAPE23.2047973HQC193.210587
Durbin-Watson1.0721Total R-Square0.7053

Parameter Estimates
VariableDFEstimateStandard
Error
t ValueApprox
Pr > |t|
Variable Label
Intercept1-9.956331.3742-0.320.7548 
gef10.02660.01561.710.1063Lagged Value of GE shares
gec10.15170.02575.90<.0001Lagged Capital Stock GE

Preliminary MSE520.5


Output 8.2.2: Regression Results Using Default Yule-Walker Method

Estimates of Autoregressive Parameters
LagCoefficientStandard
Error
t Value
1-0.4608670.221867-2.08

Yule-Walker Estimates
SSE10238.2951DFE16
MSE639.89344Root MSE25.29612
SBC193.742396AIC189.759467
MAE18.0715195AICC192.426133
MAPE21.0772644HQC190.536976
Durbin-Watson1.3321Transformed Regression R-Square0.5717
  Total R-Square0.7717

Parameter Estimates
VariableDFEstimateStandard
Error
t ValueApprox
Pr > |t|
Variable Label
Intercept1-18.231833.2511-0.550.5911 
gef10.03320.01582.100.0523Lagged Value of GE shares
gec10.13920.03833.630.0022Lagged Capital Stock GE


Output 8.2.3: Regression Results Using Unconditional Least Squares Method

Estimates of Autoregressive Parameters
LagCoefficientStandard
Error
t Value
1-0.4608670.221867-2.08

Algorithm converged.

Unconditional Least Squares Estimates
SSE10220.8455DFE16
MSE638.80284Root MSE25.27455
SBC193.756692AIC189.773763
MAE18.1317764AICC192.44043
MAPE21.149176HQC190.551273
Durbin-Watson1.3523Transformed Regression R-Square0.5511
  Total R-Square0.7721

Parameter Estimates
VariableDFEstimateStandard
Error
t ValueApprox
Pr > |t|
Variable Label
Intercept1-18.658234.8101-0.540.5993 
gef10.03390.01791.890.0769Lagged Value of GE shares
gec10.13690.04493.050.0076Lagged Capital Stock GE
AR11-0.49960.2592-1.930.0718 

Autoregressive parameters assumed given
VariableDFEstimateStandard
Error
t ValueApprox
Pr > |t|
Variable Label
Intercept1-18.658233.7567-0.550.5881 
gef10.03390.01592.130.0486Lagged Value of GE shares
gec10.13690.04043.390.0037Lagged Capital Stock GE


Output 8.2.4: Regression Results Using Maximum Likelihood Method

Estimates of Autoregressive Parameters
LagCoefficientStandard
Error
t Value
1-0.4608670.221867-2.08

Algorithm converged.

Maximum Likelihood Estimates
SSE10229.2303DFE16
MSE639.32689Root MSE25.28491
SBC193.738877AIC189.755947
MAE18.0892426AICC192.422614
MAPE21.0978407HQC190.533457
Log Likelihood-90.877974Transformed Regression R-Square0.5656
Durbin-Watson1.3385Total R-Square0.7719
  Observations20

Parameter Estimates
VariableDFEstimateStandard
Error
t ValueApprox
Pr > |t|
Variable Label
Intercept1-18.375134.5941-0.530.6026 
gef10.03340.01791.870.0799Lagged Value of GE shares
gec10.13850.04283.230.0052Lagged Capital Stock GE
AR11-0.47280.2582-1.830.0858 

Autoregressive parameters assumed given
VariableDFEstimateStandard
Error
t ValueApprox
Pr > |t|
Variable Label
Intercept1-18.375133.3931-0.550.5897 
gef10.03340.01582.110.0512Lagged Value of GE shares
gec10.13850.03893.560.0026Lagged Capital Stock GE


Output 8.2.5: Estimates of Autocorrelations

Estimates of Autocorrelations


Last updated: June 19, 2025