Published December 3, 2020 | Version v1.3
Dataset Open

Data and code release for Carleton, Cornetet, Huybers, Meng & Proctor (PNAS, 2020), "Global evidence for ultraviolet radiation decreasing COVID-19 growth rates"

  • 1. University of California, Santa Barbara
  • 2. Ecole Normale Superieure Paris-Saclay
  • 3. Harvard University
  • 1. University of Chicago
  • 2. Ecole Normale Superieure Paris-Saclay
  • 3. Harvard University
  • 4. University of California, Santa Barbara

Description

This upload contains all replication material for "Global evidence for ultraviolet radiation decreasing COVID-19 growth rates" (PNAS, 2020). Please note that previous versions of this upload provided data and code for the pre-print version of the article, which changed somewhat through the peer review process. 

Authors: Tamma Carleton, Jules Cornetet, Peter Huybers, Kyle C. Meng, Jonathan Proctor.

Code is located within CCHMP_covid_climate_code_release.zip, and is written in R, Stata, and Matlab. The working directory should be set to the repository folder at the top of each script (all other filepaths are relative).

Please find the code needed to replicate the main findings of the paper described below:

  • Plots of data: R and Stata scripts to make figures 1B, 2A/B/C, S1, S2, and S3, can be found within “code/analysis/data_plots/”.
  • Regression analysis: Stata scripts to run the distributed lag regressions and plot the results in figures 2, 3C, S5, S6, S7, S8, S10, and S14, as well as Table S1, can be found within “code/analysis/regressions/”. R scripts for data analysis and plotting for figures 3A/B and S9 are also within "code/analysis/regressions/".
  • Seasonal simulations: R and Stata scripts to replicate the seasonal simulation shown in figures 4, S4 and S11 can be found within “code/analysis/seasonal_sim/”.
  • SEIR simulations: Matlab scripts to replicate the SEIR simulations shown in figures S12 and S13 can be found within “code/analysis/SEIR/”.

Data are located within CCHMP_covid_climate_data_release.zip.

Files

CCHMP_covid_climate_code_release.zip

Files (567.7 MB)

Name Size Download all
md5:63bf88632cc423f697968bc7d395c093
261.5 MB Preview Download
md5:f42dcc39b875c8421eaee37c389b96b4
306.2 MB Preview Download

Additional details

Related works

Is cited by
Preprint: http://ssrn.com/abstract=3588601 (URL)
Is supplement to
Preprint: 10.2139/ssrn.3588601 (DOI)

References

  • Carleton et al., (preprint, 2020). Ultraviolet radiation decreases COVID-19 growth rates: Global causal estimates and seasonal implications. http://ssrn.com/abstract=3588601