Written 2026-11-09, before any rc5 analytic table, estimate or respondent-level value for a new measure was computed or viewed.
At the time of writing, only the documentation had been read: codebooks (data/raw/coverage_inventory/codebooks/), the coverage
inventory (config/coverage_inventory.csv, SHA-256 d2de355bbc5c764b46eb4ac2d2d6c340797edd0c6be659f632f53188b7078c72) and the NHANES
weighting tutorial (data/raw/rc5_sources/nhanes_tutorial_weighting.htm, SHA-256
0fe0e609fea576baf72ff5645fcdb66d22f402ab9ab1d0e622ea192c701d34e9). The SHA-256 of this file is recorded in docs/CHANGELOG.md
and in data/qa/rc5_prespec_freeze.json. Any later change is a deviation and is listed in that file and in the validation report.
1. Scope
Every row of config/coverage_inventory.csv with decision == INCLUDE and wave in {A, B}: 188 rows (Wave A 173, Wave B 15).
They map to outputs as follows.
| inventory rows | output in rc5 |
|---|---|
continuous laboratory and examination variables (output_type distribution or detection-share) |
distribution (mean, P10–P90) under the detection-limit rule of §3; plus a share at or above the detection limit for every analyte with a detection-limit comment variable |
| hepatitis serology (7 variables) | shares (positive / negative), §4 |
| balance (BAXPF1 and BAXPF2, 10 variables) | 5 shares, "passed condition k", §4; trial-2 variables are inputs |
| DERIVED:balance-condition-4 | duplicate of "passed condition 4"; not published separately |
| DERIVED:non-hdl | distribution (total cholesterol − HDL cholesterol); the inventory label "share" is corrected here |
| DERIVED:acr-category, DERIVED:cotinine-exposure | DEFER: their cut-points (KDIGO albuminuria categories; cotinine exposure ranges) have not been verified against the source documents by the Guidelines track. The continuous albumin-to-creatinine ratio and serum cotinine are published as distributions |
The inventory's detection-share label used the all-ages share below the limit and is a planning label only; the publication decision is
made per cell by §3.
2. Rules carried over unchanged from rc1–rc4
Adults RIDAGEYR >= 20; pregnant women (RIDEXPRG == 1) excluded; component weight > 0; the design is built on everyone with a
positive weight for that component and domains are formed with subset(); domain df = #PSU − #strata with domain observations;
tie-exact HF4 percentiles with Woodruff CIs; Korn–Graubard proportions; suppression per config/quality_thresholds.yaml v1.0.0
(SHA-256 12aef25c…7318); for shares, the rc4 secondary suppression; 10-year bands plus the top-coded 80+ group; missing values never
imputed; no trimming. Values must lie inside the codebook "Range of Values"; a value outside it stops the build.
R (survey) is the reference engine; the NumPy engine must agree for every estimate, SE, CI bound, n and df to rtol 1e-8.
Contrasts of means are not extended to rc5 measures. Single-year stress domains are not computed.
3. Detection limits (a)
- Below the limit. A value is below the lower limit of detection (LLOD) when its codebook comment variable equals 1 ("Below lower detection limit" / "below detectable limit"). Codebooks state that such values carry a fill of the LLOD divided by √2.
- LLOD on the reported scale.
LLOD_ref= the largest (fill value × √2) among below-limit rows of the analytic table. This equals the LLOD when the fill is constant, and is the largest LLOD when it varies by sample (for example RBC folate forms, where the fill is applied to the lysate before conversion). Where the codebook states a single LLOD, the two must agree (relative difference < 1e-6) or the build stops. - Cell share below the limit.
s= weighted proportion of the domain below the LLOD, computed by both engines and cross-checked. - Percentiles. In each cell, Pp is published only if
s < p − 0.05(P10: s < 0.05; P25: s < 0.20; P50: s < 0.45; P75: s < 0.70; P90: s < 0.85). Otherwise it is withheld with reasonLLOD_SHARE_TOO_HIGH. - CI bounds. A published percentile's CI bound below
LLOD_refis withheld (ci_status = unavailable, reasonCI_BOUND_BELOW_LLOD). - Mean. Published only if
s <= 0.40, adapting the CDC National Exposure Report rule that geometric means are not calculated when more than 40% of results are below the LOD. Otherwise withheld with reasonLLOD_SHARE_TOO_HIGH. - Analytes without a distribution. For each analyte, count its cells in which at least one percentile passes the rule above. If that
count is below half of its cells, no distribution rows are published for it (
quality_flag = not_published, reasonNO_PUBLISHABLE_PERCENTILE_IN_MOST_CELLS) and it is published as a share. - Share at or above the limit. For every analyte with a comment variable and at least one in-domain value below the limit, the share at
or above the LLOD is published per cell as a two-category share (
at-or-above-llod,below-llod) with Korn–Graubard intervals and the usual primary and secondary suppression. - hs-CRP (released in rc2) keeps its rc2 rule; it is not recomputed.
4. Binary and serology measures (b)
Published only as shares, never as distributions. Indeterminate, refused, not done and missing are excluded from the denominator and counted.
| variable | positive | negative | excluded |
|---|---|---|---|
| LBXHA hepatitis A antibody | 1 | 2 | 3 indeterminate |
| LBXHBC hepatitis B core antibody | 1 | 2 | 3 |
| LBDHBG hepatitis B surface antigen | 1 | 2 | 3 |
| LBDHD hepatitis D antibody | 1 | 2 | 3 |
| LBXHBS hepatitis B surface antibody | 1 | 2 | 3 |
| LBXHCR hepatitis C RNA | 1 | 2, 3 (antibody screen negative) | — |
| LBDHCI hepatitis C antibody, confirmed | 1, 4 (RNA positive) | 2, 3 (screen negative) | — |
| LBDHEG hepatitis E IgG | 1 | 2 | 3 |
Balance (modified Romberg test, BAX_L, ages 20–69). Codebook protocol: five conditions of increasing difficulty, up to two trials each,
and testing ended when a participant failed a condition after two trials. "Passed condition k" = pass (code 1) on trial 1 or trial 2 of
condition k. "Not passed" = did not pass both attempted trials of condition k, or did not pass an earlier condition (testing ended).
Excluded and counted: ineligible for the test (BAXMSTAT == 4), excluded from condition 5 only (condition 5), refused, not done, or a
missing result not explained by an earlier failure. Bands 20–29 to 60–69 only; no 20+ row. Eligibility exclusions (for example poor
vision, weight over 315 lb, leg amputation) are stated as a caveat.
5. Several methods for one analyte (c)
All methods are published in the data. One is designated the display measure (display_measure = true in the metric catalogue):
- LDL cholesterol (TRIGLY_L, fasting subsample): Friedewald (LBDLDL), Martin–Hopkins (LBDLDLM) and NIH equation 2 (LBDLDLN) are all published. Display: Martin–Hopkins. Reason: the 2026 ACC/AHA multisociety dyslipidemia guideline prefers either the Martin/Hopkins or the Sampson/NIH equation over Friedewald (J Am Coll Cardiol, doi 10.1016/j.jacc.2025.11.016, section 3.2); the choice between those two is the project's. The TRIGLY_L codebook notes that Martin–Hopkins was recommended in the 2018 cholesterol guideline for LDL-C < 70 mg/dL.
- RBC folate: FOLATE_L LBDRFO (ng/mL, whole-blood microbiologic assay with serum folate) and FFMR_L LBDRF7SI (nmol/L, sum of folate forms by LC-MS/MS in RBC lysate) are both published. Display: FOLATE_L LBDRFO. Reason: the FOLATE_L codebook states that population folate status in this cycle was assessed by the microbiologic whole-blood assay combined with serum folate forms.
- Same analyte in two units (SI duplicates) was already excluded in the inventory. BIOPRO_L serum glucose (LBXSGL) is not fasting-restricted and is published as its own measure, not as a duplicate of fasting glucose.
6. Display scale (d)
display_scale = log where the codebook "Range of Values" (all ages) spans a factor of 100 or more (log_display_likely == likely in the
inventory), otherwise linear. Shares have no display scale.
7. Weights (e, f)
Weights as in the inventory. The four cases that were proposed rather than read from the file:
| file | weight | basis | storage |
|---|---|---|---|
| COT_L | WTPH2YR | COT_L codebook: "an additional phlebotomy weight, WTPH2YR, has been included in this data release" | not in COT_L: merged by SEQN |
| FOLFMS_L | WTPH2YR | FOLFMS_L codebook, same statement | not in FOLFMS_L: merged by SEQN |
| BCHE_L | WTPH2YR | BCHE_L codebook: serum/plasma analyte; BIOPRO_L analytic note: "The phlebotomy weight should be used for analyses that use variables derived from blood analytes"; NHANES weighting tutorial: phlebotomy weights for laboratory components from the phlebotomy | not in BCHE_L: merged by SEQN |
| ALB_CR_L | WTMEC2YR | urine is collected at the MEC examination, not at phlebotomy; the tutorial assigns MEC exam weights to MEC components and phlebotomy weights to blood analytes; no urine weight exists for this cycle | from DEMO_L |
WTPH2YR is a person-level weight: before merging, the build asserts that it is identical for every SEQN across all phlebotomy files that carry it. If any of these files turns out to carry its own weight variable, that variable is used and the difference is reported. Subsample weights (WTSAF2YR fasting, WTSPF2YR PFAS, WTSVOC2Y VOCs): the design is built on everyone with a positive subsample weight; the build asserts that the design df is 15 (all strata and PSUs represented) or stops and reports.
8. Eligibility-restricted measures
Only eligible cells are estimated and published. Ferritin, transferrin receptor and alpha-1-acid glycoprotein (females 12–49): women, bands 20–29, 30–39, 40–49; no "all" or 20+ row. Balance: §4. All other measures: all bands, 20+, all/female/male.
9. Treatment context
LDL cholesterol (three equations) and non-HDL cholesterol: current cholesterol-lowering medicine (lipid_med, as for total cholesterol).
Insulin: current diabetes medicine (diabetes_med, as for fasting glucose). Same definitions and skip handling as rc2.
10. Benchmarks
Search, before viewing estimates, for published NCHS or CDC estimates for August 2021–August 2023 for the new measures (National Report on Human Exposure to Environmental Chemicals data tables for metals, cotinine, PFAS and VOCs; NCHS Data Briefs and Health E-Stats; Series 3 No. 50 Tables 14–20 for hip, arm and leg measures). Each benchmark is reproduced with the publication's own rules and reported as an exact match or an explained difference; nothing is tuned to match.
11. Release
nhanes-2021-2023-v1.0.0-rc5 contains every rc4 file byte for byte (tested against the rc4 manifest) plus new files for the Wave A and B
measures (expanded_*), the detection-limit and serology/balance shares, the metric catalogue with theme, display scale, display measure
and public caveats, and not_included.csv generated from config/coverage_inventory.csv. Public caveats are generated from codebook
facts (eligibility, sample, detection limits, method notes) with each sentence traceable to its source.