-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathintro.txt
More file actions
1327 lines (685 loc) · 29 KB
/
intro.txt
File metadata and controls
1327 lines (685 loc) · 29 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
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
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
BIO3SS3: Population Ecology
----------------------------------------------------------------------
EXTRA
Update spreadsheet link
----------------------------------------------------------------------
UNIT 1: Introduction
----------------------------------------------------------------------
SEC Course overview
----------------------------------------------------------------------
SS Course structure
----------------------------------------------------------------------
Communication
Lecture notes for each section will be available the afternoon
before you need them
Check Avenue frequently for announcements and new information
The professor is Jonathan Dushoff
Contact via forum on Avenue
CLASS or email
NOTES or email dushoff@mcmaster.ca
----------------------------------------------------------------------
Expectations of professor
Start and end on time
Focus on conceptual understanding
Make clear what terminology and facts must be learned
Open to questions -- in class (within reason); office hours; forum
----------------------------------------------------------------------
Expectations of students
Start and end on time
Don't talk while other students are talking, or while I am
responding to student questions
If you must talk at other times, be unobtrusive
Don't use the internet for non-class activities
Attend the lecture, and the mandatory tutorials
----------------------------------------------------------------------
Texts
The primary text for this course is the lecture notes
Additional resources will be shared through Avenue
----------------------------------------------------------------------
Structure of presentation
Required material will be clearly outlined in the notes
ANS This is an answer: it was omitted from the notes for
discussion purposes, you should probably write it in
COMMENT This is a comment: I omitted from the notes because I
thought it wasn't necessary for you to study. If you write it
in, make a note to yourself that it's a comment.
Required terminology will be presented in {\bf bold}
General ideas and approaches presented in class may also be required;
you should take notes on these in your own words
----------------------------------------------------------------------
Taking notes
You will do best if you take notes
You should know by now what works for you
Or else that you need to keep working on it
If a new concept is making sense to you right now, write something
that will help you remember
If there's something specific I think you all need to write down, I will
write it for you (or mark it as an answer)
----------------------------------------------------------------------
Polling
POLL Why are you taking this class? Fits my career plans; Prerequisite for another course; Need a biology elective; Fits my schedule; Interested in ecology; Interested in quantitative biology
----------------------------------------------------------------------
SS People
----------------------------------------------------------------------
Dushoff
Loves math
Lived in four countries
Studies evolution and spread of infectious diseases
HIV, rabies, ebola, influenza, \ldots
SHORTCLASS See notes for more info
NOTES HLINK https://mac-theobio.github.io/dushoff.html
NOTES HLINK https://twitter.com/jd_mathbio
----------------------------------------------------------------------
PSLIDE Pythagorean triples
HIGHFIG webpix/pythagoras.pdf
----------------------------------------------------------------------
PSLIDE Which country?
WIDEFIG webpix/independenceHall.jpg
--------------------------------------------------------------------
PSLIDE Which country?
WIDEFIG webpix/mantenga.jpg
--------------------------------------------------------------------
PSLIDE Which country?
WIDEFIG webpix/101.jpg
--------------------------------------------------------------------
PSLIDE Which country?
WIDEFIG webpix/timHamilton.jpg
----------------------------------------------------------------------
PSLIDE Disease research
WIDEFIG my_images/weitz_full.pdf
----------------------------------------------------------------------
PSLIDE Disease research
FIG my_images/macFeb21pre.png
----------------------------------------------------------------------
PSLIDE Disease research
FIG my_images/macFeb21pre.png
----------------------------------------------------------------------
PSLIDE Disease research
FIG my_images/macFeb21res.png
----------------------------------------------------------------------
EXTRA PSLIDE TAs
FIG my_images/mysteryTAs.png
----------------------------------------------------------------------
PSLIDE TAs
BCC
CFIG webpix/tate.png
NCC
CFIG webpix/weeknd.jpg
EC
----------------------------------------------------------------------
PSLIDE Students
POLL What year are you in? First; Second; Third; Fourth; other
POLL What kind of career are you aiming for? Health care or medicine; Government or public health; Research; Teaching; Corporate; Entrepreneur or small business; Other
----------------------------------------------------------------------
SEC Course content
----------------------------------------------------------------------
TSS Learning goals
Ecology and population ecology
Quantitative thinking
Dynamical modeling
----------------------------------------------------------------------
Ecology
POLL What is ecology?
My answer
ANS The study of how organisms interact with each other and with
the environment
ANS Studying ecology is not the same as protecting the environment
ANS But it can help if you want to protect the environment
----------------------------------------------------------------------
Population ecology
POLL What is population ecology?
My answer
ANS The study of how organisms interact with each other and with
the environment at the population scale
ANS Larger spatial scale, longer temporal scale
ADD Used to be here: We use ...
----------------------------------------------------------------------
Dynamical modeling
BC
We use \emph{dynamical models} to link from the individual level to the population level
Investigates the links between local, short-term processes, and
large-scale, long-term outcomes
Allows us to explore what assumptions we're making, and how
assumptions affect the link
NC
SIDEFIG webpix/touching.jpg
SIDEFIG webpix/ew_measles.png
EC
----------------------------------------------------------------------
Math
Population ecology uses math
Math is a critical tool for linking processes to outcomes
Math will play a central role in the course
We will keep it {\em simple}
But we understand that simple does not always mean easy
MATREF math.handouts.pdf Review the math supplement
----------------------------------------------------------------------
Humans and abstract thought
BC
People are evolved to be concrete thinkers, not conceptual thinkers
A goal of this course is to build conceptual thinking skills
NC
SIDEFIG webpix/hockey.jpg
SIDEFIG webpix/emc.png
EC
----------------------------------------------------------------------
SS Examples
----------------------------------------------------------------------
Malaria
BC
A nasty, mosquito-borne disease
In some places (e.g., the southeastern US), it has been eradicated
almost by accident
Mosquitoes are still present
In other places it persists at high levels despite concerted
efforts at elimination
\emph{What factors determine when and where malaria spreads?}
NC
SIDEFIG webpix/us_malaria_1935.jpg
EC
----------------------------------------------------------------------
Red squirrels
BC
Red squirrels are rapidly disappearing from England
Loss of suitable habitat?
Competition from gray squirrels introduced from North America?
Diseases carried by gray squirrels?
NOTES HLINK http://en.wikipedia.org/wiki/Eastern_grey_squirrels_in_Europe
NC
SIDEFIG webpix/red_squirrel.jpg
SIDEFIG webpix/grey_squirrel.jpg
EC
----------------------------------------------------------------------
Cod fisheries
BC
Is the ocean too big for people to affect?
What happened to the cod?
NOTES HLINK http://en.wikipedia.org/wiki/Collapse_of_the_Atlantic_northwest_cod_fishery
NC
SIDEFIG webpix/cod.jpg
SIDEFIG ts/cod1678.simple.Rout-0.pdf
EC
----------------------------------------------------------------------
Populations
POLL What population of organisms interests you?
----------------------------------------------------------------------
Dandelions
BC
Start with one dandelion; it produces 100 seeds, of which only
4% survive to reproduce the next year.
How many dandelions after 3 years?
ANS 64?
ANS 125?
NC
SIDEFIG webpix/dandy_field.jpg
SIDEFIG webpix/dandy_flower.jpg
EC
----------------------------------------------------------------------
SEC Example populations
----------------------------------------------------------------------
TSS Dandelions
BC
Start with one dandelion; it produces 100 seeds, of which only
4% survive to reproduce the next year.
How many dandelions after 3 years?
ANS 64?
ANS 125?
HREF http://tinyurl.com/DandelionModel2026 Dandelion spreadsheet
The spreadsheet is an implementation of a dynamical model!
NC
SIDEFIG webpix/dandy_field.jpg
EC
----------------------------------------------------------------------
Dynamical models
Make rules about how things change on a small scale
Assumptions should be clear enough to allow you to calculate or simulate
population-level results
Challenging and clarifying assumptions is a key advantage of models
----------------------------------------------------------------------
TSS Gypsy moths
BC
A pest species that feeds on deciduous trees
Introduced to N. America from Europe 6000 years ago
CORRECTION Where did that come from? Right answer is 150 years
Capable of wide-scale defoliation
NC
SIDEFIG webpix/gm_caterpillar.jpg
SIDEFIG webpix/gm_defoliation.jpg
EC
----------------------------------------------------------------------
Gypsy moth populations
DOUBLEPDF ts/gm10165.simple.Rout
----------------------------------------------------------------------
PRESLIDE Moth calculation
Researchers studying a gypsy moth population make the following
estimates:
The average reproductive female lays 600 eggs
10% of eggs hatch into larvae
10% of larvae mature into pupae
50% of pupae mature into adults
50% of adults survive to reproduce
All adults die after reproduction
POLL What happens if we start with 10 moths?
ANS We end up with 15 moths
ANS Wrong!
----------------------------------------------------------------------
Moth calculation
Researchers studying a gypsy moth population make the following
estimates:
The average reproductive female lays 600 eggs
CLASS ANS Assume half are female
10% of eggs hatch into larvae
10% of larvae mature into pupae
50% of pupae mature into adults
50% of adults survive to reproduce
All adults die after reproduction
What happens if we start with 10 moths?
ANS If 5 are female, we end up with an average of 7.5 moths
ANS On average
----------------------------------------------------------------------
Stochastic version
Obviously, we will not get \emph{exactly} 7.5 moths.
If we consider moths as individuals, we need a \textbf{stochastic}
model
What do we mean by stochastic?
ANS The model has randomness, to reflect details that we can't
measure in advance, or can't predict
----------------------------------------------------------------------
PSLIDE Stochastic model
FIG exponential/dandelion.Rout-0.pdf
----------------------------------------------------------------------
PSLIDE Stochastic model
FIG exponential/dandelion.Rout-1.pdf
----------------------------------------------------------------------
PSLIDE Stochastic model
FIG exponential/dandelion.Rout-2.pdf
----------------------------------------------------------------------
PSLIDE Stochastic model
FIG exponential/dandelion.Rout-3.pdf
----------------------------------------------------------------------
Stochastic model
BCC
CFIG exponential/dandelion.Rout-3.pdf
NCC
A stochastic model has randomness in the model.
If we run it again with the same parameters and starting conditions, we get a different answer
COMMENT N0 = 1; $\lambda=2.5$
EC
----------------------------------------------------------------------
TSS Bacteria
Imagine we have some bacteria growing in a big tank, constantly
dividing and dying:
They divide (forming two bacteria from one) at a rate
of $0.04/\hr$
They wash out of the tank at a rate of 0.02/\hr
They die at a rate of 0.01/\hr
Rates are \textbf{per capita} (i.e., per individual) and
\textbf{instantaeous} (they describe what is happening at each moment
of time)
We start with 10 bacteria/ml
How many do we have after 1 hr?
What about after 1 day?
----------------------------------------------------------------------
PSLIDE Bacteria in a tank
FIG webpix/chemostats.png
----------------------------------------------------------------------
Bacteria, rescaled
Imagine we have some bacteria growing in a big tank:
They divide (forming two bacteria from one) at a rate of
0.96/day
They wash out of the tank at a rate of 0.48/day
They die at a rate of 0.24/day
If we start with 10 bacteria/ml, how many do we have after 1 day?
----------------------------------------------------------------------
Units
When we attach units to a quantity, the meaning is concrete
0.24/day \emph{must} mean exactly the same thing as 0.01/hr
The two questions above \emph{must} have the same answer
----------------------------------------------------------------------
PRESLIDE Bacteriostasis
What if we add an agent to the tank that makes the birth and death
rates nearly zero?
Now the bacteria are merely washing out at the rate of 0.02/hr
If we start with 10 bacteria/ml, how many do we have after:
POLL 1 hr?
POLL 1 wk?
----------------------------------------------------------------------
TPSEC Exponential growth
What is exponential growth?
Which of these is an example?
FIG exponential/exponential.Rout.four.pdf
----------------------------------------------------------------------
REPSLIDE A
FIG exponential/exponential.Rout-0.pdf
----------------------------------------------------------------------
REPSLIDE B
FIG exponential/exponential.Rout-1.pdf
----------------------------------------------------------------------
REPSLIDE C
FIG exponential/exponential.Rout-2.pdf
----------------------------------------------------------------------
REPSLIDE D
FIG exponential/exponential.Rout-3.pdf
----------------------------------------------------------------------
REPSLIDE Exponential growth
POLL What is exponential growth?
POLL Which of these is an example?
FIG exponential/exponential.Rout.four.pdf
----------------------------------------------------------------------
REPSLIDE A
FIG exponential/exponential.Rout-0.pdf
----------------------------------------------------------------------
REPSLIDE B
FIG exponential/exponential.Rout-1.pdf
----------------------------------------------------------------------
REPSLIDE C
FIG exponential/exponential.Rout-2.pdf
----------------------------------------------------------------------
REPSLIDE D
FIG exponential/exponential.Rout-3.pdf
----------------------------------------------------------------------
REPSLIDE A
FIG exponential/exponential.Rout-0.pdf
----------------------------------------------------------------------
ASLIDE A on the log scale
FIG exponential/exponential.Rout-4.pdf
----------------------------------------------------------------------
REPSLIDE C
FIG exponential/exponential.Rout-2.pdf
----------------------------------------------------------------------
ASLIDE C on the linear scale
FIG exponential/exponential.Rout-5.pdf
----------------------------------------------------------------------
Types of growth
arithmetic/linear:
ANS \emph{Add} a fixed amount in a given time interval
ANS Total growth rate is constant
geometric/exponential:
ANS \emph{Multiply} by a fixed amount in a given time interval
ANS Per-capita growth is constant
ANS Only C is exponential, mathematically speaking.
other:
Many possibilities, we may discuss some later
----------------------------------------------------------------------
Exponential decline?
POLL What is exponential decline?
ANS Decline is proportional to size
ANS Declines more and more \emph{slowly} (on linear scale)
----------------------------------------------------------------------
ASLIDE Exponential decline
BC
WIDEFIG exponential/decline.Rout-6.pdf
NC
Decline is proportional to size
Declines more and more \emph{slowly} (on linear scale)
EC
----------------------------------------------------------------------
Terminology
Sometimes people distinguish
\textbf{arithmetic} from \textbf{linear} growth, or
\textbf{geometric} from \textbf{exponential} growth
Based on:
ANS \textbf{discrete} vs.\ \textbf{continuous} time
We won't worry much about this.
REMARK Back to spreadsheet
----------------------------------------------------------------------
SS Log and linear scales
----------------------------------------------------------------------
Scales of comparison
POLL 1 is to 10 as 10 is to what?
ANS If you said 100, you are thinking multiplicatively
ANS If you said 19, you are thinking additively
----------------------------------------------------------------------
PSLIDE Scales of display
FIG exponential/comparison.Rout-2.pdf
----------------------------------------------------------------------
PSLIDE Scales of display
FIG exponential/comparison.Rout-0.pdf
----------------------------------------------------------------------
PSLIDE Scales of display
FIG exponential/comparison.Rout-3.pdf
----------------------------------------------------------------------
PSLIDE Scales of display
FIG exponential/comparison.Rout-1.pdf
----------------------------------------------------------------------
Scales of display
DOUBLEPDF exponential/comparison.Rout
There is only one log scale; it doesn't matter which base you use!
----------------------------------------------------------------------
Canadian provinces
How many people know the Canadian provinces song?
POLL Which Canadian province is the most unusual in terms of area?
POLL Which Canadian province is the most unusual in terms of population?
----------------------------------------------------------------------
PSLIDE Canadian provinces
FIG exponential/canada.Rout-0.pdf
----------------------------------------------------------------------
PSLIDE Canadian provinces
FIG exponential/canada.Rout-1.pdf
----------------------------------------------------------------------
Canadian provinces
DOUBLEFIG exponential/canada.Rout-0.pdf exponential/canada.Rout-1.pdf
----------------------------------------------------------------------
PSLIDE Canadian provinces plus Canada?
DOUBLEFIG exponential/canada.Rout-0.pdf exponential/canada.Rout-0.pdf
----------------------------------------------------------------------
PSLIDE Canadian provinces plus Canada
DOUBLEFIG exponential/canada.Rout-0.pdf exponential/canada.Rout-2.pdf
----------------------------------------------------------------------
PSLIDE Canadian provinces plus Canada?
DOUBLEFIG exponential/canada.Rout-1.pdf exponential/canada.Rout-1.pdf
----------------------------------------------------------------------
PSLIDE Canadian provinces plus Canada
DOUBLEFIG exponential/canada.Rout-1.pdf exponential/canada.Rout-3.pdf
----------------------------------------------------------------------
ASLIDE Canadian provinces plus Canada
DOUBLEFIG exponential/canada.Rout-2.pdf exponential/canada.Rout-3.pdf
----------------------------------------------------------------------
PSLIDE Canada plus this classroom
DOUBLEFIG exponential/canada.Rout-2.pdf exponential/canada.Rout-2.pdf
----------------------------------------------------------------------
PSLIDE Canada plus this classroom
DOUBLEFIG exponential/canada.Rout-2.pdf exponential/canada.Rout-4.pdf
----------------------------------------------------------------------
PSLIDE Canada plus this classroom?
DOUBLEFIG exponential/canada.Rout-3.pdf exponential/canada.Rout-3.pdf
----------------------------------------------------------------------
PSLIDE Canada plus this classroom
DOUBLEFIG exponential/canada.Rout-3.pdf exponential/canada.Rout-5.pdf
----------------------------------------------------------------------
ASLIDE Canada plus this classroom
DOUBLEFIG exponential/canada.Rout-4.pdf exponential/canada.Rout-5.pdf
----------------------------------------------------------------------
CLASS CSLIDE Predation comparison
CLASS FIG webpix/buffalo.jpg
----------------------------------------------------------------------
Predation comparison
BC
A 300 lb lion is attacking a 600 lb buffalo!
POLL This is analogous to a 15 lb red fox attacking: a beaver, an elk | This is analogous to a fox attacking? a beaver; an elk
A 30 lb beaver (twice as heavy)?
A 315 lb elk (300 lbs heavier)?
NC
CLASS HFIG 0.25 webpix/fox.jpg
CLASS HFIG 0.25 webpix/beaver.jpg
CLASS HFIG 0.25 webpix/elk.jpg
EC
----------------------------------------------------------------------
Different scales
The log scale and linear scale provide different ways of looking at
the same data
Equally valid
What are some advantages of each?
----------------------------------------------------------------------
Advantages of arithmetic view
ANS When there is no natural zero (or the natural zero is irrelevant)