Now that we have our model we can add complexity by examining further compartments and the case of competing hazards. In the next exercise we want to add a mortality compartment, that flows out of I, to describe the probability of death among the infected individuals.
For the next steps, imagine that we have gathered information which suggets that the CFR for the disease we are modelling is 30%. Using that information, and the concepts we have reviewed try to incorporate a new M compartment, specify a mortality rate rate mu and run the model.
Try and fill out the missing gaps in the script below:
2.1 Explore CFR from our simulation
We have our model now with added mortality, try and check if CFR as estimated from the model corresponds to CFR =30%