plot.CADFtest: Function to plot CADFtest objects

Description Usage Arguments Author(s) Examples

View source: R/plot.CADFtest.R

Description

This function conveniently plots the residuals of the Covariate Augmented Dickey-Fuller or the standard Augmented Dickey-Fuller regression carried out in CADFtest.

Usage

1
2
  ## S3 method for class 'CADFtest'
plot(x, plots=(1:4), ...)

Arguments

x

an object belonging to the class CADFtest.

plots

the plots to be produced (all the four plots by default): 1: standardized residuals plot; 2: density of the residuals, with an indication of the p-value of the Jarque-Bera test for normality; 3: ACF of the residuals; 4: partial ACF of the residuals.

...

currently not used.

Author(s)

Claudio Lupi

Examples

1
2
3
  data(npext, package="urca")
  ADFt <- CADFtest(npext$realgnp, type="trend")
  plot(ADFt, plots=c(3,4)) 

CADFtest documentation built on May 19, 2017, 8:45 p.m.

Search within the CADFtest package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.

Please suggest features or report bugs in the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.