Description Usage Arguments Details Value See Also Examples
A quick way to determine all of the possible cointegrating relationships in your dataset, give the dependent variable.
The function will automatically determine a maximum number of lags based on the number of observations in the dataset.
It will then use the UnitRootApply
function (currently set to only include a constant, no trend, using AIC) to determine which variables are nonstationary.
Using the available nonstationary variables, it assembles every possible unique combination of variables to build formulas from.
The result is a matrix that returns only the formulas that appeared to cointegrate with the selected dependent variable.
1 |
Y |
A case sensitive character string of the dependent variable. |
data |
The time series matrix containing the variables to be used. |
The UnitRootApply and UnitRoot functions used have drift = TRUE and trend = FALSE. Relies on MacKinnon 1994 table, which does not specify explicitly what to do when the number of cointegrating variables in the relationship exceeds 6.
Formula |
The full formula in character format. |
significance |
The resulting P-value from the |
result |
I(0) == stationary. |
UnitRootApply
, UnitRoot
, MacKinnon
, combn
1 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.