Skip to content

Public Available Code to Conduct Analyses in "Evaluating the Impact of Long-term Exposure to Fine Particulate Matter on Mortality Among the Elderly."

License

Notifications You must be signed in to change notification settings

wxwx1993/National_Causal

Repository files navigation

National Causal Studies

Study Status: Publication Available

This is the data repository for publicly available code and data to conduct analyses in the paper titled "Evaluating the Impact of Long-term Exposure to Fine Particulate Matter on Mortality Among the Elderly." This paper provides a useful statistical causal inference framework to evaluate potential causal relationships under a set of explicit causal inference assumptions in environmental epidemiological studies.

Code:
data_process.R includes the code to extract all necessary data and preprocess data for statistical analyses.

statistical_models.R includes the code to implement all five statistical models, including two traditional regression methods (i.e., Cox proportional hazard model and Cox-equivalent conditional Poisson model), and three causal inference methods (i.e., adjustment, weighting and matching by generalized propensity score). Cox_model.sas include the SAS code to implement Cox proportional hazard model that provide a benchmark to the R code.

covariate_balance.R includes the code to assess covariate balance for two causal inference methods (i.e., weighting and matching by generalized propensity score).

death_saved.R includes the code to calculate the total number of deaths that would be avoided among the elderly per decade if all areas were in compliance with the current World Health Organization (WHO) guidelines (i.e., 10 μg/m3 annual PM2.5 exposure).

pm_map.R,ScienceAdvances_main.R,ScienceAdvances_supp.R includes the code to generate figures in Main Text and Supplementary Materials.

Bootstrap contains the code to calculate the Bootstrapped Confidence Intervals for all five statistical models.

Additional Data Source:
Perparation of Data and Statisical Analysis includes code covering the creation of the data set used for anaylsis.

Data:
All data needed to evaluate the conclusions in the paper are present in the paper and/or the Supplementary Materials. Medicare patient individual-level data are stored at a Level-3 secured data platform on Research Computing Environment, supported by the Institute for Quantitative Social Science in the Faculty of Arts and Sciences at Harvard University. Those interested in the original data can contact the corresponding author.

All the analyses are run on
R version 3.5.1 (2018-07-02) -- "Feather Spray"
Copyright © 2018 The R Foundation for Statistical Computing
or
SAS software version 9.4
Copyright © SAS Institute Inc.
Platform: x86_64-pc-linux-gnu (64-bit)

Terms of Use:
Authors/funders retain copyright (where applicable) of code on this Github repo and the article. Anyone who wishes to share, reuse, remix, or adapt this material must obtain permission from the corresponding author. By using the contents on this Github repo and the article, you agree to cite our paper.

X. Wu, D. Braun, J. Schwartz, M. A. Kioumourtzoglou, F. Dominici, Evaluating the impact of long-term exposure to fine particulate matter on mortality among the elderly. Sci. Adv. 6, eaba5692 (2020).

Contact Us:

Acknowledgments

We appreciate the work of M. Benjamin Sabath and Yaguang Wei for preparing and processing the data set used for anaylsis. We would like to thank Lena Goodwin for editorial assistance in the preparation of this manuscript.

About

Public Available Code to Conduct Analyses in "Evaluating the Impact of Long-term Exposure to Fine Particulate Matter on Mortality Among the Elderly."

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published