Study
Opening the study…
Study
Opening the study…
There’s a newer version. You’re reading v1, and its author has corrected it since. Claims that didn’t change keep their verification.
Read v3, the newestWhat the work was done with, as its author lists it, so someone else can get the same things and do it again.
Software
R 4.6.1
The R Project; the rocker/r-ver:4.6.1 image, pinned by digest in env/Dockerfile · RRID:SCR_001905
Every model and summary; the declared results came from the arm64 image.
Software
survey 4.5 (R package)
CRAN, through the Posit Package Manager snapshot of 2026-10-01
svyglm with Taylor-linearized variance over NHANES's masked strata and PSUs, and degf for the design's degrees of freedom; pinned and checked in env/Dockerfile.
Software
jsonlite 2.0.0 (R package)
CRAN, through the Posit Package Manager snapshot of 2026-10-01
Reads and writes the results files.
Software
foreign (R package, with R 4.6.1)
The R Project
read.xport reads the NHANES SAS transport files.
Other
NHANES public-use data files, 1999-2000 to August 2021-August 2023
National Center for Health Statistics, US Centers for Disease Control and Prevention (wwwn.cdc.gov/nchs/nhanes)
412 SAS transport files as CDC published them, carried compressed with xz in data/nhanes, each with its download URL, SHA-256, size, and download time in data/nhanes/sources.csv; code/lib/io.R checks each before reading it. De-identified public-use data, collected under NCHS Research Ethics Review Board protocols #98-12, #2005-06, #2011-17, #2018-01, and #2021-05.
Other
Table A of S1 Data, Suchak et al. (2025)
PLOS Biology, doi:10.1371/journal.pbio.3003152, under CC BY 4.0
The sampling frame of 341 papers: its metadata columns only, in data/frame.csv (and plan/frame.csv).