Secondary relevance to vitamin D This paper mainly addresses another topic and also reports a vitamin D analysis, result or scientific synthesis.
This paper mainly addresses another topic and also reports a vitamin D analysis, result or scientific synthesis.
Why this paper is included
Supporting source evidence:
Twenty-six macro- and micronutrients were retained from the 43 nutrients DR1TOT reports, after excluding vitamin A, vitamin E, vitamin D, vitamin K, total sugars, choline, and the individual carotenoids because their variable definitions changed across the 1999–2018 window (vitamin A retinol equivalents versus retinol activity equivalents; vitamin E alpha-tocopherol equivalents versus alpha-tocopherol alone; vitamin D, choline, and total sugars not measured before 2017–2018 or 2001–2002).
Source: Main text. View original paper
Relevance classification does not establish study quality, causation or editorial approval.
Study design Secondary analysis.
Secondary analysis
Analyses existing study data; this paper is not automatically another independent trial.
Meta-analysis unclear · Blinding unclear / not reported · Mixed research settings
How this paper was classified
Automatic source-based classification; awaiting editorial verification. This is not a quality score.
Starting from 96,766 pooled day-1 dietary recall records, participants were restricted to those aged ≥ 20 years at screening (n = 52,398), with a reliable recall meeting minimum reporting criteria and a non-missing, positive dietary day-1 sample weight (WTDRD1; n = 48,740), a reported day-1 energy intake > 0 kcal (n = 48,734), and exclusion of 1395 participants pregnant at the examination (n = 47,339).
Source: Methods.
This is a secondary analysis of public-use data, so no instrument, reagent, kit, assay, cell line, or other commercial material was used by the present authors: every measurement in it was made by the National Center for Health Statistics and released in the NHANES public-use files.
Source: Methods.
What the study types mean
- Systematic review
- Uses explicit methods to identify, assess and summarise research on a defined question.
- Scoping review
- Maps the extent and characteristics of research on a topic.
- Narrative review
- Discusses existing research; systematic-review methods have not been established by this classification.
- Review / evidence synthesis
- Reviews existing research; the exact review methods need further assessment.
- Randomised controlled trial
- Assigns participants or groups to comparison interventions by chance.
- Non-randomised intervention study
- Examines an intervention without random allocation.
- Cohort study
- Examines exposures and outcomes over time within a defined group.
- Case-control study
- Compares people with an outcome against people without it, examining exposures.
- Cross-sectional study
- Examines a population at a particular point in time.
- Observational study
- Observes exposures and outcomes without assigning the exposure; the subtype is not established here.
- Case report
- Describes an individual case.
- Case series
- Describes a group of individual cases.
- Secondary analysis
- Analyses existing study data; this paper is not automatically another independent trial.
- Laboratory study
- Investigates biological processes in a laboratory setting.
- Qualitative study
- Examines experiences or meanings using qualitative methods.
- Genetic instrumental-variable study
- Uses genetic variation as an instrument to investigate relationships; this is not a randomised treatment trial.
- Study protocol
- Describes planned methods and is not evidence that the planned study has reported results.
- Multiple reported designs
- More than one design is explicitly reported; examine the supporting methods.
- Study design awaiting verification
- The available source does not establish a sufficiently clear study design.
Meta-analysis combines numerical results from studies. Blinding describes who was unaware of treatment allocation. Neither is a separate quality grade. Study design, vitamin D relevance and document format are independent filters.
Full studies
A Minority of the Variance in Single-Recall Nutrient-Density Pattern Scores Is Between-Person: A Reliability and Regression-Calibration Framework
Secondary analysis · Nutrients · 2026
Original publication title
A Minority of the Variance in Single-Recall Nutrient-Density Pattern Scores Is Between-Person: A Reliability and Regression-Calibration Framework
© 2026 by the authors.
Original publication · Publisher record · CC BY 4.0
Source wording retained. Formatting, section navigation and display-title punctuation adapted for this research record.
At a glance
Study background
What background does the paper provide?
Diet-quality indices and empirically derived dietary patterns are routinely linked to cause-specific mortality in large prospective cohorts, and the resulting hazard ratios are widely cited as evidence that dietary composition matters for long-term survival [1,2,3,4]. Almost all of this literature, including the National Health and Nutrition Examination Survey (NHANES) studies that use a single 24-hour dietary recall as the exposure, treats that one recall as though it measured usual intake without material error.
It does not. A single 24-hour recall captures a snapshot of one day’s intake, and day-to-day variation in what a person eats is large relative to the true between-person differences that a dietary-pattern score is meant to summarize [5,6]. When an exposure is measured with substantial within-person noise and used naively in a regression, the resulting association is attenuated toward the null, an effect known as regression dilution. The size of that attenuation is quantifiable [6,7].
A second, less discussed problem concerns how “dietary patterns” are constructed in the first place. Data-driven pattern-discovery methods such as non-negative matrix factorization (NMF) are attractive because they yield additive, interpretable loadings without the sign ambiguity of principal components analysis, and because they do not require the food-group taxonomy that a priori indices (Mediterranean, Dietary Approaches to Stop Hypertension) presuppose [1,8]. The technique is agnostic to what it is fed. Applied to individual nutrients, an NMF decomposition of nutrient densities is structurally biased toward a fat-versus-carbohydrate macronutrient trade-off.
Fat and carbohydrate density compete for the same fixed share of energy once intake is expressed per 1000 kcal. The literature reserves “dietary patterns” for structures derived from co-occurring foods, as in the Mediterranean, Western, prudent, and DASH patterns. Whether components recovered from a nutrient matrix earn that term is an empirical question, and a model-selection diagnostic answers it.
Research gaps. First, dietary pattern–mortality studies using a single 24-hour recall rarely report the reliability of the resulting pattern score, so readers cannot judge how much of a null or positive finding reflects true association versus measurement-error attenuation. Second, competing risks are usually collapsed into all-cause mortality or handled by cause-specific Cox models that implicitly treat competing events as non-informative censoring, when a subdistribution-hazard framework is available and more appropriate when heart-disease, cancer, and other-cause death compete for the same finite follow-up time [9,10].
Third, NMF-derived nutrient patterns are typically presented as newly discovered dietary patterns without a model-selection diagnostic (reconstruction-error elbow, bootstrap component stability) to justify the chosen rank, and without testing whether the same conclusion holds under alternative, non-energy-adjusted or log-transformed parameterizations of the same nutrient matrix. Fourth, when a machine-learning ensemble is added to a dietary-pattern analysis, its aggregate discrimination (C-index, AUROC) is frequently presented as evidence that the exposure of interest predicts the outcome, without a feature-attribution step (SHAP or equivalent) to check whether the exposure, rather than age and standard covariates, is actually driving that discrimination.
Contributions. First, we report a reconstruction-error and bootstrap-stability model-selection diagnostic for NMF-derived nutrient-density patterns under three parameterizations of the same 26 harmonized nutrients. The two retained components are macronutrient-dominant axes. Second, we fit survey-weighted Fine–Gray subdistribution-hazard competing-risks models for heart-disease, cancer, and other-cause mortality, with an analytic PSU-clustered robust sandwich standard error. Holm–Bonferroni correction covers all six pattern–outcome contrasts. A design-based jackknife interval is reported beside the primary one. Third, we quantify the reliability of the day-1-recall pattern scores directly, using a second-day-recall sub-study restricted to variance-component estimation, and report both the naive and the regression-calibrated hazard ratios with their respective intervals.
Fourth, we test whether the dietary patterns add anything to a gradient-boosted survival ensemble’s discrimination. The ensemble is cross-validated with and without the two pattern scores, and its predictions are decomposed with SHAP. The primary objective of this study is to estimate, with cluster-robust uncertainty and multiplicity correction, the association between NMF-derived nutrient-density pattern scores and cause-specific mortality in a nationally representative US sample. Two secondary objectives follow. The first is to quantify how much of that association a single 24-hour recall can be expected to detect, given the pattern scores’ measurement reliability.
The second is to report whether an NMF decomposition of nutrients, as opposed to foods, supports calling its output “dietary patterns” at all. We test the general hypothesis that higher nutrient-density pattern scores are associated with lower cause-specific mortality hazard, evaluated separately for the fat-dominant and carbohydrate-dominant axes and for heart-disease, cancer, and other-cause death.
The remainder of this paper is organized as follows. Section 2 situates this analysis against the dietary pattern–mortality literature. Section 3 details the cohort construction, pattern derivation, survey design, and every statistical model, including the measurement-error calibration. Section 4 reports cohort characteristics, the pattern-selection diagnostics, the cause-specific and competing-risks regression results, the calibration analysis, and the SHAP decomposition. Section 5 discusses what a null result of this precision does and does not support, and Section 6 concludes.
Source: 1. Introduction Source: 1. Introduction Source: 1. Introduction Source: 1. Introduction Source: 1. IntroductionStudy methods
What methods does the paper describe?
3.1. Data Sources
This analysis pooled ten two-year cycles of NHANES: 1999–2000, 2001–2002, 2003–2004, 2005–2006, 2007–2008, 2009–2010, 2011–2012, 2013–2014, 2015–2016, and 2017–2018 [14]. NHANES is a complex, multistage probability survey of the civilian, non-institutionalized US population conducted by the National Center for Health Statistics (NCHS); the dietary component used here is the first-day 24-hour dietary recall (DR1TOT), collected in the mobile examination center and processed with the US Department of Agriculture’s Automated Multiple-Pass Method. Covariates were drawn from the demographics (DEMO), body measures (BMX), smoking questionnaire (SMQ), alcohol use (ALQ), and physical activity (PAQ) components.
Mortality follow-up came from the NHANES Linked Mortality File (LMF), 2019 public-use release, which links NHANES participants to the National Death Index through 31 December 2019 and provides vital status, follow-up time, and NCHS leading-cause-of-death codes (UCOD_LEADING) [15]. A second-day dietary recall (DR2TOT) is available for participants examined in the 2003–2018 cycles. It was used exclusively to estimate the within-/between-person variance components needed for regression calibration (Section 3.8). It was never used as an exposure, and never averaged with the day-1 recall, which keeps this analysis’s data and methods fully separated from the companion two-day-recall Antioxidants analysis described in Section 2.
3.2. Study Population and Subsample Inventory
Table 1 gives the sequential, reproducible construction of the analytic cohort, with every later sample size traced to a labeled row. Starting from 96,766 pooled day-1 dietary recall records, participants were restricted to those aged ≥ 20 years at screening (n = 52,398), with a reliable recall meeting minimum reporting criteria and a non-missing, positive dietary day-1 sample weight (WTDRD1; n = 48,740), a reported day-1 energy intake > 0 kcal (n = 48,734), and exclusion of 1395 participants pregnant at the examination (n = 47,339).
The final analytic cohort comprised the 47,257 participants successfully linked to the Linked Mortality File with non-missing follow-up time and vital status. Two further, non-nested subsamples are used downstream and are documented in Table 1 rather than left implicit: a complete-case subsample under the fully adjusted covariate set (age, sex, body mass index, current smoker, alcohol use, physical activity, poverty–income ratio; nmodel_complete_case = 40,396), used by every Cox, Fine–Gray, and gradient-boosted model that reports the fully adjusted covariate tier, excluding 6861 participants (14.5%) with missing body mass index (737), alcohol-use status (2617), poverty–income ratio (3991), current-smoker status (39), or physical activity (11); and a calibration sub-study restricted to the 2003–2018 cycles with a reliable second-day recall and positive reported day-2 energy intake (ncalibration_substudy = 34,176), used only to estimate the measurement-error variance components of Section 3.8, excluding 8447 participants from cycles that did not administer a second-day recall (1999–2000, 2001–2002) and a further 4634 (11.9% of the 2003–2018 subset) who completed only the first day or had an unreliable second-day recall.
The 14.5% missingness under the fully adjusted covariate set exceeds the 10% threshold that triggers a multiple-imputation sensitivity check (Section 3.10).
3.3. Nutrient-Density Construction and NMF Pattern Derivation
Twenty-six macro- and micronutrients were retained from the 43 nutrients DR1TOT reports, after excluding vitamin A, vitamin E, vitamin D, vitamin K, total sugars, choline, and the individual carotenoids because their variable definitions changed across the 1999–2018 window (vitamin A retinol equivalents versus retinol activity equivalents; vitamin E alpha-tocopherol equivalents versus alpha-tocopherol alone; vitamin D, choline, and total sugars not measured before 2017–2018 or 2001–2002). Pooling these across cycles would require treating non-equivalent analyte definitions as identical, which was not done.
The retained 26 nutrients (protein, carbohydrate, fiber, total fat, saturated fat, monounsaturated fat, polyunsaturated fat, cholesterol, calcium, phosphorus, magnesium, iron, zinc, copper, sodium, potassium, selenium, thiamin, riboflavin, niacin, vitamin B6, vitamin B12, total folate, vitamin C, caffeine, and alcohol) have identical variable names and definitions across all ten cycles. Each nutrient was expressed as a density per 1000 kcal of reported day-1 energy intake, then min–max scaled to the unit interval across the analytic cohort. Non-negative matrix factorization (NMF) [13] requires a non-negative input matrix, so min–max scaling was used in preference to z-scoring, which would introduce negative values.
The number of components k was selected from a candidate range 2–8 using two joint diagnostics, both computed at a fixed random seed (42): a reconstruction-error elbow (the smallest k at which the relative Frobenius-norm improvement to the next k fell below a pre-specified 5% threshold) and a bootstrap component-stability check (20 resamples at the full analytic n, matched components by the Hungarian algorithm on the loading-vector correlation, threshold 0.75). This diagnostic was run under three parameterizations of the same 26-nutrient matrix: the primary per 1000 kcal linear density described above, a non-energy-adjusted raw-intake matrix, and a log1p-transformed density matrix.
The three runs test whether the energy-adjustment step alone produces the low-rank structure. Under all three, no k in the tested range showed a reconstruction-error elbow, and bootstrap stability was uninformative for model selection because it remained high at every k (Section 4.2). The smallest tested rank, k = 2, was therefore retained on parsimony grounds, since every rank was equally, and near-maximally, stable. A diagnostic that finds no elbow shows that the reconstruction error falls smoothly across the tested range.
It is not proof that the matrix has no meaningful low-rank structure. Two further considerations favor the smallest rank in this particular representation. The input is 26 nutrients expressed per 1000 kcal, in which the macronutrient densities are constrained to trade off against one another, so the leading directions of variation are the ones a two-component factorization already recovers (Section 4.3). A factorization with more components also multiplies the pattern–outcome contrasts that the multiplicity correction has to cover, without adding structure that the loadings identify as interpretable.
Every result in this paper is conditional on this two-component representation, and the primary models were refit at k = 3 and k = 4 to show what that conditionality costs (Section 4.6). The rank is post hoc, because the pre-specified elbow criterion selected no rank. The three cause-specific outcomes were fixed in advance. The number of patterns, and with it the six pattern–outcome contrasts, was not. The input to this decomposition is 26 individual nutrients, and fat and carbohydrate density are structurally constrained to trade off against each other once expressed per kilocalorie.
The two components are therefore reported throughout this paper as macronutrient-dominant axes: a fat-dominant axis (pattern 1) and a carbohydrate-dominant axis (pattern 2). They are not empirically discovered dietary patterns in the sense used by the food-group-based literature of Section 2. Pattern scores (the NMF sample-loading matrix W) were standardized to per 1 SD unit, using the survey-weighted mean and standard deviation, before entry into every downstream regression model, so that reported hazard ratios refer to a 1 SD increase in the pattern score.
3.4. Outcomes
The primary outcomes were cause-specific mortality through 31 December 2019: heart-disease death (NCHS UCOD_LEADING code 001), cancer death (malignant-neoplasm code 002), and other-cause death (all other known causes among decedents, including cerebrovascular disease). The public-use Linked Mortality File releases only three cause codes for deaths in the 2015–2016 and 2017–2018 cycles: 001, 002, and 010 (all other causes). Cerebrovascular deaths (code 005) in those cycles are filed under 010 and cannot be separated. A cardiovascular outcome defined as code 001 or 005 would therefore be measured one way in the first eight cycles and another way in the last two.
Heart-disease death is the only cardiovascular category coded the same way in all ten cycles, so it is the outcome used here. A sensitivity analysis refits the broader heart-or-cerebrovascular outcome on the eight cycles 1999–2014, where code 005 is available (Section 4.6). These three cause groups are mutually exclusive and jointly exhaustive of all deaths in the analytic cohort, which is the structure a competing-risks model requires. Follow-up time was measured in years from the mobile examination center visit to death or administrative censoring at the LMF’s follow-up horizon.
3.5. Complex-Survey Design
NHANES is a complex, multistage probability sample, and its design was applied to every estimator in this article that targets a population quantity, including the machine-learning ensemble and its confidence interval. The pattern-derivation step is the exception, because a non-negative factorization of the nutrient-density matrix describes that matrix rather than estimating a population parameter, and where an equal-weight estimate is reported beside a design-weighted one, it is labeled as a sensitivity analysis. All design-based estimates account for the masked stratum identifier SDMVSTRA and primary sampling unit identifier SDMVPSU, using the dietary day-1 sample weight divided by 10 to reflect the pooling of the ten two-year cycles, per NCHS pooling guidance [16].
Following that guidance, records from 1999 to 2000 and 2001 to 2002 carry the four-year dietary weight WTDR4YR multiplied by 2, because the two-year 1999–2000 weights are controlled to a different census base, and records from 2003 to 2018 carry the two-year weight WTDRD1. Cluster-robust standard errors used a combined stratum-by-PSU identifier as the cluster variable, through a cluster_col argument with robust = True (Section 3.6 and Section 3.7). Where the model structure admits no analytic robust sandwich estimator, the interval is a design-aware jackknife, labeled as such at each point it appears (Section 3.7 and Section 3.9).
A cluster-robust sandwich standard error of this kind is not a full design-based variance estimator. It accounts for the within-PSU correlation that the first stage of sampling induces, because each cluster contributes one aggregated score to the estimator, but it does not use the stratification. The sandwich sums the squared cluster scores around zero rather than around their stratum means, so the masked strata enter only through the definition of the cluster identifier. Ignoring the stratification is expected to be conservative: between-stratum differences in the cluster scores are added to the variance instead of being removed from it.
That expectation is asymptotic, and not a guarantee in any one sample. It holds in these data, where the design-based standard error is the smaller of the two in all six contrasts, by 10% to 26% (Section 4.7). The stratified delete-1-PSU jackknife is the estimator that does use the stratification. It was run over all 301 units of the design, for all three outcomes, with no subsampling and no extrapolation (Section 3.7 and Section 4.7). The standard errors of the primary analysis are therefore cluster-robust, and the design-based jackknife is reported beside them to bound the difference.
3.6. Cause-Specific Cox Models
Cause-specific Cox proportional-hazards models were fit for each of the three mortality outcomes, with the two competing causes treated as censored. A cause-specific hazard model and a subdistribution-hazard model estimate different quantities, and censoring the competing events is the correct construction for the first of them, not a defect of it. The cause-specific hazard is the instantaneous rate of death from one cause among those still alive, which is the quantity an etiological reading of a diet–mortality association refers to.
The subdistribution hazard of Section 3.7 is the quantity that maps directly to the cumulative incidence of death from that cause while the other two causes are also acting, and that cumulative incidence is the target of this paper’s primary analysis. Both are reported, and neither makes the other invalid. Each outcome was fit under two covariate tiers so that the effect of adjustment is visible: a parsimonious model (both pattern scores plus age and sex; n = 47,257, since age, sex, and the pattern scores are complete for the entire analytic cohort) and a fully adjusted model (both pattern scores plus age, sex, body mass index, current-smoker status, alcohol-use status, physical activity, poverty–income ratio, and four race/ethnicity indicator variables; n = 40,396, the complete-case subsample of Table 1).
Both pattern scores were entered simultaneously (mutually adjusted), never one at a time, in every model in this paper that uses them. Models used CoxPHFitter (penalizer 0.001) with the normalized NHANES survey weight and a combined stratum-PSU cluster identifier, fit with robust = True to obtain an analytic cluster-robust sandwich standard error. Alcohol use was the questionnaire item “In any one year, have you had at least 12 drinks of any type of alcoholic beverage?” (ALQ100, ALD100, or ALQ101, 1999–2016); in 2017–2018 NHANES replaced it with past-12-month drinking frequency (ALQ121), and any drinking in the past year was used for that cycle.
3.7. Fine–Gray Competing-Risks Regression
The primary inferential model was a survey-weighted Fine–Gray subdistribution-hazard competing-risks regression [9] for each of the three mortality outcomes, with the two other causes as competing events, fit on the fully adjusted covariate tier (n = 40,396). The subdistribution hazard was estimated via the counting-process row-splitting augmentation used by the finegray() formulation [9,10]. Each subject contributes their own observed interval, with status equal to the event-of-interest indicator. Every subject who experienced a competing event is extended across a discretized yearly grid, with an inverse-probability-of-censoring (IPCW) weight, up to a per-cycle administrative-censoring horizon.
Censoring in this cohort is administrative: everyone alive is censored on 31 December 2019, so potential follow-up depends on the survey cycle, from about 20 years for 1999–2000 to 1–3 years for 2017–2018. The censoring distribution was therefore estimated by Kaplan–Meier separately within each cycle, as finegray() does when the cycle is a stratum. A single pooled censoring curve would fall at 2, 4, 6, and more years because the later cycles end there, and would wrongly down-weight early-cycle participants who were still under observation.
This augmented, IPCW-weighted long frame was fit with CoxPHFitter, using duration_col/entry_col in place of the start_col/stop_col/id_col interface. That fitter accepts a combined stratum-PSU cluster_col together with robust = True in a single fit (lifelines 0.30.3). The standard error is therefore an analytic PSU-clustered robust sandwich, with no jackknife refitting, subsampling, or extrapolation. The estimator is an approximation to the subdistribution hazard in two respects, and the size of each is measured. The augmentation places the extended risk intervals of subjects who experienced a competing event on a discrete grid, set to 12 months for the primary analysis; the same models were refit on 6-month, 3-month, and 1-month grids to measure how far the hazard ratios depend on that choice (Section 4.7).
The IPCW construction was checked against a non-parametric estimator: with no covariates in the model, the cumulative incidence implied by the augmented frame was compared with the Aalen–Johansen estimate for each outcome, at 1, 3, 5, and 10 years (Section 4.7). That comparison bears on the augmentation and the IPCW weights, which are what produce the cumulative incidence of a model with no covariates in it. It does not validate the adjusted coefficients of the primary analysis, and it carries no information about their standard errors, which come from the sandwich estimator of Section 3.5.
The adjusted coefficients are not benchmarked against a second Fine–Gray implementation, and are not described here as validated (Section 3.13). Their standard errors are benchmarked against the design-based jackknife described below. A second, design-based interval came from a stratified delete-1-PSU jackknife over all 301 PSU units in 148 strata. Each unit is deleted in turn, the fully adjusted model is refit on the units that remain, and the replicate coefficients are summed within strata around their own stratum means, which is what makes the estimator use the stratification.
No subsample and no extrapolation enter it. That interval is reported beside the analytic one (Section 4.7) as a benchmark for it. The interval the paper reads is the analytic sandwich, which comes from a single fit of each model. Nutrient densities are expressed per 1000 kcal. That takes the level of reported intake out of the exposure, but it does not remove total energy intake as a mortality confounder, and the retained axes reproduce the macronutrient composition (Section 4.12).
The fully adjusted model was therefore also refit with log total reported energy as an additional covariate (Section 4.6). Across all six pattern–outcome contrasts (two patterns × three causes), p-values were Holm–Bonferroni corrected [17]; both the raw and the adjusted p-value are reported for every contrast.
3.8. Reliability Estimation and Regression-Calibration Measurement-Error Correction
The reliability of each nutrient density and of each pattern score under a single day-1 recall was estimated from the calibration sub-study (Table 1), under a classical measurement-error model. That model carries four assumptions: an observed single-day value is the sum of a person’s usual value and a within-person deviation; that deviation has mean zero; it is independent of the usual value and of the covariates of the outcome model; and a person’s two recalls are independent replicates of the same usual value.
The first two assumptions are what make the correction below unbiased. A systematic difference between a first and a second recall violates them, and the size of that difference is reported in Section 4.9. Variance components were estimated under the NHANES two-day dietary weight WTDR2D, divided by ten for cycle pooling, so that they describe the US population rather than the achieved sub-sample. Their confidence interval comes from a delete-1-PSU jackknife over the same stratum and PSU identifiers used elsewhere in this paper.
The equal-weight estimate is reported alongside it. For each nutrient and each pattern score, the between-person variance (σ2between) and the within-person variance (σ2within, estimated from the day-1/day-2 discordance) give the reliability ratio λ = σ2between/(σ2between + σ2within), the share of one observed day’s variance that is between-person variance.
The two pattern scores enter the outcome model together and their within-person errors covary, so dividing each coefficient by its own reliability ratio is not sufficient: the error covariance mixes the two coefficients, and the ratio for one score carries no information about that mixing. The correction therefore used the matrix form of regression calibration. Write Σu for the within-person error covariance matrix of the two scores, estimated from the day-1 minus day-2 differences, and Σx for the covariance of the usual scores, obtained by subtracting half of Σu from the covariance of the two-day means.
Both were computed after residualizing the scores on the covariates of the fully adjusted model, because an adjusted coefficient attenuates against the variation in the exposure that the covariates leave. The reliability matrix is Λ = (Σx + Σu)−1 Σx, and the corrected coefficient vector is Λ−1 times the naive coefficient vector [6,7]. With uncorrelated errors Λ is diagonal and this reduces to dividing each coefficient by its own λ.
Matrix regression calibration in this form is exact for a linear outcome model. The Fine–Gray model is not linear in the exposure, so applying the correction to its log-hazard coefficients is a first-order approximation, and the error of that approximation is multiplied by the size of the correction. The diagonal entries of Λ−1 here are 3.22 and 2.60, so the correction roughly triples the naive coefficient and triples its own error with it. Section 4.9 measures that error against the refit described below.
The corrected interval is a Monte Carlo percentile interval over 20,000 draws, and it propagates two sources of uncertainty: the fitted coefficients, drawn from their cluster-robust sampling distribution with the covariance between the two pattern coefficients retained, and the reliability matrix, drawn from a 500-replicate PSU-cluster bootstrap of the calibration sub-study. The corrected interval is therefore not the naive interval rescaled. A second route does not depend on the matrix algebra. A predicted usual score was formed for each of the 40,396 participants of the fully adjusted covariate tier, from the same calibration model, and the Fine–Gray models were refit on those predicted scores.
That is regression calibration in its usual form (Section 4.9).
The correction addresses random within-person variation around a person’s usual intake. It does not address systematic misreporting, which two administrations of the same instrument cannot identify: under-reporting that is stable within a person is absorbed into the estimated usual value, and the bias it leaves is discussed in Section 5.4. The second-day recall (DR2TOT) was used only for these variance components and for the calibration function. It was never used as, or averaged into, the exposure of any substantive model in this paper.
3.9. Gradient-Boosted Survival Ensemble and SHAP Decomposition
A gradient-boosted survival ensemble (XGBoost [18], survival:cox objective, 300 trees, maximum depth 4, learning rate 0.05, subsample fraction 0.8, column-subsample fraction 0.8, fixed seed 42) was trained on all-cause mortality using the same 13 features as the fully adjusted Cox/Fine–Gray tier (both pattern scores, age, sex, body mass index, current-smoker status, alcohol-use status, physical activity, poverty–income ratio, and four race/ethnicity indicators; n = 40,396), with the pooled NHANES survey weight, rescaled to mean one, passed as the training-sample weight, because the survey design applies to every estimator in this analysis, the machine-learning model included.
The rescaling applies a single constant to every weight, so the relative weighting of participants is exactly that of the design, on the scale the other estimators in this analysis also use. Discrimination was summarized by Harrell’s concordance index (C-index), computed both naively (equal weighting) and under the NHANES design weight. The unweighted index uses every comparable pair. The weighted index is a Monte Carlo estimate over 200,000 randomly drawn pairs, because a design-weighted concordance over every comparable pair of 40,396 participants is not tractable here.
The draw is seeded, so every weighted concordance in this paper is computed on the same pair set and the comparisons below are paired. The design-aware 95% confidence interval was obtained by a full delete-1-PSU jackknife over every eligible PSU (no subsampling, since each replicate here is a cheap weighted-concordance recomputation rather than a full model refit), using the stratified jackknife variance estimator with a t-distribution interval (degrees of freedom = number of PSUs − number of strata).
Both of those concordance values are apparent quantities: the ensemble is evaluated on the same participants it was trained on. The jackknife interval describes the sampling variability of that apparent quantity under the survey design. It does not correct for the optimism of scoring a fitted model on its own training data, and no reweighting of the training sample can. Discrimination was therefore also estimated out of sample. The ensemble was refit under 10-fold cross-validation, with the folds grouped on the stratum-PSU cluster so that no participant is predicted by a model trained on another participant from the same primary sampling unit, and the out-of-fold predictions were pooled into one cross-validated concordance.
The same procedure was then run on a reduced feature set with the two pattern scores removed and the other eleven features unchanged. The difference between the two cross-validated concordances is the incremental discrimination the pattern scores supply, and its interval comes from the same delete-1-PSU jackknife applied to the paired difference (Section 4.10). Feature attribution used SHapley Additive exPlanations (SHAP) [19] with shap.TreeExplainer on the full training cohort, reporting global mean-|SHAP| feature importance. A SHAP value decomposes the prediction of one fitted model over one feature set.
It describes what that ensemble uses, not what causes mortality, and attribution is shared among correlated features, so the ranking is read here only for what it can support (Section 5.3). A SHAP ranking also cannot establish incremental predictive value, because it describes how one model divides credit among its own features rather than what that model would lose without them. The cross-validated comparison above answers that question; the ranking does not.
3.10. Multiple-Imputation Sensitivity
The fully adjusted covariate tier’s complete-case restriction (Table 1) drops 14.5% of the analytic cohort, above the 10% threshold that triggers this check. A multiple-imputation sensitivity analysis was run for the primary Fine–Gray pattern coefficients, using scikit-learn’s IterativeImputer, a chained-regression imputer equivalent to multivariate imputation by chained equations (MICE), with m = 5 imputations, seeds 42–46, and standard Rubin pooling of the resulting coefficient estimates across imputations.
3.11. Target-Leakage and Multicollinearity Audit
Every feature entering the Cox, Fine–Gray, and gradient-boosted models was checked against the target-leakage criterion of whether it is algebraically or definitionally downstream of the mortality outcome; none is (Section 4.11). Variance inflation factors (VIFs) were computed for the two pattern scores and all covariates in the fully adjusted tier to screen for multicollinearity.
3.12. Macronutrient-Share Baseline for the Pattern Axes
Section 4.2 reports that no reconstruction-error elbow appears at any tested rank, and that the two retained components are therefore best read as macronutrient-dominant axes rather than as discovered food-based patterns. That is a claim about what the factorization recovered, and it is testable directly. If it holds, the fat and carbohydrate shares of energy, both computable directly from the same recall, should reproduce the axes and whatever associations they carry.
Energy shares were computed with Atwater factors (fat 9 kcal/g, carbohydrate and protein 4 kcal/g) on the day-1 recall, and standardized per standard deviation under the survey design exactly as the pattern scores are (Section 3.3), so every hazard ratio is per SD and directly comparable across specifications. Two comparisons follow: the design-weighted correlation between each pattern score and each macronutrient share, and the Fine–Gray models of Section 3.7 refitted with three exposure sets: the two pattern axes, the fat and carbohydrate shares, and those two shares plus the protein share.
Covariates, cohort, competing events, and survey design are unchanged throughout; only the exposure block differs.
3.13. Software and Reproducibility
This is a secondary analysis of public-use data, so no instrument, reagent, kit, assay, cell line, or other commercial material was used by the present authors: every measurement in it was made by the National Center for Health Statistics and released in the NHANES public-use files. All analyses were implemented in Python 3.13 using pandas 2.2.3, numpy 2.4.2, scikit-learn 1.6.1 (https://scikit-learn.org, accessed on 1 August 2026), lifelines 0.30.3 (https://lifelines.readthedocs.io, accessed on 1 August 2026), xgboost 3.2.0 (https://xgboost.readthedocs.io, accessed on 1 August 2026) [18], shap 0.48.0 (https://shap.readthedocs.io, accessed on 1 August 2026) [19], scipy 1.16.3, statsmodels 0.14.6, matplotlib 3.10.8, pyreadstat 1.3.3, joblib 1.5.3, requests 2.32.5, and urllib3 2.6.3, with a fixed random seed of 42 propagated to every stochastic step (NMF initialization, bootstrap stability resampling, multiple-imputation seeding, XGBoost training, the reliability-matrix cluster bootstrap, and the Monte Carlo draws of the measurement-error correction).
None of these packages implements the Fine–Gray subdistribution-hazard estimator directly. It is built here from the counting-process augmentation of Section 3.7, on top of the lifelines Cox fitter, and checked against a non-parametric cumulative-incidence estimator (Section 4.7). The full pipeline covers NHANES ingestion, cohort construction, nutrient-density and NMF pattern derivation, cause-specific and Fine–Gray survival models, the grid and rank sensitivity analyses, the gradient-boosted ensemble, SHAP decomposition, the measurement-error correction, and figure and table generation. It is released as a formatted source-code listing in Supplementary File S1.
Sequential subsample inventory, NHANES 1999–2018. Every n reported elsewhere in this manuscript traces to one of these labeled rows. The row set in bold is the final analytic cohort.
| Label | n | Definition |
|---|---|---|
| n_dr1tot_pooled | 96,766 | All DR1TOT day-1 dietary recall records, 1999–2018 (10 cycles) |
| n_adults_20plus | 52,398 | Age ≥ 20 y at screening (RIDAGEYR) |
| n_reliable_recall | 48,740 | Day-1 dietary recall status reliable and meeting minimum criteria |
| n_valid_wtdrd1 | 48,740 | Non-missing, positive WTDRD1 dietary day-1 weight |
| n_positive_kcal | 48,734 | Reported day-1 energy intake > 0 kcal |
| n_excl_pregnancy | 47,339 | Excludes 1395 pregnant at exam (RIDEXPRG = 1) |
| n_linked_mortality | 47,257 | Successfully linked to the Linked Mortality File (2019 release), ELIGSTAT = 1 |
| n_analytic | 47,257 | Non-missing follow-up time and vital status; the final analytic cohort |
| n_model_complete_case | 40,396 | Complete-case subsample of n_analytic under the fully adjusted covariate set; excludes 6861 (14.5%) missing bmi (737), current_drinker (2617), pir (3991), current_smoker (39), or physical activity (11); used by every Cox, Fine–Gray, and gradient-boosted model |
| n_cycles_2003_2018 | 38,810 | Subset of n_analytic restricted to 2003–2018 cycles administering DR2TOT; excludes 8447 from 1999 to 2002 |
| n_calibration_substudy | 34,176 | Subset of n_cycles_2003_2018 with reliable day-2 recall (DR2DRSTZ = 1) and positive day-2 energy; excludes 4634 (11.9%); used only for measurement-error variance-component estimation |
Results: Pattern Composition
Table 4 reports the full 26-nutrient loading matrix, and Figure 2 displays it as a heatmap. Pattern 1’s largest loadings were total fat (0.253), monounsaturated fat (0.150), saturated fat (0.134), polyunsaturated fat (0.114), and protein (0.086); pattern 2’s largest loadings were carbohydrate (0.264), protein (0.112), fiber (0.107), iron (0.069), and thiamin (0.062). This loading structure is a fat-versus-carbohydrate macronutrient-composition split, not a food-based pattern. The two components load oppositely on the two macronutrients that jointly determine most of the energy density, which is close to mechanical under the per 1000 kcal normalization of Section 3.3.
Neither component isolates a coherent food-group signature, such as the shared elevation of vegetables, whole grains, and unsaturated fats characteristic of a Mediterranean-type pattern. Pattern 1 and pattern 2 are referred to as the fat-dominant and carbohydrate-dominant macronutrient axes, respectively, throughout the remainder of this paper.
NMF pattern loadings (share of pattern weight per nutrient).
| Nutrient | Pattern 1 (Fat-Dominant) | Pattern 2 (Carbohydrate-Dominant) |
|---|---|---|
| Protein | 0.086 | 0.112 |
| Carbohydrate | 0.044 | 0.264 |
| Fiber | 0.011 | 0.107 |
| Total fat | 0.253 | 0.013 |
| Saturated fat | 0.134 | 0.005 |
| Monounsaturated fat | 0.150 | 0.000 |
| Polyunsaturated fat | 0.114 | 0.009 |
| Cholesterol | 0.036 | 0.004 |
| Calcium | 0.005 | 0.011 |
| Phosphorus | 0.037 | 0.062 |
| Magnesium | 0.004 | 0.015 |
| Iron | 0.014 | 0.069 |
| Zinc | 0.004 | 0.007 |
| Copper | 0.002 | 0.007 |
| Sodium | 0.009 | 0.012 |
| Potassium | 0.010 | 0.033 |
| Selenium | 0.030 | 0.041 |
| Thiamin | 0.015 | 0.062 |
| Riboflavin | 0.006 | 0.015 |
| Niacin | 0.012 | 0.032 |
| Vitamin B6 | 0.005 | 0.027 |
| Vitamin B12 | 0.003 | 0.008 |
| Total folate | 0.006 | 0.053 |
| Vitamin C | 0.000 | 0.020 |
| Caffeine | 0.001 | 0.001 |
| Alcohol | 0.009 | 0.010 |
Results: Cumulative Incidence by Pattern Tertile
Figure 3 plots the non-parametric Aalen–Johansen cumulative-incidence function for each of the three mortality outcomes, stratified by tertile of the fat-dominant pattern score, unadjusted for any covariate. For all three outcomes, the three tertile curves track closely together across the full follow-up window, with no visually separable ordering by tertile. That is consistent with the near-null, non-significant adjusted associations reported in Section 4.4 and Section 4.6.
Source: 4.5. Cumulative Incidence by Pattern TertileRegression Calibration
Results: Regression Calibration: What a Single Recall Is Expected to Miss
The calibration sub-study (n = 34,176) estimated the day-1-recall reliability ratio at λ = 0.316 (95% CI: 0.298–0.335) for the fat-dominant pattern and λ = 0.352 (95% CI: 0.337–0.366) for the carbohydrate-dominant pattern, under the two-day dietary weight; the equal-weight estimates were 0.312 and 0.361. Between-person variation therefore accounts for 31.6% of the variance of one observed day’s fat-dominant score and 35.2% of the variance of one observed day’s carbohydrate-dominant score, and within-person day-to-day variation accounts for the rest.
A reliability ratio is a property of the observed single-day measurement. It is not the share of the true between-person variance that one recall recovers, and it is defined only under the measurement-error model of Section 3.8. Individual-nutrient reliability ratios ranged from 0.103 (copper) to 0.504 (alcohol), consistent with the pattern-level values sitting well within the range typically reported for single-recall nutrient reliability in the measurement-error literature [5,7]. Table S10 (Supplementary Materials) reports the variance components.
Two of the assumptions listed in Section 3.8 require the within-person deviation to have a mean of zero, so a systematic difference between a first and a second recall measures how far they fail. On the standardized day-1 scale, the mean day-1-minus-day-2 difference was +0.014 SD for the fat-dominant score and −0.107 SD for the carbohydrate-dominant score. The fat-dominant shift is negligible. The carbohydrate-dominant shift is not: a second recall returns a score about a tenth of a standard deviation higher than the first, and the classical model treats that as random variation, so the correction below does not remove it.
Table S11 (Supplementary Materials) applies the measurement-error correction of Section 3.8 to the Fine–Gray hazard ratios of Table 6. The estimated reliability matrix was not diagonal: its off-diagonal entries were 0.085 and 0.022, so each corrected coefficient draws on both naive coefficients and a per-score reliability ratio alone does not reproduce the correction. Every calibrated hazard ratio moved further from the null than its naive counterpart, as expected under attenuation correction, but every calibrated interval widened substantially relative to the naive interval, and none of them excludes the null.
The other-cause fat-dominant contrast, for example, moved from HR 0.92 (95% CI: 0.82–1.04) naive to HR 0.80 (95% CI: 0.57–1.10) calibrated: the point estimate moves from 8% to 20% below the null while the interval widens enough to keep covering it. The last column of Table S11 gives the marginal correction that divides each coefficient by its own reliability ratio, which returns 0.78 (95% CI: 0.54–1.12) for that contrast; the gap between the two columns is the part of the attenuation the error covariance carries.
The correction describes the direction and scale of the attenuation a single recall imposes rather than supplying a second estimate of the association. It is not Holm–Bonferroni corrected across the six contrasts, and the reliability matrix it uses is estimated from the 2003–2018 cycles alone (Section 5.4).
As a check that does not depend on the matrix algebra, the Fine–Gray models were refit on the predicted usual scores (Section 3.8), and Table S11 reports both routes for every contrast. They do not agree after rounding. The two corrected hazard ratios differ by 0.004 to 0.092 HR units across the six contrasts. The smallest gap is the other-cause fat-dominant contrast, where the matrix correction gives 0.80 and the refit 0.79. The largest is the heart-disease fat-dominant contrast, where the matrix correction gives 0.95 and the refit 1.04.
Three things produce that gap, and the first is the largest. The matrix correction is exact only for a linear outcome model, so on a log-hazard scale it is a first-order approximation whose error is multiplied by the correction factor, and that factor is about three here (Section 3.8). The refit is also not estimating quite the same quantity: it substitutes a predicted usual score, whose variance is smaller than the usual score’s by whatever the calibration model fails to explain, while the matrix route rescales the coefficients of a fit on the observed score.
And the two routes diverge most where the naive coefficient is closest to zero. The heart-disease fat-dominant contrast is that case. Its naive hazard ratio is 0.99, so almost the whole of its corrected value comes from the error covariance with the other pattern score, and the two routes carry that cross term differently enough to place the corrected estimate on opposite sides of the null. The gap is 0.09 HR units against a corrected interval running from 0.72 to 1.24, so it does not change what the contrast supports.
It is too large to be rounding, and Table S11 therefore reports both routes side by side rather than one as a confirmation of the other.
This is a further reason to read the corrected estimates as a measure of the attenuation a single recall imposes rather than as a second set of effect estimates. The day-1-minus-day-2 shift of −0.107 SD in the carbohydrate-dominant score is another. That shift violates the zero-mean assumption the correction rests on; the correction does not remove it, and the carbohydrate-dominant score enters the correction of both coefficients through the error covariance. The corrected estimate for the fat-dominant axis therefore carries a systematic component that the classical model treats as random.
The refit is reported for the comparison only: its interval conditions on the fitted calibration model instead of propagating that model’s uncertainty, which the Monte Carlo interval of Table S11 does.
Fine–Gray subdistribution hazard ratios per pattern score (per 1 SD increase), analytic PSU-clustered robust standard error, Holm–Bonferroni adjusted across all six reported contrasts (n = 40,396).
| Outcome | Pattern | Subdistribution HR | 95% CI | p raw | padj (Holm) | Significant (α = 0.05) |
|---|---|---|---|---|---|---|
| Cancer | Fat-dominant | 0.94 | 0.83–1.06 | p = 0.289 | p = 1.000 | No |
| Cancer | Carbohydrate-dominant | 0.97 | 0.87–1.08 | p = 0.578 | p = 1.000 | No |
| Heart disease | Fat-dominant | 0.99 | 0.90–1.09 | p = 0.861 | p = 1.000 | No |
| Heart disease | Carbohydrate-dominant | 1.04 | 0.94–1.15 | p = 0.446 | p = 1.000 | No |
| Other-cause | Fat-dominant | 0.92 | 0.82–1.04 | p = 0.175 | p = 1.000 | No |
| Other-cause | Carbohydrate-dominant | 0.96 | 0.86–1.06 | p = 0.384 | p = 1.000 | No |
The Macronutrient Baseline Reproduces the Pattern Axes
Results: The Macronutrient Baseline Reproduces the Pattern Axes
The first pattern axis is the fat share of energy. Its design-weighted correlation is 0.991, so 98.2% of the axis’s variance is accounted for by a single quantity requiring no factorization at all. The second axis is a fat-carbohydrate contrast rather than an independent dimension, correlating 0.789 with the carbohydrate share and −0.810 with the fat share. The correlations quantify the macronutrient-dominant loading structure reported in Section 4.3.
The mortality associations follow the same pattern. Comparing the first pattern axis with the fat share of energy under otherwise identical models gives, per SD, for heart-disease death, 0.991 (95% CI: 0.900–1.092) against 0.958 (95% CI: 0.886–1.036); for cancer death, 0.938 (95% CI: 0.855–1.030) against 0.952 (95% CI: 0.882–1.027); for other-cause mortality, 0.923 (95% CI: 0.859–0.992) against 0.934 (95% CI: 0.883–0.987). These intervals come from the model-based standard error rather than the cluster-robust sandwich, so that the two exposure sets are compared on identical footing, and they are narrower than the intervals of Table 6 for that reason.
Every contrast agrees in direction and magnitude, and each pair’s intervals overlap substantially.
That includes the contrast closest to significance before multiplicity correction, the first axis against other-cause mortality at 0.923, which the fat share reproduces at 0.934 (95% CI: 0.883–0.987). The non-negative matrix factorization therefore adds nothing beyond the macronutrient budget: every association attributed to the derived axes is available from the macronutrient shares directly.
The reliability and regression-calibration results of Section 4.9 and Section 3.8 are properties of the underlying dietary measurement, not of the factorization, so they transfer unchanged to any analysis using macronutrient shares. Read together with the gradient-boosted result in Section 4.10, which found an age model rather than a diet model, the picture is consistent: in these data a single 24-hour recall supports neither a richer dietary representation than the macronutrient budget nor a detectable pattern–mortality association beyond it.
Fine–Gray subdistribution hazard ratios per pattern score (per 1 SD increase), analytic PSU-clustered robust standard error, Holm–Bonferroni adjusted across all six reported contrasts (n = 40,396).
| Outcome | Pattern | Subdistribution HR | 95% CI | p raw | padj (Holm) | Significant (α = 0.05) |
|---|---|---|---|---|---|---|
| Cancer | Fat-dominant | 0.94 | 0.83–1.06 | p = 0.289 | p = 1.000 | No |
| Cancer | Carbohydrate-dominant | 0.97 | 0.87–1.08 | p = 0.578 | p = 1.000 | No |
| Heart disease | Fat-dominant | 0.99 | 0.90–1.09 | p = 0.861 | p = 1.000 | No |
| Heart disease | Carbohydrate-dominant | 1.04 | 0.94–1.15 | p = 0.446 | p = 1.000 | No |
| Other-cause | Fat-dominant | 0.92 | 0.82–1.04 | p = 0.175 | p = 1.000 | No |
| Other-cause | Carbohydrate-dominant | 0.96 | 0.86–1.06 | p = 0.384 | p = 1.000 | No |
Study limitations
Discussion: What limitations does the paper describe?
Beyond the single-recall measurement-error limitation discussed at length in Section 5.4, several further limitations apply. The exposure is measured once, at a single survey visit, and the outcome is subsequent mortality. This design supports association, not causal inference. No claim in this paper should be read as implying that changing a person’s dietary pattern would change their mortality risk. Smoking status, alcohol use, and physical activity are self-reported, and subject to social-desirability and recall bias. The alcohol item itself changed in 2017–2018, from drinking at that level in any one year to drinking in the past year (Section 3.6).
Either source could residually confound the fully adjusted models, even after the attenuation seen between the parsimonious and fully adjusted tiers in Table 5. The fully adjusted covariate tier excludes 14.5% of the analytic cohort by complete-case restriction; the multiple-imputation sensitivity analysis (Table S9) suggests this is not driving the null result, but it does not rule out missingness that is informative conditional on the observed covariates. The standard errors of the primary analysis are cluster-robust rather than design-validated.
The sandwich estimator accounts for the within-PSU correlation of the first sampling stage but does not use the stratification, and no established Fine–Gray implementation was available to benchmark either the adjusted coefficients or their variance (Section 3.5, Section 3.7, and Section 3.13). The agreement with the Aalen–Johansen estimator reported in Section 4.7 bears on the IPCW augmentation of a model with no covariates and on nothing else. Ignoring the stratification is expected to be conservative rather than anticonservative, so the intervals of Table 6 are more likely to be too wide than too narrow.
The design-based jackknife of Section 4.7 confirms that, here, its standard error is the smaller of the two in all six contrasts, by 10% to 26%. The variance is benchmarked; the adjusted coefficients are not. No available Fine–Gray implementation accepts this design together with this augmentation (Section 3.13). An apparent concordance statistic is optimistic. The gradient-boosted ensemble is labeled apparent, and the cross-validated values of Table S12 are what the Discussion reads. The Fine–Gray subdistribution-hazard model assumes the censoring mechanism used to build the IPCW-weighted augmentation is correctly specified; a materially misspecified censoring model would bias the subdistribution hazard estimates in a direction this analysis has not separately quantified.
This paper fits a separate Fine–Gray model for each of the three cause-specific outcomes, as is standard in this literature. Separately fit Fine–Gray models are not guaranteed to yield cumulative incidence functions that sum coherently to at most one across causes for a given covariate profile [26]. This paper did not verify that property, and a fully joint competing-risks model would guarantee it by construction. The design-based jackknife of Table S5 deletes every unit of the design, so it needs no scaling and carries no extrapolation. Table S5 is the benchmark for Table 6’s intervals, not a cross-check on its point estimates.
An equivalent Rao–Wu–Yue–Beaumont bootstrap replicate-weight design would reach the same variance without one refit of the model per unit. NHANES is representative of the non-institutionalized US civilian population. This analysis’s null result should not be extrapolated to other national dietary patterns, food-fortification regimes, or health systems without independent replication. Finally, this analysis draws on the same pooled NHANES participant sample that supports other analyses by this research group. Those analyses address different outcomes, different exposures, and different methods, and none shares a result with the present study, but the sampling frame, the survey design variables, and the mortality linkage are common to them.
Estimates derived from one national sample by one group should therefore not be treated as mutually independent replications.
Cause-specific Cox models, dual covariate tiers. Parsimonious: pattern scores, age, sex (n = 47,257). Fully adjusted: parsimonious set plus body mass index, current-smoker status, alcohol-use status, physical activity, poverty–income ratio, and race/ethnicity (n = 40,396).
| Outcome | Pattern | Parsimonious HR (95% CI) | p | Fully Adjusted HR (95% CI) | p |
|---|---|---|---|---|---|
| Heart disease | Fat-dominant | 0.95 (0.87–1.04) | p = 0.273 | 0.97 (0.88–1.07) | p = 0.563 |
| Heart disease | Carbohydrate-dominant | 0.95 (0.86–1.04) | p = 0.267 | 1.02 (0.91–1.13) | p = 0.774 |
| Cancer | Fat-dominant | 0.82 (0.74–0.92) | p < 0.001 | 0.92 (0.82–1.03) | p = 0.131 |
| Cancer | Carbohydrate-dominant | 0.82 (0.74–0.91) | p < 0.001 | 0.95 (0.85–1.07) | p = 0.399 |
| Other-cause | Fat-dominant | 0.82 (0.76–0.89) | p < 0.001 | 0.90 (0.82–0.99) | p = 0.037 |
| Other-cause | Carbohydrate-dominant | 0.84 (0.78–0.91) | p < 0.001 | 0.94 (0.86–1.03) | p = 0.184 |
Fine–Gray subdistribution hazard ratios per pattern score (per 1 SD increase), analytic PSU-clustered robust standard error, Holm–Bonferroni adjusted across all six reported contrasts (n = 40,396).
| Outcome | Pattern | Subdistribution HR | 95% CI | p raw | padj (Holm) | Significant (α = 0.05) |
|---|---|---|---|---|---|---|
| Cancer | Fat-dominant | 0.94 | 0.83–1.06 | p = 0.289 | p = 1.000 | No |
| Cancer | Carbohydrate-dominant | 0.97 | 0.87–1.08 | p = 0.578 | p = 1.000 | No |
| Heart disease | Fat-dominant | 0.99 | 0.90–1.09 | p = 0.861 | p = 1.000 | No |
| Heart disease | Carbohydrate-dominant | 1.04 | 0.94–1.15 | p = 0.446 | p = 1.000 | No |
| Other-cause | Fat-dominant | 0.92 | 0.82–1.04 | p = 0.175 | p = 1.000 | No |
| Other-cause | Carbohydrate-dominant | 0.96 | 0.86–1.06 | p = 0.384 | p = 1.000 | No |
Discussion: Future Work
Three concrete extensions follow directly from this paper’s findings. The first is to repeat the pattern-derivation step on food groups rather than individual nutrients, using, for example the What We Eat in America food-category classification already linked to NHANES dietary recalls. That would test directly whether a food-based NMF or factor-analytic decomposition recovers a structure closer to the established Mediterranean/DASH/Western pattern taxonomy than the macronutrient axes reported here. The second is to replace the second recall with a reference instrument that does not share its reporting error, such as doubly labeled water for energy or urinary nitrogen for protein.
That is the only way to separate the systematic misreporting left in place by the correction of Section 3.8 from the random within-person variation it removes. The third is to replace the delete-1-PSU jackknife with an NCHS-recommended replicate-weight bootstrap, which would give a design-based variance without one refit of the model per unit, and would extend to the quantities a delete-one jackknife estimates poorly, such as a quantile or a ratio of two correlated estimates.
The reliability estimation itself carries over to any cohort whose dietary instrument is administered twice in some subset of participants, which is the only design requirement. The second administration need not be contemporaneous with the first and need not cover the whole cohort, and the variance components are estimable from as few as two replicates per person. Three quantities are worth reporting whenever a single-recall exposure enters a survival model. The first is the pair of variance components, estimated under the survey design rather than unweighted, since the unweighted estimate describes the achieved sub-sample.
The second is the reliability ratio with an interval, because a point estimate of a variance ratio from a sub-study invites a precision it does not have. The third is the within-person error covariance matrix, which is what the attenuation of an adjusted coefficient depends on once more than one error-prone exposure is in the model, and which a per-score reliability ratio does not supply.
Source: 5.9. Future Work Source: 5.9. Future WorkResults
4.1. Cohort Characteristics
Table 2 reports survey-weighted baseline characteristics for the n = 47,257 analytic cohort. Median age was 47.4 years (IQR 33.0–60.0), 51.2% were female, and the race/ethnicity distribution reflected the NHANES sampling design (68.7% non-Hispanic White, 11.2% non-Hispanic Black, 8.1% Mexican American, 5.4% other Hispanic, 6.7% other/multiracial). Median body mass index was 28.8 kg/m2 (IQR 24.0–32.2), 21.8% were current smokers, 75.2% reported at least 12 alcoholic drinks in some year, and 57.8% reported meeting any leisure-time physical activity. Median reported day-1 energy intake was 2159.5 kcal/day (IQR 1473.0–2659.0).
Over a survey-weighted median follow-up of 9.8 years (IQR 4.8–14.5), or 9.2 years (IQR 4.8–13.8) unweighted on the raw analytic sample, the cohort accrued 7629 deaths (11.8% survey-weighted all-cause mortality): 1980 heart-disease (2.9% survey-weighted), 1708 cancer (2.8%), and 3941 other-cause (6.1%) deaths, mutually exclusive by construction (Section 3.4).
4.2. No Reconstruction-Error Elbow: Macronutrient Axes, Not Discovered Dietary Patterns
Table 3 reports the model-selection diagnostic for the primary per 1000 kcal linear-density parameterization. Reconstruction error decreased smoothly and monotonically from 41.384 at k = 2 to 16.700 at k = 8, with relative improvement at every step (12.2–16.3%) well above the pre-specified 5% elbow threshold, so no rank in the tested range 2–8 constitutes an elbow. Bootstrap component stability was 1.000 at every k from 2 to 6 and 0.999 at k = 7–8, over 20 resamples at n = 47,257.
Stability is uninformatively high at every rank, because the large sample size means resampling barely perturbs the population-level NMF solution regardless of k.
Figure 1 plots this diagnostic. Table S1 (Supplementary Materials) reports the same diagnostic re-run on two alternative parameterizations of the identical 26-nutrient matrix, namely a non-energy-adjusted raw-intake matrix and a log1p-transformed density matrix, to test whether the per 1000 kcal energy adjustment itself was responsible for the absence of an elbow. It was not: under the raw-intake parameterization, relative improvement ranged 6.8–8.9% across k = 2–8 (still above 5% at every step), with stability as low as 0.829 at k = 7 but never below the 0.75 stability threshold; under the log-density parameterization, relative improvement ranged 9.9–14.4%, with stability never below 0.979.
Combining all three parameterizations, relative improvement stayed within 6.8–16.3% at every tested step and stability stayed at or above 0.829 (mostly ≥ 0.98). Three structurally different transformations of the same nutrient matrix all agree that it has no strong low-rank cluster structure at this sample size.
No elbow was found under any of the three parameterizations, so k = 2 was retained on parsimony grounds (Section 3.3), and the two resulting components are reported below as macronutrient-dominant axes rather than dietary patterns.
4.3. Pattern Composition
Table 4 reports the full 26-nutrient loading matrix, and Figure 2 displays it as a heatmap. Pattern 1’s largest loadings were total fat (0.253), monounsaturated fat (0.150), saturated fat (0.134), polyunsaturated fat (0.114), and protein (0.086); pattern 2’s largest loadings were carbohydrate (0.264), protein (0.112), fiber (0.107), iron (0.069), and thiamin (0.062). This loading structure is a fat-versus-carbohydrate macronutrient-composition split, not a food-based pattern. The two components load oppositely on the two macronutrients that jointly determine most of the energy density, which is close to mechanical under the per 1000 kcal normalization of Section 3.3.
Neither component isolates a coherent food-group signature, such as the shared elevation of vegetables, whole grains, and unsaturated fats characteristic of a Mediterranean-type pattern. Pattern 1 and pattern 2 are referred to as the fat-dominant and carbohydrate-dominant macronutrient axes, respectively, throughout the remainder of this paper.
4.4. Cause-Specific Cox Estimates Across the Two Covariate Tiers
Table 5 reports the dual covariate tiers (parsimonious: age and sex only; fully adjusted: age, sex, body mass index, current-smoker status, alcohol-use status, physical activity, poverty–income ratio, and race/ethnicity) for each cause-specific Cox model. In the parsimonious tier, both patterns were inversely associated with cancer and other-cause mortality, for example, other-cause pattern 1 at HR 0.82 (95% CI: 0.76–0.89, p < 0.001). Full covariate adjustment attenuated these associations substantially: other-cause pattern 1 to HR 0.90 (95% CI: 0.82–0.99, p = 0.037) and cancer pattern 1 to HR 0.92 (95% CI: 0.82–1.03, p = 0.131).
That pattern is what confounding by smoking, activity, and socioeconomic status in the age-and-sex-only model produces. The attenuation between the two tiers shows how much of the age-and-sex-only association is carried by smoking, activity, and socioeconomic position, which is why the fully adjusted tier is the one interpreted here. The Fine–Gray model of Section 4.6 is the primary analysis because of its estimand: the target is the cumulative incidence of each cause of death while the other two causes are also acting (Section 3.6).
These are unadjusted-for-multiplicity, single-model cause-specific results reported as a diagnostic complement. They estimate the cause-specific hazard rather than the subdistribution hazard, and none of these p-values have been Holm–Bonferroni corrected. The primary, multiplicity-corrected, competing-risks result is reported in Section 4.6.
4.5. Cumulative Incidence by Pattern Tertile
Figure 3 plots the non-parametric Aalen–Johansen cumulative-incidence function for each of the three mortality outcomes, stratified by tertile of the fat-dominant pattern score, unadjusted for any covariate. For all three outcomes, the three tertile curves track closely together across the full follow-up window, with no visually separable ordering by tertile. That is consistent with the near-null, non-significant adjusted associations reported in Section 4.4 and Section 4.6.
4.6. Fine–Gray Competing-Risks Results: The Primary, Multiplicity-Corrected Analysis
Table 6 reports the Fine–Gray subdistribution hazard ratios, with analytic PSU-clustered robust standard errors, for all six pattern–outcome contrasts, on the fully adjusted covariate tier (n = 40,396), together with the raw and Holm–Bonferroni-adjusted p-values. No contrast reached statistical significance after correction. The largest point-estimate departure from the null was the fat-dominant pattern’s association with other-cause mortality (subdistribution HR 0.92, 95% CI: 0.82–1.04, praw = 0.175), and its interval includes the null before any correction is applied.
Every contrast had a Holm-adjusted p-value of 1.000. Section 4.7 benchmarks these standard errors against a design-based jackknife that deletes every PSU unit of the design in turn, and finds them the wider of the two. This is the paper’s primary result: after accounting for the full covariate set, competing risks, PSU clustering, and multiplicity across all six pattern–outcome contrasts, no nutrient-density macronutrient axis was associated with cause-specific mortality in this cohort.
Figure 4 displays these six results as a forest plot. All six intervals cross the null at HR = 1.0.
Heart-disease death is the only cardiovascular category coded the same way in all ten pooled cycles, so it is the outcome of the primary analysis (Section 3.4). Table S4 (Supplementary Materials) refits the model on the eight cycles 1999–2014, in which cerebrovascular deaths are released separately, under three cause-of-death definitions. Across 1908 events, the broader heart-or-cerebrovascular outcome gave a subdistribution hazard ratio of 0.97 (95% CI: 0.88–1.07) for the fat-dominant pattern and 1.01 (95% CI: 0.92–1.11) for the carbohydrate-dominant pattern.
Across the 1585 heart-disease deaths among the same participants, the two figures were 0.97 (95% CI: 0.88–1.08) and 1.00 (95% CI: 0.91–1.11). Removing cerebrovascular deaths from the other-cause group left 0.93 (95% CI: 0.83–1.05) and 0.96 (95% CI: 0.87–1.06) across 2723 events. The two cardiovascular definitions agree to within 0.01 HR units on both patterns, and no contrast reached significance under any of the three, so the restriction to the one code that is comparable across all ten cycles does not account for the null result.
Nutrient densities are expressed per 1000 kcal, which takes the level of reported intake out of the exposure but does not remove total energy intake as a mortality confounder (Section 3.7). Table S2 (Supplementary Materials) refits the fully adjusted model with log total reported energy added as a covariate. No pattern hazard ratio moved by more than 0.027, and the largest movement was the heart-disease carbohydrate-dominant contrast, from 1.04 to 1.01; the other five moved by 0.008 or less.
No contrast approached significance in the energy-adjusted model, the smallest raw p-value being 0.174 for the other-cause fat-dominant contrast. Energy itself was associated with heart-disease mortality (subdistribution HR 0.89 per 1 SD increase in log kilocalories, 95% CI: 0.82–0.96, p = 0.004) but not with cancer mortality (0.96, 95% CI: 0.90–1.04) or other-cause mortality (0.97, 95% CI: 0.89–1.05). The pattern scores are therefore not acting as proxies for reported energy intake.
The primary analysis retains two components (Section 3.3). Table S3 (Supplementary Materials) repeats the full contrast structure at ranks 3 and 4, with Holm–Bonferroni correction applied within each rank. At rank 3 the additional axis loads on protein, phosphorus, and selenium; at rank 4, the fourth loads on polyunsaturated fat. Both are macronutrient-dominant, like the two retained axes, rather than food-based patterns. No contrast was significant after correction at either rank: none of the nine at rank 3, where the smallest adjusted p-value was 0.703 and the hazard ratios spanned 0.91 to 1.03, and none of the twelve at rank 4, where the smallest adjusted p-value was 0.182 and the hazard ratios spanned 0.90 to 1.03.
One rank-4 contrast, the polyunsaturated-fat axis against other-cause mortality, gave a subdistribution hazard ratio of 0.90 (95% CI: 0.83–0.98) at a raw p-value of 0.015, the only interval anywhere in this analysis that excludes the null before correction; it does not survive correction across the twelve contrasts that rank tests. The null result is therefore not a consequence of the two-component representation.
4.7. Sensitivity Analyses of the Competing-Risks Estimator
A design-based interval fits the same Fine–Gray coefficients with a stratified delete-1-PSU jackknife over all 301 PSU units in 148 strata (Section 3.7). Table S5 (Supplementary Materials) reports it for all six contrasts. The point estimates are those of Table 6, because the jackknife takes its estimate from the full-sample fit and uses the replicates only for the variance. The design-based standard error is smaller than the cluster-robust sandwich in every contrast, by 10% to 26%, which is the direction Section 3.5 predicts for an estimator that ignores the stratification.
For the other-cause fat-dominant contrast, the closest to the null, the analytic interval is 0.82 to 1.04 and the design-based interval is 0.85 to 1.01. Its raw p-value is 0.070 under the design-based variance against 0.175 in Table 6, and its Holm-adjusted p-value is 0.417 against 1.000. No contrast reaches significance under either variance, before or after Holm–Bonferroni correction. The interval the paper reads is therefore the wider of the two.
Every unit is deleted in turn, so the design-based variance needs no scaling, and the factor a subsample of the units would require is exactly one here. Table S6 (Supplementary Materials) gives the other-cause/fat-dominant-pattern confidence-interval half-width for jackknife subsamples of 30 to 90 PSU units, of the 301 available: 0.111, 0.116, 0.101, 0.093, and 0.087. Against the full design’s 0.080, a subsample of this design overstates the width and does not settle over that range. The sequence is not even monotone, rising from 30 to 45 units before falling.
Scaling a subsample’s variance by a uniform strata-count ratio is therefore not a substitute for deleting every unit, which is what Table S5 reports.
The augmentation of Section 3.7 places the extended risk intervals of subjects who experienced a competing event on a discrete grid, set to 12 months for the primary analysis. Table S7 (Supplementary Materials) refits the fully adjusted model on 6-month, 3-month, and 1-month grids for comparison. The largest movement in any contrast was 0.039 HR units, for the cancer fat-dominant contrast, which ran from 0.94 on the 12-month grid to 0.98 on the 1-month grid; the smallest was 0.006, for the heart-disease carbohydrate-dominant contrast.
Five of the six contrasts moved toward the null as the grid was refined, and the sixth moved 0.004 away from it. Every one of these movements is an order of magnitude smaller than the width of the corresponding interval in Table 6, so the choice of a 12-month grid does not determine the result.
The IPCW construction was checked against a non-parametric estimator. Table S8 (Supplementary Materials) compares the cumulative incidence implied by the augmented frame, fit with no covariates, against the Aalen–Johansen estimate at 1, 3, 5, and 10 years. The largest absolute difference was 0.00042 for other-cause mortality, 0.00018 for heart-disease mortality, and 0.00011 for cancer mortality. The augmentation therefore reproduces the non-parametric cumulative incidence to within about four parts in ten thousand at every horizon tested. What that agreement establishes is bounded.
Both quantities compared are cumulative incidences from a model with no covariates, so the comparison validates the augmentation and the IPCW weights and nothing beyond them. It does not validate the adjusted coefficients of Table 6, and it says nothing about their standard errors, which are cluster-robust rather than design-based (Section 3.5 and Section 3.7).
4.8. Multiple Imputation Reproduces the Complete-Case Estimates
Table S9 (Supplementary Materials) compares the complete-case Fine–Gray-adjacent coefficient (Section 3.10 uses the same fully adjusted covariate set) against the MICE-pooled estimate (m = 5 imputations) on the full n = 47,257 analytic cohort. Every pooled estimate fell within 0.02 HR units of its complete-case counterpart, the largest difference being the heart-disease fat-dominant contrast at 0.99 complete-case against 1.01 pooled, and the range across the five imputations was narrow for every contrast (for example, other-cause fat-dominant pattern: complete-case 0.92, MI-pooled 0.92, range 0.92–0.92).
The 14.5% complete-case exclusion is therefore very unlikely to be driving the null result of Section 4.6.
4.9. Regression Calibration: What a Single Recall Is Expected to Miss
The calibration sub-study (n = 34,176) estimated the day-1-recall reliability ratio at λ = 0.316 (95% CI: 0.298–0.335) for the fat-dominant pattern and λ = 0.352 (95% CI: 0.337–0.366) for the carbohydrate-dominant pattern, under the two-day dietary weight; the equal-weight estimates were 0.312 and 0.361. Between-person variation therefore accounts for 31.6% of the variance of one observed day’s fat-dominant score and 35.2% of the variance of one observed day’s carbohydrate-dominant score, and within-person day-to-day variation accounts for the rest.
A reliability ratio is a property of the observed single-day measurement. It is not the share of the true between-person variance that one recall recovers, and it is defined only under the measurement-error model of Section 3.8. Individual-nutrient reliability ratios ranged from 0.103 (copper) to 0.504 (alcohol), consistent with the pattern-level values sitting well within the range typically reported for single-recall nutrient reliability in the measurement-error literature [5,7]. Table S10 (Supplementary Materials) reports the variance components.
Two of the assumptions listed in Section 3.8 require the within-person deviation to have a mean of zero, so a systematic difference between a first and a second recall measures how far they fail. On the standardized day-1 scale, the mean day-1-minus-day-2 difference was +0.014 SD for the fat-dominant score and −0.107 SD for the carbohydrate-dominant score. The fat-dominant shift is negligible. The carbohydrate-dominant shift is not: a second recall returns a score about a tenth of a standard deviation higher than the first, and the classical model treats that as random variation, so the correction below does not remove it.
Table S11 (Supplementary Materials) applies the measurement-error correction of Section 3.8 to the Fine–Gray hazard ratios of Table 6. The estimated reliability matrix was not diagonal: its off-diagonal entries were 0.085 and 0.022, so each corrected coefficient draws on both naive coefficients and a per-score reliability ratio alone does not reproduce the correction. Every calibrated hazard ratio moved further from the null than its naive counterpart, as expected under attenuation correction, but every calibrated interval widened substantially relative to the naive interval, and none of them excludes the null.
The other-cause fat-dominant contrast, for example, moved from HR 0.92 (95% CI: 0.82–1.04) naive to HR 0.80 (95% CI: 0.57–1.10) calibrated: the point estimate moves from 8% to 20% below the null while the interval widens enough to keep covering it. The last column of Table S11 gives the marginal correction that divides each coefficient by its own reliability ratio, which returns 0.78 (95% CI: 0.54–1.12) for that contrast; the gap between the two columns is the part of the attenuation the error covariance carries.
The correction describes the direction and scale of the attenuation a single recall imposes rather than supplying a second estimate of the association. It is not Holm–Bonferroni corrected across the six contrasts, and the reliability matrix it uses is estimated from the 2003–2018 cycles alone (Section 5.4).
As a check that does not depend on the matrix algebra, the Fine–Gray models were refit on the predicted usual scores (Section 3.8), and Table S11 reports both routes for every contrast. They do not agree after rounding. The two corrected hazard ratios differ by 0.004 to 0.092 HR units across the six contrasts. The smallest gap is the other-cause fat-dominant contrast, where the matrix correction gives 0.80 and the refit 0.79. The largest is the heart-disease fat-dominant contrast, where the matrix correction gives 0.95 and the refit 1.04.
Three things produce that gap, and the first is the largest. The matrix correction is exact only for a linear outcome model, so on a log-hazard scale it is a first-order approximation whose error is multiplied by the correction factor, and that factor is about three here (Section 3.8). The refit is also not estimating quite the same quantity: it substitutes a predicted usual score, whose variance is smaller than the usual score’s by whatever the calibration model fails to explain, while the matrix route rescales the coefficients of a fit on the observed score.
And the two routes diverge most where the naive coefficient is closest to zero. The heart-disease fat-dominant contrast is that case. Its naive hazard ratio is 0.99, so almost the whole of its corrected value comes from the error covariance with the other pattern score, and the two routes carry that cross term differently enough to place the corrected estimate on opposite sides of the null. The gap is 0.09 HR units against a corrected interval running from 0.72 to 1.24, so it does not change what the contrast supports.
It is too large to be rounding, and Table S11 therefore reports both routes side by side rather than one as a confirmation of the other.
This is a further reason to read the corrected estimates as a measure of the attenuation a single recall imposes rather than as a second set of effect estimates. The day-1-minus-day-2 shift of −0.107 SD in the carbohydrate-dominant score is another. That shift violates the zero-mean assumption the correction rests on; the correction does not remove it, and the carbohydrate-dominant score enters the correction of both coefficients through the error covariance. The corrected estimate for the fat-dominant axis therefore carries a systematic component that the classical model treats as random.
The refit is reported for the comparison only: its interval conditions on the fitted calibration model instead of propagating that model’s uncertainty, which the Monte Carlo interval of Table S11 does.
4.10. Gradient-Boosted Ensemble and SHAP: An Age Model, Not a Diet Model
The gradient-boosted survival ensemble reached an apparent, in-sample naive (unweighted) C-index of 0.869 and an apparent survey-design-weighted C-index of 0.889 (95% CI: 0.878–0.900, full delete-1-PSU jackknife; Table 7). Both are computed on the participants the ensemble was trained on, and the interval is the design-based sampling variability of that apparent quantity rather than a correction for its optimism (Section 3.9). The weighted estimate exceeding the naive one is an expected consequence of training the ensemble under the same NHANES design weight used to evaluate it.
NHANES intentionally oversamples certain subgroups, who consequently carry lower per-person design weights, so a model trained under this weighting is optimized toward the higher-weight, population-representative segments that the weighted evaluation metric then also emphasizes. It is not evidence that accounting for the survey design reveals better generalization than the sample suggests; the naive, unweighted C-index is the more conservative summary of raw discrimination.
Cross-validation measures optimism, and a comparison with and without the two pattern scores answers directly whether they add discrimination at all. Table S12 (Supplementary Materials) reports both feature sets under both scorings. Under 10-fold cross-validation with the folds grouped on the stratum-PSU cluster, the weighted C-index falls from an apparent 0.889 to 0.852 (95% CI: 0.839–0.866) and the unweighted index from 0.869 to 0.852, so the apparent values are optimistic by 0.037 and 0.017 respectively. Removing the two pattern scores and refitting the same ensemble on the remaining eleven features gives a cross-validated weighted C-index of 0.851 (95% CI: 0.836–0.866).
The paired difference between the two feature sets is 0.0014 (95% CI: −0.0034 to 0.0062), and on the unweighted index, which uses every comparable pair rather than a sample of them, it is 0.0001. The same difference computed on the training data is 0.0098 (95% CI: 0.0051–0.0145), which excludes zero. The two pattern scores therefore add discrimination to this ensemble when it is scored on the participants it was fitted to, and none that survives cross-validation.
Table 8 and Figure 5 report the SHAP decomposition of this ensemble’s predictions. Age dominates every other feature by a wide margin (mean |SHAP| 1.405), followed by poverty–income ratio (0.252), current-smoker status (0.212), sex (0.206), body mass index (0.148), and physical activity (0.133). The two pattern scores rank seventh and eighth of thirteen features (carbohydrate-dominant pattern 0.077, fat-dominant pattern 0.074), roughly 18 to 19 times smaller than age’s contribution. The ensemble’s C-index is therefore evidence that the full covariate set, dominated by age and standard demographic and behavioral covariates, predicts mortality well.
That is an unsurprising finding, consistent with the general survival literature in which age is reliably the dominant mortality predictor. It is not evidence that the dietary patterns predict mortality. The cross-validated comparison above shows that they add no discrimination the data support, and the SHAP ranking shows where the discrimination that is there comes from.
4.11. Target-Leakage Audit and Multicollinearity
Table S13 (Supplementary Materials) documents the target-leakage audit: every feature entering the Cox, Fine–Gray, and gradient-boosted models is a baseline measurement collected at or before the dietary-recall visit, prior to the start of mortality follow-up, and none is algebraically or definitionally downstream of the mortality outcome. Table S14 (Supplementary Materials) reports variance inflation factors; the highest was 3.559 (carbohydrate-dominant pattern), well below the conventional VIF > 5 concern threshold, so multicollinearity between the two pattern scores and the covariate set is not a material issue for the models reported above.
4.12. The Macronutrient Baseline Reproduces the Pattern Axes
The first pattern axis is the fat share of energy. Its design-weighted correlation is 0.991, so 98.2% of the axis’s variance is accounted for by a single quantity requiring no factorization at all. The second axis is a fat-carbohydrate contrast rather than an independent dimension, correlating 0.789 with the carbohydrate share and −0.810 with the fat share. The correlations quantify the macronutrient-dominant loading structure reported in Section 4.3.
The mortality associations follow the same pattern. Comparing the first pattern axis with the fat share of energy under otherwise identical models gives, per SD, for heart-disease death, 0.991 (95% CI: 0.900–1.092) against 0.958 (95% CI: 0.886–1.036); for cancer death, 0.938 (95% CI: 0.855–1.030) against 0.952 (95% CI: 0.882–1.027); for other-cause mortality, 0.923 (95% CI: 0.859–0.992) against 0.934 (95% CI: 0.883–0.987). These intervals come from the model-based standard error rather than the cluster-robust sandwich, so that the two exposure sets are compared on identical footing, and they are narrower than the intervals of Table 6 for that reason.
Every contrast agrees in direction and magnitude, and each pair’s intervals overlap substantially.
That includes the contrast closest to significance before multiplicity correction, the first axis against other-cause mortality at 0.923, which the fat share reproduces at 0.934 (95% CI: 0.883–0.987). The non-negative matrix factorization therefore adds nothing beyond the macronutrient budget: every association attributed to the derived axes is available from the macronutrient shares directly.
The reliability and regression-calibration results of Section 4.9 and Section 3.8 are properties of the underlying dietary measurement, not of the factorization, so they transfer unchanged to any analysis using macronutrient shares. Read together with the gradient-boosted result in Section 4.10, which found an age model rather than a diet model, the picture is consistent: in these data a single 24-hour recall supports neither a richer dietary representation than the macronutrient budget nor a detectable pattern–mortality association beyond it.
Survey-weighted baseline characteristics (n = 47,257).
| Characteristic | Value |
|---|---|
| Age, years | 47.4 (IQR 33.0–60.0) |
| Female sex | 51.2% |
| Race/ethnicity: Mexican American | 8.1% |
| Race/ethnicity: Other Hispanic | 5.4% |
| Race/ethnicity: Non-Hispanic White | 68.7% |
| Race/ethnicity: Non-Hispanic Black | 11.2% |
| Race/ethnicity: Other/multiracial | 6.7% |
| Body mass index, kg/m2 | 28.8 (IQR 24.0–32.2) |
| Current smoker | 21.8% |
| Alcohol, ≥12 drinks in any year | 75.2% |
| Meets any leisure-time activity | 57.8% |
| Energy intake, kcal/day | 2159.5 (IQR 1473.0–2659.0) |
| Follow-up time, years | 9.8 (IQR 4.8–14.5) |
| All-cause death | 11.8% |
| Heart-disease death | 2.9% |
| Cancer death | 2.8% |
| Other-cause death | 6.1% |
NMF model-selection diagnostic, primary per 1000 kcal density parameterization (chosen k = 2).
| k | Reconstruction Error | Stability | Relative Improvement |
|---|---|---|---|
| 2 | 41.384 | 1.000 | — |
| 3 | 35.448 | 1.000 | 14.3% |
| 4 | 30.685 | 1.000 | 13.4% |
| 5 | 25.694 | 1.000 | 16.3% |
| 6 | 21.907 | 1.000 | 14.7% |
| 7 | 19.235 | 0.999 | 12.2% |
| 8 | 16.700 | 0.999 | 13.2% |
NMF pattern loadings (share of pattern weight per nutrient).
| Nutrient | Pattern 1 (Fat-Dominant) | Pattern 2 (Carbohydrate-Dominant) |
|---|---|---|
| Protein | 0.086 | 0.112 |
| Carbohydrate | 0.044 | 0.264 |
| Fiber | 0.011 | 0.107 |
| Total fat | 0.253 | 0.013 |
| Saturated fat | 0.134 | 0.005 |
| Monounsaturated fat | 0.150 | 0.000 |
| Polyunsaturated fat | 0.114 | 0.009 |
| Cholesterol | 0.036 | 0.004 |
| Calcium | 0.005 | 0.011 |
| Phosphorus | 0.037 | 0.062 |
| Magnesium | 0.004 | 0.015 |
| Iron | 0.014 | 0.069 |
| Zinc | 0.004 | 0.007 |
| Copper | 0.002 | 0.007 |
| Sodium | 0.009 | 0.012 |
| Potassium | 0.010 | 0.033 |
| Selenium | 0.030 | 0.041 |
| Thiamin | 0.015 | 0.062 |
| Riboflavin | 0.006 | 0.015 |
| Niacin | 0.012 | 0.032 |
| Vitamin B6 | 0.005 | 0.027 |
| Vitamin B12 | 0.003 | 0.008 |
| Total folate | 0.006 | 0.053 |
| Vitamin C | 0.000 | 0.020 |
| Caffeine | 0.001 | 0.001 |
| Alcohol | 0.009 | 0.010 |
Cause-specific Cox models, dual covariate tiers. Parsimonious: pattern scores, age, sex (n = 47,257). Fully adjusted: parsimonious set plus body mass index, current-smoker status, alcohol-use status, physical activity, poverty–income ratio, and race/ethnicity (n = 40,396).
| Outcome | Pattern | Parsimonious HR (95% CI) | p | Fully Adjusted HR (95% CI) | p |
|---|---|---|---|---|---|
| Heart disease | Fat-dominant | 0.95 (0.87–1.04) | p = 0.273 | 0.97 (0.88–1.07) | p = 0.563 |
| Heart disease | Carbohydrate-dominant | 0.95 (0.86–1.04) | p = 0.267 | 1.02 (0.91–1.13) | p = 0.774 |
| Cancer | Fat-dominant | 0.82 (0.74–0.92) | p < 0.001 | 0.92 (0.82–1.03) | p = 0.131 |
| Cancer | Carbohydrate-dominant | 0.82 (0.74–0.91) | p < 0.001 | 0.95 (0.85–1.07) | p = 0.399 |
| Other-cause | Fat-dominant | 0.82 (0.76–0.89) | p < 0.001 | 0.90 (0.82–0.99) | p = 0.037 |
| Other-cause | Carbohydrate-dominant | 0.84 (0.78–0.91) | p < 0.001 | 0.94 (0.86–1.03) | p = 0.184 |
Fine–Gray subdistribution hazard ratios per pattern score (per 1 SD increase), analytic PSU-clustered robust standard error, Holm–Bonferroni adjusted across all six reported contrasts (n = 40,396).
| Outcome | Pattern | Subdistribution HR | 95% CI | p raw | padj (Holm) | Significant (α = 0.05) |
|---|---|---|---|---|---|---|
| Cancer | Fat-dominant | 0.94 | 0.83–1.06 | p = 0.289 | p = 1.000 | No |
| Cancer | Carbohydrate-dominant | 0.97 | 0.87–1.08 | p = 0.578 | p = 1.000 | No |
| Heart disease | Fat-dominant | 0.99 | 0.90–1.09 | p = 0.861 | p = 1.000 | No |
| Heart disease | Carbohydrate-dominant | 1.04 | 0.94–1.15 | p = 0.446 | p = 1.000 | No |
| Other-cause | Fat-dominant | 0.92 | 0.82–1.04 | p = 0.175 | p = 1.000 | No |
| Other-cause | Carbohydrate-dominant | 0.96 | 0.86–1.06 | p = 0.384 | p = 1.000 | No |
Gradient-boosted Cox survival ensemble apparent, in-sample performance (n = 40,396). Both values are computed on the participants the ensemble was trained on; the cross-validated values, and the comparison with and without the two pattern scores, are in Table S12 (Supplementary Materials).
| Metric | Value |
|---|---|
| Apparent C-index, naive (unweighted) | 0.869 |
| Apparent C-index, survey-design-weighted (design-aware jackknife 95% CI) | 0.889 (0.878–0.900) |
SHAP global feature importance (mean |SHAP value|, log-relative-hazard scale) for the gradient-boosted survival ensemble, ranked by descending importance (n = 40,396).
| Rank | Feature | Mean |SHAP| |
|---|---|---|
| 1 | Age | 1.405 |
| 2 | Poverty–income ratio | 0.252 |
| 3 | Current smoker | 0.212 |
| 4 | Sex | 0.206 |
| 5 | Body mass index | 0.148 |
| 6 | Physical activity | 0.133 |
| 7 | Carbohydrate-dominant pattern | 0.077 |
| 8 | Fat-dominant pattern | 0.074 |
| 9 | Race (non-Hispanic Black) | 0.071 |
| 10 | Race (non-Hispanic White) | 0.069 |
| 11 | Race (other Hispanic) | 0.015 |
| 12 | Alcohol, ≥12 drinks in any year | 0.012 |
| 13 | Race (other/multiracial) | 0.003 |
Conclusions
The cohort comprised 47,257 US adults with 7629 deaths over a median follow-up of 9.2 years. Non-negative matrix factorization of 26 harmonized nutrient densities found no reconstruction-error elbow under any of the three tested parameterizations. The two retained components are therefore macronutrient-dominant axes, one fat-dominant and one carbohydrate-dominant, and not newly discovered food-based dietary patterns. Between-person variation accounted for 31.6% and 35.2% of the variance of a single observed day’s score for the two pattern axes. No association with cause-specific mortality reached significance under Fine–Gray subdistribution-hazard fitting with analytic PSU-clustered robust standard errors and Holm–Bonferroni correction across all six pattern–outcome contrasts.
The strongest point estimate was other-cause mortality against the fat-dominant axis: a subdistribution HR of 0.92 (95% CI: 0.82–1.04) at a Holm-adjusted p-value of 1.000. Regression calibration moved every point estimate further from the null and widened every interval substantially. It measures the scale of the measurement-error attenuation without resolving it. A single recall, even calibrated, remains a materially weaker exposure instrument than a repeated-measures or food-frequency protocol. A gradient-boosted survival ensemble reached an apparent C-index of 0.889 (95% CI: 0.878–0.900) and a cross-validated one of 0.852 (95% CI: 0.839–0.866).
Removing both pattern scores moved the cross-validated value by 0.0014 (95% CI: −0.0034 to 0.0062). SHAP decomposition attributed the ensemble’s predictions almost entirely to age, 18 to 19 times the contribution of either pattern score. That discrimination is therefore not independent evidence of a diet–mortality association.
Two recommendations follow. Both are drawn from one instrument, one nutrient panel, and one national survey, and they are stated for that setting. First, a nutrient-density or dietary-pattern exposure derived from a single 24-hour recall should carry a reported measurement reliability when it enters a mortality analysis. Single-recall assessment is not an adequate proxy for usual intake by default, and the calibration figures of Table S11 are a reusable reference point. Second, an NMF or comparable decomposition applied to individual nutrients, on a panel of this breadth and with energy adjustment of this kind, should be expected to recover macronutrient trade-off axes.
An elbow-and-stability check under more than one parameterization is what separates those axes from a “dietary pattern” in the food-based sense.
Source: 6. Conclusions Source: 6. ConclusionsAuthors’ abstract
Background: Dietary pattern–mortality studies usually report one estimate from a single 24-hour recall, without asking what share of the variance in the resulting pattern score is between-person rather than within-person variation. Methods: We pooled ten National Health and Nutrition Examination Survey (NHANES) cycles (1999–2018) linked to the 2019 Mortality File, derived nutrient-density patterns from 26 harmonized nutrients by non-negative matrix factorization, and modeled cause-specific mortality with survey-weighted Fine–Gray subdistribution hazards. Results: The cohort comprised 47,257 adults and 7629 deaths over a median of 9.2 years.
No reconstruction-error elbow appeared at any rank from k = 2 to 8, so the two retained components are reported as macronutrient-dominant axes, one fat-dominant and one carbohydrate-dominant, not as discovered food-based patterns. Between-person variation accounted for 31.6% and 35.2% of the variance of a single observed day’s score. After Holm–Bonferroni correction no pattern–mortality contrast reached significance. The strongest, the fat axis against other-cause mortality, gave a hazard ratio of 0.92 (95% CI: 0.82–1.04, padj = 1.000). Regression calibration against a second-day recall moved that estimate away from the null (0.80, 95% CI: 0.57–1.10) while widening its interval, quantifying the attenuation a single recall imposes.
Conclusions: The reliability coefficients and calibration factors are reusable by other single-recall NHANES analyses.
Read the full paper
1. Introduction
Diet-quality indices and empirically derived dietary patterns are routinely linked to cause-specific mortality in large prospective cohorts, and the resulting hazard ratios are widely cited as evidence that dietary composition matters for long-term survival [1,2,3,4]. Almost all of this literature, including the National Health and Nutrition Examination Survey (NHANES) studies that use a single 24-hour dietary recall as the exposure, treats that one recall as though it measured usual intake without material error.
It does not. A single 24-hour recall captures a snapshot of one day’s intake, and day-to-day variation in what a person eats is large relative to the true between-person differences that a dietary-pattern score is meant to summarize [5,6]. When an exposure is measured with substantial within-person noise and used naively in a regression, the resulting association is attenuated toward the null, an effect known as regression dilution. The size of that attenuation is quantifiable [6,7].
A second, less discussed problem concerns how “dietary patterns” are constructed in the first place. Data-driven pattern-discovery methods such as non-negative matrix factorization (NMF) are attractive because they yield additive, interpretable loadings without the sign ambiguity of principal components analysis, and because they do not require the food-group taxonomy that a priori indices (Mediterranean, Dietary Approaches to Stop Hypertension) presuppose [1,8]. The technique is agnostic to what it is fed. Applied to individual nutrients, an NMF decomposition of nutrient densities is structurally biased toward a fat-versus-carbohydrate macronutrient trade-off.
Fat and carbohydrate density compete for the same fixed share of energy once intake is expressed per 1000 kcal. The literature reserves “dietary patterns” for structures derived from co-occurring foods, as in the Mediterranean, Western, prudent, and DASH patterns. Whether components recovered from a nutrient matrix earn that term is an empirical question, and a model-selection diagnostic answers it.
Research gaps. First, dietary pattern–mortality studies using a single 24-hour recall rarely report the reliability of the resulting pattern score, so readers cannot judge how much of a null or positive finding reflects true association versus measurement-error attenuation. Second, competing risks are usually collapsed into all-cause mortality or handled by cause-specific Cox models that implicitly treat competing events as non-informative censoring, when a subdistribution-hazard framework is available and more appropriate when heart-disease, cancer, and other-cause death compete for the same finite follow-up time [9,10].
Third, NMF-derived nutrient patterns are typically presented as newly discovered dietary patterns without a model-selection diagnostic (reconstruction-error elbow, bootstrap component stability) to justify the chosen rank, and without testing whether the same conclusion holds under alternative, non-energy-adjusted or log-transformed parameterizations of the same nutrient matrix. Fourth, when a machine-learning ensemble is added to a dietary-pattern analysis, its aggregate discrimination (C-index, AUROC) is frequently presented as evidence that the exposure of interest predicts the outcome, without a feature-attribution step (SHAP or equivalent) to check whether the exposure, rather than age and standard covariates, is actually driving that discrimination.
Contributions. First, we report a reconstruction-error and bootstrap-stability model-selection diagnostic for NMF-derived nutrient-density patterns under three parameterizations of the same 26 harmonized nutrients. The two retained components are macronutrient-dominant axes. Second, we fit survey-weighted Fine–Gray subdistribution-hazard competing-risks models for heart-disease, cancer, and other-cause mortality, with an analytic PSU-clustered robust sandwich standard error. Holm–Bonferroni correction covers all six pattern–outcome contrasts. A design-based jackknife interval is reported beside the primary one. Third, we quantify the reliability of the day-1-recall pattern scores directly, using a second-day-recall sub-study restricted to variance-component estimation, and report both the naive and the regression-calibrated hazard ratios with their respective intervals.
Fourth, we test whether the dietary patterns add anything to a gradient-boosted survival ensemble’s discrimination. The ensemble is cross-validated with and without the two pattern scores, and its predictions are decomposed with SHAP. The primary objective of this study is to estimate, with cluster-robust uncertainty and multiplicity correction, the association between NMF-derived nutrient-density pattern scores and cause-specific mortality in a nationally representative US sample. Two secondary objectives follow. The first is to quantify how much of that association a single 24-hour recall can be expected to detect, given the pattern scores’ measurement reliability.
The second is to report whether an NMF decomposition of nutrients, as opposed to foods, supports calling its output “dietary patterns” at all. We test the general hypothesis that higher nutrient-density pattern scores are associated with lower cause-specific mortality hazard, evaluated separately for the fat-dominant and carbohydrate-dominant axes and for heart-disease, cancer, and other-cause death.
The remainder of this paper is organized as follows. Section 2 situates this analysis against the dietary pattern–mortality literature. Section 3 details the cohort construction, pattern derivation, survey design, and every statistical model, including the measurement-error calibration. Section 4 reports cohort characteristics, the pattern-selection diagnostics, the cause-specific and competing-risks regression results, the calibration analysis, and the SHAP decomposition. Section 5 discusses what a null result of this precision does and does not support, and Section 6 concludes.
2. Related Work
Dietary-pattern analysis emerged as an alternative to single-nutrient epidemiology because diets are eaten as combinations of foods, not as isolated nutrients, and factor- or cluster-derived patterns capture that co-occurrence structure [1]. A priori indices constructed from established dietary theory, namely the Mediterranean diet score and the Dietary Approaches to Stop Hypertension (DASH) index, have shown consistent inverse associations with all-cause and cause-specific mortality in large prospective cohorts [2]. The NIH-AARP Diet and Health Study compared four diet-quality metrics: the Healthy Eating Index, the Alternate Healthy Eating Index, the alternate Mediterranean diet, and DASH.
Each was inversely associated with all-cause, cardiovascular, and cancer mortality [3]. That cohort is an order of magnitude larger than this one, and its exposure is a food-frequency questionnaire rather than a single 24-hour recall. At the population level, the Global Burden of Disease dietary-risk analysis attributes a substantial fraction of global deaths to suboptimal diet composition [4]. That literature is built on foods or food groups, on repeated or long-recall-window assessment instruments, or on cohorts large enough to average out substantial within-person measurement noise.
What a single-recall, nutrient-level, data-driven decomposition should be expected to detect in a NHANES-sized cohort is a separate question.
The measurement-error literature is separate from, and rarely cross-referenced by, the dietary pattern–mortality literature. The National Cancer Institute’s OPEN biomarker study used doubly labeled water and urinary nitrogen biomarkers to show that self-reported energy and protein intake, including from 24-hour recalls, carry substantial random and person-specific systematic error [5]. Regression calibration uses a second, independent measurement, such as a repeat recall or a biomarker, to estimate the within-person to between-person variance ratio and de-attenuate the naive regression coefficient.
It is the standard correction for this problem. Its methodological basis runs from Rosner, Willett, and Spiegelman’s correction for logistic-regression relative risks [6] to the National Cancer Institute’s guidance for cohort studies [7]. NHANES itself administers a second-day recall in a subsample of cycles specifically to support this kind of calibration [11], yet dietary pattern–mortality papers built on the day-1 recall alone rarely report a reliability ratio for the derived pattern score.
Competing-risks methodology is likewise underused in nutritional epidemiology relative to its methodological maturity. The Fine–Gray subdistribution-hazard model [9] and its recommended reporting practice [10] are established tools for cause-specific outcomes that compete for the same follow-up time. A cause-specific Cox model run in isolation implicitly treats competing events as non-informative censoring, which can materially distort the estimated association [12]. Non-negative matrix factorization [13] is an established alternative to principal components analysis for deriving additive, non-negative loadings.
Its published dietary applications are almost all built on food groups. This paper applies it to a nutrient matrix and reports how the resulting components should be labeled.
3. Materials and Methods
3.1. Data Sources
This analysis pooled ten two-year cycles of NHANES: 1999–2000, 2001–2002, 2003–2004, 2005–2006, 2007–2008, 2009–2010, 2011–2012, 2013–2014, 2015–2016, and 2017–2018 [14]. NHANES is a complex, multistage probability survey of the civilian, non-institutionalized US population conducted by the National Center for Health Statistics (NCHS); the dietary component used here is the first-day 24-hour dietary recall (DR1TOT), collected in the mobile examination center and processed with the US Department of Agriculture’s Automated Multiple-Pass Method. Covariates were drawn from the demographics (DEMO), body measures (BMX), smoking questionnaire (SMQ), alcohol use (ALQ), and physical activity (PAQ) components.
Mortality follow-up came from the NHANES Linked Mortality File (LMF), 2019 public-use release, which links NHANES participants to the National Death Index through 31 December 2019 and provides vital status, follow-up time, and NCHS leading-cause-of-death codes (UCOD_LEADING) [15]. A second-day dietary recall (DR2TOT) is available for participants examined in the 2003–2018 cycles. It was used exclusively to estimate the within-/between-person variance components needed for regression calibration (Section 3.8). It was never used as an exposure, and never averaged with the day-1 recall, which keeps this analysis’s data and methods fully separated from the companion two-day-recall Antioxidants analysis described in Section 2.
3.2. Study Population and Subsample Inventory
Table 1 gives the sequential, reproducible construction of the analytic cohort, with every later sample size traced to a labeled row. Starting from 96,766 pooled day-1 dietary recall records, participants were restricted to those aged ≥ 20 years at screening (n = 52,398), with a reliable recall meeting minimum reporting criteria and a non-missing, positive dietary day-1 sample weight (WTDRD1; n = 48,740), a reported day-1 energy intake > 0 kcal (n = 48,734), and exclusion of 1395 participants pregnant at the examination (n = 47,339).
The final analytic cohort comprised the 47,257 participants successfully linked to the Linked Mortality File with non-missing follow-up time and vital status. Two further, non-nested subsamples are used downstream and are documented in Table 1 rather than left implicit: a complete-case subsample under the fully adjusted covariate set (age, sex, body mass index, current smoker, alcohol use, physical activity, poverty–income ratio; nmodel_complete_case = 40,396), used by every Cox, Fine–Gray, and gradient-boosted model that reports the fully adjusted covariate tier, excluding 6861 participants (14.5%) with missing body mass index (737), alcohol-use status (2617), poverty–income ratio (3991), current-smoker status (39), or physical activity (11); and a calibration sub-study restricted to the 2003–2018 cycles with a reliable second-day recall and positive reported day-2 energy intake (ncalibration_substudy = 34,176), used only to estimate the measurement-error variance components of Section 3.8, excluding 8447 participants from cycles that did not administer a second-day recall (1999–2000, 2001–2002) and a further 4634 (11.9% of the 2003–2018 subset) who completed only the first day or had an unreliable second-day recall.
The 14.5% missingness under the fully adjusted covariate set exceeds the 10% threshold that triggers a multiple-imputation sensitivity check (Section 3.10).
3.3. Nutrient-Density Construction and NMF Pattern Derivation
Twenty-six macro- and micronutrients were retained from the 43 nutrients DR1TOT reports, after excluding vitamin A, vitamin E, vitamin D, vitamin K, total sugars, choline, and the individual carotenoids because their variable definitions changed across the 1999–2018 window (vitamin A retinol equivalents versus retinol activity equivalents; vitamin E alpha-tocopherol equivalents versus alpha-tocopherol alone; vitamin D, choline, and total sugars not measured before 2017–2018 or 2001–2002). Pooling these across cycles would require treating non-equivalent analyte definitions as identical, which was not done.
The retained 26 nutrients (protein, carbohydrate, fiber, total fat, saturated fat, monounsaturated fat, polyunsaturated fat, cholesterol, calcium, phosphorus, magnesium, iron, zinc, copper, sodium, potassium, selenium, thiamin, riboflavin, niacin, vitamin B6, vitamin B12, total folate, vitamin C, caffeine, and alcohol) have identical variable names and definitions across all ten cycles. Each nutrient was expressed as a density per 1000 kcal of reported day-1 energy intake, then min–max scaled to the unit interval across the analytic cohort. Non-negative matrix factorization (NMF) [13] requires a non-negative input matrix, so min–max scaling was used in preference to z-scoring, which would introduce negative values.
The number of components k was selected from a candidate range 2–8 using two joint diagnostics, both computed at a fixed random seed (42): a reconstruction-error elbow (the smallest k at which the relative Frobenius-norm improvement to the next k fell below a pre-specified 5% threshold) and a bootstrap component-stability check (20 resamples at the full analytic n, matched components by the Hungarian algorithm on the loading-vector correlation, threshold 0.75). This diagnostic was run under three parameterizations of the same 26-nutrient matrix: the primary per 1000 kcal linear density described above, a non-energy-adjusted raw-intake matrix, and a log1p-transformed density matrix.
The three runs test whether the energy-adjustment step alone produces the low-rank structure. Under all three, no k in the tested range showed a reconstruction-error elbow, and bootstrap stability was uninformative for model selection because it remained high at every k (Section 4.2). The smallest tested rank, k = 2, was therefore retained on parsimony grounds, since every rank was equally, and near-maximally, stable. A diagnostic that finds no elbow shows that the reconstruction error falls smoothly across the tested range.
It is not proof that the matrix has no meaningful low-rank structure. Two further considerations favor the smallest rank in this particular representation. The input is 26 nutrients expressed per 1000 kcal, in which the macronutrient densities are constrained to trade off against one another, so the leading directions of variation are the ones a two-component factorization already recovers (Section 4.3). A factorization with more components also multiplies the pattern–outcome contrasts that the multiplicity correction has to cover, without adding structure that the loadings identify as interpretable.
Every result in this paper is conditional on this two-component representation, and the primary models were refit at k = 3 and k = 4 to show what that conditionality costs (Section 4.6). The rank is post hoc, because the pre-specified elbow criterion selected no rank. The three cause-specific outcomes were fixed in advance. The number of patterns, and with it the six pattern–outcome contrasts, was not. The input to this decomposition is 26 individual nutrients, and fat and carbohydrate density are structurally constrained to trade off against each other once expressed per kilocalorie.
The two components are therefore reported throughout this paper as macronutrient-dominant axes: a fat-dominant axis (pattern 1) and a carbohydrate-dominant axis (pattern 2). They are not empirically discovered dietary patterns in the sense used by the food-group-based literature of Section 2. Pattern scores (the NMF sample-loading matrix W) were standardized to per 1 SD unit, using the survey-weighted mean and standard deviation, before entry into every downstream regression model, so that reported hazard ratios refer to a 1 SD increase in the pattern score.
3.4. Outcomes
The primary outcomes were cause-specific mortality through 31 December 2019: heart-disease death (NCHS UCOD_LEADING code 001), cancer death (malignant-neoplasm code 002), and other-cause death (all other known causes among decedents, including cerebrovascular disease). The public-use Linked Mortality File releases only three cause codes for deaths in the 2015–2016 and 2017–2018 cycles: 001, 002, and 010 (all other causes). Cerebrovascular deaths (code 005) in those cycles are filed under 010 and cannot be separated. A cardiovascular outcome defined as code 001 or 005 would therefore be measured one way in the first eight cycles and another way in the last two.
Heart-disease death is the only cardiovascular category coded the same way in all ten cycles, so it is the outcome used here. A sensitivity analysis refits the broader heart-or-cerebrovascular outcome on the eight cycles 1999–2014, where code 005 is available (Section 4.6). These three cause groups are mutually exclusive and jointly exhaustive of all deaths in the analytic cohort, which is the structure a competing-risks model requires. Follow-up time was measured in years from the mobile examination center visit to death or administrative censoring at the LMF’s follow-up horizon.
3.5. Complex-Survey Design
NHANES is a complex, multistage probability sample, and its design was applied to every estimator in this article that targets a population quantity, including the machine-learning ensemble and its confidence interval. The pattern-derivation step is the exception, because a non-negative factorization of the nutrient-density matrix describes that matrix rather than estimating a population parameter, and where an equal-weight estimate is reported beside a design-weighted one, it is labeled as a sensitivity analysis. All design-based estimates account for the masked stratum identifier SDMVSTRA and primary sampling unit identifier SDMVPSU, using the dietary day-1 sample weight divided by 10 to reflect the pooling of the ten two-year cycles, per NCHS pooling guidance [16].
Following that guidance, records from 1999 to 2000 and 2001 to 2002 carry the four-year dietary weight WTDR4YR multiplied by 2, because the two-year 1999–2000 weights are controlled to a different census base, and records from 2003 to 2018 carry the two-year weight WTDRD1. Cluster-robust standard errors used a combined stratum-by-PSU identifier as the cluster variable, through a cluster_col argument with robust = True (Section 3.6 and Section 3.7). Where the model structure admits no analytic robust sandwich estimator, the interval is a design-aware jackknife, labeled as such at each point it appears (Section 3.7 and Section 3.9).
A cluster-robust sandwich standard error of this kind is not a full design-based variance estimator. It accounts for the within-PSU correlation that the first stage of sampling induces, because each cluster contributes one aggregated score to the estimator, but it does not use the stratification. The sandwich sums the squared cluster scores around zero rather than around their stratum means, so the masked strata enter only through the definition of the cluster identifier. Ignoring the stratification is expected to be conservative: between-stratum differences in the cluster scores are added to the variance instead of being removed from it.
That expectation is asymptotic, and not a guarantee in any one sample. It holds in these data, where the design-based standard error is the smaller of the two in all six contrasts, by 10% to 26% (Section 4.7). The stratified delete-1-PSU jackknife is the estimator that does use the stratification. It was run over all 301 units of the design, for all three outcomes, with no subsampling and no extrapolation (Section 3.7 and Section 4.7). The standard errors of the primary analysis are therefore cluster-robust, and the design-based jackknife is reported beside them to bound the difference.
3.6. Cause-Specific Cox Models
Cause-specific Cox proportional-hazards models were fit for each of the three mortality outcomes, with the two competing causes treated as censored. A cause-specific hazard model and a subdistribution-hazard model estimate different quantities, and censoring the competing events is the correct construction for the first of them, not a defect of it. The cause-specific hazard is the instantaneous rate of death from one cause among those still alive, which is the quantity an etiological reading of a diet–mortality association refers to.
The subdistribution hazard of Section 3.7 is the quantity that maps directly to the cumulative incidence of death from that cause while the other two causes are also acting, and that cumulative incidence is the target of this paper’s primary analysis. Both are reported, and neither makes the other invalid. Each outcome was fit under two covariate tiers so that the effect of adjustment is visible: a parsimonious model (both pattern scores plus age and sex; n = 47,257, since age, sex, and the pattern scores are complete for the entire analytic cohort) and a fully adjusted model (both pattern scores plus age, sex, body mass index, current-smoker status, alcohol-use status, physical activity, poverty–income ratio, and four race/ethnicity indicator variables; n = 40,396, the complete-case subsample of Table 1).
Both pattern scores were entered simultaneously (mutually adjusted), never one at a time, in every model in this paper that uses them. Models used CoxPHFitter (penalizer 0.001) with the normalized NHANES survey weight and a combined stratum-PSU cluster identifier, fit with robust = True to obtain an analytic cluster-robust sandwich standard error. Alcohol use was the questionnaire item “In any one year, have you had at least 12 drinks of any type of alcoholic beverage?” (ALQ100, ALD100, or ALQ101, 1999–2016); in 2017–2018 NHANES replaced it with past-12-month drinking frequency (ALQ121), and any drinking in the past year was used for that cycle.
3.7. Fine–Gray Competing-Risks Regression
The primary inferential model was a survey-weighted Fine–Gray subdistribution-hazard competing-risks regression [9] for each of the three mortality outcomes, with the two other causes as competing events, fit on the fully adjusted covariate tier (n = 40,396). The subdistribution hazard was estimated via the counting-process row-splitting augmentation used by the finegray() formulation [9,10]. Each subject contributes their own observed interval, with status equal to the event-of-interest indicator. Every subject who experienced a competing event is extended across a discretized yearly grid, with an inverse-probability-of-censoring (IPCW) weight, up to a per-cycle administrative-censoring horizon.
Censoring in this cohort is administrative: everyone alive is censored on 31 December 2019, so potential follow-up depends on the survey cycle, from about 20 years for 1999–2000 to 1–3 years for 2017–2018. The censoring distribution was therefore estimated by Kaplan–Meier separately within each cycle, as finegray() does when the cycle is a stratum. A single pooled censoring curve would fall at 2, 4, 6, and more years because the later cycles end there, and would wrongly down-weight early-cycle participants who were still under observation.
This augmented, IPCW-weighted long frame was fit with CoxPHFitter, using duration_col/entry_col in place of the start_col/stop_col/id_col interface. That fitter accepts a combined stratum-PSU cluster_col together with robust = True in a single fit (lifelines 0.30.3). The standard error is therefore an analytic PSU-clustered robust sandwich, with no jackknife refitting, subsampling, or extrapolation. The estimator is an approximation to the subdistribution hazard in two respects, and the size of each is measured. The augmentation places the extended risk intervals of subjects who experienced a competing event on a discrete grid, set to 12 months for the primary analysis; the same models were refit on 6-month, 3-month, and 1-month grids to measure how far the hazard ratios depend on that choice (Section 4.7).
The IPCW construction was checked against a non-parametric estimator: with no covariates in the model, the cumulative incidence implied by the augmented frame was compared with the Aalen–Johansen estimate for each outcome, at 1, 3, 5, and 10 years (Section 4.7). That comparison bears on the augmentation and the IPCW weights, which are what produce the cumulative incidence of a model with no covariates in it. It does not validate the adjusted coefficients of the primary analysis, and it carries no information about their standard errors, which come from the sandwich estimator of Section 3.5.
The adjusted coefficients are not benchmarked against a second Fine–Gray implementation, and are not described here as validated (Section 3.13). Their standard errors are benchmarked against the design-based jackknife described below. A second, design-based interval came from a stratified delete-1-PSU jackknife over all 301 PSU units in 148 strata. Each unit is deleted in turn, the fully adjusted model is refit on the units that remain, and the replicate coefficients are summed within strata around their own stratum means, which is what makes the estimator use the stratification.
No subsample and no extrapolation enter it. That interval is reported beside the analytic one (Section 4.7) as a benchmark for it. The interval the paper reads is the analytic sandwich, which comes from a single fit of each model. Nutrient densities are expressed per 1000 kcal. That takes the level of reported intake out of the exposure, but it does not remove total energy intake as a mortality confounder, and the retained axes reproduce the macronutrient composition (Section 4.12).
The fully adjusted model was therefore also refit with log total reported energy as an additional covariate (Section 4.6). Across all six pattern–outcome contrasts (two patterns × three causes), p-values were Holm–Bonferroni corrected [17]; both the raw and the adjusted p-value are reported for every contrast.
3.8. Reliability Estimation and Regression-Calibration Measurement-Error Correction
The reliability of each nutrient density and of each pattern score under a single day-1 recall was estimated from the calibration sub-study (Table 1), under a classical measurement-error model. That model carries four assumptions: an observed single-day value is the sum of a person’s usual value and a within-person deviation; that deviation has mean zero; it is independent of the usual value and of the covariates of the outcome model; and a person’s two recalls are independent replicates of the same usual value.
The first two assumptions are what make the correction below unbiased. A systematic difference between a first and a second recall violates them, and the size of that difference is reported in Section 4.9. Variance components were estimated under the NHANES two-day dietary weight WTDR2D, divided by ten for cycle pooling, so that they describe the US population rather than the achieved sub-sample. Their confidence interval comes from a delete-1-PSU jackknife over the same stratum and PSU identifiers used elsewhere in this paper.
The equal-weight estimate is reported alongside it. For each nutrient and each pattern score, the between-person variance (σ2between) and the within-person variance (σ2within, estimated from the day-1/day-2 discordance) give the reliability ratio λ = σ2between/(σ2between + σ2within), the share of one observed day’s variance that is between-person variance.
The two pattern scores enter the outcome model together and their within-person errors covary, so dividing each coefficient by its own reliability ratio is not sufficient: the error covariance mixes the two coefficients, and the ratio for one score carries no information about that mixing. The correction therefore used the matrix form of regression calibration. Write Σu for the within-person error covariance matrix of the two scores, estimated from the day-1 minus day-2 differences, and Σx for the covariance of the usual scores, obtained by subtracting half of Σu from the covariance of the two-day means.
Both were computed after residualizing the scores on the covariates of the fully adjusted model, because an adjusted coefficient attenuates against the variation in the exposure that the covariates leave. The reliability matrix is Λ = (Σx + Σu)−1 Σx, and the corrected coefficient vector is Λ−1 times the naive coefficient vector [6,7]. With uncorrelated errors Λ is diagonal and this reduces to dividing each coefficient by its own λ.
Matrix regression calibration in this form is exact for a linear outcome model. The Fine–Gray model is not linear in the exposure, so applying the correction to its log-hazard coefficients is a first-order approximation, and the error of that approximation is multiplied by the size of the correction. The diagonal entries of Λ−1 here are 3.22 and 2.60, so the correction roughly triples the naive coefficient and triples its own error with it. Section 4.9 measures that error against the refit described below.
The corrected interval is a Monte Carlo percentile interval over 20,000 draws, and it propagates two sources of uncertainty: the fitted coefficients, drawn from their cluster-robust sampling distribution with the covariance between the two pattern coefficients retained, and the reliability matrix, drawn from a 500-replicate PSU-cluster bootstrap of the calibration sub-study. The corrected interval is therefore not the naive interval rescaled. A second route does not depend on the matrix algebra. A predicted usual score was formed for each of the 40,396 participants of the fully adjusted covariate tier, from the same calibration model, and the Fine–Gray models were refit on those predicted scores.
That is regression calibration in its usual form (Section 4.9).
The correction addresses random within-person variation around a person’s usual intake. It does not address systematic misreporting, which two administrations of the same instrument cannot identify: under-reporting that is stable within a person is absorbed into the estimated usual value, and the bias it leaves is discussed in Section 5.4. The second-day recall (DR2TOT) was used only for these variance components and for the calibration function. It was never used as, or averaged into, the exposure of any substantive model in this paper.
3.9. Gradient-Boosted Survival Ensemble and SHAP Decomposition
A gradient-boosted survival ensemble (XGBoost [18], survival:cox objective, 300 trees, maximum depth 4, learning rate 0.05, subsample fraction 0.8, column-subsample fraction 0.8, fixed seed 42) was trained on all-cause mortality using the same 13 features as the fully adjusted Cox/Fine–Gray tier (both pattern scores, age, sex, body mass index, current-smoker status, alcohol-use status, physical activity, poverty–income ratio, and four race/ethnicity indicators; n = 40,396), with the pooled NHANES survey weight, rescaled to mean one, passed as the training-sample weight, because the survey design applies to every estimator in this analysis, the machine-learning model included.
The rescaling applies a single constant to every weight, so the relative weighting of participants is exactly that of the design, on the scale the other estimators in this analysis also use. Discrimination was summarized by Harrell’s concordance index (C-index), computed both naively (equal weighting) and under the NHANES design weight. The unweighted index uses every comparable pair. The weighted index is a Monte Carlo estimate over 200,000 randomly drawn pairs, because a design-weighted concordance over every comparable pair of 40,396 participants is not tractable here.
The draw is seeded, so every weighted concordance in this paper is computed on the same pair set and the comparisons below are paired. The design-aware 95% confidence interval was obtained by a full delete-1-PSU jackknife over every eligible PSU (no subsampling, since each replicate here is a cheap weighted-concordance recomputation rather than a full model refit), using the stratified jackknife variance estimator with a t-distribution interval (degrees of freedom = number of PSUs − number of strata).
Both of those concordance values are apparent quantities: the ensemble is evaluated on the same participants it was trained on. The jackknife interval describes the sampling variability of that apparent quantity under the survey design. It does not correct for the optimism of scoring a fitted model on its own training data, and no reweighting of the training sample can. Discrimination was therefore also estimated out of sample. The ensemble was refit under 10-fold cross-validation, with the folds grouped on the stratum-PSU cluster so that no participant is predicted by a model trained on another participant from the same primary sampling unit, and the out-of-fold predictions were pooled into one cross-validated concordance.
The same procedure was then run on a reduced feature set with the two pattern scores removed and the other eleven features unchanged. The difference between the two cross-validated concordances is the incremental discrimination the pattern scores supply, and its interval comes from the same delete-1-PSU jackknife applied to the paired difference (Section 4.10). Feature attribution used SHapley Additive exPlanations (SHAP) [19] with shap.TreeExplainer on the full training cohort, reporting global mean-|SHAP| feature importance. A SHAP value decomposes the prediction of one fitted model over one feature set.
It describes what that ensemble uses, not what causes mortality, and attribution is shared among correlated features, so the ranking is read here only for what it can support (Section 5.3). A SHAP ranking also cannot establish incremental predictive value, because it describes how one model divides credit among its own features rather than what that model would lose without them. The cross-validated comparison above answers that question; the ranking does not.
3.10. Multiple-Imputation Sensitivity
The fully adjusted covariate tier’s complete-case restriction (Table 1) drops 14.5% of the analytic cohort, above the 10% threshold that triggers this check. A multiple-imputation sensitivity analysis was run for the primary Fine–Gray pattern coefficients, using scikit-learn’s IterativeImputer, a chained-regression imputer equivalent to multivariate imputation by chained equations (MICE), with m = 5 imputations, seeds 42–46, and standard Rubin pooling of the resulting coefficient estimates across imputations.
3.11. Target-Leakage and Multicollinearity Audit
Every feature entering the Cox, Fine–Gray, and gradient-boosted models was checked against the target-leakage criterion of whether it is algebraically or definitionally downstream of the mortality outcome; none is (Section 4.11). Variance inflation factors (VIFs) were computed for the two pattern scores and all covariates in the fully adjusted tier to screen for multicollinearity.
3.12. Macronutrient-Share Baseline for the Pattern Axes
Section 4.2 reports that no reconstruction-error elbow appears at any tested rank, and that the two retained components are therefore best read as macronutrient-dominant axes rather than as discovered food-based patterns. That is a claim about what the factorization recovered, and it is testable directly. If it holds, the fat and carbohydrate shares of energy, both computable directly from the same recall, should reproduce the axes and whatever associations they carry.
Energy shares were computed with Atwater factors (fat 9 kcal/g, carbohydrate and protein 4 kcal/g) on the day-1 recall, and standardized per standard deviation under the survey design exactly as the pattern scores are (Section 3.3), so every hazard ratio is per SD and directly comparable across specifications. Two comparisons follow: the design-weighted correlation between each pattern score and each macronutrient share, and the Fine–Gray models of Section 3.7 refitted with three exposure sets: the two pattern axes, the fat and carbohydrate shares, and those two shares plus the protein share.
Covariates, cohort, competing events, and survey design are unchanged throughout; only the exposure block differs.
3.13. Software and Reproducibility
This is a secondary analysis of public-use data, so no instrument, reagent, kit, assay, cell line, or other commercial material was used by the present authors: every measurement in it was made by the National Center for Health Statistics and released in the NHANES public-use files. All analyses were implemented in Python 3.13 using pandas 2.2.3, numpy 2.4.2, scikit-learn 1.6.1 (https://scikit-learn.org, accessed on 1 August 2026), lifelines 0.30.3 (https://lifelines.readthedocs.io, accessed on 1 August 2026), xgboost 3.2.0 (https://xgboost.readthedocs.io, accessed on 1 August 2026) [18], shap 0.48.0 (https://shap.readthedocs.io, accessed on 1 August 2026) [19], scipy 1.16.3, statsmodels 0.14.6, matplotlib 3.10.8, pyreadstat 1.3.3, joblib 1.5.3, requests 2.32.5, and urllib3 2.6.3, with a fixed random seed of 42 propagated to every stochastic step (NMF initialization, bootstrap stability resampling, multiple-imputation seeding, XGBoost training, the reliability-matrix cluster bootstrap, and the Monte Carlo draws of the measurement-error correction).
None of these packages implements the Fine–Gray subdistribution-hazard estimator directly. It is built here from the counting-process augmentation of Section 3.7, on top of the lifelines Cox fitter, and checked against a non-parametric cumulative-incidence estimator (Section 4.7). The full pipeline covers NHANES ingestion, cohort construction, nutrient-density and NMF pattern derivation, cause-specific and Fine–Gray survival models, the grid and rank sensitivity analyses, the gradient-boosted ensemble, SHAP decomposition, the measurement-error correction, and figure and table generation. It is released as a formatted source-code listing in Supplementary File S1.
4. Results
4.1. Cohort Characteristics
Table 2 reports survey-weighted baseline characteristics for the n = 47,257 analytic cohort. Median age was 47.4 years (IQR 33.0–60.0), 51.2% were female, and the race/ethnicity distribution reflected the NHANES sampling design (68.7% non-Hispanic White, 11.2% non-Hispanic Black, 8.1% Mexican American, 5.4% other Hispanic, 6.7% other/multiracial). Median body mass index was 28.8 kg/m2 (IQR 24.0–32.2), 21.8% were current smokers, 75.2% reported at least 12 alcoholic drinks in some year, and 57.8% reported meeting any leisure-time physical activity. Median reported day-1 energy intake was 2159.5 kcal/day (IQR 1473.0–2659.0).
Over a survey-weighted median follow-up of 9.8 years (IQR 4.8–14.5), or 9.2 years (IQR 4.8–13.8) unweighted on the raw analytic sample, the cohort accrued 7629 deaths (11.8% survey-weighted all-cause mortality): 1980 heart-disease (2.9% survey-weighted), 1708 cancer (2.8%), and 3941 other-cause (6.1%) deaths, mutually exclusive by construction (Section 3.4).
4.2. No Reconstruction-Error Elbow: Macronutrient Axes, Not Discovered Dietary Patterns
Table 3 reports the model-selection diagnostic for the primary per 1000 kcal linear-density parameterization. Reconstruction error decreased smoothly and monotonically from 41.384 at k = 2 to 16.700 at k = 8, with relative improvement at every step (12.2–16.3%) well above the pre-specified 5% elbow threshold, so no rank in the tested range 2–8 constitutes an elbow. Bootstrap component stability was 1.000 at every k from 2 to 6 and 0.999 at k = 7–8, over 20 resamples at n = 47,257.
Stability is uninformatively high at every rank, because the large sample size means resampling barely perturbs the population-level NMF solution regardless of k.
Figure 1 plots this diagnostic. Table S1 (Supplementary Materials) reports the same diagnostic re-run on two alternative parameterizations of the identical 26-nutrient matrix, namely a non-energy-adjusted raw-intake matrix and a log1p-transformed density matrix, to test whether the per 1000 kcal energy adjustment itself was responsible for the absence of an elbow. It was not: under the raw-intake parameterization, relative improvement ranged 6.8–8.9% across k = 2–8 (still above 5% at every step), with stability as low as 0.829 at k = 7 but never below the 0.75 stability threshold; under the log-density parameterization, relative improvement ranged 9.9–14.4%, with stability never below 0.979.
Combining all three parameterizations, relative improvement stayed within 6.8–16.3% at every tested step and stability stayed at or above 0.829 (mostly ≥ 0.98). Three structurally different transformations of the same nutrient matrix all agree that it has no strong low-rank cluster structure at this sample size.
No elbow was found under any of the three parameterizations, so k = 2 was retained on parsimony grounds (Section 3.3), and the two resulting components are reported below as macronutrient-dominant axes rather than dietary patterns.
4.3. Pattern Composition
Table 4 reports the full 26-nutrient loading matrix, and Figure 2 displays it as a heatmap. Pattern 1’s largest loadings were total fat (0.253), monounsaturated fat (0.150), saturated fat (0.134), polyunsaturated fat (0.114), and protein (0.086); pattern 2’s largest loadings were carbohydrate (0.264), protein (0.112), fiber (0.107), iron (0.069), and thiamin (0.062). This loading structure is a fat-versus-carbohydrate macronutrient-composition split, not a food-based pattern. The two components load oppositely on the two macronutrients that jointly determine most of the energy density, which is close to mechanical under the per 1000 kcal normalization of Section 3.3.
Neither component isolates a coherent food-group signature, such as the shared elevation of vegetables, whole grains, and unsaturated fats characteristic of a Mediterranean-type pattern. Pattern 1 and pattern 2 are referred to as the fat-dominant and carbohydrate-dominant macronutrient axes, respectively, throughout the remainder of this paper.
4.4. Cause-Specific Cox Estimates Across the Two Covariate Tiers
Table 5 reports the dual covariate tiers (parsimonious: age and sex only; fully adjusted: age, sex, body mass index, current-smoker status, alcohol-use status, physical activity, poverty–income ratio, and race/ethnicity) for each cause-specific Cox model. In the parsimonious tier, both patterns were inversely associated with cancer and other-cause mortality, for example, other-cause pattern 1 at HR 0.82 (95% CI: 0.76–0.89, p < 0.001). Full covariate adjustment attenuated these associations substantially: other-cause pattern 1 to HR 0.90 (95% CI: 0.82–0.99, p = 0.037) and cancer pattern 1 to HR 0.92 (95% CI: 0.82–1.03, p = 0.131).
That pattern is what confounding by smoking, activity, and socioeconomic status in the age-and-sex-only model produces. The attenuation between the two tiers shows how much of the age-and-sex-only association is carried by smoking, activity, and socioeconomic position, which is why the fully adjusted tier is the one interpreted here. The Fine–Gray model of Section 4.6 is the primary analysis because of its estimand: the target is the cumulative incidence of each cause of death while the other two causes are also acting (Section 3.6).
These are unadjusted-for-multiplicity, single-model cause-specific results reported as a diagnostic complement. They estimate the cause-specific hazard rather than the subdistribution hazard, and none of these p-values have been Holm–Bonferroni corrected. The primary, multiplicity-corrected, competing-risks result is reported in Section 4.6.
4.5. Cumulative Incidence by Pattern Tertile
Figure 3 plots the non-parametric Aalen–Johansen cumulative-incidence function for each of the three mortality outcomes, stratified by tertile of the fat-dominant pattern score, unadjusted for any covariate. For all three outcomes, the three tertile curves track closely together across the full follow-up window, with no visually separable ordering by tertile. That is consistent with the near-null, non-significant adjusted associations reported in Section 4.4 and Section 4.6.
4.6. Fine–Gray Competing-Risks Results: The Primary, Multiplicity-Corrected Analysis
Table 6 reports the Fine–Gray subdistribution hazard ratios, with analytic PSU-clustered robust standard errors, for all six pattern–outcome contrasts, on the fully adjusted covariate tier (n = 40,396), together with the raw and Holm–Bonferroni-adjusted p-values. No contrast reached statistical significance after correction. The largest point-estimate departure from the null was the fat-dominant pattern’s association with other-cause mortality (subdistribution HR 0.92, 95% CI: 0.82–1.04, praw = 0.175), and its interval includes the null before any correction is applied.
Every contrast had a Holm-adjusted p-value of 1.000. Section 4.7 benchmarks these standard errors against a design-based jackknife that deletes every PSU unit of the design in turn, and finds them the wider of the two. This is the paper’s primary result: after accounting for the full covariate set, competing risks, PSU clustering, and multiplicity across all six pattern–outcome contrasts, no nutrient-density macronutrient axis was associated with cause-specific mortality in this cohort.
Figure 4 displays these six results as a forest plot. All six intervals cross the null at HR = 1.0.
Heart-disease death is the only cardiovascular category coded the same way in all ten pooled cycles, so it is the outcome of the primary analysis (Section 3.4). Table S4 (Supplementary Materials) refits the model on the eight cycles 1999–2014, in which cerebrovascular deaths are released separately, under three cause-of-death definitions. Across 1908 events, the broader heart-or-cerebrovascular outcome gave a subdistribution hazard ratio of 0.97 (95% CI: 0.88–1.07) for the fat-dominant pattern and 1.01 (95% CI: 0.92–1.11) for the carbohydrate-dominant pattern.
Across the 1585 heart-disease deaths among the same participants, the two figures were 0.97 (95% CI: 0.88–1.08) and 1.00 (95% CI: 0.91–1.11). Removing cerebrovascular deaths from the other-cause group left 0.93 (95% CI: 0.83–1.05) and 0.96 (95% CI: 0.87–1.06) across 2723 events. The two cardiovascular definitions agree to within 0.01 HR units on both patterns, and no contrast reached significance under any of the three, so the restriction to the one code that is comparable across all ten cycles does not account for the null result.
Nutrient densities are expressed per 1000 kcal, which takes the level of reported intake out of the exposure but does not remove total energy intake as a mortality confounder (Section 3.7). Table S2 (Supplementary Materials) refits the fully adjusted model with log total reported energy added as a covariate. No pattern hazard ratio moved by more than 0.027, and the largest movement was the heart-disease carbohydrate-dominant contrast, from 1.04 to 1.01; the other five moved by 0.008 or less.
No contrast approached significance in the energy-adjusted model, the smallest raw p-value being 0.174 for the other-cause fat-dominant contrast. Energy itself was associated with heart-disease mortality (subdistribution HR 0.89 per 1 SD increase in log kilocalories, 95% CI: 0.82–0.96, p = 0.004) but not with cancer mortality (0.96, 95% CI: 0.90–1.04) or other-cause mortality (0.97, 95% CI: 0.89–1.05). The pattern scores are therefore not acting as proxies for reported energy intake.
The primary analysis retains two components (Section 3.3). Table S3 (Supplementary Materials) repeats the full contrast structure at ranks 3 and 4, with Holm–Bonferroni correction applied within each rank. At rank 3 the additional axis loads on protein, phosphorus, and selenium; at rank 4, the fourth loads on polyunsaturated fat. Both are macronutrient-dominant, like the two retained axes, rather than food-based patterns. No contrast was significant after correction at either rank: none of the nine at rank 3, where the smallest adjusted p-value was 0.703 and the hazard ratios spanned 0.91 to 1.03, and none of the twelve at rank 4, where the smallest adjusted p-value was 0.182 and the hazard ratios spanned 0.90 to 1.03.
One rank-4 contrast, the polyunsaturated-fat axis against other-cause mortality, gave a subdistribution hazard ratio of 0.90 (95% CI: 0.83–0.98) at a raw p-value of 0.015, the only interval anywhere in this analysis that excludes the null before correction; it does not survive correction across the twelve contrasts that rank tests. The null result is therefore not a consequence of the two-component representation.
4.7. Sensitivity Analyses of the Competing-Risks Estimator
A design-based interval fits the same Fine–Gray coefficients with a stratified delete-1-PSU jackknife over all 301 PSU units in 148 strata (Section 3.7). Table S5 (Supplementary Materials) reports it for all six contrasts. The point estimates are those of Table 6, because the jackknife takes its estimate from the full-sample fit and uses the replicates only for the variance. The design-based standard error is smaller than the cluster-robust sandwich in every contrast, by 10% to 26%, which is the direction Section 3.5 predicts for an estimator that ignores the stratification.
For the other-cause fat-dominant contrast, the closest to the null, the analytic interval is 0.82 to 1.04 and the design-based interval is 0.85 to 1.01. Its raw p-value is 0.070 under the design-based variance against 0.175 in Table 6, and its Holm-adjusted p-value is 0.417 against 1.000. No contrast reaches significance under either variance, before or after Holm–Bonferroni correction. The interval the paper reads is therefore the wider of the two.
Every unit is deleted in turn, so the design-based variance needs no scaling, and the factor a subsample of the units would require is exactly one here. Table S6 (Supplementary Materials) gives the other-cause/fat-dominant-pattern confidence-interval half-width for jackknife subsamples of 30 to 90 PSU units, of the 301 available: 0.111, 0.116, 0.101, 0.093, and 0.087. Against the full design’s 0.080, a subsample of this design overstates the width and does not settle over that range. The sequence is not even monotone, rising from 30 to 45 units before falling.
Scaling a subsample’s variance by a uniform strata-count ratio is therefore not a substitute for deleting every unit, which is what Table S5 reports.
The augmentation of Section 3.7 places the extended risk intervals of subjects who experienced a competing event on a discrete grid, set to 12 months for the primary analysis. Table S7 (Supplementary Materials) refits the fully adjusted model on 6-month, 3-month, and 1-month grids for comparison. The largest movement in any contrast was 0.039 HR units, for the cancer fat-dominant contrast, which ran from 0.94 on the 12-month grid to 0.98 on the 1-month grid; the smallest was 0.006, for the heart-disease carbohydrate-dominant contrast.
Five of the six contrasts moved toward the null as the grid was refined, and the sixth moved 0.004 away from it. Every one of these movements is an order of magnitude smaller than the width of the corresponding interval in Table 6, so the choice of a 12-month grid does not determine the result.
The IPCW construction was checked against a non-parametric estimator. Table S8 (Supplementary Materials) compares the cumulative incidence implied by the augmented frame, fit with no covariates, against the Aalen–Johansen estimate at 1, 3, 5, and 10 years. The largest absolute difference was 0.00042 for other-cause mortality, 0.00018 for heart-disease mortality, and 0.00011 for cancer mortality. The augmentation therefore reproduces the non-parametric cumulative incidence to within about four parts in ten thousand at every horizon tested. What that agreement establishes is bounded.
Both quantities compared are cumulative incidences from a model with no covariates, so the comparison validates the augmentation and the IPCW weights and nothing beyond them. It does not validate the adjusted coefficients of Table 6, and it says nothing about their standard errors, which are cluster-robust rather than design-based (Section 3.5 and Section 3.7).
4.8. Multiple Imputation Reproduces the Complete-Case Estimates
Table S9 (Supplementary Materials) compares the complete-case Fine–Gray-adjacent coefficient (Section 3.10 uses the same fully adjusted covariate set) against the MICE-pooled estimate (m = 5 imputations) on the full n = 47,257 analytic cohort. Every pooled estimate fell within 0.02 HR units of its complete-case counterpart, the largest difference being the heart-disease fat-dominant contrast at 0.99 complete-case against 1.01 pooled, and the range across the five imputations was narrow for every contrast (for example, other-cause fat-dominant pattern: complete-case 0.92, MI-pooled 0.92, range 0.92–0.92).
The 14.5% complete-case exclusion is therefore very unlikely to be driving the null result of Section 4.6.
4.9. Regression Calibration: What a Single Recall Is Expected to Miss
The calibration sub-study (n = 34,176) estimated the day-1-recall reliability ratio at λ = 0.316 (95% CI: 0.298–0.335) for the fat-dominant pattern and λ = 0.352 (95% CI: 0.337–0.366) for the carbohydrate-dominant pattern, under the two-day dietary weight; the equal-weight estimates were 0.312 and 0.361. Between-person variation therefore accounts for 31.6% of the variance of one observed day’s fat-dominant score and 35.2% of the variance of one observed day’s carbohydrate-dominant score, and within-person day-to-day variation accounts for the rest.
A reliability ratio is a property of the observed single-day measurement. It is not the share of the true between-person variance that one recall recovers, and it is defined only under the measurement-error model of Section 3.8. Individual-nutrient reliability ratios ranged from 0.103 (copper) to 0.504 (alcohol), consistent with the pattern-level values sitting well within the range typically reported for single-recall nutrient reliability in the measurement-error literature [5,7]. Table S10 (Supplementary Materials) reports the variance components.
Two of the assumptions listed in Section 3.8 require the within-person deviation to have a mean of zero, so a systematic difference between a first and a second recall measures how far they fail. On the standardized day-1 scale, the mean day-1-minus-day-2 difference was +0.014 SD for the fat-dominant score and −0.107 SD for the carbohydrate-dominant score. The fat-dominant shift is negligible. The carbohydrate-dominant shift is not: a second recall returns a score about a tenth of a standard deviation higher than the first, and the classical model treats that as random variation, so the correction below does not remove it.
Table S11 (Supplementary Materials) applies the measurement-error correction of Section 3.8 to the Fine–Gray hazard ratios of Table 6. The estimated reliability matrix was not diagonal: its off-diagonal entries were 0.085 and 0.022, so each corrected coefficient draws on both naive coefficients and a per-score reliability ratio alone does not reproduce the correction. Every calibrated hazard ratio moved further from the null than its naive counterpart, as expected under attenuation correction, but every calibrated interval widened substantially relative to the naive interval, and none of them excludes the null.
The other-cause fat-dominant contrast, for example, moved from HR 0.92 (95% CI: 0.82–1.04) naive to HR 0.80 (95% CI: 0.57–1.10) calibrated: the point estimate moves from 8% to 20% below the null while the interval widens enough to keep covering it. The last column of Table S11 gives the marginal correction that divides each coefficient by its own reliability ratio, which returns 0.78 (95% CI: 0.54–1.12) for that contrast; the gap between the two columns is the part of the attenuation the error covariance carries.
The correction describes the direction and scale of the attenuation a single recall imposes rather than supplying a second estimate of the association. It is not Holm–Bonferroni corrected across the six contrasts, and the reliability matrix it uses is estimated from the 2003–2018 cycles alone (Section 5.4).
As a check that does not depend on the matrix algebra, the Fine–Gray models were refit on the predicted usual scores (Section 3.8), and Table S11 reports both routes for every contrast. They do not agree after rounding. The two corrected hazard ratios differ by 0.004 to 0.092 HR units across the six contrasts. The smallest gap is the other-cause fat-dominant contrast, where the matrix correction gives 0.80 and the refit 0.79. The largest is the heart-disease fat-dominant contrast, where the matrix correction gives 0.95 and the refit 1.04.
Three things produce that gap, and the first is the largest. The matrix correction is exact only for a linear outcome model, so on a log-hazard scale it is a first-order approximation whose error is multiplied by the correction factor, and that factor is about three here (Section 3.8). The refit is also not estimating quite the same quantity: it substitutes a predicted usual score, whose variance is smaller than the usual score’s by whatever the calibration model fails to explain, while the matrix route rescales the coefficients of a fit on the observed score.
And the two routes diverge most where the naive coefficient is closest to zero. The heart-disease fat-dominant contrast is that case. Its naive hazard ratio is 0.99, so almost the whole of its corrected value comes from the error covariance with the other pattern score, and the two routes carry that cross term differently enough to place the corrected estimate on opposite sides of the null. The gap is 0.09 HR units against a corrected interval running from 0.72 to 1.24, so it does not change what the contrast supports.
It is too large to be rounding, and Table S11 therefore reports both routes side by side rather than one as a confirmation of the other.
This is a further reason to read the corrected estimates as a measure of the attenuation a single recall imposes rather than as a second set of effect estimates. The day-1-minus-day-2 shift of −0.107 SD in the carbohydrate-dominant score is another. That shift violates the zero-mean assumption the correction rests on; the correction does not remove it, and the carbohydrate-dominant score enters the correction of both coefficients through the error covariance. The corrected estimate for the fat-dominant axis therefore carries a systematic component that the classical model treats as random.
The refit is reported for the comparison only: its interval conditions on the fitted calibration model instead of propagating that model’s uncertainty, which the Monte Carlo interval of Table S11 does.
4.10. Gradient-Boosted Ensemble and SHAP: An Age Model, Not a Diet Model
The gradient-boosted survival ensemble reached an apparent, in-sample naive (unweighted) C-index of 0.869 and an apparent survey-design-weighted C-index of 0.889 (95% CI: 0.878–0.900, full delete-1-PSU jackknife; Table 7). Both are computed on the participants the ensemble was trained on, and the interval is the design-based sampling variability of that apparent quantity rather than a correction for its optimism (Section 3.9). The weighted estimate exceeding the naive one is an expected consequence of training the ensemble under the same NHANES design weight used to evaluate it.
NHANES intentionally oversamples certain subgroups, who consequently carry lower per-person design weights, so a model trained under this weighting is optimized toward the higher-weight, population-representative segments that the weighted evaluation metric then also emphasizes. It is not evidence that accounting for the survey design reveals better generalization than the sample suggests; the naive, unweighted C-index is the more conservative summary of raw discrimination.
Cross-validation measures optimism, and a comparison with and without the two pattern scores answers directly whether they add discrimination at all. Table S12 (Supplementary Materials) reports both feature sets under both scorings. Under 10-fold cross-validation with the folds grouped on the stratum-PSU cluster, the weighted C-index falls from an apparent 0.889 to 0.852 (95% CI: 0.839–0.866) and the unweighted index from 0.869 to 0.852, so the apparent values are optimistic by 0.037 and 0.017 respectively. Removing the two pattern scores and refitting the same ensemble on the remaining eleven features gives a cross-validated weighted C-index of 0.851 (95% CI: 0.836–0.866).
The paired difference between the two feature sets is 0.0014 (95% CI: −0.0034 to 0.0062), and on the unweighted index, which uses every comparable pair rather than a sample of them, it is 0.0001. The same difference computed on the training data is 0.0098 (95% CI: 0.0051–0.0145), which excludes zero. The two pattern scores therefore add discrimination to this ensemble when it is scored on the participants it was fitted to, and none that survives cross-validation.
Table 8 and Figure 5 report the SHAP decomposition of this ensemble’s predictions. Age dominates every other feature by a wide margin (mean |SHAP| 1.405), followed by poverty–income ratio (0.252), current-smoker status (0.212), sex (0.206), body mass index (0.148), and physical activity (0.133). The two pattern scores rank seventh and eighth of thirteen features (carbohydrate-dominant pattern 0.077, fat-dominant pattern 0.074), roughly 18 to 19 times smaller than age’s contribution. The ensemble’s C-index is therefore evidence that the full covariate set, dominated by age and standard demographic and behavioral covariates, predicts mortality well.
That is an unsurprising finding, consistent with the general survival literature in which age is reliably the dominant mortality predictor. It is not evidence that the dietary patterns predict mortality. The cross-validated comparison above shows that they add no discrimination the data support, and the SHAP ranking shows where the discrimination that is there comes from.
4.11. Target-Leakage Audit and Multicollinearity
Table S13 (Supplementary Materials) documents the target-leakage audit: every feature entering the Cox, Fine–Gray, and gradient-boosted models is a baseline measurement collected at or before the dietary-recall visit, prior to the start of mortality follow-up, and none is algebraically or definitionally downstream of the mortality outcome. Table S14 (Supplementary Materials) reports variance inflation factors; the highest was 3.559 (carbohydrate-dominant pattern), well below the conventional VIF > 5 concern threshold, so multicollinearity between the two pattern scores and the covariate set is not a material issue for the models reported above.
4.12. The Macronutrient Baseline Reproduces the Pattern Axes
The first pattern axis is the fat share of energy. Its design-weighted correlation is 0.991, so 98.2% of the axis’s variance is accounted for by a single quantity requiring no factorization at all. The second axis is a fat-carbohydrate contrast rather than an independent dimension, correlating 0.789 with the carbohydrate share and −0.810 with the fat share. The correlations quantify the macronutrient-dominant loading structure reported in Section 4.3.
The mortality associations follow the same pattern. Comparing the first pattern axis with the fat share of energy under otherwise identical models gives, per SD, for heart-disease death, 0.991 (95% CI: 0.900–1.092) against 0.958 (95% CI: 0.886–1.036); for cancer death, 0.938 (95% CI: 0.855–1.030) against 0.952 (95% CI: 0.882–1.027); for other-cause mortality, 0.923 (95% CI: 0.859–0.992) against 0.934 (95% CI: 0.883–0.987). These intervals come from the model-based standard error rather than the cluster-robust sandwich, so that the two exposure sets are compared on identical footing, and they are narrower than the intervals of Table 6 for that reason.
Every contrast agrees in direction and magnitude, and each pair’s intervals overlap substantially.
That includes the contrast closest to significance before multiplicity correction, the first axis against other-cause mortality at 0.923, which the fat share reproduces at 0.934 (95% CI: 0.883–0.987). The non-negative matrix factorization therefore adds nothing beyond the macronutrient budget: every association attributed to the derived axes is available from the macronutrient shares directly.
The reliability and regression-calibration results of Section 4.9 and Section 3.8 are properties of the underlying dietary measurement, not of the factorization, so they transfer unchanged to any analysis using macronutrient shares. Read together with the gradient-boosted result in Section 4.10, which found an age model rather than a diet model, the picture is consistent: in these data a single 24-hour recall supports neither a richer dietary representation than the macronutrient budget nor a detectable pattern–mortality association beyond it.
5. Discussion
5.1. Principal Findings
In 47,257 US adults with 7629 deaths and a median follow-up of 9.2 years, no NMF-derived nutrient-density pattern score was associated with cause-specific mortality after Fine–Gray fitting with analytic PSU-clustered robust standard errors and Holm–Bonferroni correction across all six pattern–outcome contrasts (Table 6). The intervals, and not the number of deaths, describe how precise this null is. The fully adjusted model used 40,396 participants and 6290 deaths across the three cause categories (1650 heart-disease, 1460 cancer, and 3180 other-cause), and the six subdistribution hazard ratios have 95% confidence limits no lower than 0.82 and no higher than 1.15 per SD.
Associations outside that range are not compatible with these data; smaller ones remain compatible with them. A multiple-imputation sensitivity analysis (Table S9) gives no sign that missing covariate data explain the result. The reliability of the exposure bounds what any death count can imply about precision here, and it is low (Section 4.9). Two further findings qualify how this null result should be read. First, the two NMF components are macronutrient-dominant axes, not newly discovered dietary patterns.
No elbow was found under three separate parameterizations of the input nutrient matrix (Section 4.2), and the loading structure is a near-mechanical fat-versus-carbohydrate trade-off rather than a coherent food-based signature (Section 4.3). Second, between-person variation accounts for only 31.6% and 35.2% of the variance of the single observed day these pattern scores are built from (Section 4.9). Regression calibration moved the point estimates away from the null and substantially widened the corresponding intervals. The primary, multiplicity-corrected conclusion therefore rests on the naive hazard ratios of Table 6, with the calibrated ones of Table S11 as the measure of the attenuation.
5.2. Why Two Macronutrient Axes, Not Dietary Patterns
The distinction drawn in Section 4.2 and Section 4.3 bears directly on how the components may be read. The dietary pattern–mortality literature this paper is compared against in Section 2 [1,2,3,4] derives its patterns from co-occurring foods or food groups. The Mediterranean pattern is a joint elevation of vegetables, fruit, whole grains, fish, and olive oil, not a single macronutrient axis. Its inverse mortality associations are read as the health effects of that combination of foods.
This analysis’s input was 26 individual nutrients, and per 1000 kcal energy adjustment structurally constrains fat and carbohydrate density to trade off against each other. A fat-versus-carbohydrate split is close to the expected behavior of NMF on that input, and not evidence of a newly discovered whole-diet structure. Three independently tested parameterizations reached the same no-elbow conclusion: linear density, raw non-energy-adjusted intake, and log-transformed density (Section 4.2). That rules out the energy-adjustment step as an artifactual explanation for the absence of structure.
An NMF or PCA decomposition built on nutrient rather than food inputs carries a comparable risk of recovering a macronutrient axis rather than a food-based pattern, which the same elbow-and-stability diagnostic will detect. Pattern-derivation methods are already applied within NHANES itself. A recent factor-loading analysis of the same recall instrument derived four protein-intake patterns among adults with type 2 diabetes [20]. Its input was restricted to protein-contributing foods, a narrower and more food-adjacent basis than the full 26-nutrient panel decomposed here.
The scope of the input matrix, rather than the decomposition method, determines whether a food-based pattern is recoverable. How far that expectation carries is bounded by what was tested. The three parameterizations share one nutrient panel, one scaling family, and one cohort, so what they support is that the macronutrient axes are not a product of the energy-adjustment step. A different nutrient panel, a different scaling, or a factorization restricted to sub-panels of nutrients could behave differently, and the absence of an elbow reported here is a property of this matrix at this sample size rather than a general property of nutrient-level NMF.
5.3. The Ensemble Is an Age Model
The gradient-boosted ensemble’s apparent C-index of 0.889 (95% CI: 0.878–0.900) is a strong discrimination result by conventional standards. It is also optimistic: 0.852 (95% CI: 0.839–0.866) under cross-validation. What remains after that correction does not come from the dietary patterns. Removing both pattern scores moves the cross-validated weighted index by 0.0014 (95% CI: −0.0034 to 0.0062) and the cross-validated unweighted index by 0.0001 (Section 4.10, Table S12). Incremental predictive value is measured by refitting the ensemble without the pattern scores.
A feature-attribution ranking answers a different question: how one fitted model divides credit among its own features. The SHAP decomposition locates the discrimination that remains (Section 4.10, Table 8, Figure 5). The same feature-attribution framework has been extended to time-dependent survival-model outputs [21]. Age’s mean |SHAP| exceeds those of both pattern scores by a factor of roughly 18 to 19, and the discrimination is attributable to age and, secondarily, to poverty–income ratio, smoking status, sex, body mass index, and physical activity.
These are the same covariates the general survival literature already identifies as the dominant mortality predictors [12]. The C-index therefore measures how far mortality is predictable from age and standard demographic and behavioral covariates in this cohort, not how far it is predictable from diet. The weighted C-index (0.889) exceeding the naive one (0.869) has a specific explanation. Training and evaluating under the same NHANES design weight favors the higher-weight, population-representative segments of the sample at both stages.
The weighted value is therefore not the more reassuring of the two. Two limits bound how far the attribution itself can be read. A SHAP value explains one fitted model, so a small attribution means that this ensemble did not use the feature, not that the quantity is unimportant in nature. And attribution is divided among correlated features, so age, which correlates with several covariates here, holds attribution that a differently specified model could distribute differently. Neither limit affects the conclusion that the pattern scores do not carry this ensemble’s discrimination.
That conclusion rests on the cross-validated comparison.
5.4. What the Calibration Result Does and Does Not Tell Us
The reliability ratios λ = 0.316 (fat-dominant pattern) and λ = 0.352 (carbohydrate-dominant pattern) mean that roughly a third of the variance of one observed day’s pattern score is between-person variance, the rest being within-person day-to-day variation. The ratio is a property of the single-day measurement; it is not the share of the true between-person variance that one recall recovers (Section 4.9). These ratios are directly reusable. Any single-recall NHANES nutrient-density-pattern analysis built on this or a similar variable set should expect naive hazard ratios attenuated toward the null by a comparable factor.
The calibrated estimates of Table S11 are a concrete correction to apply or to benchmark against. The calibrated point estimates moved uniformly away from the null, as regression-calibration theory predicts, and the largest movement is the other-cause fat-dominant contrast (HR 0.80, 95% CI: 0.57–1.10), whose interval still covers the null. This movement came with substantially wider intervals. Two sources of variability enter the corrected interval that do not enter the naive one: the inverse reliability matrix amplifies the sampling variability of the fitted coefficients, and the reliability matrix is itself estimated and contributes its own variability (Section 3.8).
The calibrated intervals in Table S11 are therefore wider for a structural reason, not because the calibration procedure is less precise than the naive analysis. Two further qualifications belong with those intervals. First, the matrix correction and the predicted-usual-score refit do not agree to rounding. They differ by up to 0.09 HR units, and for the heart-disease fat-dominant contrast they place the corrected estimate on opposite sides of the null, for the reasons set out in Section 4.9. Second, the carbohydrate-dominant score’s day-1-minus-day-2 shift of −0.107 SD violates the zero-mean assumption the correction rests on, the correction cannot remove it, and that score enters the correction of both coefficients through the error covariance.
Both are reasons to read the corrected values as the scale of the attenuation rather than as a second set of effect estimates. Two limitations of this calibration must be stated even after it is applied, not treated as resolved by it. First, the reliability matrix is estimated from the 2003–2018 cycles, the only ones that administered a second recall, and is then applied to a cohort that also includes the 1999–2000 and 2001–2002 cycles. The correction assumes the within-person variance structure of one day’s reporting is the same in those two earlier cycles as in the later ones, and no second recall exists in them to check it.
Second, and more fundamentally, classical regression calibration corrects for random, unbiased day-to-day variation around a person’s true usual intake; it does not, and cannot, correct for the possibility that a single day’s recall (day 1, always collected first) is systematically unrepresentative of usual intake in ways that differ from a randomly selected day. For example, if day-1 collection coincides more often with a particular day of the week or a particular reporting context than a person’s typical eating pattern does.
The residual bias has a direction. A reliability ratio estimated from two administrations of the same instrument is an upper bound on the reliability of a single day against true usual intake, because reporting error that is stable within a person is absorbed into the between-person component rather than the within-person one. The correction built on that ratio is therefore a lower bound on the attenuation, and the calibrated estimates of Table S11 sit closer to the naive ones than a correction calibrated against a reference instrument would place them.
A single 24-hour recall, even after calibration, remains a materially weaker instrument for usual-intake exposure than a food-frequency questionnaire, multiple non-consecutive recalls, or a biomarker-validated protocol, and this limitation does not disappear once the naive hazard ratio has been de-attenuated. The limitation is not specific to NHANES. A recent scoping review of national dietary-survey methodology across multiple countries found that single-day 24-hour recalls, with or without a supplementary questionnaire, remain the dominant instrument in large-scale national nutrition surveys [22].
Repeated recalls and food-frequency questionnaires are more burdensome to administer at survey scale. The reliability quantified here is therefore a constraint this literature broadly shares.
5.5. Comparison with Prior Dietary Pattern–Mortality Literature
The consistent inverse associations reported for a priori diet-quality indices and for the Mediterranean pattern [2,3] are not directly comparable to, and are not contradicted by, this paper’s null result, for three structural reasons. First, those studies use food-based exposure constructions (index components or factor-analytic loadings built on food groups), while this analysis’s NMF decomposition, applied to individual nutrients, recovered macronutrient axes instead (Section 5.2). That is a different exposure by construction. Second, several of the largest positive findings [3] come from cohorts an order of magnitude larger than this one.
They are built on food-frequency questionnaires, which integrate habitual intake over a much longer window than a single 24-hour recall, and are therefore far less attenuated by the within-person measurement error quantified in Section 4.9. Third, the present analysis is a competing-risks decomposition into three cause groups rather than an all-cause mortality analysis, and the strongest signal here (other-cause mortality, fat-dominant pattern) sits in a residual cause-of-death category that most of the comparator literature does not report separately. None of this implies the prior literature is wrong.
A single-recall, nutrient-level, data-driven exposure in a NHANES-sized cohort is a different instrument from the ones that the literature is built on, and by the calibration evidence of Section 4.9, a considerably noisier one. Three recent analyses sharing part of this paper’s data or framing illustrate the point further. A 2025 NHANES 1999–2018 analysis of dietary fatty acid intake and cause-specific mortality drew on 49,884 adults from the same pooled cycles, using a two-day-recall average. It found saturated fatty acid intake positively, and polyunsaturated fatty acid intake inversely, associated with mortality [23].
Its exposure is pre-specified and single-nutrient, and it rests on two recall days. Both features attenuate less than this paper’s day-1-only pattern scores. A 2024 analysis of a sustainability-weighted a priori dietary index found an inverse association with all-cause mortality restricted to younger US adults [24], again a pre-specified, food-based index rather than a data-driven nutrient decomposition. A 2025 analysis restricted to adults with diabetes modeled dietary nutrients directly, rather than food-based patterns, against all-cause and cardiovascular mortality [25].
That is the closest exposure-construction analogue to the present paper among these three, and it was conducted in a higher-baseline-risk subgroup rather than the general adult population analyzed here. None of the three reports a reliability ratio for its exposure or a Holm–Bonferroni-corrected competing-risks estimate.
5.6. Relation to Prior Work by This Group
This paper is restricted to the day-1 dietary recall across all ten NHANES 1999–2018 cycles, using the dietary day-1 weight WTDRD1 divided by 10; it never reads DR2TOT or WTDR2D as an exposure variable. Its window is set by the coverage of the 2019 Linked Mortality File.
5.7. Strengths
This analysis combines several design features that are individually established but rarely reported together in one dietary pattern–mortality paper. The number of NMF components is selected by a stated diagnostic, run under three parameterizations of the nutrient matrix. The competing-risks framework matches three cause-specific outcomes competing for the same follow-up time, and its standard error is an analytic PSU-clustered robust one. Holm–Bonferroni correction covers all six pattern–outcome contrasts of the primary competing-risks analysis. The measurement reliability of the exposure is quantified from a sub-study, and the measurement-error correction uses the error covariance of the two scores.
A cross-validated comparison with and without the pattern scores tests whether they add discrimination to the machine-learning ensemble, and a SHAP decomposition locates the discrimination that is there. The multiple-imputation, grid, and rank analyses are each labeled as sensitivity analyses and kept separate from the primary estimate, and the design-based jackknife is reported as a benchmark for the primary interval rather than as an alternative to it. NHANES’s ten pooled cycles and 47,257-participant analytic cohort give narrower design-based intervals than a single cycle or a smaller cohort would, which is what makes the range of associations this analysis can exclude worth reporting.
5.8. Limitations
Beyond the single-recall measurement-error limitation discussed at length in Section 5.4, several further limitations apply. The exposure is measured once, at a single survey visit, and the outcome is subsequent mortality. This design supports association, not causal inference. No claim in this paper should be read as implying that changing a person’s dietary pattern would change their mortality risk. Smoking status, alcohol use, and physical activity are self-reported, and subject to social-desirability and recall bias. The alcohol item itself changed in 2017–2018, from drinking at that level in any one year to drinking in the past year (Section 3.6).
Either source could residually confound the fully adjusted models, even after the attenuation seen between the parsimonious and fully adjusted tiers in Table 5. The fully adjusted covariate tier excludes 14.5% of the analytic cohort by complete-case restriction; the multiple-imputation sensitivity analysis (Table S9) suggests this is not driving the null result, but it does not rule out missingness that is informative conditional on the observed covariates. The standard errors of the primary analysis are cluster-robust rather than design-validated.
The sandwich estimator accounts for the within-PSU correlation of the first sampling stage but does not use the stratification, and no established Fine–Gray implementation was available to benchmark either the adjusted coefficients or their variance (Section 3.5, Section 3.7, and Section 3.13). The agreement with the Aalen–Johansen estimator reported in Section 4.7 bears on the IPCW augmentation of a model with no covariates and on nothing else. Ignoring the stratification is expected to be conservative rather than anticonservative, so the intervals of Table 6 are more likely to be too wide than too narrow.
The design-based jackknife of Section 4.7 confirms that, here, its standard error is the smaller of the two in all six contrasts, by 10% to 26%. The variance is benchmarked; the adjusted coefficients are not. No available Fine–Gray implementation accepts this design together with this augmentation (Section 3.13). An apparent concordance statistic is optimistic. The gradient-boosted ensemble is labeled apparent, and the cross-validated values of Table S12 are what the Discussion reads. The Fine–Gray subdistribution-hazard model assumes the censoring mechanism used to build the IPCW-weighted augmentation is correctly specified; a materially misspecified censoring model would bias the subdistribution hazard estimates in a direction this analysis has not separately quantified.
This paper fits a separate Fine–Gray model for each of the three cause-specific outcomes, as is standard in this literature. Separately fit Fine–Gray models are not guaranteed to yield cumulative incidence functions that sum coherently to at most one across causes for a given covariate profile [26]. This paper did not verify that property, and a fully joint competing-risks model would guarantee it by construction. The design-based jackknife of Table S5 deletes every unit of the design, so it needs no scaling and carries no extrapolation. Table S5 is the benchmark for Table 6’s intervals, not a cross-check on its point estimates.
An equivalent Rao–Wu–Yue–Beaumont bootstrap replicate-weight design would reach the same variance without one refit of the model per unit. NHANES is representative of the non-institutionalized US civilian population. This analysis’s null result should not be extrapolated to other national dietary patterns, food-fortification regimes, or health systems without independent replication. Finally, this analysis draws on the same pooled NHANES participant sample that supports other analyses by this research group. Those analyses address different outcomes, different exposures, and different methods, and none shares a result with the present study, but the sampling frame, the survey design variables, and the mortality linkage are common to them.
Estimates derived from one national sample by one group should therefore not be treated as mutually independent replications.
5.9. Future Work
Three concrete extensions follow directly from this paper’s findings. The first is to repeat the pattern-derivation step on food groups rather than individual nutrients, using, for example the What We Eat in America food-category classification already linked to NHANES dietary recalls. That would test directly whether a food-based NMF or factor-analytic decomposition recovers a structure closer to the established Mediterranean/DASH/Western pattern taxonomy than the macronutrient axes reported here. The second is to replace the second recall with a reference instrument that does not share its reporting error, such as doubly labeled water for energy or urinary nitrogen for protein.
That is the only way to separate the systematic misreporting left in place by the correction of Section 3.8 from the random within-person variation it removes. The third is to replace the delete-1-PSU jackknife with an NCHS-recommended replicate-weight bootstrap, which would give a design-based variance without one refit of the model per unit, and would extend to the quantities a delete-one jackknife estimates poorly, such as a quantile or a ratio of two correlated estimates.
The reliability estimation itself carries over to any cohort whose dietary instrument is administered twice in some subset of participants, which is the only design requirement. The second administration need not be contemporaneous with the first and need not cover the whole cohort, and the variance components are estimable from as few as two replicates per person. Three quantities are worth reporting whenever a single-recall exposure enters a survival model. The first is the pair of variance components, estimated under the survey design rather than unweighted, since the unweighted estimate describes the achieved sub-sample.
The second is the reliability ratio with an interval, because a point estimate of a variance ratio from a sub-study invites a precision it does not have. The third is the within-person error covariance matrix, which is what the attenuation of an adjusted coefficient depends on once more than one error-prone exposure is in the model, and which a per-score reliability ratio does not supply.
6. Conclusions
The cohort comprised 47,257 US adults with 7629 deaths over a median follow-up of 9.2 years. Non-negative matrix factorization of 26 harmonized nutrient densities found no reconstruction-error elbow under any of the three tested parameterizations. The two retained components are therefore macronutrient-dominant axes, one fat-dominant and one carbohydrate-dominant, and not newly discovered food-based dietary patterns. Between-person variation accounted for 31.6% and 35.2% of the variance of a single observed day’s score for the two pattern axes. No association with cause-specific mortality reached significance under Fine–Gray subdistribution-hazard fitting with analytic PSU-clustered robust standard errors and Holm–Bonferroni correction across all six pattern–outcome contrasts.
The strongest point estimate was other-cause mortality against the fat-dominant axis: a subdistribution HR of 0.92 (95% CI: 0.82–1.04) at a Holm-adjusted p-value of 1.000. Regression calibration moved every point estimate further from the null and widened every interval substantially. It measures the scale of the measurement-error attenuation without resolving it. A single recall, even calibrated, remains a materially weaker exposure instrument than a repeated-measures or food-frequency protocol. A gradient-boosted survival ensemble reached an apparent C-index of 0.889 (95% CI: 0.878–0.900) and a cross-validated one of 0.852 (95% CI: 0.839–0.866).
Removing both pattern scores moved the cross-validated value by 0.0014 (95% CI: −0.0034 to 0.0062). SHAP decomposition attributed the ensemble’s predictions almost entirely to age, 18 to 19 times the contribution of either pattern score. That discrimination is therefore not independent evidence of a diet–mortality association.
Two recommendations follow. Both are drawn from one instrument, one nutrient panel, and one national survey, and they are stated for that setting. First, a nutrient-density or dietary-pattern exposure derived from a single 24-hour recall should carry a reported measurement reliability when it enters a mortality analysis. Single-recall assessment is not an adequate proxy for usual intake by default, and the calibration figures of Table S11 are a reusable reference point. Second, an NMF or comparable decomposition applied to individual nutrients, on a panel of this breadth and with energy adjustment of this kind, should be expected to recover macronutrient trade-off axes.
An elbow-and-stability check under more than one parameterization is what separates those axes from a “dietary pattern” in the food-based sense.
Acknowledgments
We thank the National Center for Health Statistics for maintaining and making available the NHANES public-use files and the Linked Mortality File. No individuals other than the named authors contributed to this manuscript.
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.
Supplementary Materials
The following supporting information can be downloaded at https://www.mdpi.com/article/10.3390/nu18223734/s1, Supplementary File S1: Reproducible Analysis Code, a formatted listing of the complete source code (NHANES ingestion, cohort construction, nutrient-density and NMF pattern derivation, cause-specific and Fine–Gray survival models, the grid and rank sensitivity analyses, the gradient-boosted ensemble, SHAP decomposition, the measurement-error correction, and figure/table generation) for the analysis pipeline, released under the MIT license. Supplementary File S2: Supplementary Tables, containing the diagnostic, benchmark, and sensitivity tables supporting, but not central to, the main text: Table S1: NMF model-selection diagnostic under two alternative parameterizations of the 26-nutrient matrix; Table S2: Fine–Gray hazard ratios from the fully adjusted model with log total energy intake added as a covariate; Table S3: every pattern–outcome contrast at NMF ranks above the rank used for the primary analysis; Table S4: Fine–Gray hazard ratios under three cause-of-death definitions on the eight cycles that release cerebrovascular deaths separately; Table S5: Fine–Gray subdistribution hazard ratios with the design-based stratified delete-1-PSU jackknife interval over all 301 PSU units; Table S6: the same confidence-interval half-width for subsamples of the units, against the full design; Table S7: sensitivity of the Fine–Gray hazard ratios to the grid of the IPCW augmentation; Table S8: cumulative incidence from the augmented counting-process frame against the Aalen–Johansen estimate; Table S9: multiple-imputation (MICE) sensitivity analysis for the Fine–Gray-adjacent pattern coefficients; Table S10: variance components and reliability ratio of a single day-1 pattern score; Table S11: measurement-error correction of the day-1-recall Fine–Gray hazard ratios, by the matrix route and by a refit on predicted usual scores; Table S12: apparent and cross-validated discrimination of the gradient-boosted ensemble with and without the two pattern scores; Table S13: target-leakage audit of every model feature; Table S14: variance inflation factors for the pattern scores and covariates.
Author Contributions
Conceptualization, I.N. and M.L.; methodology, M.K., I.N. and M.L.; software, M.K. and I.N.; validation, M.K., I.N. and H.K.; formal analysis, I.N.; investigation, I.N.; resources, M.L.; data curation, I.N.; writing—original draft preparation, M.K. and I.N.; writing—review and editing, M.K., M.L., V.K. and H.K.; visualization, I.N. and V.K.; supervision, M.L. and M.K.; project administration, M.K. and M.L. All authors have read and agreed to the published version of the manuscript.
Institutional Review Board Statement
Ethical review and approval were not required for this study because it exclusively uses de-identified, publicly available data from the National Health and Nutrition Examination Survey (NHANES) and the NHANES Linked Mortality File. The NHANES protocol was approved by the NCHS Research Ethics Review Board, and all participants provided written informed consent at the time of data collection. As a secondary analysis of publicly available, anonymized data, this study is exempt from institutional review board oversight in accordance with 45 CFR 46.104(d)(4).
Informed Consent Statement
This study is a secondary analysis of de-identified, publicly available data from NHANES. Written informed consent was obtained from all NHANES participants by NCHS at the time of data collection, in accordance with NCHS-ERB-approved protocols. As the data used in this study are fully de-identified and publicly accessible, no additional informed consent was required from the authors.
Data Availability Statement
The data presented in this study are available in the NHANES public-use files at https://wwwn.cdc.gov/nchs/nhanes/ (CC0 public domain; accessed on 1 August 2026) and the NHANES Linked Mortality File at https://www.cdc.gov/nchs/data-linkage/mortality.htm (CC0 public domain; accessed on 1 August 2026). The full analysis pipeline (NHANES extraction, nutrient-density and NMF pattern derivation, cause-specific and Fine–Gray survival models, gradient-boosted ensemble and SHAP decomposition, regression calibration, and figure/table generation) is provided in full, as a formatted source-code listing, in Supplementary File S1 accompanying this article, released under the MIT license.
These data were derived from the following resources available in the public domain: Dietary Interview—Total Nutrient Intakes, Day 1 (DR1TOT); Dietary Interview—Total Nutrient Intakes, Day 2 (DR2TOT, used only for the measurement-error variance-component estimation of Section 3.8, never as an exposure); demographics (DEMO); body measures (BMX); smoking—cigarette use (SMQ); alcohol use (ALQ); physical activity (PAQ); and the NHANES Linked Mortality File, 2019 public-use release (all: CDC/NCHS). The NHANES public-use files and the Linked Mortality File analyzed here are openly available and have also been used by this research group to address other, unrelated research questions; no participant-level result, table, or figure is shared between this paper and any other analysis.
Conflicts of Interest
The authors declare no conflicts of interest.
References
Model-selection diagnostic for the number of NMF components, primary per 1000 kcal density parameterization, k = 2–8. Solid blue line with circular markers: Reconstruction error (Frobenius norm), left axis. Dashed orange line with square markers: Bootstrap stability (mean matched-component correlation over 20 resamples), right axis. Vertical gray dashed line: the chosen rank, k = 2. Horizontal gray dotted line: the 0.75 stability threshold. Reconstruction error falls smoothly with no elbow across the tested range while Bootstrap stability stays at or near 1.0 throughout, so stability cannot discriminate between candidate ranks (Table 3).
Heatmap of NMF pattern loadings (share of pattern weight, color scale) for all 26 harmonized nutrients (rows) by the two retained components, Pattern 1 (fat-dominant) and Pattern 2 (carbohydrate-dominant) (columns, Table 4). Color encodes the loading value on a continuous single-hue blue scale from 0 (white) to approximately 0.26 (dark blue); no categorical legend applies to a continuous heatmap. Pattern 1 concentrates its weight on total fat, monounsaturated fat, saturated fat, and polyunsaturated fat; pattern 2 concentrates its weight on carbohydrate, with smaller contributions from fiber, iron, and thiamin.
Non-parametric Aalen–Johansen cumulative incidence of cause-specific mortality by tertile of the fat-dominant pattern score (pattern 1), unadjusted, n = 47,257: heart-disease mortality (top image), cancer mortality (middle image), other-cause mortality (bottom image). Lines: solid blue, Tertile 1 (low); dashed orange, Tertile 2 (mid); dash-dot green, Tertile 3 (high). For every outcome the three tertile curves overlap closely across the 0–20-year follow-up window, without a visually separable ordering by pattern tertile.
Forest plot of the six Fine–Gray subdistribution hazard ratios of Table 6. Blue circular markers: point estimate. Gray horizontal whiskers: 95% CI (analytic PSU-clustered robust standard error). Red dashed vertical line: the null, subdistribution HR = 1.0. Rows are labeled outcome—pattern; the interval closest to the null (other-cause, fat-dominant pattern) has an upper bound of 1.04, so it includes the null even before multiplicity correction.
SHAP summary plot for the gradient-boosted survival ensemble (n = 40,396), features ranked top-to-bottom by descending mean |SHAP| (Table 8). Each point is one participant; horizontal position is that participant’s SHAP contribution to the predicted log relative hazard for that feature, and point color encodes the participant’s raw value for that feature on a continuous scale from low (blue) to high (pink/red); no categorical legend applies to this continuous color-value encoding. Age’s point cloud spans about 6.7 units of log relative hazard, while the two pattern-score rows (carbohydrate-dominant, fat-dominant) stay within 0.25 of zero for more than 96% of participants.
Sequential subsample inventory, NHANES 1999–2018. Every n reported elsewhere in this manuscript traces to one of these labeled rows. The row set in bold is the final analytic cohort.
| Label | n | Definition |
|---|---|---|
| n_dr1tot_pooled | 96,766 | All DR1TOT day-1 dietary recall records, 1999–2018 (10 cycles) |
| n_adults_20plus | 52,398 | Age ≥ 20 y at screening (RIDAGEYR) |
| n_reliable_recall | 48,740 | Day-1 dietary recall status reliable and meeting minimum criteria |
| n_valid_wtdrd1 | 48,740 | Non-missing, positive WTDRD1 dietary day-1 weight |
| n_positive_kcal | 48,734 | Reported day-1 energy intake > 0 kcal |
| n_excl_pregnancy | 47,339 | Excludes 1395 pregnant at exam (RIDEXPRG = 1) |
| n_linked_mortality | 47,257 | Successfully linked to the Linked Mortality File (2019 release), ELIGSTAT = 1 |
| n_analytic | 47,257 | Non-missing follow-up time and vital status; the final analytic cohort |
| n_model_complete_case | 40,396 | Complete-case subsample of n_analytic under the fully adjusted covariate set; excludes 6861 (14.5%) missing bmi (737), current_drinker (2617), pir (3991), current_smoker (39), or physical activity (11); used by every Cox, Fine–Gray, and gradient-boosted model |
| n_cycles_2003_2018 | 38,810 | Subset of n_analytic restricted to 2003–2018 cycles administering DR2TOT; excludes 8447 from 1999 to 2002 |
| n_calibration_substudy | 34,176 | Subset of n_cycles_2003_2018 with reliable day-2 recall (DR2DRSTZ = 1) and positive day-2 energy; excludes 4634 (11.9%); used only for measurement-error variance-component estimation |
Survey-weighted baseline characteristics (n = 47,257).
| Characteristic | Value |
|---|---|
| Age, years | 47.4 (IQR 33.0–60.0) |
| Female sex | 51.2% |
| Race/ethnicity: Mexican American | 8.1% |
| Race/ethnicity: Other Hispanic | 5.4% |
| Race/ethnicity: Non-Hispanic White | 68.7% |
| Race/ethnicity: Non-Hispanic Black | 11.2% |
| Race/ethnicity: Other/multiracial | 6.7% |
| Body mass index, kg/m2 | 28.8 (IQR 24.0–32.2) |
| Current smoker | 21.8% |
| Alcohol, ≥12 drinks in any year | 75.2% |
| Meets any leisure-time activity | 57.8% |
| Energy intake, kcal/day | 2159.5 (IQR 1473.0–2659.0) |
| Follow-up time, years | 9.8 (IQR 4.8–14.5) |
| All-cause death | 11.8% |
| Heart-disease death | 2.9% |
| Cancer death | 2.8% |
| Other-cause death | 6.1% |
NMF model-selection diagnostic, primary per 1000 kcal density parameterization (chosen k = 2).
| k | Reconstruction Error | Stability | Relative Improvement |
|---|---|---|---|
| 2 | 41.384 | 1.000 | — |
| 3 | 35.448 | 1.000 | 14.3% |
| 4 | 30.685 | 1.000 | 13.4% |
| 5 | 25.694 | 1.000 | 16.3% |
| 6 | 21.907 | 1.000 | 14.7% |
| 7 | 19.235 | 0.999 | 12.2% |
| 8 | 16.700 | 0.999 | 13.2% |
NMF pattern loadings (share of pattern weight per nutrient).
| Nutrient | Pattern 1 (Fat-Dominant) | Pattern 2 (Carbohydrate-Dominant) |
|---|---|---|
| Protein | 0.086 | 0.112 |
| Carbohydrate | 0.044 | 0.264 |
| Fiber | 0.011 | 0.107 |
| Total fat | 0.253 | 0.013 |
| Saturated fat | 0.134 | 0.005 |
| Monounsaturated fat | 0.150 | 0.000 |
| Polyunsaturated fat | 0.114 | 0.009 |
| Cholesterol | 0.036 | 0.004 |
| Calcium | 0.005 | 0.011 |
| Phosphorus | 0.037 | 0.062 |
| Magnesium | 0.004 | 0.015 |
| Iron | 0.014 | 0.069 |
| Zinc | 0.004 | 0.007 |
| Copper | 0.002 | 0.007 |
| Sodium | 0.009 | 0.012 |
| Potassium | 0.010 | 0.033 |
| Selenium | 0.030 | 0.041 |
| Thiamin | 0.015 | 0.062 |
| Riboflavin | 0.006 | 0.015 |
| Niacin | 0.012 | 0.032 |
| Vitamin B6 | 0.005 | 0.027 |
| Vitamin B12 | 0.003 | 0.008 |
| Total folate | 0.006 | 0.053 |
| Vitamin C | 0.000 | 0.020 |
| Caffeine | 0.001 | 0.001 |
| Alcohol | 0.009 | 0.010 |
Cause-specific Cox models, dual covariate tiers. Parsimonious: pattern scores, age, sex (n = 47,257). Fully adjusted: parsimonious set plus body mass index, current-smoker status, alcohol-use status, physical activity, poverty–income ratio, and race/ethnicity (n = 40,396).
| Outcome | Pattern | Parsimonious HR (95% CI) | p | Fully Adjusted HR (95% CI) | p |
|---|---|---|---|---|---|
| Heart disease | Fat-dominant | 0.95 (0.87–1.04) | p = 0.273 | 0.97 (0.88–1.07) | p = 0.563 |
| Heart disease | Carbohydrate-dominant | 0.95 (0.86–1.04) | p = 0.267 | 1.02 (0.91–1.13) | p = 0.774 |
| Cancer | Fat-dominant | 0.82 (0.74–0.92) | p < 0.001 | 0.92 (0.82–1.03) | p = 0.131 |
| Cancer | Carbohydrate-dominant | 0.82 (0.74–0.91) | p < 0.001 | 0.95 (0.85–1.07) | p = 0.399 |
| Other-cause | Fat-dominant | 0.82 (0.76–0.89) | p < 0.001 | 0.90 (0.82–0.99) | p = 0.037 |
| Other-cause | Carbohydrate-dominant | 0.84 (0.78–0.91) | p < 0.001 | 0.94 (0.86–1.03) | p = 0.184 |
Fine–Gray subdistribution hazard ratios per pattern score (per 1 SD increase), analytic PSU-clustered robust standard error, Holm–Bonferroni adjusted across all six reported contrasts (n = 40,396).
| Outcome | Pattern | Subdistribution HR | 95% CI | p raw | padj (Holm) | Significant (α = 0.05) |
|---|---|---|---|---|---|---|
| Cancer | Fat-dominant | 0.94 | 0.83–1.06 | p = 0.289 | p = 1.000 | No |
| Cancer | Carbohydrate-dominant | 0.97 | 0.87–1.08 | p = 0.578 | p = 1.000 | No |
| Heart disease | Fat-dominant | 0.99 | 0.90–1.09 | p = 0.861 | p = 1.000 | No |
| Heart disease | Carbohydrate-dominant | 1.04 | 0.94–1.15 | p = 0.446 | p = 1.000 | No |
| Other-cause | Fat-dominant | 0.92 | 0.82–1.04 | p = 0.175 | p = 1.000 | No |
| Other-cause | Carbohydrate-dominant | 0.96 | 0.86–1.06 | p = 0.384 | p = 1.000 | No |
Gradient-boosted Cox survival ensemble apparent, in-sample performance (n = 40,396). Both values are computed on the participants the ensemble was trained on; the cross-validated values, and the comparison with and without the two pattern scores, are in Table S12 (Supplementary Materials).
| Metric | Value |
|---|---|
| Apparent C-index, naive (unweighted) | 0.869 |
| Apparent C-index, survey-design-weighted (design-aware jackknife 95% CI) | 0.889 (0.878–0.900) |
SHAP global feature importance (mean |SHAP value|, log-relative-hazard scale) for the gradient-boosted survival ensemble, ranked by descending importance (n = 40,396).
| Rank | Feature | Mean |SHAP| |
|---|---|---|
| 1 | Age | 1.405 |
| 2 | Poverty–income ratio | 0.252 |
| 3 | Current smoker | 0.212 |
| 4 | Sex | 0.206 |
| 5 | Body mass index | 0.148 |
| 6 | Physical activity | 0.133 |
| 7 | Carbohydrate-dominant pattern | 0.077 |
| 8 | Fat-dominant pattern | 0.074 |
| 9 | Race (non-Hispanic Black) | 0.071 |
| 10 | Race (non-Hispanic White) | 0.069 |
| 11 | Race (other Hispanic) | 0.015 |
| 12 | Alcohol, ≥12 drinks in any year | 0.012 |
| 13 | Race (other/multiracial) | 0.003 |
Publication and source details
Original title: A Minority of the Variance in Single-Recall Nutrient-Density Pattern Scores Is Between-Person: A Reliability and Regression-Calibration Framework
Irina Naskinova; Mikhail Kolev; Meglena Lazarova; Hristo Kalinov; Velin Klisurov
Nutrients · 2026
* Correspondence: meglena.laz@tu-sofia.bg© 2026 by the authors.2026https://creativecommons.org/licenses/by/4.0/Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license.European Regional Development FundBG-RRP-2.004-0005This work has been accomplished with financial support from the European Regional Development Fund within the Operational Programme “Bulgarian national recovery and resilience plan”, procedure for direct provision of grants “Establishing of a network of research higher education institutions in Bulgaria”, and under Project BG-RRP-2.004-0005 “Improving the research capacity anD quality to achieve intErnAtional recognition and reSilience of TU-Sofia (IDEAS)”.Repository JATS snapshot; version as supplied
Source retrieved: 2026-11-26T21:40:50.087625+00:00
DOI: 10.3390/nu18223734 · PMC13807041
