kevjosey / pm-risk

Risk of Mortality Associated with Fine Particulate Matter Exposure

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Mortality Benefits Associated with Decreasing PM2.5

Assessing the EPA's recent recommendation to reduce PM2.5 from 12 μg/m3 to 10, 9, and 8 μg/m3.

Contents

Analysis

The scripts described below are presented in the order with which they should be run.

  1. Analysis/data_process.R: Creates stratified data sets from National Causal data.
  2. Analysis/fit_weights.R: Applies functions from Functions/calibrate.R to fit nuisance inverse-probability/balancing weight models.
  3. Analysis/fit_models.R: Applies functions from Functions/gam_models.R to fit nuisance outcome models.
  4. Analysis/fit_erf.R: Uses code from Functions/erf_models.R and the output from (2) and (3) to fit the exposure response functions.
  5. Analysis/fit_boot.R: Script for generating bootstrap samples used to estimate standard errors of the ERCs from (2)-(4).

Functions

Results

Contains scripts for generating plots and tables from data generated in (1) and the models fit in (4)-(5).

image

Sensitivity

Contains code for fitting G-Computation and GPS as a regressor sensitivity analyses. Also included is code to visualize covariate balance for various weighting methods.

image

About

Risk of Mortality Associated with Fine Particulate Matter Exposure


Languages

Language:R 100.0%