7  Domains and the last round’s report

Plan the sample1 Domains→2 Inputs→3 Targets→4 Design effect→5 Sample size→6 Allocation
Draw the sample7 Frame→8 PSUs→9 Households→10 Weights

For which parts of The Gambia must the next DHS publish its own estimates, and what does the 2019-20 round say about each of them? These are the first two decisions of Figure 1.1. The first fixes the domains and the strata. The second turns the tables at the back of the 2019-20 report into the numbers a plan needs: the level of each indicator, its design effect, the response rates and the eligible persons a household yields.

7.1 Domains and strata

A domain is a part of the population for which the survey publishes estimates. Appendix A of the 2019-20 report names them. The survey was “designed to produce reliable estimates” for the country, for urban and rural areas, and for each of the eight LGAs (Gambia Bureau of Statistics and ICF 2021).

A stratum is a part of the frame from which the sample is drawn separately. The 2019-20 design has 14 strata, each LGA split into its urban and rural parts, Banjul and Kanifing being wholly urban. Stratifying fixes the number of EAs in each cell instead of leaving it to chance, and it gains precision when the cells differ.

The two need not coincide. An LGA is a domain made of one or two strata, and its sample size is set by its own precision target. Urban and rural areas are domains made of strata from every LGA. Their sample sizes are not chosen directly. They follow from the LGA allocation and its split between urban and rural, and the planner checks that they come out large enough. The country is the sum of all strata.

The frame gives the households of each stratum.

gmb24_eas <- readRDS("data/gmb24_eas.rds")
glimpse(gmb24_eas)
#> Rows: 5,054
#> Columns: 6
#> $ ea_id       <chr> "1021001", "1021002", "1021003", "1021004",…
#> $ lga         <chr> "Banjul", "Banjul", "Banjul", "Banjul", "Ba…
#> $ district    <chr> "Banjul Central", "Banjul Central", "Banjul…
#> $ ward        <chr> "New Town East", "New Town East", "New Town…
#> $ urban_rural <chr> "Urban", "Urban", "Urban", "Urban", "Urban"…
#> $ households  <int> 81, 55, 91, 94, 91, 50, 68, 99, 107, 55, 60…

frame_strata <- gmb24_eas |>
  summarise(eas = n(), N = sum(households), .by = c(lga, urban_rural))

frame_strata |>
  mutate(share = round(N / sum(N), 3))
#>            lga urban_rural  eas      N share
#> 1       Banjul       Urban   93   6600 0.021
#> 2        Basse       Rural  357  15848 0.051
#> 3        Basse       Urban  141   8760 0.028
#> 4      Brikama       Rural  717  38381 0.123
#> 5      Brikama       Urban 1554 109756 0.353
#> 6  Janjanbureh       Rural  272  12255 0.039
#> 7  Janjanbureh       Urban   52   3391 0.011
#> 8     Kanifing       Urban  879  65218 0.210
#> 9      Kerewan       Rural  413  19186 0.062
#> 10     Kerewan       Urban  119   8587 0.028
#> 11     Kuntaur       Rural  233  10278 0.033
#> 12     Kuntaur       Urban   16   1000 0.003
#> 13  Mansakonko       Rural  169   8763 0.028
#> 14  Mansakonko       Urban   39   3090 0.010

The frame of 2024 is not the frame of 2019-20. Table A.1 of the report gave Brikama 37% of the households, and the 2024 frame gives it 48%. The next round inherits the domains of the last one, but the weight of each domain has moved. Chapter 6 showed what that does to an allocation designed on the old frame.

7.2 What the report gives

A DHS report gives the planner two kinds of tables. Appendix A describes what the fieldwork achieved. Table A.5 gives, for each LGA, the households selected, the share of them completed, the household response rate, the eligible women found and their response rate. Appendix B gives the sampling errors, one table per domain and one row per indicator, with the estimate R, its standard error, the number of cases N and the DEFT. The book’s data holds these values for the 2019-20 round, with the table and page of each in data/README.md.

inputs <- read.csv("data/gmb_dhs2019_lga.csv")
inputs |>
  select(lga, selected, completed, hrr, women, women_rr, mcpr, mcpr_deft,
         married)
#>           lga selected completed   hrr women women_rr  mcpr
#> 1      Banjul     1000     0.905 0.947  1021    0.928 0.217
#> 2    Kanifing     1150     0.893 0.934  1743    0.925 0.159
#> 3     Brikama     1250     0.951 0.975  2470    0.953 0.197
#> 4  Mansakonko      675     0.967 0.992  1060    0.972 0.144
#> 5     Kerewan      800     0.963 0.990  1470    0.946 0.208
#> 6     Kuntaur      651     0.962 0.997  1370    0.963 0.141
#> 7 Janjanbureh      696     0.970 0.994  1312    0.962 0.182
#> 8       Basse      763     0.923 0.981  2035    0.958 0.078
#>   mcpr_deft married
#> 1     1.016     494
#> 2     1.246     854
#> 3     1.086    1391
#> 4     1.571     730
#> 5     1.494    1002
#> 6     1.533    1088
#> 7     1.867     971
#> 8     1.645    1553

Transcribing these tables is the first task of a plan, and it is error prone. Two checks catch most errors: the counts of each table add up to the total the table prints, and the SE of Appendix B can be recomputed from R, N and the DEFT, as Chapter 8 shows.

7.3 From published rates to planning inputs

A plan counts selected households, and an indicator counts eligible persons. The bridge is the yield of a selected household, the number of eligible persons it gives once nonresponse is accounted for.

NoteYield of a selected household

With \(S\) households selected, a share \(C\) of them completed, \(E\) eligible persons found in the completed households and a share \(R_i\) of these interviewed, the eligible persons per completed household and the overall response are \[ d = \frac{E}{S \, C}, \qquad R = C \, R_i . \] For a subgroup counted in Appendix B, such as married women, with \(N_g\) interviewed, \(d_g = N_g / (R_i \, S \, C)\).

\(C\) is the share of selected households that completed the interview, the Completed row of Table A.5, not the household response rate. The response rate, HRR, leaves vacant or destroyed dwellings and absent households out of its denominator, because they are not refusals. For a plan they are lost all the same, and the yield must count them.

svyplan keeps the two losses apart, as the report does. eligibility_rate is the share of selected households in scope, \(C / \mathrm{HRR}\), and resp_rate the share of those that responded, here \(\mathrm{HRR} \, R_i\) for the women. Their product is \(C R_i\), so the sample size does not change. The split matters in two places. With a finite population, the households in scope are the frame count times eligibility_rate. And an allocation weights each stratum by its households in scope, so an LGA with many vacant dwellings counts for less. Basse lost nearly 6% of its selected dwellings this way, Kerewan under 3%. A survey that settles its own dispositions, as in Section 17.4, gets both rates directly.

inputs <- inputs |>
  mutate(
    interviewed = selected * completed,
    women_hh = women / interviewed,
    married_hh = married / women_rr / interviewed,
    children_hh = children / women_rr / interviewed,
    resp = completed * women_rr,
    in_scope = completed / hrr,
    resp_in_scope = hrr * women_rr
  )

inputs |>
  select(lga, women_hh, married_hh, children_hh, resp) |>
  mutate(across(where(is.numeric), \(x) round(x, 2)))
#>           lga women_hh married_hh children_hh resp
#> 1      Banjul     1.13       0.59        0.09 0.84
#> 2    Kanifing     1.70       0.90        0.15 0.83
#> 3     Brikama     2.08       1.23        0.24 0.91
#> 4  Mansakonko     1.62       1.15        0.25 0.94
#> 5     Kerewan     1.91       1.37        0.30 0.91
#> 6     Kuntaur     2.19       1.80        0.37 0.93
#> 7 Janjanbureh     1.94       1.50        0.27 0.93
#> 8       Basse     2.89       2.30        0.47 0.88

inputs |>
  select(lga, completed, hrr, in_scope, women_rr, resp_in_scope) |>
  mutate(across(where(is.numeric), \(x) round(x, 3)))
#>           lga completed   hrr in_scope women_rr resp_in_scope
#> 1      Banjul     0.905 0.947    0.956    0.928         0.879
#> 2    Kanifing     0.893 0.934    0.956    0.925         0.864
#> 3     Brikama     0.951 0.975    0.975    0.953         0.929
#> 4  Mansakonko     0.967 0.992    0.975    0.972         0.964
#> 5     Kerewan     0.963 0.990    0.973    0.946         0.937
#> 6     Kuntaur     0.962 0.997    0.965    0.963         0.960
#> 7 Janjanbureh     0.970 0.994    0.976    0.962         0.956
#> 8       Basse     0.923 0.981    0.941    0.958         0.940

The second table splits the overall response. in_scope times resp_in_scope gives back resp, and the plans of the next chapters pass the two factors to svyplan as eligibility_rate and resp_rate.

The yields differ widely. A completed household in Banjul holds 1.13 women aged 15 to 49, against 2.89 in Basse. The same 25 households give about four times more married women in Basse than in Banjul. A plan that used one national yield for every LGA would give Banjul too few households and Basse too many.

7.4 Design effects from the report

Appendix B prints the DEFT, the ratio of the standard error to that of a simple random sample with the same number of cases. Planning formulas use the design effect, the ratio of variances, \(\mathrm{deff} = \mathrm{DEFT}^2\). Basse’s mCPR has a DEFT of 1.645 and a design effect of 2.71.

Each LGA’s DEFT is itself an estimate, computed from the 26 to 50 clusters of that LGA. Chapter 6 drew the 2019-20 design a thousand times on the synthetic Gambia, and Brikama’s DEFT ran from 1.04 to 2.31 across the draws. The published values carry that noise. The two indicators of the same LGA show it.

inputs |>
  select(lga, mcpr_deft, vacc_deft)
#>           lga mcpr_deft vacc_deft
#> 1      Banjul     1.016     1.148
#> 2    Kanifing     1.246     1.373
#> 3     Brikama     1.086     1.096
#> 4  Mansakonko     1.571     0.859
#> 5     Kerewan     1.494     1.146
#> 6     Kuntaur     1.533     1.047
#> 7 Janjanbureh     1.867     1.106
#> 8       Basse     1.645     1.540

Mansakonko’s vaccination DEFT is 0.86, below one. A cluster sample is rarely more precise than a simple random sample of the same size, and a value below one is more likely chance than a feature of Mansakonko. The plan of Chapter 8 uses each LGA’s own DEFT, as the DHS manual does, and its virtual survey shows the cost. Chapter 9 replaces the eight DEFTs with a model fitted to all the clusters.

A DEFT for a domain made of several strata carries a second effect. The design gives households of different strata different weights, and unequal weights lose precision even without clustering. Kish’s factor measures that loss (Kish 1965).

NoteKish’s weighting effect

When stratum \(h\) holds a share \(W_h\) of the population and receives \(n_h\) of the \(n\) sampled units, the variance is inflated by \[ \mathrm{deff}_w = n \sum_h \frac{W_h^2}{n_h} = 1 + \mathrm{CV}^2(w), \] where \(\mathrm{CV}(w)\) is the coefficient of variation of the weights. It equals 1 under proportional allocation. The formula assumes the same variance in every stratum and leaves the clustering out.

design_effect() computes it from the strata.

table_a1 <- read.csv("data/gmb_dhs2019_frame.csv") |>
  rename(N = households)

strata_2019 <- bind_rows(
  mutate(inputs, lga, urban_rural = "Urban", n = eas_urban, .keep = "none"),
  mutate(inputs, lga, urban_rural = "Rural", n = eas_rural, .keep = "none")
) |>
  inner_join(table_a1, by = c("lga", "urban_rural")) |>
  filter(n > 0)

weighting_loss <- function(N, n) {
  as.numeric(design_effect(strata = data.frame(N = N, n = n)))
}

within_lga <- strata_2019 |>
  summarise(kish = weighting_loss(N, n), .by = lga)
within_lga
#>           lga     kish
#> 1      Banjul 1.000000
#> 2    Kanifing 1.000000
#> 3     Brikama 1.004823
#> 4  Mansakonko 1.012663
#> 5     Kerewan 1.021107
#> 6     Kuntaur 1.004402
#> 7 Janjanbureh 1.009371
#> 8       Basse 1.019700
weighting_loss(strata_2019$N, strata_2019$n)
#> [1] 1.440832

Within an LGA, the 2019-20 allocation split the EAs between urban and rural almost in proportion, and the loss is at most 2%. An LGA’s DEFT is mostly the effect of clustering. Across LGAs the allocation is far from proportional, and the national loss is 1.44. Of the national design effect of mCPR, \(1.576^2 = 2.48\), unequal weights account for a factor of 1.44 and clustering for the remaining 1.72. A planner who carries a national DEFT into a new allocation must divide out the old weighting loss first, since the new allocation brings its own.

7.5 Backtest

The 2019-20 planners faced the same task with the inputs of their time. Table A.4 gives the interviews with women they expected in each LGA. They took the yields of the 2017 Malaria Indicator Survey, 1.80 women per urban household and 2.24 per rural one, for every LGA. Table A.5 gives what fieldwork found.

The 2013 DHS offered another choice, the yields of each LGA two rounds earlier. Table A.6 of the 2013 report gives them (Gambia Bureau of Statistics and ICF International 2014).

yields_2013 <- read.csv("data/gmb_dhs2013_lga.csv") |>
  mutate(lga, yield_2013 = women / selected * women_rr, .keep = "none")

check <- inputs |>
  mutate(lga, planned = 25 * (eas_urban + eas_rural),
         table_a4 = women_expected,
         achieved = round(women * women_rr), .keep = "none") |>
  left_join(yields_2013, by = "lga") |>
  mutate(from_2013 = round(planned * yield_2013), yield_2013 = NULL)
check
#>           lga planned table_a4 achieved from_2013
#> 1      Banjul    1000     1567      947       998
#> 2    Kanifing    1150     1804     1612      1524
#> 3     Brikama    1250     2015     2354      1833
#> 4  Mansakonko     675     1328     1030       937
#> 5     Kerewan     800     1539     1391      1130
#> 6     Kuntaur     650     1330     1319      1081
#> 7 Janjanbureh     700     1382     1262      1199
#> 8       Basse     800     1510     1950      1846

check |>
  summarise(error_table_a4 = mean(abs(table_a4 / achieved - 1)),
            error_from_2013 = mean(abs(from_2013 / achieved - 1)))
#>   error_table_a4 error_from_2013
#> 1      0.2053253       0.1114238

The national yields of Table A.4 missed the achieved interviews by 21% on average, and by 40% in Banjul. The yields of each LGA in 2013 missed by 11%. They predict too few interviews overall, because response rose from 86% of women in 2013 to 92% in 2019-20. But they keep the pattern across LGAs, few women per household in Banjul and many in Basse, and the pattern matters more. The plan of this book uses the yields of each LGA in the last round, 2019-20.

7.6 Virtual survey

A yield is an average. The married women of 25 households vary from one cluster to the next, and the interviews a domain achieves vary from one sample to the next. The virtual survey draws the 2019-20 design on the synthetic Gambia and counts the married women interviewed in each LGA. Appendix B gives the number achieved by the real survey.

gmb_synthetic <- readRDS("data/gmb_synthetic.rds")

design_2019 <- sampling_design("DHS 2019-20") |>
  add_stage("Clusters") |>
    stratify_by(lga, urban_rural) |>
    cluster_by(cluster) |>
    draw(n = select(strata_2019, lga, urban_rural, n),
         method = "pps_systematic", mos = households,
         control = c(district, ward)) |>
  add_stage("Households") |>
    draw(n = 25, method = "systematic")
design_2019
#> ── Sampling Design: DHS 2019-20 ─────────────────────────────────
#> 
#> ℹ 2 stages
#> 
#> ── Stage 1: Clusters ────────────────────────────────────────────
#> • Strata: lga, urban_rural
#> • Cluster: cluster
#> • Draw: n = <custom data frame, per stratum>, method = pps_systematic, mos = households, control = c(district, ward)
#> 
#> ── Stage 2: Households ──────────────────────────────────────────
#> • Draw: n = 25 (per cluster), method = systematic

response <- mutate(inputs, lga, household = completed, person = women_rr,
                   .keep = "none")
virtual <- virtual_survey(design_2019,
                          gmb_synthetic, response, reps = 1000,
                          seed = 5)

attr(virtual, "replicates") |>
  filter(.domain != "National") |>
  summarise(low = quantile(n, 0.05), median = median(n),
            high = quantile(n, 0.95), .by = .domain) |>
  left_join(select(inputs, .domain = lga, achieved = married), by = ".domain")
#>       .domain     low median    high achieved
#> 1      Banjul  462.00    494  530.00      494
#> 2       Basse 1553.00   1625 1691.00     1553
#> 3     Brikama 1340.00   1398 1457.00     1391
#> 4 Janjanbureh  932.00    980 1026.05      971
#> 5    Kanifing  807.95    852  898.05      854
#> 6     Kerewan  950.00   1007 1061.00     1002
#> 7     Kuntaur 1037.95   1084 1142.00     1088
#> 8  Mansakonko  690.00    737  782.00      730

The number achieved in 2019-20 lies inside the central 90% of the counts of the virtual surveys, as it should, since the synthetic population was built with the 2019-20 yields. Basse sits at the edge because it fielded 763 households, not the 800 of Table A.3 that the virtual survey draws. The spread is the lesson. In Banjul, 40 clusters give between 462 and 530 married women. A domain sized so that its expected count meets a floor reaches the floor in about half of the samples. For the floor to hold in 19 samples out of 20, Banjul would need about 7% more households than the expected count asks.

7.7 How the other surveys read their last round

The Zimbabwe MICS of Chapter 26 reads the same tables in another format. MICS reports give the design effect and its square root, and a design effect for every province. The Zimbabwe plan pools them. It divides the national design effect of 1.931 by the weighting loss of the 2019 allocation and gives every province the result, which reflects the clustering alone.

The Rwanda LFS of Chapter 27 publishes coefficients of variation and design effects by district. Its methodology found the district design effects too unstable to plan from, and it backs one intraclass correlation out of the national design effect instead. Chapter 9 explains that step.

The Malawi IHS of Chapter 28 plans from IHS4, two rounds before IHS6. The district errors that IHS5 published look like those of a simple random sample, so the plan reaches back to the IHS4 errors tabulated in the IHS5 Basic Information Document (National Statistical Office 2020). A plan uses the most recent tables it can trust, and says which.

7.8 What to record

TipFor the sample design report

The survey publishes estimates for the country, for urban and rural areas, and for each of the eight LGAs. The frame is divided into 14 strata, each LGA split into urban and rural parts, Banjul and Kanifing being wholly urban. The frame is the 2024 EA list of 5,054 EAs and 311,113 households. The planning inputs are those of the 2019-20 GDHS, by LGA: levels and DEFTs from Tables B.5 to B.12, completion and response from Table A.5, and eligible persons per completed household derived from both. The yields of each LGA are used rather than national ones, since the 2013 yields of each LGA predicted the 2019-20 interviews twice as well as the national ones.

inputs |>
  mutate(LGA = lga, `Women per hh` = round(women_hh, 2),
         `Married women per hh` = round(married_hh, 2),
         Response = round(resp, 3), mCPR = mcpr, DEFT = mcpr_deft,
         .keep = "none") |>
  knitr::kable()
LGA Women per hh Married women per hh Response mCPR DEFT
Banjul 1.13 0.59 0.840 0.217 1.016
Kanifing 1.70 0.90 0.826 0.159 1.246
Brikama 2.08 1.23 0.906 0.197 1.086
Mansakonko 1.62 1.15 0.940 0.144 1.571
Kerewan 1.91 1.37 0.911 0.208 1.494
Kuntaur 2.19 1.80 0.926 0.141 1.533
Janjanbureh 1.94 1.50 0.933 0.182 1.867
Basse 2.89 2.30 0.884 0.078 1.645

7.9 Exercises

  1. Table A.5 gives Banjul 1,000 selected households, 90.5% completed and a women’s response rate of 92.8%, and Table B.5 gives 494 married women interviewed. Compute the married women per completed household by hand.
  2. The 2019-20 design gave Brikama 46 urban EAs for 97,324 households and 4 rural EAs for 6,340. Compute Kish’s factor within Brikama, and the allocation that would make it 1.
  3. Using the 2013 yields, predict the women Kuntaur would interview with 650 households, and compare with Table A.4 and with the 1,319 achieved.
  4. Mansakonko’s vaccination DEFT is 0.86. If a plan used it to size vaccination for Mansakonko, would the plan be too large or too small? What would you use instead?
  1. \(494 / (0.928 \times 1000 \times 0.905) = 0.59\).
  2. With \(W = (0.939, 0.061)\) and \(n = (46, 4)\), the factor is \(50 \times (0.939^2 / 46 + 0.061^2 / 4) = 1.005\). A proportional split gives 47 and 3 EAs.
  3. \(650 \times 1138 / 625 \times 0.913 = 1{,}081\), against 1,330 in Table A.4 and the 1,319 achieved. The 2013 yield misses by 18%, because Kuntaur’s households held more women in 2019-20 and responded more often. Table A.4 misses by 1%. Kuntaur is the LGA where the national yields happened to fit.
  4. Too small, since a DEFT of 0.86 assumes the cluster sample beats a simple random sample. A pooled design effect for vaccination, or the clustering model of Chapter 9, is safer.