Code for Federica Spoto, Francesca Dominici, Danielle Braun and Joan A. Casey "Long-term impact of PM2.5 on mortality is exacerbated when wildfire events occur"
There is extensive evidence that long-term exposure to all-source PM2.5 increases mortality. However, to date, no study has evaluated whether this effect is exacerbated in the presence of wildfire events. Here, we study 60+ million older US adults and find that wildfire events increase the harmful effects of long-term all-source PM2.5 exposure on mortality, providing a new and realistic conceptualization of wildfire health risks.
- 01_units_to_zip.R: prepares the medical data and links the annual concentrations of all-source PM2.5.
- 02_wildfire_effect_modifier.R: builds the metric "number of days with non-zero wildfire PM2.5 per year" and creates three strata (0–20, 21–35, and >35 wildfire PM2.5 days per year).
- 03_stratified_us.R: runs the main analysis, checking for the optimal degrees of freedom based on AIC, and plotting the results.
- 04_stratified_bypoverty.R: runs the poverty-stratified analysis, checking for the optimal degrees of freedom based on AIC, and plotting the results.
- 05_stratified_byregion.R: runs the region-stratified analysis, checking for the optimal degrees of freedom based on AIC, and plotting the results.
- Figure1.R: creates Figure 1.