-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstoch-fitting-v1.tex
More file actions
124 lines (105 loc) · 6.19 KB
/
Copy pathstoch-fitting-v1.tex
File metadata and controls
124 lines (105 loc) · 6.19 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
\begin{tikzpicture}[node distance=2.0 cm]
\node[susceptible] (S) {$S$};
\node[exposed] (L1) [right of=S] {$L_1$};
\node[exposed] (L2) [right of=L1] {$L_2$};
\node[exposed] (L3) [right of=L2] {$L_3$};
\node[exposed] (L4) [right of=L3] {$L_4$};
\node[infectious] (Isu1) [right= 3cm of L4] {$I_{su_1}$};
\node[infectious] (Isu2) [right of=Isu1] {$I_{su_2}$};
\node[infectious] (Isu3) [right of=Isu2] {$I_{su_3}$};
\node[infectious] (Isu4) [right of=Isu3] {$I_{su_4}$};
\node[asymptomatic] (Ia1) [above=2cm of Isu1] {$I_{a_1}$};
\node[asymptomatic] (Ia2) [right of=Ia1] {$I_{a_2}$};
\node[asymptomatic] (Ia3) [right of=Ia2] {$I_{a_3}$};
\node[asymptomatic] (Ia4) [right of=Ia3] {$I_{a_4}$};
\node[infectious, marked] (Isd1) [below= 2cm of Isu1] {$I_{sd_1}$};
\node[infectious, marked] (Isd2) [right of=Isd1] {$I_{sd_2}$};
\node[infectious, marked] (Isd3) [right of=Isd2] {$I_{sd_3}$};
\node[infectious, marked] (Isd4) [right of=Isd3] {$I_{sd_4}$};
\node[diagnosed] (C1) [right of=Isd4] {$C_1$};
\node[diagnosed] (C2) [right of=C1] {$C_2$};
\node[diagnosed] (C3) [right of=C2] {$C_3$};
\node[diagnosed] (C4) [right of=C3] {$C_4$};
\node[hospitalized] (H1) [right of=C4] {$H_1$};
\node[hospitalized] (H2) [right of=H1] {$H_2$};
\node[hospitalized] (H3) [right of=H2] {$H_3$};
\node[hospitalized] (H4) [right of=H3] {$H_4$};
\node[deceased] (D) [right of=H4] {$D$};
\node[recovered] (R) [above= 2cm of D] {$R$};
\path [->]
(S) edge node[above] {$f(t)S$} (L1)
(L1) edge node[above] {$\gamma_L L_1$} (L2)
(L2) edge node[above] {$\gamma_L L_2$} (L3)
(L3) edge node[above] {$\gamma_L L_3$} (L4)
(L4) edge [out=90,in=-180] node[sloped, above] {$\gamma_L L_4 a$} (Ia1)
(L4) edge node[sloped, below = -.5cm] {$\gamma_L L_4 (1-a)(1-q(t))$} (Isu1)
(L4) edge [out=-90,in=-180] node[sloped, below = -.5cm] {$\gamma_L L_4 (1-a)q(t)$} (Isd1)
(Ia1) edge node[above] {$\gamma_{I_a} I_{a_1}$} (Ia2)
(Ia2) edge node[above] {$\gamma_{I_a} I_{a_2}$} (Ia3)
(Ia3) edge node[above] {$\gamma_{I_a} I_{a_3}$} (Ia4)
(Ia4) edge [out=0,in=135] node[above] {$\gamma_{I_a} I_{a_4}$} (R)
(Isu1) edge node[above] {$\gamma_{I_{su}} I_{su_1}$} (Isu2)
(Isu2) edge node[above] {$\gamma_{I_{su}} I_{su_2}$} (Isu3)
(Isu3) edge node[above] {$\gamma_{I_{su}} I_{su_3}$} (Isu4)
(Isu4) edge [out=0,in=165] node[above] {$\gamma_{I_{su}} I_{su_4}$} (R)
(Isd1) edge node[below] {$\gamma_{I_a} I_{su_1}$} (Isd2)
(Isd2) edge node[below] {$\gamma_{I_a} I_{su_2}$} (Isd3)
(Isd3) edge node[below] {$\gamma_{I_a} I_{su_3}$} (Isd4)
(Isd4) edge node[below = .25] {$\gamma_{I_a} I_{su_4}$} (C1)
(C1) edge node[below] {$\frac{\gamma_C C_1}{s(t}$} (C2)
(C2) edge node[below] {$\frac{\gamma_C C_2}{s(t}$} (C3)
(C3) edge node[below] {$\frac{\gamma_C C_3 h}{s(t}$} (C4)
(C4) edge node[below = .25] {$\frac{\gamma_C C_4 (1 - h)}{s(t}$} (H1)
(C4) edge [out=45,in=195] node[above] {$\gamma_{I_a} I_{su_4}$} (R)
(H1) edge node[below] {$\gamma_H H_1$} (H2)
(H2) edge node[below] {$\gamma_H H_2$} (H3)
(H3) edge node[below] {$\gamma_H H_3$} (H4)
(H4) edge node[below] {$\gamma_H H_4 m(t)$} (D)
(H4) edge [out=45,in=-135] node[right] {$\gamma_H H_4 (1-m(t))$} (R)
;
% annotations with invisible edges line
\path
(S) edge[invisible] node[above = .5cm] {infection} (L1)
(L4) edge[invisible] node[above left = 3cm and .25 cm] {incubation} (Isu1)
(Ia4) edge [invisible, out=0,in=135] node[above = .5cm] {recovery} (R)
(Isu4) edge[invisible, out=0,in=165] node[above = .5cm] {recovery} (R)
(Isd4) edge[invisible] node[below= .75cm] {diagnosis} (C1)
(C4) edge[invisible] node[below= .5cm] {hospitalization} (H1)
(C4) edge[invisible, out=45,in=195] node[above, near start] {recovery} (R)
(H4) edge[invisible] node[below= 1cm] {death} (D)
;
% groups
\begin{pgfonlayer}{background}
\filldraw[stategroup, exposed]
(L1.south west) rectangle (L4.north east);
\filldraw[stategroup, infectious]
(Ia1.south west) rectangle (Ia4.north east);
\filldraw[stategroup, infectious]
(Isu1.south west) rectangle (Isu4.north east);
\filldraw[stategroup, infectious]
(Isd1.south west) rectangle (Isd4.north east);
\filldraw[stategroup, diagnosed]
(C1.south west) rectangle (C4.north east);
\filldraw[stategroup, hospitalized]
(H1.south west) rectangle (H4.north east);
\end{pgfonlayer}
% group annotations
\node [grouplabel, color=susceptible.color] at (S)
{\textsc{susceptible}};
\node [grouplabel, color=exposed.color] at (L2)
{\begin{LARGE}$L$\end{LARGE}~~~\textsc{latent}};
\node [grouplabel, color=infectious.color, above=-.25] at (Ia2)
{\begin{LARGE}$I_a$\end{LARGE}~~~\textsc{asymptomatic}};
\node [grouplabel, color=infectious.color, above=-1.5] at (Isu2)
{\begin{LARGE}$I_{su}$\end{LARGE}~~~\textsc{symptomatic undetected}};
\node [grouplabel, color=infectious.color, above=-1.25] at (Isd2)
{\begin{LARGE}$I_{sd}$\end{LARGE}~~~\textsc{symptomatic detected}};
\node [grouplabel, color=diagnosed.color, above = -.5] at (C2)
{\begin{LARGE}$C$\end{LARGE}~~~\textsc{diagnosed diagnoseds}};
\node [grouplabel, color=hospitalized.color, above = -.25] at (H2)
{\begin{LARGE}$H$\end{LARGE}~~~\textsc{hospitalized}};
\node [grouplabel, color=recovered.color, above = .25] at (R)
{\textsc{recovered}};
\node [grouplabel, color=deceased.color, above = 0] at (D)
{\textsc{deceased}};
\end{tikzpicture}