ARCH test
Computes the Lagrange multiplier test for conditional heteroscedasticity of Engle (1982), as described by Tsay (2005, pp. 101-102).
ArchTest(x, lags = 12, demean = FALSE)
x |
numeric vector |
lags |
positive integer number of lags |
demean |
logical: If TRUE, remove the mean before computing the test statistic. |
reg<-nardl(food~inf,fod,ic="aic",maxlag = 4,graph = TRUE,case=3) x<-reg$selresidu nlag<-reg$nl ArchTest(x,lags=nlag)
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.