Showing posts with label model. Show all posts
Showing posts with label model. Show all posts

Friday, April 17, 2015

HAI and aliens: The Drake equation in epidemiology

File:NASA-Apollo8-Dec24-Earthrise.jpgIn a 1961, Frank Drake introduced the following equation for the number N of civilizations in our galaxy with which radio-communication might be possible,
N = R x Fp x Ne x Fl x Fi x Fc x L
As described by the SETI institute,
  • R is the average rate of star formation in the galaxy, 
  • Fp is the fraction of those stars that have planets, 
  • Ne is the average number of planets that can potentially support life per star that has planets, 
  • Fl is the fraction of planets that could support life that actually develop life at some point, 
  • Fi is the fraction of planets with life that actually go on to develop intelligent life (civilizations), 
  • Fc is the fraction of civilizations that develop a technology that releases detectable signs of their existence into space, and 
  • L is the length of time for which such civilizations release detectable signals into space. 
Drake's purpose in writing this equation was to facilitate discussion at a meeting. Its importance is not the numerical prediction of communicative civilizations in the galaxy (note there are 7 factors in the equation and errors in each term will combine to make any calculation wildly uncertain) but rather in the framing of issues related to the search for alien life. That said, the equation tells a story. Assuming that these are the relevant factors, then if any the terms are zero, N is zero and we are likely to be alone. If none of them are zero, then even if they are exceedingly small, there is a chance that there is life somewhere in the galaxy. Moreover, it's unlikely that any of these terms are zero, given the huge size of the galaxy. In epidemiological terms, then, the equation helps to frame our thinking about the potential prevalence of life in the Milky Way galaxy.

Given that NASA opined recently that we're likely to have strong indications of life beyond Earth within a decade, it made me wonder about Drake-like equations in medicine and epidemiology. As a toy example, suppose that we write the number of patients contracting hospital-acquired infections (HAIs) yearly in the US as the product of several factors, say
N = Nhospital visits x Pcontact x Pdevelop disease x Pdisease reported
where
  • Nhospital visits is the number of patients visiting hospitals annually,
  • Pcontact is the probability that a patient comes into contact with infectious material (e.g., via environmental contamination or an infectious patient or HCW)
  • Pdevelop disease is the probability of developing disease if infected, and 
  • Pdisease reported is the probability that an infection is recognized and reported.
According to the CDC, there are 35.1M hospital discharges annually in the US, so Nhosp visits~35M. Now suppose that Pcontact and Pdevelop disease are both low, say 1% , and that we have excellent surveillance so that Pdisease reported ~1. If that could be true, then we would expect to see 3,500 HAI per year. We should be so lucky. Being more realistic, however, might yield a 10% change of coming into contact to infection, Pcontact~0.1, and a higher probability of contracting disease if infected, say 50%, so that Pdevelop disease ~ 0.5. In that case we get N=1.75M HAI annually, which is close to the CDC estimate of 1.7M.

How could this be decreased? The number of hospital visits, N, is unlikely to decrease drastically, so that's not really a control variable. Perhaps we could develop interventions to decrease Pcontact and Pdevelop disease. Obviously there is tremendous focus on reducing Pcontact through handwashing, alcohol based had rubs, contact precautions, better environmental cleaning, etc already. If Pcontact could be reduced by a factor of 10, from 0.1 to 0.01 -- seemingly a tall order -- N could be dropped to 175K. That may not be possible, but suppose we could achieve a factor of 2 improvement so that Pcontact ~ 0.05. If we could combine that with a similar decrease in Pdevelop disease by, say, better use of antimicrobials, then N could in turn fall from 1.7M to 438K. Thus, combination strategies could have great impact.

This is simply a back of the envelop calculation: the equation above is but an approximation and the estimates are completely arbitrary. Moreover, parameters will vary from facility to facility and even between patient populations (imagine how Pdevelop disease is likely to vary between transplant versus general surgery patients). That said, this toy model illustrates a simple point: Breaking a problem down into smaller pieces can be helpful in thinking about it.

While this way of thinking is not alien (pun intended) to biostatistics and epidemiology, and clearly has limitations, I think it's helpful for framing issues in one's mind. In addition to clearly laying out assumptions in whatever is being contemplated (in this case, HAI), toy model approaches can suggest what may be needed in order to get a better answer.

(image source: Wikipedia)

Saturday, October 11, 2014

Ebola versus influenza and some thoughts on screening

My colleague Eli Perencevich wrote an interesting blog this week in which he discusses airport screening. He points out that some of the discussion surrounding travel restrictions and Ebola are related to ideas from (and models of) epidemics of respiratory viruses, including the 2009 H1N1 pandemic. In the post he highlights some of the important differences between Ebola and influenza:
. . . Ebola is slower moving, has a much longer incubation period (especially compared to the duration of a transcontinental flight), and is not contagious before symptoms develop. What does this mean? It means that if Ebola was as infectious as influenza, millions would have already died - apocalypse. It also means that since Ebola is not transmissible during its long incubation period, it may be possible to quickly isolate patients when symptoms develop. Thus, airport screening on exit or entry could limit transmission and perhaps through early diagnosis allow Ebola infected patients to receive life saving treatment more quickly. 
Later in the post he highlights the need for mathematical model-based analysis of the impact of specific Ebola screening programs. I recommend reading the blog.

As I mentioned in a comment to the piece, in addition to incubation period, it's useful to consider the serial interval (the period between infection and transmission; sometimes also referred to as the generation interval or generation time) and basic reproduction ratio (R0). As discussed before, estimates for R0 for Ebola in this event are similar to estimates of R0 for pandemic influenza events. White and Pagano estimate the serial interval for a 1995 outbreak of Ebola in Congo to be 5.4-7.6 days and the WHO Ebola Response Team estimates the serial interval for the current epidemic to be near 15 days. By comparison, estimates of the serial interval for the 2009 pandemic of influenza fall in the range of 2.5-3.0 days. Ebola has much longer serial intervals than does influenza.

What do we take away from this? One thing is that the serial interval is important for understanding the speed of spread. Perencevich observes that
. . . the first case of Ebola is thought to have occurred 307 days ago on December 6th in a two-year old boy. Since that time there have been an estimated 8,032 cases (granted these could be underestimates). If you compare a similar 307-day period for 2009 H1N1, April 12, 2009 to February 12, 2010 CDC estimated that between 42 million and 86 million cases occurred in the US with a mid-level estimate of 59 million people infected. Think about that -- 7,300 times more cases of H1N1 using the mid-level estimate during the same 307 days.
It's clear, then, that equating influenza and Ebola on the basis of R0 alone is misleading. Thinking of R0 as a reproductive factor for each generation of infection (at the beginning of an epidemic in a susceptible population) and the serial interval as how rapidly generations of infection occur, however, it becomes clearer that the much shorter serial interval of influenza is related the explosive emergence of influenza cases in 2009-10 relative to Ebola in 2013-14, despite the similar R0 values. It's more complex than this in reality; Wallinga and Lipsitch present a detailed mathematical treatment of how generation intervals shape the relationship between epidemic growth rates and reproductive numbers, and Lipsitch et al illustrate, within the context of SARS, how incubation period, serial interval, and epidemic growth rate combine to produce estimates of R0.

Another thing to ponder is that longer serial intervals can, depending on the length of the incubation period, give more time to institute control measures. On the one hand, the long serial interval relative to incubation period in the case of Ebola may suggest a higher likelihood of detecting an infectious traveler in an airport than there is for influenza. On the other hand, the extremely low incidence of Ebola in passengers must also be considered; it may not be an efficient activity to devote resources to.

I agree with Eli that mathematical models can help shed light on such questions. Perhaps such models have been published, I admit to falling behind on the mathematical epidemiology of Ebola results in the last two weeks. 

(image source: David Hartley)

Friday, September 26, 2014

Epidemiology and behavior in the time of Ebola

File:Ebola virus em.pngThis week the WHO Ebola Response Team published a paper raising the notion that Ebola could become endemic in the human population of West Africa. The idea hadn't occurred to me previously, and it struck me as very unlikely. After all, this is a directly transmissible disease that, as many have told us, we know how to control.

After reflecting on the possibility, however, I don't think it can be discounted out of hand. On the one hand, breaking the chain of transmission can be achieved theoretically with careful attention to infection control and prevention practice, which is well defined in the healthcare environment. On the other hand, this isn't a nosocomial outbreak. Community transmission is the major driver of incident cases, so changing human behavior in the community must occur if this epidemic is to be stopped. In general behavior is hard to affect, and in this case it may be even harder, given recent descriptions of distrust between healthcare providers and the community.

As I've mentioned before, one of the uses of mathematical modeling is to support clear and careful thinking. In this case, epidemiologists have applied models to estimate the basic reproduction ratio, R0, and have found it to be greater than 1, consistent with estimates from past outbreaks. Such an R0 suggests that the virus has the potential to circulate permanently in the human population at some non-zero endemic prevalence. Endemic prevalence levels could be, relatively speaking, high or low (or intermediate). If low enough, the disease could fade out stochastically on its own, but at higher prevalences the continual danger of sporadic cases could persist indefinitely. Models can help us gain a sense of the relative likelihood of such outcomes.

The risk factors for acquiring Ebola virus infection are well known. If effective interventions reducing risky behavior are instituted widely and adhered to, they may reduce the effective reproduction ratio, Reff, to less than 1, thereby breaking the chain of transmission. Achieving that must entail not only nosocomial infection control but also infection prevention through behavioral change in the community.

Changing behavior surely involves building and rebuilding trust between healthcare providers and local people. I suspect and hope that the recent massive pledges of, and plans for, assistance will help build the necessary rapport and trust. Maybe the construction of clinic facilities that better support effective care will help advance such endeavors. One thing is certain, however: the longer those pledges take to become reality, the more likely the worst scenarios for the course of this epidemic become.

(image source: Wikipedia)

Saturday, September 6, 2014

On truthiness, celebrities, and math

File:Time Saving Truth from Falsehood and Envy.jpgKaty Waldman recently published an article discussing how people's minds tend to grasp at the "low-hanging cognitive fruit" in daily life. She describes how sometimes we accept ideas as facts according their "truthiness" (a term coined by Steven Colbert in 2005). It's an interesting article and I recommend reading it. It makes me wonder about the role of truthiness in health-related behavior.

Colbert has described the notion of truthiness:
It used to be, everyone was entitled to their own opinion, but not their own facts. But that's not the case anymore. Facts matter not at all. Perception is everything. It's certainty. . . . Truthiness is "What I say is right, and [nothing] anyone else says could possibly be true." It's not only that I feel it to be true, but that I feel it to be true. There's not only an emotional quality, but there's a selfish quality.
Waldman surveys some of the evidence for truthiness: how people, instead of analyzing data critically to draw conclusions, sometimes accept ideas based on seemingly unrelated criteria, like the aesthetic presentation of a written message or the familiarity of a message bearer's name.

Within the realm of health behavior, truthiness can be devastating. In epidemiology, for example, it is often said that people who suffer from a condition tend to look for and find a cause, whether one exists or not. Truthiness reminds me of Jenny McCarthy's views on vaccination and autism, which she described during an interview on The Oprah Winfrey Show:
Winfrey: So what do you think triggered the autism [in your son]? I know you have a theory.
McCarthy: I do have a theory.
Winfrey: Mom instinct.
McCarthy: Mommy instinct. You know, everyone knows the stats, which being one in one hundred and fifty children have autism.
Winfrey: It used to be one in ten thousand.
McCarthy: And, you know, what I have to say is this: What number does it have to be? What number will it take for people just to start listening to what the mothers of children who have autism have been saying for years? Which is that we vaccinated our baby and something happened. . . .
McCarthy: Right before his MMR shot, I said to the doctor, I have a very bad feeling about this shot. This is the autism shot, isn’t it? And he said, “No, that is ridiculous. It is a mother’s desperate attempt to blame something on autism.” And he swore at me. . . . And not soon thereafter, I noticed that change in the pictures: Boom! Soul, gone from his eyes.
The post hoc, ergo propter hoc fallacy of the passage has a high truthiness to many, even though scientific bodies have debunked the notion that vaccination causes autism.

How do "truthy" fringe ideas persist and grow in the general population? Deffuant and coworkers in 2002 published a study applying agent-based modeling to analyze the propagation of extremist views. Nigel Gilbert's book describes the study succinctly:
In Duffuant et al's model, agents [individuals] have an opinion . . . and a degree of doubt about their opinion, called uncertainty . . . An agent's opinion segment is defined as the band centered on the agent's opinion, spreading to the right and left by the agent's value for uncertainty. Agents interact randomly. When they meet, one agent may influence the other if their opinion segments overlap. If the opinion segments do not overlap, the agents are assumed to be so different in the opinions that they have no chance of influencing each other. If an agent does influence another, the opinion of one agent (j) is affected by the opinion of another agent (i) by an amount proportional to the difference between their opinions, multiplied by the amount of overlap divided by agent i's uncertainty minus one. The effect of this formula is that very uncertain agents influence other agents less than those that are certain.

 . . . The model shows that a few extremists with opinions that are not open to influence from other agents can have a dramatic effect on the opinions of the majority . . .
In the case of vaccination and autism, the high truthiness (to some) of the idea that MMR vaccine causes autism produces a group of people very certain in their beliefs. Duffuant et al, working within the context of political ideas, show that such a group can impact the opinions of others, thereby propagating their ideas.

Perhaps similar dynamics apply to the case of vaccination, and potentially other health-related memes such as the raw milk movement. I also wonder about the truthiness of the local myths surrounding Ebola and how those might spread more widely, potentially affecting public health in outbreak areas adversely.

(image source: Wikipedia)

Tuesday, September 2, 2014

Why model infectious disease: Ebola

Several weeks ago I wrote a blog on why modeling infectious disease is useful. Now seems like a good time to highlight a few issues regarding "why model?" within the context of the current Ebola event. Science Insider recently published a very nice piece on Ebola modeling and some initial results from different groups working the issue. Discussing the article with a few colleagues who are not modelers, however, I sensed some skepticism regarding the past track record of models and why it's useful to model this outbreak.

As described by many authors previously (see the links in the previous blog), a major use of modeling is to help researchers think carefully about a problem. That's especially true in the current situation, where models can help analyze complex issues. A few examples include:
  • What can be derived from data in hand, or data that can be collected, to improve our ability to clarify the situation? 
  • Can we infer how quickly the virus is being transmitted and whether it is decreasing, increasing, or staying the same (questions regarding the basic reproduction ratio, R0, and the effective reproduction ratio, Reff)?  
  • If vaccines become available, what coverage and efficacy might be necessary to control the outbreak (i.e., reduce Reff below 1)? What vaccination strategies are likely to make optimal use of resources?
  • Are there combination interventions that might prove effective at reducing the incidence of infection? 
  • What is the likelihood of Ebola cases arriving in distant nations via air travel? 
In short, there are plenty of questions that modeling can help elucidate.

One should be skeptical about any epidemiologic method, including mathematical and computer modeling, when the stakes for public health are so high. Ultimately, however, policymakers need timely and defensible analytic guidance to support allocation of scarce resources. Modeling is one component of such guidance.

(image source: David Hartley)

Sunday, June 29, 2014

Why model infectious disease?

People sometimes ask: What use are mathematical models of infectious disease? There are excellent works addressing this question in depth, including McKenzie, Garnett et al, and Grundmann and Hellriegel, among many others. They are all recommended reading and offer comprehensive answers from multiple perspectives. In the meantime, I offer a few observations.

Sir Ronald Ross, who discovered that mosquitoes carry the malaria parasite, viewed the modeling process as a way of thinking carefully about epidemiologic issues. The process of constructing a mathematical model, by its very nature, requires that careful, precise ideas are formulated as the model is built. The discipline of writing down and analyzing disease processes can sharpen and inform one's thinking. The history of mathematical modeling and the payoff for malaria research is illustrated beautifully in Smith et al.

The modeling process can also uncover gaps in our knowledge and understanding, often highlighting the need for additional research and expertise in order to realistically address particular issues. Thus, modeling can be a process for both facilitating multi- or cross-disciplinary collaborations and identifying needed observational or laboratory studies. Examples of models highlighting knowledge gaps for mosquito-borne infections can be seen in Reiner and Perkins et al. 

Importantly, models enable virtual experiments and studies, including ones that cannot be carried out easily, if at all, in the real world. Mathematical models are thus tools for analyzing what if scenarios, doing feasibility studies, and carrying out risk assessments. McKenzie illustrates these points clearly for the case of biodefense.

Models allow us to assess the impact of uncertainty, and variation in data, upon our ability to make decisions, as has been studied thoughtfully recently by Christley et al. Mathematical approaches exist and are commonly applied to models to deal with uncertainty in quantitative ways, as reviewed recently by Wu et al, and illustrated by Okais et al for the case of vaccination.

I also tend to think of models as mechanisms for summarizing, synthesizing, and communicating complex information. It never ceases to amaze me how much space in research papers is devoted to specifying a model (little space) relative to the amount of prose needed to explain the model, the data required to run it, and its output (much space). The clear, precise, and economical encapsulation of so much information, typically only a few lines of equations and table of parameter values, is very appealing. Mathematics is a much more precise language than the spoken or written word.  

Modeling has many uses beyond those touched upon here, some of which will, no doubt, be the topics of future blogs.

Saturday, May 3, 2014

First US MERS case announced

Photo: MERS-CoV particles as seen by negative stain electron microscopy. Virions contain characteristic club-like projections emanating from the viral membrane.Yesterday the first case of Middle East respiratory syndrome (MERS) observed in the US was announced. The case is a man who flew to Chicago, Illinois from Riyadh, Saudi Arabia by way of London, England. After landing in Chicago, he took a bus to Indiana. He arrived in the US on April 24 and began experiencing shortness of breath, coughing, and fever on April 27. He presented to a community hospital in Munster, Indiana, on April 28; because of his symptoms and travel history, the man was tested for the MERS coronavirus.

Understandably, the story is being covered widely in the press. One can learn more about MERS from several sources. The ECDC MERS-CoV epidemiological update as of April 30 is an excellent summary of MERS globally, and additional resources can be found at the CDC MERS Website. UPMC has also published a nice summary of the global situation. 

It would be interesting to utilize mathematical modeling to estimate where, assuming the patient was infectious while on the bus and planes, new cases might be likely to develop, geographically speaking. Such analysis could be helpful for instituting intensified surveillance in the places most likely to have such cases; using models, it may be possible to forecast the most likely cities. A rich set of methods, spanning the 1960s to the present, has been developed to understand the spatio-temporal spread of influenza and those could probably be adapted for such purposes if data on domestic bus, rail, and air travel since the plane landed is available. And while it's true that significant uncertainties in latency and incubation periods, transmission rates, and other epidemiologic parameters exist, there are techniques that allow us to estimate the effects of such uncertainties on model results.

Gathering the data, especially the transportation data, may be difficult. A NYT article this morning noted
The typical incubation period for MERS is five days, and the patient is not known to have infected anyone else. Airline passenger lists will be used to contact everyone who sat near him.

But because bus companies often do not know who bought tickets or who sat where, “that bus ride may be a challenge,” said Tom Skinner, a C.D.C. spokesman.
Information on rail passengers may be similarly difficult.

The time to develop adaptable modeling capabilities and gather such data is before new diseases emerge and spread. Of course, it's not possible to anticipate specific details about a new disease prior to emergence, but we do have some data on MERS already, plus lots of insight into how respiratory diseases spread in general. 

Regardless of models, it will be interesting to watch the MERS situation develop globally in the coming months.

(image source: CDC)

Thursday, February 20, 2014

Infection prevention: One size does not fit all

One size rarely fits all in life, and this appears to be true for infection control and prevention, too. In a 2011 review of hospital epidemiology and infection control in acute-care settings, Sydnor and Perl observed that:
Growing mandates and restrictions on payments have the potential to lead to increased unnecessary antimicrobial use in an effort to prevent infections, lack of time and resources to address other potentially preventable infections, and instances of individuals gaming surveillance systems (i.e., falsifying data) in order to lower reported infection rates. Broad mandates also impose a one-size-fits-all strategy, when in reality local epidemiology varies, and infection control programs need flexibility to address local problems.
That last point is key. Kirkland has described the issue with great clarity:
It seems intuitively obvious that not every intervention that has ever been shown to work must be implemented in every healthcare setting. However, too often, in an effort to identify “best practices,” guideline writers imply that there is indeed one “right size” that will fit all healthcare facilities. Although there probably are a handful of best practices (e.g., hand hygiene before patient care or the use of prophylactic antibiotics just prior to certain surgical procedures), there are many more interventions that could be considered “good practices,” useful in some settings, unnecessary in others. A better fit might be achieved if healthcare epidemiologists were to select from among these to customize their infection prevention programs. Which good practices to choose likely depends on local context.
Since infection prevention programs often involve a complex set of sociobehavioral interventions that depend on where, how, when, and why practices are implemented, guidance is needed on how to determine what interventions to adopt in specific situations. Lacking such a robust, validated decision support methodology, recent studies like that of Sadsad et al, which illustrate the importance of context by analyzing the impact of different interventions in various wards within a hospital, suggest that mathematical modeling can be an important tool. It is intriguing to imagine applying modeling tools to tailor interventions to specific situations. What is needed is a corps of people with the requisite, relevant skill sets (including inter alia epidemiology, surveillance, nursing, and ID) working together to consider the best evidence and tailor, apply, and validate models to inform the local decisionmaking process.

One size cannot fit all when it comes to infection control and prevention. We shouldn't necessarily expect that what works in one hospital or ward will in another. We need tools to help us determine what approach is likely to be best in different cases.

(image source: David Hartley)