Skip to content

Commit 92d486a

Browse files
committed
connecting the primer example with the ngm model use in this repo
1 parent 09364b4 commit 92d486a

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

docs/primer.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -110,12 +110,11 @@ From here we can decompose the system into transmission and transition component
110110
\end{array}\right)
111111
$.
112112

113-
Then the NGM $K$ can be computed as $K = -E'T\Sigma^{-1}E = \frac{1}{\gamma}\boldsymbol{\beta}$. This matches intuition that the number of new infections generated in group $i$ by an average infected individual in group $j$ should be $\beta_{ij}$ rescaled by the generation interval $\gamma^{-1}$.
114-
115-
116-
113+
Then the NGM $K$ can be computed as $K = -E'T\Sigma^{-1}E = \frac{1}{\gamma}\boldsymbol{\beta}$.
117114

115+
## NGM model in this repository
118116

117+
In this repository we utilized an NGM to model consecutive generations of new infections. In this case we made the simplifying assumptions that infections last exactly one generation and that generations have not overlap. The NGM can then be rescaled by the generation interval $\gamma^{-1}$ to be $K = \boldsymbol{\beta'}$, where the elements $\beta'_{ij}$ are the average number of new infections generated by an typical infected individual in group $j$ in group $i$ per generation.
119118
<!-- New infections in the high-risk group can be modeled as $\beta'_{HH}S_H I_H + \beta'_{HL}S_H I_L$, where $\beta'_{ij}$ is the number of infections generated by group $j$ in group $i$. Similarly, new infections in the low-risk group can be modeled as $\beta'_{LH}S_L I_H + \beta'_{LL}S_L I_L$. Assuming infectious individuals recover at some average constant rate $\gamma$ , we can write the differential equation for the infectious states as -->
120119

121120
<!-- $\frac{dI_H}{dt} = \beta'_{HH}S_H I_H + \beta'_{HL}S_H I_L - \gamma I_H$ -->

0 commit comments

Comments
 (0)