powered by
Function cusum
cusum(e, k, n)
is the recursive errors
is the estimated coefficients length
is the recursive errors length
# NOT RUN { reg<-nardl(food~inf,fod,ic="aic",maxlag = 4,graph = TRUE,case=3) e<-reg$rece k<-reg$k n<-reg$n cusum(e=e,k=k,n=n) # }
Run the code above in your browser using DataLab