Description Usage Arguments Details Value
View source: R/fit_mechanisms.R
Estimate the Outcome Regression
1 2 3 4 5 6 7 8 9 10 |
Y |
A |
A |
A |
W |
A |
delta |
A |
ipc_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 propensity score for the observed data (at A_i) and the shift (at A_i - 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.