I have cross-validation with applying the VAR model that has the code below:
enter code here
*mae1 <- mae2 <- mae3 <