# Data quality assessment

Before coverage is estimated, check whether the health facility data can be trusted: are reports complete, are there implausible values, do related indicators agree, and how good is each year overall?

The health facility data quality assessment checks the monthly data reported by health facilities before coverage is
estimated from them: the completeness of reporting by health facilities, extreme outliers, and the internal consistency
of the reported numbers, summed up in an annual data quality score.

It is the first step of the analysis after the data are loaded ([Analysis setup](https://datasuite.damurka.com/en/methodology/analysis-setup.md)).
What it finds decides what the next step, [Data adjustment](https://datasuite.damurka.com/en/methodology/data-adjustment.md), corrects or removes.

> **Note**
>
> **At a glance**
> - **Answers:** can these facility data be trusted to estimate coverage, and which years and districts are weak?
> - **Uses:** the monthly health facility data (reports received and service numbers) and, for the consistency checks, the *ANC1* (The first antenatal care visit of a pregnancy, usually at about 20 weeks (4-5 months) of pregnancy.), *penta1 and penta3* (The first and third doses of pentavalent (DTP-containing) vaccine, recommended at 6 and 14 weeks of age.) (and *OPV1, OPV3* (The first and third doses of oral polio vaccine.)) coverage from the most recent *household survey* (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.).
> - **Produces:** indicators for each check, and an annual data quality score.
> - **In the apps:** [Data quality](https://datasuite.damurka.com/en/apps/countdown/data-quality.md) (**Data quality** in the *RMNCAH* (Reproductive, maternal, newborn, child and adolescent health: the services the RMNCAH analysis covers, from antenatal care to child immunization.) app, **Data Quality Assessment** in the Vaxx app).

## Why

Routinely reported health facility data are an important data source for health indicators at facility and population
level. The data are reported by health facilities on events such as immunizations given, or live births attended. As
with any data, quality is an issue. Data need to be checked to consider completeness of reporting by health facilities,
identify extreme outliers and internal consistency. A standard reporting method for data quality allows assessment of
progress over time.

## What the assessment checks

| Check | The question it answers |
| --- | --- |
| [Completeness of monthly facility reporting](https://datasuite.damurka.com/en/methodology/data-quality/reporting-completeness.md) | Did facilities send their monthly reports? |
| [Missing monthly values](https://datasuite.damurka.com/en/methodology/data-quality/missing-data.md) | Are there months with no number for an indicator? |
| [Extreme outliers](https://datasuite.damurka.com/en/methodology/data-quality/outliers.md) | Are some monthly numbers implausibly high or low? |
| [Consistency of annual reporting](https://datasuite.damurka.com/en/methodology/data-quality/internal-consistency.md) | Do reported numbers that should be related agree? |
| [Annual data quality score](https://datasuite.damurka.com/en/methodology/data-quality/quality-score.md) | Summary of performance: how good is each year? |

Each indicator is a percentage: the share of reports, values or districts that pass the check, so **higher is better**.

## How the checks fit together

Read the checks together, not one at a time. Completeness of reporting tells you whether reports arrived, not whether the
numbers in them are right; extreme outliers and consistency look at the numbers themselves. A year can have
complete reporting and still fail the consistency checks. The overall score sums up all of them, but always look at
which check pulls a weak year down.

## Doing it in the app

### 1. Open the data quality pages

They are under **Data quality** in the RMNCAH app and **Data Quality Assessment** in the Vaxx app: see [Data quality](https://datasuite.damurka.com/en/apps/countdown/data-quality.md) for each page and its filters.

### 2. Review each check

Work through [Reporting Rate](https://datasuite.damurka.com/en/apps/countdown/data-quality/reporting-rate.md), [Data Missingness](https://datasuite.damurka.com/en/apps/countdown/data-quality/data-missingness.md), [Outlier Detection](https://datasuite.damurka.com/en/apps/countdown/data-quality/outlier-detection.md) and [Internal Consistency](https://datasuite.damurka.com/en/apps/countdown/data-quality/internal-consistency.md). Note the years and districts that look weak.

### 3. Look at the overall score

The [Overall Data Quality Score](https://datasuite.damurka.com/en/apps/countdown/data-quality/overall-data-quality-score.md) is computed for you, one column per year.

### 4. Continue to data preparation

Correct the problems and, where needed, remove unreliable years in [Data preparation](https://datasuite.damurka.com/en/apps/countdown/data-preparation.md).

## Points to consider for the interpretation

- Is there a data quality pattern by year for which there is an explanation? (Include the explanation.)
- Are there certain regions or other subnational units that are particularly problematic?
- Are there certain reporting forms or services (e.g., antenatal care, labour and delivery, immunization) that are problematic?
- Is there good consistency between reported numbers of ANC1 and penta1?

## Common pitfalls

- A low score is a reason to investigate, not always to discard a year. Compare with local events (a strike, a new reporting system) before using [Remove Years](https://datasuite.damurka.com/en/apps/countdown/data-preparation/data-adjustment.md#remove-years). A year with many outliers or low completeness is a candidate for **Remove Years** or careful adjustment (see [Data adjustment](https://datasuite.damurka.com/en/methodology/data-adjustment/remove-years.md#when-to-remove-a-year)).
- District results are noisier than regional ones because they rest on smaller numbers.
- Changing the district reporting threshold (90% by default) changes the share of districts reporting well, and therefore the score, so agree it with your team before comparing years or countries.

## See also

- Glossary: *Reporting rate* (The percentage of expected monthly facility reports that were received: the completeness of monthly facility reporting. Reporting rates over 90% are good.), *Missing value* (A month with no number reported for an indicator in a district. Measured by the share of districts with no missing monthly values, and replaced in data adjustment by the district's median monthly value for the year.), *Extreme outlier* (A monthly value more than 5 times the median absolute deviation (MAD) from the median monthly value of the same series (district, or the national or admin-1 series being assessed), the median and MAD being computed from all years except the most recent one (source). In data adjustment it is replaced by the median of the district's non-outlier months in the same year.), *Expected ratio* (The ratio of two reported numbers (such as ANC1 to penta1) implied by the survey coverage and, for ANC1 to penta1, the mortality between the two; a national ratio within plus or minus 0.05 of it is acceptable.), *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.)
- Previous step: [Analysis setup](https://datasuite.damurka.com/en/methodology/analysis-setup.md) · Next step: [Data adjustment](https://datasuite.damurka.com/en/methodology/data-adjustment.md)
