View source: R/mixture-backfit-sl.R
Create exposure weights via SL with backfitting
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | mixture_backfit_sl(
data,
outcome,
exposures,
estimator_mixture = c("SL.mean", "SL.lm"),
estimator_confounders = estimator_confounders,
folds_mixture = 5L,
folds_confounders = 5L,
exposure_groups = NULL,
max_iterations = 10L,
tolerance = 1e-05,
quantiles = NULL,
family = "gaussian",
verbose = FALSE,
...
)
|
data |
tbd |
outcome |
outcome column name |
exposures |
tbd |
estimator_mixture |
tbd |
estimator_confounders |
tbd |
folds_mixture |
SL folds. |
folds_confounders |
SL folds. |
exposure_groups |
List of all exposure groups |
max_iterations |
tbd |
tolerance |
tbd |
quantiles |
tbd |
family |
Not used for this mixture estimator. |
verbose |
tbd |
... |
tbd |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.