Description Usage Arguments Value Note Author(s) References See Also Examples
The Ljung-Box portmanteau p-value is plotted vs lag.
1 |
res |
residuals |
lag.max |
maximum lag |
StartLag |
starting lag |
k |
number of AR parameters fit |
SquaredQ |
default, SquaredQ = FALSE, regular autocorrelations. If SquaredQ = TRUE use autocorrelations of squared residuals. |
Plot is produced as a side-effect. No output
This function is normally invoked when plot.FitAR is used.
A.I. McLeod and Y. Zhang
Ljung, G.M. and Box, G.E.P. (1978) On a measure of lack of fit in time series models. Biometrika 65, 297-303.
McLeod, A.I. and Zhang, Y. (2006). Partial autocorrelation parameterization for subset autoregression. Journal of Time Series Analysis, 27, 599-612.
1 2 3 4 5 6 |
Loading required package: lattice
Loading required package: leaps
Loading required package: ltsa
Loading required package: bestglm
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.