TSIR: An R package for time-series susceptible-infected-recovered models of epidemics

Alexander D. Becker, Bryan T. Grenfell

Research output: Contribution to journalArticlepeer-review

32 Scopus citations


tsiR is an open source software package implemented in the R programming language designed to analyze infectious disease time-series data. The software extends a well-studied and widely-applied algorithm, the time-series Susceptible-Infected-Recovered (TSIR) model, to infer parameters from incidence data, such as contact seasonality, and to forward simulate the underlying mechanistic model. The tsiR package aggregates a number of different fitting features previously described in the literature in a user-friendly way, providing support for their broader adoption in infectious disease research. Also included in tsiR are a number of diagnostic tools to assess the fit of the TSIR model. This package should be useful for researchers analyzing incidence data for fully-immunizing infectious diseases.

Original languageEnglish (US)
Article numbere0185528
JournalPloS one
Issue number9
StatePublished - Sep 2017

All Science Journal Classification (ASJC) codes

  • General


Dive into the research topics of 'TSIR: An R package for time-series susceptible-infected-recovered models of epidemics'. Together they form a unique fingerprint.

Cite this