gets.ivreg | R Documentation |
gets.ivreg
conducts general-to-specific model selection on an ivreg
object returned by ivreg::ivreg()
.
## S3 method for class 'ivreg'
gets(
x,
gum.result = NULL,
t.pval = 0.05,
wald.pval = t.pval,
do.pet = TRUE,
ar.LjungB = NULL,
arch.LjungB = NULL,
normality.JarqueB = NULL,
include.gum = FALSE,
include.1cut = FALSE,
include.empty = FALSE,
max.paths = NULL,
turbo = FALSE,
tol = 1e-07,
max.regs = NULL,
print.searchinfo = TRUE,
alarm = FALSE,
keep_exog = NULL,
overid = NULL,
weak = NULL,
...
)
x |
An object of class |
gum.result |
a |
t.pval |
|
wald.pval |
|
do.pet |
|
ar.LjungB |
a two element |
arch.LjungB |
a two element |
normality.JarqueB |
|
include.gum |
|
include.1cut |
|
include.empty |
|
max.paths |
|
turbo |
|
tol |
numeric value ( |
max.regs |
|
print.searchinfo |
|
alarm |
|
keep_exog |
A numeric vector of indices or a character vector of names
corresponding to the exogenous regressors in the |
overid |
|
weak |
|
... |
Further arguments passed to or from other methods. |
Returns a list of class "ivgets"
with three named elements.
$selection
stores the selection results from
getsFun
(including paths, terminal models, and best
specification). $final
stores the ivreg
model
object of the best specification or NULL
if the GUM does not pass
all diagnostics. $keep
stores the names of the regressors that were
not selected over, including the endogenous regressors, which are always
kept.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.