Problem Statement: For the AR(2) process
(a) Calculate .
(b) Using and
as starting values and
the difference equation form for the ACF, calculate the values
of
for
.
(c) Use the plotted function to estimate the period and damping factor for the ACF.
(d) Check the values in (c) by direct calculation using
the values of and
.
Solution: First of all, let's check for stationarity. I know that wasn't explicitly stated to do, but the rest of the problem doesn't make sense without it. So we find the roots for
OK, now to part (a). By (3.2.27), p. 62,
For part (b), the difference equation from (3.2.19), p. 60 is
Of course, you may not have had so much patience computing all those fractions. It's easy enough to write a little program to do it. Here is my Splus program, which I wrote to generate the plots on the AR(2) web page (here). Anyway, I also wrote some Matlab code toddo it:
» phi1=1; » phi2=-.5; » rho=[1 2/3 ]; » for k=2:15 rhok=phi1*rho(k)+phi2*rho(k-1); rho=[rho rhok]; end » plot(0:15,rho,'o') » hold on » plot([0 15] , [0 0], 'r') » for i=0:15 plot([i i],[0 rho(i+1)]) end » xlabel('Lag') » ylabel('rho') » title('Plot of ACF for Ex. 3.6')The plot is shown below.
From this I would estimate the period at 8.
The first time the ACF is negative is at lag 3,
then positive at lag 7, then negative again
at lag 11 (8 units after lag 3).
For the damping factor, let's look at
the peak values (where the damped cosine
wave has a cosine factor of about 1).
We see at lag 4 a negative peak of -1/4,
then at lag 8 a positive peak of 1/16, then
at lag 12 a negative peak of -1/64. So,
it looks like is damped by a factor
of 1/4 in 4 lags, so the damping factor
should be about (1/4)1/4 =
.
OK, let's see how it squares with the computation. We know the ACF is of the form