Mathematical Structure & Dynamics of Aggregate System Dynamics

117
Mathematical Structure & Dynamics of Aggregate System Dynamics Infectious Disease Models 2 Nathaniel Osgood CMPT 394 February 5, 2013

Transcript of Mathematical Structure & Dynamics of Aggregate System Dynamics

Page 1: Mathematical Structure & Dynamics of Aggregate System Dynamics

Mathematical Structure & Dynamics of Aggregate System Dynamics Infectious Disease Models 2

Nathaniel Osgood

CMPT 394

February 5, 2013

Page 2: Mathematical Structure & Dynamics of Aggregate System Dynamics

Recall: Kendrick-McKermack Model

• Partitioning the population into 3 broad categories:

– Susceptible (S)

– Infectious (I)

–Removed (R)

Page 3: Mathematical Structure & Dynamics of Aggregate System Dynamics

Model Generality

• The model can be taken as describing many processes of “contagion”

– Transmission of computer malware

– Spread of word of mouth about a new product

– Rumor propagation

– Spread of a “meme” or idea

Page 4: Mathematical Structure & Dynamics of Aggregate System Dynamics

Recall: Basic Model Structure

Infective

Average Duration of

Infectiousness

Recovered

RecoverySusceptible

Incidence

Contacts per

SusceptibleFractional

Prevalence

Population Size

Per Contact Risk of

Infection

Immigration

Immigration Rate

Page 5: Mathematical Structure & Dynamics of Aggregate System Dynamics

State Equation Representation

• We can represent System Dynamics (stock & flow) models as state equations

– These are systems of first order differential equations

• Systems of arbitrary order can be represented in this way

– We can simply name the derive of a given state variable as another state variable

Page 6: Mathematical Structure & Dynamics of Aggregate System Dynamics

Recall: Mathematical Notation

Absolute

Prevalence

Mean Time with

Disease

Recovered

RecoverySusceptible

Incidence

Contacts per

SusceptibleFractional

Prevalence

Population Size

Per Contact Risk of

Infection

Immigration of

Susceptibles

Immigration Rate M

c

S I R

N

Page 7: Mathematical Structure & Dynamics of Aggregate System Dynamics

Recall: Underlying Equations

IS M c S

N

I II c S

N

IR

Page 8: Mathematical Structure & Dynamics of Aggregate System Dynamics

Key Quantities for Infectious Disease Models: Parameters

• Contacts per susceptible per unit time: c

– e.g. 20 contacts per month

– This is the number of contacts a given susceptible will have with anyone

• Per-infective-with-susceptible-contact transmission probability:

– This is the per-contact likelihood that the pathogen will be transmitted from an infective to a susceptible with whom they come into a single contact.

Page 9: Mathematical Structure & Dynamics of Aggregate System Dynamics

Recall: Intuition Behind Common Terms • I/N: The Fraction of population members (or, by

assumption, contacts!) that are infective – Important: Simplest models assume that this is also the

fraction of a given susceptible’s contacts that are infective! Many sophisticated models relax this assumption

• c(I/N): Average number of infectives that come into contact with a susceptible in a given unit time

• c(I/N): “Force of infection”: (Approx.) likelihood a given susceptible will be infected per unit time – The idea is that if a given susceptible comes into contact

with c(I/N) infectives per unit time, and if each such contact gives likelihood of transmission of infection, then that susceptible has roughly a total likelihood of c(I/N) of getting infected per unit time (e.g. month)

Page 10: Mathematical Structure & Dynamics of Aggregate System Dynamics

Key Term: Rate of Infections

Infective

Average Duration of

Infectiousness

Recovered

RecoverySusceptible

Incidence

Contacts per

SusceptibleFractional

Prevalence

Population Size

Per Contact Risk of

Infection

Immigration

Immigration Rate

Page 11: Mathematical Structure & Dynamics of Aggregate System Dynamics

Key Term: Flow Rate of New Infections

• This is the key form of the equation in many infectious disease models

• Total # of susceptibles infected per unit time

# of Susceptibles * “Likelihood” a given susceptible will be infected per unit time = S*(“Force of Infection”) =S(c(I/N))

– Note that this is a term that multiplies both S and I !

• This non-linear term is much different than the purely linear terms on which we have previously focused

– “Likelihood” is actually a probability density (a value >1 indicates that mean time to infection is <1)

Page 12: Mathematical Structure & Dynamics of Aggregate System Dynamics

Another Useful View of Key Flow • Recall: Total # of susceptibles infected per unit

time = # of Susceptibles * “Likelihood” a given susceptible will be infected per unit time = S*(“Force of Infection”) = S(c(I/N))

• The above can also be phrased as the following: S(c(I/N))=I(c(S/N))=I(c*f*)= # of Infectives * Mean # susceptibles infected per unit time by each infective

• This implies that as # of susceptibles falls=># of susceptibles surrounding each infective falls=>the rate of new infections falls (“Less fuel for the fire” leads to a reduced burning rate)

Page 13: Mathematical Structure & Dynamics of Aggregate System Dynamics

A Critical Throttle on Infection Spread: Fraction Susceptible (f)

• The fraction susceptible (here, S/N) is a key quantity limiting the spread of infection in a population

– Recognizing its importance, we give this name f to the fraction of the population that is susceptible

• This fraction determines the “efficiency” of transmission from an infective

Page 14: Mathematical Structure & Dynamics of Aggregate System Dynamics

Infection Dynamics in a Closed Population

(No Births, Deaths, Immigration)

Page 15: Mathematical Structure & Dynamics of Aggregate System Dynamics

Basic Model Structure

Infective

Average Duration of

Infectiousness

Recovered

RecoverySusceptible

Incidence

Contacts per

SusceptibleFractional

Prevalence

Population Size

Per Contact Risk of

Infection

Immigration

Immigration Rate =0

Page 16: Mathematical Structure & Dynamics of Aggregate System Dynamics

Example Dynamics of SIR Model (No Births or Deaths)

SIR Example

2,000 people

600 people

10,000 people

1,500 people

450 people

9,500 people

1,000 people

300 people

9,000 people

500 people

150 people

8,500 people

0 people

0 people

8,000 people

0 10 20 30 40 50 60 70 80 90 100 110 120 130 140 150 160 170 180 190 200

Time (days)

Susceptible Population S : SIR example people

Infectious Population I : SIR example people

Recovered Population R : SIR example people

Page 17: Mathematical Structure & Dynamics of Aggregate System Dynamics

Under what conditions does count of infectious individuals (I) decline?

• Answer: I declines iff (the following are equivalent) there is >1 infective and

– Outflow < Inflow: Rate at which people are recovering < Rate at which people are getting infected

• S(c(I/N)) < I/ => S c /N < 1/ => (S/N c ) < 1 =>

– A Person infects fewer than 1 person over the course of their illness

Page 18: Mathematical Structure & Dynamics of Aggregate System Dynamics

Example Dynamics of SIR Model (No Births or Deaths)

SIR Example

2,000 people

600 people

10,000 people

1,500 people

450 people

9,500 people

1,000 people

300 people

9,000 people

500 people

150 people

8,500 people

0 people

0 people

8,000 people

0 10 20 30 40 50 60 70 80 90 100 110 120 130 140 150 160 170 180 190 200

Time (days)

Susceptible Population S : SIR example people

Infectious Population I : SIR example people

Recovered Population R : SIR example people

Page 19: Mathematical Structure & Dynamics of Aggregate System Dynamics

Explaining the Stock & Flow Dynamics: Infectives & Susceptibles

• Initially – Each infective infects c(S/N)≈c

people on average for each time unit – the maximum possible rate

– The rate of recoveries is 0

• In short term – # Infectives grows (quickly)=> rate

of infection rises quickly • (Positive feedback!)

– Susceptibles starts to decline, but still high enough that each infective is surrounded overwhelmingly by susceptibles, so remains efficient at transmitting

• Over time, more infectives, and fewer Susceptibles – Fewer S around each I =>Rate of

infections per I declines – Many infectives start recovering =>

slower rise to I

• “Tipping point”: # of infectives plateaus – Aggregate Level: Rate of infections

= Rate of recoveries – Individual Level: Each infective

infects exactly one “replacement” before recovering

• In longer term, declining # of infectives & susceptibles => Lower & lower rate of new infections!

• Change in I dominated by recoveries => goal seeking to 0 (negative feedback!)

Page 20: Mathematical Structure & Dynamics of Aggregate System Dynamics

Key Point

• Maximum value of stock of infectives occurs at different time than maximum of incidence!

– Maximum of incidence depends on both susceptible count and force of infection

Page 21: Mathematical Structure & Dynamics of Aggregate System Dynamics

Case 1: Outbreak SIR Example

2,000 people

600 people

10,000 people

1,500 people

450 people

9,500 people

1,000 people

300 people

9,000 people

500 people

150 people

8,500 people

0 people

0 people

8,000 people

0 10 20 30 40 50 60 70 80 90 100 110 120 130 140 150 160 170 180 190 200

Time (days)

Susceptible Population S : SIR example people

Infectious Population I : SIR example people

Recovered Population R : SIR example people

Susceptibles

New InfectionsContacts betweenSusceptibles and

Infectives

Infectives

+

++

-

+

New Recoveries

+-

Susceptibles

New InfectionsContacts betweenSusceptibles and

Infectives

Infectives

+

++

-

+

New Recoveries

+-

Susceptibles

New InfectionsContacts betweenSusceptibles and

Infectives

Infectives

+

++

-

+

New Recoveries

+-

Page 22: Mathematical Structure & Dynamics of Aggregate System Dynamics

Shifting Feedback Dominance SIR Example

2,000 people

600 people

10,000 people

1,500 people

450 people

9,500 people

1,000 people

300 people

9,000 people

500 people

150 people

8,500 people

0 people

0 people

8,000 people

0 10 20 30 40 50 60 70 80 90 100 110 120 130 140 150 160 170 180 190 200

Time (days)

Susceptible Population S : SIR example people

Infectious Population I : SIR example people

Recovered Population R : SIR example people

Susceptibles

New InfectionsContacts betweenSusceptibles and

Infectives

Infectives

+

++

-

+

New Recoveries

+-

Susceptibles

New InfectionsContacts betweenSusceptibles and

Infectives

Infectives

+

++

-

+

New Recoveries

+-

Susceptibles

New InfectionsContacts betweenSusceptibles and

Infectives

Infectives

+

++

-

+

New Recoveries

+-

Page 23: Mathematical Structure & Dynamics of Aggregate System Dynamics

What is the Maximum Count of Infectious Cases (Prevalent Case Count)

• I is not changing at this peak

• I is non-zero here

0I I

I c SN

1 1 10 1 0

1

c S c SN N

S

S I R c

We will be giving this a name – the “basic Reproductive number”

Page 24: Mathematical Structure & Dynamics of Aggregate System Dynamics

State Space (Phase Space) • We commonly view dynamics as by watching a

variable as a function of time, but this is just a single perspective

• State space (“Phase Space”) diagrams depict the state space (phase space) of a system

• This is a space defined by coordinates corresponding to each successive state variable

• At a given point in time, the system occupies a particular position in that space

• Over time, system defined by state equations will typically etch out a trajectory in state space – Note that this trajectory is specific to a particular set

of parameters

Page 25: Mathematical Structure & Dynamics of Aggregate System Dynamics

An Example Phase Space

Page 26: Mathematical Structure & Dynamics of Aggregate System Dynamics

State Space (Phase Space) Diagrams • State space (“Phase Space”) diagrams depict

subsets (possibly complete) of the state space (phase space) of a system

– This is a space defined by coordinates that gives the value

• One axis for each state variable

• Time is implicit: Just movement on a trajectory

• dx/dt vector field over coordinates x

– Shows how quickly is changing at different point

• Note that these figures are specific to a particular set of parameters

Page 27: Mathematical Structure & Dynamics of Aggregate System Dynamics

State Space Plot

Page 28: Mathematical Structure & Dynamics of Aggregate System Dynamics

Case 2: Infection declines immediately

Infectives

1

0.75

0.5

0.25

0

0 10 20 30 40 50 60 70 80 90 100

Time (Month)

Infectives : Infection extinction

Page 29: Mathematical Structure & Dynamics of Aggregate System Dynamics

State Space Portrait of Similar Activity

Page 30: Mathematical Structure & Dynamics of Aggregate System Dynamics

Under What Conditions Does Each Situation (“Case”) Apply?

• Hint: Under what conditions does count of infectious individuals (I) decline?

• Answer: I declines if (the following are equivalent) – Outflow < Inflow: Rate at which people are

recovering < Rate at which people are getting infected • S(c(I/N)) < I/ => S c /N < 1/ => (S/N c ) < 1 =>

– A Person infects fewer than 1 person over the course of their illness

• If I=1 (initial state) and population (N) is large, S/N 1, and we have c < 1 as criterion

Page 31: Mathematical Structure & Dynamics of Aggregate System Dynamics

Where are the Equilibria (“Fixed Points”)

• Hint: Under what situations is the model in stasis (in balance?)

• Hint 2: Under what conditions are the rates of change of the stocks 0?

• Solution: Solve for the values of the state variables (in terms of the parameters) at which the derivatives [left hand sides of state equations] equal 0)

– These will be the points in state space at which there is no change

Page 32: Mathematical Structure & Dynamics of Aggregate System Dynamics

Recall: Mathematical Notation

Absolute

Prevalence

Mean Time with

Disease

Recovered

RecoverySusceptible

Incidence

Contacts per

SusceptibleFractional

Prevalence

Population Size

Per Contact Risk of

Infection

Immigration of

Susceptibles

Immigration Rate M

c

S I R

N

Page 33: Mathematical Structure & Dynamics of Aggregate System Dynamics

Recall: Underlying Equations

IS M c S

N

I II c S

N

IR

Page 34: Mathematical Structure & Dynamics of Aggregate System Dynamics

Recall: Underlying Equations

0

IS c S

N

I II c S

N

IR

Page 35: Mathematical Structure & Dynamics of Aggregate System Dynamics

Recall: Underlying Equations

0I

S c SN

I II c S

N

R N S I

Page 36: Mathematical Structure & Dynamics of Aggregate System Dynamics

In Balance When

0 0

0

IS c S

N

I II c S

N

Page 37: Mathematical Structure & Dynamics of Aggregate System Dynamics

In Balance When

0

0

0

Ic S

N

I Ic S

N

I

This implies that I = 0. This makes all other terms derivatives 0 as well!

Page 38: Mathematical Structure & Dynamics of Aggregate System Dynamics

Equilibria • For this model, any state with 0 infectives (i.e.

where S+R=N) is an equilibrium

• Not all such states are stable

– Stability: Some states will exhibit resilience (robustness) in response to disturbance (e.g. entry of an infectious person)

– Instability: Other states are “fragile” in the sense that a changed condition will totally change the state

• We will examine how to determine the stability of a given fixed point in a future session

Page 39: Mathematical Structure & Dynamics of Aggregate System Dynamics

Infection Dynamics in an Open Population

Page 40: Mathematical Structure & Dynamics of Aggregate System Dynamics

Introducing Births & Deaths

How and why would introduction of birth & death affect system behaviour (assume for now a fixed total population size – i.e. births=deaths, and that babies are born susceptible)

Page 41: Mathematical Structure & Dynamics of Aggregate System Dynamics

Introducing Births & Deaths

How and why would introduction of birth & death affect system behaviour (assume for now a fixed total population size – i.e. births=deaths, and that babies are born susceptible)

• How would this change long term behavior?

• Under what condition would the stock of susceptibles be declining?

• Under what condition would the stock of infectives be declining?

Page 42: Mathematical Structure & Dynamics of Aggregate System Dynamics

Slides Adapted from External Source Redacted from Public PDF for Copyright

Reasons

Page 43: Mathematical Structure & Dynamics of Aggregate System Dynamics

This is the point where •Rate of new infections=rate of recoveries •A person infects on average 1 person before recovering •The level of susceptibles is at the lowest level where the infection is “sustainable” (in the short run)

•At this point # susceptibles = # susceptibles at endemic equilibrium

Why is the # of susceptibles still declining?

Why is the # of susceptibles rising, to well above its “sustainable” value?

This fraction of susceptibles at endemic equilibrium is the minimum “sustainable” value of susceptible – i.e. the value where the properties above hold.

•Above this fraction of susceptibles, the # infected will rise •Below this fraction of susceptibles, the # infected will fall

Blue: # Susceptible Red: # infective Green: Force of Infection

Page 44: Mathematical Structure & Dynamics of Aggregate System Dynamics

This is the point where

•Rate of new infections=rate of recoveries •A person infects on average 1 person before recovering •The level of susceptibles is at the lowest level where the infection is “sustainable” (in the short run)

The susceptibles are still declining here because the large # of infectives still causes enough infections that rate of immigration < rate of infections + deaths

The rise is occurring because infectives are so low that so few infections occur that births >infections+deaths. S rises above the sustainable value because infectives are Still in decline until that point – so infectives remain low For a while!

Page 45: Mathematical Structure & Dynamics of Aggregate System Dynamics

Delays

• For a while after infectives start declining (i.e. susceptibles are below sustainable endemic value), they still deplete susceptibles sufficiently for susceptibles to decline

• For a while after susceptibles are rising (until susceptibles=endemic value), infectives will still decline

• For a while after infectives start rising, births > # of infections =>susceptibles will rise to a peak well above endemic level

Page 46: Mathematical Structure & Dynamics of Aggregate System Dynamics

Reminder: No Birth & Death

Page 47: Mathematical Structure & Dynamics of Aggregate System Dynamics

High Birth (& Death) Rate: 0.05

Page 48: Mathematical Structure & Dynamics of Aggregate System Dynamics

Modest Birth (& Death) Rate: 0.02

Page 49: Mathematical Structure & Dynamics of Aggregate System Dynamics

Modest Birth (& Death) Rate: 0.005

Page 50: Mathematical Structure & Dynamics of Aggregate System Dynamics

Small Birth (& Death) Rate: 0.001

Page 51: Mathematical Structure & Dynamics of Aggregate System Dynamics

Equilibria: How Many?

• Disease free – No infectives in population

– Entire population is susceptible

• Endemic – Steady-state equilibrium produced by spread of

illness

– Assumption is often that children get exposed when young

• The stability of the these equilibria (whether the system departs from them when perturbed) depends on the parameter values – For the disease-free equilibrium on R0

Page 52: Mathematical Structure & Dynamics of Aggregate System Dynamics

Equilibrium Behaviour • With Births & Deaths, the system can approach an

“endemic equilibrium” where the infection stays circulating in the population – but in balance

• The balance is such that (simultaneously) – The rate (in people/unit time) of new infections = The

rate of immigration • Otherwise # of susceptibles would be changing!

– The rate of new infections = the rate of recovery • Otherwise # of infectives would be changing!

• For simplicity, we assumed a fixed population, but similar properties will hold

Page 53: Mathematical Structure & Dynamics of Aggregate System Dynamics

Tipping Point

• Now try setting transmission rate β to 0.005

Page 54: Mathematical Structure & Dynamics of Aggregate System Dynamics

Case 2: Infection declines immediately

Infectives

1

0.75

0.5

0.25

0

0 10 20 30 40 50 60 70 80 90 100

Time (Month)

Infectives : Infection extinction

Page 55: Mathematical Structure & Dynamics of Aggregate System Dynamics

Recall: Closed Population (No Birth & Death)

• Infection always dies out in the population

• Some infections will take longer to die out

• There is a “tipping point” between two cases

– # of people infected declines out immediately

– Infection causes an outbreak before the infection dies down (# of people infected rises and then falls)

Page 56: Mathematical Structure & Dynamics of Aggregate System Dynamics

Simple Model Incorporating Population Turnover

Infectives

Mean Time with

Disease

Recovered

RecoverySusceptible

Incidence

Contacts per

Susceptible

<Fractional

Prevalence>

Per Contact Risk of

Infection

Susceptible

Mortality

Infective Mortality Recovered

Mortality

<Mortality Rate> <Mortality Rate>

<Mortality Rate>

Page 57: Mathematical Structure & Dynamics of Aggregate System Dynamics

Our model

• Set

– c=10 (people/month)

– =0.04 (4% chance of transmission per S-I contact)

– μ=10

– Birth and death rate=0.02

– Initial infectives=1, other 1000 susceptible

Page 58: Mathematical Structure & Dynamics of Aggregate System Dynamics

Here, the Infection Can Remain (Endemic)

Page 59: Mathematical Structure & Dynamics of Aggregate System Dynamics

Damped Oscillatory Behavior

• Modify model to have births and deaths, with an annual birth-and-death rate

• Set Model/Settings/Final Time to 1000 (long time frame)

• In “Synthesim” (“Running man”) mode, set Birth/death rates – 0.02

– 0.05

– 0.07

– 0.01

– 0.001

Page 60: Mathematical Structure & Dynamics of Aggregate System Dynamics

Exploring the Tipping Point

• Now try setting transmission rate β to 0.005

Page 61: Mathematical Structure & Dynamics of Aggregate System Dynamics

Infection Extinction • As for the case with a closed population, an

open population has two cases

– Infection dies out immediately

– Outbreak: Infection takes off

• Here – in contrast to the case for a closed population –the infection will typically go to an endemic equilibrium

Infectives

1

0.75

0.5

0.25

0

0 10 20 30 40 50 60 70 80 90 100

Time (Month)

Infectives : Infection extinction

Page 62: Mathematical Structure & Dynamics of Aggregate System Dynamics

Slides Adapted from External Source Redacted from Public PDF for Copyright

Reasons

Page 63: Mathematical Structure & Dynamics of Aggregate System Dynamics

Infection

• Recall: For this model, a given infective infects c(S/N) others per time unit

– This goes up as the number of susceptibles rises

• Questions

– If the mean time a person is infective is μ, how many people does that infective infect before recovering?

– With the same assumption, how many people would that infective infect if everyone else is susceptible?

– Under what conditions would there be more infections after their recovery than before?

Page 64: Mathematical Structure & Dynamics of Aggregate System Dynamics

Fundamental Quantities

• We have just discovered the values of 2 famous epidemiological quantities for our model

– Effective Reproductive Number: R*

– Basic Reproductive Number: R0

Page 65: Mathematical Structure & Dynamics of Aggregate System Dynamics

Effective Reproductive Number: R*

• Number of individuals infected by an ‘index’ infective (over the course of their illness) in the current epidemological context

• Depends on – Contact frequency (people/unit time) – Transmission probability – Length of time infected – # (Fraction) of Susceptibles

• Affects – Whether infection spreads

• If R*> 1, # of cases will rise, If R*<1, # of cases will fall – Alternative formulation: Largest real eigenvalue <> 0

– Endemic Rate

Page 66: Mathematical Structure & Dynamics of Aggregate System Dynamics

Basic Reproduction Number: R0

• Number of individuals infected by an ‘index’ infective in an otherwise disease-free equilibrium – This is just R* at disease-free equilibrium all (other) people in

the population are susceptible other than the index infective

• Depends on – Contact frequency (people/unit time) – Transmission probability – Length of time infected

• Affects – Whether infection spreads

• If R0> 1, Epidemic Takes off, If R0<1, Epidemic dies out – Alternative formulation: Largest real eigenvalue <> 0

– Speed of spread: Initial infection rise exp(t*(R0-1)/D) – Endemic Rate

Page 67: Mathematical Structure & Dynamics of Aggregate System Dynamics

Basic Reproductive Number R0

• If contact patterns & infection duration remain unchanged and if fraction f of the population is susceptible, then mean # of individuals infected by an infective over the course of their infection is f*R0

• In endemic equilibrium: Inflow=Outflow (S/N)R0=1 – Every infective infects a “replacement” infective to keep

equilibrium – Just enough of the population is susceptible to allow this

replacement – The higher the R0, the lower the fraction of susceptibles in

equilibrium! • Generally some susceptibles remain: At some point in epidemic,

susceptibles will get so low that can’t spread

Page 68: Mathematical Structure & Dynamics of Aggregate System Dynamics

Our model

• Set

– c=10 (people/month)

– =0.04 (4% chance of transmission per S-I contact)

– μ=10

– Birth and death rate= 0

– Initial infectives=1, other 1000 susceptible

• What is R0?

• What should we expect to see ?

Page 69: Mathematical Structure & Dynamics of Aggregate System Dynamics

Thresholds • R*

– Too low # susceptibles => R* < 1: # of infectives declining

– Too high # susceptibles => R* > 1: # of infectives rising

• R0

– R0>1: Infection is introduced from outside will cause outbreak

– R0<1: “Herd immunity”: infection is introduced from outside will die out (may spread to small number before disappearing, but in unsustainable way)

• This is what we try to achieve by control programs, vaccination, etc.

• Outflow from susceptibles (infections) is determined by the # of Infectives

Page 70: Mathematical Structure & Dynamics of Aggregate System Dynamics

Equilibrium Behaviour

• With Births & Deaths, the system can approach an “endemic equilibrium” where the infection stays circulating in the population – but in balance

• The balance is such that (simultaneously)

– The rate of new infections = The rate of immigration

• Otherwise # of susceptibles would be changing!

– The rate of new infections = the rate of recovery

• Otherwise # of infectives would be changing!

Page 71: Mathematical Structure & Dynamics of Aggregate System Dynamics

Equilibria

• Disease free – No infectives in population

– Entire population is susceptible

• Endemic – Steady-state equilibrium produced by spread of

illness

– Assumption is often that children get exposed when young

• The stability of the these equilibria (whether the system departs from them when perturbed) depends on the parameter values – For the disease-free equilibrium on R0

Page 72: Mathematical Structure & Dynamics of Aggregate System Dynamics

Vaccination

Page 73: Mathematical Structure & Dynamics of Aggregate System Dynamics

Adding Vaccination Stock

• Add a

– “Vaccinated” stock

– A constant called “Monthly Likelihood of Vaccination”

– “Vaccination” flow between the “Susceptible” and “Vaccinated” stocks

• The rate is the stock times the constant above

• Set initial population to be divided between 2 stocks

– Susceptible

– Vaccinated

• Incorporate “Vaccinated” in population calculation

Page 74: Mathematical Structure & Dynamics of Aggregate System Dynamics

Additional Settings

• c= 10

• Beta=.04

• Duration of infection = 10

• Birth & Death Rate=0

Page 75: Mathematical Structure & Dynamics of Aggregate System Dynamics

Adding Stock

Page 76: Mathematical Structure & Dynamics of Aggregate System Dynamics

Experiment with Different Initial Vaccinated Fractions

• Fractions = 0.25, 0.50, 0.6, 0.7, 0.8

Page 77: Mathematical Structure & Dynamics of Aggregate System Dynamics
Page 78: Mathematical Structure & Dynamics of Aggregate System Dynamics

Recall: Thresholds

• R*

– Too low # susceptibles => R* < 1: # of infectives declining

– Too high # susceptibles => R* > 1: # of infectives rising

• Outflow from susceptibles (infections) is determined by the # of Infectives

• Delays:

– For a while after infectives start declining, they still deplete susceptibles sufficiently for susceptibles to decline

– For a while after infectives start rising, the # of infections is insufficient for susceptibles to decline

Page 79: Mathematical Structure & Dynamics of Aggregate System Dynamics

Effective Reproductive Number: R*

• Number of individuals infected by an ‘index’ infective in the current epidemiological context

• Depends on – Contact number

– Transmission probability

– Length of time infected

– # (Fraction) of Susceptibles

• Affects – Whether infection spreads

• If R*> 1, # of cases will rise, If R*<1, # of cases will fall – Alternative formulation: Largest real eigenvalue <> 0

– Endemic Rate

Page 80: Mathematical Structure & Dynamics of Aggregate System Dynamics

Basic Reproduction Number: R0

• Number of individuals infected by an ‘index’ infective in an otherwise disease-free equilibrium – This is just R* at disease-free equilibrium all (other) people in

the population are susceptible other than the index infective

• Depends on – Contact number – Transmission probability – Length of time infected

• Affects – Whether infection spreads

• If R0> 1, Epidemic Takes off, If R0<1, Epidemic dies out – Alternative formulation: Largest real eigenvalue <> 0

• Initial infection rise exp(t*(R0-1)/D)

– Endemic Rate

Page 81: Mathematical Structure & Dynamics of Aggregate System Dynamics

Recall: A Critical Throttle on Infection Spread: Fraction Susceptible (f)

• The fraction susceptible (here, S/N) is a key quantity limiting the spread of infection in a population

– Recognizing its importance, we give this name f to the fraction of the population that issusceptible

• If contact patterns & infection duration remain unchanged and, then mean # of individuals infected by an infective over the course of their infection is f*R0

Page 82: Mathematical Structure & Dynamics of Aggregate System Dynamics

Recall: Endemic Equilibrium

• Inflow=Outflow (S/N)R0=fR0=1

– Every infective infects a “replacement” infective to keep equilibrium

– Just enough of the population is susceptible to allow this replacement

• The higher the R0, the lower the fraction of susceptibles in equilibrium!

– Generally some susceptibles remain: At some point in epidemic, susceptibles will get so low that can’t spread

Page 83: Mathematical Structure & Dynamics of Aggregate System Dynamics

Critical Immunization Threshold • Consider an index infective arriving in a “worst

case” scenario when noone else in the population is infective or recovered from the illness

– In this case, that infective is most “efficient” in spreading

• The goal of vaccination is keep the fraction susceptible low enough that infection cannot establish itself even in this worst case

– We do this by administering vaccines that makes a person (often temporarily) immune to infection

• We say that a population whose f is low enough that it is resistant to establishment of infection exhibits “herd immunity”

Page 84: Mathematical Structure & Dynamics of Aggregate System Dynamics

Critical Immunization Threshold

• Vaccination seeks to lower f such that f*R0<1

• Worst case: Suppose we have a population that is divided into immunized (vaccinated) and susceptible

– Let qc be the critical fraction immunized to stop infection

– Then f=1-qc, f*R0<1 (1-qc)*R0<1qc>1-(1/R0)

• So if R0 = 4 (as in our example), qc=0.75(i.e. 75% of population must be immunized – just as we saw!)

Page 85: Mathematical Structure & Dynamics of Aggregate System Dynamics

Open/Closed Population

Case Does Epidemic Occur?

Steady-state

Fraction infective

Fraction susceptible

Open Population

R0>1 Yes Such that Infection rate=Recovery rate

1/R0

R0<1 No 0 1

Closed Population

R0>1 Yes 0 <1 (often <<1) but >0

R0<1 No 0 1

Page 86: Mathematical Structure & Dynamics of Aggregate System Dynamics

Infective

600

450

300

150

0

0 50 100 150 200 250 300 350 400 450 500 550 600 650 700 750 800 850 900 950 1000

Time (Month)

Infective : Baseline 2% Annual Turnover Infective : Baseline Closed Population

Effects of An Open Population (different Parameters)

Approaches endemic level where R*=1 & rate of new infections = rate of recoveries

Because no new influx of susceptibles (“fuel”), infectives in constant Decline. Approaches 0 (disease-free equilibrium)

Page 87: Mathematical Structure & Dynamics of Aggregate System Dynamics

Susceptible

1,000

750

500

250

0

0 50 100 150 200 250 300 350 400 450 500 550 600 650 700 750 800 850 900 950 1000

Time (Month)

Susceptible : Baseline 2% Annual Turnover

Susceptible : Baseline Closed Population

Effects of An Open Population

Approaches endemic level where R*=1 & rate of arrivals (via birth&migration) = rate of new infections+deaths

Approaches disease-free level where no infection is occurring

Page 88: Mathematical Structure & Dynamics of Aggregate System Dynamics

Recovereds

Recovered

1,000

750

500

250

0

0 50 100 150 200 250 300 350 400 450 500 550 600 650 700 750 800 850 900 950 1000

Time (Month)

Recovered : Baseline 2% Annual Turnover

Recovered : Baseline Closed Population

Page 89: Mathematical Structure & Dynamics of Aggregate System Dynamics

Impact of Turnover

• The greater the turnover rate, the greater the fraction of susceptibles in the population => the greater the endemic rate of infection

Page 90: Mathematical Structure & Dynamics of Aggregate System Dynamics

Fraction of Susceptibles

Page 91: Mathematical Structure & Dynamics of Aggregate System Dynamics

Effective Reproductive Number

Page 92: Mathematical Structure & Dynamics of Aggregate System Dynamics

Prevalence

Page 93: Mathematical Structure & Dynamics of Aggregate System Dynamics

R*

Page 94: Mathematical Structure & Dynamics of Aggregate System Dynamics

Fraction Recovered

Page 95: Mathematical Structure & Dynamics of Aggregate System Dynamics

Adding Ongoing Vaccination Process

Page 96: Mathematical Structure & Dynamics of Aggregate System Dynamics

Infectious Disease Models 5 -- Vaccination

CMPT 858

Nathaniel Osgood

3-30-2010

Page 97: Mathematical Structure & Dynamics of Aggregate System Dynamics

Equilibrium Behaviour

• With Births & Deaths, the system can approach an “endemic equilibrium” where the infection stays circulating in the population – but in balance

• The balance is such that (simultaneously)

– The rate of new infections = The rate of immigration

• Otherwise # of susceptibles would be changing!

– The rate of new infections = the rate of recovery

• Otherwise # of infectives would be changing!

Page 98: Mathematical Structure & Dynamics of Aggregate System Dynamics

Equilibria

• Disease free – No infectives in population

– Entire population is susceptible

• Endemic – Steady-state equilibrium produced by spread of

illness

– Assumption is often that children get exposed when young

• The stability of the these equilibria (whether the system departs from them when perturbed) depends on the parameter values – For the disease-free equilibrium on R0

Page 99: Mathematical Structure & Dynamics of Aggregate System Dynamics

Adding Vaccination Stock

• Add a

– “Vaccinated” stock

– A constant called “Monthly Likelihood of Vaccination”

– “Vaccination” flow between the “Susceptible” and “Vaccinated” stocks

• The rate is the stock times the constant above

• Set initial population to be divided between 2 stocks

– Susceptible

– Vaccinated

• Incorporate “Vaccinated” in population calculation

Page 100: Mathematical Structure & Dynamics of Aggregate System Dynamics

Additional Settings

• c= 10

• Beta=.04

• Duration of infection = 10

• Birth & Death Rate=0

Page 101: Mathematical Structure & Dynamics of Aggregate System Dynamics

Adding Stock

Page 102: Mathematical Structure & Dynamics of Aggregate System Dynamics

Experiment with Different Initial Vaccinated Fractions

• Fractions = 0.25, 0.50, 0.6, 0.7, 0.8

Page 103: Mathematical Structure & Dynamics of Aggregate System Dynamics
Page 104: Mathematical Structure & Dynamics of Aggregate System Dynamics

Critical Immunization Threshold • Consider an index infective arriving in a “worst

case” scenario when noone else in the population is infective or recovered from the illness

– In this case, that infective is most “efficient” in spreading

• The goal of vaccination is keep the fraction susceptible low enough that infection cannot establish itself even in this worst case

– We do this by administering vaccines that makes a person (often temporarily) immune to infection

• We say that a population whose f is low enough that it is resistant to establishment of infection exhibits “herd immunity”

Page 105: Mathematical Structure & Dynamics of Aggregate System Dynamics

Critical Immunization Threshold

• Vaccination seeks to lower f such that f*R0<1

• Worst case: Suppose we have a population that is divided into immunized (vaccinated) and susceptible

– Let qc be the critical fraction immunized to stop infection

– Then f=1-qc, f*R0<1 (1-qc)*R0<1qc>1-(1/R0)

• So if R0 = 4 (as in our example), qc=0.75(i.e. 75% of population must be immunized – just as we saw!)

Page 106: Mathematical Structure & Dynamics of Aggregate System Dynamics

Simulating Introduction of Vaccination for a Childhood Infection in an Open Population • c = 500

• Beta = 0.05

• Duration of infection = .25

• Initial Fraction Vaccinated = 0

• Monthly birth & death rate = 10% per year (focusing on children 0-10 years of age)

• Questions – What is R0?

– What level of susceptibles is required to sustain the infection

– What is the critical vaccination fraction?

Page 107: Mathematical Structure & Dynamics of Aggregate System Dynamics
Page 108: Mathematical Structure & Dynamics of Aggregate System Dynamics

What Rate of Vaccination Eliminates?

Page 109: Mathematical Structure & Dynamics of Aggregate System Dynamics
Page 110: Mathematical Structure & Dynamics of Aggregate System Dynamics

Representing Quarantine

Page 111: Mathematical Structure & Dynamics of Aggregate System Dynamics
Page 112: Mathematical Structure & Dynamics of Aggregate System Dynamics
Page 113: Mathematical Structure & Dynamics of Aggregate System Dynamics

Endemic Situations

• In an endemic context, infection remains circulating in the population

• The common assumption here is that

• The susceptible portion of the population will be children

• At some point in their life trajectory (at an average age of acquiring infection A), individuals will be exposed to the infection & develop immunity

Page 114: Mathematical Structure & Dynamics of Aggregate System Dynamics

Slides Adapted from External Source Redacted from Public PDF for Copyright

Reasons

Page 115: Mathematical Structure & Dynamics of Aggregate System Dynamics

Age of Exposure & Reproductive Constant • Cf a “natural” (non-immunized) constant size

population where all die at same age and where – Mean Age at death L

– Mean Age of exposure A (i.e. we assume those above A are exposed)

• Fraction susceptible is S/N = A/L (i.e. proportion of population below age A)

• Recall for our (and many but not all other) models: R*=(S/N)R0=1S/N=1/R0

• Thus

A/L = 1/R0 L/A = R0 • This tells us that the larger the R0, the earlier in life individuals

become infected

Page 116: Mathematical Structure & Dynamics of Aggregate System Dynamics

Incompletely Immunized Population

• Suppose we have q fraction of population immunized (q<qc)

• Suppose we have fraction f susceptible

• Fraction of the population currently or previously infected is 1-q-f

– If we assume (as previously) that everyone lives until L and is infected at age A, then fraction 1-A/L has been infected

– So 1-A/L= 1-q-f A = L(q+f)

• This can be much higher than for the natural population

– This higher age of infection can cause major problems, due to waning of childhood defenses

• i.e. incomplete immunization leads to older mean age ofexposure

Page 117: Mathematical Structure & Dynamics of Aggregate System Dynamics