Example paper: Kueh et al. BMJ Open. 2026;16:e113719
Teaching focus: Move from a broad published aim to a clearly defined research question — and see exactly which NHANES variables it rests on.
The paper has two related aims:
These are related, but they are not the same research question.
| Clinical correlates | Mortality prognosis | |
|---|---|---|
| Question | How do the four phenotype groups differ in their health characteristics? | Do the four phenotype groups have different subsequent mortality? |
| Time structure | Mostly cross-sectional at baseline | Longitudinal follow-up |
A single paper can contain more than one research question.
E F G H I J.haven::read_xpt().| Family | Examples | What it holds |
|---|---|---|
| Demographics | DEMO | age, sex, race, survey design, weights |
| Examination | BMX, BPX | measured body size, blood pressure |
| Laboratory | TRIGLY, BIOPRO, GLU, GHB, HDL | blood results |
| Questionnaire | ALQ, BPQ, DIQ, SMQ | self-reported history and medication |
| Concept | NHANES variable | Component |
|---|---|---|
| Participant ID | SEQN | every file — the merge key |
| Age, sex, race | RIDAGEYR, RIAGENDR, RIDRETH3 | DEMO |
| BMI, waist, height | BMXBMI, BMXWAIST, BMXHT | BMX |
| Triglycerides | LBXTR | TRIGLY |
| GGT | LBXSGTSI | BIOPRO |
| Glucose, HbA1c | LBXGLU, LBXGH | GLU, GHB |
| HDL cholesterol | LBDHDD | HDL |
| Blood pressure | BPXSY1–4, BPXDI1–4 | BPX |
Anthropometry, blood pressure and laboratory values are measured/assayed. Age, sex and race/ethnicity come from the demographic interview/file.
| Concept | NHANES variable | Component |
|---|---|---|
| BP / lipid medication | BPQ050A, BPQ100D | BPQ |
| Diabetes | DIQ010, DIQ050, DIQ070 | DIQ |
| Alcohol | ALQ130, ALQ120Q, ALQ120U, ALQ121 | ALQ |
| Survey design | WTMEC2YR, WTSAF2YR, SDMVSTRA, SDMVPSU | DEMO, TRIGLY |
| Mortality | MORTSTAT, PERMTH_EXM, ELIGSTAT | linked mortality file |
ALQ130 is drinks per drinking day, not drinks per day. Applying a “>2 a day” rule to it directly over-excluded about 2,000 people here — an average intake needs frequency × quantity.RIDRETH3 does not exist before 2011. It is what identifies Asian participants for the lower BMI threshold, so the first two cycles cannot apply it.LBXTR and LBXGLU come from the fasting subsample, which is weighted by WTSAF2YR, not WTMEC2YR.NHANES is a complex, multistage probability sample.
For analyses using fasting triglycerides, CDC provides the fasting-subsample weight WTSAF2YR, together with strata and PSU variables.
MASLD = metabolic dysfunction-associated steatotic liver disease: excess fat in the liver together with metabolic dysfunction.
The study population is not the general population. Everyone in the main analysis already meets the study definition of MASLD.
Hepatic steatosis was estimated using the Fatty Liver Index (Bedogni 2006), thresholded at FLI ≥ 60:
Plus at least one of five cardiometabolic criteria: adiposity, raised glucose/HbA1c or diabetes, raised blood pressure or treatment, raised triglycerides or treatment, or low HDL.
So “MASLD” here is a derived variable, not a diagnosis. No imaging, no biopsy.
| Inputs | |
|---|---|
| Eligibility (FLI) | triglycerides, GGT, BMI, waist |
| Exposure (phenotype group) | BMI, waist / height |
We only name it today. You will dissect what it does to the estimate at M1.
The exposure is not one measurement. It is built in two steps:
BMXWAIST + BMXHT → waist-to-height ratio BMXBMI → obesity category BMI category × WHtR category → four phenotype groups
BMXBMI).RIDRETH3 == 6).BMI does not measure body fat, or where fat is stored.
A person 170 cm tall with a 102 cm waist has WHtR = 102/170 = 0.60.
| Lower central adiposity WHtR < 0.60 | High central adiposity WHtR ≥ 0.60 | |
|---|---|---|
| Obesity by BMI | Group I reference | Group II |
| No obesity by BMI | Group III | Group IV |
Every hazard ratio in the paper is measured against Group I. A ratio without its reference group means nothing.
There is no single “treated” group and “control” group.
Primary outcome: all-cause mortality — death from any cause (MORTSTAT).
PERMTH_EXM — months from exam to death or censoring.| Step | N | What kind of step |
|---|---|---|
| NHANES 2007–2018 records | 59,842 | |
| Age ≥ 18 | 36,580 | eligibility — drops 23,262 |
| In fasting subsample | 14,962 | design — drops 21,618 |
| FLI computable | 14,170 | missingness |
| Steatosis (FLI ≥ 60) | 6,052 | target population — drops 8,118 |
| MASLD (≥1 criterion) | 6,050 | target population |
| Mortality-linked | 6,048 | outcome ascertainment |
Reproducibility note: the published paper reports 6,300 participants with MASLD, whereas this pipeline yields 6,048 mortality-linked participants. The two numbers should not be presented as if they were the same cohort.
The paper also states eligibility as age >18 years, while this reproduction flow uses age ≥18. Small implementation differences like this should be recorded rather than silently harmonized.
| Element | This study |
|---|---|
| P — Population | Adults with MASLD by FLI ≥ 60 + ≥1 cardiometabolic criterion, in the fasting subsample |
| E — Exposure | Four-category BMI × WHtR phenotype |
| C — Comparison | Groups II, III, IV versus Group I |
| O — Outcome | All-cause mortality to 31 Dec 2019 |
| T — Time | Months from exam to death or censoring |
This wording makes the population, exposure, comparison, outcome and time structure explicit — and it is now honest about how the population was defined.
A prognostic question asks: does knowing the phenotype tell us something about what is likely to happen later?
After multivariable adjustment: does phenotype remain associated with mortality among people who are similar on the other variables in the model?
| Research goal | Scientific target in this example |
|---|---|
| Description | What are the characteristics and mortality experience of each phenotype group? |
| Association | Is phenotype statistically associated with subsequent mortality? |
| Prognostic factor | Does phenotype carry prognostic information about mortality over and above other known prognostic factors? |
| Prediction | How accurately can we predict an individual's mortality risk, and does adding WHtR improve prediction? |
| Causal | What would mortality have been under a specified intervention or exposure contrast that changed central adiposity? |
| Goal | Typical analysis/design | How are other variables handled? |
|---|---|---|
| Description | Survey-weighted means, proportions, prevalence; Kaplan–Meier or standardized survival summaries | Used for stratification/standardization if scientifically useful |
| Association | Cox regression, splines, group comparisons | Included to define a conditional association; no automatic causal interpretation |
| Prognostic factor | Multivariable Cox model containing established prognostic factors + the index factor | Adjust for other prognostic factors to ask whether the index factor contributes information beyond them |
| Prediction | Develop/validate a multivariable survival prediction model; compare a base model with a base + WHtR model | Choose predictors for predictive value, availability and intended use; control overfitting with shrinkage/penalization and validation |
| Causal | Specify the causal estimand/target trial; use standardization, g-formula, inverse-probability weighting or another identification strategy | Select confounders using causal knowledge/DAGs; avoid inappropriate control of mediators/colliders for the chosen estimand |
| Goal | Main result / performance evidence |
|---|---|
| Description | Absolute summaries with uncertainty: means, prevalences, survival/risk at clinically meaningful times, group differences |
| Association | Association measure such as HR with 95% CI; model assumptions and functional form |
| Prognostic factor | Adjusted prognostic effect (for example HR + CI). If claiming incremental prognostic information, compare a model with versus without the factor (for example likelihood-ratio change / explained variation); if claiming improved prediction, also show changes in calibration/discrimination/error |
| Prediction | Calibration (plot, calibration-in-the-large, slope), discrimination (C-index/time-dependent AUC), overall error such as Brier score, plus internal/external validation; clinical use may require decision-curve/net-benefit analysis |
| Causal | A prespecified causal contrast—preferably an absolute risk/survival difference or ratio at a fixed time, or RMST difference—plus diagnostics for positivity/weights/balance and sensitivity analyses for unmeasured confounding/selection |
HR + CI can be enough to report an adjusted association or prognostic-factor effect.
It is not evidence that a prediction model is good, and it is not by itself evidence that a causal effect has been identified.
It directly supports:
It does not, by itself, establish:
Kueh MTW, Intaran MAU, Goh R, et al. Body weight categories and fat distribution in relation to all-cause mortality among adults with metabolic dysfunction-associated steatotic liver disease: a population-based analysis of NHANES, 2007–2018. BMJ Open. 2026;16:e113719.
doi: 10.1136/bmjopen-2025-113719
Cohort counts and variable names on these slides come from this repository’s own reproduction pipeline, not from the paper’s prose.