Description Usage Arguments Value
addindicators
is an auxiliary function for preparation to implement the GMM inference on your own.
It returns a data.frame that contains vectors of the outcome, the treatment, the instrument, and the exogenous variable in addition to vectors of indicators for the exogenous variable.
The defined indicator is such as I00 = 1(Z = 0, V = 0).
See the package vignette via 'vignette("LATEerror")' for more details.
1 | addindicators(Y, D, Z, V)
|
Y |
vector of the outcome |
D |
vector of the treatment |
Z |
vector of the instrument |
V |
vector of the exogenous variable |
dataframe with indicators for the exogenous variable
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.