Computes the test statistics based on unit root tests Phillips–Perron test and KPSS test

unitroot(y)

Arguments

y

a univariate time series

Value

A vector of 3 values: test statistic based on PP-test and KPSS-test