View source: R/fit_mechanisms.R
fit_nuisance_u | R Documentation |
Fit pseudo-outcome regression conditioning on mediator-outcome confounder
fit_nuisance_u(
train_data,
valid_data,
learners,
b_out,
q_out,
r_out,
g_out,
h_out,
w_names
)
train_data |
A |
valid_data |
A holdout data set, with columns exactly matching those
appearing in the preceding argument |
learners |
|
b_out |
Output from the internal function for fitting the outcome
regression |
q_out |
Output from the internal function for fitting the mechanism of
the intermediate confounder while conditioning on mediators, i.e.,
|
r_out |
Output from the internal function for fitting the mechanism of
the intermediate confounder without conditioning on mediators, i.e.,
|
g_out |
Output from the internal function for fitting the treatment
mechanism without conditioning on mediators |
h_out |
Output from the internal function for fitting the treatment
mechanism conditioning on the mediators |
w_names |
A |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.