Description Usage Arguments Details Value
View source: R/fit_mechanisms.R
Estimate the Outcome Mechanism
1 2 3 4 5 6 7 8 9 10 11 |
Y |
A |
C_cens |
A |
A |
A |
W |
A |
delta |
A |
samp_weights |
A |
fit_type |
A |
glm_formula |
A |
sl_learners |
Object containing a set of instantiated learners from the sl3, to be used in fitting an ensemble model. |
Compute the outcome regression for the observed data, including with the shift imposed by the intervention. This returns the outcome regression for the observed data (at A) and under the counterfactual shift shift (at A + delta).
A data.table
with two columns, containing estimates of the
outcome mechanism at the natural value of the exposure Q(A, W) and an
upshift of the exposure Q(A + delta, W).
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.