Matrix Models
Matrices for Population Studies
Time after Time - Age and Stage Structured Models
Modelling with Markov Chains
The Next Flu Pandemic
Matrix Models
Matrices for Population Studies
Population Matrices and HEP
Vectors
Vector Additions
Multiplication by a Scalar
Dot Product
Matrices
Introduction – Population Matrices
Population Matrices
Population Matrices
Population Matrices
Metapopulation�
Population Matrices
Population Matrices
Matrix Models - Vectors
Review Question 1�
For b = (15.00, 5.37, 4.84, 6.00, 10.83, 27.43), where indices begin with 1, give the value of b4.
Ans :
The value of b4 is 6.00
Vectors – Addition
Review Question 2
a. Express the values for Dr. Chang’s team in a vector, c, and for Dr.
Morris’ team in a vector, m
c= (35, 16, 240,351 ) m= (18, 10, 103,153)
b. Compute t = c + m.
t = [53, 26,343,504]
c. What does t represent?
data totals by category
x + y = (x1 + y1, x2 + y2, . . . , xn + yn).
Vectors - Multiplication by a Scalar
Review Question 3�
Ans: 1.1 (36,16,240,351)
b. Give the vector with values rounded to the nearest integers.
(39, 18, 264, 386)
Vectors – Dot Product
e = (280, 70).
b = (291, 9483).
e · b = (280, 70) · (291, 9483) = 280 · 291 + 70 · 9483 = 81,480 + 663,810
= 745,290 eggs
Vectors – Dot Product
Review Question 4�
The first stage in the life of the Hawaiian green sea turtle, consisting of eggs and
hatch lings, occurs during the first year. Stage 2, juveniles, extends from year 1 to
year 16. Suppose 23% of the hatchlings survive and move to stage 2, while 67.9% of
those in Stage 2 remain in that stage each year. In one year, suppose Stage 1 has
808,988 individuals, and Stage 2 has 715,774 (Green Sea Turtle).
(0.23, 0.679)
b. Give a vector, s, storing the individuals in Stages 1 and 2.
(808988, 715774)
c. Using variables p and s, not the data, give the vector operation to determine the number of individuals that will be in Stage 2 the following year.
p. s
d. Calculate this value.
0.23 . 808988 + 0.679 . 715774 = 672078
Matrix Models - Matrices
Matrices – Scalar Multiplication and Matrix Sums
Matrices – Matrix Multiplication
Matrices – Square Matrices
Matrices – Square Matrices
Matrices – Matrices and Systems of Equations
6x = 1
5x + 7y = 3
-2x + πy + 3z = 9
1/2x1 + 33.2x2+ 15x3 + 13x4 = 33/4
a1x1 + a2x2 + ∙ ∙ ∙ + anxn = c
where ai and c are numbers for i = 1, 2, . . . , n.
Matrices – Matrices and Systems of Equations
Matrix Models
Time after Time - Age and Stage Structured Models
Age Structured Models
Leslie Matrix
Age Distribution over Time
Projected Population – Growth Rate
Stage Structured Models
Algorithms
Sensitivity Analysis - Age and Stage Structured Models
Introduction – Age and Stage Structured Models
The Problem:
We may want to classify many animals/birds by discrete ages to determine reproduction and mortality.
For example, suppose a bird of a certain kind has a maximum life span of 3 years. During the first year, the animal does not breed. On the average, a typical female of this hypothetical species lays 10 eggs during the second year but only 8 eggs during the third year.
Suppose 15% of the young birds live to the second year of life, while 50% of the birds from age 1 to 2 years live to their third year of life, age 2 to 3 years.
Usually, we consider only the females in the population; and in this example, we assume that half the offspring are female.
Introduction – Age and Stage Structured Models
Under such circumstances, we may be interested in:
Age Structured Models
5x2(t) + 4x3(t) = x1(t + 1)
Age Structured Models
5x2(t) + 4x3(t) = x1(t + 1)
0.15x1(t) = x2(t + 1)
0.50x2(t) = x3(t + 1)
Age Structured Models
Age Structured Models
Age Structured Models - Leslie Matrices
Age Structured Models - Leslie Matrices
Lx(t) = x(t + 1)
Age Structured Models – Age Distribution over Time
Age Structured Models – Age Distribution over Time
Age Structured Models – Projected Population Growth rate
P = P0(1.0216)t.
With an annual increase in population of 2.16% per year and, correspondingly, λ = 1.0216 > 1, we expect that this bird population will increase with time. Had the population been projected to decline each year with 0 < λ < 1, we would expect the birds eventually to become extinct.
A value of λ = 1 would signal a stable population in which, on the average, an adult female produces one female offspring that will live to adulthood. Thus, λ is an important concept related to the stability of a population.
In which Lx = lamda x for some vector x # 0.
In other words, if we premultiply some particular nonzero x by lamda we only change the magnitude of the resultant vector and not its direction. The nonzero vector x is called an eigenvector of the matrix.
Age Structured Models – Eigen Value and Eigen Vector
Age Structured Models – Eigen Value and Eigen Vector
Stage Structured Models
Stage Structured Models
Stage Structured Models
Thus, if xL(t), xJ(t), and xA(t) represent the number of female larvae, juveniles, and adults at time t, respectively, we have the following system of equations for the distribution at time t + 1:
Stage Structured Models
Matrix Models - Algorithms
| 1.02153 – 1.02162 | = 0.00009 < 10^-4 = 0.0001
Sensitivity Analysis – Age Structured Models
Sensitivity Analysis
Sensitivity Analysis – Stage Structured Models
Applicability of Leslie and Lefkovitch Matrices
Need for High-Performance Computing
Need for High-Performance Computing
Stage Structured Models
Introduction – Markov Chains
Introduction
Problems - From Psychology to Genetics
Probability Theory – A Primer
P(not germinating) = 1 – P(germinating) = 1 – 0.3 = 0.7
P(E1 or E2) = P(E1) + P(E2).
P(northerly or westerly) = P({N, NE, NW}) + P({W, NW, SW}) - P(NW)
= 3⁄8 + 3⁄8 - 1⁄8 = 5⁄8
P(S1 germinating and S2 germinating) = P(S1 germinating) ∙ P(S2 germinating)
= (0.3)(0.3) = 0.09
N NE
NW
W E
SW SE
S
P(quarantined | exposed) = P(quarantined and exposed)/P(exposed)
Transition Matrix
Conclusion
Matrix Models
The Next Flu Pandemic
A Preamble
Charlie Bates is a college sophomore who wakes up one morning feeling really bad. He assumes that it is just a hangover. He had a pretty wild night of drinking at his fraternity’s welcome-back party that traditionally begins the spring semester. His head is pounding, and he is exhausted. Charlie feels that he can sleep this one off, so he decides to cut his 9 o’clock economics class. He resets his alarm and rolls over. Four hours later he is distressed to find that he has also slept through his 11:00 government class. Even more disturbing is that he feels even worse. He has never had a sore throat from a hangover, and he is feeling very achy. So, he gets up, dresses, and stumbles over to the campus infirmary. The nurse finds that he has a temperature of 102.5 °F. She thinks he has the flu.
The Problem
The Problem
The Problem
The Problem
Individual-based epidemiology simulations can estimate some of the following metrics:
Graph Theory – A Primer
V = {1, 2, 3, 4, 5, 6, 7, School, Hospital, Work, Shop, Cloister}
Graph Theory – Biological Networks and Social Networks
f(x) ∝ xb, or f(x) = cxb, for some constants c and b.
Graph Theory – Paths
Small World Property
Graph Theory – Clustering
Typically, a small-world network not only has a small mean path length, but it also has a large mean clustering coefficient. With these characteristics, disease can spread rapidly in social networks.
Bipartite Graphs
Matrix Representation of Graphs
People-Location Graphs
People – Location Graphs: Algorithms
People – Location Graphs: Minimal Dominating Set
The Fast-Greedy Algorithm
{(1, 3), (9, 1), (8, 1), (7, 1), (6, 1), (5, 1), (4, 1), (3, 1), (2, 1)}
Degree Distribution
Clustering Coefficient
Assessment of a Model
Computing Power
As Bisset and Marathe (2009) state, “These far more complex network-based models present a new set of computational challenges that require the use of high-performance computing.” Several reasons exist for requiring this power: