Skip to content

ehm-lab/2013_bhaskaran_IJE_codedata

 
 

Repository files navigation

A tutorial on time series regression in environmental epidemiology


A tutorial on time series analysis applied to environmental epidemiology, with an example on the association of mortality with air pollution and temperature. The R code reproduces completely the example included in the following article, illustrating the various analytical steps:

Bhaskaran K, Gasparrini A, Hajat S, Smeeth L, Armstrong B. Time series regression studies in environmental epidemiology. International Journal of Epidemiology. 2013;42(4):1187-1195. DOI: 10.1093/ije/dyt092. PMID: 23760528. [freely available here]

Simple analyses with DLMs are also included, using functions in the R package dlnm.


The material:

  • londondataset2002_2006.dta stores the dataset used in the illustrative examples in a Stata data format
  • Rcode.R is the R code the reproduce the examples
  • Statacode.do is the Stata code to reproduce the examples

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

About

A tutorial on time series regression in environmental epidemiology

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • R 56.7%
  • Stata 43.3%