25 Lab 2 (Mixing & Concurrency)
In this lab, you will work to simulate a network-based epidemic model with population heterogeneity. This will use the special group
attribute so that you can explore variations in both network structure and epidemic parmeterization.
25.1 Setup
Once you are ready, start out by clearing your R object environment, to make sure that you do not have any objects lingering from the tutorial. This can be accomplished with:
25.2 Lab Steps
The model in the last chapter used a nodematch
term with a target statistic value of 0 to parameterize a model in which none of the relations were within group.
Run that same model but change the epidemic parameters so that women (group 1) have twice the probability of acquisition (60% versus 30%) than males (Group 2). Inspect the group-specific prevalence and incidence plots, and calculate the raw (not standardized) cumulative incidence in these models and compare against the cumulative incidence in the tutorial.
What if you lower the male acquisition rate to 10%? Calculate and inspect all of the same statistics.
25.3 Lab Questions
What is going on? What are some reasons why?