View source: R/BoundingCovariateEffects.R
G.hat | R Documentation |
Compute the Gn matrix in step 3b of Bei (2024).
G.hat(
data,
beta,
t,
hp,
mi.mat = NULL,
m.avg = NULL,
dm.avg = NULL,
dmi.tens = NULL,
D = NULL
)
data |
Data frame. |
beta |
Vector of coefficients. |
t |
Time point at which to evaluate the (derivatives of) the moment functions. |
hp |
List of hyperparamerers. |
mi.mat |
A precomputed matrix of moment function evaluations at each
observation. If supplied, some computations can be skipped. Default is
|
m.avg |
A precomputed vector of the sample average of the moment
functions. If not supplied, this vector is computed. Default is
|
dm.avg |
Matrix of precomputed sample averages of the derivatives of the
moment functions. Default is |
dmi.tens |
3D tensor of precomputed evaluations of the derivatives of
the moment functions. Default is |
D |
Diagonal of D-matrix. |
A matrix containing the partial derivatives of the variances of the moment functions. Each row corresponds to a moment function, each column corresponds to a covariate.
Bei, X. (2024). Local linearieation based subvector inference in moment inequality models. Journal of Econometrics. 238:105549-
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.