# Quality of the DHIS2 population projections

Whether the population projections in DHIS2 are consistent over time and close to the UN projections, at national level.

Most countries keep population projections in *DHIS2* (District Health Information Software 2, the software most countries use as their health management information system (HMIS); health facilities' monthly reports are entered in it, and the facility data workbook is exported from it.): the total population, live births, total births and
children under 1, by district and year, usually projected from the last census (the *population data* (By district and year: growth rate, total population, under-5, under-1, projected live births and total births (census-based), women 15-49.)).
They are one of the possible denominators. In the first part of the denominator assessment, their quality is checked at
national level, in two ways: their internal consistency over time, and their agreement with the
*UN population projections* (The United Nations population projections for a country (total population, births and target groups by year), built into the app; used to assess the population projections of the facility data and as a denominator option.).

> **Note**
>
> **At a glance**
> - **Measures:** the *population growth rate* (The annual change in a population, relative to its size: (population in a year − population the year before) ÷ population the year before, or ln(population in a year ÷ population the year before).) and *crude birth rate* (The number of live births per 1,000 population in a year.) implied by the DHIS2 projections, over time and against the UN projections, and the *crude death rate* (The number of deaths per 1,000 population in a year. Without major migration it is the crude birth rate minus the population growth rate (both per 1,000).) they imply.
> - **Good result:** a regular trend in total population and live births, close to the UN projections, with plausible birth and death rates.
> - **In the app:** the **[Denominator Assessment](https://datasuite.damurka.com/en/apps/countdown/denominators/denominator-assessment.md)** page (**Population Trend** in the Vaxx app), card **Population Comparison**.

## Why

The DHIS2 projections are used directly as a denominator (the **DHIS2 projections** option), and the population you
select here carries the population-growth options from one year to the next (see
[Facility data derived denominators](https://datasuite.damurka.com/en/methodology/denominators/derived-denominators.md#population-growth)). The
first part assesses the accuracy and consistency of the projected population numbers in DHIS2 by comparing them to
external sources. Differences with the UN projections may occur, but large differences suggest that there is a problem
with the DHIS2 population projections.

## What

The internal consistency of the DHIS2 population growth over time, and the comparison with the UN projections for four
indicators, with the values that flag a problem:

| Indicator | Numerator | Denominator | Interpretation |
| --- | --- | --- | --- |
| Annual population growth rate (DHIS2, over time) | Population in a year minus population in the previous year | Population in the previous year | Expected to be consistent over time: a change of 2 per 1,000 or more between years is inconsistent |
| Crude birth rate (DHIS2, over time) | Projected live births × 1,000 | Total population | Expected to be consistent over time: a change of 2 per 1,000 or more between years is inconsistent |
| Population size compared with the UN | Absolute difference between the DHIS2 and UN population | UN population | A relative difference greater than 5% should be considered a data quality issue with the DHIS2 projections |
| Population growth compared with the UN | Absolute difference between the DHIS2 and UN annual growth rates | – | A difference greater than 0.3% is a reason for concern with the data quality |
| Crude birth rate compared with the UN | Absolute difference between the DHIS2 and UN crude birth rates | – | A difference greater than 5 per 1,000 population: the DHIS2 projection may be problematic |
| Crude death rate implied by DHIS2 | Crude birth rate minus population growth rate (both per 1,000) | – | Compared with the UN; a negative crude death rate, or one below 5 per 1,000 population, means the data are inconsistent |

The crude death rate is the difference between the crude birth rate and the population growth if there is no major out-
or in-migration. UN projections exist at national level only, so these checks are national.

## Formula

$$r_t = \frac{P_t - P_{t-1}}{P_{t-1}}$$

$$g_t = \ln\left(\frac{P_t}{P_{t-1}}\right)$$

$$\text{CBR}_t = \frac{B_t}{P_t} \times 1000$$

$$\text{CDR}_t = \text{CBR}_t - 1000 \times g_t$$

$$\Delta P_t = \frac{\lvert P^{D}_t - P^{U}_t \rvert}{P^{U}_t} \times 100$$

where

- $P_t$ is the total population in year $t$ ($P^{D}$ in the DHIS2 projections, $P^{U}$ in the UN projections);
- $B_t$ is the number of live births projected for year $t$;
- $r_t$ is the annual growth rate used to check the DHIS2 trend, and $g_t$ the annual growth rate compared with the UN;
- $\text{CBR}_t$ and $\text{CDR}_t$ are the crude birth and death rates, per 1,000 population;
- $\Delta P_t$ is the relative difference between the DHIS2 and UN population, in percent.

The growth rates are compared as $\lvert g^{D}_t - g^{U}_t \rvert$ (flag above 0.3%) and the birth rates as
$\lvert \text{CBR}^{D}_t - \text{CBR}^{U}_t \rvert$ (flag above 5 per 1,000).

**Worked example.** A DHIS2 projection of 1,045,000 people in one year and 2,005,000 the next gives
$g = \ln(2{,}005 / 1{,}045) = 0.652$: a growth of 65%, against about 2.5% in the UN projections. With 75,700 projected live
births, $\text{CBR} = 75.7 / 2{,}005 \times 1000 = 37.8$ per 1,000, and $\text{CDR} = 37.8 - 652 = -614$ per 1,000: a negative
death rate, so the projection is inconsistent.

## Settings

| Setting | Default | What it means |
| --- | --- | --- |
| Select Best Population | Live births (DHIS2) | The DHIS2 population that is most consistent with the UN projections: live births, total births, total population or under 1 year. Its growth carries the population-growth options from the reference year to the other years. Set it on the **Denominator Assessment** page. |

## Interpretation

The DHIS2 projections are considered robust when:

1. the DHIS2 total population projection is consistent over time, with regular population growth;
2. the DHIS2 total live birth projection is consistent over time (a regular trend);
3. the projected numbers of total population and live births are close to the UN population projection;
4. the DHIS2 population projections are consistent with the UN estimates of the crude birth rate and crude death rate.

- **Do the UN and DHIS2 lines follow the same direction, with a stable gap?** Compare the total population, live births and under-1 population on the three tabs. Select the population (in **Select Best Population**) whose trends are consistent across the two sources, with estimates generally close: for example, the under-1 population if the UN estimates and the DHIS2 projections for that group are very close.
- **Is there a large gap between UN and DHIS2?** It suggests an outdated census base or a wrong population entry in the data. DHIS2 projections often drift when they are based on an old census.
- **Does one line break suddenly?** A sudden break usually means a change in how the population was projected, not a real change in births. Check the growth rate and birth rate for that year.
- **Is any check flagged?** Consider reasons, and expect the DHIS2 projections to perform poorly as a denominator in the [selection](https://datasuite.damurka.com/en/methodology/denominators/best-denominator.md).

The app draws the trends; the growth, birth and death rates are computed by the analyst from the projected numbers.

### Example: total population, DHIS2 and UN projections

![Total population in thousands, DHIS2 and UN projections, by year](https://datasuite.damurka.com/images/denominators-out-population.png)

**Reading the chart:** each line is one source, by year, in thousands: green for the UN projection, orange for the DHIS2
projection.

**What it shows:** the UN projection grows regularly, from 13.1 million in the first year to 14.8 million in the sixth
(about 2.5% a year). The DHIS2 projection is about 1.0-1.1 million in most years, 92% below the UN, jumps to 2.0 million
in the third year, falls back, and jumps to 13.2 million in the last year (11% below the UN). The growth rates it implies
(+65%, −65%, +251% in the years with a jump) are far from the UN's 2.5%, and the relative difference is above 5% in every
year. The DHIS2 total population fails checks 1 and 3.

### Example: live births, DHIS2 and UN projections

![Total live births in thousands, DHIS2 and UN projections, by year](https://datasuite.damurka.com/images/denominators-out-births.png)

**Reading the chart:** green is the UN projection of live births, orange the DHIS2 projection of live births and blue
the DHIS2 projection of total births, in thousands.

**What it shows:** the UN projects 462,000 to 490,000 live births a year. DHIS2 projects 36,000 to 38,000, with 76,000 in
the third year and 514,000 in the last; its total births are even lower than its live births in the first five years,
which is not possible. The crude birth rate implied by DHIS2 (35.6 per 1,000 in most years) is close to the UN's (33-35
per 1,000) because births and population are understated together, but it jumps by more than 2 per 1,000 in the third
and last years, and differs from the UN by 5.8 per 1,000 in the last year. The implied crude death rate is negative in
the years the population jumps. None of the DHIS2 populations is consistent with the UN projections: the DHIS2
projections should not be used as a denominator, and the population-growth options built on them need care.

## After the assessment

The result of this part feeds the [selection of the best performing denominator](https://datasuite.damurka.com/en/methodology/denominators/best-denominator.md),
where the DHIS2 projections are compared with the [facility data derived denominators](https://datasuite.damurka.com/en/methodology/denominators/derived-denominators.md)
against the survey. The population selected in **Select Best Population** is used by the population-growth options.
