Giter Site home page Giter Site 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, bayes-erf.R, and spatial-erf.R.

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.

bayes-erf.R An alternative function to bart_erf() which fits a generalized linear model of the outcome before regressing the pseudo-outcome onto the exposure support.

spatial-erf.R An alternative function to bart_erf() which incorporates a spatial autocorrelation random variable into the cluster-level exposure model.

auxiliary.R Additional functions used intermittently throughout the manuscript including a function to estimate the regression calibrated grid-level exposures, a function to compute the highest posterior density interval when the bart_erf() and bayes_erf() is used without smoothing, and a function to check the adjacency matrix for the spatial autocorrelation component.

/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

Stargazers

Yezi Chu avatar  avatar Falco J. Bargagli-Stoffi avatar Xiao Wu 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.