Skip to content

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

kevjosey/pm-interaction

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

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

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages