Description Usage Arguments Examples
View source: R/my.anderson_rubin.R
This function returns point estimates and the variance-covariance matrix. Written for data.table arguments.
1 2 3 4 5 6 7 8 9 10 11 12 13 | my.anderson_rubin(
Yvar,
Xvar,
Inc,
Exc,
data,
intercept = TRUE,
tolerance = 1e-16,
beta_low,
beta_high,
init_length = 10,
precision
)
|
Yvar |
Dependent variable |
Xvar |
Endogenous regressor |
Inc |
Included instruments |
Exc |
Excluded instruments |
data |
Of type data.table |
intercept |
Logical, if including 1 as model intercept |
tolerance |
Tolerance level for matrix inversion |
beta_low |
Lower bound for search |
beta_high |
Upper bound for search |
init_length |
Size of search grid |
precision |
Maximum difference between points in and out of CI |
1 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.