get_iqr_objective | R Documentation |
Obtain the sum of the absolute value of the coefficients on the instruments
in a quantile regression of Y
after concentrating out D
according to beta_D
on Z
and X
.
get_iqr_objective(beta_D, Y, X, D, Z, tau, ...)
beta_D |
Vector of coefficients on the endogenous variable (numeric vector) |
Y |
Dependent variable (vector of length n) |
X |
Exogenous variable (including constant vector) (n by p_X matrix) |
D |
Endogenous variable (n by p_D matrix) |
Z |
Instrumental variable (n by p_Z matrix) |
tau |
Quantile of interest (numeric between 0 and 1) |
... |
Arguments to be passed to |
A named list of two entries:
beta_Z
: named vector of coefficients on the instruments
tau
: quantile of interest
obj
: sum of absolute value of beta_Z
, i.e., value of
IQR objective
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.