You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: episodes/contact-matrices.Rmd
+4-6Lines changed: 4 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -113,9 +113,9 @@ contacts_byage
113
113
114
114
115
115
116
-
**Note: although the contact matrix `contacts_byage$matrix` is not itself mathematically symmetric, it satisfies the condition that the total number of contacts of one group with another is the same as the reverse. In other words:
116
+
**Note**: although the contact matrix `contacts_byage$matrix` is not itself mathematically symmetric, it satisfies the condition that the total number of contacts of one group with another is the same as the reverse. In other words:
For the mathematical explanation see [the corresponding section in the socialmixr documentation](https://epiforecasts.io/socialmixr/articles/socialmixr.html#symmetric-contact-matrices).**
118
+
For the mathematical explanation see [the corresponding section in the socialmixr documentation](https://epiforecasts.io/socialmixr/articles/socialmixr.html#symmetric-contact-matrices).
119
119
120
120
121
121
::::::::::::::::::::::::::::::::::::: callout
@@ -220,8 +220,6 @@ Contact matrices can be estimated from data obtained from diary (such as POLYMOD
220
220
::::::::::::::::::::::::::::::::::::::::::::::::
221
221
222
222
223
-
224
-
225
223
## Analyses with contact matrices
226
224
227
225
Contact matrices can be used in a wide range of epidemiological analyses, they can be used:
@@ -244,7 +242,7 @@ Whereas a contact matrix gives the average number of contacts that one groups ma
244
242
245
243
### In mathematical models
246
244
247
-
Consider the SIR model where individuals are categorized as either susceptible $S$, infected but not yet infectious $E$, infectious $I$ or recovered $R$. The schematic below shows the processes which describe the flow of individuals between the disease states $S$, $I$ and $R$ and the key parameters for each process.
245
+
Consider the SIR model where individuals are categorized as either susceptible $S$, infected $I$ and recovered $R$. The schematic below shows the processes which describe the flow of individuals between the disease states $S$, $I$ and $R$ and the key parameters for each process.
248
246
249
247
```{r diagram, echo = FALSE, message = FALSE}
250
248
DiagrammeR::grViz("digraph {
@@ -289,7 +287,7 @@ To add age structure to our model, we need to add additional equations for the i
289
287
290
288
$$ \beta S_i \sum_j C_{i,j} I_j/N_j. $$
291
289
292
-
Susceptible individuals in age group $i$ become infected dependent on their rate of contact with individuals in each age group. For each disease state ($S$, $E$, $I$ and $R$) and age group ($i$), we have a differential equation describing the rate of change with respect to time.
290
+
Susceptible individuals in age group $i$ become infected dependent on their rate of contact with individuals in each age group. For each disease state ($S$, $I$ and $R$) and age group ($i$), we have a differential equations describing the rate of change with respect to time.
0 commit comments