Techniquecore
Next-generation matrix
Also called next-generation operator, van den Driessche-Watmough method.
Compute R0 of a model with several infected classes as the spectral radius of F V^(-1), from new infection and transition terms.
The next-generation matrix is the standard technique to compute the basic reproduction number of a compartmental epidemic model with more than one infected class. Write the equations of the infected classes near the disease-free state as new infections minus all other flows, take the two Jacobians and , and form . Entry is the expected number of new infections in class caused by one individual that enters class . Then , the spectral radius. Diekmann, Heesterbeek and Metz (1990) gave the definition for general heterogeneous populations, and van den Driessche and Watmough (2002) gave the recipe with and for ODE models.
In plain words
Sort the infected people by type: by age, by place, by stage of disease, or by host species. For each type, ask how many new cases of each type one case of that type makes during its whole infection, if everyone else can still catch the disease. Put these numbers in a square table. One generation of cases, listed by type, times the table gives the next generation. After a few generations, the mix of types settles down, and each generation is a fixed multiple of the one before. That multiple is the reproduction number. You find it as the largest eigenvalue of the table. The work is in filling the table: you must separate the events that make a new case from the events that only move a case from one type to another.
When it applies
- The model is a system of ODEs, and some of its classes hold infected individuals, .
- There is a disease-free equilibrium , with all infected classes at zero.
- The equations of the infected classes can be split as , where is the rate at which new infections appear in class , and is the rate of transfers out of class minus the rate of transfers into it by any other means.
- The conditions of van den Driessche and Watmough (2002) hold. In short: all rates are non-negative, nothing leaves an empty class, there are no new infections without infected individuals, and without new infections the infected classes decay to zero. The last condition makes invertible with entrywise.
The same idea works for discrete-time models, for models with continuous structure such as age or time since infection (where becomes an integral operator), and for networks of patches.
The template
- List the infected classes. These are all the classes with infected individuals, infectious or not: E and I in SEIR, infected humans and infected mosquitoes in a vector model.
- Split each equation. For each infected class, write (new infections only, from susceptibles) and (deaths, recovery, progression from one infected class to another, travel).
- Linearize at the disease-free state.
is non-negative. has a positive diagonal and non-positive off-diagonal entries, and is non-negative. 4. Form the matrix. . Entry is the expected time spent in class by an individual that enters infected class , and is the rate of new infections in class caused by an individual in class ; the sum over is . 5. Take the spectral radius. . By the Perron-Frobenius theorem, is an eigenvalue of with a non-negative eigenvector, the distribution of types in a growing epidemic. For a matrix, . For larger matrices, use power iteration or a general eigenvalue solver. 6. Read off the threshold. Under the conditions above, the disease-free equilibrium is locally asymptotically stable if and unstable if (van den Driessche and Watmough 2002, Theorem 2).
A quick bound. For a non-negative matrix, lies between the smallest and the largest column sum, and also between the smallest and the largest row sum. This is a useful check on a computed value.
Classic examples
SEIR with births. The infected classes are . New infections enter E at the rate , which is at . Progression from E to I is a transfer, not a new infection.
is triangular, so . See the SEIR model.
Two groups, by power iteration. Two groups of equal size mix unevenly, and is given directly. The column sums are 4 and 1.5, so . Power iteration from , scaled so that the first entry is 1 after each step:
| step | estimate of | next | |
|---|---|---|---|
| 1 | 4 | ||
| 2 | 3.375 | ||
| 3 | 3.351852 | ||
| 4 | 3.350829 |
The exact value is . The second eigenvalue is about 0.149, so the error shrinks by a factor of about per step.
A vector-borne disease. In the Ross-Macdonald model, with infected humans out of and infected mosquitoes out of , the infected classes are :
Here is the biting rate, and are the probabilities of transmission per bite from mosquito to human and from human to mosquito, is the human recovery rate and is the mosquito death rate. At the disease-free state,
So . The entry counts mosquitoes infected by one human, and counts humans infected by one mosquito. The square root appears because one generation in is one leg, from human to mosquito or from mosquito to human; van den Driessche (2017) describes it as the geometric mean of the two legs. The product , the diagonal entry of , counts human cases per human case and is the classical of Macdonald. With , , , and , the legs are 10 and 1, the product is 10 and .
Two patches with travel. In the metapopulation epidemic model with two patches of equal size, local transmission rates and , recovery rate , and infected individuals moving between the patches at rate each way,
With and , . Travel is in : it moves an infected individual, it does not make a new one.
Variations
- Small domain. If new infections enter only some of the infected classes (only E in SEIR), has zero rows, and the nonzero block on the classes that receive new infections has the same spectral radius. Diekmann, Heesterbeek and Roberts (2010) call these the next-generation matrices with small and large domain. In SEIR the small one is the matrix .
- Direct construction. In models with types such as age groups or risk groups, you can often write down directly as the mean number of type cases caused by one type case, without and .
- Continuous types. With age or time since infection as a continuous type, becomes an integral operator, and is its spectral radius (Diekmann, Heesterbeek and Metz 1990). A discretization on a grid gives an ordinary matrix.
- Type reproduction numbers. To ask how much control is needed when only one type can be targeted, such as only the mosquitoes, use a type reproduction number. It has the same threshold at 1, and the critical control effort on that type is where is that number.
- Control reproduction numbers. Apply the same template to the model with vaccination or treatment in place. The herd immunity threshold is the coverage at which the control reproduction number is 1.
Pitfalls
- Transfers counted as new infections. In SEIR without births, if you put into instead of , you get , and , with . This number has the same threshold at 1, but it is not : an exposed individual is counted as a new generation. Only infections of susceptibles belong in .
- Power iteration that does not converge. For a vector-borne model, has the eigenvalues , of equal absolute value. The matrix is irreducible but not primitive (it has period 2), and plain power iteration does not converge. From , scaled by the largest entry, the estimates alternate: 10, 1, 10, 1, and so on. Two fixes: iterate with , whose dominant eigenvalue is the product of the legs, and take the square root; or iterate with , which has the same eigenvectors and the dominant eigenvalue , and is primitive. Every irreducible non-negative matrix whose directed graph has only cycles of length 2 has this problem, as in a host-vector model without direct transmission between hosts or between vectors.
- Not at the disease-free state. Evaluating at a state with fewer susceptibles gives an effective reproduction number, not .
- The product against the square root. For vector-borne and other two-leg models, the spectral radius and the classical product are both called . Their threshold is the same, but derived quantities are not: the fraction of control needed on one leg is , not . Always say which form you use.
- Units in . With frequency-dependent transmission , has no factor . With density-dependent transmission , the entry is , so grows with the population size.
- Signs in . must have the transfers into a class as negative off-diagonal entries. If has a negative entry, the split is wrong or a condition fails.
Exercises
- SIR with deaths. Infected individuals die at rate and recover at rate . Show that . (Answer: one infected class, , .)
- Two symmetric groups. Show that has with eigenvector , and that both column sums are 3. (Answer: when all column sums are equal, equals that sum.)
- The square of a two-leg matrix. For with , show that , so .
- Two stages of infection. Infected individuals pass through I1 (rate ) and then I2 (rate ), with transmission rates and . Show that . (Answer: has the first row and zeros below, , and .)
- The shift. Show that for a non-negative matrix and , , and that is primitive when is irreducible.
References
- O. Diekmann, J. A. P. Heesterbeek and J. A. J. Metz, On the definition and the computation of the basic reproduction ratio R0 in models for infectious diseases in heterogeneous populations, Journal of Mathematical Biology 28(4), 1990, pages 365 to 382 (R0 as the dominant eigenvalue of the operator that maps one generation of cases to the next)
- P. van den Driessche and James Watmough, Reproduction numbers and sub-threshold endemic equilibria for compartmental models of disease transmission, Mathematical Biosciences 180(1-2), 2002, pages 29 to 48 (the split into F and V, the conditions on the split, R0 = rho(F V^(-1)), Theorem 2 on the stability of the disease-free equilibrium, and the examples, among them a vector-host model)
- O. Diekmann, J. A. P. Heesterbeek and M. G. Roberts, The construction of next-generation matrices for compartmental epidemic models, Journal of the Royal Society Interface 7(47), 2010, pages 873 to 885 (a recipe for the matrix, the next-generation matrix with large domain and with small domain, and the link between R0 and the growth rate)
- P. van den Driessche, Reproduction numbers of infectious disease models, Infectious Disease Modelling 2(3), 2017, pages 288 to 303 (a review of the method with examples, and the square root in the R0 of vector-host models as a geometric mean of the two legs)
Where this leads
About this page
The build computes these levels from the evidence in the repository. Each row says what the next level needs. Read what the levels mean.
| Ladder | Level | What the next level needs |
|---|---|---|
| Human proof | H0 no proof |
|
| Lean | L0 no Lean part |
|
| Visual | V0 none |
|
| Writing | W2 basic |
|
Tag CJ2F7W Edit this page History Report an error Markdown