# How routine data are used

How the facility data inform the estimated trend through their year-to-year change, not their level, and how their data quality score limits their influence.

The coverage estimates from routine facility data can be biased, so the model treats them differently from survey data.
It does not rely on the coverage levels observed in routine data. Instead, it uses their **trend over time**: how coverage
changes from year to year. How much that trend counts depends on the quality of the routine data, measured by 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.).

> **Note**
>
> **At a glance**
> - **Uses:** the facility-based coverage of [National coverage](https://datasuite.damurka.com/en/methodology/coverage.md) (only its year-to-year change) and the annual data quality score of the [Data quality assessment](https://datasuite.damurka.com/en/methodology/data-quality.md).
> - **Good result:** a high data quality score, so that the routine trend informs the years after the most recent survey.
> - **In the app:** the routine data points drawn on the **[Bayesian Analysis](https://datasuite.damurka.com/en/apps/countdown/advanced-analysis/bayesian-analysis.md)** charts.

## Why

Routine data can be biased due to issues such as incomplete reporting and data collection inconsistencies, so their
coverage levels are not reliable. But they are available every year, including the years after the most recent survey,
and the change they show from one year to the next is informative.

## What

For surveys, the model uses the actual coverage levels. For routine data, it uses the change in coverage from year to
year. If the routine data show faster or slower changes than expected, the model adjusts the estimates, but only as much
as the data can be trusted.

**Accounting for data quality.** The model accounts for routine data quality by adjusting the uncertainty of the trend
estimates. Observations with lower data quality are treated as more uncertain and given less weight in determining true
rates of change. Specifically, uncertainty in the estimated rate of change increases as the Countdown mean data quality
score (the annual data quality score) decreases. Consequently, lower-quality data exert less influence on the modelled
rate of change.

| Routine data | Used by the model | Effect |
| --- | --- | --- |
| Coverage level | No | Biased levels do not move the estimate up or down |
| Year-to-year change | Yes | Informs how fast coverage changes, especially after the most recent survey |
| Data quality score of the year | Yes | A lower score makes the routine change more uncertain, so it counts less |

## Formula

$$\Delta_{t} = R_{t} - R_{t-1}$$

where

- $\Delta_{t}$ is the change in routine coverage between year $t-1$ and year $t$, in percentage points;
- $R_{t}$ is the facility-based coverage in year $t$, with the denominator chosen in [Denominator assessment and selection](https://datasuite.damurka.com/en/methodology/denominators.md).

*Worked example:* if routine data show coverage increasing from 50% in one year to 53% in the next, the model interprets
this as a 3 percentage point increase, whatever the survey level is.

## Interpretation

- **Does the routine trend change the estimate after the most recent survey?** Routine data help inform how quickly coverage is changing over time, particularly after the most recent survey, when no new survey data are available.
- **Is the routine level far from the survey level?** That does not affect the estimate: only the change counts. A gap between the levels is examined in [Comparison with surveys and targets](https://datasuite.damurka.com/en/methodology/coverage/surveys-and-targets.md).
- **Is the data quality score low?** Then the routine trend counts less and the estimate leans on the surveys; the band stays wide after the last survey.

### Example: data and Bayesian estimates in four regions

![Survey data, routine data and Bayesian estimates for a coverage indicator in four regions](https://datasuite.damurka.com/images/bayesian-regions.png)

**Reading the chart:** an illustration of the model's behaviour (not an output of the example dataset), for a coverage
indicator in four regions. Survey data from DHS and MICS are shown in red and blue, with vertical bars indicating how
uncertain each survey point is. Routine data are shown in black. The lines represent the model's point estimates with
shaded areas highlighting uncertainty: in Regions C and D, red for the estimates that include the routine data and
dashed green for the estimates based on the surveys only.

**What it shows:**

- The model's estimates usually follow the survey data, unless a data point is very uncertain and does not match the overall trend. In **Region B**, the most recent MICS survey point is lower than expected and very uncertain, so the model's recent estimates do not exactly align with it.
- **Region C:** the routine data show an increase in coverage after the last survey. As a result, the estimates that include routine data show a faster rate of change during that period compared to the estimates based only on survey data.
- **Region D:** routine data suggest that coverage has not increased recently, and the estimates that include routine data reflect that information: they rise more slowly than the survey-only estimates.
- In Region C the routine levels are well below the last survey point, yet the estimates stay at the survey level: only the routine change is used.

## After the estimates

Label the estimates as modelled when you use them in reports. To raise the influence of the routine data, improve their
quality: see [Data quality assessment](https://datasuite.damurka.com/en/methodology/data-quality.md) and [Data adjustment](https://datasuite.damurka.com/en/methodology/data-adjustment.md).
