uroot {URooTab} | R Documentation |
Conduct unit root test using EViews
routines
Description
Use this function to conduct unit root test using EViews
routines
Usage
uroot(
series,
test = c("adf", "pp"),
info = "sic",
caption = NULL,
format = kable_format(),
...
)
Arguments
series |
A vector of names or wildcard expressions for series object(s) contained in a dataframe. |
test |
Name of the unit root test. For example, |
info |
Name of the information criterion. For example, |
caption |
Table caption as in |
format |
Table format in |
... |
Other arguments supported by |
Value
An EViews workfile
Examples
library(URooTab)
set.seed(1234)
x=rnorm(100)
y=cumsum(x)
z=cumsum(y)
dataFrame=data.frame(x,y,z)
# Check if `EViews` is installed before running the tests
eviewsExecutables=c('eviews','eviews10',paste0('Eviews',9:13,'_X',c(86,64)))
if(any(Sys.which(eviewsExecutables)!="")) uroot(series=dataFrame,format="markdown",info="sic")
[Package URooTab version 0.1.0 Index]