Description Usage Arguments Value
Estimate the outcome regression (OR), Q(A,W), the conditional mean of the outcome/response variable, conditional on both the expsoure and the baseline covariates.
1 | fit_or_mech(train_data, valid_data, learner)
|
train_data |
A |
valid_data |
A |
learner |
An instantiated learner object, with class inheriting from
|
A list
(as required by cross_validate
)
containing two slots populated with data.table
s
for the training and validation data (for a given cross-validation split).
Each data.table
has three columns, corresponding
to estimates of the conditional mean of the outcome under the natural value
of the exposure ("QA"), under the control condition ("Q0"), and under the
treatment condition ("Q1").
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.