Sierra Leone 2014 / one district of 500,000 / R // 2026

When the response runs out.

In 2014 the response to Ebola in West Africa arrived late and in limited supply. I built a model of one Sierra Leone district with three responses that can each start late and run out: treatment beds, safe-burial teams and contact tracing. It asks how much their timing and their size are worth.

Diagram of the model: susceptible people become latent, then infectious in the community; detected cases wait in a queue until a treatment bed is free; people who die in the community become bodies awaiting burial. People at home, patients in beds and unburied bodies all transmit.
People one case infects, with no response
2.53
Deaths with 40 beds opened at once
10
Deaths with the same beds 90 days later
191,764

Chapter 1

The question

A disease spread by caring for the sick and burying the dead, and three ways to interrupt it that all take time to build.

01 Three routes
Ebola spreads through contact with the body fluids of someone who is very ill or has just died. In the model, people are infected by a case at home, by a patient in a treatment bed, or by a body that has not yet been buried.
02 Three responses
Treatment beds take patients away from their families. Burial teams bury the dead safely and quickly. Contact tracers follow the contacts of known cases, so that anyone who falls ill is found in about a day instead of five.
03 Each one runs out
Beds are a stock: a detected patient waits at home, still infectious, until one is free. Burial teams are servers: each buries up to five bodies a day and a backlog builds behind them. Tracing is a daily number of contacts that can be followed.
04 Each one starts late
Nobody responds to an outbreak they have not noticed. Every response starts a chosen number of days after the first detected case, so until then every scenario is the same outbreak and they can be compared pair by pair.
Established outbreak
A simulated outbreak in which at least two people were infected before the first case was found. The same outbreaks are established in every scenario.
Contained
An outbreak that ended with no more than 100 people ever infected.
95% interval
How precisely an average over the simulated outbreaks has been pinned down, not how much outbreaks differ from each other.

1.1 / The reproduction number

Where transmission comes from.

The reproduction number is how many people one case infects on average. Above one an outbreak can grow; below one it cannot. Switch each response on, assuming for now that it never runs out, and see which part of the number it removes.

Response in place

The sliders start at the study’s values (2.53, 43% and 90%) and cover the ranges its sensitivity analysis used.

Reproduction number
2.53
Community
1.44
Treatment bed
0.00
Funerals
1.09

With no response, the reproduction number is 2.53: above one, so an outbreak can still grow.

Calculated in your browser

One case, three routes

Each bar is the reproduction number, split by where the infections happen. The dashed line marks one.

No response2.53With the response you chose2.53one0123people infected by one case

In the community In a treatment bed At funerals

Chapter 2

Earlier or bigger

A response can come sooner or it can be larger. For beds, the model says sooner, by a wide margin.

2.1 / One response at a time

Delay costs more than size buys.

Each response starts a chosen number of days after the first case is detected, and can only handle so many people at once. Pick one, then move its start day and its size. These are saved results: every point is the average of 348 simulated outbreaks.

Starts this many days after the first detected case

Size

Deaths within a year
10
95% interval
8–13
Outbreaks contained
97%
Longest queue for a bed
0

40 beds from day 0: 10 deaths within a year, against 275,457 with no response. That is 275,447 fewer.

Saved simulation results

Deaths against the start day

One line per size of response. The highlighted line is your choice, with its 95% interval; the dashed line is no response.

0100k200k300kno response0306090days after the first detected casedeaths within a year

Your choice Other sizes of treatment beds

Chapter 3

Spending it

What a fixed budget should buy, and whether the response is worth its cost. The second answer depends on what would have happened without it.

3.1 / A fixed budget

Beds first, then burial teams.

Suppose the district has a fixed sum for the year. I simulated every affordable way of splitting it between beds, burial teams and tracers, all starting 30 days after the first detected case. Choose a budget and a bundle.

Budget for the year

Bundles are sized at planning prices: a bed is $200.90 a day (World Bank); burial teams and tracers are priced from government staff incentives, a lower bound, because no published unit cost exists. The expected cost shown below differs from the budget: a programme stops being paid for once its outbreak ends, and the study lets team and tracer prices range up to three times the planning price.

Deaths averted
260,992
Expected cost
$248,763
Share of the best bundle
100%
Buys tracing
No

5 beds · 2 teams: 260,992 deaths averted, at an expected cost of $248,763. The best bundle at this budget is 5 beds · 2 teams, averting 260,992.

Saved simulation results

Every affordable bundle

Each dot is one way of spending the budget. Filled dots buy no tracing; open dots buy some.

0100k200k300k01357beds boughtdeaths averted against no response

Your bundle Best at this budget Buys some tracing

3.2 / Cost-effectiveness

Worth it, compared with what?

What a response is worth depends on what would have happened without it, and that is the thing this model is least able to say. So I ran it both ways. In the first, only the response can stop the epidemic. In the second, transmission also falls because people change how they care for the sick and bury the dead, as it did in 2014.

Without the response

A DALY is one year of healthy life lost. The threshold is $105 to $137 per DALY averted for Sierra Leone (Ochalek et al. 2018); the real response achieved about $154 (World Bank).

Deaths with no response
275,457
Best buy at the threshold
All three
All three, per DALY averted
$0.18
Safe burials, per DALY averted
$0.08

If only the response can stop the epidemic, no response means 275,457 deaths. All three responses cost $0.18 per healthy year gained, far below the threshold.

Saved simulation results

Cost against health gained

Each numbered dot is a package of responses compared with doing nothing. Below the dashed line a package costs less per healthy year than the threshold.

0$500k$1m$1.5m$121 per DALY123456780m2m4mhealthy years gained (DALYs averted)extra cost

Best buy at the threshold

The eight packages: 40 beds, 2 burial teams and 100 contacts a day, alone and combined, each from day 30.
No.PackageDeathsDeaths avertedOutbreaks containedExtra costPer DALY averted
1No response275,457010%$0–
2Beds only68275,38965%$1,602,627$0.30
3Safe burials only160,868114,58916%$180,909$0.08
4Contact tracing only274,68477310%$18,624$1.23
5Beds and burials25275,43293%$1,086,061$0.20
6Beds and tracing30275,42788%$1,086,443$0.20
7Burials and tracing164,379111,07818%$196,391$0.09
8All three (best buy)21275,43697%$963,597$0.18

Chapter 4

The limits

The code is checked against published results and exact mathematics. The model is still wrong about one thing that matters, and the page should say so.

4.1 / Verification

Does the code solve the model?

These checks ask whether the code does what the equations say. None of them shows that the model describes the real epidemic.

Published reference8 of 8 valuesLegrand et al.’s reproduction numbers for two earlier outbreaks, recomputed from their parameters by this code

Chance one case starts an outbreak0.6715 against 0.672710,000 exact simulations against the branching-process value

Cases from one unsafe burial1.58implied by the model, inside the 0.64 to 4.74 measured in the field by Tiffany et al.; not used to build the model

Two panels. Left: new reported Ebola cases in Sierra Leone between reports, 2014 to 2016. Right, on a logarithmic scale: cumulative infections in one simulated district outbreak with no response, with beds from day 30 and with all three responses, against Sierra Leone’s total scaled to a district of this size. The unanswered model outbreak ends more than a hundred times above the real total.
The model against what happened

Where the model is wrong.

With no response the model’s outbreak infects 403,573 of the district’s 500,000 people within a year. Sierra Leone’s whole epidemic, scaled to a district this size, was about 996 cases over two years. The model is wrong about scale by more than two orders of magnitude, because everyone mixes with everyone, there is one introduction, and nobody changes their behaviour unless the modelled response makes them.

That is why every absolute number on this page is a property of the model. The comparisons between responses, which are made on the same simulated outbreaks, are much more robust than the levels, and the direction held under all 18 changes to the assumptions that I tested (57 of 57 comparisons).

4.2 / The study

Behind the model.

This is a personal project that grew out of the Warwick module Epidemiology by Example. The module’s first worksheet prompted the topic; the model, its parameters and its questions are my own, taken from the published literature, and nothing from the coursework is used.

The study

Beds, burials and tracers: the timing and the size of an Ebola response

One district of 500,000 people · one imported case · one year

The full report

The complete study as I wrote it up: the model, every check, all the results with their intervals, and the limitations.

Full report / web pageRead the reportOpens on its own pageTechnical report / PDFDownload PDF14 pages, with the model equations · 1.4 MB

Tools

  • R
  • renv
  • deSolve
  • testthat
  • Quarto

Methods

  • Stochastic compartmental model with queues
  • Exact Gillespie simulation with binomial leaps
  • Next-generation reproduction numbers
  • Branching-process fade-out
  • Paired scenarios on common random numbers
  • Probabilistic cost-effectiveness analysis

What the study found

Within this model.

  • Beds are the only response that can stop an outbreak alone, and when they open matters more than how many there are.
  • Contact tracing does nothing without beds, and safe burials help without ever containing the outbreak.
  • A fixed budget is best spent on beds and burial teams together.
  • Whether the response is worth its cost depends on what is assumed to happen without it.

Two of the three unit costs do not exist in the published literature, so burial teams and tracers are costed from government staff incentives, which is a lower bound.