ur_test {BETS} | R Documentation |
Perform unit root tests
Description
This function uses the package 'urca' to perform unit root tests on a pre-defined time series. Unlike urca functions, it returns a meaningful table summarizing the results.
Usage
ur_test(..., mode = "ADF", level = "5pct")
Arguments
... |
Arguments passed on to urca functions |
mode |
A |
level |
A |
Value
A list
object. The first element is a data.frame
with the test statistics, the critical values and the test results. The second, the model residuals.
Author(s)
Talitha Speranza talitha.speranza@fgv.br
[Package BETS version 0.4.9 Index]