View source: R/fit_mechanisms.R
fit_nuisance_v | R Documentation |
Fit pseudo-outcome regression conditioning on treatment and baseline
fit_nuisance_v(
train_data,
valid_data,
contrast,
learners,
b_out,
q_out,
m_names,
w_names
)
train_data |
A |
valid_data |
A holdout data set, with columns exactly matching those
appearing in the preceding argument |
contrast |
A |
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 the mediators, i.e.,
|
m_names |
A |
w_names |
A |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.