IsStationary {PairTrading}
Check the stationarity of time series (especially spread)
Description
Check the stationarity of time series by Phillips-Perron Test for Unit Roots and Augmented Dickey-Fuller Test.
Usage
IsStationary(spread, threshold)
Arguments
- spread
- checked time series object(xts)
- threshold
- threshhold value of p-value
Values
the vector which have the result of each test passed or not.
Examples
Documentation reproduced from package PairTrading, version 1.1. License: BSD
