Augmented IPW estimator. Consistent if either the outcome model or the propensity model is correctly specified.
Usage
est_via_aipw(obj, ...)
# S3 method for class 'observational'
est_via_aipw(
obj,
outcome_model = NULL,
propensity_model = NULL,
treated_pred = NULL,
control_pred = NULL,
propensity = NULL,
...
)Arguments
- obj
An
observationalorclusteredobject.- ...
Additional arguments passed to methods.
- outcome_model
A model wrapper with
fitandpredict. Default uses OLS.- propensity_model
A model wrapper with
fitandpredict_proba. Default uses logistic regression.- treated_pred
Optional pre-computed treated outcome predictions.
- control_pred
Optional pre-computed control outcome predictions.
- propensity
Optional pre-computed propensity scores.