Skip to content

Commit 2fa8026

Browse files
committed
shortend the explanation of contact matrix.
1 parent c9fbb94 commit 2fa8026

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

episodes/contact-matrices.Rmd

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -59,15 +59,15 @@ $$
5959
\end{bmatrix}
6060
$$
6161

62-
In this example, we would use this to represent that children meet, on average, 2 other children and 2 adult per day (first row), and adults meet, on average, 1 child and 3 other adults per day (second row). We can use this kind of information to account for the role heterogeneity in contact plays in infectious disease transmission.
62+
In this example, we would use this to represent that children meet, on average, 2 other children and 2 adult per day (first row), and adults meet, on average, 1 child and 3 other adults per day (second row). We can use this kind of information to account for the role that heterogeneity in contact plays in infectious disease transmission.
6363

6464
::::::::::::::::::::::::::::::::::::: callout
6565

6666
### A Note on Notation
67-
For a contact matrix with rows $i$ and columns $j$:
67+
In a contact matrix, the entry $C[i,j]$, at row $i$ and column $j$:
6868

69-
- $C[i,j]$ represents the average number of contacts that individuals in group $i$ have with individuals in group $j$
70-
- This average is calculated as the total number of contacts between groups $i$ and $j$, divided by the number of individuals in group $i$
69+
- Represents the average number of contacts an individual in group $i$ has with individuals in group $j$
70+
- This is calculated by dividing the total number of contacts between groups $i$ and $j$ by the size of group $i$
7171
::::::::::::::::::::::::::::::::::::::::::::::::
7272

7373
## Using `socialmixr`

0 commit comments

Comments
 (0)