Description Usage Arguments Value See Also Examples
Find transformation steps required for stationarity.
1 2 | karma.transform(yt, stdout = T, autolog = T, autodiffs = 1,
autolags = F, r2_criterion = T)
|
yt |
A univariate time-series vector; type <numeric> or <ts>. |
stdout |
Option to print out all search diagnostics; <logical>. |
autolog |
Logarithmic search flag. Indicates whether log-transformations on the input series will be part of the search. |
autodiffs |
Differencing search flag. Indicates whether differencing on the input series will be part of the search. |
autolags |
Flag T/F indicating whether or not to set lags automatically as a function of the length of the series. |
r2_criterion |
Flag T/F incidating whether or not to use adjusted R-square as an ADF model selection criterion. When FALSE, the simplest possible stationarity transformation will be preferred. |
Object of class "karma.transform".
1 2 3 4 5 | # Apply ADF test and print out diagnostics:
stationarity.options <- karma.transform(WWWusage, stdout = F, autolog = F, autodiffs = 1)
print(stationarity.options$model) # best fitted model type
print(stationarity.options$diffs) # best degree of differencing
print(stationarity.options$log) # best use of logarithmic transformation
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.