plot.CADFtest {CADFtest}R Documentation

Function to plot CADFtest objects

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

  ## 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

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

[Package CADFtest version 0.3-3 Index]