Description Usage Arguments Value References Examples
ADF
calculates the augmented Dickey-Fuller (ADF) test
statistic with lag order set fixed or selected by AIC or BIC.
1 | ADF(y, IC = 0, adflag = 0)
|
y |
A vector, The data. |
IC |
An integer. 0 for fixed lag (default) order 1 for AIC and 2 for BIC (default = 0). |
adflag |
An integer. Lag order when IC=0; maximum number of lags when IC>0 (default = 0). |
Numeric, ADF test statistic.
Said, S. E., & Dickey, D. A. (1984). Testing for Unit Roots in ARMA Models of Unknown Order. Biometrika, 71(1984), 599–607.
1 2 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.