ivisat {ivgets} | R Documentation |
Indicator saturation modeling for 2SLS models
Description
Indicator saturation modeling for 2SLS models
Usage
ivisat(
formula,
data,
iis = TRUE,
sis = FALSE,
tis = FALSE,
uis = FALSE,
blocks = NULL,
ratio.threshold = 0.8,
max.block.size = 30,
t.pval = 1/NROW(data),
wald.pval = t.pval,
do.pet = FALSE,
ar.LjungB = NULL,
arch.LjungB = NULL,
normality.JarqueB = NULL,
info.method = c("sc", "aic", "hq"),
include.1cut = FALSE,
include.empty = FALSE,
max.paths = NULL,
parallel.options = NULL,
turbo = FALSE,
tol = 1e-07,
max.regs = NULL,
print.searchinfo = TRUE,
plot = NULL,
alarm = FALSE,
overid = NULL,
weak = NULL,
fast = FALSE
)
Arguments
formula |
A formula in the format |
data |
A data frame with all necessary variables y, x, and z. |
iis |
logical. If |
sis |
logical. If |
tis |
logical. If |
uis |
a matrix of regressors, or a list of matrices. If a list, the matrices must have named columns that should not overlap with column names of any other matrices in the list. |
blocks |
|
ratio.threshold |
Minimum ratio of variables in each block to total observations to determine the block size, default=0.8. Only relevant if blocks = |
max.block.size |
Maximum size of block of variables to be selected over, default=30. Block size used is the maximum of given by either the ratio.threshold and max.block.size |
t.pval |
numeric value between 0 and 1. The significance level used for the two-sided regressor significance t-tests |
wald.pval |
numeric value between 0 and 1. The significance level used for the Parsimonious Encompassing Tests (PETs) |
do.pet |
logical. If |
ar.LjungB |
a two-item list with names |
arch.LjungB |
a two-item list with names |
normality.JarqueB |
|
info.method |
character string, "sc" (default), "aic" or "hq", which determines the information criterion to be used when selecting among terminal models. The abbreviations are short for the Schwarz or Bayesian information criterion (sc), the Akaike information criterion (aic) and the Hannan-Quinn (hq) information criterion |
include.1cut |
logical. If |
include.empty |
logical. If |
max.paths |
|
parallel.options |
|
turbo |
logical. If |
tol |
numeric value (default = 1e-07). The tolerance for detecting linear dependencies in the columns of the regressors (see |
max.regs |
integer. The maximum number of regressions along a deletion path. It is not recommended that this is altered |
print.searchinfo |
logical. If |
plot |
NULL or logical. If |
alarm |
logical. If |
overid |
|
weak |
|
fast |
A logical value indicating whether to speed up the 2SLS
estimation but providing less details. Requires |
Value
Returns a list of class "ivisat"
with two named elements.
$selection
stores the selection results from
isat
(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.