Learn R Programming

NlinTS (version 1.4.5)

df.test: Augmented Dickey_Fuller test

Description

Augmented Dickey_Fuller test

Usage

df.test(ts, lag)

Arguments

ts

Numerical dataframe.

lag

The lag parameter.

Value

df: returns the value of the test.

summary (): shows the test results.

Details

Computes the stationarity test for a given univariate time series.

References

elliott1992efficientNlinTS

Examples

Run this code
# NOT RUN {
library (timeSeries)
library (NlinTS)
#load data
data = LPP2005REC
model = df.test (data[,1], 1)
model$summary ()
# }

Run the code above in your browser using DataLab