Sleep

Analysis of factors influencing anxiety and depression disorders among hospitalized patients

TL;DR

Male patients with superior physical and cognitive function, better sleep, favorable body mass index and nutrition status, and fewer illnesses had better mood, with sleep quality (PSQI) emerging as the strongest independent predictor of both anxiety and depression scores among hospitalized patients.

Key Findings

Sleep quality was the strongest independent predictor of both depression and anxiety scores among hospitalized patients.

  • PSQI score had the largest standardized regression coefficient for HAMD scores (β = 0.494, P < 0.001)
  • PSQI score also had the largest standardized regression coefficient for HAM-A scores (β = 0.435, P < 0.001)
  • Sleep quality was assessed using the Pittsburgh Sleep Quality Index (PSQI)
  • These associations remained significant after full adjustment for other covariates

Frailty was independently and significantly associated with both depression and anxiety scores.

  • FRAIL score was associated with HAMD scores (β = 0.200, P < 0.001)
  • FRAIL score was associated with HAM-A scores (β = 0.276, P < 0.001), representing the second strongest predictor of anxiety after sleep quality
  • Frailty was assessed using the FRAIL scale
  • Associations remained significant after full adjustment

Cognitive function was independently and significantly associated with both depression and anxiety scores, with lower MoCA scores linked to worse mood.

  • MoCA score was negatively associated with HAMD scores (β = -0.141, P < 0.001), indicating that lower cognitive function correlated with more severe depression
  • MoCA score was negatively associated with HAM-A scores (β = -0.114, P = 0.001)
  • Cognitive function was assessed using the Montreal Cognitive Assessment (MoCA)
  • Associations were maintained after full adjustment

Gender was a significant factor for both depression and anxiety, with female patients showing higher symptom burden.

  • Gender was significantly associated with HAMD scores (β = 0.078, P = 0.017)
  • Gender was significantly associated with HAM-A scores (β = 0.155, P < 0.001), representing a stronger effect for anxiety than depression
  • The study sample consisted of 659 women and 462 men with a mean age of 64.67 ± 10.86 years
  • The direction of the beta coefficient indicates female sex was associated with higher scores

Body mass index was independently and negatively associated with depression scores but not with anxiety scores.

  • BMI was negatively associated with HAMD scores (β = -0.096, P = 0.003), indicating higher BMI was associated with lower depression severity
  • BMI was not reported as a significant independent predictor of HAM-A scores
  • This association remained significant after full adjustment in multiple linear regression

Nutritional status was independently associated with depression scores but was not reported as a significant predictor of anxiety scores.

  • NRS-2002 score was significantly associated with HAMD scores (β = 0.099, P = 0.004), indicating greater nutritional risk was linked to more severe depression
  • Nutritional status was assessed using the Nutrition Risk Screening (NRS)-2002
  • NRS-2002 was not reported as a significant independent predictor of HAM-A scores after full adjustment

Number of illnesses (comorbidities) was independently and negatively associated with anxiety scores but was not reported as a significant predictor of depression scores.

  • Illness burden was significantly associated with HAM-A scores (β = -0.098, P = 0.006)
  • The negative beta coefficient suggests that greater illness burden was associated with higher anxiety scores in this coding scheme, or alternatively reflects the direction of variable coding
  • Illness burden was not reported as a significant independent predictor of HAMD scores after full adjustment

The study enrolled 1121 hospitalized patients from a gerontology department in a cross-sectional design conducted in 2023.

  • Total sample: 1121 participants (659 women, 462 men)
  • Mean age ± SD: 64.67 ± 10.86 years
  • Participants were enrolled from the Department of Gerontology at the Fifth Affiliated Hospital of Sun Yat-sen University
  • Study design was cross-sectional
  • Anxiety and depression were evaluated using the Hamilton Anxiety (HAM-A) and Hamilton Depression (HAMD) Rating Scales, respectively

What This Means

This research suggests that among older hospitalized patients, several factors are meaningfully linked to anxiety and depression symptoms. The study followed 1,121 patients (average age about 65) admitted to a geriatrics ward in China in 2023. Researchers measured depression and anxiety using standardized clinical rating scales, and also assessed patients' sleep quality, physical frailty, cognitive function, nutritional status, and other health indicators. They then used statistical modeling to identify which factors were most strongly and independently connected to mood symptoms. The study found that poor sleep quality was the single strongest predictor of both depression and anxiety — patients with worse sleep had notably higher symptom scores on both scales. Physical frailty was the second most important factor for anxiety, and was also strongly linked to depression. Lower cognitive function (as measured by a standard memory and thinking test) was independently linked to worse scores on both mood measures. Female sex was associated with greater anxiety and depression burden. Higher body weight (BMI) and better nutritional status were linked to lower depression scores, while having more illnesses was linked to greater anxiety. This research suggests that addressing sleep problems, physical frailty, and cognitive decline in hospitalized older adults could be important targets for reducing anxiety and depression in this population. The findings highlight that mood disorders in elderly patients are tied to a range of physical health factors — not just psychological ones — and that women and older patients may warrant particular attention. Because this was a cross-sectional study (a snapshot in time), it cannot prove that these factors directly cause anxiety or depression, but it points to areas where targeted interventions might help reduce the mental health burden in hospital settings.

Check Your Own Numbers

Upload your bloodwork. We'll cross-reference your results against this study and 4,700 others.

Upload Your Labs

Have a question about this study?

Citation

Nan Wang, Qiuyun Tu. (2026). Analysis of factors influencing anxiety and depression disorders among hospitalized patients. Frontiers in Psychiatry. https://doi.org/10.3389/fpsyt.2026.1757945