Skip to content
Updated R code from Gasparrini Epidem 2016
Branch: master
Clone or download
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.DS_Store Check update to dlnm version 2.3.2 Jan 15, 2017
.gitignore
00.prep.R Check update to dlnm version 2.3.2 Jan 15, 2017
01.mainrun.R
02.sensrun.R Check update to dlnm version 2.3.2 Jan 15, 2017
03.tables.R Check update to dlnm version 2.3.2 Jan 15, 2017
04.graphs.R Check update to dlnm version 2.3.2 Jan 15, 2017
04b.graphsnocol.R Check update to dlnm version 2.3.2 Jan 15, 2017
05.supplementary.R Check update to dlnm version 2.3.2 Jan 15, 2017
2016_gasparrini_Epidem_Rcode.Rproj
README.html
README.md Update README Jan 6, 2017
example.R Initialize Dec 24, 2016

README.md

Updated R code from Gasparrini Epidem 2016


A simulation study comparing methods to model lagged effects in environmental time series, specifically moving averages and distributed lag models. The code fully reproduces the results illustrated in the article:

Gasparrini A. Modelling lagged associations in environmental time series data: a simulation study. Epidemiology. 2016; 27(6):835-842. [freely available here]


The code:

  • example.R offers an example of simulation of the data, fit of the models, and display/summary of the results
  • the numbered files from 00.prep.R to 05.supplemenatary.R, to be run sequentially, fully reproduce the results of the simulation study presented in the manuscript

Download as a ZIP file using the green button Clone or download above

You can’t perform that action at this time.