tsfeatures (version 1.0.1)

unitroot_kpss: Unit Root Test Statistics

Description

unitroot_kpss computes the statistic for the Kwiatkowski et al. unit root test with linear trend and lag 1. unitroot_pp computes the statistic for the `'Z-alpha'' version of Phillips & Perron unit root test with constant trend and lag 1.

Usage

unitroot_kpss(x)

unitroot_pp(x)

Arguments

x

a univariate time series.

Value

A numeric value