powered by
het.test
vars
methods
whites.htest()
library(vars) dataset <- data.frame(x=rnorm(100), y=rnorm(100)) model1 <- VAR(dataset, p = 1) whites.htest(model1)
Run the code above in your browser using DataLab