I am trying to fit a subset model with only lag 4. In the manual it's written "you must use
p=4 will fit a full
I did this.
#fit a subset model with just lag 4 Fit=FitAR(p=c(0,0,0,4), lag.max = "default", ARModel = "ARz")
However, I get the following error message:
Error: p > 0 are not all TRUE