Giter VIP home page Giter VIP logo

causal-me's Introduction

Estimating a Causal Exposure Response Function with a Continuous Error-Prone Exposure: A Study of Fine Particulate Matter and All-Cause Mortality

erf.R Includes baseline functions for fitting an exposure response function (ERF) without measurement error correction. Code in this script is later used by bart-erf.R.

erf-alt.R An alternative implementation to erf.R where in addition the exposure generalized propensity score is predicted and the ERF estimator incorporates doubly-robust pseudo-outcomes. These functions are later used by bayes-erf.R and bayes-erf-alt.

bart-erf.R Includes the function bart_erf() which fits a measurement error corrected ERF using multiple imputation and a Bayesian additive regression tree (BART) outcome model.

bart-erf-alt.R An alternative function to bart-erf.R which instead projects the doubly-robust pseudo-outcome onto the support of the exposure.

bayes-erf.R An alternative function to bart-erf-alt.R which fits a generalized linear outcome model before regressing the pseudo-outcome onto the exposure support.

auxiliary.R Additional functions used intermittently throughout the manuscript including a function to estimate the regression calibrated exposures and a function to compute the highest posterior density interval when the BART ERF is used without smoothing.

/sim Code for running the numerical studies is contained in this directory. Also included in this folder is test.R for unit testing and gen-data.R which includes functions to generate simulated data and the true exposure response function.

causal-me's People

Contributors

kevjosey 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.