9–20 May 2016

**Important Note:** As of version 2, **pomp** syntax changed substantially so that the codes in these notes would no longer run. Accordingly, some of these materials have been updated to use a newer version of **pomp**. In some instances, however, the materials have been superseded entirely. In these cases, links are provided to more up-to-date versions that cover the same ground.

Prof. Aaron A. King,

Ph.D. Departments of Ecology & Evolutionary Biology and Mathematics

University of Michigan

Email: kingaa@umich.edu

Ecological and epidemiological systems are particularly interesting from the physical point of view. Their complexity and high-dimensionality makes it natural to approach them as stochastic, nonlinear dynamical systems and within this context, many questions of both intrinsic interest and practical concern can be formulated. To answer these questions, it is necessary to rigorously confront hypothetical models with data. In this regard, time-series data are of particular value inasmuch as they have the potential to express the characteristic signatures of causal mechanisms. This course will take students into the heart of these issues via an introduction to ecological and epidemiological stochastic dynamical systems models using a series of examples with real data. Students will learn how to formulate questions as models and answer the questions using state-of-the-art inference algorithms.

- to introduce partially observed Markov process (POMP) models as tools for scientific investigation
- to give students the ability to formulate POMP models of their own
- to teach efficient approaches for performing scientific inference using POMP models
- to familiarize students with the
**pomp**package - to give students opportunities to work with such inference methods
- to provide documented examples for student re-use

- Familiarity with deterministic dynamics (discrete-time maps, ordinary differential equations) and probability.
- Some programming experience, in any language.
- Completion of the
**R**tutorial before the beginning of the course. - A sense of humor.

The course will be taught using a mixture of lectures and computational laboratory exercises. Students are expected to complete assigned readings before class meetings, keep up with assigned homework, participate fully in discussions, and work on course activities during class meetings.

The examination is scheduled for session 10 on 20 May. It will have both a written and a computational component, both of which will be similar to the exercises.

We will make extensive use of the open-source **R** statistical computing environment and the **pomp** package for inference based on partially-observed Markov process models.

Students with laptops should install **R** and **RStudio** on their computers before the first day of the course. Instructions for doing so can be found here.

The course does not assume familiarity with **R**, but students should work through the **R** tutorial before the course commences. In particular, students should work through the the exercises in the tutorial.

The following papers serve as background for some of the central issues:

- S. N. Wood (2010) Statistical inference for noisy nonlinear ecological dynamic systems.
*Nature*,**466**: 1102–1104. DOI: 10.1038/nature09319. - A. A. King, E. L. Ionides, M. Pascual, and M. J. Bouma (2008) Inapparent infections and cholera dynamics.
*Nature*,**454**: 877–880. DOI: 10.1038/nature07084 - S. Shrestha, A. A. King, and P. Rohani (2011) Statistical Inference for Multi-Pathogen Systems.
*PLoS Comput. Biol.*,**7**: e1002135. DOI: 10.1371/journal.pcbi.1002135

A good reference for modeling in infectious disease epidemiology is:

- Keeling, M. & Rohani, P.
*Modeling infectious diseases in humans and animals*. Princeton University Press, 2008.

The **pomp** package is described and illustrated in

- A. A. King, D. Nguyen, and E. L. Ionides (2016) Statistical Inference for Partially Observed Markov Processes via the R Package pomp.
*J. Stat. Soft.*,**69**: 1–43. DOI: 10.18637/jss.v069.i12

Students should do the following **before the first day of the course**:

- Follow the instructions to prepare your laptop by installing
**R**,**RStudio**, and the needed**R**packages. - If you are not proficient in
**R**, work through the**R**tutorial. If you are proficient in**R**, look through the tutorial nevertheless.

Tutorial on data munging with `plyr`

, `reshape2`

, and `magrittr`

The materials in this course are licensed under the Creative Commons Attribution-NonCommercial license. Please share and remix noncommercially, mentioning its origin.