Skip to content

A simulation study on modelling lagged effects in time series analysis

Notifications You must be signed in to change notification settings

gasparrini/2016_gasparrini_Epidem_Rcode

Repository files navigation

A simulation study on modelling lagged effects in time series analysis


A simulation study comparing methods to model lagged effects in environmental time series studies, specifically moving averages and distributed lag linear and non-linear models (DLMs and DLNMs). 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

About

A simulation study on modelling lagged effects in time series analysis

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages