wald_varcov | R Documentation |
See (3.11) from Chernozhukov and Hansen (2006)
wald_varcov( resid, alpha, tau, D, X, Z, Phi = linear_projection(D, X, Z), psi = 1 )
resid |
MILP residuals associated with point estimate |
alpha |
Alpha level of the test; defaults to 0.1; used to compute critical value and the Hall and Sheather bandwidth (for estimating J_Psi(tau) in CH (2006)) |
tau |
Quantile (number between 0 and 1) |
D |
Matrix of endogeneous variables |
X |
Matrix of covariates (including intercept) |
Z |
Matrix of instruments (only relevant for obtaining |
Phi |
Transformed matrix of instruments; defaults to linear projection of D on X and Z |
psi |
Scalar coefficient in front of the variance-covariance matrix;
useful for tuning MCMC subsampling (see |
Named list
varcov
: variance-covariance matrix multiplied by psi
hs
: Hall and Sheather Bandwidth
Other objects used to create varcov
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.