Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
Checking the overall adequacy of a model Diebold et al. (1999) (in the multivariate
case):
The most widely used diagnostics to detect ARCH effectsare probably the
Box�Pierce/Ljung�Box portmanteau tests. Following Hosking (1980), a multivariate
version of the Ljung�Box test statistic:
wntstmvq
mvreg
R STATS
archBootTest combined LM Test for Arch errors in VAR models
Performs the bootstrap combined Lagrange multiplier (LM) test for autoregressive
conditional heteroskedastic (ARCH) errors in vector autoregressive (VAR) models of
Catani and Ahlgren (2016)
VARtests
var.2c <- VAR(Canada, p = 2, type = "const")
arch.test(var.2c)
arch.test(x, lags.single = 16, lags.multi = 5, multivariate.only = TRUE)
h: 4
B: 199
Error distribution: norm
h: 4 B: 199
Q df Asy.PV WB.PV
LM 761.42 144.00 0.0000 0.010 **
HC3 140.13 144.00 0.5756 0.195
---
Signif. codes: 0 �***� 0.001 �**� 0.01 �*� 0.05 �.� 0.1 � � 1
--------------------------------------------------------------
h: 4 B: 199
Q df Asy.PV WB.PV
HC0 151.66 144.00 0.3146 0.195
HC1 151.29 144.00 0.3221 0.195
HC2 145.58 144.00 0.4475 0.210
HC3 140.13 144.00 0.5756 0.230
Q df Asy.PV WB.PV
HC0 151.66 144.00 0.3146 0.215
HC1 151.29 144.00 0.3221 0.215
HC2 145.58 144.00 0.4475 0.200
HC3 140.13 144.00 0.5756 0.175
--------------------------------------------------------------