Learn R Programming

FGN (version 2.0-12)

plot.FitFGN: Plot Method for "FitFGN" Object

Description

Diagnostic plots of the residual autocorrelations and Ljung-Box test.

Usage

"plot"(x, maxLag=30, ...)

Arguments

x
object of class "FitFGN"
maxLag
maximum lag in residual acf plot
...
optional arguments

Value

No value is returned. A plots are produced as side-effect. The plot is a two-panel disply showing the residual autocorrelations and the p-values for the Ljung-Box test.

Details

The top plot shows the residual autocorrelations and their 5% signficance limits. The bottom plot shows the p-values of the Ljung-Box test for various lags.

References

Ljung, G.M., Box, G.E.P. (1978). On a Measure of Lack of Fit in Time Series Models. Biometrika 65, 297-303.

McLeod, A.I., Yu, Hao, Krougly, Zinovi L. (2007). Algorithms for Linear Time Series Analysis, Journal of Statistical Software.

See Also

summary.FitFGN, FitFGN

Examples

Run this code
data(NileMin)
obj<-FitFGN(NileMin, c(1,2,6,7))
plot(obj)

Run the code above in your browser using DataLab