Decomposition of State-Dependent Rates
The vast majority of compartmental models contain flows that depend on the states of compartments that are not directly involved in those flows. For example, the magnitude of the flow from compartment A to compartment B could depend on another compartment, C. The most important example of these dependencies is infection, and so we use the terminology from infection processes. However, our model will subsume a very large number of flows as special cases.
Let and be subsets of the state vector. The length- vector contains the from-compartments – typically the compartments that are susceptible to infection – for a set of flows. The length- vector contains compartments – typically the infectious compartments – that affect these flows. The components of do not need to affect all components of but they do need to affect some of them. Note that we do not keep track of the to-compartments in these flows because they do not matter (I think).
We define the -by- transmission matrix as the following decomposition.
This decomposition involves the following terms.
- – length- vector of susceptibilities for each state
- – -by- matrix of contacts between each and state
- – length- vector of infectivities for each state
An alternative way to write the transmission matrix decomposition – that I prefer because it is a more accurate representation of the actual computations – is using element-wise operations. If is the element-wise product then we have the following.
In this expression the column vector is element-wise multiplied by each column in , and each row in this product is element-wise multiplied by the row vector , where is the matrix transpose operator.
The vector containing the per-capita flow rates out of each of the states is the following.
This vector is often called the force of infection.
And finally the absolute flow rates out of each of the states is the following.
Example – SIR
The
vector contains a single state, S
, and
contains only I
. In this case both
and
are 1, and so all components are 1-by-1 as follows.
- – susceptibility
- – contact matrix
- – infectivity
Therefore we have the following transmission matrix, per-capita flow rate vector, and absolute flow rate vector.
In this overly simple but hopefully clarifying example we could have decided to put and in any of the components, , , or . The point is that we have a somewhat mechanistic and somewhat general decomposition of transmission, so that when we start working with more complex models by combining model modules (e.g. combining SEIR with age and spatial structure) we have a way to conveniently combine these modules so that the resulting transmission rates make mechanistic sense.
Product Models
Now we consider two models, each with the following triples representing the transmission decomposition.
Note that these subscripts represent the model, not the components of these vectors and matrices. The dimensions of the two models is and .
Taking the product of these two models results in the following triple.
Where is the Kronecker product. This leads to an -by-1 column vector, , -by- matrix, , and -by-1 column vector .
We also have and to combine into and . Before doing this we need to make a distinction between factor models with transmission and those without. For example, the SIR model clearly has transmission, but a factor model with just age groups does not. Because a pure age model does not distinguish between infectious and susceptible people, the only process that it considers is aging. Nevertheless when the age model becomes combined with a model that does have transmission, we want it to be ready for being combined.
To make an age model – or any other factor model without transmission – ready to be combined with a model that includes transmission we need to do two things. First we need to account for the fact that some or all states may appear in both and (e.g. young people can be both infectious and susceptible). Second we need to include parameters that are not used in the factor model’s processes but that will be used when it is combined with a model that includes transmission (e.g. an age model needs to have a contact matrix even though contact processes do not affect aging, which is the only process in the age model). The next example illustrates these ideas.
Example – SIR times age
We take the product of the SIR model above with a two-age-group factor model. The components of the transmission decomposition for this particular age-group factor model is as follows.
- susceptibility:
- contact matrix:
- infectivity:
Here is the probability that any given contact is between individuals of the same age. This is a symmetric contact matrix, but we didn’t need to do that. We have also decided to not have susceptibility depend on age, but we absolutely could have by parameterizing that vector.
It is a little odd to refer to this as a decomposition of transmission, because the age-only model contains only aging processes and does not include transmission. However, including the transmission decomposition is necessary to prepare this model for combination with a model with transmission.
Taking the product of this age model with the SIR model above we have the following transmission decomposition.
- susceptibility:
- contact matrix:
- infectivity:
In this product model
contains I.young
and I.old
and
contains S.young
and S.old
.
The transmission matrix can be obtained by multiplying the three components of the decomposition as follows.
The force of infection vector is then the product of and
Example – SIR with multiple I-boxes times age
This example SIR model has susceptible class and infectious classes – mild and severe – with the following transmission decomposition.
- susceptibility:
- contact matrix:
- infectivity:
Multiplying this decomposition by the age model above (in that order) gives the following model with susceptible compartments and infectious compartments.
- susceptibility:
- contact matrix:
- infectivity:
The non-square contact matrix might seem weird, but it is fine because it is modelling contacts between the two susceptible classes with the four infectious classes.
One could write out the -by- transmission matrix, but I don’t think it would be too informative. What would be more informative would be to write out a component of the force of infection vector, say for young people.
The first term, for example, gives the contribution to the force of infection due to contacts between young susceptible individuals and mildly infected young individuals.
Example – SIR with multiple I-boxes and partial immunity times age
We are starting to approach ‘real’ models now. This SIR model has an
R box that can now flow back into I, because the immunity gained through
infection and recovery is imperfect. This model feature means that the
vector has two states, S
and R
, and so
.
The
vector contains I_mild
and I_severe
, and so
as well. The transmission decomposition looks like this.
- susceptibility:
- contact matrix:
- infectivity:
Here is the efficacy of immunity against reinfection.
The product of this model with age looks like this.
- susceptibility:
- contact matrix:
- infectivity:
The force of infection for young individuals in the R box, for example, is given by the following expression
Note that this is almost identical to the expression for above, but with a factor, , giving the reduction in transmission conferred by immunity.
Example
Assume we have an SI model times a young-old model.
Variables.csv
Epi, Age
S, young
I, young
S, old
I, old
susceptibility,
contact
Bookkeeping (in progress)
Index each element of with and each element of with .
We can define the per-capita rate at which individuals flow out of the compartment with the following decomposition.
The components of the decomposition are as follows.
- : susceptibility (e.g. complement of vaccine efficacy)
- : force of infection
With this definition, the absolute rate of flow out of is given by .
The force of infection is.