Description Usage Arguments Value Examples
get estimated tau(x) using the trained xlasso model
1 2 3 4 5 6 7 8 |
object |
a xlasso object |
newx |
covariate matrix to make predictions on. If null, return the tau(x) predictions on the training data |
new_p_hat |
propensity score on newx provided by the user. Default to NULL. If the user provided their own propensity p_hat in training, new_p_hat must be provided here. |
s |
choose from "lambda.min" or "lambda.1se |
... |
additional arguments (currently not used) |
vector of predictions
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.