get_initial_beta_D | R Documentation |
beta_D
Naively regress Y
on D
, Z
, and X
, and return
the coefficients on D
.
get_initial_beta_D(Y, X, D, Z, tau, ...)
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 vector of coefficients on the endogenous variable
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.