Академический Документы
Профессиональный Документы
Культура Документы
Ashis Gangopadhyay
Boston University
Spring 2016
Denition
Let et be WN (0, 2 ). A process Xt is called a linear process if it can be
represented as
Xt = + et + 1 et 1 + 2 et 2 + ....
= + j et j
j =0
a constant.
2 if k = j + h
E ( et j et + h k) =
0 otherwise
Ashis Gangopadhyay (Boston University) ARMA Models Spring 2016 5 / 49
Stationarity of Linear Process
Thus the autocovariance depends only on h. However, for the process to
be stationary, we need the autocovariance function to be nite for all h.
To see this, note
B k Xt = Xt k
Thus we can express the linear process in terms of the backshift operator
as follows
Xt = + (B )et
where (B ) = j=0 j B j , 0 = 1. Note that backshift operator is also
called a Lag Operator and denoted by L.
Denition
An autoregressive process of order p [denoted by AR (p )] is given by
Remark
Without loss of generality, we can assume that = 0 and rewrite the
AR (p ) process as Xt 1 Xt 1 2 Xt 2 ... p Xt p = et
The process can be expressed in terms of the backshift operator as
(B )Xt = et where (B ) = 1 1 B 2 B 2 .... p B p .
Xt = Xt 1 + et
= (Xt 2 + et 1 ) + et
= 2 Xt 2 + et 1 + et
...................
= et + et 1 + 2 et 2 + ....
Remark
There is an alternative way the relation (1) can be established. This
approach is particularly useful for higher order AR models. First note that
an AR (1) model can be expressed as (1 B )Xt = et . However, our
objective is to write Xt as Xt = (B )et , where (B ) = j=0 j B j ,
0 = 1.
Thus for the two representations of Xt to be equal, we need
(1 B )(B ) = 1
i.e,
(1 B )(1 + 1 B + 2 B 2 + ....) = 1
Solving this identity for j we get j = j , for j = 0, 1, 2, ...
and this process is stationary as j=1 ( 1 )2j < .Thus, we have concluded
that the AR (1) process is stationary as long as 6= 1. Lets think through
this a bit more carefully. Do we really want to consider AR (1) processes
for all 6= 1 for modeling a real time series data?
Ashis Gangopadhyay (Boston University) ARMA Models Spring 2016 12 / 49
Causality of AR process
Denition
An AR (p ) process is called causal if it can be expressed as
Xt = et + 1 et 1 + 2 et 2 + ....
1 B = 0
Xt 1 Xt 1 2 Xt 2 .... p Xt p = et
That is
(1 1 B 2 B 2 .... p B p )Xt = et
Thus the characteristic equation of the AR (p ) process is given by
1 1 B 2 B 2 .... p B p = 0
Fact
An AR (p ) process is causal if all roots of its characteristic equation lie
outside the unit circle.
Example
Consider the AR (2) process given by
Xt 1.1Xt 1 + 0.3Xt 2 = et
1 1.1B + 0.3B 2 = 0
The solutions of the quadratic equation are 1.67 and 2.0. Thus, both
roots lie outside the unit interval. Hence the process is causal.
Example
Consider the AR (2) process
Xt 1.8Xt 1 + 0.81Xt 2 = et
1 1.8B + 0.81B 2 = 0
has solution given by 1.1 with multiplicity 2. Thus the process is causal.
Example
Consider the process
Example
Consider the process
Xt Xt 1 + 0.81Xt 2 = et
1 B + 0.81B 2 = 0
are (0.62 0.93i ); i.e., the roots are complex. However, the complex
modulus of the roots are given by
q
(0.62)2 + (0.93)2 = 1.12 > 1
Thus the roots lie outside the unit circle. Hence the process is causal.
Remark
The condition for causality of AR(2) process can also be expressed in the
following way: An AR(2) process Xt 1 Xt 1 2 Xt 2 = et is causal if
2 + 1 < 1
2 1 < 1
1 < 2 < 1
Example
Is the process Xt Xt 1 + 0.81Xt 2 = et causal? Note that 1 = 1 and
2 = 0.81. Thus 2 + 1 = 0.19 < 1, 2 1 = 1.81 < 1 and
1 < 2 < 1. Thus the process is causal.
Ashis Gangopadhyay (Boston University) ARMA Models Spring 2016 19 / 49
ACF and PACF of Causal AR Process
Lets rst consider the special case of a zero mean AR (1) process
Xt Xt 1 = et and derive the ACF of the process. Recall that the
process is causal if jj < 1. Thus for any h 1, the autocovariance
function of the process is given by
(h) = E (Xt +h Xt )
= E [(Xt +h 1 + et +h )Xt ]
= E (Xt +h 1 Xt ) + E (et +h Xt )
= (h 1)
since et +h is uncorrelated with Xt , for all h 1. Taking advantage of the
recursive relation, we get
(h ) = h (0)
Dividing both sides by (0), we get the ACF of the process
(h) = h , for h 0.
Ashis Gangopadhyay (Boston University) ARMA Models Spring 2016 20 / 49
ACF and PACF of Causal AR Process
Remark
Note that in this approach, we never actually compute the
(0) = Var (Xt ). What is (0) for the AR (1) process?
1 (1) 1
(1) (2) 2
22 = = =0
1 (1) 1
(1) 1 1
In general, we can show
if h = 1
hh =
0 if h 2
Ashis Gangopadhyay (Boston University) ARMA Models Spring 2016 21 / 49
ACF and PACF of AR(1) Process
(h) = E (Xt +h Xt )
= E [(1 Xt +h 1 + 2 Xt +h 2 + et +h )Xt ]
= 1 (h 1) + 2 (h 2)
(h ) 1 (h 1) 2 (h 2) = 0
Dividing both sides by (0), we get
(h ) 1 (h 1) 2 (h 2) = 0
Ashis Gangopadhyay (Boston University) ARMA Models Spring 2016 23 / 49
ACF and PACF of AR(2) Process
Note that if h = 1
(1) 1 (0) 2 ( 1) = 0
or , (1 2 ) (1) = 1
1
0r , (1) =
1 2
(2) = 1 (1) + 2
21 + 2 22
or , (2) =
1 2
Remark
A more e cient approach to derive ACF of an AR(2) process is to solve
the dierence equation. Suppose B1 and B2 be the solutions of the
characteristic equation associated with the AR (2) process. If the two
solutions are distinct, then the general solution of the dierence equation
is given by
(h) = c1 B1 h + c2 B2 h
and if the two solutions are equal, i.e., B1 = B2 = B, i.e., the solution of
the characteristic equation is B with multiplicity 2, then the solution of
the dierence equation is given by
h
( h ) = ( c1 + c2 h ) B
where c1 and c2 are constants that can be evaluated from the initial
2 + 2
conditions (1) = 1 1 and (2) = 1 1 2 2 .
2 2
(2) (1)2
22 =
1 (1)2
21 +2 22 1 2
1 2 1 2
= 2
1
1 1 2
= 2
Ashis Gangopadhyay (Boston University) ARMA Models Spring 2016 26 / 49
ACF and PACF of AR(2) Process
1 (1) (1)
(1) 1 (2)
(2) (1) (3)
33 =
1 (1) (2)
(1) 1 (1)
(2) (1) 1
1 (1) 1 + 2 (1)
(1) 1 1 (1) + 2
(2) (1) 1 (2) + 2 (1)
=
1 (1) (2)
(1) 1 (1)
(2) (1) 1
= 0
Similarly we can show that the PACF of AR (2) process is 0 for all other h..
Ashis Gangopadhyay (Boston University) ARMA Models Spring 2016 27 / 49
ACF and PACF of AR(2) Process
Thus the PACF of an AR (2) process is given by
8
>
< 1 12 for h = 1
hh = for h = 2
>
: 02 for h 3
Remark
To summarize, the ACF of an AR(2) process decays to zero exponentially
or as damped sine wave, while the PACF cuts-o to zero after lag 2.
Denition
A moving average process of order q (denoted by MA(q )) is given by
Xt = + et + 1 et 1 + 2 et 1 + .... + q et q
Denition
A MA(q ) process is called invertible if it can be expressed as an innite
order AR process given by
Xt 1 Xt 1 2 Xt 2 ...... = et
Fact
A MA(q ) process is invertible if all roots of its characteristic equation
1 + 1 B + 2 B 2 + ..... + q B q = 0
Example
Consider the MA(1) process
Xt = et 0.2et 1
1 0.2B = 0
1
is B = 0.2 = 5. Thus jB j > 1; hence the process is invertible.
Example
Consider the MA(2) process
Xt = et + 0.2et 1 1.2et 2
1 + 0.2B 1.2B 2 = 0
Example
Consider the MA(2) process
Xt = et 0.7et 1 + 0.6et 2
1 0.7B + 0.6B 2 = 0
with
p roots 0.58 1.15i. The complex modulus is given by
(0.58)2 + (1.15)2 > 1. Thus the process is invertible.
Example
Consider the MA(2) process
Xt = et + 0.8et 1 0.15et 2
The roots of the characteristic equation are 1.04 and 6.38. Thus the
process is invertible.
Xt = et + et 1
(2) (1)2 2 2 (1 2 )
22 = = =
1 (1)2 1 + 2 + 4 1 6
(1)3 3 (1 2 )
33 = =
1 2 (1)2 1 8
In general, for h 1,
( 1 )h +1 h ( 1 2 )
hh =
1 2 (h +1 )
which decays to zero exponentially. Thus, we have shown that the ACF of
a invertible MA(1) process cuts-o after lag 1, while the PACF decays to
zero exponentially.
Ashis Gangopadhyay (Boston University) ARMA Models Spring 2016 37 / 49
ACF and PACF of Moving Average Process
Remark
Invertibility condition imposes a uniqueness restriction on a MA process.
To understand this, consider the two MA(1) processes given by
Xt = et + 0.4et 1
and
Xt = et + 2.5et 1
0 for h 3
Thus ACF cuts-o after lag 2. A formula for PACF of the process is
di cult to derive. But it can be shown that the PACF decays to zero
exponentially or as a damped sine wave depending on whether the roots of
the characteristic equation is real or complex.
Denition
An autoregressive moving average process of order (p, q ) (denoted by
ARMA(p, q )) is given by
Remark
Note that ARMA(p,q) model can also be expressed in the backshift
operator form as (B )(Xt ) = (B )et , where
(B ) = 1 1 B 2 B 2 .... p B p and
(B ) = 1 + 1 B + 2 B 2 + .... + q B q .
Denition
An ARMA(p, q ) process is causal if the roots of the characteristic equation
1 1 B 2 B 2 .... p B p = 0
1 + 1 B + 2 B 2 + .... + q B q = 0
Remark
An implicit assumption in the denition of ARMA(p, q ) process is that the
characteristic equations (B ) = 0 and (B ) = 0 do not have a common
root. Why is this assumption important? Consider the following ARMA
process Xt + 0.6Xt 1 0.16Xt 2 = et + 0.8et 1 . What is the order of
this ARMA process?
Ashis Gangopadhyay (Boston University) ARMA Models Spring 2016 43 / 49
ACF and PACF of ARMA(1,1) Process
Xt Xt 1 = et + et 1
and derive the ACF of the process. First note that we can express the
process as an innite order MA process given by
Xt = et + 1 et 1 + 2 et 2 + ...
where
j = j 1
( + ) for j = 1, 2, ...
Thus it follows
E (et Xt ) = 2
and
E ( et 1 Xt ) = 1 2
Now, as before
(h) = E (Xt +h Xt )
= E ((Xt +h 1 + et +h + et +h 1 ) Xt )
= (h 1) + E (et +h Xt ) + E (et +h 1 Xt )
Thus, for h = 0
(0) = (1) + (1 + 1 )2 (*)
for h = 1
(1) = (0) + 2 (**)
and for h 2
(h) = (h 1) (***)