R Code for the Analysis of Associations Between Late-night Eating, Nighttime Dietary Intake, and Depressive Symptoms Among Adults in the United States (NHANES 2007–2018)
Published: 23 January 2026| Version 4 | DOI: 10.17632/kzytwn7n6d.4
Contributor:
Description
The R scripts included in this dataset perform the following tasks: • Data cleaning and merging across multiple NHANES cycles • Construction of nighttime energy and macronutrient variables • Categorization of nighttime intake levels (e.g., none, moderate, high) • Survey-weighted logistic regression models • Subgroup and sensitivity analyses • Data-driven clustering of nighttime macronutrient composition patterns • Visualization of results, including forest plots and pattern comparisons
Files
Categories
Public Health, Mental Health, Nutritional Epidemiology