ivgets | R Documentation |
General-to-specific modeling for 2SLS models
ivgets(
formula,
data,
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
)
formula |
A formula in the format |
data |
A data frame with all necessary variables y, x, and z. |
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 |
|
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.