# Annual data quality score

The summary of performance: one score per year, the mean of the completeness, missing value, extreme outlier and district consistency indicators.

The annual data quality score is the summary of performance: one number per year that brings the data quality
indicators together, so years can be compared at a glance.

> **Note**
>
> **At a glance**
> - **Made from:** the completeness, missing value, extreme outlier and district consistency indicators.
> - **Good result:** a high score, similar across years; a year well below the others needs a closer look.
> - **In the app:** the **[Overall Data Quality Score](https://datasuite.damurka.com/en/apps/countdown/data-quality/overall-data-quality-score.md)** page, computed for you.

## Why

A standard reporting method for data quality allows assessment of progress over time. The score gives one view of all
the checks for each year; the individual indicators then show why a year scores as it does.

## What

The score is the mean of these indicators for the year. They are all percentages where higher is better, so the score
is a percentage too:

- % of expected monthly facility reports (national) and % of districts with completeness of facility reporting ≥ 90% ([completeness](https://datasuite.damurka.com/en/methodology/data-quality/reporting-completeness.md));
- % of districts with no missing monthly values ([missing values](https://datasuite.damurka.com/en/methodology/data-quality/missing-data.md));
- % of monthly values that are not extreme outliers and % of districts with no extreme outliers ([extreme outliers](https://datasuite.damurka.com/en/methodology/data-quality/outliers.md));
- % of districts with ANC1 to penta1, and with penta1 to penta3, in range, plus OPV1 to OPV3 for vaccines ([consistency](https://datasuite.damurka.com/en/methodology/data-quality/internal-consistency.md)).

The national ratios themselves are shown in the table but are not in the score.

## Formula

$$\text{Score} = \frac{1}{n} \sum_{i=1}^{n} I_i$$

where

- $I_1, \dots, I_n$ are the indicators listed above, for the year;
- $n$ is their number: 7, or 8 for vaccines (with OPV1 to OPV3).

## Settings

The score has no setting of its own, but it depends on the *district threshold* (The reporting rate a district must reach to count as reporting well: 90% by default; it can be changed on the Reporting Rate page.)
of completeness (90% by default): changing it changes the score.

## Interpretation

- **Is there a data quality pattern by year** for which there is an explanation? Find which indicator pulls a weak year down.
- **Is a low score a reason to drop the year?** Not necessarily: investigate first, and look for a cause such as a strike or a new reporting system.
- **Has the district threshold been changed?** Agree it with your team before comparing years or countries.

### Example: the score table

![The overall data quality score table, by year](https://datasuite.damurka.com/images/dqa-out-score-table.png)

**Reading the table:** one column per year. The rows are numbered as in the app:

| Row | Indicator |
| --- | --- |
| 1a | % of expected monthly facility reports (national) |
| 1b | % of districts with completeness of facility reporting ≥ 90% |
| 1c | % of districts with no missing values for the 4 forms |
| 2a | % of monthly values that are not extreme outliers (national) |
| 2b | % of districts with no extreme outliers in the year |
| 3a, 3b | National ratios: ANC1 to penta1, penta1 to penta3 (not in the score) |
| 3c, 3d | % of districts with ANC1 to penta1, and penta1 to penta3, in range |
| 4 | Annual data quality score |

Green cells meet the expected level; yellow cells fall short.

**What it shows:** the score is high and rises from **91** in the first year to **95** in the last. The weakest row every
year is the share of districts with ANC1 to penta1 in range (71% to 82%); the
[consistency check](https://datasuite.damurka.com/en/methodology/data-quality/internal-consistency.md) shows why. In the first year, completeness was
just short of the mark (89% of districts reporting well); in the last year, the share of districts with no extreme
outliers dropped to 87%, so that year's outliers deserve a look. The first year's score is
(96 + 89 + 90 + 100 + 92 + 71 + 97) ÷ 7 = 90.7, shown as 91.

## After the assessment

The score helps decide, in [Data adjustment](https://datasuite.damurka.com/en/methodology/data-adjustment.md), which years to keep: a year with a
very low score is a candidate for [Remove years](https://datasuite.damurka.com/en/methodology/data-adjustment/remove-years.md#when-to-remove-a-year).
