test | R Documentation |
Test residuals for stationarity and randomness
test(e)
e |
Time series data (typically residuals from |
Plots ACF, PACF, residuals, and QQ. Displays results for Ljung-Box, McLeod-Li, turning point, difference-sign, and rank tests. The plots can be used to check for stationarity and the other tests check for white noise.
None
Resid
M = c("log","season",12,"trend",1) e = Resid(wine,M) test(e) ## Is e stationary? a = arma(e,1,1) ee = Resid(wine,M,a) test(ee) ## Is ee white noise?
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.