isStationary: Determine whether or not a time series is stationary in the...

Description Usage Arguments Details Value

View source: R/isStationary.r

Description

Uses the Augmented Dickey-Fuller test to determine when the time series has a unit root.

Usage

1
tsData.isStationary <- isStationary(tsData)

Arguments

tsData

A time series object.

Details

A time series must have a minimum of three complete years of data. For details on the implementation of the Augmented Dickey-Fuller test, see the tseries package on cran.

Value

A boolean indicating whether or not the given time series is stationary.


OHDSI/Castor documentation built on March 20, 2021, 6:09 p.m.