powered by
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)
numeric vector
positive integer number of lags
logical: If TRUE, remove the mean before computing the test statistic.
# NOT RUN { reg<-nardl(food~inf,fod,ic="aic",maxlag = 4,graph = TRUE,case=3) x<-reg$selresidu nlag<-reg$nl ArchTest(x,lags=nlag) # }
Run the code above in your browser using DataLab