h_to_beta | R Documentation |
Given the active basis, find the coefficients that solve the IQR problem.
h_to_beta(h, Y, X, D, Z, Phi = linear_projection(D, X, Z))
h |
Active basis in terms of the data provided |
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) |
Phi |
Transformation of X and Z to be used in the program; defaults to the linear projection of D on X and Z (matrix with n rows) |
A named list of coefficients
beta_D
: coefficients on the endogeneous variables
beta_X
: coefficients on the exogenous variables
beta_Phi
: coefficients on the transformed instruments
Other mcmc_subsampling:
foc_membership_v2()
,
foc_membership()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.