Description Usage Arguments Value Examples
R-learner, as proposed by Nie and Wager (2017), implemented via kernel ridge regression with a Gaussian kernel
1 2 3 4 5 6 7 8 9 10 |
x |
the input features |
w |
the treatment variable (0 or 1) |
y |
the observed response (real valued) |
k_folds |
number of folds for cross-fitting |
p_hat |
user-supplied estimate for E[W|X] |
m_hat |
user-supplied estimte for E[Y|X] |
b_range |
the range of Gaussian kernel bandwidths for cross validation |
lambda_range |
the range of ridge regression penalty factor for cross validation |
an rkern object
1 2 3 4 5 6 7 8 9 10 11 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.