egcm.defaults | R Documentation |
Set and get defaults for Engle-Granger cointegration models
egcm.set.default.i1test(i1test) egcm.default.i1test() egcm.i1tests() egcm.set.default.urtest(urtest) egcm.default.urtest() egcm.urtests() egcm.set.default.pvalue(p) egcm.default.pvalue()
i1test |
a mnemonic indicating the name of the test that should be used for checking if the input series are integrated. The following tests are supported:
|
urtest |
a mnemonic indicating the name of the test that should be used for checking if the residual series contains a unit root. The following tests are supported:
|
p |
the p-value should be used for rejecting the null hypothesis in
the various statistical tests conducted by |
For egcm.default.i1test
, returns the string representing the
currently selected default I(1) test. For egcm.i1tests
,
returns a list of all available I(1) tests.
For egcm.default.urtest
, returns the string represeting the
currently selected unit root test. For egcm.urtests
,
returns a list of all available unit root tests.
For egcm.default.pvalue
, returns the default p-value that
will be used for rejecting the null hypothesis in the various
statistical tests conducted by egcm
.
The setter functions do not return a value.
Changing the default value only affects egcm
objects created
after the change is made.
Matthew Clegg matthewcleggphd@gmail.com
egcm
# Get and set the current default I(1) test egcm.default.i1test() egcm.set.default.i1test("adf") # Get and set the current default unit root test egcm.default.urtest() egcm.set.default.urtest("pp") # Get and set the current default p-value egcm.default.pvalue() egcm.set.default.pvalue(0.01)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.