Processing math: 100%

Autoregressive Model -- Properties of AR(1) Model

_config.yml Photo by Annie Spratt on Unsplash

An autoregressive (AR) model predicts the future value based on previous values. Before jumping into the math behind AR models, we need to discuss a concept called stationarity.

Stationarity

A time series is stationary if its properties are independent of the times at which the time series is observed. For e.g. the properties of the stationary time series (rt1,,rtk) is identical to that of (rt1+1,,rtk+1) for all t.

More specifically, a time series (r1,r2,,rt) is stationary if

E[rt]=μ

for all t,

Cov(rt,rrl)=γl

which only depends on l.

Autoregressive Models

Now lets get back to AR models. An AR(p) is written as follows

yt=ϕ0+ϕ1yt1+ϕ2yt2+...+ϕpytp+ϵt

where ϵt is white noise with E[ϵt] = 0 and Var[ϵt] = σ2

AR(1) Model

Now lets look at AR(1) model in detail

yt=ϕ0+ϕ1yt1+ϵt

Taking the expectation of this equation

E[yt]=E[ϕ0+ϕ1yt1+ϵt]μ=E[ϕ0]+E[ϕ1yt1]+E[ϵt]=E[ϕ0]+ϕ1E[yt1]+E[ϵt]=ϕ0+ϕ1μ

Solving for μ we get

μ=ϕ01ϕ1

Now, lets take the variance of Eq. 4

Var[yt]=Var[ϕ0+ϕ1yt1+ϵt]=Var[ϕ0]+Var[ϕ1yt1]+Var[ϵt]=ϕ21Var[yt1]+σ2

using the property of stationarity (Var[yt]=Var[yt1])

Var[yt]=σ21phi21

notice that ϕ21 < 1, because varaince needs to finite and is by definition nonnegative.

We can rearrange Eq. 6 to get

ϕ0=(1ϕ1)μ

and rewrite Eq. 4 as

yt=ϕ0+ϕ1yt1+ϵt=(1ϕ1)μ+ϕ1yt1+ϵt

We can rewrite the equation above as

ytμ=ϕ1μ+ϕ1yt1+ϵt=ϕ1(yt1μ)+ϵt

Autocorrelation Fucntion of AR(1) Model

The correlation between two random variable X and Y is defined as

ρx,y=Cov[X,Y]Var[X]Var[Y]=E[(Xμx)(Yμy))]E[(Xμx)2]E[(Yμy)2]

Let

ρl=Cov[yt,ytl]Var[yl]Var[ytl]=γlγ0

where Var[yl]=Var[ytl] because of stationarity and l is the lag.

γl=E[(ytμ)(ytlμ)]=E[ϕ1(yt1μ)(ytlμ)+ϵt(ytlμ)]=ϕ1E[(yt1μ)(ytlμ)]+E[ϵt(ytlμ)]=ϕ1γl1+E[ϵt(ytlμ)]

if l=0

E[ϵt(ytμ)]=E[ϵt((ϕ1(yt1μ)+ϵt))]=E[ϵt(ϕ1(yt1μ)]+E[ϵ2t]=σ2

if l>0

E[ϵt(ytlμ)]=E[ϵt((ϕ1(ytl1μ)+ϵtl))]=0

Therefore,

γl={ϕ1γ1+σ2,    l=0ϕ1γl1,    l>0

and

ρl={1,    l=0ϕ1ρl1,    l>0

For ρ>0, the ACF of a AR(1) series decays exponentially with rate ϕ1. While for a negative ρ, the plot consists of 2 alternating exponential decays with rate ϕ21.

_config.yml

References:

  1. Tsay, Ruey S. Analysis of financial time series, 3rd edition. John wiley & sons, 2010.

Comments