平成 26 年度
計量経済学特別講義 時系列分析入門
2
月6
日(金)13:00 – 14:30
入門時系列モデル14:45 – 16:15 VAR (vector Auto Regression)
モデル分析2
月13
日(金)14:45 – 16:15
単位根・共和分析16:30 – 18:00 Volatility Models (
セミナー)
場所: 経済研究所 第一共同研究室 (経済研究所 本館 4
F
)代表的テキスト:
・
J.D. Hamilton (1994) Time Series Analysis
沖本・井上訳(2006)
『時系列解析(
上・下)
』・
A.C. Harvey (1981) Time Series Models
国友・山本訳(1985)
『時系列モデル入門』・沖本竜義
(2010)
『経済・ファイナンスデータの計量時系列分析』1 Time Series Analysis (
時系列分析)
1.1 Introduction
1. Stationarity (
定常性) :
Let y
1, y
2, · · · , y
Tbe time series data.
(a) Weak Stationarity (
弱定常性) : E(y
t) = µ,
E((y
t− µ )(y
t−τ− µ )) = γ ( τ ) , τ = 0 , 1 , 2 , · · · The first moment does not depend on time.
The second moment depends only on time di ff erence.
(b) Strong Stationarity (
強定常性) :
Let f (y
t1, y
t2, · · · , y
tr) be the joint distribution of y
t1, y
t2, · · · , y
tr. f (y
t1, y
t2, · · · , y
tr) = f (y
t1+τ, y
t2+τ, · · · , y
tr+τ) All the moments are same for all τ .
2. Auto-covariance Function (
自己共分散関数) :
E((y
t− µ )(y
t−τ− µ )) = γ ( τ ) , τ = 0 , 1 , 2 , · · · γ ( τ ) = γ ( −τ )
3. Auto-correlation Function (
自己相関関数) : ρ ( τ ) = E((y
t− µ )(y
t−τ− µ ))
√ Var(y
t) √
Var(y
t−τ) = γ ( τ ) γ (0)
Note that Var(y
t) = Var(y
t−τ) = γ (0) in the case of stationary process.
4. Partial Autocorrelation Coe ffi cient (
偏自己相関係数), φ
k,k:
The partial autocorrelation coe ffi cient between y
tand y
t−k, denoted by φ
k,k, is a measure of strength of the relationship between y
tand y
t−k, after removing influence of y
t−1, · · · , y
t−k+1.
φ
1,1= ρ (1)
( 1 ρ (1)
ρ (1) 1
) ( φ
2,1φ
2,2)
= ( ρ (1)
ρ (2) )
1 ρ (1) ρ (2) ρ (1) 1 ρ (1) ρ (2) ρ (1) 1
φ
3,1φ
3,2φ
3,3
=
ρ (1) ρ (2) ρ (3)
...
1 ρ (1) · · · ρ (k − 2) ρ (k − 1) ρ (1) 1 ρ (k − 3) ρ (k − 2)
... ... ... ...
ρ (k − 1) ρ (k − 2) · · · ρ (1) 1
φ
k,1φ
k,2...
φ
k,k
=
ρ (1) ρ (2)
...
ρ (k)
Use Cramer’s rule (
クラメールの公式) to obtain φ
k,k.
φ
k,k=
1 ρ (1) · · · ρ (k − 2) ρ (1) ρ (1) 1 ρ (k − 3) ρ (2)
... ... ... ...
ρ (k − 1) ρ (k − 2) · · · ρ (1) ρ (k)
1 ρ (1) · · · ρ (k − 2) ρ (k − 1) ρ (1) 1 ρ (k − 3) ρ (k − 2)
... ... ... ...
ρ (k − 1) ρ (k − 2) · · · ρ (1) 1
5. Sample Mean (
標本平均) :
µ ˆ = 1 T
∑
Tt=1
y
t6. Sample Auto-covariance (
標本自己共分散) : γ ˆ ( τ ) = 1
T
∑
Tt=τ+1
(y
t− µ ˆ )(y
t−τ− µ ˆ )
7. Correlogram (
コレログラム, or
標本自己相関関数) : ρ ˆ ( τ ) = γ ˆ ( τ )
γ ˆ (0) 8. Lag Operator (
ラグ作要素) :
L
τy
t= y
t−τ, τ = 1 , 2 , · · ·
9. Likelihood Function (
尤度関数) — Innovation Form : The joint distribution of y
1, y
2, · · · , y
Tis written as:
f (y
1, , y
2, · · · , y
T) = f (y
T| y
T−1, · · · , y
1) f (y
T−1, · · · , y
1)
= f (y
T| y
T−1, · · · , y
1) f (y
T−1| y
T−2, · · · , y
1) f (y
T−2, · · · , y
1) ...
= f (y
T| y
T−1, · · · , y
1) f (y
T−1| y
T−2, · · · , y
1) · · · f (y
2| y
1) f (y
1)
= f (y
1)
∏
Tt=2
f (y
t| y
t−1, · · · , y
1) . Therefore, the log-likelihood function is given by:
log f (y
1, y
2, · · · , y
T) = log f (y
1) +
∑
Tt=2
log f (y
t| y
t−1, · · · , y
1) .
Under linear model with normality assumption, f (y
t| y
t−1, · · · , y
1) is given by the
normal distribution with mean E(y
t| y
t−1, · · · , y
1) and variance Var(y
t| y
t−1, · · · , y
1).
1.2 Time Series Models (
時系列モデル)
Autoregressive Model (
自己回帰モデルor AR
モデル): AR(p) y
t= φ
1y
t−1+ φ
2y
t−2+ · · · + φ
py
t−p+
tMoving Average Model (
移動平均モデルor MA
モデル): MA(q) y
t=
t+ θ
1t−1+ θ
2t−2+ · · · + θ
qt−qARMA Model: ARMA(p , q)
y
t= φ
1y
t−1+ φ
2y
t−2+ · · · + φ
py
t−p+
t+ θ
1t−1+ θ
2t−2+ · · · + θ
qt−qARIMA Model: ARIMA(p , d , q)
∆ y
t= y
t− y
t−1= (1 − L)y
t,
∆
2y
t= ∆ y
t− ∆ y
t−1= (1 − L)
2y
t, ...
∆
dy
t= (1 − L)
dy
t.
∆
dy
t∼ ARMA(p , q) ⇐⇒ y
t∼ ARIMA(p , d , q)
∆
dy
t= φ
1∆
dy
t−1+ φ
2∆
dy
t−2+ · · · + φ
p∆
dy
t−p+
t+ θ
1t−1+ θ
2t−2+ · · · + θ
qt−qSARIMA Model: SARIMA(p , d , q)
∆
sy
t= y
t− y
t−s, s = 4 for quarterly data, and s = 12 for monthly data
∆
s∆
dy
t∼ ARMA(p , q) ⇐⇒ ∆
sy
t∼ ARIMA(p , d , q)
∆
s∆
dy
t= φ
1∆
s∆
dy
t−1+ φ
2∆
s∆
dy
t−2+ · · · + φ
p∆
s∆
dy
t−p+
t+ θ
1t−1+θ
2t−2+ · · · +θ
qt−q1.3 Autoregressive Model (
自己回帰モデルor AR
モデル)
1. AR( p) Model :
y
t= φ
1y
t−1+ φ
2y
t−2+ · · · + φ
py
t−p+
t, which is rewritten as:
φ (L)y
t=
t, where
φ (L) = 1 − φ
1L − φ
2L
2− · · · − φ
pL
p. 2. Stationarity (
定常性) :
Suppose that all the p solutions of x from φ (x) = 0 are real numbers
When the p solutions are greater than one in absolute value, y
tis stationary.
Suppose that the p solutions include imaginary numbers.
When the p solutions are outside unit circle, y
tis stationary.
Example: AR(1) Model: y
t= φ
1y
t−1+
tfor
t∼ iid N(0 , σ
2)
1. The stationarity condition is: the solution of φ (x) = 1 − φ
1x = 0, i.e., x = 1 /φ
1, is greater than one in absolute value, or equivalently, |φ
1| < 1.
2. Rewriting the AR(1) model, y
t= φ
1y
t−1+
t= φ
21y
t−2+
t+ φ
1t−1= φ
31y
t−3+
t+ φ
1t−1+ φ
21t−2...
= φ
τ1y
t−τ+
t+ φ
1t−1+ · · · + φ
τ−11 t−τ+1.
As τ goes to infinity, φ
τ1approaches zero. = ⇒ Stationarity condition 3. For stationarity, y
t= φ
1y
t−1+
tis rewritten as:
y
t=
t+ φ
1t−1+ φ
21t−2+ · · · MA representation of AR model, i.e., AR(1) = MA( ∞ ) 4. Mean of AR(1) process, µ
µ = E(y
t) = E(
t+ φ
1t−1+ φ
21t−2+ · · · )
= E(
t) + φ
1E(
t−1) + φ
21E(
t−2) + · · · = 0 5. Variance of AR(1) process, γ (0)
γ (0) = V(y
t) = V(
t+ φ
1t−1+ φ
21t−2+ · · · )
= + φ + φ + · · ·
= V(
t) + φ
21V(
t−1) + φ
41V(
t−2) + · · ·
= σ
2(1 + φ
21+ φ
41+ · · · ) = σ
21 − φ
21Note that V(aX + b) = a
2V(X) and V(X + Y) = V(X) + V(Y) when two random variables X and Y are independent.
6. Autocovariance and autocorrelation functions of the AR(1) process:
Rewriting the AR(1) process, we have:
y
t= φ
τ1y
t−τ+
t+ φ
1t−1+ · · · + φ
τ−1 1t−τ+1.
Therefore, for τ = 1 , 2 , · · · , the autocovariance function of AR(1) process is:
γ ( τ ) = E((y
t− µ )(y
t−τ− µ )) = E(y
ty
t−τ)
= E (
( φ
τ1y
t−τ+
t+ φ
1t−1+ · · · + φ
τ−1 1t−τ+1)y
t−τ)
= φ
τ1E(y
t−τy
t−τ) + E(
ty
t−τ) + φ
1E(
t−1y
t−τ) + · · · + φ
τ−1 1E(
t−τ+1y
t−τ)
= φ
τ1γ (0) .
The autocorrelation function of AR(1) process is:
ρ ( τ ) = γ ( τ ) γ (0) = φ
τ1.
Or, multiply y
t−τon both sides of the AR(1) process and take the expectation:
E(y
ty
t−τ) = φ
1E(y
t−1y
t−τ) + E(
ty
t−τ) γ ( τ ) =
φ
1γ ( τ − 1) , for τ , 0,
φ
1γ ( τ − 1) + σ
2, for τ = 0.
Using γ ( τ ) = γ ( −τ ), γ ( τ ) for τ = 0 is given by:
γ = φ γ + σ = φ γ + σ .
Note that γ (1) = φ
1γ (0). Therefore, γ (0) is given by: γ (0) = σ
21 − φ
217. Partial autocorrelation function of AR(1) process:
φ
1,1= ρ (1) = φ
1φ
2,2=
1 ρ (1)
ρ (1) ρ (2)
1 ρ (1)
ρ (1) 1
= ρ (2) − ρ (1)
21 − ρ (1)
2= 0
8. Estimation of AR(1) model:
(a) Likelihood function
log f (y
T, · · · , y
1) = log f (y
1) +
∑
Tt=1
log f (y
t| y
t−1, · · · , y
1)
= − 1
2 log(2 π ) − 1 2 log
( σ
21 − φ
21)
− 1
σ
2/ (1 − φ
21) y
21− T − 1
2 log(2 π ) − T − 1
2 log( σ
2) − 1 σ
2∑
Tt=2
(y
t− φ
1y
t−1)
2= − T
2 log(2 π ) − T
2 log( σ
2) − 1 2 log
( 1
1 − φ
21)
− 1
2 σ
2/ (1 − φ
21) y
21− 1 2 σ
2∑
Tt=2
(y
t− φ
1y
t−1)
2Note as follows:
f (y
1) = 1
√
2 πσ
2/ (1 − φ
21) exp
(
− 1
2 σ
2/ (1 − φ
21) y
21)
f (y
t| y
t−1, · · · , y
1) = 1
√ 2 πσ
2exp (
− 1
2 σ
2(y
t− φ
1y
t−1)
2)
∂ log f (y
T, · · · , y
1)
∂σ
2= − T 2
1
σ
2+ 1
2 σ
4/ (1 − φ
21) y
21+ 1 2 σ
4∑
Tt=2
(y
t− φ
1y
t−1)
2= 0
∂ log f (y
T, · · · , y
1)
∂φ
1= − φ
11 − φ
21+ φ
1σ
2y
21+ 1 σ
2∑
Tt=2
(y
t− φ
1y
t−1)y
t−1= 0 The MLE of φ
1and σ
2satisfies the above two equation.
σ ˜
2= 1 T
(1 − φ ˜
21)y
21+
∑
Tt=2
(y
t− φ ˜
1y
t−1)
2
φ ˜
1=
∑
Tt=2
y
ty
t−1∑
Tt=2
y
2t−1+ (
φ ˜
1y
21− σ ˜
2φ ˜
11 − φ ˜
21) / ∑
Tt=2
y
2t−1(b) Ordinary Least Squares (OLS) Method S ( φ
1) =
∑
Tt=2
(y
t− φ
1y
t−1)
2is minimized with respect to φ
1.
φ ˆ
1=
∑
Tt=2
y
t−1y
t∑
Tt=2
y
2t−1= φ
1+
∑
Tt=2
y
t−1t∑
Tt=2
y
2t−1= φ
1+ (1 / T ) ∑
Tt=2
y
t−1t(1 / T ) ∑
T t=2y
2t−1−→ φ
1+ E(y
t−1t) E(y
2t−1) = φ
1OLSE of φ
1is a consistent estimator.
The following equations are utilized.
E(y
t−1t) = 0
E(y
2t−1) = Var(y
t−1) = γ (0)
9. Some formulas:
(a) Central Limit Theorem
Random variables x
1, x
2, · · · , x
Tare mutually independently distributed with mean µ and variance σ
2. Define x = (1 / T ) ∑
Tt=1
x
t. Then,
x − E(x)
√ V(x) = x − µ
σ/ √
T −→ N(0 , 1) (b) Central Limit Theorem II
Random variables x
1, x
2, · · · , x
Tare distributed with mean µ and variance σ
2. Define x = (1 / T ) ∑
Tt=1
x
t. Then,
x − E(x)
√ V(x) −→ N(0 , 1)
(c) Let x and y be random variables.
y converges in distribution to a distribution, and x converges in probability to a fixed value. Then, xy converges in distribution.
For example, consider: y −→ N( µ, σ
2) and x −→ c.
Then, we obtain: xy −→ N(c µ, c
2σ
2).
10. Asymptotic distribution of OLSE ˆ φ
1=
∑
Tt=2
y
t−1y
t∑
Tt=2
y
2t−1= φ
1+ (1 / T ) ∑
Tt=2
y
t−1t(1 / T ) ∑
Tt=2
y
2t−1:
√ T ( ˆ φ
1− φ
1) −→ N(0 , 1 − φ
21)
Proof:
y
t−1tis distributed with mean E(y
t−1t) = 0 and variance V(y
t−1t) = V(y
t−1)V(
t) = σ
2γ (0) = σ
41 − φ
21.
y
t−1t, t = 1 , 2 , · · · , T , are iid, because Cov(y
t−1t, y
s−1s) = E(y
t−1y
s−1ts) = 0 for t > s.
From the central limit theorem, (1 / T ) ∑
Tt=1
y
t−1t− E((1 / T ) ∑
Tt=1
y
t−1t)
√
V((1 / T ) ∑
Tt=1
y
t−1t)
= (1 / T ) ∑
Tt=1
y
t−1t√ σ
4/ (1 − φ
21) / √ T
−→ N(0 , 1) .
Rewriting,
√ 1 T
∑
Tt=1
y
t−1t−→ N(0 , σ
41 − φ
21) . Next,
1 T
∑
Tt=1
y
2t−1−→ E(y
2t−1) = γ (0) = σ
21 − φ
21yields:
√ T ( ˆ φ
1− φ
1) = (1 / √ T ) ∑
Tt=1
y
t−1t(1 / T ) ∑
Tt=1
y
2t−1−→ N(0 , 1 − φ
21) .
11. AR(1) + drift: y
t= µ + φ
1y
t−1+
tMean:
Using the lag operator,
φ (L)y
t= µ +
twhere φ (L) = 1 − φ
1L.
Multiply φ (L)
−1on both sides. Then, when |φ
1| < 1, we have:
y
t= φ (L)
−1µ + φ (L)
−1t. Taking the expectation on both sides,
E(y
t) = φ (L)
−1µ + φ (L)
−1E(
t)
= φ (1)
−1µ = µ
1 − φ
1Example: AR(2) Model: Consider y
t= φ
1y
t−1+ φ
2y
t−2+
t.
1. The stationarity condition is: two solutions of x from φ (x) = 1 − φ
1x − φ
2x
2= 0 are outside the unit circle.
2. Rewriting the AR(2) model,
(1 − φ
1L − φ
2L
2)y
t=
t. Let 1 /α
1and 1 /α
2be the solutions of φ (x) = 0.
Then, the AR(2) model is written as:
(1 − α
1L)(1 − α
2L)y
t=
t, which is rewritten as:
y
t= 1
(1 − α
1L)(1 − α
2L)
t=
( α
1/ ( α
1− α
2)
1 − α
1L + −α
2/ ( α
1− α
2) 1 − α
2L
)
t3. Mean of AR(2) Model:
When y
tis stationary, i.e., α
1and α
2are outside the unit circle, µ = E(y
t) = E( φ (L)
t) = 0
4. Autocovariance Function of AR(2) Model:
γ ( τ ) = E((y
t− µ )(y
t−τ− µ )) = E(y
ty
t−τ)
= E (
( φ
1y
t−1+ φ
2y
t−2+
t)y
t−τ)
= φ
1E(y
t−1y
t−τ) + φ
2E(y
t−2y
t−τ) + E(
ty
t−τ)
=
φ
1γ ( τ − 1) + φ
2γ ( τ − 2) , for τ , 0,
φ γ τ − + φ γ τ − + σ , τ =
The initial condition is obtained by solving the following three equations:
γ (0) = φ
1γ (1) + φ
2γ (2) + σ
2, γ (1) = φ
1γ (0) + φ
2γ (1) , γ (2) = φ
1γ (1) + φ
2γ (0) . Therefore, the initial conditions are given by:
γ (0) =
( 1 − φ
21 + φ
2) σ
2(1 − φ
2)
2− φ
21, γ (1) = φ
11 − φ
2γ (0) =
( φ
11 − φ
2) ( 1 − φ
21 + φ
2) σ
2(1 − φ
2)
2− φ
21. Given γ (0) and γ (1), we obtain γ ( τ ) as follows:
γ ( τ ) = φ
1γ ( τ − 1) + φ
2γ ( τ − 2) , for τ = 2 , 3 , · · · .
5. Another solution for γ (0):
From γ (0) = φ
1γ (1) + φ
2γ (2) + σ
2,
γ (0) = σ
21 − φ
1ρ (1) − φ
2ρ (2) where
ρ (1) = φ
11 − φ
2, ρ (2) = φ
1ρ (1) + φ
2= φ
21+ (1 − φ
2) φ
21 − φ
2.
6. Autocorrelation Function of AR(2) Model:
Given ρ (1) and ρ (2),
ρ ( τ ) = φ
1ρ ( τ − 1) + φ
2ρ ( τ − 2) , for τ = 3 , 4 , · · · ,
7. φ
k,k= Partial Autocorrelation Coe ffi cient of AR(2) Process:
1 ρ (1) · · · ρ (k − 2) ρ (k − 1) ρ (1) 1 ρ (k − 3) ρ (k − 2)
... ... ... ...
ρ (k − 1) ρ (k − 2) · · · ρ (1) 1
φ
k,1φ
k,2...
φ
k,k−1φ
k,k
=
ρ (1) ρ (2)
...
ρ (k)
,
for k = 1 , 2 , · · · .
φ
k,k=
1 ρ (1) · · · ρ (k − 2) ρ (1) ρ (1) 1 ρ (k − 3) ρ (2)
... ... ... ...
ρ (k − 1) ρ (k − 2) · · · ρ (1) ρ (k)
1 ρ (1) · · · ρ (k − 2) ρ (k − 1) ρ (1) 1 ρ (k − 3) ρ (k − 2)
... ... ... ...
ρ (k − 1) ρ (k − 2) · · · ρ (1) 1
Autocovariance Functions:
γ (1) = φ
1γ (0) + φ
2γ (1) , γ (2) = φ
1γ (1) + φ
2γ (0) ,
γ ( τ ) = φ
1γ ( τ − 1) + φ
2γ ( τ − 2) , for τ = 3 , 4 , · · · . Autocorrelation Functions:
ρ (1) = φ
1+ φ
2ρ (1) = φ
11 − φ
2, ρ (2) = φ
1ρ (1) + φ
2= φ
211 − φ
2+ φ
2,
ρ ( τ ) = φ
1ρ ( τ − 1) + φ
2ρ ( τ − 2) , for τ = 3 , 4 , · · · .
φ
1,1= ρ (1) = φ
11 − φ
2φ
2,2=
1 ρ (1)
ρ (1) ρ (2)
1 ρ (1)
ρ (1) 1
= ρ (2) − ρ (1)
21 − ρ (1)
2= φ
2φ
3,3=
1 ρ (1) ρ (1) ρ (1) 1 ρ (2) ρ (2) ρ (1) ρ (3)
1 ρ (1) ρ (2) ρ (1) 1 ρ (1) ρ (2) ρ (1) 1
= ( ρ (3) − ρ (1) ρ (2)) − ρ (1)
2( ρ (3) − ρ (1)) + ρ (2) ρ (1)( ρ (2) − 1) (1 − ρ (1)
2) − ρ (1)
2(1 − ρ (2)) + ρ (2)( ρ (1)
2− ρ (2)) = 0 . 8. Log-Likelihood Function — Innovation Form:
log f (y
T, · · · , y
1) = log f (y
2, y
1) +
∑
Tt=3
log f (y
t| y
t−1, · · · , y
1) where
f (y
2, y
1) = 1 2 π
γ (0) γ (1)
γ (1) γ (0)
−1/2
exp
− 1 2 (y
1y
2)
( γ (0) γ (1)
γ (1) γ (0)
)
−1( y
1y
2) , f (y
t| y
t−1, · · · , y
1) = 1
√ 2 πσ
2exp (
− 1
2 σ
2(y
t− φ
1y
t−1− φ
2y
t−2)
2)
. Note as follows:
( γ (0) γ (1)
γ (1) γ (0) )
= γ (0)
( 1 ρ (1)
ρ (1) 1 )
= γ (0)
( 1 φ
1/ (1 − φ
2)
φ
1/ (1 − φ
2) 1 )
.
9. AR(2) + drift: y
t= µ + φ
1y
t−1+ φ
2y
t−2+
tMean:
Rewriting the AR(2) + drift model,
φ (L)y
t= µ +
twhere φ (L) = 1 − φ
1L − φ
2L
2.
Under the stationarity assumption, we can rewrite the AR(2) + drift model as follows:
y
t= φ (L)
−1µ + φ (L)
−1t. Therefore,
E(y
t) = φ (L)
−1µ + φ (L)
−1E(
t) = φ (1)
−1µ = µ
1 − φ
1− φ
2Example: AR(p) model: Consider y
t= φ
1y
t−1+ φ
2y
t−2+ · · · + φ
py
t−p+
t. 1. Variance of AR(p) Process:
Under the stationarity condition (i.e., the p solutions of x from φ (x) = 0 are outside the unit circle),
γ (0) = σ
21 − φ
1ρ (1) − · · · − φ
pρ (p) . Note that γ ( τ ) = ρ ( τ ) γ (0).
Solve the following simultaneous equations for τ = 0 , 1 , · · · , p:
γ ( τ ) = E((y
t− µ )(y
t−τ− µ )) = E(y
ty
t−τ)
=
φ
1γ ( τ − 1) + φ
2γ ( τ − 2) + · · · + φ
pγ ( τ − p) , for τ , 0,
φ
1γ ( τ − 1) + φ
2γ ( τ − 2) + · · · + φ
pγ ( τ − p) + σ
2, for τ = 0.
2. Estimation of AR(p) Model:
1. OLS:
min
φ1,· · ·, φp
∑
Tt=p+1
(y
t− φ
1y
t−1− φ
2y
t−2− · · · − φ
py
t−p)
22. MLE:
max
φ1,· · ·, φp
log f (y
T, · · · , y
1) where
log f (y
T, · · · , y
1) = log f (y
p, · · · , y
2, y
1) +
∑
Tt=p+1
log f (y
t| y
t−1, · · · , y
1) ,
f (y
p, · · · , y
2, y
1) = (2 π )
−p/2| V |
−1/2exp
− 1
2 (y
1y
2· · · y
p)V
−1
y
1y
2...
V = γ (0)
1 ρ (1) · · · ρ (p − 2) ρ (p − 1) ρ (1) 1 ρ (p − 3) ρ (p − 2)
... ... ... ...
ρ (p − 1) ρ (p − 2) · · · ρ (1) 1
f (y
t| y
t−1, · · · , y
1) = 1
√ 2 πσ
2exp (
− 1
2 σ
2(y
t− φ
1y
t−1− φ
2y
t−2− · · · − φ
py
t−p)
2)
3. Yule = Walker (
ユール・ウォーカー) Equation:
Multiply y
t−1, y
t−2, · · · , y
t−pon both sides of y
t= φ
1y
t−1+ φ
2y
t−2+ · · · + φ
py
t−p+
t= y
t, take expectations for each case, and divide by variance γ (0).
Moreover, replace the autocorrelation function ρ ( τ ) by the correlogram ˆ ρ ( τ ).
1 ρ ˆ (1) · · · ρ ˆ (p − 2) ρ ˆ (p − 1) ρ ˆ (1) 1 ρ ˆ (p − 3) ρ ˆ (p − 2)
... ... ... ...
ρ ˆ (p − 1) ρ ˆ (p − 2) · · · ρ ˆ (1) 1
φ
1φ
2...
φ
p−1φ
p
=
ρ ˆ (1) ρ ˆ (2)
...
ρ ˆ (p)
where
γ ˆ ( τ ) = 1 T
∑
Tt=τ+1
(y
t− µ ˆ )(y
t−τ− µ ˆ ) , µ ˆ = 1 T
∑
Tt=1