R/plugin-estimates.R
fit_plugin_A.Rd
This function prepares data, fits the appropriate model and returns the resulting estimates in a standardized format.
fit_plugin_A(full_data, weight_col, a_col, ..., .Model_cfg)
The full dataset of interest for the modelling problem.
The unquoted weighting variable name to use in model fitting.
The unquoted column name of the treatment.
The unquoted names of covariates to use in the model.
A Model_cfg
object configuring the appropriate model type to use.
A list with one element, ps
. This element contains a Predictor
object of
the appropriate subclass corresponding to the Model_cfg
fit to the data.