kardl_model<-kardl(imf_example_data,
CPI~ER+PPI+asym(ER)+deterministic(covid)+trend,
mode=c(1,2,3,0))
archtest(kardl_model$finalModel$model$residuals,2)
# Summary of ARCH test
summary(archtest(kardl_model$finalModel$model$residuals))
Run the code above in your browser using DataLab