Download EViews 4.0 User's Guide

Transcript
300—Chapter
13. Time Series Regression
300
First-Order Serial Correlation
To estimate an AR(1) model in EViews, open an equation by selecting Quick/Estimate
Equation… and enter your specification as usual, adding the expression “AR(1)” to the
end of your list. For example, to estimate a simple consumption function with AR(1)
errors,
CS t = c 1 + c 2 GDP t + u t
u t = ½u t − 1 + " t
(13.5)
you should specify your equation as
cs c gdp ar(1)
EViews automatically adjusts your sample to account for the lagged data used in estimation, estimates the model, and reports the adjusted sample along with the remainder of the
estimation output.
Higher-Order Serial Correlation
Estimating higher order AR models is only slightly more complicated. To estimate an
AR(k), you should enter your specification, followed by expressions for each AR term you
wish to include. If you wish to estimate a model with autocorrelations from one to five:
CS t = c 1 + c 2 GDP t + u t
u t = ½1u t − 1 + ½ 2 u t − 2 + … + ½5u t − 5 + " t
(13.6)
you should enter
cs c gdp ar(1) ar(2) ar(3) ar(4) ar(5)
By requiring that you enter all of the autocorrelations you wish to include in your model,
EViews allows you great flexibility in restricting lower order correlations to be zero. For
example, if you have quarterly data and want to include a single term to account for seasonal autocorrelation, you could enter
cs c gdp ar(4)
Nonlinear Models with Serial Correlation
EViews can estimate nonlinear regression models with additive AR errors. For example,
suppose you wish to estimate the following nonlinear specification with an AR(2) error:
c
CS t = c 1 + GDP t 2 + u t
ut = c 3u t − 1 + c 4u t − 2 + " t
(13.7)