Learn R Programming

mleur (version 1.0-6)

mleurDiag: Diagnostic checks for mleur test

Description

Test for autocorrelation for mleur test

Usage

mleurDiag(y, lag.max = "default")

Arguments

y
time series
lag.max
maximum lag for test. Default setting is "default".

Value

Details

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.

See Also

mleur

Examples

Run this code
z <- rnorm(100)
mleurDiag(z)

Run the code above in your browser using DataLab