-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdisease.txt
814 lines (441 loc) · 19.2 KB
/
disease.txt
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
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
UNIT 7: Infectious disease
----------------------------------------------------------------------
SEC Introduction
----------------------------------------------------------------------
Infectious disease
Extremely common
Huge impacts on ecological interactions
A form of exploitation, but doesn't fit well into our previous
modeling framework
How many people are there?
How many influenza viruses are there?
How do they find each other?
----------------------------------------------------------------------
Disease agents
POLL free_text_polls/CCUi8ULHN5OBMlO Can you name an infectious agent that causes disease in humans?
Disease agents vary tremendously:
Most \textbf{viruses} have just a handful of genes that allow
them to hijack a cell and get it to make virus copies
ANS influenza virus, Ebola virus, HIV, measles
\textbf{Bacteria} are independent, free-living cells with
hundreds or thousands of chemical pathways
ANS Tuberculosis, anthrax, pertussis
\textbf{Eukaryotic} pathogens are nucleated cells who are more
closely related to you than they are to bacteria
ANS Malaria, various worms
----------------------------------------------------------------------
SSLIDE Influenza virus
FIG images/flu_virus.jpg
----------------------------------------------------------------------
SSLIDE Tuberculosis bacilli
FIG images/tb.jpg
----------------------------------------------------------------------
SSLIDE Malaria sporozoite
FIG images/sporozoite.jpg
----------------------------------------------------------------------
Microparasites
For infections with small pathogens (viruses and bacteria), we don't
attempt to count pathogens, but instead divide disease into stages
Latently infected
Productively infected
Recovered
----------------------------------------------------------------------
Microparasite models
We model microparasites by counting the number of hosts in various
\textbf{states}:
\textbf{Susceptible} individuals can become infected
\textbf{Infectious} individuals are infected and can infect others
\textbf{Resistant} individuals are not infected and cannot become
infected
More complicated models might include other states, such as
latently infected hosts who are infected with the pathogen but
cannot yet infect others
----------------------------------------------------------------------
Models as tools
BC
Models are the tools that we use to connect scales:
individuals to populations
single actions to trends through time
NC
SIDEFIG images/trans.jpg
SIDEFIG dd/ewmeas.Rout.pdf
EC
----------------------------------------------------------------------
TSEC Rate of spread
POLL free_text_polls/Bzr6gpzwQ5k1xR://www.polleverywhere.com/free_text_polls/r5O8ujpEfmdBcc0 For many diseases, especially new diseases, we can \emph{observe}
and \emph{estimate} $r$. What is r?
ANS the exponential rate of spread
POLL free_text_polls/NZAPJMsY64WCB5b Want to know what factors contribute to that, and how it relates to
\R. What is R?
ANS number of new cases per case
CHANGE CC: 1st poll wasn't working and replace answer of r by per capita growth rate (unit 1/t)
----------------------------------------------------------------------
Basic reproductive number
People in the disease field love to talk specifically about \Ro
But they don't always mean the same thing:
Actual value of \R\ before an epidemic
Hypothetical value assuming no immunity
Hypothetical value assuming no control efforts whatsoever
Often easier to talk simply about \R.
----------------------------------------------------------------------
Example: the West African Ebola epidemic
DOUBLEPDF ebola/liberia.npc.tsplot.Rout
CHANGE CC: Need to increase the size of axis (numbers + labels)
----------------------------------------------------------------------
Generation intervals
BC
Researchers try to estimate the \emph{proportion} of transmission
that happens for different \textbf{ages of infection}
How long from the time you are \emph{infected} to the time you
\emph{infect someone else}?
Analogous to a life table
The effective generation time $\hat G$ has units of time
NC
SIDEFIG generationTime.Rout-0.pdf
EC
CHANGE CC: put the SSLIDE Fighting Ebola picture here?
----------------------------------------------------------------------
Generation intervals
DOUBLEFIG generationTime.Rout-0.pdf generationTime.Rout-1.pdf
----------------------------------------------------------------------
Speed and risk
BC
Which is more dangerous, a fast disease, or a slow disease?
How are we measuring speed?
How are we measuring danger?
\emph{What do we already know?}
NC
SIDEFIG generationTime.Rout-0.pdf
EC
----------------------------------------------------------------------
SSLIDE Fighting Ebola
FIG images/burial_team.jpg
----------------------------------------------------------------------
Generation time and risk
If we know $\R$, what does the generation time tell us about $r$?
ANS The faster the generations (small $\hat G$), the faster the
exponential growth (large $r$)
If we know $r$, what does the generation time tell us about $\R$?
ANS The faster the generations (small $\hat G$), the the
\emph{smaller} the strength of the epidemic (small reproductive
number $\R$)
$\R = \exp(r \hat G)$
----------------------------------------------------------------------
RSLIDE Generation time and risk
FIG steps.Rout-0.pdf
----------------------------------------------------------------------
RSLIDE Generation time and risk
FIG steps.Rout-1.pdf
----------------------------------------------------------------------
Generation time and risk
DOUBLEPDF steps.Rout
----------------------------------------------------------------------
Generation time and risk
An intuitive view:
Epidemic speed = Generation speed $\times$ Generation strength
If we know generation speed, then a faster epidemic speed means:
ANS More strength required (greater $\R$)
If we know epidemic speed, a faster generation speed means
ANS Less strength required (smaller $\R$)
CHANGE CC: add the previous formula R = \exp(r \hat G)
----------------------------------------------------------------------
TSEC Single-epidemic model
WIDEFIG boxes/sir.np.three.pdf
Susceptible $\to$ Infectious $\to$ Recovered
We also use $N$ to mean the total population
----------------------------------------------------------------------
Transition rates
WIDEFIG boxes/sir.three.pdf
What factors govern movement through the boxes?
People get better independently
People get infected by infectious people
----------------------------------------------------------------------
Conceptual modeling
BC
POLL free_text_polls/DXEewMaDpNhiJyY What happens in the long term if we introduce an infectious individual?
ANS The \emph{may be} an \textbf{epidemic} -- an outbreak of
disease
ANS Disease burns out
ANS Everyone winds up either recovered or susceptible
ANS Not everyone gets infected!
NC
SIDEFIG boxes/sir.three.pdf
EC
----------------------------------------------------------------------
Interpreting
Why might there not be an epidemic?
ANS If the disease can't spread well enough in the population
ANS Demographic stochasticity: if we only start with one
individual, we expect an element of chance
Why doesn't everyone get infected?
NOANS
CHANGE How is this one resolved?
CHANGE CC: add environment as sub-reasons (influenza during summer)
----------------------------------------------------------------------
Implementing the model
BC
The {simplest} way to implement this conceptual
model is with differential equations:
$$\frac{dS}{dt} = - \beta \frac{SI}{N} $$
$$\frac{dI}{dt} = \beta \frac{SI}{N}- \gamma I $$
$$\frac{dR}{dt} = \gamma I $$
NC
SIDEFIG boxes/sir.three.pdf
EC
----------------------------------------------------------------------
Quantities
CLASS WIDEFIG boxes/sir.three.pdf
State variables
$S, I, R, N$: [people] or [people/ha]
CHANGE CC: Stop here on March 30
----------------------------------------------------------------------
CONT Quantities
Parameters
Susceptible people have \textbf{potentially effective} contacts at rate
$\beta$ (units [1/time])
These are contacts that would lead to infection if the person
contacted is infectious
Total infection rate is $\beta I/N$, because $I/N$ is the
proportion of the population infectious
Infectious people recover at \emph{per capita}
rate $\gamma$ (units [1/time])
Total recovery rate is $\gamma I$
Mean time infectious is $D = 1/\gamma$ (units [time])
----------------------------------------------------------------------
RSLIDE Simulating the model
DOUBLEPDF sims/burnout.plots.Rout
----------------------------------------------------------------------
Simulating the model
DOUBLEFIG sims/burnouts.plots.Rout-0.pdf sims/burnouts.plots.Rout-4.pdf
----------------------------------------------------------------------
Basic reproductive number
POLL free_text_polls/Dx8yk5UQrFPOJq0 What \emph{unitless} parameter can you make from the model above?
What unitless parameter can you make?
ANS $\Ro = \beta D = \beta/\gamma$ is the \textbf{basic
reproductive number}
ANS The \emph{potential} number of infections caused by an
average infectious individual
ANS That is: the number they would cause on average if
everyone else were susceptible
CHANGE CC: good idea to write the def/unit of the variables on the board
----------------------------------------------------------------------
Basic reproductive number implications
POLL free_text_polls/Gj5tDb3y6grYJzG What happens early in the epidemic if $\Ro>1$?
What happens early in the epidemic if Ro>1?
ANS Number of infected individuals grows exponentially
What happens early in the epidemic if $\Ro<1$?
ANS Number of infected individuals cannot grow (disease cannot
invade)
CHANGE CC: Perhaps consider to also have the 2nd one as a poll too (only 1 person was willing to participate)
----------------------------------------------------------------------
Effective reproductive number
The effective reproductive number gives the number of new infections
per infectious individual in a partially susceptible population:
ANS $\Reff = \Ro S/N$
Is the disease increasing or decreasing?
ANS It will increase when $\Reff > 1$ (more than one case per case)
ANS This happens when $S/N > 1/\Ro$
Why doesn't everyone get infected?
ANS When susceptibles are low enough $\Reff<1$
ANS When $\Reff<1$, the disease dies out on its own (less than one case per case)
CHANGE CC: perhaps for next year consider to have the boxes plots (or have it small on slides where you are referring to it) (you drew it later for TSS Epidemic size but probably usefull to also have it earlier)
----------------------------------------------------------------------
TSS Epidemic size
In this model, the epidemic always burns out
No source of new susceptibles
Epidemic size is determined by:
ANS \Ro -- larger \Ro\ leads to a bigger epidemic
ANS The number of susceptibles at the beginning of the epidemic
ANS More susceptibles leads to a bigger epidemic
ANS \ldots and \emph{fewer} susceptibles at the end
CHANGE CC: probably add the number of sick people at the beginning as the 3rd factor
----------------------------------------------------------------------
Overshoot
BC
Why does more susceptibles at the beginning mean fewer susceptibles at the
end?
ANS Bigger epidemic $\implies$
ANS More infections at peak (same number of susceptibles) $\implies$
ANS More infections after peak \ldots
CHANGE CC: For answer: need more steps / more details
NC
SIDEFIG sims/burnouts.plots.Rout-4.pdf
EC
----------------------------------------------------------------------
Ebola example
BC
In September, the US CDC predicted ``as many as'' 1.5 million Ebola
cases in Liberia by January
In fact, their model predicted many \emph{more} cases than that by April
What happened?
NC
SIDEFIG ebola/liberia.npc.tsplot.Rout
EC
----------------------------------------------------------------------
What limits epidemics?
POLL free_text_polls/Ww28eOlRUK8f5I2 What limits epidemics in our simple models?
ANS Depletion of susceptibles
POLL free_text_polls/GBZdsyZ88grHUbJ What else limits epidemics in real life?
ANS Interventions
ANS Behaviour change
ANS Heterogeneity (differences between hosts, locations, etc.)
CHANGE CC: Stop here on March 31st
----------------------------------------------------------------------
TSEC Recurrent epidemic models
BC
POLL free_text_polls/lkgsFIpMHpl8V7F
If epidemics tend to burn out, why do we often see repeated
epidemics?
ANS People might lose immunity
ANS Births and deaths
NC
SIDEFIG dd/ewmeas.Rout.pdf
EC
CHANGE CC: add more details for the ans
----------------------------------------------------------------------
Recurrent epidemics
FIG dd/ewmeas.Rout.pdf
----------------------------------------------------------------------
Closing the circle
WIDEFIG boxes/sirs.four.pdf
ANS Loss of immunity
----------------------------------------------------------------------
Closing the circle
WIDEFIG boxes/sirbd.four.pdf
ANS Births and deaths
ANS Effect on dynamics is similar to loss of immunity
----------------------------------------------------------------------
Births and deaths
BC
$$\frac{dS}{dt} = b N - \beta \frac{SI}{N} - d S$$
$$\frac{dI}{dt} = \beta \frac{SI}{N}- \gamma I -d I $$
$$\frac{dR}{dt} = \gamma I - d R$$
We often assume $b=d$
$\implies$ population is constant
NC
SIDEFIG boxes/sirbd.four.pdf
EC
----------------------------------------------------------------------
Equilibrium
At equilibrium, we know that $\Reff=1$
One case per case
Number of susceptibles at equilibrium determined by the number required
to keep infection in balance
$S/N = 1/\Ro$
ANS Reciprocal control!
----------------------------------------------------------------------
CONT Equilibrium
Number of infectious individuals determined by number required to keep susceptibles in balance.
As susceptibles go up, what happens?
Per capita replenishment goes down
Infections required goes down
----------------------------------------------------------------------
Reciprocal control
What happens if we protect susceptibles (move them to $R$ class)?
ANS Equation for $dI/dt$ does not change
ANS Number of susceptibles does not change
ANS Fewer susceptibles need to be removed by infection (some are removed
by us)
ANS Number of infectious individuals goes down
What else could happen?
ANS If we remove susceptibles fast enough, infection could go extinct
ANS If we keep increasing the rate \ldots
ANS Number of susceptibles goes down
CHANGE CC: add that it is at the equilibrium?
----------------------------------------------------------------------
Reciprocal control
POLL free_text_polls/UaSJBaSOoy0rOKi What happens if we remove infectious individuals at a constant rate (find them and cure them or isolate them)?
What happens if we remove infectious individuals at a constant rate?
ANS We need more susceptibles to balance $dI/dt$
ANS If we have more susceptibles, then per capita replenishment goes down
ANS So the number of infectious individuals required for balance goes
down
ANS If we remove infectious individuals fast enough, the infection could
go extinct
----------------------------------------------------------------------
Tendency to oscillate
DOUBLEPDF sims/recurrent.plots.Rout
----------------------------------------------------------------------
Tendency to oscillate
``Closed-loop'' SIR models (ie., with births or loss of immunity):
Tend to oscillate
Oscillations tend to be damped
System reaches an \textbf{endemic} equilibrium -- disease
persists
----------------------------------------------------------------------
Source of oscillations
Similar to predator-prey systems
What happens if we start with too many susceptibles?
ANS There will be a big epidemic
ANS \ldots then a very low number of susceptibles
ANS \ldots then a very low level of disease
ANS \ldots then an increase in the number of susceptibles
----------------------------------------------------------------------
Persistent oscillations
BC
POLL free_text_polls/qvMZLezBsM69b21 If oscillations tend to be damped in simple models, why do they
persist in real life?
ANS Weather
ANS School terms
ANS Demographic stochasticity
ANS Changes in Behaviour
ANS People are more careful when disease levels are high
NC
SIDEFIG dd/ewmeas.Rout.pdf
EC
CHANGE CC: ANS seasonality (add/change compared to weather?)?
----------------------------------------------------------------------
TSEC Reproductive numbers and risk
At equilibrium, the proportion of people who are susceptible to
disease should be approximately $S/N = 1/\Ro$
Proportion ``affected'' (infectious or immune) should be
approximately $V/N = 1-1/\Ro$
If you have a single, fast epidemic, the size is also predicted by
\Ro.
----------------------------------------------------------------------
Reproductive numbers and risk
DOUBLEFIG sims/fs.Rout-1.pdf sims/fs.Rout-0.pdf
CHANGE CC: Go slower when you draw the plots on the board: V/N vs R0 and I vs S (for the last one also explain more what are the loops)
----------------------------------------------------------------------
Examples
Ronald Ross predicted 100 years ago that reducing mosquito densities
by a factor of 5 or so would \emph{eliminate} malaria
Gradual disappearance of polio, typhoid, etc., without risk factors
going to zero
Eradication of smallpox!
----------------------------------------------------------------------
Threshold for elimination
What proportion of the population should be vaccinated to eliminate
a disease?
ANS Transmission should be reduced by a factor of $\R$, so a
fraction $1-1/\R$ should be vaccinated
CHANGE CC: add "at least" (+ can also be killing mosquito or other stuff to decrease the repro of virus…)
----------------------------------------------------------------------
Examples:
Polio has an $\Ro$ of about 5.
POLL free_text_polls/rpnF77L9UWWOEki What proportion of the population
should be vaccinated to eliminate polio?
ANS At least 1-1/5 = 80%
Measles has an $\Ro$ of about 20. What proportion of the population
should be vaccinated to eliminate measles?
ANS At least 1-1/20 = 95%
----------------------------------------------------------------------
Persistence of infectious disease
Why have infectious diseases persisted?
The pathogens \emph{evolve}
Human populations are \textbf{heterogeneous}
People differ in: nutrition, exposure, access to care
Information and misinformation
Vaccine scares, trust in health care in general
----------------------------------------------------------------------
Heterogeneity and persistence
Heterogeneity \emph{increases} \Ro
When disease is rare, it is concentrated in the most vulnerable
populations
Cases per case is high
Elimination is harder
Marginal populations
Heterogeneity could make it easier to concentrate on the most
vulnerable populations and eliminate disease
Humans rarely do this, however: the populations that need the
most support typically have the least access