Giter VIP home page Giter VIP logo

bacps's Introduction

BACps

Bayesian Adjustment for Confounding (BAC) in Bayesian Propensity Score Estimation

The goal of BACps is to estimate the average causal effect accounting for two sources of uncertainty:

  • uncertainty regards the propensity score. The propensity score is a quantity that we do not observe and thus we have to estimate. So, the idea is to account for the fact that we are not using the true propensity score and thus we can be making a mistake

  • uncertainty regards the model. This is related to the uncertainty that we face when we decide the variables that we include in the model. Instead of fixing one model associated with one set of covariates/features, we consider all possible models.

If every model is given the same weights, most of the time instrumental variables will be included in the propensity score since instrumental variables are associated to the exposure variable. However, the literature has shown that including these variables might increase the variance and amplify the bias of the estimate (Pearl 2010 and Brookhart et al. 2006). The strategy that we apply to limit the instrumental variables in the propensity score model is to incorporate a informative prior. The informative prior over the model indicator of the propensity score play the role to shape the posterior model distribution of the propensity score so that this posterior gives less weights to models that include instrumental variables and more weights to those models that include confounders and predictors of the outcome variable.

Installation

You can install the package version from GitHub with:

# install.packages("devtools")
devtools::install_github("pablogonzalezginestet/BACps")

Example

See the vignette for details: online vignette

References

Brookhart MA, Schneeweiss S, Rothman KJ, Glynn RJ, Avorn J, Stürmer T. Variable selection for propensity score models. Am J Epidemiol. 2006 15;163(12):1149-56.

Pearl, J., P. Grunwald, and P. Spirtes. “Proceedings of the Twenty-Sixth Conference on Uncertainty in Artificial Intelligence (UAI 2010).” (2010): 417-24.

bacps's People

Contributors

pablogonzalezginestet avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.