recursive.arch.multi | R Documentation |
This function computes a sequence of multivariate ARCH tests
recursive.arch.multi(resids, max.lag)
resids |
is a dataframe containing the standardized residuals from a multivariate model |
max.lag |
is the the max lag used to compute the multivariate ARCH test |
This function computes a sequence of multivariate ARCH tests using a modified version of the original arch.multi internal function of the vars package
results is a list with the lag, statistic and p-values
## Not run:
Sigma <- matrix(c(10,3,3,2),2,2)
dat.norm<- MASS::mvrnorm(n = 1000, rep(0, 2), Sigma)
recursive.arch.multi(dat.norm,20)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.