Description Usage Arguments Value
View source: R/testfunctions_splines.R
IV-like weighting function for TSLS specification.
1 | sTslsSplines(z, d, j, exz, pi)
|
z |
vector, the value of the instrument. |
d |
0 or 1, indicating treatment or control (redundant in this function; included to exploit apply()). |
j |
scalar, position of the component one is interested in constructing the IV-like weight for. |
exz |
matrix, corresponds to E[XZ']. |
pi |
matrix, corresponds to E[XZ']E[ZZ']^-1, the first stage regression. |
scalar.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.