Model fitting and inference for infectious disease dynamics
A deterministic model gives one smooth trajectory. The counts do not sit on it.
The distribution around the prediction is what makes a likelihood exist. The likelihood gives us a distribution around the prediction. That way the model doesn’t have to fit the data perfectly.
It is also where the observation process lives: under-reporting, and the variation of counts around what the model expects.
Every likelihood in this course so far has assumed
where is what the model predicts at time .
That is a modelling choice. It makes a specific claim about how observation works.
Weekend effects, reporting delays, outbreak investigations and clustered transmission all break these assumptions.
When the data are more variable than Poisson allows, the fix is an observation model with a free variance:
Both fits use the same SIR model on Tristan da Cunha. Only the observation model differs.
An observation model that is too tight makes the posterior too confident.
Day 7 reports 47 cases where the Poisson fit predicts about five. That is near-impossible under Poisson, so the posterior narrows around a trajectory that never reaches it.
Under a negative binomial the same day is merely unusual, so the intervals widen.
The interval widens and the estimate moves. moves too, from about 3.3 days to 6.8.
The negative log-likelihood of one observation, as a function of how far it is from the prediction, is a distance function.
The flatter the tail, the less a badly missed day costs. Day 7 costs the Poisson about 66 log units and the negative binomial about 8.
Once you see the likelihood as a distance, an obvious one follows: what if we chose the distance directly?
That is tomorrow morning.
In the practical you will
Observation models