Democratic Underground Latest Greatest Lobby Journals Search Options Help Login
Google

The Mathematics of a Pandemic

Printer-friendly format Printer-friendly format
Printer-friendly format Email this thread to a friend
Printer-friendly format Bookmark this thread
This topic is archived.
Home » Discuss » Archives » General Discussion (1/22-2007 thru 12/14/2010) Donate to DU
 
Avalux Donating Member (1000+ posts) Send PM | Profile | Ignore Tue Apr-28-09 03:56 PM
Original message
The Mathematics of a Pandemic
I was reading this last night and want to share with everyone here. It's not meant to scare anyone but it will give you an idea of how an infection that's easily transmittable can spread over a short period of time, just from one person.

We first heard reports of swine flu on Thursday of last week, so if we go by that measure, today is Day 6. The CDC and WHO agree the spread of swine flu cannot be contained; from reports today, it seems to be all over the world now. I am not predicting the current swine flu outbreak will follow the below extrapolation but it is interesting to see the math.

This flu-wiki diary was created in 2005 as a "what if" for an avian flu pandemic:

Pandemic Velocity Calculations

I've put together a spreadsheet, but am unable to get it into a form that will work here, so
the two variables are:
1. Average number of people spread to "R"
2. Average number of days to spread to average number of people "D"

And Patient Zero - First h2h patient who lives work in a major urban/metro setting worldwide

The results are interesting...

with R=5 and D=2
Day #infected
0 1
2 5
4 25
6 125
8 625
10 3,125
12 15,625
14 78,125
16 390,625
18 1,953,125
20 9,765,625
22 48,828,125
24 244,140,625
26 1,220,703,125

http://www.newfluwiki2.com/showDiary.do?diaryId=546
Printer Friendly | Permalink |  | Top
mike_c Donating Member (1000+ posts) Send PM | Profile | Ignore Tue Apr-28-09 04:10 PM
Response to Original message
1. does your model take individual time courses into account...?
Edited on Tue Apr-28-09 04:11 PM by mike_c
To clarify: each infected person is themselves infectious to others for a finite period of time, after which they either die or recover, but in any event are no longer infectious. That's why a strictly exponential growth model is not best. I'd use something like:

It+1 = It + asItUt - rIt - mIt

It = infected persons at time t
Ut = uninfected persons at time t
a = encounter rate with uninfected persons
s = susceptibility rate (proportion of uninfected persons infected during each encounter with a carrier)
r = recovery rate
m = mortality rate

Lots of good models out there-- this one's off the top of my head.
Printer Friendly | Permalink |  | Top
 
readmoreoften Donating Member (1000+ posts) Send PM | Profile | Ignore Tue Apr-28-09 04:15 PM
Response to Reply #1
2. That's a really good point. Maybe you should add it to the wiki?
I'm glad that people are discussing this in terms of mathematical models because I think that's really what it comes down to. It doesn't seem like this virus is incredibly infectious so far, given the data.

Thanks for posting.
Printer Friendly | Permalink |  | Top
 
Avalux Donating Member (1000+ posts) Send PM | Profile | Ignore Tue Apr-28-09 04:18 PM
Response to Reply #1
3. I'm not a mathemetician - you obviously know a lot more about this than I do.
Edited on Tue Apr-28-09 04:19 PM by Avalux
I just thought the post and the subsequent thread was interesting. Maybe you can help me understand your model better and please - add it to the wiki thread too. :hi:
Printer Friendly | Permalink |  | Top
 
mike_c Donating Member (1000+ posts) Send PM | Profile | Ignore Tue Apr-28-09 04:43 PM
Response to Reply #3
9. it really was off the top of my head...
Edited on Tue Apr-28-09 04:46 PM by mike_c
...but here's some more explanation.

I used a discrete rather than continuous model just because it was easier to think in discrete time steps rather than differential equations. Some folks around here will object. I agree in advance.

So, the first term It is the number of people currently infected-- this is the pool of folks who currently have the disease and can infect others. I'm assuming they have some average infectiousness throughout the time they're infectious.

Add to this the number of new infections: asItUt where It is the number of currently infected people spreading the disease, Ut is the number of people who are uninfected and susceptible. This latter term is necessary because you can only be infected once-- if you recover, you're immune. Otherwise, I'd just consider the number of susceptible people to be effectively infinite and omit the term. Not every infected person will encounter an uninfected person, so a is the encounter rate, and not every encounter will lead to a new infection, so s is the susceptibility rate (think of it as the transmission frequency, and I should have used t to denote it, but I used t for time.) :-)

So the number of infected people in the next time step is It + asItUt. But some of those people recover during each time step, so we subtract the number who recover rIt, and some die, so we subtract them, too: - mIt.

Real epidemiologists will find lots to criticize-- this is just a crude mass action model, but it's a good start, I think.
Printer Friendly | Permalink |  | Top
 
dos pelos Donating Member (224 posts) Send PM | Profile | Ignore Tue Apr-28-09 04:38 PM
Response to Reply #1
7. It's all about the variable "a"
It is all about the encounter rate.Virulence is environmentally determined by " a".In an environment of easy encounter,easy transmission,the most virulent forms of a virus proliferate,the less virulent forms are out competed.If "a" is a lesser value,if the environment is marked by slow transmission,virulent forms die out in their host(which also dies),untransmitted.In such an environment the less virulent forms dominate.Environment determines,selects for virulence.Variable "a" is everything.This is why,in crowded,unsanitary Mexico City,easy transmission due to high encounter rates selects for the proliferation of the most virulent forms.This is why,also,this flu virus will be much less virulent in the US.
Printer Friendly | Permalink |  | Top
 
mike_c Donating Member (1000+ posts) Send PM | Profile | Ignore Tue Apr-28-09 04:51 PM
Response to Reply #7
11. but...
Regarding "This is why,also,this flu virus will be much less virulent in the US."

That assumes selection favoring the less virulent forms in low transmission environments, which could take some time to appear. I'd be surprised if that's the full explanation of lower APPARENT virulence in the U.S. at more-or-less the same time the patients infected immediately beforehand in Mexico were dying faster.

How long would you expect the shift to lower virulence to take to become significant?
Printer Friendly | Permalink |  | Top
 
TheCoxwain Donating Member (1000+ posts) Send PM | Profile | Ignore Tue Apr-28-09 04:28 PM
Response to Original message
4. I can think of another Major flaw in your simple model.

You assume that every person will infect 5 other uninfected people..


This might be true during the initial phase - but as the disease spreads - you will have the same people running into each other. This coupled with immunity of a certain portion of the population - the disease will smooth of logarithmically rather than a increase in a geometric fashion as you have postulated.

In reality - ( My guess) the growth will resemble a "S" curve during growth and an exponential decline during the regression of the disease.



Printer Friendly | Permalink |  | Top
 
hvn_nbr_2 Donating Member (1000+ posts) Send PM | Profile | Ignore Tue Apr-28-09 04:36 PM
Response to Reply #4
5. You mean the Ponzi model of epidemiology won't work?
If the "flu wiki" had continued their calculations for two more cycles, it would show that all 25 billion earthlings had become infected.
Printer Friendly | Permalink |  | Top
 
Avalux Donating Member (1000+ posts) Send PM | Profile | Ignore Tue Apr-28-09 04:40 PM
Response to Reply #5
8. OMG you're right!
Now I'm a little embarrassed I posted it (didn't write it myself).
Printer Friendly | Permalink |  | Top
 
mike_c Donating Member (1000+ posts) Send PM | Profile | Ignore Tue Apr-28-09 04:53 PM
Response to Reply #5
12. and in another interation or three...
...all the matter in the universe would be composed of swine flu virons!
Printer Friendly | Permalink |  | Top
 
nadinbrzezinski Donating Member (1000+ posts) Send PM | Profile | Ignore Tue Apr-28-09 04:38 PM
Response to Reply #4
6. They are more like Bell curves
but yeah I get your point

:-)

And I am not a mathematics nerd either

Why I have been following numbers
Printer Friendly | Permalink |  | Top
 
TheCoxwain Donating Member (1000+ posts) Send PM | Profile | Ignore Tue Apr-28-09 04:45 PM
Response to Reply #6
10. I guess you are right .. Bell curve makes more sense.
Printer Friendly | Permalink |  | Top
 
DU AdBot (1000+ posts) Click to send private message to this author Click to view 
this author's profile Click to add 
this author to your buddy list Click to add 
this author to your Ignore list Fri Apr 26th 2024, 04:06 AM
Response to Original message
Advertisements [?]
 Top

Home » Discuss » Archives » General Discussion (1/22-2007 thru 12/14/2010) Donate to DU

Powered by DCForum+ Version 1.1 Copyright 1997-2002 DCScripts.com
Software has been extensively modified by the DU administrators


Important Notices: By participating on this discussion board, visitors agree to abide by the rules outlined on our Rules page. Messages posted on the Democratic Underground Discussion Forums are the opinions of the individuals who post them, and do not necessarily represent the opinions of Democratic Underground, LLC.

Home  |  Discussion Forums  |  Journals |  Store  |  Donate

About DU  |  Contact Us  |  Privacy Policy

Got a message for Democratic Underground? Click here to send us a message.

© 2001 - 2011 Democratic Underground, LLC