Professional Documents
Culture Documents
ANAR MASIMOV
VILNIUS UNIVERSITY
against
(
0 Σ, t = p + 1, ..., h
H1 : ∃h : E [et et ] = , where Σ 6= Σ̃
Σ̃, t = h + 1, ..., T
h 0 T 0
h et Σ−1 et et Σ−1 et
X X
Ch = √ −
2Tk t=p+1
t t=p+1
T
T
Asymptotic distribution of Cmax is sup |W0t |, which allows to
compute critical values in the following way
∞
" #
X
P |Cmax | ≤ x = 1 + 2 exp(−2i 2 x 2 )
i=1
T 0
et et
| |
P
T
t=p+1
LRh = T log h 0 T 0
et et h et et 1− h
| |T | T −h |
P P
T
t
t=1 t=t+1
N h 0 N 0
0
b −1 ebt − b −1 eb b −1 eb
X X X
Λh = ebt Σ eb
¯t Σ ¯t − eb
˜t Σ ˜t ,
t=p+1 t=p+1 t=h+1
where eb
¯t and eb
˜t are estimated error terms of VAR(p) model fitted
on yp+1 ...yh and yh+1 ...yN respectively.
Darling-Erdös-type test
0
h−p
Λ∗ b eb̄t eb̄t − In ]2 ,
h = Λh + κ−k 2
b
(tr (Σ h−p
Λmax = max Λh
p+1≤h≤T
## Number of parameters: 6
## initial estimates: 0.0327 0.0868 0.1742 0.3198 -0.6351
## Par. lower-bounds: -0.2227 -0.0349 0.0778 0.2378 -0.681
## Par. upper-bounds: 0.2882 0.2084 0.2706 0.4018 -0.5892
## Final Estimates: 0.03923484
ANAR MASIMOV 0.08684836
Change detection 0.1748575
in the variance-covariance 0.31
matrix in the VAR
statcomp
## List of 2
## $ values: Named num [1:380] -0.266 -0.314 -0.31 -0.233
## ..- attr(*, "names")= chr [1:380] "11" "12" "13" "14"
## $ type : chr "CUSUM"
## - attr(*, "class")= chr "VARCD"
−1
−2
−3
ANAR MASIMOV Time index detection in the variance-covariance matrix in the VAR
Change
PLOT 2/3
plot(LRT, a = 0.01)
LRT statistic
40
30
Statistic value
20
10
0
ANAR MASIMOV Time index detection in the variance-covariance matrix in the VAR
Change
PLOT 3/3
plot(DET, a = 0.01)
Darling−Erdös−type test statisic
10
5
Statistic value
0
−5
ANAR MASIMOV Time index detection in the variance-covariance matrix in the VAR
Change
changetest
changetest(CUSUM)
##
## CUSUM test
##
## data: CUSUM
## Estimated change point = 201, p-value = 8.643e-09
## sample estimates:
## C(h)
## 3.103198