Solution

ID: past-exam-of-the-mathematics-course-of-the-university-of-cambridge/2026/iii/paper-207/2/b/solution

Let be the transition probability matrix of the four-state continuous-time Markov chain, and put for a negative test and for a positive test. Starting susceptible at time zero, the likelihood contribution is
Equivalently, with indicator diagonal matrices and the susceptible basis vector it is
This sums over every hidden state sequence compatible with the three test results.

New to topics? Read the docs here!