dftest: Dickey-Fuller test

Description Usage Arguments Details Value Author(s) See Also Examples

View source: R/dftest.R

Description

Computes the Dickey-Fuller test using the pivotal test statistic and returns critical points for tests at levels 0.1, 0.05, 0.01.

Usage

1
dftest(y)

Arguments

y

time series or vector

Details

The function ur.df() in the package ur.ca is used.

Value

The output is a list with components:

DFStat

value of Dickey-Fuller pivotal statistic

criticalValues

critical values corresponding to 1

Author(s)

A.I. McLeod and Hao Yu

See Also

ur.df, mleur

Examples

1
2

mleur documentation built on May 29, 2017, 9:49 a.m.

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