| Configuration | Closed form | Eigenvalue | Agree | Community | Bed | Funeral | Doubling time (days) | Below one |
|---|---|---|---|---|---|---|---|---|
| no response | 2.5300 | 2.5300 | yes | 1.442 | 0.000 | 1.088 | 12.8 | |
| beds | 0.8902 | 0.8902 | yes | 0.470 | 0.065 | 0.355 | no growth | yes |
| safe burials | 1.5410 | 1.5410 | yes | 1.442 | 0.000 | 0.099 | 29.7 | |
| contact tracing | 2.5300 | 2.5300 | yes | 1.442 | 0.000 | 1.088 | 12.8 | |
| beds and safe burials | 0.5678 | 0.5678 | yes | 0.470 | 0.065 | 0.032 | no growth | yes |
| beds and contact tracing | 0.4838 | 0.4838 | yes | 0.229 | 0.082 | 0.173 | no growth | yes |
| safe burials and tracing | 1.5410 | 1.5410 | yes | 1.442 | 0.000 | 0.099 | 29.7 | |
| all three | 0.3266 | 0.3266 | yes | 0.229 | 0.082 | 0.016 | no growth | yes |
Beds, burials and tracers: what the timing and the size of an Ebola response are worth
A stochastic modelling study of one Sierra Leone district in 2014, written as a guided tour
This is a modelling study written as a guided tour. You do not need to have seen an epidemic model before.
- Each section opens with the question it answers and closes with what the answer means.
- Boxes marked Concept explain an idea the first time it is needed. Check yourself boxes ask one question; click to reveal the answer.
- If you have five minutes: read the summary below, then look at Figure 3, Figure 5 and Figure 6.
- Prefer a short technical version? Download the report as a PDF: the model equations, the checks and the same results in fourteen pages.
- Every number in the text is read from a table in
output/tables/, written by the code in this project. Nothing is typed in by hand. - Verification (§Section 3) is kept apart from results (§Section 5). The first asks whether the code solves the model it claims to; only the second is about Ebola.
The question. In 2014 three things were done about Ebola in West Africa: beds were built so that patients could be treated away from their families, teams were trained to bury the dead safely, and contacts of known cases were followed so that they could be found quickly if they fell ill. All three arrived late, and all three were limited in number. This study simulates one Sierra Leone district of 500,000 people, gives it one imported case, and asks how much the timing and the size of each of those three things is worth. Every parameter comes from a published source; nothing is fitted to data.
Where transmission comes from. With no response the reproduction number is 2.53: 1.44 from people infectious in the community and 1.09 from bodies not yet buried. So 43% of transmission happens after the patient has died.
Which lever can stop it on its own. Beds can: enough of them, in time, bring the reproduction number to 0.89. Safe burials alone cannot, bringing it only to 1.54. Contact tracing on its own changes nothing at all, because tracing finds people sooner but there is nowhere to put them; with beds it is worth a great deal, taking 0.89 down to 0.48.
Earlier or bigger? Timing beats size. 40 beds on the day the first case is found left 10 (8 to 13) deaths; the same beds 90 days later left 191,764 (176,248 to 207,280). Quadrupling the beds to 160 while keeping the 90-day delay left 54,331 (42,156 to 66,506), so it does not buy back what the delay cost.
Is it worth it? That depends entirely on what would have happened otherwise, and this study’s largest uncertainty is exactly that. With nothing but the response to stop it, an unanswered outbreak kills 275,457 people in the district within a year and every response is cost-effective many times over. If instead transmission also falls because people change what they do, as it did in 2014, the same unanswered outbreak kills 127, and the response has far less left to avert: all three levers then cost $395 per DALY averted against a published threshold of $105 to $137, and the best buy at that threshold is safe burials only. Both are reported throughout; the truth is in between.
Status. The code passes 25 tests and 619 expectations, reproduces Legrand et al.’s published reproduction numbers for two earlier outbreaks (8 of 8 values), matches the branching-process chance of fade-out and the final-size relation, and lands inside the field-measured range for secondary cases from one unsafe burial. It does not match Sierra Leone’s actual epidemic size, and §Section 8 explains why that was expected.
1 A disease spread by caring for the sick and burying the dead
Ebola is not a disease that spreads through the air in crowds. It spreads through contact with the body fluids of someone who is very ill, or who has just died. That simple fact shaped the 2014 West African epidemic, and it shapes this study, because it means the people most at risk are those doing something unavoidable and decent: nursing a relative, washing a body, attending a funeral.
It also means the epidemic had three distinct places where it could be interrupted:
- In the community. A person with Ebola who stays at home infects the people caring for them. Moving them to a treatment bed removes most of that risk, but only if a bed exists.
- At the graveside. A body is at its most infectious just after death, and traditional burial involves washing and touching it. A trained team in protective equipment, burying the body quickly, removes that risk.
- Before symptoms start. Someone already known to be a contact of a case can be visited daily, so that when they fall ill they are found in a day rather than in five. That only helps if there is somewhere to take them.
By the time the epidemic was recognised, each of these responses had to be built from almost nothing, and each arrived months after the first cases. Kucharski et al. (2015) estimated that the beds eventually built in Sierra Leone averted about 57,000 cases, and that building them four weeks earlier would have averted 12,500 more. This study asks the district-scale version of that question, and adds a second: what was it worth, per death and per healthy year of life?
It is an educational modelling study. The district is generic, every parameter is a published point estimate, and nothing is fitted to any data. One public case series is used, once, to show how far the model’s unanswered outbreak is from what actually happened. The results describe how this model behaves and which assumptions matter. They are not predictions, and §Section 8 is not a formality.
2 The model, explained
2.1 People, and the five places they can be
The model follows people, one at a time, through five states. Everyone starts susceptible. Someone infected becomes latent for about 10.3 days: infected, but not yet ill and not yet infectious. Then they become infectious in the community. From there, three things can happen. They may be detected and, if a bed is free, admitted; they may die; or they may recover. Someone who dies in the community becomes a body awaiting burial, and keeps transmitting until it is buried. Someone in a bed transmits much less, and if they die there they are buried safely.
Figure 1 shows the states and the routes between them. Contacts under follow-up are drawn as a second row (marked T) because they are found sooner once they fall ill. This is the structure Legrand et al. (2007) introduced for Ebola, with its three routes of transmission: from the community, from the hospital and from funerals. Every duration comes from the WHO Ebola Response Team’s analysis of the 2014 epidemic (WHO Ebola Response Team 2015), which published them from a database of several thousand patients.
Each of those transitions happens at a rate, measured per day. A rate of 0.2 per day does not mean a 20% chance each day; it means the average wait is 1/0.2 = 5 days, and the chance of it happening in a single day is 1 − e^−0.2 = 18.1%. When several things can happen to the same person, whichever happens first is the one that happens, and the chance it is a particular one is that one’s share of the total rate. That is the whole arithmetic of this model.
2.2 The three levers, as queues
What makes this study different from the worksheet it grew out of is that the response is limited, and the limits are modelled as queues.
| Lever | What it is | What happens when it runs out |
|---|---|---|
| Treatment beds | a number of beds, each held for 4.3 days by a patient who dies and 11.2 by one who recovers | a detected patient stays in the community, still infectious, until a bed frees |
| Safe-burial teams | each team buries up to 5 bodies a day | bodies wait, and transmit while they wait |
| Contact tracing | a number of contacts kept under daily follow-up | the share of new infections that are being watched falls |
Each lever is switched on a chosen number of days after the first detected case, not from the start. That matters twice over. It is realistic, because nobody responds to an outbreak they have not noticed. And it is what makes the comparisons in this report fair: until that first case is found, every scenario is the same outbreak, so they can be compared pair by pair.
A bed is occupied for as long as its patient is in it, so what matters is how many beds exist at once: beds are a stock. A burial team finishes one burial and starts another, so what matters is how many burials it can do per day: teams are servers, and a queue of bodies forms behind them exactly as a queue forms at a till. The model uses the published figures for both: Kucharski et al. (2015) record the beds each Sierra Leone district received, and Nielsen et al. (2015) record that a team could manage about 5 burials a day.
2.3 Where the transmission rates come from
The one thing the published literature cannot give is how the transmission splits between those three routes. Legrand et al. (2007) fitted all three for two earlier outbreaks and got answers that contradict each other: two thirds of transmission at funerals in Congo in 1995, almost none in Uganda in 2000, with confidence intervals so wide that one rate ran from 0.001 to 9.997. Camacho et al. (2015) explain why, and it is not a flaw in anyone’s method: several routes of transmission simply cannot be told apart from a single curve of case counts.
So this study does not copy those rates. It fixes the reproduction number at a published value for Sierra Leone, takes the funeral share from Pandey et al. (2014) (whose reproduction number for Liberia falls from 1.63 to 0.93 when funeral transmission is removed, making the funeral share 43%), and derives the three rates from those two numbers. The effect of a bed comes from the case-isolation efficacies Pandey et al. (2014) explored.
The reproduction number, the average number of people one case infects, is not something you can lift from one model into another. It is tied to the generation interval, the typical gap between one infection and the next, through the speed at which the epidemic grows. WHO Ebola Response Team (2014) estimated Sierra Leone’s reproduction number at 2.02 from an observed doubling time of 12.84 days, assuming a serial interval of 15.3 days. This model’s generation interval is longer, about 18 days, because 43% of its transmission happens at funerals, which come after death. Put 2.02 into it and the epidemic grows 40% too slowly.
So the base case uses 2.53 instead, which is both Althaus (2014)’s independent fit to the Sierra Leone case series and the value at which this model reproduces the observed doubling time: 12.8 days against 12.84. WHO’s 2.02 is kept as a sensitivity case. Getting this backwards would have undermined every conclusion about timing, which is the study’s main question.
3 Did we build it right?
Unit tests. 25 tests and 619 expectations run on small, hand-made cases where the right answer is known: that converting a case fatality ratio into competing rates gives back exactly that ratio; that nobody is ever in a bed that does not exist, and that a bed which frees is filled from the queue at once; that a burial team never buries more than its daily share; that tracing does nothing without capacity and never exceeds its ceiling; that a lever scheduled after the horizon changes nothing whatsoever; that the same seed gives the identical run twice; and that a cost and a set of DALYs computed by the code match the same figures worked out by hand.
The reproduction number, three ways. The number is computed in closed form, as the dominant eigenvalue of a next-generation matrix (Diekmann et al. 2010), and as the slope of the generating function used for fade-out. In all 8 response configurations the first two agree to machine precision (Table 1, and Figure 2 a for what each lever does to it).
An independent published reference. Legrand et al. (2007) report reproduction numbers for the Congo 1995 and Uganda 2000 outbreaks, split into their community, hospital and funeral parts. Feeding their own parameters through this project’s next-generation code reproduces 8 of 8 of those published values (Table 2). This is the strongest check in the study, because it exercises the same algebra on numbers nobody here chose, and because it catches a trap: their transmission rates are per week, not per day, and treating them as daily inflates the reproduction number sevenfold.
| Outbreak | Quantity | Published | Recomputed | Difference | Agrees |
|---|---|---|---|---|---|
| Congo1995 | R0 | 2.70 | 2.697 | -0.003 | yes |
| Congo1995 | R0 community | 0.50 | 0.500 | -0.000 | yes |
| Congo1995 | R0 hospital | 0.40 | 0.423 | 0.023 | yes |
| Congo1995 | R0 funeral | 1.80 | 1.775 | -0.025 | yes |
| Uganda2000 | R0 | 2.70 | 2.678 | -0.022 | yes |
| Uganda2000 | R0 community | 2.60 | 2.603 | 0.003 | yes |
| Uganda2000 | R0 hospital | 0.01 | 0.007 | -0.003 | yes |
| Uganda2000 | R0 funeral | 0.10 | 0.069 | -0.031 | yes |
Early in an outbreak almost everyone is still susceptible, so each infected person’s chain of infections is independent of every other. That makes the first weeks a branching process, for which the probability that the whole thing dies out by itself has a closed-form answer: it is the smallest solution of H(q) = q, where H describes how many people one case infects. Crucially, capacity does not bind while numbers are tiny, so this exact answer applies to the model as it is actually run, and the simulated share of introductions that fizzle must match it.
Fade-out. Table 3 compares that exact probability with 10,000 runs of the exact simulator, on the seed stream the rest of the study uses and on an independent one, with Wilson intervals (Wilson 1927).
| Seed stream | Quantity | Runs | Simulated | 95% Wilson CI | Branching process | Covered |
|---|---|---|---|---|---|---|
| shared | P(reaches 100 cases) | 10,000 | 0.6715 | (0.6622 to 0.6806) | 0.6727 | yes |
| shared | P(fades out) | 10,000 | 0.3285 | (0.3194 to 0.3378) | 0.3273 | yes |
| shared | P(final size = 1) | 10,000 | 0.2394 | (0.2311 to 0.2479) | 0.2366 | yes |
| shared | P(final size = 2) | 10,000 | 0.0474 | (0.0434 to 0.0517) | 0.0489 | yes |
| independent | P(reaches 100 cases) | 10,000 | 0.6665 | (0.6572 to 0.6757) | 0.6727 | yes |
| independent | P(fades out) | 10,000 | 0.3335 | (0.3243 to 0.3428) | 0.3273 | yes |
| independent | P(final size = 1) | 10,000 | 0.2423 | (0.2340 to 0.2508) | 0.2366 | yes |
| independent | P(final size = 2) | 10,000 | 0.0475 | (0.0435 to 0.0518) | 0.0489 | yes |
The final size, and what the leap step costs. In the limit the relation applies to, a large population and no response, the fraction ever infected solves z = 1 − e^−Rz. The deterministic version of this model hits it to 0.00%, and exact simulation to 0.00%. The leap step used for speed runs +0.5% high, and a coarser one +1.3% (Table 4). That bias is the price of the speed, and the next section says how it was accepted.
| Method | Fraction | Against the relation | Runs | Seconds per run |
|---|---|---|---|---|
| final-size relation | 0.8965 | 0.00% | ||
| deterministic model at 2,000 days | 0.8965 | +0.00% | ||
| exact simulation | 0.8965 | +0.00% | 9 | 6.7342 |
| leaping, step 0.1 day | 0.9013 | +0.54% | 81 | 0.0205 |
| leaping, step 0.25 day | 0.9082 | +1.30% | 81 | 0.0097 |
The deterministic model. Solving the same equations without chance gives 447,503 people infected by day 365 with no response, against 447,379 (445,797 to 448,962) averaged over the simulated outbreaks that took off. A stochastic epidemic spends a random while being small before it grows, so at a fixed date it should be a little behind the deterministic curve that never hesitates. For infections the gap is 0.03%, inside the Monte Carlo interval, because by day 365 an unanswered outbreak has nearly run its course. Deaths trail infections, and there the simulated outbreaks are 1.0% behind (304,199 (301,790 to 306,608) against 307,424).
And one external check. The derivation above produces a quantity that a field study measured and that nothing in this model was tuned to: the number of extra cases caused by one unsafe burial. Tiffany et al. (2017) investigated 45 of them and estimated 2.58, with a baseline of 0.64 and a ceiling of 4.74. This model implies 1.58, inside that range.
4 How the experiments were run
A stochastic model gives a different outbreak every run, so comparing two responses on two different sets of outbreaks mixes up the response with luck. Instead every scenario is run on the same 1,000 random seeds, and compared pair by pair: outbreak 17 with beds against outbreak 17 without them.
Many seeds produce almost nothing, because the index case infects nobody. No response can differ on those runs. Comparisons are therefore made on established outbreaks, those in which at least 2 people were infected before the first case was found. Because that condition is settled before any lever can act, it picks out exactly the same outbreaks under every scenario: 1,000 runs, of which 348 are established.
An outcome interval says how much outbreaks differ from each other. It does not shrink however many runs you do. A Monte Carlo confidence interval says how precisely a mean has been pinned down by a finite number of runs, and does shrink. A probabilistic interval says how much the answer moves as the cost and health parameters are drawn over their published ranges. The text gives Monte Carlo intervals in brackets unless it says otherwise, and a difference whose interval excludes zero is called resolved.
Simulating every single event exactly is the honest way to do this, and for small outbreaks it is cheap. For an outbreak that runs through a district it is not: one such run costs about 6.7 seconds, and this study needs 148,000 of them. So the production simulator takes exact steps while at most 50 people are infected and leaps in steps of 0.1 days above that, drawing how many people make each transition from a binomial distribution (Tian and Burrage 2004). The early phase, where fade-out and the response’s timing are decided, stays exact.
A rule written down before the runs decided whether that was allowed: a setting is accepted only if the share of outbreaks contained, the mean cases, the mean deaths and the peak bed queue all land within 1% of the exact answer or inside its Monte Carlo interval, on two cases at once: an unanswered outbreak and one answered too late, which is where the queues are actually under strain. Table 5 gives the result.
| Case | Setting | Runs | Seconds per run | Cost vs exact | Contained | Cases | Deaths | Peak queue | Accepted | Both cases | Rule’s pick |
|---|---|---|---|---|---|---|---|---|---|---|---|
| no response | exact | 500 | 6.9567 | 100% | 0.314 | 304,638 | 207,374 | 25,916.4 | yes | yes | |
| no response | switch20_tau0.05 | 500 | 0.0267 | 0% | 0.314 | 305,483 | 208,012 | 26,194.0 | yes | yes | |
| no response | switch20_tau0.1 | 500 | 0.0138 | 0% | 0.314 | 306,471 | 208,867 | 26,462.2 | yes | yes | yes |
| no response | switch20_tau0.25 | 500 | 0.0057 | 0% | 0.314 | 309,092 | 210,948 | 27,277.7 | yes | no | |
| no response | switch20_tau0.5 | 500 | 0.0030 | 0% | 0.314 | 313,150 | 214,090 | 28,594.8 | no | no | |
| no response | switch50_tau0.05 | 500 | 0.0300 | 0% | 0.314 | 305,593 | 208,099 | 26,180.4 | yes | yes | |
| no response | switch50_tau0.1 | 500 | 0.0234 | 0% | 0.314 | 306,486 | 208,794 | 26,470.3 | yes | yes | |
| no response | switch50_tau0.25 | 500 | 0.0114 | 0% | 0.314 | 309,067 | 210,850 | 27,284.1 | yes | no | |
| no response | switch50_tau0.5 | 500 | 0.0067 | 0% | 0.314 | 313,088 | 213,964 | 28,630.8 | no | no | |
| no response | switch200_tau0.05 | 500 | 0.0627 | 1% | 0.314 | 305,596 | 208,096 | 26,193.6 | yes | yes | |
| no response | switch200_tau0.1 | 500 | 0.0357 | 1% | 0.314 | 306,386 | 208,679 | 26,446.8 | yes | yes | |
| no response | switch200_tau0.25 | 500 | 0.0167 | 0% | 0.314 | 309,036 | 210,780 | 27,278.9 | yes | no | |
| no response | switch200_tau0.5 | 500 | 2.7372 | 39% | 0.314 | 312,958 | 213,718 | 28,610.9 | no | no | |
| all three, 90 days late | exact | 500 | 3.0857 | 100% | 0.418 | 106,200 | 70,591 | 9,069.4 | yes | yes | |
| all three, 90 days late | switch20_tau0.05 | 500 | 0.0188 | 1% | 0.416 | 111,684 | 74,408 | 9,596.6 | yes | yes | |
| all three, 90 days late | switch20_tau0.1 | 500 | 0.0100 | 0% | 0.420 | 113,886 | 76,463 | 9,793.5 | yes | yes | yes |
| all three, 90 days late | switch20_tau0.25 | 500 | 0.0045 | 0% | 0.416 | 142,419 | 95,278 | 12,565.2 | no | no | |
| all three, 90 days late | switch20_tau0.5 | 500 | 0.0027 | 0% | 0.412 | 153,757 | 103,447 | 14,053.7 | no | no | |
| all three, 90 days late | switch50_tau0.05 | 500 | 0.0185 | 1% | 0.420 | 118,180 | 79,130 | 10,101.1 | yes | yes | |
| all three, 90 days late | switch50_tau0.1 | 500 | 0.0100 | 0% | 0.418 | 118,835 | 79,654 | 10,282.7 | yes | yes | |
| all three, 90 days late | switch50_tau0.25 | 500 | 0.0046 | 0% | 0.418 | 129,267 | 87,530 | 11,330.8 | no | no | |
| all three, 90 days late | switch50_tau0.5 | 500 | 0.0030 | 0% | 0.418 | 143,522 | 97,276 | 13,059.2 | no | no | |
| all three, 90 days late | switch200_tau0.05 | 500 | 0.0176 | 1% | 0.418 | 107,696 | 71,629 | 9,280.6 | yes | yes | |
| all three, 90 days late | switch200_tau0.1 | 500 | 0.0109 | 0% | 0.418 | 114,464 | 76,618 | 9,873.4 | yes | yes | |
| all three, 90 days late | switch200_tau0.25 | 500 | 0.0067 | 0% | 0.418 | 125,463 | 84,067 | 11,075.6 | no | no | |
| all three, 90 days late | switch200_tau0.5 | 500 | 0.0051 | 0% | 0.418 | 140,011 | 94,466 | 12,755.6 | no | no |
What the rule picked, and what is used. The rule picks the cheapest setting that passes on both cases, switch20_tau0.1. The production runs use a switch threshold of 50 infected people and a step of 0.1 days (switch50_tau0.1), fixed in parameters.R. That setting also passes on both cases and keeps more of the early phase exact than the rule’s pick does.
Two counterfactuals. The base case lets nothing but the response stop the epidemic. That is what isolates each lever’s effect, and it is also unrealistic: in 2014 transmission also fell a great deal because people changed how they cared for the sick and buried the dead. Althaus (2014) fitted that decline for Sierra Leone. Every package is therefore run twice, with and without it, and the economic results are given under both. Neither is right on its own: the first credits the response with everything, and the second credits behaviour change with a decline that in reality included the response’s own effect.
The run counts. A pilot stage times the simulator and projects the pipeline, and a rule fixed beforehand scales every run count to fit 30 minutes on four cores. On this machine the projection was 38.2 minutes at the planned counts. That is outside the budget, and the rule would have scaled every count by 0.75. The counts were kept as planned instead (factor 1 in parameters.R). That is a departure from the rule, stated here rather than hidden: it costs run time and loses no precision. The projection is taken from the dearest pilot scenario, so it errs on the long side.
5 Results
All figures below are means over established outbreaks with 95% Monte Carlo intervals in brackets.
5.1 Where transmission comes from, and which lever can stop it
What to look for in Table 1. The three middle columns split the reproduction number into the people who are infected in the community, by a patient in a bed, and at a funeral. Watch which rows fall below one.
Funerals are nearly half the problem. With no response, 1.09 of the total 2.53 comes from bodies awaiting burial, which is 43% of all transmission, arising entirely after the patient has died.
Beds alone can stop an outbreak; burials alone cannot. Beds, when there are enough and they are open, take the reproduction number to 0.89, below one. They work on both routes at once: a patient in a bed infects few people, and if they die they are buried safely. Safe burials alone take it only to 1.54, because they leave community transmission untouched, and community transmission alone is 1.44, already above one.
Contact tracing alone does nothing whatsoever. Its reproduction number, 2.53, is exactly the no-response figure. This is not a bug; it follows from what tracing does. Tracing finds people sooner, and in this model, as in Kucharski et al. (2015)’s, being found means being admitted to a bed. With no bed to go to, being found sooner changes nothing about how long someone stays infectious at home. Add beds and tracing has the largest analytic effect of any addition: it takes 0.89 down to 0.48, a further 46% reduction.
What it means. The three levers are not three alternatives. Beds are the one that can stop an outbreak by itself, and tracing is worth nothing without them, because it needs somewhere to send the people it finds. Safe burials do work alone, but only on the funeral route and only for the deaths that happen outside a treatment unit, which is not enough to stop an outbreak. A response that buys tracers before beds is buying the second thing first.
Because the two bind on different things. A bed stops transmission from the moment a patient arrives; what tracing changes is when they arrive. Without tracing a case is detected about 5.0 days after symptoms begin, and infects people throughout. With a tracer visiting daily, a contact who falls ill is found in about 1.0 day. Tracing shortens the infectious time spent at home, and a bed is what that shortened time is spent instead. Neither works without the other.
5.2 Earlier, or bigger?
What to look for in Figure 3. Three panels, one per lever. Along each horizontal axis the capacity grows; each line is a different start delay, dark for the day the first case was found and pale for 90 days later. The dotted line is no response at all. Look at the vertical gap between the lines, which is what delay costs, against the slope of each line, which is what capacity buys.
Delay costs more than capacity buys. With 40 beds open on the day the first case was found, the district lost 10 (8 to 13) people. The same beds 90 days later lost 191,764 (176,248 to 207,280). Four times as many beds, 160, still arriving 90 days late, lost 54,331 (42,156 to 66,506): more than the 20 beds that arrived immediately, which lost 10 (8 to 13).
Why the asymmetry is so stark. An Ebola epidemic growing with a 12.8-day doubling time is about 129 times larger after 90 days. Capacity added later has to cope with an outbreak that has grown by that factor, and the queues it faces are correspondingly longer: at 40 beds opened on day 90, 24,251 detected patients were waiting at the worst moment, and every bed was full with someone waiting on 161 days.
| Lever | Capacity | Start delay (days) | Contained | People infected | Deaths | Peak queue | Peak unburied |
|---|---|---|---|---|---|---|---|
| beds | 20 | 0 | 97% | 16 | 10 (8 to 13) | 0 | 1 |
| beds | 20 | 30 | 65% | 2,689 | 1,847 (-626 to 4,320) | 226 | 48 |
| beds | 20 | 60 | 25% | 177,577 | 119,340 (103,795 to 134,884) | 15,419 | 3,174 |
| beds | 20 | 90 | 15% | 327,141 | 222,782 (208,433 to 237,130) | 28,169 | 5,787 |
| beds | 40 | 0 | 97% | 16 | 10 (8 to 13) | 0 | 1 |
| beds | 40 | 30 | 65% | 107 | 68 (59 to 78) | 4 | 2 |
| beds | 40 | 60 | 25% | 54,326 | 36,714 (26,322 to 47,107) | 4,647 | 959 |
| beds | 40 | 90 | 15% | 282,366 | 191,764 (176,248 to 207,280) | 24,251 | 4,986 |
| beds | 80 | 0 | 97% | 16 | 10 (8 to 13) | 0 | 1 |
| beds | 80 | 30 | 65% | 107 | 68 (59 to 78) | 4 | 2 |
| beds | 80 | 60 | 25% | 9,570 | 6,527 (1,978 to 11,075) | 780 | 162 |
| beds | 80 | 90 | 15% | 192,244 | 130,588 (114,726 to 146,449) | 16,359 | 3,367 |
| beds | 160 | 0 | 97% | 16 | 10 (8 to 13) | 0 | 1 |
| beds | 160 | 30 | 65% | 107 | 68 (59 to 78) | 4 | 2 |
| beds | 160 | 60 | 25% | 627 | 395 (347 to 444) | 17 | 6 |
| beds | 160 | 90 | 15% | 79,868 | 54,331 (42,156 to 66,506) | 6,625 | 1,365 |
| burial teams | 1 | 0 | 34% | 207,496 | 117,975 (105,146 to 130,805) | 20,336 | 4,189 |
| burial teams | 1 | 30 | 16% | 311,276 | 191,017 (178,082 to 203,951) | 28,849 | 5,933 |
| burial teams | 1 | 60 | 11% | 362,006 | 235,101 (223,161 to 247,042) | 32,254 | 6,626 |
| burial teams | 1 | 90 | 10% | 385,943 | 257,867 (246,921 to 268,813) | 33,780 | 6,941 |
| burial teams | 2 | 0 | 34% | 175,019 | 92,692 (81,359 to 104,024) | 17,925 | 3,694 |
| burial teams | 2 | 30 | 16% | 276,320 | 160,868 (148,188 to 173,548) | 26,470 | 5,439 |
| burial teams | 2 | 60 | 11% | 342,843 | 217,726 (205,299 to 230,154) | 30,923 | 6,350 |
| burial teams | 2 | 90 | 10% | 376,759 | 249,207 (237,817 to 260,597) | 33,091 | 6,795 |
| burial teams | 4 | 0 | 34% | 138,685 | 67,684 (58,219 to 77,149) | 14,930 | 3,068 |
| burial teams | 4 | 30 | 16% | 244,648 | 135,471 (123,421 to 147,520) | 24,121 | 4,947 |
| burial teams | 4 | 60 | 11% | 321,406 | 197,431 (184,893 to 209,969) | 29,486 | 6,038 |
| burial teams | 4 | 90 | 10% | 366,192 | 238,556 (226,892 to 250,220) | 32,251 | 6,601 |
| burial teams | 8 | 0 | 34% | 106,751 | 48,595 (40,950 to 56,239) | 11,861 | 2,421 |
| burial teams | 8 | 30 | 16% | 206,668 | 106,990 (96,188 to 117,792) | 21,154 | 4,310 |
| burial teams | 8 | 60 | 11% | 295,192 | 173,760 (161,452 to 186,068) | 27,555 | 5,608 |
| burial teams | 8 | 90 | 10% | 350,226 | 222,825 (210,883 to 234,766) | 30,987 | 6,305 |
| tracing | 50 | 0 | 11% | 398,654 | 272,475 (262,227 to 282,722) | 34,347 | 7,060 |
| tracing | 50 | 30 | 10% | 402,378 | 274,767 (264,880 to 284,654) | 34,705 | 7,119 |
| tracing | 50 | 60 | 10% | 403,608 | 275,522 (265,760 to 285,284) | 34,831 | 7,145 |
| tracing | 50 | 90 | 10% | 403,544 | 275,413 (265,652 to 285,174) | 34,788 | 7,148 |
| tracing | 100 | 0 | 11% | 398,640 | 272,443 (262,196 to 282,690) | 34,354 | 7,054 |
| tracing | 100 | 30 | 10% | 402,321 | 274,684 (264,797 to 284,570) | 34,691 | 7,131 |
| tracing | 100 | 60 | 10% | 403,586 | 275,493 (265,730 to 285,255) | 34,806 | 7,144 |
| tracing | 100 | 90 | 10% | 403,513 | 275,379 (265,614 to 285,143) | 34,806 | 7,147 |
| tracing | 200 | 0 | 11% | 398,648 | 272,477 (262,227 to 282,727) | 34,403 | 7,055 |
| tracing | 200 | 30 | 10% | 402,344 | 274,690 (264,803 to 284,577) | 34,734 | 7,125 |
| tracing | 200 | 60 | 10% | 403,543 | 275,416 (265,655 to 285,177) | 34,826 | 7,147 |
| tracing | 200 | 90 | 10% | 403,529 | 275,405 (265,641 to 285,169) | 34,834 | 7,151 |
| tracing | 400 | 0 | 11% | 398,621 | 272,456 (262,207 to 282,706) | 34,431 | 7,057 |
| tracing | 400 | 30 | 10% | 402,353 | 274,727 (264,839 to 284,614) | 34,786 | 7,122 |
| tracing | 400 | 60 | 10% | 403,543 | 275,430 (265,668 to 285,192) | 34,903 | 7,152 |
| tracing | 400 | 90 | 10% | 403,547 | 275,403 (265,639 to 285,167) | 34,908 | 7,150 |
Tracing alone, simulated. The tracing rows of Table 6 are not quite identical to no response, but none of the differences is resolved: 0 of the 16 tracing-only scenarios has a paired difference in deaths whose interval excludes zero. That is what the reproduction number predicts. The likely source of the small differences is that switching tracing on moves people between traced and untraced states, which changes the random numbers later events draw without changing transmission. The same caution applies to the tracing-only rows of Table 9 and Table 10: the cost per DALY and the break-even price of tracing alone divide by a difference that cannot be told from zero.
One outbreak, four responses. Figure 4 follows a single simulated outbreak, chosen at the 75th percentile of the unanswered ones, under four responses. The queues are visible: under a late response the bodies awaiting burial and the patients waiting for a bed both pile up, and the beds that do exist stay full.
Both, and they are the same thing seen twice. The epidemic is about 129 times larger when the beds open, so the same number of beds covers a far smaller share of patients, the queue never clears, and the people in it keep infecting their families. The model records this directly: at 40 beds on day 90 every bed was full with someone waiting on 161 days of the year, against 0.0 days when the same beds opened at once.
5.3 At a fixed budget, what should be bought?
What to look for in Figure 5. One panel per budget. Each dot is one affordable way of splitting the money between beds, teams and tracers; the horizontal axis is how many beds that bundle buys and the vertical axis is how many deaths it averts. The circled dot is the best bundle at that budget.
| Budget | Beds | Burial teams | Contacts per day | Deaths averted | Cost per death averted |
|---|---|---|---|---|---|
| $500,000 | 5 | 2 | 0 | 260,992 | $1 |
| $1,000,000 | 11 | 4 | 0 | 273,836 | $2 |
| $2,000,000 | 22 | 9 | 0 | 275,432 | $3 |
What the cost column is. Bundles are sized so that their capacity fits the budget at the planning prices. The cost reported for a bundle is its expected cost over the economic draws, which can sit on either side of the budget: a programme stops being paid for once its outbreak has ended, and the draws let the price of a burial team and of a tracer range from one to three times the planning price, because that price is a lower bound. Bundles with no beds therefore show an expected cost up to 1.7 times their budget.
What it means. The best bundle at every budget is beds together with burial teams (Table 7), and none of the 3 best bundles buys any tracing. Beds are still the core: the bundles that avert the fewest deaths are the ones that put most of the money into tracing, and tracing alone averts 705 to 723 deaths, which is noise. But beds alone are not the best use of the money either. At the smallest budget the best all-beds bundle averts 213,390 deaths against 260,992 for the best mix, and the mix stays ahead, by less, at the two larger budgets.
So the second purchase is burial teams, not tracers. That is the opposite of what Table 1 suggests, where tracing added to beds lowers the reproduction number further than burials added to beds. The two are answers to different questions: the reproduction numbers describe a lever with unlimited capacity from the first day, and the bundles here are finite and start 30 days after the first detected case.
5.4 Is it worth it?
Now the money. Costs are from the health system’s point of view, over the same one-year horizon, against doing nothing. Deaths become DALYs through the years of life lost at the published age distribution of Ebola deaths, discounted at 3% a year: 19.5 years per death, against 30.6 undiscounted. Illness itself contributes almost nothing, 0.52% of the total, which is also what Kellerborg et al. (2020) found in the only published DALY study of this epidemic.
How much a response is worth depends on what would have happened without it, and that is the thing this study is least able to pin down. With nothing but the response to stop it, an unanswered outbreak kills 275,457 people in this district within a year. If transmission also falls because people change what they do, the same outbreak kills 127. Sierra Leone’s actual epidemic, scaled by population to a district of this size, killed about 279 over two years.
So the first counterfactual is far too pessimistic and the second somewhat too optimistic, and the honest answer lies between them. Both are reported. Treat the first as the upper bound on what a response is worth and the second as the lower bound.
| Package | Deaths, no behaviour change | Deaths averted | Cost per death averted | Deaths, with behaviour change | Deaths averted | Cost per death averted |
|---|---|---|---|---|---|---|
| no response | 275,457 | 0 | 127.1 | 0.0 | ||
| beds only | 68 | 275,388 | $6 | 20.0 | 107.1 | $8,728 |
| safe burials only | 160,868 | 114,589 | $2 | 35.9 | 91.2 | $1,011 |
| contact tracing only | 274,684 | 773 | $24 | 123.4 | 3.7 | $3,673 |
| beds and burials | 25 | 275,432 | $4 | 15.8 | 111.3 | $7,967 |
| beds and tracing | 30 | 275,427 | $4 | 17.7 | 109.5 | $7,938 |
| burials and tracing | 164,379 | 111,078 | $2 | 35.7 | 91.5 | $1,118 |
| all three | 21 | 275,436 | $3 | 15.3 | 111.8 | $7,743 |
Under the pessimistic counterfactual, everything is worth doing many times over. All three levers together cost $0.96 million more than nothing and avert 275,436 deaths and 5,393,693 DALYs, at $0.18 per DALY averted. The published opportunity-cost threshold for Sierra Leone is $105 to $137 per DALY (Ochalek et al. 2018), and the actual response achieved $154 (World Bank 2024). A response that is three orders of magnitude cheaper than that is not a finding about Ebola; it is a statement about how bad an unchecked epidemic in a closed population of 500,000 people is in this model.
Under the optimistic counterfactual the question becomes real. With behaviour change already bringing transmission down, all three levers avert 111.8 deaths and 2,189.1 DALYs for $0.87 million, which is $395 per DALY averted. That is above the threshold, and above what the real response achieved.
And the best buy changes. Under this counterfactual the packages fall into two groups (Table 8). Safe burials alone cost $52 per DALY averted and burials with tracing $57. Every package that includes beds costs between $395 and $446, because the beds are paid for all year whether or not the outbreak fills them. The best package at the threshold is safe burials only, where under the first counterfactual it was all three.
| Package | Cost | Extra cost | Deaths averted | DALYs averted | Cost per DALY averted | Status | Best at the threshold |
|---|---|---|---|---|---|---|---|
| no response | $0.00 million | $0.00 million | 0 | 0 | comparator | ||
| beds only | $1.60 million | $1.60 million | 275,388 | 5,392,768 | $0.30 | dominated | |
| safe burials only | $0.18 million | $0.18 million | 114,589 | 2,236,637 | $0.08 | frontier | |
| contact tracing only | $0.02 million | $0.02 million | 773 | 15,166 | $1.23 | extendedly dominated | |
| beds and burials | $1.09 million | $1.09 million | 275,432 | 5,393,623 | $0.20 | dominated | |
| beds and tracing | $1.09 million | $1.09 million | 275,427 | 5,393,520 | $0.20 | dominated | |
| burials and tracing | $0.20 million | $0.20 million | 111,078 | 2,167,897 | $0.09 | dominated | |
| all three | $0.96 million | $0.96 million | 275,436 | 5,393,693 | $0.18 | frontier | yes |
What is not costed, and what is reported instead. A published unit cost exists for a treatment bed: the World Bank costed building and running a small Ebola care unit for six months, which comes to $201 per bed per day (World Bank 2014). No published unit cost exists anywhere for a safe burial or for a contact traced in West Africa. The one paper that appears to give both attributes them to a WHO roadmap which, on inspection, contains no money at all. So those two levers are costed from the weekly incentives the Sierra Leone government actually paid their staff, which is a lower bound because it pays the people and not the vehicles, the fuel or the protective equipment; and for all three the study also reports a break-even price: what each would have to cost before it stopped being worth buying (Table 10).
| Package | Bed-day used | Bed-day break-even | Team-day used | Team-day break-even | Contact-day used | Contact-day break-even |
|---|---|---|---|---|---|---|
| beds only | $200.90 | $95,757 | $163.30 | $0.327 | ||
| safe burials only | $200.90 | $163.30 | $496,112 | $0.327 | ||
| contact tracing only | $200.90 | $163.30 | $0.327 | $64 | ||
| all three | $200.90 | $170,194 | $163.30 | $3,400,034 | $0.327 | $67,998 |
Because a guessed input looks like knowledge and a break-even price does not. If the study invented a figure for a safe burial, every result downstream would inherit that invention silently. A break-even price instead says: here is what it would have to cost before this stopped being worth doing. A reader who knows what burials actually cost can finish the analysis; a reader who does not can see exactly how much room there is. The two uncosted levers are the ones where this matters, and Table 10 is the honest form of that part of the answer.
6 How much do the answers depend on the assumptions?
Each of 18 changes is applied one at a time, with 186 established outbreaks per scenario, to no response and to three reference packages.
The direction never changes. Across every change, all three reference packages averted deaths against no response, and 57 of the 57 paired differences are resolved. In every case all three levers averted at least as many deaths as beds alone, and beds alone at least as many as burials alone. The gap between beds and burials is not constant, though. Burials alone avert more than 85% of what beds alone avert under 4 of the changes: reproduction number 2.02 (WHO’s own figure); reproduction number 1.79; two thirds at funerals (Congo 1995); behaviour change also reduces transmission. Figure 8 shows the paired differences.
What moves the numbers most. Setting the second counterfactual aside, reproduction number 1.79 and reproduction number 2.02 (WHO’s own figure) move the deaths averted by all three levers furthest from the reference. The change that matters most for the conclusions, rather than for the magnitudes, is the second counterfactual, which §Section 5.4 has already treated as the study’s central uncertainty rather than one sensitivity among many.
| Change | No response: deaths | Beds | Burials | All three | All three: contained |
|---|---|---|---|---|---|
| reference | 281,247 | 68 | 159,290 | 20 | 98% |
| reproduction number 2.02 (WHO’s own figure) | 152,928 | 21 | 2,642 | 12 | 100% |
| reproduction number 2.8 (Western Area) | 298,991 | 2,300 | 252,808 | 29 | 89% |
| reproduction number 1.79 | 52,950 | 12 | 128 | 9 | 100% |
| a quarter of transmission at funerals | 279,642 | 85 | 256,384 | 24 | 95% |
| two thirds at funerals (Congo 1995) | 259,403 | 68 | 227 | 21 | 95% |
| incubation 9.4 days | 282,138 | 72 | 187,888 | 22 | 98% |
| onset to detection 4.3 days | 277,458 | 45 | 146,898 | 18 | 99% |
| survivors infectious for 10 days | 286,611 | 1,336 | 210,505 | 28 | 89% |
| 5 days unburied without teams | 272,789 | 63 | 103,746 | 18 | 99% |
| community case fatality 91.9% | 378,589 | 1,112 | 292,706 | 31 | 92% |
| a bed cuts transmission by 80% | 281,247 | 1,441 | 159,290 | 23 | 96% |
| a bed cuts transmission by 95% | 281,247 | 54 | 159,290 | 19 | 99% |
| half the beds blocked by other patients | 281,247 | 1,736 | 159,290 | 20 | 98% |
| 10 burials per team per day | 281,247 | 68 | 115,998 | 20 | 98% |
| a traced case found in half a day | 281,247 | 68 | 159,290 | 20 | 99% |
| a traced case found in two days | 281,247 | 68 | 159,290 | 21 | 97% |
| at most half of infections among listed contacts | 281,247 | 68 | 159,290 | 22 | 98% |
| behaviour change also reduces transmission | 125 | 19 | 34 | 15 | 99% |
The economics, re-valued. 14 economic scenarios re-value the same simulated outbreaks without re-simulating anything: the discount rates WHO recommends testing, both ends of the published bed-cost range, extensive instead of basic care, a tracer following half or twice as many contacts, the older and larger disability weight, no lasting effects in survivors, and four thresholds from $105 to $1,118 per DALY. The best package was all three in 14 of them.
7 What the published studies found, and what this adds
This model was not fitted to anything, so agreement with published work is a check on its behaviour rather than evidence of its truth. Four comparisons are worth making.
- Kucharski et al. (2015) modelled Sierra Leone’s beds exactly as this study does, admitting a patient when a bed is free and leaving them infectious in the community otherwise, and estimated that the beds built averted about 57,000 cases, with 12,500 more had they come four weeks earlier. The district-scale finding here points the same way and is sharper: the same 40 beds leave 10 deaths when they open on the day the first case is found and 191,764 when they open 90 days later.
- Pandey et al. (2014) found that no single intervention at a realistic level of effectiveness would have contained Liberia’s epidemic, and that combinations were needed. The analytic result here is the same statement in a different form: of the three levers, only beds can bring the reproduction number below one alone, and all three together contain 97% of established outbreaks against 65% for beds alone.
- Tiffany et al. (2017) measured 2.58 extra cases per unsafe burial in the field. This model implies 1.58, which falls inside their range, having been derived from a reproduction number and a funeral share chosen without reference to it.
- Legrand et al. (2007)’s decomposition is reproduced exactly (Table 2), including the fact that their two outbreaks disagree completely about where transmission comes from. That disagreement is why this study treats the funeral share as an assumption to vary rather than a number to adopt.
One thing this study adds, because its capacities are explicit and its levers are separable, is the ordering: beds first, not because they are the most effective per dollar at the margin, but because tracing is worth nothing without them and safe burials alone, though they avert 42% of the deaths, cannot stop an outbreak. Tracing with no bed to fill is the clearest case, and it is invisible in a model where detection and isolation are the same act. The ordering is about stopping an outbreak, not about cost: under the behaviour-change counterfactual the cheapest health gain is safe burials (§Section 5.4).
8 Limits of this study
The first limit is much more important than the others.
- The unanswered outbreak is far too large. With homogeneous mixing in a closed district and no behaviour change, an unchecked epidemic infects 81% of the district and kills 275,457 people in a year. Sierra Leone’s whole epidemic, scaled to a district this size, infected about 996 people and killed 279, over twice as long. Figure 9 puts the two side by side, and the gap is the single most important thing to know about this study. The model is wrong about the scale by more than two orders of magnitude, for three reasons: everyone mixes with everyone, which no real district does; nobody changes their behaviour unless the modelled response makes them; and there is one introduction rather than the continual importation a real district saw. The declining-transmission counterfactual brackets the second of those and nothing brackets the first. Every absolute number in this report should be read as a property of the model. The comparisons between responses, which are paired on the same outbreaks, are much more robust than the levels.
- One district, one introduction, no movement. Nobody travels in or out. A real district was reseeded constantly from its neighbours, which is why the real epidemic lasted two years rather than burning out.
- The reproduction number is an anchor, not an estimate. It is set to a published value and the transmission rates are derived from it. The funeral share is a single number from a Liberian model, varied from a quarter to two thirds in the sensitivity analysis because the two outbreaks that have been decomposed disagree that much.
- Being detected means being admitted. There is no isolation outside a treatment bed, no holding centre and no home isolation. This is what makes tracing worthless without beds, and while the mechanism has published precedent (Kucharski et al. 2015), a real response had intermediate options.
- Two of the three unit costs do not exist. They are reported as lower bounds and as break-even prices, and that part of the analysis is weaker than the rest. The contacts one tracer can follow in a day is a stated design choice, because no published figure exists.
- The leap step biases the final size up by about 0.5%, which the acceptance rule tolerated at the one-year horizon the study uses. Results at 2,000 days would need the exact simulator.
- Deaths are the outcome; survivors’ lasting illness is included but small. No stigma, no orphans, no collapse of ordinary health care, none of which this model can see and all of which mattered in 2014.
9 Glossary
- Reproduction number
- The average number of people one infected person infects. Above one an outbreak can grow; below one it cannot.
- Generation interval
- The typical gap between one infection and the next in a chain. It is what links the reproduction number to how fast an epidemic grows, and why one cannot be borrowed without the other.
- Next-generation matrix
- A table of who infects whom, by state. Its largest eigenvalue is the reproduction number when infected people are not all alike.
- Branching process
- The early phase of an outbreak, when chains of infection are independent because almost everyone is still susceptible. It gives the exact chance of fading out.
- Established outbreak
- A run in which at least 2 people were infected before the first case was found. The same runs are established under every scenario.
- Common random numbers
- Running every scenario on the same random seeds, so differences come from the response and not from luck.
- Monte Carlo interval
- The uncertainty in a mean that comes from having done a finite number of runs.
- Outcome interval
- The range across simulated outbreaks, which does not shrink with more runs.
- Leaping
- Advancing the simulation in fixed steps, drawing how many people make each transition, instead of handling every event one at a time.
- DALY
- A disability-adjusted life year: one year of healthy life lost, whether to early death or to illness.
- Break-even price
- The unit cost at which something just stops being worth buying at a stated willingness to pay.
- Counterfactual
- What is assumed to happen without the response. This study uses two, and says so wherever it matters.
10 Reproduce it yourself
From the project folder: make test runs the checks (under a minute), make all runs every stage of run_all.R (the pilot projects about 38 minutes on four cores for the simulation stages, and the comparison with the exact simulator adds more than an hour) and make report renders this document from the saved tables. Every parameter is in parameters.R with its unit and source; change one, run make all, and every table, figure and number in this report moves with it. Seeds come from para$Analysis$MasterSeed, so a clean rebuild reproduces every result table exactly.
source("parameters.R"); source("ebola_model.R"); source("ebola_analysis.R")
Runs <- rbind_fill(lapply(c(0, 45, 90, 135), function(d)
run_scenario(scn(Scenarios$Packages$beds, list(BedsStartDelay = d)),
Name = paste0("beds_d", d), NRuns = 300)))
summarise_scenarios(Runs, Established = TRUE)[, c("Scenario", "PContained", "CumDeaths_mean", "PeakBedQueue_mean")]Three hundred runs take under a minute. Look at where the peak bed queue starts to grow: that is the point at which the beds have stopped being a response and become a bottleneck.