Joel C. Miller - Harvard Universityscholar.harvard.edu/files/joelmiller/files/2012_09_07...Intro to...
Transcript of Joel C. Miller - Harvard Universityscholar.harvard.edu/files/joelmiller/files/2012_09_07...Intro to...
Intro to dynamic modeling of epidemics Static Networks Dynamic Populations
Edge-based compartmental modeling
Joel C. Miller& Erik Volz
RAPIDD; Harvard School of Public Health; Penn State University
7 Sept 2012
Intro to dynamic modeling of epidemics Static Networks Dynamic Populations
Intro to dynamic modeling of epidemics
Static NetworksNetwork AssumptionsFinal SizeDynamics
Dynamic PopulationsUnchanging DegreesDormant contacts (binding sites)
Intro to dynamic modeling of epidemics Static Networks Dynamic Populations
The basic SIR model
• Individuals begin susceptible,
• become infected from contacting infected individuals,
• and eventually recover with immunity.
Intro to dynamic modeling of epidemics Static Networks Dynamic Populations
The basic SIR model
• Individuals begin susceptible,
• become infected from contacting infected individuals,
• and eventually recover with immunity.
Intro to dynamic modeling of epidemics Static Networks Dynamic Populations
The basic SIR model
• Individuals begin susceptible,
• become infected from contacting infected individuals,
• and eventually recover with immunity.
Intro to dynamic modeling of epidemics Static Networks Dynamic Populations
The basic SIR model
• Individuals begin susceptible,
• become infected from contacting infected individuals,
• and eventually recover with immunity.
Intro to dynamic modeling of epidemics Static Networks Dynamic Populations
The basic SIR model
• Individuals begin susceptible,
• become infected from contacting infected individuals,
• and eventually recover with immunity.
Intro to dynamic modeling of epidemics Static Networks Dynamic Populations
The basic SIR model
• Individuals begin susceptible,
• become infected from contacting infected individuals,
• and eventually recover with immunity.
Intro to dynamic modeling of epidemics Static Networks Dynamic Populations
The mass-action model
Let S be the proportion susceptible, I be the proportion infected,and R be the proportion recovered.
βIS γI
S I R
Resulting equations:
S = −βIS , I = βIS − γI , R = γI
Intro to dynamic modeling of epidemics Static Networks Dynamic Populations
The mass-action model
Let S be the proportion susceptible, I be the proportion infected,and R be the proportion recovered.
βIS γI
S I R
Resulting equations:
S = −βIS , I = βIS − γI , R = γI
Intro to dynamic modeling of epidemics Static Networks Dynamic Populations
The mass-action model
Let S be the proportion susceptible, I be the proportion infected,and R be the proportion recovered.
βIS γI
S I R
Resulting equations:
S = −βIS , I = βIS − γI , R = γI
Intro to dynamic modeling of epidemics Static Networks Dynamic Populations
Solutions
S = −βIS , I = βIS − γI , R = γI
5 0 5 10 150.00
0.05
0.10
0.15
0.20
0.25
0.30
0.35
t
Infe
ctio
ns
5 0 5 10 150.0
0.2
0.4
0.6
0.8
1.0
t
Cum
ula
tive infe
ctio
ns
Solutions with β = 3, γ = 1
Intro to dynamic modeling of epidemics Static Networks Dynamic Populations
−5 0 5 10 150.00
0.05
0.10
0.15
0.20
0.25
0.30
0.35Mass ActionHomogeneousPoissonBimodalTruncated Powerlaw
t
Infe
ctio
ns
Intro to dynamic modeling of epidemics Static Networks Dynamic Populations
Intro to dynamic modeling of epidemics
Static NetworksNetwork AssumptionsFinal SizeDynamics
Dynamic PopulationsUnchanging DegreesDormant contacts (binding sites)
Intro to dynamic modeling of epidemics Static Networks Dynamic Populations
Inserting partnership structure into the SIR model
• Different people have different numbers of partners.
• Partners are chosen randomly (pop is unclustered).
P(3) = P(1) = 0.5
• Assume static partnerships.
• Assume few initial infections.• Assume disease process occurs at simple rates:
• Transmit at rate β per partnership.• Recover at rate γ.
• Assume closed populations.
Intro to dynamic modeling of epidemics Static Networks Dynamic Populations
Inserting partnership structure into the SIR model
• Different people have different numbers of partners.
• Partners are chosen randomly (pop is unclustered).
P(3) = P(1) = 0.5
• Assume static partnerships.
• Assume few initial infections.• Assume disease process occurs at simple rates:
• Transmit at rate β per partnership.• Recover at rate γ.
• Assume closed populations.
Intro to dynamic modeling of epidemics Static Networks Dynamic Populations
Inserting partnership structure into the SIR model
• Different people have different numbers of partners.
• Partners are chosen randomly (pop is unclustered).
P(3) = P(1) = 0.5
• Assume static partnerships.
• Assume few initial infections.• Assume disease process occurs at simple rates:
• Transmit at rate β per partnership.• Recover at rate γ.
• Assume closed populations.
Intro to dynamic modeling of epidemics Static Networks Dynamic Populations
Inserting partnership structure into the SIR model
• Different people have different numbers of partners.
• Partners are chosen randomly (pop is unclustered).
P(3) = P(1) = 0.5
• Assume static partnerships.
• Assume few initial infections.
• Assume disease process occurs at simple rates:• Transmit at rate β per partnership.• Recover at rate γ.
• Assume closed populations.
Intro to dynamic modeling of epidemics Static Networks Dynamic Populations
Inserting partnership structure into the SIR model
• Different people have different numbers of partners.
• Partners are chosen randomly (pop is unclustered).
P(3) = P(1) = 0.5
• Assume static partnerships.
• Assume few initial infections.• Assume disease process occurs at simple rates:
• Transmit at rate β per partnership.• Recover at rate γ.
• Assume closed populations.
Intro to dynamic modeling of epidemics Static Networks Dynamic Populations
Inserting partnership structure into the SIR model
• Different people have different numbers of partners.
• Partners are chosen randomly (pop is unclustered).
P(3) = P(1) = 0.5
• Assume static partnerships.
• Assume few initial infections.• Assume disease process occurs at simple rates:
• Transmit at rate β per partnership.• Recover at rate γ.
• Assume closed populations.
Intro to dynamic modeling of epidemics Static Networks Dynamic Populations
Intro to dynamic modeling of epidemics
Static NetworksNetwork AssumptionsFinal SizeDynamics
Dynamic PopulationsUnchanging DegreesDormant contacts (binding sites)
Intro to dynamic modeling of epidemics Static Networks Dynamic Populations
The final size of an epidemic in a network
• Consider a randomly chosen test individual u in thepopulation.
• Disallow infection from u to its partners (allows independenceassumption for partners).
• The probability u is Susceptible or Recovered at the end ofthe epidemic is affected by the status of its partners.
• The fraction of the population that is susceptible S equals theprobability u is susceptible.
S = P(u is susceptible)
• Let v be a random partner of u.
• Defineθ = P(v did not transmit to u)
Intro to dynamic modeling of epidemics Static Networks Dynamic Populations
The final size of an epidemic in a network
• Consider a randomly chosen test individual u in thepopulation.
• Disallow infection from u to its partners (allows independenceassumption for partners).
• The probability u is Susceptible or Recovered at the end ofthe epidemic is affected by the status of its partners.
• The fraction of the population that is susceptible S equals theprobability u is susceptible.
S = P(u is susceptible)
• Let v be a random partner of u.
• Defineθ = P(v did not transmit to u)
Intro to dynamic modeling of epidemics Static Networks Dynamic Populations
The final size of an epidemic in a network
• Consider a randomly chosen test individual u in thepopulation.
• Disallow infection from u to its partners (allows independenceassumption for partners).
• The probability u is Susceptible or Recovered at the end ofthe epidemic is affected by the status of its partners.
• The fraction of the population that is susceptible S equals theprobability u is susceptible.
S = P(u is susceptible)
• Let v be a random partner of u.
• Defineθ = P(v did not transmit to u)
Intro to dynamic modeling of epidemics Static Networks Dynamic Populations
The final size of an epidemic in a network
• Consider a randomly chosen test individual u in thepopulation.
• Disallow infection from u to its partners (allows independenceassumption for partners).
• The probability u is Susceptible or Recovered at the end ofthe epidemic is affected by the status of its partners.
• The fraction of the population that is susceptible S equals theprobability u is susceptible.
S = P(u is susceptible)
• Let v be a random partner of u.
• Defineθ = P(v did not transmit to u)
Intro to dynamic modeling of epidemics Static Networks Dynamic Populations
The final size of an epidemic in a network
• Consider a randomly chosen test individual u in thepopulation.
• Disallow infection from u to its partners (allows independenceassumption for partners).
• The probability u is Susceptible or Recovered at the end ofthe epidemic is affected by the status of its partners.
• The fraction of the population that is susceptible S equals theprobability u is susceptible.
S = P(u is susceptible)
• Let v be a random partner of u.
• Defineθ = P(v did not transmit to u)
Intro to dynamic modeling of epidemics Static Networks Dynamic Populations
The final size of an epidemic in a network
• Consider a randomly chosen test individual u in thepopulation.
• Disallow infection from u to its partners (allows independenceassumption for partners).
• The probability u is Susceptible or Recovered at the end ofthe epidemic is affected by the status of its partners.
• The fraction of the population that is susceptible S equals theprobability u is susceptible.
S = P(u is susceptible)
• Let v be a random partner of u.
• Defineθ = P(v did not transmit to u)
Intro to dynamic modeling of epidemics Static Networks Dynamic Populations
Finding S
u
θθ θ
θθ
θ = P(v did not transmit to u)
Probability a random test individual remains susceptible is
S =∑k
P(k)
θk
= ψ(θ)
whereψ(x) =
∑k
P(k)xk
Intro to dynamic modeling of epidemics Static Networks Dynamic Populations
Finding S
u
θθ θ
θθ
θ = P(v did not transmit to u)
Probability a random degree k test individual remains susceptible is
S =∑k
P(k)
θk
= ψ(θ)
whereψ(x) =
∑k
P(k)xk
Intro to dynamic modeling of epidemics Static Networks Dynamic Populations
Finding S
u
θθ θ
θθ
θ = P(v did not transmit to u)
Probability a random degree k test individual remains susceptible is
S =∑k
P(k)θk
= ψ(θ)
whereψ(x) =
∑k
P(k)xk
Intro to dynamic modeling of epidemics Static Networks Dynamic Populations
Finding S
u
θθ θ
θθ
θ = P(v did not transmit to u)
Probability a random degree k test individual remains susceptible is
S =∑k
P(k)θk = ψ(θ)
whereψ(x) =
∑k
P(k)xk
Intro to dynamic modeling of epidemics Static Networks Dynamic Populations
Finding θ
v
u
θθ θ
θθ
θθ
Probability a random degree k partner still susceptible is
φS =∑k
θk−1
=ψ′(θ)
ψ′(1)
If T = β/(β+γ), then probability partner does not transmit to u is
θ = φS + (1− T )(1− φS) = 1− T + Tψ′(θ)
ψ′(1)
Intro to dynamic modeling of epidemics Static Networks Dynamic Populations
Finding θ
v
u
θθ θ
θθ
θθ
Probability a random degree k partner still susceptible is
φS =∑k
Pn(k)θk−1
=ψ′(θ)
ψ′(1)
If T = β/(β+γ), then probability partner does not transmit to u is
θ = φS + (1− T )(1− φS) = 1− T + Tψ′(θ)
ψ′(1)
Intro to dynamic modeling of epidemics Static Networks Dynamic Populations
Finding θ
v
u
θθ θ
θθ
θθ
Probability a random degree k partner still susceptible is
φS =∑k
kP(k)
〈K 〉θk−1
=ψ′(θ)
ψ′(1)
If T = β/(β+γ), then probability partner does not transmit to u is
θ = φS + (1− T )(1− φS) = 1− T + Tψ′(θ)
ψ′(1)
Intro to dynamic modeling of epidemics Static Networks Dynamic Populations
Finding θ
v
u
θθ θ
θθ
θθ
Probability a random degree k partner still susceptible is
φS =∑k
kP(k)
〈K 〉θk−1 =
ψ′(θ)
ψ′(1)
If T = β/(β+γ), then probability partner does not transmit to u is
θ = φS + (1− T )(1− φS) = 1− T + Tψ′(θ)
ψ′(1)
Intro to dynamic modeling of epidemics Static Networks Dynamic Populations
Finding θ
v
u
θθ θ
θθ
θθ
Probability a random degree k partner still susceptible is
φS =∑k
kP(k)
〈K 〉θk−1 =
ψ′(θ)
ψ′(1)
If T = β/(β+γ), then probability partner does not transmit to u is
θ = φS + (1− T )(1− φS) = 1− T + Tψ′(θ)
ψ′(1)
Intro to dynamic modeling of epidemics Static Networks Dynamic Populations
Final Size
SoR = 1− ψ(θ)
where
θ = 1− T + Tψ′(θ)
ψ′(1)
Intro to dynamic modeling of epidemics Static Networks Dynamic Populations
Intro to dynamic modeling of epidemics
Static NetworksNetwork AssumptionsFinal SizeDynamics
Dynamic PopulationsUnchanging DegreesDormant contacts (binding sites)
Intro to dynamic modeling of epidemics Static Networks Dynamic Populations
Calculating Dynamics
The network structure alters the infection process (but not therecoveries)
? γI
S I R
I = 1− S − R , R = γI
We will switch to a partnership-based perspective to find S(t).
Intro to dynamic modeling of epidemics Static Networks Dynamic Populations
Calculating Dynamics
The network structure alters the infection process (but not therecoveries)
? γI
S I R
I = 1− S − R , R = γI
We will switch to a partnership-based perspective to find S(t).
Intro to dynamic modeling of epidemics Static Networks Dynamic Populations
Revisiting the test individual
• Consider a randomly chosen test individual u in thepopulation.
• Disallow infection from u to its partners (allows independenceassumption for partners).
• The probability u is Susceptible, Infected, or Recovered attime t is affected by the status of its partners.
• The fraction of the population that is susceptible S(t) equalsthe probability u is susceptible.
S(t) = P(u is susceptible)
• Let v be a random partner of u.
• Defineθ(t) = P(v not yet transmitted to u)
Intro to dynamic modeling of epidemics Static Networks Dynamic Populations
Revisiting the test individual
• Consider a randomly chosen test individual u in thepopulation.
• Disallow infection from u to its partners (allows independenceassumption for partners).
• The probability u is Susceptible, Infected, or Recovered attime t is affected by the status of its partners.
• The fraction of the population that is susceptible S(t) equalsthe probability u is susceptible.
S(t) = P(u is susceptible)
• Let v be a random partner of u.
• Defineθ(t) = P(v not yet transmitted to u)
Intro to dynamic modeling of epidemics Static Networks Dynamic Populations
Revisiting the test individual
• Consider a randomly chosen test individual u in thepopulation.
• Disallow infection from u to its partners (allows independenceassumption for partners).
• The probability u is Susceptible, Infected, or Recovered attime t is affected by the status of its partners.
• The fraction of the population that is susceptible S(t) equalsthe probability u is susceptible.
S(t) = P(u is susceptible)
• Let v be a random partner of u.
• Defineθ(t) = P(v not yet transmitted to u)
Intro to dynamic modeling of epidemics Static Networks Dynamic Populations
Revisiting the test individual
• Consider a randomly chosen test individual u in thepopulation.
• Disallow infection from u to its partners (allows independenceassumption for partners).
• The probability u is Susceptible, Infected, or Recovered attime t is affected by the status of its partners.
• The fraction of the population that is susceptible S(t) equalsthe probability u is susceptible.
S(t) = P(u is susceptible)
• Let v be a random partner of u.
• Defineθ(t) = P(v not yet transmitted to u)
Intro to dynamic modeling of epidemics Static Networks Dynamic Populations
Revisiting the test individual
• Consider a randomly chosen test individual u in thepopulation.
• Disallow infection from u to its partners (allows independenceassumption for partners).
• The probability u is Susceptible, Infected, or Recovered attime t is affected by the status of its partners.
• The fraction of the population that is susceptible S(t) equalsthe probability u is susceptible.
S(t) = P(u is susceptible)
• Let v be a random partner of u.
• Defineθ(t) = P(v not yet transmitted to u)
Intro to dynamic modeling of epidemics Static Networks Dynamic Populations
Revisiting the test individual
• Consider a randomly chosen test individual u in thepopulation.
• Disallow infection from u to its partners (allows independenceassumption for partners).
• The probability u is Susceptible, Infected, or Recovered attime t is affected by the status of its partners.
• The fraction of the population that is susceptible S(t) equalsthe probability u is susceptible.
S(t) = P(u is susceptible)
• Let v be a random partner of u.
• Defineθ(t) = P(v not yet transmitted to u)
Intro to dynamic modeling of epidemics Static Networks Dynamic Populations
Finding S(t)
u
θθ θ
θθ
θ(t) = P(v not yet transmitted to u)
Probability a random test individual still susceptible is
S(t) =∑k
P(k)
θ(t)k
= ψ(θ(t))
whereψ(x) =
∑k
P(k)xk
Intro to dynamic modeling of epidemics Static Networks Dynamic Populations
Finding S(t)
u
θθ θ
θθ
θ(t) = P(v not yet transmitted to u)
Probability a random degree k test individual still susceptible is
S(t) =∑k
P(k)
θ(t)k
= ψ(θ(t))
whereψ(x) =
∑k
P(k)xk
Intro to dynamic modeling of epidemics Static Networks Dynamic Populations
Finding S(t)
u
θθ θ
θθ
θ(t) = P(v not yet transmitted to u)
Probability a random degree k test individual still susceptible is
S(t) =∑k
P(k)θ(t)k
= ψ(θ(t))
whereψ(x) =
∑k
P(k)xk
Intro to dynamic modeling of epidemics Static Networks Dynamic Populations
Finding S(t)
u
θθ θ
θθ
θ(t) = P(v not yet transmitted to u)
Probability a random degree k test individual still susceptible is
S(t) =∑k
P(k)θ(t)k = ψ(θ(t))
whereψ(x) =
∑k
P(k)xk
Intro to dynamic modeling of epidemics Static Networks Dynamic Populations
How does θ evolve?
v
u
θ
θ
v
u
φS v
u
φI v
u
φR
v
u
1 − θ
• θ = φS + φI + φR .
• θ = −βφI .• Our goal is to find φI in terms of θ.
Intro to dynamic modeling of epidemics Static Networks Dynamic Populations
How does θ evolve?
θ
v
u
φS v
u
φI v
u
φR
{ v
u
1 − θ
• θ = φS + φI + φR .
• θ = −βφI .• Our goal is to find φI in terms of θ.
Intro to dynamic modeling of epidemics Static Networks Dynamic Populations
How does θ evolve?
θ
v
u
φS v
u
φI v
u
φR
{ v
u
1 − θ
βφI
γφI
• θ = φS + φI + φR .
• θ = −βφI .
• Our goal is to find φI in terms of θ.
Intro to dynamic modeling of epidemics Static Networks Dynamic Populations
How does θ evolve?
θ
v
u
φS v
u
φI v
u
φR
{ v
u
1 − θ
βφI
γφI
• θ = φS + φI + φR .
• θ = −βφI .• Our goal is to find φI in terms of θ.
Intro to dynamic modeling of epidemics Static Networks Dynamic Populations
Finding φR(t)
θ
v
u
φS v
u
φI v
u
φR
{ v
u
1 − θ
βφI
γφI
Because derivatives are proportional, φR = γβ (1− θ)
Intro to dynamic modeling of epidemics Static Networks Dynamic Populations
Finding φS(t)
v
u
θθ θ
θθ
θθ
Probability a random degree k partner still susceptible is
φS(t) =∑k
θ(t)k−1
=ψ′(θ)
ψ′(1)
Intro to dynamic modeling of epidemics Static Networks Dynamic Populations
Finding φS(t)
v
u
θθ θ
θθ
θθ
Probability a random degree k partner still susceptible is
φS(t) =∑k
Pn(k)θ(t)k−1
=ψ′(θ)
ψ′(1)
Intro to dynamic modeling of epidemics Static Networks Dynamic Populations
Finding φS(t)
v
u
θθ θ
θθ
θθ
Probability a random degree k partner still susceptible is
φS(t) =∑k
kP(k)
〈K 〉θ(t)k−1
=ψ′(θ)
ψ′(1)
Intro to dynamic modeling of epidemics Static Networks Dynamic Populations
Finding φS(t)
v
u
θθ θ
θθ
θθ
Probability a random degree k partner still susceptible is
φS(t) =∑k
kP(k)
〈K 〉θ(t)k−1 =
ψ′(θ)
ψ′(1)
Intro to dynamic modeling of epidemics Static Networks Dynamic Populations
θ
v
u
ψ′(θ)ψ′(1) v
u
φI v
u
γβ(1 − θ)
{ v
u
1 − θ
βφI
γφI
Since φI = θ − φS − φR
= θ − ψ′(θ)ψ′(1) −
γβ (1− θ), we have
θ = −βφI = −βθ + βψ′(θ)
ψ′(1)+ γ(1− θ)
Intro to dynamic modeling of epidemics Static Networks Dynamic Populations
θ
v
u
ψ′(θ)ψ′(1) v
u
φI v
u
γβ(1 − θ)
{ v
u
1 − θ
βφI
γφI
Since φI = θ − φS − φR = θ − ψ′(θ)ψ′(1) −
γβ (1− θ)
, we have
θ = −βφI = −βθ + βψ′(θ)
ψ′(1)+ γ(1− θ)
Intro to dynamic modeling of epidemics Static Networks Dynamic Populations
θ
v
u
ψ′(θ)ψ′(1) v
u
φI v
u
γβ(1 − θ)
{ v
u
1 − θ
βφI
γφI
Since φI = θ − φS − φR = θ − ψ′(θ)ψ′(1) −
γβ (1− θ), we have
θ = −βφI = −βθ + βψ′(θ)
ψ′(1)+ γ(1− θ)
Intro to dynamic modeling of epidemics Static Networks Dynamic Populations
Final System
We finally have
θ = −βθ + βψ′(θ)
ψ′(1)+ γ(1− θ)
R = γI S = ψ(θ) I = 1− S − R
Intro to dynamic modeling of epidemics Static Networks Dynamic Populations
−5 0 5 10 150.00
0.05
0.10
0.15
0.20
0.25
0.30
0.35Mass ActionHomogeneousPoissonBimodalTruncated Powerlaw
t
Infe
ctio
ns
Intro to dynamic modeling of epidemics Static Networks Dynamic Populations
Intro to dynamic modeling of epidemics
Static NetworksNetwork AssumptionsFinal SizeDynamics
Dynamic PopulationsUnchanging DegreesDormant contacts (binding sites)
Intro to dynamic modeling of epidemics Static Networks Dynamic Populations
Dynamic Populations
We now modify the population to have dynamic partnerships.Existing partnerships break at rate η and are immediately replacedby new connections.
7→
Intro to dynamic modeling of epidemics Static Networks Dynamic Populations
θ
v
u
φSv
u
φIv
u
φR
v
u
1 − θ
βφI
γφI
ηφRηφS ηφI
πS
πI
πR
γπI
We begin with the previous diagram, but φS , φI , and φR are theprobabilities a stub has not received infection from a partner andcurrently connects to a susceptible, infected, or recovered partner.
Intro to dynamic modeling of epidemics Static Networks Dynamic Populations
θ
v
u
φSv
u
φIv
u
φR
v
u
1 − θ
βφI
γφI
ηφR
ηφS ηφI
πS
πI
πR
γπI
Consider an edge with a recovered partner breaking. Rate = ηφR .
Intro to dynamic modeling of epidemics Static Networks Dynamic Populations
θ
v
u
φSv
u
φIv
u
φR
v
u
1 − θ
βφI
γφI
ηφR
ηφS ηφI
πS
πI
πR
γπI
The replacement partner may have any status.
Intro to dynamic modeling of epidemics Static Networks Dynamic Populations
θ
v
u
φSv
u
φIv
u
φR
v
u
1 − θ
βφI
γφI
ηφR
ηθ
ηφS ηφI
πS
πI
πR
γπI
The same is true for any edge that breaks. The total rate stubsthat have not received infections disconnect is ηθ.
Intro to dynamic modeling of epidemics Static Networks Dynamic Populations
θ
v
u
φSv
u
φIv
u
φR
v
u
1 − θ
βφI
γφI
ηφR
ηθ
ηθπS ηθπIηθπRηφS ηφI
πS
πI
πR
γπI
The probability the new partner is susceptible, infected, orrecovered is equal to the proportion of stubs belonging toindividuals of that type: πS , πI , and πR .
Intro to dynamic modeling of epidemics Static Networks Dynamic Populations
θ
v
u
φSv
u
φIv
u
φR
v
u
1 − θ
βφI
βφI φ
Sψ
′′(θ)
ψ′(θ
)
γφI
ηφR
ηθ
ηθπS ηθπIηθπRηφS ηφI
πS
πI
πR
γπI
The simple expressions for φR and πS break.
Intro to dynamic modeling of epidemics Static Networks Dynamic Populations
Finding πS
θθ θ
θθ
θθ
θ
Probability a random stub belongs to a degree k susceptibleindividual is
πS(t) =∑k
Pn(k)θ(t)k
=θψ′(θ)
ψ′(1)
Intro to dynamic modeling of epidemics Static Networks Dynamic Populations
Finding πS
θθ θ
θθ
θθ
θ
Probability a random stub belongs to a degree k susceptibleindividual is
πS(t) =∑k
Pn(k)θ(t)k
=θψ′(θ)
ψ′(1)
Intro to dynamic modeling of epidemics Static Networks Dynamic Populations
Finding πS
θθ θ
θθ
θθ
θ
Probability a random stub belongs to a degree k susceptibleindividual is
πS(t) =∑k
kP(k)
〈K 〉θ(t)k
=θψ′(θ)
ψ′(1)
Intro to dynamic modeling of epidemics Static Networks Dynamic Populations
Finding πS
θθ θ
θθ
θθ
θ
Probability a random stub belongs to a degree k susceptibleindividual is
πS(t) =∑k
kP(k)
〈K 〉θ(t)k =
θψ′(θ)
ψ′(1)
Intro to dynamic modeling of epidemics Static Networks Dynamic Populations
πS
πI
πR
γπI
This leads to
πR = γπI , πI = 1− πS − πR , πS =θψ′(θ)
ψ′(1)
Intro to dynamic modeling of epidemics Static Networks Dynamic Populations
Completing the equations
θ
v
u
φSv
u
φIv
u
φR
v
u
1 − θ
βφI
βφI φ
Sψ
′′(θ)
ψ′(θ
)
γφI
ηφR
ηθ
ηθπS ηθπIηθπRηφS ηφI
φS = ηθπS − ηφS − βφIφSψ′′(θ)/ψ′(θ)
φI = βφIφSψ′′(θ)/ψ′(θ) + ηθπI − (η + γ + β)φI
θ = −βφI
Intro to dynamic modeling of epidemics Static Networks Dynamic Populations
Final Equations
φS = ηθπS − ηφS − βφIφSψ′′(θ)
ψ′(θ)
φI = βφIφSψ′′(θ)
ψ′(θ)+ ηθπI − (η + γ + β)φI
θ = −βφI
πR = γπI , πI = 1− πS − πR , πS =θψ′(θ)
ψ′(1)
R = γI , I = 1− S − R , S = ψ(θ)
Intro to dynamic modeling of epidemics Static Networks Dynamic Populations
−5 0 5 10 15 200.00
0.02
0.04
0.06
0.08
0.10
0.12
t
Infe
ctio
ns
Comparison of theory (dashed) with average of 102 simulations ina population of 104 individuals (solid).Negative binomial degree distribution: P(k) =
(k+r−1k
)(1− p)rpk
for r = 4, p = 1/3. ψ(x) = [2/(3− x)]4.β = 5/4, γ = 1, η = 1/2.
Intro to dynamic modeling of epidemics Static Networks Dynamic Populations
Intro to dynamic modeling of epidemics
Static NetworksNetwork AssumptionsFinal SizeDynamics
Dynamic PopulationsUnchanging DegreesDormant contacts (binding sites)
Intro to dynamic modeling of epidemics Static Networks Dynamic Populations
Introducing “dormant” contacts
• Consider a population in which individuals have k stubs (or“binding sites”), not all of which are active at any time.
• A dormant stub becomes active at rate η1.
• An active stub becomes dormant at rate η2.
Intro to dynamic modeling of epidemics Static Networks Dynamic Populations
θ
v
u
φSv
u
φIv
u
φR
v
u
1 − θ
βφI
βφI φ
Sψ
′′(θ)
ψ′(θ
)
γφI
u
φD η2(θ − φD)η1φD
ηθ
ηθπS ηθπI
ηθπR
ηφR
ηφS
ηφI
πS
πI
πR
γπI
ξS
ξI
ξR
γξI
η2ξS
η1πS
η2ξI
η1πI
η2ξR
η1πR
Introduce φD : probability stub is dormant, and let π variablesrepresent dormant stubs, ξ variables represent active stubs.
Intro to dynamic modeling of epidemics Static Networks Dynamic Populations
θ
v
u
φSv
u
φIv
u
φR
v
u
1 − θ
βφI
βφI φ
Sψ
′′(θ)
ψ′(θ
)
γφI
u
φD η2(θ − φD)η1φD
η1φDπSπ η
1φD π
Iπ
η1φ
D πR
π
η2φR
η2φS
η 2φ I
πS
πI
πR
γπI
ξS
ξI
ξR
γξI
η2ξS
η1πS
η2ξI
η1πI
η2ξR
η1πR
Introduce φD : probability stub is dormant, and let π variablesrepresent dormant stubs, ξ variables represent active stubs.
Intro to dynamic modeling of epidemics Static Networks Dynamic Populations
Equations
θ = −βφI
φS = −βφIφSψ′′(θ)
ψ′(θ)+ η1
πS
πφD − η2φS
φI = βφIφSψ′′(θ)
ψ′(θ)+ η1
πI
πφD − (η2 + β + γ)φI
φD = η2(θ − φD)− η1φD
ξR = −η2ξR + η1πR + γξI , ξS = (θ − φD)ψ′(θ)
ψ′(1), ξI = ξ − ξS − ξR
πR = η2ξR − η1πR + γπI , πS = φDψ′(θ)
ψ′(1), πI = π − πS − πR
ξ =η1
η1 + η2, π =
η2η1 + η2
R = γI , S = ψ(θ) , I = 1− S − R
Intro to dynamic modeling of epidemics Static Networks Dynamic Populations
−5 0 5 10 150.00
0.05
0.10
0.15
0.20
t
Infe
ctio
ns
Intro to dynamic modeling of epidemics Static Networks Dynamic Populations
Hierarchy
DormantContacts
DynamicFixed-Degree
DynamicVariable-Degree
ConfigurationModel
Mixed Pois-son
Mean FieldSocial Het-erogeneity
Mass Action
Intro to dynamic modeling of epidemics Static Networks Dynamic Populations
Conclusions
Fairly complex population structure can be captured by a smallnumber of equations.
PS: mass action can be written as
ξ = βI
S = S(0)e−ξ , R = R(0) +γξ
β, I = 1− S − R
where ξ(0) = 0.
Intro to dynamic modeling of epidemics Static Networks Dynamic Populations
Conclusions
Fairly complex population structure can be captured by a smallnumber of equations.
PS: mass action can be written as
ξ = βI
S = S(0)e−ξ , R = R(0) +γξ
β, I = 1− S − R
where ξ(0) = 0.