Skip to content

Updated R and Stata and data code from Lopez Bernal IJE 2017

Notifications You must be signed in to change notification settings

wangb08/2017_lopezbernal_IJE_codedata

 
 

Repository files navigation

Updated R and Stata and data code from Lopez Bernal IJE 2017


A tutorial on the use of interrupted time series (ITS) analysis in public health and epidemiological research. The code follows the examples illustrated in the following article that described the most common steps in the application of the ITS design:

Lopez Bernal J, Cummins S, Gasparrini. Interrupted time series regression for the evaluation of public health interventions: a tutorial. International Journal of Epidemiology. 2017;46(1):348-355. [freely available here]

A correction has been issues [freely available here], including changes to the original model definition and R code.


The material:

  • sicily.csv stores the dataset used in the illustrative examples
  • 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

Updated R and Stata and data code from Lopez Bernal IJE 2017

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • R 52.5%
  • Stata 47.5%