Description Usage Arguments Value
(Re)Estimate treatment and response surface models for a policy
1 2 3 | estimate_policy(pol, features = NULL, ptreat = pol$ptreat,
resp_ctl = pol$resp_ctl, resp_trt = pol$resp_trt,
calibrate = pol$calibrate, save_models = pol$save_models, ...)
|
pol |
a policy object |
features |
(Optional) character vector of features to use; if
|
ptreat |
(Optional) default value for probability of treatment; |
resp_ctl |
(Optional) |
resp_trt |
(Optional) default value for probability of response = 1
given each treatment regime ( |
calibrate |
whether or not to use platt scaling to calibrate predictions |
save_models |
whether or not fitted models should be returned |
... |
additional arguments passed to model fitting functions |
object of class policy
where the relative columns in
$data
are updated with new predictions
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.