# Bayesian modeling approach

A Bayesian model combining household surveys with facility data trends to estimate coverage every year, with uncertainty and short-term forecasts, nationally and by region.

A statistical model estimates coverage at the national level and for subnational regions up to the most recent year with
data, and makes short-term forecasts for the years ahead. It combines the coverage levels measured by
*household surveys* (A national survey, such as a DHS or MICS, that measures coverage by interviewing a sample of households. Its coverage figures are used as a benchmark for the facility data.) with the year-to-year trend of the routine facility data, and gives each year a
best estimate and an *uncertainty interval* (The range around a modelled estimate that shows how certain it is: for the Bayesian coverage model, the range covered by 95% of the trajectories in a year (the most extreme 2.5% on each side left out). A narrow interval means the data agree.). It is a *Bayesian model* (A statistical model that starts from prior knowledge (here, that coverage usually rises along an S-shaped curve) and updates it with the data, giving estimates with their uncertainty. The coverage model takes its levels from surveys and its year-to-year change from the routine data.): it starts
from what is known about how coverage usually changes and updates it with the country's data.

It comes after [National coverage](https://datasuite.damurka.com/en/methodology/coverage.md), whose facility-based coverage it uses, and before the
[Equity assessment](https://datasuite.damurka.com/en/methodology/equity.md).

> **Note**
>
> **At a glance**
> - **Answers:** what is the best estimate of coverage in each year, nationally and for subnational regions, up to the most recent year with data and for the years just ahead, and how uncertain is it?
> - **Uses:** household survey data (their coverage levels, weighted by their uncertainty), the routine facility coverage from [National coverage](https://datasuite.damurka.com/en/methodology/coverage.md) (only its year-to-year trend), and the *overall data quality score* (The summary of performance for a year: the mean of the completeness, missing value, extreme outlier and district consistency indicators, computed automatically.) from the [Data quality assessment](https://datasuite.damurka.com/en/methodology/data-quality.md).
> - **Produces:** for ANC4, ANC in the first trimester, institutional deliveries, measles 1 and penta3, a best estimate for each year with a 95% uncertainty interval, nationally and by region, and short-term forecasts.
> - **In the apps:** **[Bayesian Analysis](https://datasuite.damurka.com/en/apps/countdown/advanced-analysis/bayesian-analysis.md)** (RMNCAH app only).

## Why

Reliable information on health coverage indicators is essential for monitoring progress, informing programs, and guiding
policy decisions. However, relying on survey and routine data alone is often challenging. Routine data from facilities
may suffer from underreporting or inconsistent data quality, while survey data may be uncertain or not recent.

To address these challenges, statistical models can be used to produce estimates and forecasts over time, combining
multiple data sources and accounting for their limitations. This results in estimates of coverage every year (between
data points and past data) with an indication of how certain or uncertain we are about each year. As a result, models
enable more complete, accurate, and timely assessments of health coverage, especially in data-limited settings.

The model is the tool to use when surveys are old or few and facility data are imperfect, and a single defensible trend
is needed, for example for a synthesis report.

## What the model covers

| Part | The question it answers |
| --- | --- |
| [Estimates and short-term forecasts](https://datasuite.damurka.com/en/methodology/bayesian-coverage/estimates.md) | How does the model produce a best estimate and an uncertainty interval for each year, and how are they read? |
| [How survey data are used](https://datasuite.damurka.com/en/methodology/bayesian-coverage/survey-data.md) | How do the survey points set the level of coverage, and how much does each one count? |
| [How routine data are used](https://datasuite.damurka.com/en/methodology/bayesian-coverage/routine-data.md) | How do the facility data inform the trend, and how does their quality limit their influence? |

## How the parts fit together

The two data sources play different roles. Surveys set the level of coverage, each point counting as much as it is
reliable; routine data set how fast coverage changes between and after surveys, as much as their quality allows. The
model joins them into many possible paths of coverage over time (*trajectories* (One possible path of coverage over time; each year's estimate is the middle value across trajectories, with a range leaving out the most extreme ones.)) and summarises them in the
estimate and its interval. Read the estimates together with the data points drawn on the same chart: where the estimate
departs from a survey point or from the routine trend, the survey and routine data pages explain why.

## Doing it in the app

### 1. Open Bayesian Analysis

In the RMNCAH app, the **Bayesian Analysis** group of the sidebar has two entries: **National Analysis** and **Sub-National Analysis** (regions). The Vaxx app does not have these pages.

### 2. Pick an indicator tab

Each tab is an indicator the model is defined for: **ANC 4 Visits**, **ANC 1st Trimester**, **Institutional Deliveries**, **Measles 1** and **Pentavalent 3** (see [Bayesian Analysis](https://datasuite.damurka.com/en/apps/countdown/advanced-analysis/bayesian-analysis.md)).

### 3. Read the chart

The central line is the best estimate and the band is the uncertainty range. How to read it: [Estimates and short-term forecasts](https://datasuite.damurka.com/en/methodology/bayesian-coverage/estimates.md#interpretation).

## Points to consider for the interpretation

- Does the estimate follow the survey points, and where it does not, is the survey point very uncertain?
- After the most recent survey, does the routine trend show faster or slower change than the survey-based trend?
- How wide is the uncertainty band, and in which years?
- Is the routine data quality score low, so that the estimate leans on the surveys?

## Common pitfalls

- Using Bayesian estimates without stating that they are modelled. Label them as such in reports.
- Reading the model as a replacement for good data: with few or old surveys and poor routine data, the band is wide.
- Expecting the estimate to match the facility-based coverage of [National coverage](https://datasuite.damurka.com/en/methodology/coverage.md): the model uses the routine data's trend, not their level.

## See also

- [Bayesian Analysis in the app guide](https://datasuite.damurka.com/en/apps/countdown/advanced-analysis/bayesian-analysis.md)
- [Data quality assessment](https://datasuite.damurka.com/en/methodology/data-quality.md): the data quality score that sets how much the routine trend counts
- Glossary: *Trajectory* (One possible path of coverage over time; each year's estimate is the middle value across trajectories, with a range leaving out the most extreme ones.), *Uncertainty interval* (The range around a modelled estimate that shows how certain it is: for the Bayesian coverage model, the range covered by 95% of the trajectories in a year (the most extreme 2.5% on each side left out). A narrow interval means the data agree.), *Bayesian model* (A statistical model that starts from prior knowledge (here, that coverage usually rises along an S-shaped curve) and updates it with the data, giving estimates with their uncertainty. The coverage model takes its levels from surveys and its year-to-year change from the routine data.)
- Previous step: [National coverage](https://datasuite.damurka.com/en/methodology/coverage.md) · Next step: [Equity assessment (equiplots)](https://datasuite.damurka.com/en/methodology/equity.md)
