Observational Study
Copyright ©The Author(s) 2025.
World J Psychiatry. Aug 19, 2025; 15(8): 106622
Published online Aug 19, 2025. doi: 10.5498/wjp.v15.i8.106622
Table 1 Demographics and baseline characteristics, n (%)
Characteristic
Overall, N = 7609
No depressive symptoms, n = 7090
Depressive symptoms, n = 519
Statistic
P value1
Residence0.480.488
Urban area5933 (78.0)5522 (77.9)411 (79.2)
Rural area1676 (22.0)1568 (22.1)108 (20.8)
Age, years47.52< 0.001
18-395552 (73.0)5106 (72.0)446 (85.9)
40-591901 (25.0)1833 (25.9)68 (13.1)
60-85156 (2.1)151 (2.1)5 (1.0)
Education, years2.780.250
≤ 9815 (10.7)769 (10.8)46 (8.9)
10-154094 (53.8)3818 (53.9)276 (53.2)
≥ 162700 (35.5)2503 (35.3)197 (38.0)
Marital67.87< 0.001
Single/unmarried2431 (31.9)2186 (30.8)245 (47.2)
Married4973 (65.4)4720 (66.6)253 (48.7)
Widowed/divorced/separated205 (2.7)184 (2.6)21 (4.0)
Income class, yuan1.230.541
< 35002935 (38.6)2723 (38.4)212 (40.8)
3500-60003120 (41.0)2916 (41.1)204 (39.3)
> 60001554 (20.4)1451 (20.5)103 (19.8)
Drink, time/week59.46< 0.00
< 17082 (93.1)6642 (93.7)440 (84.8)
≥ 1527 (6.9)448 (6.3)79 (15.2)
Tea, times/week0.320.569
< 44824 (63.4)4501 (63.5)323 (62.2)
≥ 42785 (36.6)2589 (36.5)196 (37.8)
Exercise76.01< 0.001
Hardly exercise2347 (30.8)2103 (29.7)244 (47.0)
1-3 times/month2452 (32.2)2308 (32.6)144 (27.7)
1-2 times/week1426 (18.7)1345 (19.0)81 (15.6)
≥ 3 times/week1384 (18.2)1334 (18.8)50 (9.6)
Chronic disease244.42< 0.001
Yes5745 (75.5)5501 (77.6)244 (47.0)
No1864 (24.5)1589 (22.4)275 (53.0)
BMI14.000.003
18.5-23.94964 (65.2)4636 (65.4)328 (63.2)
< 18.51329 (17.5)1212 (17.1)117 (22.5)
24.0-27.91061 (13.9)1007 (14.2)54 (10.4)
> 28.0255 (3.4)235 (3.3)20 (3.9)
Anxiety symptoms2009.91< 0.001
No7263 (95.5)6973 (98.3)290 (55.9)
Yes346 (4.5)117 (1.7)229 (44.1)
Sleep latency, minutes222.56< 0.001
≤ 152744 (36.1)2647 (37.3)97 (18.7)
16-303687 (48.5)3457 (48.8)230 (44.3)
31-60733 (9.6)625 (8.8)108 (20.8)
> 60445 (5.8)361 (5.1)84 (16.2)
Sleep duration, hours216.64< 0.001
≥ 73014 (39.6)2895 (40.8)119 (22.9)
6-6.993980 (52.3)3705 (52.3)275 (53.0)
5-5.99461 (6.1)370 (5.2)91 (17.5)
< 5154 (2.0)120 (1.7)34 (6.6)
Sleep efficiency, %95.87< 0.001
> 855948 (78.2)5606 (79.1)342 (65.9)
75-841119 (14.7)1030 (14.5)89 (17.1)
65-74319 (4.2)275 (3.9)44 (8.5)
< 65223 (2.9)179 (2.5)44 (8.5)
Smoke92.97< 0.001
No7481 (98.3)6998 (98.7)483 (93.1)
Yes128 (1.7)92 (1.3)36 (6.9)
Insomnia1135.26< 0.001
No6179 (81.2)6047 (85.3)132 (25.4)
Yes1430 (18.8)1043 (14.7)387 (74.6)
Table 2 The performance metrics of three machine learning models

Accuracy
Precision
Recall
F1 score
AUC
XGBoost0.9410.6030.4290.5010.862
SVM0.9460.7070.3710.4870.849
LightGBM0.9440.6700.3780.4830.867