Description Usage Arguments Value
Use a SuperLearner to estimate the mean functions for the outcome and the treatment given covariates and the instrument
1 |
y |
the outcome variable in your training set |
a |
the treatment variable in your training set |
z |
the instrument in your training set |
cov |
the covariates in your training set. Should be a data frame and it should not include any factors for now. |
gives you ymean and amean in the global envr. Note that I tried to return these as a list and it gave me something weird, but this works.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.