Giter Site home page Giter Site logo

kevjosey / pm-interaction Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 1.0 688 KB

Effects of PM2.5, Anticoagulants, and Corticosteroid Use on Cardiovascular, Thromboembolic, and Bleeding Events Among Older Adults: Evidence of Drug-Environment Interaction

R 100.00%

pm-interaction's Introduction

Evaluating PM2.5 Interactions

This repository contains code used to fit history adjusted marginal structural Cox models with a time-to-event outcome. We use this model to estimate the risks to cardiovascular and thromboembolic events (CTE) caused by exposure to fine particulate matter (PM2.5) and either corticosteroids (Steroids) or Anticoagulants (Anticoagulants) among high-risk older adults enrolled in Medicare.

Detailed descriptions of the various scripts are available within their respective folders. The R files in the root directory contain the necessary functions for constructing the inverse probability weights and for evaluating additive interactions with either a Cox proportional hazards model or an Aalen additive hazards model.

Functions

interaction.R Functions for evaluating additive and multiplicative interactions.

ipw_fun.R Functions for generating inverse probability weights (with Random Forest, XGBoost, or GEE).

pm-interaction's People

Contributors

kevjosey avatar

Stargazers

Xianwei-Guo avatar

Watchers

 avatar

Forkers

rindalafayyad17

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.