VAR.select(x, type = "const", ic = "aic", pmax)
data(dat) #replicating Section 4.3.1 of Lutkepohl (2005) VAR.select(dat,pmax=4,ic="aic")
Run the code above in your browser using DataLab