Test for autocorrelation for mleur test
mleurDiag(y, lag.max = "default")
maximum lag for test. Default setting is "default".
Box-and-Whisker plot of residuals from fitted AR(1) plotted along with the p-value for the Wilk-Shairo test. The test in the package fBasics is used. The p-values of the Box-Ljung portmanteau test are plotted as well as the residual autocorrelations.
The residuals are returned invisibly.
A. I. McLeod