This function provides an estimate of the Average Treatment Effect (ATE) using Bayesian modelling.
Arguments
- fitted_model
The treatment model object as a glm.
- exposure
The name of the exposure variable.
- outcome
The name of the outcome variable.
- data
A data frame containing the exposure, outcome, and confounder variables.
- bootstrap
A logical indicating whether to perform bootstrap estimation of the 95% confidence interval.
- ...
Additional arguments to be passed to the sensitivity function.