R Code for the Analysis of Late-night Eating Behaviors and Depressive Symptoms in U.S. Adults (NHANES 2007–2018)

Published: 29 December 2025| Version 3 | DOI: 10.17632/kzytwn7n6d.3
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

Licence