Description Usage Arguments Examples
U-learner as proposed by Kunzel, Sekhon, Bickel, and Yu (2017), implemented via glmnet (lasso)
1 2 3 4 5 6 7 8 9 10 11 12 13 14 |
x |
the input features |
w |
the treatment variable (0 or 1) |
y |
the observed response (real valued) |
alpha |
tuning parameter for the elastic net |
k_folds |
number of folds for cross-fitting |
lambda_y |
user-supplied lambda sequence for cross validation in learning E[y|x] |
lambda_w |
user-supplied lambda sequence for cross validation in learning E[w|x] |
lambda_tau |
user-supplied lambda sequence for cross validation in learning the treatment effect E[y(1) - y(0) | x] |
lambda_choice |
how to cross-validate for the treatment effect tau; choose from "lambda.1se" or "lambda.min" |
p_hat |
user-supplied estimate for E[W|X] |
m_hat |
user-supplied estimte for E[Y|X] |
cutoff |
the threshold to cutoff propensity estimate |
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.