Description Usage Arguments Value Examples
View source: R/HurstExponentTest.R
Effectively this returns a value between 0 and 1 that tells you whether a time-series is trending or mean-reverting. The closer the value is to 0.5 means the more "random" the time-series has behaved historically. Values below 0.5 imply the time-series is mean-reverting, and above 0.5 imply trending. The closer the value is to 0 implies greater levels of mean-reversion.
1 | HurstExponentTest(y, lookback)
|
y |
Vector to be tested for a unit root. |
lookback |
number of perioed to look back for testing |
A list
of hurst test results
1 2 3 | getFX("AUD/USD")
getFX("CAD/USD")
HurstExponentTest(AUDUSD/CADUSD, 20)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.