Description Usage Arguments Details Value Author(s)
Generates a wrapper for SuperLearner using HDPS
1 2 3 |
out_name |
Name of the outcome variable. |
dimension_names |
Dimension names of HDPS dimensions. See
|
predef_covar_names |
Names of predefined covariates to be included in logistic regression model. |
keep_k_total |
See |
... |
Other arguments passed to |
cvglmnet |
Use |
glmnet_args |
list of arguments to be passed to glmnet or cv.glmnet. If |
A HDPS candidate will generate covariates using hdps_screen
from
codes, and estimate the propensity score with logistic regression on
generated covariates and predefined covariates.
To use HDPS in SuperLearner to estimate a propensity score, you need to
include the outcome variable as a covariate where here outcome means the
outcome of interest in the causal problem as opposed to the Y
variable in SuperLearner. For non-HDPS candidates in SuperLearner, it's
important to exclude the outcome variable via screen.named
or
some other screening algorithm in order to avoid adjusting for something
downstream on the causal pathway.
A SuperLearner wrapper function
Sam Lendle
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.