bar.sbdecomp {SBdecomp} | R Documentation |
This function creates a bar plot to illustrate the estimated proportion of the observed selection bias explained by each observed confounder used in the propensity score model.
bar.sbdecomp(output.list, main)
output.list |
List outputed from main sbdecomp function |
main |
Title for plot, optional |
A bar plot showing the estimated proportions of the estimated selection bias explained by the observed confounders used in the propensity score model is created.
Layla Parast
Parast, L and Griffin, BA (2020). "Quantifying the Bias due to Observed Individual Confounders in Causal Treatment Effect Estimates". Statistics in Medicine, 39(18): 2447- 2476.
data(petsdata)
output = sbdecomp(outcome = petsdata$genhealth, treatment = petsdata$gotdog, confounders =
as.data.frame(petsdata[,c(2:13)]), type = "inclusion", estimation = "parametric",
balance = FALSE)
bar.sbdecomp(output)