Skip to content

Forecasts ​

Every release forecasts each DRC stream a week ahead from the joint posterior, as the one-week-ahead forecast Methods section describes. How these forecasts have scored against the data that arrived afterwards is on the evaluation page. The split by province is on the province forecasts page and the split by health zone on the health-zone forecasts page.

Load packages, data and fitted chains
julia
# Shared setup: packages, observations and the fit registry. See
# `docs/pages/_setup.jl`.
using BVDOutbreakSize
include(joinpath(pkgdir(BVDOutbreakSize), "docs", "pages", "_setup.jl"))
validation_forecast_from (generic function with 1 method)
julia
# The fits this page reads, loaded from the cache here.
chn_joint = load_fit("joint");

Summary ​

These are the expected counts for the week after the cut-off.

Generate the one-week-ahead forecast
julia
forecast = forecast_reported(
    fit_forecast("joint");
    horizon = 7,
    obs_cases = obs.reported_cases,
    obs_deaths = obs.total_deaths,
    obs_confirmed = obs.confirmed_cases,
    obs_confirmed_deaths = obs.confirmed_deaths,
    obs_recovered = obs.recovered_cases
);
forecast_week_end = obs.cutoff + Day(7);
national_forecast_bullets = join(
    [
        "- **Confirmed cases:** $(median_interval_text(forecast.confirmed_new)) new laboratory-confirmed cases in the week to $(forecast_week_end).",
        "- **Confirmed deaths:** $(median_interval_text(forecast.confirmed_deaths_new)) new confirmed deaths over the same week.",
        "- **Infections:** $(median_interval_text(forecast.infections_new)) new infections, reported and unreported.",
        "- **Reproduction number:** $(median_interval_text(forecast.rt_forecast; digits = 2)) on $(forecast_week_end).",
    ], "\n"
);
  • Confirmed cases: about 511 (90% credible interval 369 to 703) new laboratory-confirmed cases in the week to 2026-11-08.

  • Confirmed deaths: about 252 (90% credible interval 195 to 327) new confirmed deaths over the same week.

  • Infections: about 981 (90% credible interval 502 to 1973) new infections, reported and unreported.

  • Reproduction number: about 1.04 (90% credible interval 0.75 to 1.49) on 2026-11-08.

One-week-ahead forecast results ​

Summarise the one-week-ahead forecast
julia
forecast_summary = forecast_table(forecast);
11×8 DataFrame
RowStreamQuantityLower 90%Lower 60%Lower 30%Upper 30%Upper 60%Upper 90%
StringStringFloat64Float64Float64Float64Float64Float64
1DRC confirmed casescumulative by T+710901.010960.011005.011081.011131.011235.0
2DRC confirmed casesnew this week369.0428.0473.0549.0599.0703.0
3DRC confirmed deathscumulative by T+75321.05348.05364.05393.05413.05453.0
4DRC confirmed deathsnew this week195.0222.0238.0267.0287.0327.0
5DRC isolation bedsdemand at T+7858.0951.01007.01116.01191.01345.0
6DRC isolation bedsoccupancy at T+7626.0745.0808.0921.0998.01135.0
7DRC isolation admissionsdaily at T+784.0109.0131.0171.0199.0262.0
8DRC in-care deathsdaily at T+710.015.018.024.029.038.0
9DRC isolation rule-outsdaily at T+762.083.096.0123.0140.0181.0
10DRC recovered among confirmedcumulative by T+72953.02972.02983.03005.03018.03043.0
11DRC recovered among confirmednew this week119.0138.0149.0171.0184.0209.0
Cumulative and new counts a week after the cut-off for confirmed cases, confirmed deaths and recoveries, and the isolation-bed levels and daily flows, as 30%, 60% and 90% predictive intervals.
One-week-ahead latent forecast plot
julia
forecast_latent_fig = plot_forecast_latent(forecast);

New infections, symptom onsets and deaths over the week after the cut-off, with the reproduction number left to evolve across it.
One-week-ahead observed forecast plot
julia
forecast_fig = plot_forecast(forecast);

The new count each observed stream adds over the week after the cut-off. The situation reports no longer update suspected cases and deaths, so their projections cannot be checked and the forecast evaluation leaves them out.

Bed demand is defined in the treatment-centre flow Methods section. The national occupancy is censored at the national beds, so the national shortfall understates local unmet need (see limitations).

One-week-ahead isolation-bed forecast plot
julia
forecast_beds_fig = plot_forecast_beds(forecast);

Projected isolation bed demand, the need under unconstrained supply, against the occupancy the beds can meet. The right panel is the projected bed shortfall, the demand above the beds available.
One-week-ahead treatment-flow forecast plot
julia
forecast_flows_fig = plot_forecast_flows(forecast);

Daily isolation flows on the last day of the week after the cut-off: new admissions, in-care deaths and rule-outs.

Symptom-onset nowcast and forecast results ​

The symptom-onset nowcast and forecast Methods section describes how the onset projection is built.

Generate the symptom-onset nowcast and forecast
julia
onset_forecast = forecast_onsets(
    fit_forecast("joint");
    horizon = 7,
    obs_value = something(obs.onset_curve_history.last_total, 0)
);
onset_forecast_summary = onset_forecast_table(onset_forecast);
7×7 DataFrame
RowQuantityLower 90%Lower 60%Lower 30%Upper 30%Upper 60%Upper 90%
StringFloat64Float64Float64Float64Float64Float64
1symptom onsets to date14969.017359.019314.023046.025553.031055.0
2of those, reported by T6991.07307.07442.07751.08120.08974.0
3onsets not yet reported at T7386.09706.011677.015280.017754.023256.0
4reports this week of onsets before T157.0200.0226.0276.0308.0380.0
5reports this week of onsets after T30.040.047.060.071.095.0
6new onset reports this week152.0231.0272.0346.0392.0499.0
7new symptom onsets this week545.0732.0853.01104.01306.01745.0
The symptom-onset nowcast and forecast. The first three rows are the outbreak at the cut-off and the last four the coming week, so the two halves must not be added.

"Onsets not yet reported at T" is not a backlog that will all arrive, because ascertainment does not reach one. It holds both the reporting backlog and the cases surveillance will never confirm. The smaller "reports this week of onsets before T" row is the part the coming week should clear.

Symptom-onset nowcast and forecast plot
julia
onset_forecast_fig = let
    fig = CairoMakie.Figure(; size = (960, 420))
    # Two-line tick labels rather than rotated ones: the leftmost rotated
    # label overhangs the axis and is clipped at the figure edge.
    ax1 = CairoMakie.Axis(
        fig[1, 1];
        title = "New onset reports over the coming week",
        ylabel = "cases", xticks = (
            1:4,
            [
                "already\nhappened", "not yet\nhappened", "sum of\nthe two",
                "as the next\nfigure reads it",
            ],
        )
    )
    # The first three bars are latent, so the third is exactly the first
    # two added. The fourth is that same sum replicated through the
    # observation model, which is the scored quantity and the only one
    # comparable to a digitised figure; it is wider by the read error,
    # which is why the three latent bars are shown as well rather than a
    # decomposition that appears not to add up.
    _latent_total = onset_forecast.onset_reports_backfill .+
        onset_forecast.onset_reports_future
    for (i, d, col) in (
            (
                1, onset_forecast.onset_reports_backfill,
                :mediumpurple,
            ),
            (2, onset_forecast.onset_reports_future, :mediumpurple),
            (3, _latent_total, :mediumpurple),
            (4, Float64.(onset_forecast.onset_reports_new), :slategray),
        )
        s = posterior_summary(d)
        CairoMakie.rangebars!(
            ax1, [Float64(i)], [s.lo90], [s.hi90];
            color = col, linewidth = 3
        )
        CairoMakie.rangebars!(
            ax1, [Float64(i)], [s.lo60], [s.hi60];
            color = col, linewidth = 8
        )
        CairoMakie.scatter!(
            ax1, [Float64(i)], [quantile(d, 0.5)];
            color = :black, markersize = 9
        )
    end
    ax2 = CairoMakie.Axis(
        fig[1, 2];
        title = "Symptom onsets by the cut-off",
        ylabel = "cases", xticks = (
            1:3,
            ["onsets\nto date", "reported\nby T", "not yet\nreported"],
        )
    )
    for (i, d) in enumerate(
            (
                onset_forecast.onsets_to_date,
                onset_forecast.onset_reports_to_date,
                onset_forecast.onsets_unreported,
            )
        )
        s = posterior_summary(d)
        CairoMakie.rangebars!(
            ax2, [Float64(i)], [s.lo90], [s.hi90];
            color = :seagreen, linewidth = 3
        )
        CairoMakie.rangebars!(
            ax2, [Float64(i)], [s.lo60], [s.hi60];
            color = :seagreen, linewidth = 8
        )
        CairoMakie.scatter!(
            ax2, [Float64(i)], [quantile(d, 0.5)];
            color = :black, markersize = 9
        )
    end
    # The digitised total the "reported by T" bar is a model of, so the
    # reader can see the fitted reported level against the figure itself.
    ismissing(obs.onset_curve_history.last_total) ||
        CairoMakie.hlines!(
        ax2,
        [Float64(obs.onset_curve_history.last_total)];
        color = :black, linestyle = :dash
    )
    fig
end;

The coming week's new onset reports, split into onsets before and after the cut-off, with their sum and that sum after the observation model (left). Only the fourth bar is comparable to a digitised figure and only it is scored, and it is wider by the read error and the counting variation of new reports. The nowcast sets the onsets that have happened against the share the triangle has printed (right).