Installing the pomp package


Homework questions

Please submit your solutions to Canvas as an Rmarkdown (.Rmd) file which the GSIs will compile into an HTML document. Your Rmd file can read in the Consett measles data from the internet, e.g., by

read.csv(paste0("https://kingaa.github.io/sbied/stochsim/","Measles_Consett_1948.csv")) 

Question 6.1. Exploring behavior of a POMP model: simulating an SIR process.

Write a solution to Exercise 2.3 from Chapter 12 (Simulation of stochastic dynamic models). Note the following:

library(tidyverse)
read_csv(paste0("https://kingaa.github.io/sbied/stochsim/",
                "Measles_Consett_1948.csv")) %>%
    select(week,reports=cases) -> meas

Question 6.2. Modifying a POMP model: Adding a latent period to the SIR model

Write a solution to Exercise 2.4 from Chapter 12 (Simulation of stochastic dynamic models).


Question 6.3. This feedback response is worth credit.

  1. Explain which parts of your responses above made use of a source, meaning anything or anyone you consulted (including your class group, or other classmates, or online solutions to previous courses) to help you write or check your answers. All sources are permitted, but you are expected to explain clearly what is, and is not, your own original contribution, as discussed in the syllabus.

  2. This homework is conceptually quite simple, but involves overcoming various technical hurdles. The hurdles may be overcome quite quickly, or could turn into a longer battle. To make progress on statistical inference for POMP models, we have to solve these underlying computational issues. How long did this homework take? Report on any technical difficulties that arose.


Acknowledgements

The questions derive from material in a short course on Simulation-based Inference for Epidemiological Dynamics