We continue using material from the short course Simulation-Based Inference for Epidemiological Dynamics (SBIED). Chapter 15 is Lesson 6 of SBIED. This case study of polio demonstrates time series data analysis via a mechanistic model. It also develops various topics of general interest for inference on POMP models:
Covariates. In Section I, we see that the POMP framework allows arbitrary dependence on covariate time series, and how to implement this in pomp.
Seasonality. In Section II, we model seasonality using a periodic covariate. In Section III, we implement non-parametric seasonality using a periodic spline basis.
Over-dispersion. Poisson and binomial distributions have their variance defined as a function of the mean parameter, which may not be appropriate for the data. In Section II, we discuss the use of the negative binomial distribution and discretized normal distribution to address this. Another approach to over-dispersion is gamma noise on transition rates, which is carried out in a measles case study that we may cover later, time permitting.
Workflow issues. Section IV discusses ways to avoid recomputing results unnecessarily when using Rmarkdown. It also presents a way control run time so that a single switch in the code moves between a debug setting, a preliminary set of results, and a final computationally intensive calculation.
Sections VI and VII follow the same route we took for the Consett measles analysis. This workflow is common to many POMP models across diverse applications.
Slides | ||
Annotated slides | ||
Notes | ||
R script | R | |
discussion question | html | |
Recording, Chapter 15, Sections I | Covariates in POMP models and their pomp implementation | (5 mins) |
Recording, Chapter 15, Section II | A POMP model for historic polio in Wisconsin | (15 mins) |
Recording, Chapter 15, Section III | A pomp implementation of the polio POMP model | (9 mins) |
Recording, Chapter 15, Sections IV | Data analysis logistics: tools for a pomp workflow | (12 mins) |
Recording, Chapter 15, Section V | Persistence of polio | Lecture video (7 mins) |
Recording, Chapter 15, Section VI | Likelihood maximization for polio | (15 mins) |
Recording, Chapter 15, Section VII | A profile likelihood for polio | (7 mins) |
Worked solution to Exercise 6.1 | HTML | |
Worked solution to Exercise 6.2 | HTML | |
Worked solution to Exercise 6.3 | HTML | |
Worked solution to Exercise 6.4 | HTML | |
Worked solution to Exercise 6.5 | HTML |
Back to course homepage
Acknowledgements
Source code for these notes