The Cumulative Bridge: How Long-Term Physical Activity and Social Engagement Gradually Enhance Sleep Health in Aging Adults | Research Square window.SnipcartSettings = { analytics: { enabled: false } }; (function() { var accessVector = localStorage.getItem('access_vector') || ''; window.dataLayer = window.dataLayer || []; if (accessVector) { window.dataLayer.push({ user: { profile: { profileInfo: { snid: accessVector } } } }); } })(); (function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src='https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);})(window,document,'script','dataLayer','GTM-K279D39R'); Browse Preprints In Review Journals COVID-19 Preprints AJE Video Bytes Research Tools Research Promotion AJE Professional Editing AJE Rubriq About Preprint Platform In Review Editorial Policies Our Team Advisory Board Help Center Sign In Submit a Preprint Cite Share Download PDF Research Article The Cumulative Bridge: How Long-Term Physical Activity and Social Engagement Gradually Enhance Sleep Health in Aging Adults Guiping Zhao, Ketao Zhang, Xiaotian Li This is a preprint; it has not been peer reviewed by a journal. https://doi.org/ 10.21203/rs.3.rs-7814929/v1 This work is licensed under a CC BY 4.0 License Status: Published Journal Publication published 30 Apr, 2026 Read the published version in BMC Public Health → Version 1 posted 13 You are reading this latest preprint version Abstract Background and Objectives : Sleep disturbances are significant public health issues for middle-aged and older adults. While cross-sectional research shows associations, a comprehensive understanding of the long-term, cumulative dynamic between multiple health behaviors and sleep duration remains underdeveloped. This study examines the distinct temporal effects and synergistic potential of sustained physical activity and social engagement on sleep duration in the aging population. Research Methodology Using five waves of longitudinal panel data from the China Health and Retirement Longitudinal Study (CHARLS, 2011–2018), we analyzed 5,082 participants (57,716 observations). We employed a nested fixed-effects model with interaction terms between behaviors and time (survey wave) to control for individual unobservable heterogeneity and capture dynamic effects. Control variables included marital status, gender, age, education level, drinking habits, and chronic diseases. Results The direct effect of physical activity on sleep duration was negative in the short term. Crucially, its interaction with time showed a significant positive cumulative effect. Social activity also demonstrated a positive temporal effect, though the magnitude was notably smaller. Marital status exhibited a large protective effect, and drinking habits were significantly negative. The beneficial temporal effects of physical activity were most pronounced in the middle school education group. Conclusions Long-term engagement in both physical activity and social activities positively enhances sleep duration, with physical activity having a more substantial and long-lasting protective impact that accrues over time. These findings underscore the need for public health policies to emphasize sustained, long-term interventions and consider education-level heterogeneity to maximize sleep benefits for aging adults. Physical activity social activity sleep duration middle-aged and older adults aging population Figures Figure 1 Figure 2 Figure 3 Figure 4 Figure 5 1. Introduction With the acceleration of population aging, the health problems of middle-aged and older adults are receiving increasing attention, among which sleep problems are particularly prominent. Sleep is a crucial foundation for maintaining physical and mental health, as it impacts individuals' physiological functions, psychological state, and cognitive abilities [ 1 ] . In recent years, the quality of sleep in the middle-aged and older adult population has shown a declining trend globally, with a significant increase in sleep deprivation and sleep disorders, which seriously affects their quality of life and health [ 2 ] . Despite extensive research, a considerable gap remains in understanding the long-term, dynamic, and cumulative effects of health behaviors on sleep duration. Most existing studies, often relying on cross-sectional data, are limited in their ability to capture these temporal trends and causal relationships. Research shows that the average sleep duration in China's middle-aged and elderly population is decreasing yearly, and the subjective quality of sleep—which refers to individuals' personal assessment and satisfaction with their sleep experience, including perceived sleep adequacy, refreshment upon waking, and overall sleep satisfaction—continues to decline [ 3 – 4 ] . This phenomenon poses a threat to individual health. It may also exacerbate the burden of medical care on society, making it a public health problem that needs to be addressed urgently. Existing studies have shown that the factors affecting the sleep duration of middle-aged and older adults are complex and diverse, including physiological, psychological, and social factors [ 5 – 6 ] . This study explores how specific health behaviors—namely marital status, alcohol consumption patterns, physical exercise participation, and social activity engagement—affect sleep duration in middle-aged and older adults. To address these critical gaps, this study systematically investigates the long-term, cumulative effects of key health behaviors, specifically physical exercise and social engagement, on sleep duration in aging adults. Our research is guided by the following core questions: 1) What is the long-term, dynamic relationship between sustained physical activity and social engagement, and sleep duration in middle-aged and older adults? 2) How do physical activity and social activity interact to produce synergistic effects on long-term sleep health? Through systematic analyses of these questions, this study aims to provide a theoretical basis and practical reference for improving the sleep duration of middle-aged and older adults. Previous research has established that health behaviors such as marital status, drinking behavior, physical exercise, and social activities are closely related to the sleep duration of middle-aged and older adults. Marital status is considered an important social factor affecting the sleep of middle-aged and older adults. Studies have found that the advantages of being married in terms of emotional support and life stability can significantly improve their sleep duration, while unmarried, divorced, or widowed people are more likely to have sleep problems due to a lack of emotional support [ 7 – 8 ] . The quality of the marital relationship can also significantly impact sleep outcomes, with high-quality marital relationships considerably reducing the incidence of sleep disorders. In contrast, marital conflict can harm sleep [ 9 ] . The negative impact of unhealthy lifestyles (e.g., drinking behaviors) on the quality of sleep in middle-aged and older adults should not be overlooked. Although alcohol consumption may help with sleep in the short term, long-term consumption of alcohol can lead to fragmented sleep, reduced deep sleep, and early awakenings, which can significantly reduce the quality of sleep [ 10 ] . Limiting drinking behavior and promoting healthy lifestyles are thus important measures to improve sleep problems in middle-aged and older people. The impact of health behaviors on sleep has attracted increasing attention in recent years. As an effective way to improve sleep, the long-term effect of physical exercise has been widely recognized. Regular low- and medium-intensity exercise can regulate physiological rhythms, alleviate psychological pressure, and improve sleep duration by enhancing body functions. In contrast, short-term high-intensity exercise may lead to fatigue or post-exercise euphoria, which may harm sleep [ 11 – 13 ] . Socialization, as an important form of social support, has also been shown to indirectly enhance sleep duration by reducing loneliness and improving mental health [ 14 ] . Studies have shown that middle-aged and older adults who are socially active have significantly better sleep duration and quality of sleep than those who are socially inactive [ 15 ] . Many studies have been conducted to explore the effects of health behaviors on sleep. However, the following shortcomings still exist: 1) most of the studies mainly focus on the effects of single health behaviors (e.g., physical activity or alcohol consumption behaviors) on sleep and lack a comprehensive analysis of multiple health behaviors; 2) there are fewer studies on the long-term dynamic effects of health behaviors on sleep and their interactions; and 3) most of the existing studies are based on cross-sectional data, which cannot establish causal relationships between variables. Based on the five-wave panel data of the China Health and Retirement Longitudinal Study (CHARLS), this study uses nested model analysis to systematically investigate the long-term dynamic effects of various health behaviors, specifically examining the long-term and interactive effects of physical activity and social activity on sleep duration. Based on the five-wave panel data of the China Health and Retirement Longitudinal Study (CHARLS), this study uses nested model analysis to systematically investigate the long-term dynamic effects of health behaviors such as marital status, alcohol consumption, physical activity, and social activity on sleep duration and their interactive effects. This study aims to contribute unique empirical evidence to the theoretical understanding of how health behaviors influence sleep duration through longitudinal mechanisms, by specifically quantifying the distinct temporal effects of both physical and social activities. Moreover, this research provides a crucial practical reference for developing evidence-based interventions to improve sleep outcomes among middle-aged and elderly populations by highlighting the cumulative benefits of sustained engagement and the potential for synergistic effects between these two key behaviors. Figure 1 presents the conceptual framework of this study. Physical exercise and social activities are the key independent variables that affect sleep duration among middle-aged and older adults through both direct effects and their interactions with time. Marital status, drinking, gender, age, education, and chronic diseases are included as control variables. Two potential mechanisms are proposed: (1) physiological mechanisms, where physical exercise improves circadian rhythms and physical functions, thereby enhancing sleep over time; and (2) psychosocial mechanisms, where social participation reduces loneliness and improves emotional well-being, thereby promoting better sleep. 2. Methods of analysis 2.1Data sources This paper uses data from the China Health and Retirement Longitudinal Study (CHARLS). CHARLS is a representative longitudinal survey of people aged 45 and above in mainland China, conducted by the National Development Research Institute of Peking University, covering 150 counties/districts, 17,708 households, and more than 33,600 interviewees aged 45 and above, and collecting multi-dimensional information on socio-economic and health conditions to meet the needs of scientific research on aging. Its national baseline survey was conducted in 2011-12, with four rounds of follow-up surveys with conventional questionnaires in 2013, 2015, 2018, and 2020, and the Life Course Survey of Middle-aged and Older Adults in China was completed in 2014. In late 2019 and early 2020, the COVID-19 pandemic broke out in China. To document the impact of the COVID-19 pandemic on the lives and health of middle-aged and older adults in China promptly, additional information related to the pandemic was captured in the 5th round of the survey in 2020. All participants gave written informed consent during the original CHARLS surveys; the dataset provided to researchers is fully de-identified. The data used in this paper are panel data formed by manually merging the data from the five waves from 2011 to 2020, which provides an excellent data source for exploring the relationship between physical activity and sleep duration. The panel data structure was first set up during the data cleaning process, followed by a balance test to ensure that the dataset complied with the panel data requirements. The variable cleaning process recoded the education level to generate a new education level variable; the sleep duration variable was truncated to reduce the impact of extreme values on the results of the analyses. Social activity variables were merged and processed to generate new social activity variables and recoded according to social activity frequency. The age variable ensured that the minimum value was 45 years, and a squared term for age was created for analyzing non-linear effects. To ensure data integrity, observations containing missing values were excluded to ensure that the remaining data were not missing and could be used for subsequent analyses. 2.2 Analytical Sample Selection To ensure the rigor of our analysis, we performed a strict data screening process, as detailed in Fig. 2 . From an initial dataset of 23,901 independent participants and 62,711 observations, we applied the listwise deletion requirement of the fixed-effects regression model. This involved excluding all observations with missing values in our primary independent and dependent variables, as well as essential control variables, including sleep, marital status, age, urban/rural residence, education, drinking, chronic diseases, social activity, and physical activity. Our final analytical cohort consisted of 5,082 independent participants and 57,716 observations. 2.3Variant The core independent variables were physical activity and social engagement. In this study, we categorized physical activity based on whether respondents engaged in regular physical activity in their daily lives. The variable is categorized as a binary indicator (0 = no participation, 1 = participation) based on participants' responses to questions about their engagement in structured physical activities such as walking, jogging, swimming, tai chi, or other forms of exercise. The measurement relies on participants' self-assessment of their physical activity engagement without specific quantitative thresholds for intensity or duration. Sleep duration, the dependent variable, is derived from question DA049 in the questionnaire: "In the past month, on average, how many hours did you fall asleep each night?" The sleep time was truncated to a minimum of 1 hour and a maximum of 10 hours. Control variables included gender, marital status, age, age squared, education level, drinking habits, chronic disease status, interaction terms between social activity and survey wave, and interaction terms between physical activity and survey wave. Gender was coded as 1 for men and 2 for women; marital status was coded as 1 for married individuals and 2 for those who are unmarried, divorced, or widowed. The hukou variable was coded as 1 for urban and 2 for rural residents. Age was treated as a continuous variable, with individuals younger than 45 grouped as 45 years old for data cleaning, grouping, and outlier treatment purposes. To capture potential non-linear relationships between age and sleep duration, a quadratic age term (age²) was included in the model specification. This specification was predetermined based on theoretical expectations that sleep duration may follow a curvilinear pattern with age, initially remaining stable in middle age before declining more rapidly in later years. The quadratic specification allows for the identification of turning points in the age-sleep duration relationship. Education level was categorized as 1 for primary school and below, 2 for middle school, and 3 for high school or above. Drinking habits were coded as 0 for non-drinkers and 1 for drinkers; chronic disease status was coded as 0 for those without chronic disease and 1 for those with chronic disease. Participation in social activities was coded as 0 for non-participants and 1 for participants. The time variable in this study is operationalized as discrete survey waves, coded as 1, 2, 3, 4, and 5 corresponding to the 2011, 2013, 2015, 2018, and 2020 CHARLS data collection periods, respectively. The interaction terms between physical activity and time, as well as social activity and time, capture how the effects of these behaviors on sleep duration change across the approximately 9-year study period. This discrete time specification allows for the examination of non-linear temporal effects while maintaining the interpretability of coefficients. The selection of control variables was based on established literature and theoretical considerations. Marital status was included as it provides emotional and social support that may influence sleep patterns [ 16 ] . Gender and age were controlled for due to documented physiological differences in sleep patterns across demographic groups. Education level serves as a proxy for socioeconomic status and health literacy, which may affect sleep hygiene practices. Drinking habits were included as alcohol consumption is known to disrupt sleep architecture. Chronic disease status was controlled for, as medical conditions directly impact sleep duration. While other potential confounders, such as specific mental health conditions, medication use, and detailed socioeconomic indicators beyond education, may influence sleep duration, the current analysis focuses on the primary behavioral factors while acknowledging these limitations. Variables were defaulted to the first category as the reference group, except for marital status, for which the unmarried category was used. Observations with missing values were excluded to ensure the completeness of the dataset (see Table 1 for details). 2.4Research Methodology In this paper, we utilize data from the China Health and Retirement Longitudinal Study (CHARLS) to examine the effects of physical activity, social activity, marital status, gender, age, and other factors on sleep duration in middle-aged and elderly individuals, using a fixed-effects panel data model with nested interaction terms. The "nested" structure refers to the hierarchical inclusion of interaction terms between key variables (physical activity, social activity) and time within the main fixed-effects framework, allowing for the examination of how treatment effects vary across survey waves. The nested model effectively controls for unobservable individual heterogeneity, providing more accurate estimation results. The specific model is structured as follows: Where \(\:{Y}_{it}\) is the dependent variable for an individual \(\:i\) at time \(\:t\) , indicating sleep duration?. \(\:{X}_{it}\) Represents the independent variables of the individual at time \(\:t\) , including marital status, gender, age, age squared, education level, drinking habits, chronic diseases, interaction term between participation in social activities and survey wave, and interaction term between physical activity and survey wave; \(\:{u}_{i}\) represents individual fixed effects, controlling for individual unobservable heterogeneity, and \(\:{\epsilon\:}_{it}\) is a random error term. The respective variables' influence coefficients on sleep duration can be obtained by estimating the above model, where Beta represents the coefficients. The analysis was conducted using Stata 18 software. In the process of model estimation, this paper focuses on the following aspects: 1) exploring the effect of marriage on the sleep duration of middle-aged and older adults people by comparing married and unmarried groups; 2) examining the effect of the interaction of gender with other variables (e.g., physical activity) on sleep duration; 3) analyzing the long-term effects of physical activity and its interaction with time on sleep duration. Control variables included age, age squared, education level, drinking habits, and chronic disease status to reduce potential confounding bias; the model also introduced a time variable and its interaction term with other independent variables to capture the dynamic effects of temporal changes on sleep duration. The estimation results from the nested model provide a clearer understanding of how marital status, gender, physical exercise, and other factors influence sleep duration in middle-aged and older adults. These findings contribute to the theoretical framework and offer policy recommendations aimed at addressing the sleep issues faced by this demographic. 2.5 Ethics Statement Ethics approval for this study was not separately required because the analysis was conducted on secondary, de-identified data from the China Health and Retirement Longitudinal Study (CHARLS). CHARLS was approved by the Biomedical Ethics Review Committee of Peking University (IRB00001052-11015), and all participants provided written informed consent at enrollment. No additional consent was needed for this secondary analysis. All procedures performed in studies involving human participants were in accordance with the ethical standards of the institutional and/or national research committee and with the 1964 Helsinki declaration and its later amendments or comparable ethical standards. 3. Results 3.1Descriptive statistical analysis The descriptive statistical analysis results in Table 1 show that the average sleep duration of the middle-aged and older adults in the sample was close to 6 hours (SD = 1.922). The proportion of the sample that did not participate in physical activity was 10.8%, and the proportion of those who did participate in physical activity was 89.2%. The percentage of married individuals in the marital status variable was 85.5%, while the percentage of unmarried individuals was 14.5%. In the gender variable, the mean value was 1.468 (SD = 0.499), with 1 representing males and 2 representing females, indicating that the proportion of men is 53.2% and the proportion of women is 46.8%. In the education variable, 48.8% had a lower secondary education, and 51.2% had a higher secondary education. The proportion of urban households is 23.5%, and the proportion of rural households is 76.5%. The percentage of those who did not drink alcohol was 65.8%, and the percentage of those who did consume alcohol was 34.2%. In the variable for chronic disease, 78.1% of the respondents had no chronic disease, and 21.9% had a chronic disease. The percentage of those who did not participate in social activities was 55.7%, and the percentage of those who did participate in social activities was 44.3%. Variable type variable name Variable Definition average value standard deviation implicit variable sleep duration Continuity variables; 6.170 1.922 control variable marital status Married = 1; unmarried = 2; 1.145 0.352 gender Male = 1; Female = 2; 1.468 0.499 age Continuity variables; 61.910 10.010 academic qualifications Primary schools and below = 1; Junior high school = 2; Senior high school and above = 3; 1.465 0.707 Square Subdivision of Age Continuity variables; 3933 1293 population Urban = 1; rural = 2; 1.766 0.423 Have you been drinking alcohol? No = 0; Yes = 1; 0.342 0.474 Presence of chronic diseases No = 0; Yes = 1; 0.781 0.414 Participation in social activities No participation = 0; participation = 1; 0.443 0.497 Wave Continuity variables; 3.644 1.346 independent variable Exercise or not No = 0; Yes = 1; 0.892 0.311 3.2Nested fixed effects model analysis This study utilizes a nested fixed-effects model to examine the impact of physical activity, social activity, and other variables on sleep duration in middle-aged and older adults. Model I includes only marital status, the interaction term between sex and age, and the squared term for age. Model II expands on Model I by adding variables such as education level, drinking habits, and chronic diseases to account for potential confounders. Model III incorporates physical activity as the core independent variable and an interaction term to explore the interaction effects between variables. Figure 3 visually represents each variable's coefficients, significance, and direction, providing clear visual support for interpreting the models. The color gradients in the heat map indicate the strength of each variable's effect on sleep duration, with dark red representing a positive effect and dark blue indicating a negative effect. Significance levels are denoted by asterisks, facilitating the rapid identification of key variables. Model 1: Baseline Demographic Factors Model 1 analyzes the effects of fundamental demographic variables on sleep duration in middle-aged and older adults. The results indicate that marital status significantly influences sleep duration (β = 0.355, p < 0.001), with married individuals sleeping longer than their unmarried counterparts. The age-squared term reveals a quadratic, non-linear relationship with a significant positive coefficient (β = 0.000, p < 0.05). The interaction term between sex and age shows a negative effect for both males (β = -0.073, p < 0.001) and females (β = -0.108, p < 0.001), suggesting that sleep duration decreases with age for both genders, with a greater reduction observed in females. Model 2: Incorporation of Socioeconomic and Health Factors In Model 2, variables such as education level, drinking habits, and chronic diseases were incorporated to examine their effects on sleep duration in middle-aged and older adults. The results indicated that middle school education significantly negatively affected sleep duration compared to primary school education (β = -0.102, p < 0.05). In contrast, the effect of high school education was insignificant (β = 0.027, p = 0.141). Drinking habits were associated with a significant reduction in sleep duration compared to non-drinkers (β = -0.077, p < 0.001), suggesting that alcohol consumption negatively influences sleep. However, the effect of chronic diseases was not statistically significant (β = -0.024, p = 0.183). When these variables were included, the coefficient for marital status remained stable (β = 0.357, p < 0.001), indicating a consistent and significant effect of being married on sleep duration compared to being unmarried. Additionally, the coefficients for the interaction terms between gender and age slightly decreased (males: β = -0.072, p < 0.001; females: β = -0.107, p < 0.001), but they remained significant, further highlighting the importance of these interaction effects. Model 3: Incorporation of Physical and Social Activity Variables Model 3 incorporates physical activity, social activity, and their interaction terms with time into Model 2. The results indicate that while the direct effect of physical activity on sleep duration is negative in the short term (β = -0.137, p = 0.019), its interaction term with time shows a significant positive effect (β = 0.069, p < 0.01). This finding underscores the core argument of this study: that the benefits of physical activity on sleep health are not instantaneous but are accrued over time, requiring sustained, long-term engagement. This suggests that for each additional survey wave (approximately 2–3 years), individuals engaging in physical activity experience an increase of approximately 4.1 minutes (0.069 hours) in sleep duration compared to non-exercisers. Over the 9-year study period, this translates to a cumulative difference of approximately 16–20 minutes of additional sleep. Furthermore, the interaction term for social activity with time also significantly influences sleep duration (β = 0.010, p < 0.1), though its relatively small coefficient implies a more modest improvement. A direct comparison of the interaction coefficients (0.069 vs. 0.010) reveals that the long-term cumulative benefit from physical activity is substantially larger than that from social activities. Upon including these key behavioral variables and their temporal interactions, the negative effect of drinking habits observed in Model 2 remained highly significant with a similar magnitude (β = -0.080, p < 0.001). The findings of this study provide valuable insights for developing health intervention policies targeted at middle-aged and elderly populations. While the interaction effect of physical activity with time (β = 0.069) demonstrates statistical significance for long-term benefits, it is important to note that the absolute effect size of marital status (β = 0.355) on sleep duration is larger. However, physical activity represents a modifiable behavior with cumulative benefits over time, making it particularly relevant for intervention strategies, whereas marital status is less amenable to direct intervention. The nested model analysis further reveals that the negative effect of the female-age interaction term on sleep duration remains statistically significant in Model 3 (β = -0.055, p < 0.05), although its magnitude is reduced compared to Model 1 (β = -0.108, p < 0.001) and Model 2 (β = -0.107, p < 0.001). This suggests that the gender-specific, age-related decline in sleep duration is a robust phenomenon, but one that is partially associated with an individual's engagement in health-promoting behaviors, as demonstrated by the attenuation of the coefficient after their inclusion. The long-term cumulative benefits of physical and social activities, as captured by their interaction with the wave variable, exist despite the overall negative trend of age on sleep duration, highlighting that these two processes are independent but co-occurring. This highlights the age-related gender differences in how physical exercise and social activities influence sleep duration among middle-aged and older adults. The model analysis further reveals that the effect of physical activity on sleep duration in middle-aged and older adults evolves. Short-term physical activity reduces sleep duration, but long-term engagement in physical activity improves sleep duration. In contrast, the direct impact of social activities on sleep duration is modest. While the interaction term with time shows a positive effect, it is considerably smaller than the effect of physical activity's interaction term, emphasizing that although social activities contribute to sleep improvement, their influence is less pronounced than that of physical exercise. The nested fixed-effects model analysis results indicate that physical activity significantly influences sleep duration among middle-aged and older adults. Moreover, physical activity had a more substantial long-term effect on sleep duration than social activities. 4. Model Validation 4.1Hausman check This paper performs a Hausman test to determine the most appropriate estimation model. The null hypothesis assumes that the coefficients of the random effects model are consistent and valid. In contrast, the alternative hypothesis posits that the coefficients of the fixed effects model are consistent, but those of the random effects model are not. The essence of the test lies in comparing the coefficients from both models. If the difference between them is statistically significant, the null hypothesis is rejected, and the fixed effects model is preferred. Conversely, if the difference is insignificant, the null hypothesis is accepted, and the random effects model is chosen [ 17 ] . The test results (χ² = 172.65, p < 0.001) reject the assumption of consistency for the random effects estimator, indicating that the fixed effects model is more suitable for the data analysis in this study. 4.2Robustness check This paper tests the linear regression, random, and fixed-effects models to verify the robustness of its findings. This process does not seek identical coefficients but rather aims to confirm that the direction and statistical significance of the key variables' effects remain consistent across different model specifications. By comparing the results of these three models, the robustness of the model can be assessed. If the results from different models are consistent, the model's conclusions are more reliable. However, if there are significant differences in the results, the reasons should be further analyzed [ 18 ] . Table 2 shows that the effects of the main variables are consistent across the models, which further enhances the reliability of the findings. Table 2 Robustness Test Model 1 Linear regression model Model 2 Random effects model Model 2 Fixed effects model Married 0.202 *** (0.027) 0.238 *** (0.028) 0.355 *** (0.053) Female * age -0.081 *** (0.010) -0.879 *** (0.010) -0.055(0.027) Male *Age -0.075 *** (0.010) -0.082 *** (0.010) -0.021(0.028) Square of age 0.001 ** (0.000) 0.001 *** (0.000) 0.000 ** (0.000) Population 0.040 * (0.019) 0.020(0.024) 0.004(0.053) Junior high school 0.067 *** (0.019) 0.038(0.025) -0.100 * (0.050) Senior high school and above 0.128 *** (0.023) 0.106 *** (0.033) 0.041(0.087) Whether or not you drink alcohol -0.102 *** (0.018) -0.095 *** (0.019) -0.081 ** (0.027) Presence of chronic diseases -0.384 *** (0.018) -0.273 *** (0.021) -0.022(0.032) Attendance at social events * Wave 0.013 ** (0.004) 0.010 ** (0.004) 0.010 * (0.005) Engage in physical exercise -0.072(0.079) -0.102(0.066) -0.137(0.075) Wave -0.112 *** (0.020) -0.129 *** (0.016) -0.207 ** (0.049) Engage in physical exercise * Wave 0.049 * (0.021) 0.060 *** (0.017) 0.069 *** (0.019) Constant term 9.292 *** (0.315) 9.476 *** (0.309) 7.307 *** (1.229) R-squared 0.031 *** 0.030 *** -0.630 *** Note: * p < 0.05, ** p < 0.01, *** p < 0.001 4.3 Heterogeneity analysis Education level groups conducted the heterogeneity analysis for several theoretical and methodological reasons. First, education level serves as a proxy for socioeconomic status and health literacy, both of which significantly influence the adoption of health behaviors and sleep hygiene practices. Second, educational attainment affects individuals' access to health information and their ability to implement lifestyle modifications effectively. Third, previous literature suggests that the relationship between physical activity and sleep outcomes varies across different socioeconomic strata. Education level was selected over other demographic factors (such as income or occupation) because it remains relatively stable throughout adulthood and is less susceptible to reverse causation bias in longitudinal studies. In this study, heterogeneity analyses were conducted to examine the differences in factors influencing sleep duration across middle-aged and older adult individuals from different educational background groups. Please refer to Fig. 4 for further details. In the primary school and below education level group, the effect of marital status on sleep duration was significantly positive (β = 0.389, p 0.1). In the high school and above education level group, marital status had a significantly positive impact (β = 0.272, p < 0.05). The squared term of age was significantly positive in both the primary school and below group (β = 0.000, p < 0.10) and the junior high school group (β = 0.001, p 0.10). The interaction term between males and age was significantly negative in the lower secondary education level group (β=-0.114, p 0.1) and high school and above groups (β=-0.022, p > 0.1). The interaction term between females and age was insignificant in the three education groups. Regarding chronic disease, the coefficient was significantly negative only in the high school and above education level group (β=-0.097, p < 0.10), with no significant effect found for the junior high school or primary school and below groups. Drinking behavior had a significantly negative effect (β=-0.095, p < 0.05) in the primary school and below group, in contrast to the non-significant effect of alcohol consumption in the junior high school and high school and above groups. For physical activity, the direct effect was negative in the primary school and below group (β=-0.113, p > 0.1) and significantly negative in the middle school group (β=-0.266, p < 0.10). The interaction between physical activity and time was significantly positive in the middle school group (β = 0.094, p < 0.05). In contrast, neither the direct effect nor the interaction term for physical activity was significant in the high school and above group. Heterogeneity analyses underscore the significant moderating role of education level in the factors affecting sleep duration in middle-aged and older adults. The findings from the heterogeneity analysis reveal that the long-term cumulative benefits of physical activity on sleep duration are most pronounced in the middle school education group. The effect of social activities and sleep duration is significant only in the primary school and below group. These results underscore the significant moderating role of education level in how these behaviors affect sleep over time. 5. Discussion and conclusions 5.1Discussion Temporal Effects of Physical Exercise on Sleep Duration Interestingly, the data revealed a crucial temporal dynamic for physical activity, showing that while a short-term, immediate association with sleep duration might be negative, the long-term, cumulative engagement has a robust positive effect. This pattern strongly suggests that the full realization of sleep benefits from physical activity is not instantaneous but necessitates long-term adherence. Consistent and sustained physical activity gradually enhances sleep duration by regulating physiological rhythms, effectively alleviating psychological stress, and improving overall physical function [ 19 ] . This finding provides a nuanced perspective beyond cross-sectional studies by demonstrating the 'maturation' of the protective effect of exercise over time, a mechanism which has been previously linked to better health and overall well-being in older adults [ 20 ] . Impact of Social Activity on Sleep Duration Notably, a positive, though comparatively more modest, long-term effect of social activity on sleep duration was also confirmed in our longitudinal analysis. Active participation in social activities is theorized to provide crucial emotional support, effectively mitigating feelings of loneliness and indirectly improving sleep outcomes by enhancing mental health [ 21 ] . Specifically, social engagement can improve both the subjective experience and objective quality of sleep by decreasing loneliness and depressive symptoms, particularly among older adult individuals living alone or widowed [ 22 ] . Furthermore, social activity may indirectly enhance sleep duration by promoting cognitive function and fostering psychological resilience [ 23 ] . This cumulative benefit, although smaller than that observed for physical activity, reinforces the idea that over time, the psychosocial benefits of social integration progressively strengthen their positive influence on sleep health. Differential Mechanisms of Physical Exercise and Social Activity Surprisingly, our findings delineate distinct temporal pathways and underlying mechanisms through which sustained physical exercise and social activity cumulatively enhance sleep duration among aging adults. Physical exercise appears to exert a more direct and substantial long-term effect, primarily through physiological mechanisms, such as optimizing circadian rhythms, enhancing cardiovascular function, and regulating neuroendocrine markers. In contrast, social activity contributes to sleep improvement indirectly, predominantly via psychosocial mechanisms, where sustained engagement reduces feelings of loneliness and alleviates depressive symptoms, thereby fostering emotional support and overall mental well-being [ 24 – 25 ] . This novel separation of long-term mechanisms reinforces the theoretical framework proposed in Fig. 1 , providing empirical evidence for the 'Cumulative Bridge' concept, where sustained behavioral inputs lead to greater long-term sleep benefits. Notably, our heterogeneity analysis revealed the significant moderating role of educational attainment in the long-term impact of health behaviors on sleep duration. Specifically, the most pronounced long-term cumulative benefits of physical activity were observed among the middle school education group, while the positive temporal effect of social activities was only evident in the primary school and below group. This differential impact suggests that educational level acts as a critical proxy for health literacy and socioeconomic status, influencing both the adoption of and the physiological response to lifestyle modifications [ 26 – 27 ] . Individuals with lower educational attainment may have less access to comprehensive health information or structured exercise facilities, making the adoption of any regular physical activity a more significant health gain [ 28 – 29 ] , which subsequently translates into a stronger temporal effect on sleep. Prior research also highlights that health literacy—closely linked to educational level—is a determinant of adopting and maintaining healthy behaviors, including sleep-related practices [ 30 – 31 ] . Moreover, meta-analytic evidence suggests that socioeconomic status moderates the conversion of behavioral intentions into actual physical activity [ 32 ] . From a theoretical perspective, the fundamental cause theory underscores that education, as a key component of socioeconomic status, persistently shapes health disparities by providing or limiting access to flexible resources such as knowledge, social support, and power [ 33 ] . This is a crucial novel finding that directly informs policy interventions, underscoring the necessity of designing targeted, educationally sensitive public health programs to maximize the sleep benefits for the most vulnerable segments of the aging population. Furthermore, the visualization in Fig. 5 dynamically illustrates the 'Cumulative Bridge' concept, with the temporal trends providing a clear interpretation of the short-term negative and long-term positive effects of physical activity on predicted sleep duration. Specifically, in the initial waves, the predicted sleep duration for the exercise group (blue line) declines more steeply than for the non-exercise group (red line), which is consistent with the estimated immediate negative direct effect of exercise. However, over the subsequent follow-up periods, this trajectory reverses; the exercise curve's decline substantially slows down, while the non-exercise curve continues its descent, leading to a gradually widening gap in favor of the sustained exercise group in later waves. This dynamic shift strongly visualizes how the long-term engagement effect successfully mitigates the age-related decline in sleep duration, supporting the idea that the protective effect of physical exercise on sleep duration increases cumulatively over time by improving cardiovascular function, regulating melatonin secretion, and reducing cortisol levels [ 34 ] . In contrast, the impact of social activity on sleep duration suggests a positive effect that emerges earlier, as it helps alleviate loneliness and depressive symptoms and provides emotional support, enabling middle-aged and older adults to experience better sleep early on [ 35 ] . Unlike physical exercise, improving sleep through social activity primarily occurs through psychological pathways, with limited direct effects on physiological mechanisms [ 36 ] . Nevertheless, the findings highlight that physical exercise and social activity act as complementary components in health interventions [ 37 ] . Physical exercise offers long-term physiological benefits, while social activity can effectively alleviate stress and loneliness in the short term [ 38 ] . Note wave1: first wave survey; wave2: second wave survey; wave3: third wave survey; wave4: fourth wave survey; Effects of Marital Status, Drinking Behavior, and Gender Differences The fixed-effects model robustly confirmed that marital status provides a substantial protective effect on sleep duration in middle-aged and older adults. Marital relationships are believed to indirectly enhance sleep duration by reducing stress perceptions, providing consistent emotional support, and promoting adherence to healthy behaviors [ 39 ] . Moreover, the quality of the marriage relationship critically affects sleep outcomes, where high-quality relationships are associated with a reduction in sleep disorders, while marital conflict can negatively affect sleep [ 40 ] . Conversely, the present study found a consistent and significant negative association between drinking behavior and sleep duration, suggesting that chronic alcohol consumption is a critical, yet modifiable, factor contributing to the reduction of sleep quality and duration in this demographic. Although alcohol may initially aid sleep onset, the consensus is that it disrupts sleep architecture, leading to fragmented sleep and early awakening problems [ 41 – 42 ] . This negative influence is further compounded as chronic consumption may increase the risk of insomnia and sleep disorders by affecting the balance of neurotransmitters [ 43 ] . Finally, the interaction effect of sex and age demonstrated a greater accelerated decline in sleep duration with age observed in women. This gender-specific acceleration may be attributed to hormonal fluctuations, particularly during the menopausal stage in women, which can substantially increase the prevalence of sleep disorders [ 44 ] . Limitations This study has several important limitations that should be considered when interpreting the findings. First, sleep duration was measured through self-reported questionnaires, which may introduce recall bias and social desirability bias. Objective sleep measurement devices could provide more accurate assessments in future studies. Second, the study experienced attrition across the nine-year follow-up period, which may introduce selection bias if dropout was related to sleep patterns or health behaviors. Third, the generalizability of findings may be limited to the Chinese cultural context, and cross-cultural validation would strengthen the evidence base. Fourth, while we controlled for several important confounders, unmeasured variables such as specific mental health conditions, detailed medication use, sleep disorders, and environmental factors may influence the relationships observed. Fifth, the discrete time specification, while interpretable, may not capture more nuanced temporal dynamics that could be revealed through continuous time modeling. Finally, the study measures sleep duration rather than comprehensive sleep quality, which includes factors such as sleep efficiency, sleep latency, and subjective sleep satisfaction. 5.2Conclusions This study finds that long-term participation in physical exercise and social activities positively affects sleep duration, with physical exercise showing a more pronounced long-term impact. Marital status significantly protects sleep duration, while alcohol consumption has a notable negative effect on sleep time. The non-linear relationship between age and sleep duration, along with gender differences, further highlights the complexity of sleep issues in middle-aged and older adult populations. Building on existing research, this study further validates the multi-dimensional impact of health behaviors on sleep duration, emphasizing the complementary role of physical exercise and social activities. The findings suggest specific policy directions: (1) Public health programs should emphasize sustained, long-term physical activity engagement rather than short-term intensive interventions, given the temporal dynamics observed; (2) Community-based social activity programs should be integrated with physical activity initiatives to maximize complementary benefits; (3) Health education should address alcohol consumption patterns as part of comprehensive sleep hygiene promotion; (4) Interventions should consider the differential effects across educational levels, with particular attention to lower-educated populations who showed stronger responses to behavioral interventions. Declarations Data Availability : The datasets generated and/or analyzed during the current study are available in the China Health and Retirement Longitudinal Study (CHARLS) repository, which is publicly accessible. Data access can be requested through the official CHARLS website at http://charls.pku.edu.cn/en/. Funding Declaration: This research did not receive any specific grant from funding agencies in the public, commercial, or not-for-profit sectors. Clinical Trial Number : not applicable. Consent for publication : not applicable. Author Contribution Guiping Zhao: Conceptualization, Methodology, Investigation, Data collection, Formal analysis, Writing – original draft, Visualization.Ketao Zhang: Investigation, Data collection, Data analysis, Writing – review and editing, Validation.Xiaotian Li: Conceptualization, Methodology, Supervision, Writing – review and editing. References Miner B, Kryger MH. Sleep in the Aging Population. Sleep Med Clin. 2020;15(2):311–8. Hsu MF, Lee KY, Lin TC, et al. Subjective sleep quality and association with depression syndrome, chronic diseases, and health-related physical fitness in the middle-aged and elderly[J]. BMC Public Health. 2021;21:1–9. Andreasson A, Axelsson J, Bosch JA, et al. Poor sleep quality is associated with worse self-rated health in long sleep duration but not short sleep duration[J]. Sleep Med. 2021;88:262–6. Lallukka T, Sivertsen B, Kronholm E, et al. Association of sleep duration and sleep quality with the physical, social, and emotional functioning among Australian adults[J]. Sleep Health. 2018;4(2):194–200. Wang P, Song L, Wang K, et al. Prevalence and associated factors of poor sleep quality among Chinese older adults living in a rural area: a population-based study[J]. Aging Clin Exp Res. 2020;32:125–31. Thichumpa W, Howteerakul N, Suwannapong N, et al. Sleep quality and associated factors among the elderly living in rural Chiang Rai, northern Thailand[J]. Epidemiol health. 2018;40:e2018018. Uchmanowicz I, Markiewicz K, Uchmanowicz B et al. The relationship between sleep disturbances and quality of life in elderly patients with hypertension[J]. Clin Interv Aging, 2019: 155–65. Ramezankhani A, Azizi F, Hadaegh F. Associations of marital status with diabetes, hypertension, cardiovascular disease, and all-cause mortality: a long-term follow-up study[J]. PLoS ONE. 2019;14(4):e0215593. Sun XH, Ma T, Yao S, et al. Associations of sleep quality and sleep duration with frailty and pre-frailty in an elderly population, Rugao longevity and aging study[J]. BMC Geriatr. 2020;20:1–9. Britton A, Fat LN, Neligan A. The association between alcohol consumption and sleep disorders among older people in the general population[J]. Sci Rep. 2020;10(1):5275. Vanderlinden J, Boen F, Van Uffelen JGZ. Effects of physical activity programs on sleep outcomes in older adults: a systematic review[J]. Int J Behav Nutr Phys Activity. 2020;17:1–15. Trabelsi K, Ammar A, Masmoudi L, et al. Sleep quality and physical activity as predictors of mental well-being variance in older adults during COVID-19 lockdown: ECLB COVID-19 international online survey[J]. Int J Environ Res Public Health. 2021;18(8):4329. Bademli K, Lok N, Canbaz M, Effects of Physical Activity Program on cognitive function and sleep quality in the elderly with mild cognitive impairment: A randomized controlled trial[J]. Perspectives in psychiatric care, Fu C, Li Z, Mao Z et al. Association between social activities and cognitive function among the elderly in China: a cross-sectional study[J]. International journal of environmental research and public health, 2018, 15(2): 231. Shirley R, Yaghooti F, Griffiths DM. The mediating and moderating effects of psychological distress on the relationship between social media use with perceived social isolation and sleep quality of late middle-aged and older adults[J].BMC Geriatrics,2024,24(1):655–655. Popovic S, Masanovic B. Effects of physical and social activity on physical health and social inclusion of elderly people[J]. Iranian Journal of Public Health, 2019, 48(10): 1922. Wang XX, Zhang WJ, Zhang W, et al. The association between couple relationships and sleep[J]. Sleep Med Rev. 2024;74:101910. Zulfikar R, STp MM. Estimation model and selection method of panel data regression: An overview of common effect, fixed effect, and random effect models [J]. Volume 9. JEMA: Jurnal Ilmiah Bidang Akuntansi; 2018. pp. 1–10. 2. Sarstedt M, Ringle CM, Cheah JH, et al. Structural model robustness checks in PLS-SEM[J]. Tour Econ. 2020;26(4):531–54. Sejbuk M, Mirończuk-Chodakowska I, Witkowska AM. Sleep quality: a narrative review on nutrition, stimulants, and physical activity as important factors[J]. Nutrients, 2022, 14(9): 1912. Xie Y, Liu S, Chen XJ, et al. Effects of exercise on sleep quality and insomnia in adults: a systematic review and meta-analysis of randomized controlled trials[J]. Front Psychiatry. 2021;12:664499. Kim C, Ko H. The impact of self-compassion on mental health, sleep, quality of life, and life satisfaction among older adults[J]. Geriatr Nurs. 2018;39(6):623–8. Yu B, Steptoe A, Niu K, et al. Prospective associations of social isolation and loneliness with poor sleep quality in older adults[J]. Qual Life Res. 2018;27:683–91. Hu Z, Zhu X, Kaminga AC, et al. Association between poor sleep quality and depression symptoms among the elderly in nursing homes in Hunan province, China: a cross-sectional study[J]. BMJ open. 2020;10(7):e036401. Banno M, Harada Y, Taniguchi M, et al. Exercise can improve sleep quality: a systematic review and meta-analysis[J]. PeerJ. 2018;6:e5172. Viner RM, Gireesh A, Stiglic N, et al. Roles of cyberbullying, sleep, and physical activity in mediating the effects of social media use on mental health and wellbeing among young people in England: a secondary analysis of longitudinal data[J]. Lancet Child Adolesc Health. 2019;3(10):685–96. Papadopoulos D, Sosso FAE, Nriagu J. Socioeconomic status and sleep health: a narrative review[J]. Sleep Med Clin. 2023;18(1):127–39. Lee GB, Kim SY, Kim JH, et al. Association between socioeconomic status and longitudinal sleep quality patterns: the mediating role of depressive symptoms[J]. Sleep. 2021;44(8):zsab044. Scholes S, Bann D. Education-related disparities in reported physical activity among adults: evidence from the Health Survey for England[J]. BMC Public Health. 2018;18:1140. Lund MM, Møller NC, Bugge A, et al. Socioeconomic status moderates the effect of physical education intervention on overweight/obesity risk in primary school children: a longitudinal quasi-experimental study[J]. Int J Behav Nutr Phys Act. 2025;22:76. Klinker CD, Aaby A, Ringgaard LW, et al. Health literacy is associated with health behaviors in patients with cardiovascular risk[J]. BMC Public Health. 2020;20:1701. Bonuck KA, Schwartz B, Schechter C, et al. Sleep health literacy in Head Start families and staff[J]. Health Behav Policy Rev. 2016;3(6):565–77. Schüz B, Li ASW, Hardinge A, et al. Socioeconomic status moderates the relation between intentions and physical activity: a meta-analysis based on the theory of planned behavior[J]. Psychol Health. 2017;32(5):678–93. Phelan JC, Link BG. Social conditions as fundamental causes of disease[J]. J Health Soc Behav, 1995, Spec No: 80–94. Huang BH, Duncan MJ, Cistulli PA, et al. Sleep and physical activity in relation to all-cause, cardiovascular disease, and cancer mortality risk[J]. Br J Sports Med. 2022;56(13):718–24. Benson JA, McSorley VE, Hawkley LC, et al. Associations of loneliness and social isolation with actigraph and self-reported sleep quality in a national sample of older adults[J]. Sleep. 2021;44(1):zsaa140. Bisson ANS, Robinson SA, Lachman ME. Walk to a better night of sleep: testing the relationship between physical activity and sleep[J]. Sleep health. 2019;5(5):487–94. Lamb SE, Sheehan B, Atherton N et al. Dementia And Physical Activity (DAPA) trial of moderate to high intensity exercise training for people with dementia: randomised controlled trial[J]. BMJ, 2018, 361. Van den Berg MM, van Poppel M, van Kamp I, et al. Do physical activity, social cohesion, and loneliness mediate the association between time spent visiting green space and mental health?[J]. Environ Behav. 2019;51(2):144–66. Keller PS, Haak EA, DeWall CN, et al. Poor sleep is associated with greater marital aggression: The role of self-control [J]. Behav sleep Med. 2019;17(2):174–80. Marini CM, Martire LM, Jones DR, et al. Daily links between sleep and anger among spouses of chronic pain patients[J]. Journals Gerontology: Ser B. 2020;75(5):927–36. Fucito LM, Bold KW, Van Reen E, et al. Reciprocal variations in sleep and drinking over time among heavy-drinking young adults[J]. J Abnorm Psychol. 2018;127(1):92. Britton A, Fat LN, Neligan A. The association between alcohol consumption and sleep disorders among older people in the general population[J]. Sci Rep. 2020;10(1):5275. He S, Hasler BP, Chakravorty S. Alcohol and sleep-related problems[J]. Curr Opin Psychol. 2019;30:117–22. Zheng R, Niu J, Wu S, et al. Gender and age differences in the association between sleep characteristics and fasting glucose levels in Chinese adults[J]. Volume 47. Diabetes & Metabolism; 2021. p. 101174. 2. Additional Declarations No competing interests reported. Cite Share Download PDF Status: Published Journal Publication published 30 Apr, 2026 Read the published version in BMC Public Health → Version 1 posted Editorial decision: Revision requested 02 Feb, 2026 Reviews received at journal 26 Jan, 2026 Reviews received at journal 25 Jan, 2026 Reviewers agreed at journal 05 Jan, 2026 Reviewers agreed at journal 03 Jan, 2026 Reviewers agreed at journal 29 Dec, 2025 Reviews received at journal 12 Dec, 2025 Editor invited by journal 12 Dec, 2025 Reviewers agreed at journal 20 Oct, 2025 Reviewers invited by journal 15 Oct, 2025 Editor assigned by journal 13 Oct, 2025 Submission checks completed at journal 13 Oct, 2025 First submitted to journal 09 Oct, 2025 You are reading this latest preprint version Research Square lets you share your work early, gain feedback from the community, and start making changes to your manuscript prior to peer review in a journal. As a division of Research Square Company, we’re committed to making research communication faster, fairer, and more useful. We do this by developing innovative software and high quality services for the global research community. Our growing team is made up of researchers and industry professionals working together to solve the most critical problems facing scientific publishing. Also discoverable on Platform About Our Team In Review Editorial Policies Advisory Board Help Center Resources Author Services Accessibility API Access RSS feed Manage Cookie Preferences © Research Square 2026 | ISSN 2693-5015 (online) Privacy Policy Terms of Service Do Not Sell My Personal Information {"props":{"pageProps":{"initialData":{"identity":"rs-7814929","acceptedTermsAndConditions":true,"allowDirectSubmit":false,"archivedVersions":[],"articleType":"Research Article","associatedPublications":[],"authors":[{"id":534766834,"identity":"4e93945c-4e31-4424-a910-ad1cabe32d1c","order_by":0,"name":"Guiping Zhao","email":"","orcid":"","institution":"Capital University of Physical Education","correspondingAuthor":false,"prefix":"","firstName":"Guiping","middleName":"","lastName":"Zhao","suffix":""},{"id":534766839,"identity":"852e5dda-ab11-4c5b-88c7-e635f3c7ec22","order_by":1,"name":"Ketao Zhang","email":"","orcid":"","institution":"Capital University of Physical Education","correspondingAuthor":false,"prefix":"","firstName":"Ketao","middleName":"","lastName":"Zhang","suffix":""},{"id":534766840,"identity":"2103109e-c7bc-494b-a76e-1244445cddb8","order_by":2,"name":"Xiaotian Li","email":"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAZAAAAAyAQMAAABI0h/eAAAABlBMVEX///8AAABVwtN+AAAACXBIWXMAAA7EAAAOxAGVKw4bAAAA90lEQVRIiWNgGAWjYBACPmYGhgNAmoeBgfkATNAArxY2iBYDoBa2BCK1IBTxwFUS0MLOY3jgR8UfGf7ZPR8/8+6wsWdgb94mwVBzB4/D2BIO9pwx4JG4c3azNO+ZtMQGnmNlEgzHnuHRwnzgAG8b0C83crcx87YdTmCQyDGTYGw4jEcLY8PBv0At8jdyngG1/LdnkH9DSAvzgcMgWwxu5LABtRxgbJDgIaSFLeGwzBljHsMbacaSc88kJ7bxpBVbJBzDrYWf/4zxxzcVcvZyN5Iffni7w86en/3wxhsfanBrQQWMDdCYSiBSA0TLKBgFo2AUjAJ0AACT3EtYOhxkLwAAAABJRU5ErkJggg==","orcid":"","institution":"Capital University of Physical Education","correspondingAuthor":true,"prefix":"","firstName":"Xiaotian","middleName":"","lastName":"Li","suffix":""}],"badges":[],"createdAt":"2025-10-09 08:23:54","currentVersionCode":1,"declarations":"","doi":"10.21203/rs.3.rs-7814929/v1","doiUrl":"https://doi.org/10.21203/rs.3.rs-7814929/v1","draftVersion":[],"editorialEvents":[{"content":"https://doi.org/10.1186/s12889-026-27502-1","type":"published","date":"2026-04-30T15:58:31+00:00"}],"editorialNote":"","failedWorkflow":false,"files":[{"id":94824471,"identity":"6775b33c-e73e-4cc5-b6fe-087175b38176","added_by":"auto","created_at":"2025-10-31 06:49:02","extension":"docx","order_by":0,"title":"","display":"","copyAsset":false,"role":"acdc-reference","size":621705,"visible":true,"origin":"","legend":"","description":"","filename":"Manuscript..docx","url":"https://assets-eu.researchsquare.com/files/rs-7814929/v1/2b88a0c420074b624ae04b7e.docx"},{"id":94758795,"identity":"19731483-fc21-477d-8efa-b29c49f2fd61","added_by":"auto","created_at":"2025-10-30 11:52:09","extension":"json","order_by":1,"title":"","display":"","copyAsset":false,"role":"acdc-reference","size":5779,"visible":true,"origin":"","legend":"","description":"","filename":"0866e443aff94b5aba659cabe199b0f7.json","url":"https://assets-eu.researchsquare.com/files/rs-7814929/v1/8560bb30b472ddf4c3c6d6fc.json"},{"id":94758784,"identity":"bca62186-b0e6-44e3-b297-f0df54af5d02","added_by":"auto","created_at":"2025-10-30 11:52:09","extension":"xml","order_by":2,"title":"","display":"","copyAsset":false,"role":"acdc-reference","size":128771,"visible":true,"origin":"","legend":"","description":"","filename":"0866e443aff94b5aba659cabe199b0f71enriched.xml","url":"https://assets-eu.researchsquare.com/files/rs-7814929/v1/128dfdf30c910a9a37afaf9b.xml"},{"id":94823978,"identity":"288d6302-0ffb-48a8-af98-0ac8d86b1edb","added_by":"auto","created_at":"2025-10-31 06:48:20","extension":"png","order_by":5,"title":"","display":"","copyAsset":false,"role":"acdc-reference","size":3103,"visible":true,"origin":"","legend":"","description":"","filename":"floatimage3.png","url":"https://assets-eu.researchsquare.com/files/rs-7814929/v1/a6b5bed9aa89bac8d6b9d0a7.png"},{"id":94758787,"identity":"a00799de-0719-4620-8ec6-34f141d3d3c4","added_by":"auto","created_at":"2025-10-30 11:52:09","extension":"png","order_by":9,"title":"","display":"","copyAsset":false,"role":"acdc-reference","size":31452,"visible":true,"origin":"","legend":"","description":"","filename":"Onlinefloatimage1.png","url":"https://assets-eu.researchsquare.com/files/rs-7814929/v1/115266e17fc7e289ec20bc47.png"},{"id":94824567,"identity":"abf98cf2-423b-46fa-8229-4fb105d1b9bb","added_by":"auto","created_at":"2025-10-31 06:49:08","extension":"png","order_by":10,"title":"","display":"","copyAsset":false,"role":"acdc-reference","size":49996,"visible":true,"origin":"","legend":"","description":"","filename":"Onlinefloatimage2.png","url":"https://assets-eu.researchsquare.com/files/rs-7814929/v1/e6ea7c95c004e7d8aac242ce.png"},{"id":94758790,"identity":"58f4d3b3-5e20-4b49-a065-884d5550e09d","added_by":"auto","created_at":"2025-10-30 11:52:09","extension":"png","order_by":11,"title":"","display":"","copyAsset":false,"role":"acdc-reference","size":2397,"visible":true,"origin":"","legend":"","description":"","filename":"Onlinefloatimage3.png","url":"https://assets-eu.researchsquare.com/files/rs-7814929/v1/909033248101184f918f8d4b.png"},{"id":94758798,"identity":"e7583498-23e2-489e-8a2d-425afeed14a3","added_by":"auto","created_at":"2025-10-30 11:52:09","extension":"png","order_by":12,"title":"","display":"","copyAsset":false,"role":"acdc-reference","size":51500,"visible":true,"origin":"","legend":"","description":"","filename":"Onlinefloatimage4.png","url":"https://assets-eu.researchsquare.com/files/rs-7814929/v1/c87a38d167db3ab1a814aabc.png"},{"id":94758792,"identity":"d4da48bc-7364-4ee8-9a4c-5a07c548a13b","added_by":"auto","created_at":"2025-10-30 11:52:09","extension":"png","order_by":13,"title":"","display":"","copyAsset":false,"role":"acdc-reference","size":49883,"visible":true,"origin":"","legend":"","description":"","filename":"Onlinefloatimage5.png","url":"https://assets-eu.researchsquare.com/files/rs-7814929/v1/7cd2d1f3279eb108de373886.png"},{"id":94758797,"identity":"021ae9f7-ee7b-4ee5-b9d2-12c485d514fc","added_by":"auto","created_at":"2025-10-30 11:52:09","extension":"png","order_by":14,"title":"","display":"","copyAsset":false,"role":"acdc-reference","size":29786,"visible":true,"origin":"","legend":"","description":"","filename":"Onlinefloatimage6.png","url":"https://assets-eu.researchsquare.com/files/rs-7814929/v1/5c6dc87a2fdb07f1d9723212.png"},{"id":94758799,"identity":"56afefff-306f-494d-82b8-1e1de97a4268","added_by":"auto","created_at":"2025-10-30 11:52:09","extension":"xml","order_by":15,"title":"","display":"","copyAsset":false,"role":"acdc-reference","size":124348,"visible":true,"origin":"","legend":"","description":"","filename":"0866e443aff94b5aba659cabe199b0f71structuring.xml","url":"https://assets-eu.researchsquare.com/files/rs-7814929/v1/bd06ca14b2213f46fae48f5b.xml"},{"id":94758800,"identity":"487558eb-872c-4440-91ae-e7f222e0091d","added_by":"auto","created_at":"2025-10-30 11:52:09","extension":"html","order_by":16,"title":"","display":"","copyAsset":false,"role":"acdc-reference","size":134870,"visible":true,"origin":"","legend":"","description":"","filename":"earlyproof.html","url":"https://assets-eu.researchsquare.com/files/rs-7814929/v1/eb930bfff307995f5f3cf076.html"},{"id":94758783,"identity":"d7cbdc43-cad2-487a-a7e4-beb8e4a2d5d1","added_by":"auto","created_at":"2025-10-30 11:52:09","extension":"png","order_by":1,"title":"Figure 1","display":"","copyAsset":false,"role":"figure","size":72817,"visible":true,"origin":"","legend":"\u003cp\u003eResearch Framework Diagram\u003c/p\u003e","description":"","filename":"floatimage1.png","url":"https://assets-eu.researchsquare.com/files/rs-7814929/v1/fbe1c6424f937312581e3d43.png"},{"id":94824008,"identity":"d5dd2f37-b9c2-461e-881e-373da7045b8b","added_by":"auto","created_at":"2025-10-31 06:48:22","extension":"png","order_by":2,"title":"Figure 2","display":"","copyAsset":false,"role":"figure","size":98525,"visible":true,"origin":"","legend":"\u003cp\u003eFlowchart of Participant Selection\u003c/p\u003e","description":"","filename":"floatimage2.png","url":"https://assets-eu.researchsquare.com/files/rs-7814929/v1/5881ffdcc00d1ddb6fefe959.png"},{"id":94823175,"identity":"f90a2737-830a-42d9-bafa-846b648485a6","added_by":"auto","created_at":"2025-10-31 06:46:36","extension":"png","order_by":3,"title":"Figure 3","display":"","copyAsset":false,"role":"figure","size":151722,"visible":true,"origin":"","legend":"\u003cp\u003eNested fixed effects model analysis.s Analysis Heatmap\u003c/p\u003e\n\u003cp\u003eNote: *** p\u0026lt;0.01, ** p\u0026lt;0.05, * p\u0026lt;0.1\u003c/p\u003e","description":"","filename":"floatimage4.png","url":"https://assets-eu.researchsquare.com/files/rs-7814929/v1/dd6287df84454b7bcac00b24.png"},{"id":94758791,"identity":"6f16211a-95ca-489f-a31f-e64769b77929","added_by":"auto","created_at":"2025-10-30 11:52:09","extension":"png","order_by":4,"title":"Figure 4","display":"","copyAsset":false,"role":"figure","size":141587,"visible":true,"origin":"","legend":"\u003cp\u003eForest Plot of Heterogeneity Analysis by Education\u003c/p\u003e","description":"","filename":"floatimage5.png","url":"https://assets-eu.researchsquare.com/files/rs-7814929/v1/1e2023af5e00e2be116b8828.png"},{"id":94824390,"identity":"37a5d2bb-2af3-4657-91f2-73fde15ce196","added_by":"auto","created_at":"2025-10-31 06:48:57","extension":"png","order_by":5,"title":"Figure 5","display":"","copyAsset":false,"role":"figure","size":97086,"visible":true,"origin":"","legend":"\u003cp\u003eInteraction Effect Diagram\u003c/p\u003e\n\u003cp\u003eNote: wave1: first wave survey; wave2: second wave survey; wave3: third wave survey; wave4: fourth wave survey;\u003c/p\u003e","description":"","filename":"floatimage6.png","url":"https://assets-eu.researchsquare.com/files/rs-7814929/v1/d41dfdab3c96bcb89797b14c.png"},{"id":108437725,"identity":"1f4418fa-036a-482e-a929-0bb3169c3e9c","added_by":"auto","created_at":"2026-05-04 16:02:57","extension":"pdf","order_by":0,"title":"","display":"","copyAsset":false,"role":"manuscript-pdf","size":887851,"visible":true,"origin":"","legend":"","description":"","filename":"manuscript.pdf","url":"https://assets-eu.researchsquare.com/files/rs-7814929/v1/f4af7d95-b652-4a75-a499-75e4f1d18fce.pdf"}],"financialInterests":"No competing interests reported.","formattedTitle":"The Cumulative Bridge: How Long-Term Physical Activity and Social Engagement Gradually Enhance Sleep Health in Aging Adults","fulltext":[{"header":"1. Introduction","content":"\u003cp\u003eWith the acceleration of population aging, the health problems of middle-aged and older adults are receiving increasing attention, among which sleep problems are particularly prominent. Sleep is a crucial foundation for maintaining physical and mental health, as it impacts individuals' physiological functions, psychological state, and cognitive abilities \u003csup\u003e[\u003cspan citationid=\"CR1\" class=\"CitationRef\"\u003e1\u003c/span\u003e]\u003c/sup\u003e. In recent years, the quality of sleep in the middle-aged and older adult population has shown a declining trend globally, with a significant increase in sleep deprivation and sleep disorders, which seriously affects their quality of life and health\u003csup\u003e[\u003cspan citationid=\"CR2\" class=\"CitationRef\"\u003e2\u003c/span\u003e]\u003c/sup\u003e. Despite extensive research, a considerable gap remains in understanding the long-term, dynamic, and cumulative effects of health behaviors on sleep duration. Most existing studies, often relying on cross-sectional data, are limited in their ability to capture these temporal trends and causal relationships. Research shows that the average sleep duration in China's middle-aged and elderly population is decreasing yearly, and the subjective quality of sleep\u0026mdash;which refers to individuals' personal assessment and satisfaction with their sleep experience, including perceived sleep adequacy, refreshment upon waking, and overall sleep satisfaction\u0026mdash;continues to decline\u003csup\u003e[\u003cspan citationid=\"CR3\" class=\"CitationRef\"\u003e3\u003c/span\u003e\u0026ndash;\u003cspan citationid=\"CR4\" class=\"CitationRef\"\u003e4\u003c/span\u003e]\u003c/sup\u003e. This phenomenon poses a threat to individual health. It may also exacerbate the burden of medical care on society, making it a public health problem that needs to be addressed urgently.\u003c/p\u003e\u003cp\u003eExisting studies have shown that the factors affecting the sleep duration of middle-aged and older adults are complex and diverse, including physiological, psychological, and social factors\u003csup\u003e[\u003cspan citationid=\"CR5\" class=\"CitationRef\"\u003e5\u003c/span\u003e\u0026ndash;\u003cspan citationid=\"CR6\" class=\"CitationRef\"\u003e6\u003c/span\u003e]\u003c/sup\u003e. This study explores how specific health behaviors\u0026mdash;namely marital status, alcohol consumption patterns, physical exercise participation, and social activity engagement\u0026mdash;affect sleep duration in middle-aged and older adults. To address these critical gaps, this study systematically investigates the long-term, cumulative effects of key health behaviors, specifically physical exercise and social engagement, on sleep duration in aging adults. Our research is guided by the following core questions: 1) What is the long-term, dynamic relationship between sustained physical activity and social engagement, and sleep duration in middle-aged and older adults? 2) How do physical activity and social activity interact to produce synergistic effects on long-term sleep health? Through systematic analyses of these questions, this study aims to provide a theoretical basis and practical reference for improving the sleep duration of middle-aged and older adults.\u003c/p\u003e\u003cp\u003ePrevious research has established that health behaviors such as marital status, drinking behavior, physical exercise, and social activities are closely related to the sleep duration of middle-aged and older adults. Marital status is considered an important social factor affecting the sleep of middle-aged and older adults. Studies have found that the advantages of being married in terms of emotional support and life stability can significantly improve their sleep duration, while unmarried, divorced, or widowed people are more likely to have sleep problems due to a lack of emotional support\u003csup\u003e[\u003cspan citationid=\"CR7\" class=\"CitationRef\"\u003e7\u003c/span\u003e\u0026ndash;\u003cspan citationid=\"CR8\" class=\"CitationRef\"\u003e8\u003c/span\u003e]\u003c/sup\u003e. The quality of the marital relationship can also significantly impact sleep outcomes, with high-quality marital relationships considerably reducing the incidence of sleep disorders. In contrast, marital conflict can harm sleep\u003csup\u003e[\u003cspan citationid=\"CR9\" class=\"CitationRef\"\u003e9\u003c/span\u003e]\u003c/sup\u003e.\u003c/p\u003e\u003cp\u003eThe negative impact of unhealthy lifestyles (e.g., drinking behaviors) on the quality of sleep in middle-aged and older adults should not be overlooked. Although alcohol consumption may help with sleep in the short term, long-term consumption of alcohol can lead to fragmented sleep, reduced deep sleep, and early awakenings, which can significantly reduce the quality of sleep\u003csup\u003e[\u003cspan citationid=\"CR10\" class=\"CitationRef\"\u003e10\u003c/span\u003e]\u003c/sup\u003e. Limiting drinking behavior and promoting healthy lifestyles are thus important measures to improve sleep problems in middle-aged and older people.\u003c/p\u003e\u003cp\u003eThe impact of health behaviors on sleep has attracted increasing attention in recent years. As an effective way to improve sleep, the long-term effect of physical exercise has been widely recognized. Regular low- and medium-intensity exercise can regulate physiological rhythms, alleviate psychological pressure, and improve sleep duration by enhancing body functions. In contrast, short-term high-intensity exercise may lead to fatigue or post-exercise euphoria, which may harm sleep\u003csup\u003e[\u003cspan additionalcitationids=\"CR12\" citationid=\"CR11\" class=\"CitationRef\"\u003e11\u003c/span\u003e\u0026ndash;\u003cspan citationid=\"CR13\" class=\"CitationRef\"\u003e13\u003c/span\u003e]\u003c/sup\u003e. Socialization, as an important form of social support, has also been shown to indirectly enhance sleep duration by reducing loneliness and improving mental health\u003csup\u003e[\u003cspan citationid=\"CR14\" class=\"CitationRef\"\u003e14\u003c/span\u003e]\u003c/sup\u003e. Studies have shown that middle-aged and older adults who are socially active have significantly better sleep duration and quality of sleep than those who are socially inactive\u003csup\u003e[\u003cspan citationid=\"CR15\" class=\"CitationRef\"\u003e15\u003c/span\u003e]\u003c/sup\u003e.\u003c/p\u003e\u003cp\u003eMany studies have been conducted to explore the effects of health behaviors on sleep. However, the following shortcomings still exist: 1) most of the studies mainly focus on the effects of single health behaviors (e.g., physical activity or alcohol consumption behaviors) on sleep and lack a comprehensive analysis of multiple health behaviors; 2) there are fewer studies on the long-term dynamic effects of health behaviors on sleep and their interactions; and 3) most of the existing studies are based on cross-sectional data, which cannot establish causal relationships between variables. Based on the five-wave panel data of the China Health and Retirement Longitudinal Study (CHARLS), this study uses nested model analysis to systematically investigate the long-term dynamic effects of various health behaviors, specifically examining the long-term and interactive effects of physical activity and social activity on sleep duration.\u003c/p\u003e\u003cp\u003eBased on the five-wave panel data of the China Health and Retirement Longitudinal Study (CHARLS), this study uses nested model analysis to systematically investigate the long-term dynamic effects of health behaviors such as marital status, alcohol consumption, physical activity, and social activity on sleep duration and their interactive effects. This study aims to contribute unique empirical evidence to the theoretical understanding of how health behaviors influence sleep duration through longitudinal mechanisms, by specifically quantifying the distinct temporal effects of both physical and social activities. Moreover, this research provides a crucial practical reference for developing evidence-based interventions to improve sleep outcomes among middle-aged and elderly populations by highlighting the cumulative benefits of sustained engagement and the potential for synergistic effects between these two key behaviors.\u003c/p\u003e\u003cp\u003eFigure \u003cspan refid=\"Fig1\" class=\"InternalRef\"\u003e1\u003c/span\u003e presents the conceptual framework of this study. Physical exercise and social activities are the key independent variables that affect sleep duration among middle-aged and older adults through both direct effects and their interactions with time. Marital status, drinking, gender, age, education, and chronic diseases are included as control variables. Two potential mechanisms are proposed: (1) physiological mechanisms, where physical exercise improves circadian rhythms and physical functions, thereby enhancing sleep over time; and (2) psychosocial mechanisms, where social participation reduces loneliness and improves emotional well-being, thereby promoting better sleep.\u003c/p\u003e\u003cp\u003e\u003c/p\u003e"},{"header":"2. Methods of analysis","content":"\u003cdiv id=\"Sec3\" class=\"Section2\"\u003e\u003ch2\u003e2.1Data sources\u003c/h2\u003e\u003cp\u003eThis paper uses data from the China Health and Retirement Longitudinal Study (CHARLS). CHARLS is a representative longitudinal survey of people aged 45 and above in mainland China, conducted by the National Development Research Institute of Peking University, covering 150 counties/districts, 17,708 households, and more than 33,600 interviewees aged 45 and above, and collecting multi-dimensional information on socio-economic and health conditions to meet the needs of scientific research on aging. Its national baseline survey was conducted in 2011-12, with four rounds of follow-up surveys with conventional questionnaires in 2013, 2015, 2018, and 2020, and the Life Course Survey of Middle-aged and Older Adults in China was completed in 2014. In late 2019 and early 2020, the COVID-19 pandemic broke out in China. To document the impact of the COVID-19 pandemic on the lives and health of middle-aged and older adults in China promptly, additional information related to the pandemic was captured in the 5th round of the survey in 2020. All participants gave written informed consent during the original CHARLS surveys; the dataset provided to researchers is fully de-identified.\u003c/p\u003e\u003cp\u003eThe data used in this paper are panel data formed by manually merging the data from the five waves from 2011 to 2020, which provides an excellent data source for exploring the relationship between physical activity and sleep duration. The panel data structure was first set up during the data cleaning process, followed by a balance test to ensure that the dataset complied with the panel data requirements. The variable cleaning process recoded the education level to generate a new education level variable; the sleep duration variable was truncated to reduce the impact of extreme values on the results of the analyses. Social activity variables were merged and processed to generate new social activity variables and recoded according to social activity frequency. The age variable ensured that the minimum value was 45 years, and a squared term for age was created for analyzing non-linear effects. To ensure data integrity, observations containing missing values were excluded to ensure that the remaining data were not missing and could be used for subsequent analyses.\u003c/p\u003e\u003c/div\u003e\u003cdiv id=\"Sec4\" class=\"Section2\"\u003e\u003ch2\u003e2.2 Analytical Sample Selection\u003c/h2\u003e\u003cp\u003eTo ensure the rigor of our analysis, we performed a strict data screening process, as detailed in Fig.\u0026nbsp;\u003cspan refid=\"Fig2\" class=\"InternalRef\"\u003e2\u003c/span\u003e. From an initial dataset of 23,901 independent participants and 62,711 observations, we applied the listwise deletion requirement of the fixed-effects regression model. This involved excluding all observations with missing values in our primary independent and dependent variables, as well as essential control variables, including sleep, marital status, age, urban/rural residence, education, drinking, chronic diseases, social activity, and physical activity. Our final analytical cohort consisted of 5,082 independent participants and 57,716 observations.\u003c/p\u003e\u003cp\u003e\u003c/p\u003e\u003c/div\u003e\u003cdiv id=\"Sec5\" class=\"Section2\"\u003e\u003ch2\u003e2.3Variant\u003c/h2\u003e\u003cp\u003eThe core independent variables were physical activity and social engagement. In this study, we categorized physical activity based on whether respondents engaged in regular physical activity in their daily lives. The variable is categorized as a binary indicator (0\u0026thinsp;=\u0026thinsp;no participation, 1\u0026thinsp;=\u0026thinsp;participation) based on participants' responses to questions about their engagement in structured physical activities such as walking, jogging, swimming, tai chi, or other forms of exercise. The measurement relies on participants' self-assessment of their physical activity engagement without specific quantitative thresholds for intensity or duration. Sleep duration, the dependent variable, is derived from question DA049 in the questionnaire: \"In the past month, on average, how many hours did you fall asleep each night?\" The sleep time was truncated to a minimum of 1 hour and a maximum of 10 hours.\u003c/p\u003e\u003cp\u003eControl variables included gender, marital status, age, age squared, education level, drinking habits, chronic disease status, interaction terms between social activity and survey wave, and interaction terms between physical activity and survey wave. Gender was coded as 1 for men and 2 for women; marital status was coded as 1 for married individuals and 2 for those who are unmarried, divorced, or widowed. The hukou variable was coded as 1 for urban and 2 for rural residents. Age was treated as a continuous variable, with individuals younger than 45 grouped as 45 years old for data cleaning, grouping, and outlier treatment purposes. To capture potential non-linear relationships between age and sleep duration, a quadratic age term (age\u0026sup2;) was included in the model specification. This specification was predetermined based on theoretical expectations that sleep duration may follow a curvilinear pattern with age, initially remaining stable in middle age before declining more rapidly in later years. The quadratic specification allows for the identification of turning points in the age-sleep duration relationship. Education level was categorized as 1 for primary school and below, 2 for middle school, and 3 for high school or above. Drinking habits were coded as 0 for non-drinkers and 1 for drinkers; chronic disease status was coded as 0 for those without chronic disease and 1 for those with chronic disease. Participation in social activities was coded as 0 for non-participants and 1 for participants. The time variable in this study is operationalized as discrete survey waves, coded as 1, 2, 3, 4, and 5 corresponding to the 2011, 2013, 2015, 2018, and 2020 CHARLS data collection periods, respectively. The interaction terms between physical activity and time, as well as social activity and time, capture how the effects of these behaviors on sleep duration change across the approximately 9-year study period. This discrete time specification allows for the examination of non-linear temporal effects while maintaining the interpretability of coefficients.\u003c/p\u003e\u003cp\u003eThe selection of control variables was based on established literature and theoretical considerations. Marital status was included as it provides emotional and social support that may influence sleep patterns \u003csup\u003e[\u003cspan citationid=\"CR16\" class=\"CitationRef\"\u003e16\u003c/span\u003e]\u003c/sup\u003e. Gender and age were controlled for due to documented physiological differences in sleep patterns across demographic groups. Education level serves as a proxy for socioeconomic status and health literacy, which may affect sleep hygiene practices. Drinking habits were included as alcohol consumption is known to disrupt sleep architecture. Chronic disease status was controlled for, as medical conditions directly impact sleep duration. While other potential confounders, such as specific mental health conditions, medication use, and detailed socioeconomic indicators beyond education, may influence sleep duration, the current analysis focuses on the primary behavioral factors while acknowledging these limitations.\u003c/p\u003e\u003cp\u003eVariables were defaulted to the first category as the reference group, except for marital status, for which the unmarried category was used. Observations with missing values were excluded to ensure the completeness of the dataset (see Table\u0026nbsp;1 for details).\u003c/p\u003e\u003c/div\u003e\u003cdiv id=\"Sec6\" class=\"Section2\"\u003e\u003ch2\u003e2.4Research Methodology\u003c/h2\u003e\u003cp\u003eIn this paper, we utilize data from the China Health and Retirement Longitudinal Study (CHARLS) to examine the effects of physical activity, social activity, marital status, gender, age, and other factors on sleep duration in middle-aged and elderly individuals, using a fixed-effects panel data model with nested interaction terms. The \"nested\" structure refers to the hierarchical inclusion of interaction terms between key variables (physical activity, social activity) and time within the main fixed-effects framework, allowing for the examination of how treatment effects vary across survey waves. The nested model effectively controls for unobservable individual heterogeneity, providing more accurate estimation results. The specific model is structured as follows:\u003c/p\u003e\u003cp\u003e\u003cimg src=\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAnMAAAA/CAYAAACLtU4wAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAAFiUAABYlAUlSJPAAACjgSURBVHhe7d11XFX3/8Dx10UUULHAQBQsEAsVu53t5qbOwo5NXfh16qYzN7s7sd3Mhd21WTOYTkVFMUAQBKW77/v3Bw4ud4CUU/b7PB+P+4fnc871cOq+P+9PHI2ICIqiKIqiKEqeZKC/QFEURVEURck7VDCnKIqiKIqSh6lgTlEURVEUJQ9TwZyiKIqiKEoepoI5RVEURVGUPEwFc4qiKIqiKHmYCuYURVEURVHyMBXMKYqiKIqi5GEqmFMURVEURcnDVDCnKIqiKIqSh6lgTlEURVEUJQ9TwZyiKIqiKEoepoI5RVEURVGUPEwFc4qiKIqi/OeI/oIc0RLgcYdbT0P1C94JKphTFEVRFOU/Qgh95szlP54QoV+UIxpMDQ35ddFXTN58kRj94rdMBXOKoiiKovwHxPDXrwtZt+sqAeZFMNUvzhENRuWrMXPySIz/XMtXa6/iG6u/ztujgjlFURRFUfK8q+v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tLdypkxnbtxI7gIJQu+buR5BgxK0Pi9jhQ+vYhP155EW8oGE6BMkxH0LevN7E86MnWvJ1K0NCVytRb/9pVr2YOG3vv5bOIsHhpXwvwdva7Lt+xBfa9fGTFxLo9NKiXdf1V7Mbi2KYdmOfLF9J8JL10H6xxcBoryX/eG382qKIqiKIqivElvIe2lKIqiKIqi5BYVzCmKoiiKouRhKphTFEVRFEXJw1QwpyiKoiiKkoepYE5RFEVRFCUPU8GcoiiKoihKHqaCOUVRFEVRlDxMBXOKoiiKoih5mArmFEVRFEVR8jAVzCmKoiiKouRhKphTFEVRFEXJw1QwpyiKoiiKkoepYE5RFEVRFCUPU8GcoiiKoihKHqaCOUVRFEVRlDxMBXOKoiiKoih5mArmFEVRFEVR8jAVzCmKoiiKouRhKphTFEVRFEXJw1QwpyiKoiiKkoepYE5RFEVRFCUPU8GcoiiKoihKHqaCOUVRFEVRlDxMBXOKoiiKoih52P8Bx+dbU/WVjkAAAAAASUVORK5CYII=\" style=\"width: 453px; height: 45.5167px;\" width=\"453\" height=\"45.5167\"\u003e\u003c/p\u003e\u003cp\u003eWhere \u003cspan class=\"InlineEquation\"\u003e\u003cspan class=\"mathinline\"\u003e\\(\\:{Y}_{it}\\)\u003c/span\u003e\u003c/span\u003e is the dependent variable for an individual \u003cspan class=\"InlineEquation\"\u003e\u003cspan class=\"mathinline\"\u003e\\(\\:i\\)\u003c/span\u003e\u003c/span\u003e at time \u003cspan class=\"InlineEquation\"\u003e\u003cspan class=\"mathinline\"\u003e\\(\\:t\\)\u003c/span\u003e\u003c/span\u003e, indicating sleep duration?. \u003cspan class=\"InlineEquation\"\u003e\u003cspan class=\"mathinline\"\u003e\\(\\:{X}_{it}\\)\u003c/span\u003e\u003c/span\u003e Represents the independent variables of the individual at time \u003cspan class=\"InlineEquation\"\u003e\u003cspan class=\"mathinline\"\u003e\\(\\:t\\)\u003c/span\u003e\u003c/span\u003e, including marital status, gender, age, age squared, education level, drinking habits, chronic diseases, interaction term between participation in social activities and survey wave, and interaction term between physical activity and survey wave; \u003cspan class=\"InlineEquation\"\u003e\u003cspan class=\"mathinline\"\u003e\\(\\:{u}_{i}\\)\u003c/span\u003e\u003c/span\u003e represents individual fixed effects, controlling for individual unobservable heterogeneity, and \u003cspan class=\"InlineEquation\"\u003e\u003cspan class=\"mathinline\"\u003e\\(\\:{\\epsilon\\:}_{it}\\)\u003c/span\u003e\u003c/span\u003e is a random error term. The respective variables' influence coefficients on sleep duration can be obtained by estimating the above model, where Beta represents the coefficients. The analysis was conducted using Stata 18 software.\u003c/p\u003e\u003cp\u003eIn the process of model estimation, this paper focuses on the following aspects: 1) exploring the effect of marriage on the sleep duration of middle-aged and older adults people by comparing married and unmarried groups; 2) examining the effect of the interaction of gender with other variables (e.g., physical activity) on sleep duration; 3) analyzing the long-term effects of physical activity and its interaction with time on sleep duration. Control variables included age, age squared, education level, drinking habits, and chronic disease status to reduce potential confounding bias; the model also introduced a time variable and its interaction term with other independent variables to capture the dynamic effects of temporal changes on sleep duration.\u003c/p\u003e\u003cp\u003eThe estimation results from the nested model provide a clearer understanding of how marital status, gender, physical exercise, and other factors influence sleep duration in middle-aged and older adults. These findings contribute to the theoretical framework and offer policy recommendations aimed at addressing the sleep issues faced by this demographic.\u003c/p\u003e\u003c/div\u003e\u003cdiv id=\"Sec7\" class=\"Section2\"\u003e\u003ch2\u003e2.5 Ethics Statement\u003c/h2\u003e\u003cp\u003e\u003cstrong\u003eEthics approval\u003c/strong\u003e\u003cp\u003efor this study was not separately required because the analysis was conducted on secondary, de-identified data from the China Health and Retirement Longitudinal Study (CHARLS). CHARLS was approved by the Biomedical Ethics Review Committee of Peking University (IRB00001052-11015), and all participants provided written informed consent at enrollment. No additional consent was needed for this secondary analysis.\u003c/p\u003e\u003c/p\u003e\u003cp\u003e All procedures performed in studies involving human participants were in accordance with the ethical standards of the institutional and/or national research committee and with the 1964 Helsinki declaration and its later amendments or comparable ethical standards.\u003c/p\u003e\u003c/div\u003e"},{"header":"3. Results","content":"\u003cdiv id=\"Sec9\" class=\"Section2\"\u003e\u003ch2\u003e3.1Descriptive statistical analysis\u003c/h2\u003e\u003cp\u003eThe descriptive statistical analysis results in Table\u0026nbsp;1 show that the average sleep duration of the middle-aged and older adults in the sample was close to 6 hours (SD\u0026thinsp;=\u0026thinsp;1.922). The proportion of the sample that did not participate in physical activity was 10.8%, and the proportion of those who did participate in physical activity was 89.2%. The percentage of married individuals in the marital status variable was 85.5%, while the percentage of unmarried individuals was 14.5%. In the gender variable, the mean value was 1.468 (SD\u0026thinsp;=\u0026thinsp;0.499), with 1 representing males and 2 representing females, indicating that the proportion of men is 53.2% and the proportion of women is 46.8%. In the education variable, 48.8% had a lower secondary education, and 51.2% had a higher secondary education. The proportion of urban households is 23.5%, and the proportion of rural households is 76.5%. The percentage of those who did not drink alcohol was 65.8%, and the percentage of those who did consume alcohol was 34.2%. In the variable for chronic disease, 78.1% of the respondents had no chronic disease, and 21.9% had a chronic disease. The percentage of those who did not participate in social activities was 55.7%, and the percentage of those who did participate in social activities was 44.3%.\u003c/p\u003e\u003cp\u003e\u003cdiv class=\"gridtable\"\u003e\u003ctable float=\"No\" id=\"Taba\" border=\"1\"\u003e\u003ccolgroup cols=\"5\"\u003e\u003cdiv align=\"left\" class=\"colspec\" colname=\"c1\" colnum=\"1\"\u003e\u003c/div\u003e\u003cdiv align=\"left\" class=\"colspec\" colname=\"c2\" colnum=\"2\"\u003e\u003c/div\u003e\u003cdiv align=\"left\" class=\"colspec\" colname=\"c3\" colnum=\"3\"\u003e\u003c/div\u003e\u003cdiv align=\"left\" class=\"colspec\" colname=\"c4\" colnum=\"4\"\u003e\u003c/div\u003e\u003cdiv align=\"left\" class=\"colspec\" colname=\"c5\" colnum=\"5\"\u003e\u003c/div\u003e\u003cthead\u003e\u003ctr\u003e\u003cth align=\"left\" colname=\"c1\"\u003e\u003cp\u003eVariable type\u003c/p\u003e\u003c/th\u003e\u003cth align=\"left\" colname=\"c2\"\u003e\u003cp\u003evariable name\u003c/p\u003e\u003c/th\u003e\u003cth align=\"left\" colname=\"c3\"\u003e\u003cp\u003eVariable Definition\u003c/p\u003e\u003c/th\u003e\u003cth align=\"left\" colname=\"c4\"\u003e\u003cp\u003eaverage value\u003c/p\u003e\u003c/th\u003e\u003cth align=\"left\" colname=\"c5\"\u003e\u003cp\u003estandard deviation\u003c/p\u003e\u003c/th\u003e\u003c/tr\u003e\u003c/thead\u003e\u003ctbody\u003e\u003ctr\u003e\u003ctd align=\"left\" colname=\"c1\"\u003e\u003cp\u003eimplicit variable\u003c/p\u003e\u003c/td\u003e\u003ctd align=\"left\" colname=\"c2\"\u003e\u003cp\u003esleep duration\u003c/p\u003e\u003c/td\u003e\u003ctd align=\"left\" colname=\"c3\"\u003e\u003cp\u003eContinuity variables;\u003c/p\u003e\u003c/td\u003e\u003ctd align=\"left\" colname=\"c4\"\u003e\u003cp\u003e6.170\u003c/p\u003e\u003c/td\u003e\u003ctd align=\"left\" colname=\"c5\"\u003e\u003cp\u003e1.922\u003c/p\u003e\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd align=\"left\" colname=\"c1\" morerows=\"9\" rowspan=\"10\"\u003e\u003cp\u003econtrol variable\u003c/p\u003e\u003c/td\u003e\u003ctd align=\"left\" colname=\"c2\"\u003e\u003cp\u003emarital status\u003c/p\u003e\u003c/td\u003e\u003ctd align=\"left\" colname=\"c3\"\u003e\u003cp\u003eMarried\u0026thinsp;=\u0026thinsp;1; unmarried\u0026thinsp;=\u0026thinsp;2;\u003c/p\u003e\u003c/td\u003e\u003ctd align=\"left\" colname=\"c4\"\u003e\u003cp\u003e1.145\u003c/p\u003e\u003c/td\u003e\u003ctd align=\"left\" colname=\"c5\"\u003e\u003cp\u003e0.352\u003c/p\u003e\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd align=\"left\" colname=\"c2\"\u003e\u003cp\u003egender\u003c/p\u003e\u003c/td\u003e\u003ctd align=\"left\" colname=\"c3\"\u003e\u003cp\u003eMale\u0026thinsp;=\u0026thinsp;1; Female\u0026thinsp;=\u0026thinsp;2;\u003c/p\u003e\u003c/td\u003e\u003ctd align=\"left\" colname=\"c4\"\u003e\u003cp\u003e1.468\u003c/p\u003e\u003c/td\u003e\u003ctd align=\"left\" colname=\"c5\"\u003e\u003cp\u003e0.499\u003c/p\u003e\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd align=\"left\" colname=\"c2\"\u003e\u003cp\u003eage\u003c/p\u003e\u003c/td\u003e\u003ctd align=\"left\" colname=\"c3\"\u003e\u003cp\u003eContinuity variables;\u003c/p\u003e\u003c/td\u003e\u003ctd align=\"left\" colname=\"c4\"\u003e\u003cp\u003e61.910\u003c/p\u003e\u003c/td\u003e\u003ctd align=\"left\" colname=\"c5\"\u003e\u003cp\u003e10.010\u003c/p\u003e\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd align=\"left\" colname=\"c2\"\u003e\u003cp\u003eacademic qualifications\u003c/p\u003e\u003c/td\u003e\u003ctd align=\"left\" colname=\"c3\"\u003e\u003cp\u003ePrimary schools and below =\u0026thinsp;1; Junior high school\u0026thinsp;=\u0026thinsp;2; Senior high school and above =\u0026thinsp;3;\u003c/p\u003e\u003c/td\u003e\u003ctd align=\"left\" colname=\"c4\"\u003e\u003cp\u003e1.465\u003c/p\u003e\u003c/td\u003e\u003ctd align=\"left\" colname=\"c5\"\u003e\u003cp\u003e0.707\u003c/p\u003e\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd align=\"left\" colname=\"c2\"\u003e\u003cp\u003eSquare Subdivision of Age\u003c/p\u003e\u003c/td\u003e\u003ctd align=\"left\" colname=\"c3\"\u003e\u003cp\u003eContinuity variables;\u003c/p\u003e\u003c/td\u003e\u003ctd align=\"left\" colname=\"c4\"\u003e\u003cp\u003e3933\u003c/p\u003e\u003c/td\u003e\u003ctd align=\"left\" colname=\"c5\"\u003e\u003cp\u003e1293\u003c/p\u003e\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd align=\"left\" colname=\"c2\"\u003e\u003cp\u003epopulation\u003c/p\u003e\u003c/td\u003e\u003ctd align=\"left\" colname=\"c3\"\u003e\u003cp\u003eUrban\u0026thinsp;=\u0026thinsp;1; rural\u0026thinsp;=\u0026thinsp;2;\u003c/p\u003e\u003c/td\u003e\u003ctd align=\"left\" colname=\"c4\"\u003e\u003cp\u003e1.766\u003c/p\u003e\u003c/td\u003e\u003ctd align=\"left\" colname=\"c5\"\u003e\u003cp\u003e0.423\u003c/p\u003e\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd align=\"left\" colname=\"c2\"\u003e\u003cp\u003eHave you been drinking alcohol?\u003c/p\u003e\u003c/td\u003e\u003ctd align=\"left\" colname=\"c3\"\u003e\u003cp\u003eNo\u0026thinsp;=\u0026thinsp;0; Yes\u0026thinsp;=\u0026thinsp;1;\u003c/p\u003e\u003c/td\u003e\u003ctd align=\"left\" colname=\"c4\"\u003e\u003cp\u003e0.342\u003c/p\u003e\u003c/td\u003e\u003ctd align=\"left\" colname=\"c5\"\u003e\u003cp\u003e0.474\u003c/p\u003e\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd align=\"left\" colname=\"c2\"\u003e\u003cp\u003ePresence of chronic diseases\u003c/p\u003e\u003c/td\u003e\u003ctd align=\"left\" colname=\"c3\"\u003e\u003cp\u003eNo\u0026thinsp;=\u0026thinsp;0; Yes\u0026thinsp;=\u0026thinsp;1;\u003c/p\u003e\u003c/td\u003e\u003ctd align=\"left\" colname=\"c4\"\u003e\u003cp\u003e0.781\u003c/p\u003e\u003c/td\u003e\u003ctd align=\"left\" colname=\"c5\"\u003e\u003cp\u003e0.414\u003c/p\u003e\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd align=\"left\" colname=\"c2\"\u003e\u003cp\u003eParticipation in social activities\u003c/p\u003e\u003c/td\u003e\u003ctd align=\"left\" colname=\"c3\"\u003e\u003cp\u003eNo participation\u0026thinsp;=\u0026thinsp;0; participation\u0026thinsp;=\u0026thinsp;1;\u003c/p\u003e\u003c/td\u003e\u003ctd align=\"left\" colname=\"c4\"\u003e\u003cp\u003e0.443\u003c/p\u003e\u003c/td\u003e\u003ctd align=\"left\" colname=\"c5\"\u003e\u003cp\u003e0.497\u003c/p\u003e\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd align=\"left\" colname=\"c2\"\u003e\u003cp\u003eWave\u003c/p\u003e\u003c/td\u003e\u003ctd align=\"left\" colname=\"c3\"\u003e\u003cp\u003eContinuity variables;\u003c/p\u003e\u003c/td\u003e\u003ctd align=\"left\" colname=\"c4\"\u003e\u003cp\u003e3.644\u003c/p\u003e\u003c/td\u003e\u003ctd align=\"left\" colname=\"c5\"\u003e\u003cp\u003e1.346\u003c/p\u003e\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd align=\"left\" colname=\"c1\"\u003e\u003cp\u003eindependent variable\u003c/p\u003e\u003c/td\u003e\u003ctd align=\"left\" colname=\"c2\"\u003e\u003cp\u003eExercise or not\u003c/p\u003e\u003c/td\u003e\u003ctd align=\"left\" colname=\"c3\"\u003e\u003cp\u003eNo\u0026thinsp;=\u0026thinsp;0; Yes\u0026thinsp;=\u0026thinsp;1;\u003c/p\u003e\u003c/td\u003e\u003ctd align=\"left\" colname=\"c4\"\u003e\u003cp\u003e0.892\u003c/p\u003e\u003c/td\u003e\u003ctd align=\"left\" colname=\"c5\"\u003e\u003cp\u003e0.311\u003c/p\u003e\u003c/td\u003e\u003c/tr\u003e\u003c/tbody\u003e\u003c/colgroup\u003e\u003c/table\u003e\u003c/div\u003e\u003c/p\u003e\u003c/div\u003e\u003cdiv id=\"Sec10\" class=\"Section2\"\u003e\u003ch2\u003e3.2Nested fixed effects model analysis\u003c/h2\u003e\u003cp\u003eThis study utilizes a nested fixed-effects model to examine the impact of physical activity, social activity, and other variables on sleep duration in middle-aged and older adults. Model I includes only marital status, the interaction term between sex and age, and the squared term for age. Model II expands on Model I by adding variables such as education level, drinking habits, and chronic diseases to account for potential confounders. Model III incorporates physical activity as the core independent variable and an interaction term to explore the interaction effects between variables.\u003c/p\u003e\u003cp\u003eFigure \u003cspan refid=\"Fig3\" class=\"InternalRef\"\u003e3\u003c/span\u003e visually represents each variable's coefficients, significance, and direction, providing clear visual support for interpreting the models. The color gradients in the heat map indicate the strength of each variable's effect on sleep duration, with dark red representing a positive effect and dark blue indicating a negative effect. Significance levels are denoted by asterisks, facilitating the rapid identification of key variables.\u003c/p\u003e\u003cp\u003e\u003cb\u003eModel 1: Baseline Demographic Factors\u003c/b\u003e\u003c/p\u003e\u003cp\u003eModel 1 analyzes the effects of fundamental demographic variables on sleep duration in middle-aged and older adults. The results indicate that marital status significantly influences sleep duration (β\u0026thinsp;=\u0026thinsp;0.355, p\u0026thinsp;\u0026lt;\u0026thinsp;0.001), with married individuals sleeping longer than their unmarried counterparts. The age-squared term reveals a quadratic, non-linear relationship with a significant positive coefficient (β\u0026thinsp;=\u0026thinsp;0.000, p\u0026thinsp;\u0026lt;\u0026thinsp;0.05). The interaction term between sex and age shows a negative effect for both males (β = -0.073, p\u0026thinsp;\u0026lt;\u0026thinsp;0.001) and females (β = -0.108, p\u0026thinsp;\u0026lt;\u0026thinsp;0.001), suggesting that sleep duration decreases with age for both genders, with a greater reduction observed in females.\u003c/p\u003e\u003cp\u003e\u003cb\u003eModel 2: Incorporation of Socioeconomic and Health Factors\u003c/b\u003e\u003c/p\u003e\u003cp\u003eIn Model 2, variables such as education level, drinking habits, and chronic diseases were incorporated to examine their effects on sleep duration in middle-aged and older adults. The results indicated that middle school education significantly negatively affected sleep duration compared to primary school education (β = -0.102, p\u0026thinsp;\u0026lt;\u0026thinsp;0.05). In contrast, the effect of high school education was insignificant (β\u0026thinsp;=\u0026thinsp;0.027, p\u0026thinsp;=\u0026thinsp;0.141). Drinking habits were associated with a significant reduction in sleep duration compared to non-drinkers (β = -0.077, p\u0026thinsp;\u0026lt;\u0026thinsp;0.001), suggesting that alcohol consumption negatively influences sleep. However, the effect of chronic diseases was not statistically significant (β = -0.024, p\u0026thinsp;=\u0026thinsp;0.183).\u003c/p\u003e\u003cp\u003eWhen these variables were included, the coefficient for marital status remained stable (β\u0026thinsp;=\u0026thinsp;0.357, p\u0026thinsp;\u0026lt;\u0026thinsp;0.001), indicating a consistent and significant effect of being married on sleep duration compared to being unmarried. Additionally, the coefficients for the interaction terms between gender and age slightly decreased (males: β = -0.072, p\u0026thinsp;\u0026lt;\u0026thinsp;0.001; females: β = -0.107, p\u0026thinsp;\u0026lt;\u0026thinsp;0.001), but they remained significant, further highlighting the importance of these interaction effects.\u003c/p\u003e\u003cp\u003e\u003cb\u003eModel 3: Incorporation of Physical and Social Activity Variables\u003c/b\u003e\u003c/p\u003e\u003cp\u003eModel 3 incorporates physical activity, social activity, and their interaction terms with time into Model 2. The results indicate that while the direct effect of physical activity on sleep duration is negative in the short term (β = -0.137, p\u0026thinsp;=\u0026thinsp;0.019), its interaction term with time shows a significant positive effect (β\u0026thinsp;=\u0026thinsp;0.069, p\u0026thinsp;\u0026lt;\u0026thinsp;0.01). This finding underscores the core argument of this study: that the benefits of physical activity on sleep health are not instantaneous but are accrued over time, requiring sustained, long-term engagement. This suggests that for each additional survey wave (approximately 2\u0026ndash;3 years), individuals engaging in physical activity experience an increase of approximately 4.1 minutes (0.069 hours) in sleep duration compared to non-exercisers. Over the 9-year study period, this translates to a cumulative difference of approximately 16\u0026ndash;20 minutes of additional sleep. Furthermore, the interaction term for social activity with time also significantly influences sleep duration (β\u0026thinsp;=\u0026thinsp;0.010, p\u0026thinsp;\u0026lt;\u0026thinsp;0.1), though its relatively small coefficient implies a more modest improvement. A direct comparison of the interaction coefficients (0.069 vs. 0.010) reveals that the long-term cumulative benefit from physical activity is substantially larger than that from social activities. Upon including these key behavioral variables and their temporal interactions, the negative effect of drinking habits observed in Model 2 remained highly significant with a similar magnitude (β = -0.080, p\u0026thinsp;\u0026lt;\u0026thinsp;0.001).\u003c/p\u003e\u003cp\u003eThe findings of this study provide valuable insights for developing health intervention policies targeted at middle-aged and elderly populations. While the interaction effect of physical activity with time (β\u0026thinsp;=\u0026thinsp;0.069) demonstrates statistical significance for long-term benefits, it is important to note that the absolute effect size of marital status (β\u0026thinsp;=\u0026thinsp;0.355) on sleep duration is larger. However, physical activity represents a modifiable behavior with cumulative benefits over time, making it particularly relevant for intervention strategies, whereas marital status is less amenable to direct intervention. The nested model analysis further reveals that the negative effect of the female-age interaction term on sleep duration remains statistically significant in Model 3 (β = -0.055, p\u0026thinsp;\u0026lt;\u0026thinsp;0.05), although its magnitude is reduced compared to Model 1 (β = -0.108, p\u0026thinsp;\u0026lt;\u0026thinsp;0.001) and Model 2 (β = -0.107, p\u0026thinsp;\u0026lt;\u0026thinsp;0.001). This suggests that the gender-specific, age-related decline in sleep duration is a robust phenomenon, but one that is partially associated with an individual's engagement in health-promoting behaviors, as demonstrated by the attenuation of the coefficient after their inclusion. The long-term cumulative benefits of physical and social activities, as captured by their interaction with the wave variable, exist despite the overall negative trend of age on sleep duration, highlighting that these two processes are independent but co-occurring. This highlights the age-related gender differences in how physical exercise and social activities influence sleep duration among middle-aged and older adults.\u003c/p\u003e\u003cp\u003eThe model analysis further reveals that the effect of physical activity on sleep duration in middle-aged and older adults evolves. Short-term physical activity reduces sleep duration, but long-term engagement in physical activity improves sleep duration. In contrast, the direct impact of social activities on sleep duration is modest. While the interaction term with time shows a positive effect, it is considerably smaller than the effect of physical activity's interaction term, emphasizing that although social activities contribute to sleep improvement, their influence is less pronounced than that of physical exercise.\u003c/p\u003e\u003cp\u003eThe nested fixed-effects model analysis results indicate that physical activity significantly influences sleep duration among middle-aged and older adults. Moreover, physical activity had a more substantial long-term effect on sleep duration than social activities.\u003c/p\u003e"},{"header":"4. Model Validation","content":"\u003cdiv id=\"Sec12\" class=\"Section2\"\u003e\u003ch2\u003e4.1Hausman check\u003c/h2\u003e\u003cp\u003eThis paper performs a Hausman test to determine the most appropriate estimation model. The null hypothesis assumes that the coefficients of the random effects model are consistent and valid. In contrast, the alternative hypothesis posits that the coefficients of the fixed effects model are consistent, but those of the random effects model are not. The essence of the test lies in comparing the coefficients from both models. If the difference between them is statistically significant, the null hypothesis is rejected, and the fixed effects model is preferred. Conversely, if the difference is insignificant, the null hypothesis is accepted, and the random effects model is chosen\u003csup\u003e[\u003cspan citationid=\"CR17\" class=\"CitationRef\"\u003e17\u003c/span\u003e]\u003c/sup\u003e. The test results (χ\u0026sup2; = 172.65, p\u0026thinsp;\u0026lt;\u0026thinsp;0.001) reject the assumption of consistency for the random effects estimator, indicating that the fixed effects model is more suitable for the data analysis in this study.\u003c/p\u003e\u003c/div\u003e\u003cdiv id=\"Sec13\" class=\"Section2\"\u003e\u003ch2\u003e4.2Robustness check\u003c/h2\u003e\u003cp\u003eThis paper tests the linear regression, random, and fixed-effects models to verify the robustness of its findings. This process does not seek identical coefficients but rather aims to confirm that the direction and statistical significance of the key variables' effects remain consistent across different model specifications. By comparing the results of these three models, the robustness of the model can be assessed. If the results from different models are consistent, the model's conclusions are more reliable. However, if there are significant differences in the results, the reasons should be further analyzed \u003csup\u003e[\u003cspan citationid=\"CR18\" class=\"CitationRef\"\u003e18\u003c/span\u003e]\u003c/sup\u003e. Table\u0026nbsp;\u003cspan refid=\"Tab1\" class=\"InternalRef\"\u003e2\u003c/span\u003e shows that the effects of the main variables are consistent across the models, which further enhances the reliability of the findings.\u003c/p\u003e\u003cp\u003e\u003cdiv class=\"gridtable\"\u003e\u003ctable float=\"Yes\" id=\"Tab1\" border=\"1\"\u003e\u003ccaption language=\"En\"\u003e\u003cdiv class=\"CaptionNumber\"\u003eTable 2\u003c/div\u003e\u003cdiv class=\"CaptionContent\"\u003e\u003cp\u003eRobustness Test\u003c/p\u003e\u003c/div\u003e\u003c/caption\u003e\u003ccolgroup cols=\"4\"\u003e\u003cdiv align=\"left\" class=\"colspec\" colname=\"c1\" colnum=\"1\"\u003e\u003c/div\u003e\u003cdiv align=\"left\" class=\"colspec\" colname=\"c2\" colnum=\"2\"\u003e\u003c/div\u003e\u003cdiv align=\"left\" class=\"colspec\" colname=\"c3\" colnum=\"3\"\u003e\u003c/div\u003e\u003cdiv align=\"left\" class=\"colspec\" colname=\"c4\" colnum=\"4\"\u003e\u003c/div\u003e\u003cthead\u003e\u003ctr\u003e\u003cth align=\"left\" colname=\"c1\"\u003e\u0026nbsp;\u003c/th\u003e\u003cth align=\"left\" colname=\"c2\"\u003e\u003cp\u003eModel 1\u003c/p\u003e\u003cp\u003eLinear regression model\u003c/p\u003e\u003c/th\u003e\u003cth align=\"left\" colname=\"c3\"\u003e\u003cp\u003eModel 2\u003c/p\u003e\u003cp\u003eRandom effects model\u003c/p\u003e\u003c/th\u003e\u003cth align=\"left\" colname=\"c4\"\u003e\u003cp\u003eModel 2\u003c/p\u003e\u003cp\u003eFixed effects model\u003c/p\u003e\u003c/th\u003e\u003c/tr\u003e\u003c/thead\u003e\u003ctbody\u003e\u003ctr\u003e\u003ctd align=\"left\" colname=\"c1\"\u003e\u003cp\u003eMarried\u003c/p\u003e\u003c/td\u003e\u003ctd align=\"left\" colname=\"c2\"\u003e\u003cp\u003e0.202\u003csup\u003e***\u003c/sup\u003e(0.027)\u003c/p\u003e\u003c/td\u003e\u003ctd align=\"left\" colname=\"c3\"\u003e\u003cp\u003e0.238\u003csup\u003e***\u003c/sup\u003e(0.028)\u003c/p\u003e\u003c/td\u003e\u003ctd align=\"left\" colname=\"c4\"\u003e\u003cp\u003e0.355\u003csup\u003e***\u003c/sup\u003e(0.053)\u003c/p\u003e\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd align=\"left\" colname=\"c1\"\u003e\u003cp\u003eFemale * age\u003c/p\u003e\u003c/td\u003e\u003ctd align=\"left\" colname=\"c2\"\u003e\u003cp\u003e-0.081\u003csup\u003e***\u003c/sup\u003e(0.010)\u003c/p\u003e\u003c/td\u003e\u003ctd align=\"left\" colname=\"c3\"\u003e\u003cp\u003e-0.879\u003csup\u003e***\u003c/sup\u003e(0.010)\u003c/p\u003e\u003c/td\u003e\u003ctd align=\"left\" colname=\"c4\"\u003e\u003cp\u003e-0.055(0.027)\u003c/p\u003e\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd align=\"left\" colname=\"c1\"\u003e\u003cp\u003eMale *Age\u003c/p\u003e\u003c/td\u003e\u003ctd align=\"left\" colname=\"c2\"\u003e\u003cp\u003e-0.075\u003csup\u003e***\u003c/sup\u003e(0.010)\u003c/p\u003e\u003c/td\u003e\u003ctd align=\"left\" colname=\"c3\"\u003e\u003cp\u003e-0.082\u003csup\u003e***\u003c/sup\u003e(0.010)\u003c/p\u003e\u003c/td\u003e\u003ctd align=\"left\" colname=\"c4\"\u003e\u003cp\u003e-0.021(0.028)\u003c/p\u003e\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd align=\"left\" colname=\"c1\"\u003e\u003cp\u003eSquare of age\u003c/p\u003e\u003c/td\u003e\u003ctd align=\"left\" colname=\"c2\"\u003e\u003cp\u003e0.001\u003csup\u003e**\u003c/sup\u003e(0.000)\u003c/p\u003e\u003c/td\u003e\u003ctd align=\"left\" colname=\"c3\"\u003e\u003cp\u003e0.001\u003csup\u003e***\u003c/sup\u003e(0.000)\u003c/p\u003e\u003c/td\u003e\u003ctd align=\"left\" colname=\"c4\"\u003e\u003cp\u003e0.000\u003csup\u003e**\u003c/sup\u003e(0.000)\u003c/p\u003e\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd align=\"left\" colname=\"c1\"\u003e\u003cp\u003ePopulation\u003c/p\u003e\u003c/td\u003e\u003ctd align=\"left\" colname=\"c2\"\u003e\u003cp\u003e0.040\u003csup\u003e*\u003c/sup\u003e(0.019)\u003c/p\u003e\u003c/td\u003e\u003ctd align=\"left\" colname=\"c3\"\u003e\u003cp\u003e0.020(0.024)\u003c/p\u003e\u003c/td\u003e\u003ctd align=\"left\" colname=\"c4\"\u003e\u003cp\u003e0.004(0.053)\u003c/p\u003e\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd align=\"left\" colname=\"c1\"\u003e\u003cp\u003eJunior high school\u003c/p\u003e\u003c/td\u003e\u003ctd align=\"left\" colname=\"c2\"\u003e\u003cp\u003e0.067\u003csup\u003e***\u003c/sup\u003e(0.019)\u003c/p\u003e\u003c/td\u003e\u003ctd align=\"left\" colname=\"c3\"\u003e\u003cp\u003e0.038(0.025)\u003c/p\u003e\u003c/td\u003e\u003ctd align=\"left\" colname=\"c4\"\u003e\u003cp\u003e-0.100\u003csup\u003e*\u003c/sup\u003e(0.050)\u003c/p\u003e\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd align=\"left\" colname=\"c1\"\u003e\u003cp\u003eSenior high school and above\u003c/p\u003e\u003c/td\u003e\u003ctd align=\"left\" colname=\"c2\"\u003e\u003cp\u003e0.128\u003csup\u003e***\u003c/sup\u003e(0.023)\u003c/p\u003e\u003c/td\u003e\u003ctd align=\"left\" colname=\"c3\"\u003e\u003cp\u003e0.106\u003csup\u003e***\u003c/sup\u003e(0.033)\u003c/p\u003e\u003c/td\u003e\u003ctd align=\"left\" colname=\"c4\"\u003e\u003cp\u003e0.041(0.087)\u003c/p\u003e\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd align=\"left\" colname=\"c1\"\u003e\u003cp\u003eWhether or not you drink alcohol\u003c/p\u003e\u003c/td\u003e\u003ctd align=\"left\" colname=\"c2\"\u003e\u003cp\u003e-0.102\u003csup\u003e***\u003c/sup\u003e(0.018)\u003c/p\u003e\u003c/td\u003e\u003ctd align=\"left\" colname=\"c3\"\u003e\u003cp\u003e-0.095\u003csup\u003e***\u003c/sup\u003e(0.019)\u003c/p\u003e\u003c/td\u003e\u003ctd align=\"left\" colname=\"c4\"\u003e\u003cp\u003e-0.081\u003csup\u003e**\u003c/sup\u003e(0.027)\u003c/p\u003e\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd align=\"left\" colname=\"c1\"\u003e\u003cp\u003ePresence of chronic diseases\u003c/p\u003e\u003c/td\u003e\u003ctd align=\"left\" colname=\"c2\"\u003e\u003cp\u003e-0.384\u003csup\u003e***\u003c/sup\u003e(0.018)\u003c/p\u003e\u003c/td\u003e\u003ctd align=\"left\" colname=\"c3\"\u003e\u003cp\u003e-0.273\u003csup\u003e***\u003c/sup\u003e(0.021)\u003c/p\u003e\u003c/td\u003e\u003ctd align=\"left\" colname=\"c4\"\u003e\u003cp\u003e-0.022(0.032)\u003c/p\u003e\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd align=\"left\" colname=\"c1\"\u003e\u003cp\u003eAttendance at social events * Wave\u003c/p\u003e\u003c/td\u003e\u003ctd align=\"left\" colname=\"c2\"\u003e\u003cp\u003e0.013\u003csup\u003e**\u003c/sup\u003e(0.004)\u003c/p\u003e\u003c/td\u003e\u003ctd align=\"left\" colname=\"c3\"\u003e\u003cp\u003e0.010\u003csup\u003e**\u003c/sup\u003e(0.004)\u003c/p\u003e\u003c/td\u003e\u003ctd align=\"left\" colname=\"c4\"\u003e\u003cp\u003e0.010\u003csup\u003e*\u003c/sup\u003e(0.005)\u003c/p\u003e\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd align=\"left\" colname=\"c1\"\u003e\u003cp\u003eEngage in physical exercise\u003c/p\u003e\u003c/td\u003e\u003ctd align=\"left\" colname=\"c2\"\u003e\u003cp\u003e-0.072(0.079)\u003c/p\u003e\u003c/td\u003e\u003ctd align=\"left\" colname=\"c3\"\u003e\u003cp\u003e-0.102(0.066)\u003c/p\u003e\u003c/td\u003e\u003ctd align=\"left\" colname=\"c4\"\u003e\u003cp\u003e-0.137(0.075)\u003c/p\u003e\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd align=\"left\" colname=\"c1\"\u003e\u003cp\u003eWave\u003c/p\u003e\u003c/td\u003e\u003ctd align=\"left\" colname=\"c2\"\u003e\u003cp\u003e-0.112\u003csup\u003e***\u003c/sup\u003e(0.020)\u003c/p\u003e\u003c/td\u003e\u003ctd align=\"left\" colname=\"c3\"\u003e\u003cp\u003e-0.129\u003csup\u003e***\u003c/sup\u003e(0.016)\u003c/p\u003e\u003c/td\u003e\u003ctd align=\"left\" colname=\"c4\"\u003e\u003cp\u003e-0.207\u003csup\u003e**\u003c/sup\u003e(0.049)\u003c/p\u003e\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd align=\"left\" colname=\"c1\"\u003e\u003cp\u003eEngage in physical exercise * Wave\u003c/p\u003e\u003c/td\u003e\u003ctd align=\"left\" colname=\"c2\"\u003e\u003cp\u003e0.049\u003csup\u003e*\u003c/sup\u003e(0.021)\u003c/p\u003e\u003c/td\u003e\u003ctd align=\"left\" colname=\"c3\"\u003e\u003cp\u003e0.060\u003csup\u003e***\u003c/sup\u003e(0.017)\u003c/p\u003e\u003c/td\u003e\u003ctd align=\"left\" colname=\"c4\"\u003e\u003cp\u003e0.069\u003csup\u003e***\u003c/sup\u003e(0.019)\u003c/p\u003e\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd align=\"left\" colname=\"c1\"\u003e\u003cp\u003eConstant term\u003c/p\u003e\u003c/td\u003e\u003ctd align=\"left\" colname=\"c2\"\u003e\u003cp\u003e9.292\u003csup\u003e***\u003c/sup\u003e(0.315)\u003c/p\u003e\u003c/td\u003e\u003ctd align=\"left\" colname=\"c3\"\u003e\u003cp\u003e9.476\u003csup\u003e***\u003c/sup\u003e(0.309)\u003c/p\u003e\u003c/td\u003e\u003ctd align=\"left\" colname=\"c4\"\u003e\u003cp\u003e7.307\u003csup\u003e***\u003c/sup\u003e(1.229)\u003c/p\u003e\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd align=\"left\" colname=\"c1\"\u003e\u003cp\u003eR-squared\u003c/p\u003e\u003c/td\u003e\u003ctd align=\"left\" colname=\"c2\"\u003e\u003cp\u003e0.031\u003csup\u003e***\u003c/sup\u003e\u003c/p\u003e\u003c/td\u003e\u003ctd align=\"left\" colname=\"c3\"\u003e\u003cp\u003e0.030\u003csup\u003e***\u003c/sup\u003e\u003c/p\u003e\u003c/td\u003e\u003ctd align=\"left\" colname=\"c4\"\u003e\u003cp\u003e-0.630\u003csup\u003e***\u003c/sup\u003e\u003c/p\u003e\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd align=\"left\" colspan=\"4\" nameend=\"c4\" namest=\"c1\"\u003e\u003cp\u003eNote: * p\u0026thinsp;\u0026lt;\u0026thinsp;0.05, ** p\u0026thinsp;\u0026lt;\u0026thinsp;0.01, *** p\u0026thinsp;\u0026lt;\u0026thinsp;0.001\u003c/p\u003e\u003c/td\u003e\u003c/tr\u003e\u003c/tbody\u003e\u003c/colgroup\u003e\u003c/table\u003e\u003c/div\u003e\u003c/p\u003e\u003c/div\u003e\u003cdiv id=\"Sec14\" class=\"Section2\"\u003e\u003ch2\u003e4.3 Heterogeneity analysis\u003c/h2\u003e\u003cp\u003eEducation level groups conducted the heterogeneity analysis for several theoretical and methodological reasons. First, education level serves as a proxy for socioeconomic status and health literacy, both of which significantly influence the adoption of health behaviors and sleep hygiene practices. Second, educational attainment affects individuals' access to health information and their ability to implement lifestyle modifications effectively. Third, previous literature suggests that the relationship between physical activity and sleep outcomes varies across different socioeconomic strata. Education level was selected over other demographic factors (such as income or occupation) because it remains relatively stable throughout adulthood and is less susceptible to reverse causation bias in longitudinal studies.\u003c/p\u003e\u003cp\u003eIn this study, heterogeneity analyses were conducted to examine the differences in factors influencing sleep duration across middle-aged and older adult individuals from different educational background groups. Please refer to Fig.\u0026nbsp;\u003cspan refid=\"Fig4\" class=\"InternalRef\"\u003e4\u003c/span\u003e for further details.\u003c/p\u003e\u003cp\u003eIn the primary school and below education level group, the effect of marital status on sleep duration was significantly positive (β\u0026thinsp;=\u0026thinsp;0.389, p\u0026thinsp;\u0026lt;\u0026thinsp;0.001), whereas in the junior high school education level group, the effect was not significant (β\u0026thinsp;=\u0026thinsp;0.136, p\u0026thinsp;\u0026gt;\u0026thinsp;0.1). In the high school and above education level group, marital status had a significantly positive impact (β\u0026thinsp;=\u0026thinsp;0.272, p\u0026thinsp;\u0026lt;\u0026thinsp;0.05).\u003c/p\u003e\u003cp\u003eThe squared term of age was significantly positive in both the primary school and below group (β\u0026thinsp;=\u0026thinsp;0.000, p\u0026thinsp;\u0026lt;\u0026thinsp;0.10) and the junior high school group (β\u0026thinsp;=\u0026thinsp;0.001, p\u0026thinsp;\u0026lt;\u0026thinsp;0.05). However, the squared age term coefficient was insignificant in the high school and above group (β\u0026thinsp;=\u0026thinsp;0.000, p\u0026thinsp;\u0026gt;\u0026thinsp;0.10). The interaction term between males and age was significantly negative in the lower secondary education level group (β=-0.114, p\u0026thinsp;\u0026lt;\u0026thinsp;0.05) but not significant in the primary school and below (β=-0.051, p\u0026thinsp;\u0026gt;\u0026thinsp;0.1) and high school and above groups (β=-0.022, p\u0026thinsp;\u0026gt;\u0026thinsp;0.1). The interaction term between females and age was insignificant in the three education groups.\u003c/p\u003e\u003cp\u003eRegarding chronic disease, the coefficient was significantly negative only in the high school and above education level group (β=-0.097, p\u0026thinsp;\u0026lt;\u0026thinsp;0.10), with no significant effect found for the junior high school or primary school and below groups.\u003c/p\u003e\u003cp\u003eDrinking behavior had a significantly negative effect (β=-0.095, p\u0026thinsp;\u0026lt;\u0026thinsp;0.05) in the primary school and below group, in contrast to the non-significant effect of alcohol consumption in the junior high school and high school and above groups.\u003c/p\u003e\u003cp\u003eFor physical activity, the direct effect was negative in the primary school and below group (β=-0.113, p\u0026thinsp;\u0026gt;\u0026thinsp;0.1) and significantly negative in the middle school group (β=-0.266, p\u0026thinsp;\u0026lt;\u0026thinsp;0.10). The interaction between physical activity and time was significantly positive in the middle school group (β\u0026thinsp;=\u0026thinsp;0.094, p\u0026thinsp;\u0026lt;\u0026thinsp;0.05). In contrast, neither the direct effect nor the interaction term for physical activity was significant in the high school and above group.\u003c/p\u003e\u003cp\u003eHeterogeneity analyses underscore the significant moderating role of education level in the factors affecting sleep duration in middle-aged and older adults. The findings from the heterogeneity analysis reveal that the long-term cumulative benefits of physical activity on sleep duration are most pronounced in the middle school education group. The effect of social activities and sleep duration is significant only in the primary school and below group. These results underscore the significant moderating role of education level in how these behaviors affect sleep over time.\u003c/p\u003e\u003cp\u003e\u003c/p\u003e\u003c/div\u003e"},{"header":"5. Discussion and conclusions","content":"\u003cdiv id=\"Sec16\" class=\"Section2\"\u003e\u003ch2\u003e5.1Discussion\u003c/h2\u003e\u003cp\u003e\u003cb\u003eTemporal Effects of Physical Exercise on Sleep Duration\u003c/b\u003e\u003c/p\u003e\u003cp\u003eInterestingly, the data revealed a crucial temporal dynamic for physical activity, showing that while a short-term, immediate association with sleep duration might be negative, the long-term, cumulative engagement has a robust positive effect. This pattern strongly suggests that the full realization of sleep benefits from physical activity is not instantaneous but necessitates long-term adherence. Consistent and sustained physical activity gradually enhances sleep duration by regulating physiological rhythms, effectively alleviating psychological stress, and improving overall physical function\u003csup\u003e[\u003cspan citationid=\"CR19\" class=\"CitationRef\"\u003e19\u003c/span\u003e]\u003c/sup\u003e. This finding provides a nuanced perspective beyond cross-sectional studies by demonstrating the 'maturation' of the protective effect of exercise over time, a mechanism which has been previously linked to better health and overall well-being in older adults\u003csup\u003e[\u003cspan citationid=\"CR20\" class=\"CitationRef\"\u003e20\u003c/span\u003e]\u003c/sup\u003e.\u003c/p\u003e\u003cp\u003e\u003cb\u003eImpact of Social Activity on Sleep Duration\u003c/b\u003e\u003c/p\u003e\u003cp\u003eNotably, a positive, though comparatively more modest, long-term effect of social activity on sleep duration was also confirmed in our longitudinal analysis. Active participation in social activities is theorized to provide crucial emotional support, effectively mitigating feelings of loneliness and indirectly improving sleep outcomes by enhancing mental health\u003csup\u003e[\u003cspan citationid=\"CR21\" class=\"CitationRef\"\u003e21\u003c/span\u003e]\u003c/sup\u003e. Specifically, social engagement can improve both the subjective experience and objective quality of sleep by decreasing loneliness and depressive symptoms, particularly among older adult individuals living alone or widowed\u003csup\u003e[\u003cspan citationid=\"CR22\" class=\"CitationRef\"\u003e22\u003c/span\u003e]\u003c/sup\u003e. Furthermore, social activity may indirectly enhance sleep duration by promoting cognitive function and fostering psychological resilience\u003csup\u003e[\u003cspan citationid=\"CR23\" class=\"CitationRef\"\u003e23\u003c/span\u003e]\u003c/sup\u003e. This cumulative benefit, although smaller than that observed for physical activity, reinforces the idea that over time, the psychosocial benefits of social integration progressively strengthen their positive influence on sleep health.\u003c/p\u003e\u003cp\u003e\u003cb\u003eDifferential Mechanisms of Physical Exercise and Social Activity\u003c/b\u003e\u003c/p\u003e\u003cp\u003eSurprisingly, our findings delineate distinct temporal pathways and underlying mechanisms through which sustained physical exercise and social activity cumulatively enhance sleep duration among aging adults. Physical exercise appears to exert a more direct and substantial long-term effect, primarily through physiological mechanisms, such as optimizing circadian rhythms, enhancing cardiovascular function, and regulating neuroendocrine markers. In contrast, social activity contributes to sleep improvement indirectly, predominantly via psychosocial mechanisms, where sustained engagement reduces feelings of loneliness and alleviates depressive symptoms, thereby fostering emotional support and overall mental well-being\u003csup\u003e[\u003cspan citationid=\"CR24\" class=\"CitationRef\"\u003e24\u003c/span\u003e\u0026ndash;\u003cspan citationid=\"CR25\" class=\"CitationRef\"\u003e25\u003c/span\u003e]\u003c/sup\u003e. This novel separation of long-term mechanisms reinforces the theoretical framework proposed in Fig.\u0026nbsp;\u003cspan refid=\"Fig1\" class=\"InternalRef\"\u003e1\u003c/span\u003e, providing empirical evidence for the 'Cumulative Bridge' concept, where sustained behavioral inputs lead to greater long-term sleep benefits.\u003c/p\u003e\u003cp\u003eNotably, our heterogeneity analysis revealed the significant moderating role of educational attainment in the long-term impact of health behaviors on sleep duration. Specifically, the most pronounced long-term cumulative benefits of physical activity were observed among the middle school education group, while the positive temporal effect of social activities was only evident in the primary school and below group. This differential impact suggests that educational level acts as a critical proxy for health literacy and socioeconomic status, influencing both the adoption of and the physiological response to lifestyle modifications\u003csup\u003e[\u003cspan citationid=\"CR26\" class=\"CitationRef\"\u003e26\u003c/span\u003e\u0026ndash;\u003cspan citationid=\"CR27\" class=\"CitationRef\"\u003e27\u003c/span\u003e]\u003c/sup\u003e. Individuals with lower educational attainment may have less access to comprehensive health information or structured exercise facilities, making the adoption of any regular physical activity a more significant health gain\u003csup\u003e[\u003cspan citationid=\"CR28\" class=\"CitationRef\"\u003e28\u003c/span\u003e\u0026ndash;\u003cspan citationid=\"CR29\" class=\"CitationRef\"\u003e29\u003c/span\u003e]\u003c/sup\u003e, which subsequently translates into a stronger temporal effect on sleep. Prior research also highlights that health literacy\u0026mdash;closely linked to educational level\u0026mdash;is a determinant of adopting and maintaining healthy behaviors, including sleep-related practices\u003csup\u003e[\u003cspan citationid=\"CR30\" class=\"CitationRef\"\u003e30\u003c/span\u003e\u0026ndash;\u003cspan citationid=\"CR31\" class=\"CitationRef\"\u003e31\u003c/span\u003e]\u003c/sup\u003e. Moreover, meta-analytic evidence suggests that socioeconomic status moderates the conversion of behavioral intentions into actual physical activity\u003csup\u003e[\u003cspan citationid=\"CR32\" class=\"CitationRef\"\u003e32\u003c/span\u003e]\u003c/sup\u003e. From a theoretical perspective, the fundamental cause theory underscores that education, as a key component of socioeconomic status, persistently shapes health disparities by providing or limiting access to flexible resources such as knowledge, social support, and power \u003csup\u003e[\u003cspan citationid=\"CR33\" class=\"CitationRef\"\u003e33\u003c/span\u003e]\u003c/sup\u003e. This is a crucial novel finding that directly informs policy interventions, underscoring the necessity of designing targeted, educationally sensitive public health programs to maximize the sleep benefits for the most vulnerable segments of the aging population.\u003c/p\u003e\u003cp\u003eFurthermore, the visualization in Fig.\u0026nbsp;\u003cspan refid=\"Fig5\" class=\"InternalRef\"\u003e5\u003c/span\u003e dynamically illustrates the 'Cumulative Bridge' concept, with the temporal trends providing a clear interpretation of the short-term negative and long-term positive effects of physical activity on predicted sleep duration. Specifically, in the initial waves, the predicted sleep duration for the exercise group (blue line) declines more steeply than for the non-exercise group (red line), which is consistent with the estimated immediate negative direct effect of exercise. However, over the subsequent follow-up periods, this trajectory reverses; the exercise curve's decline substantially slows down, while the non-exercise curve continues its descent, leading to a gradually widening gap in favor of the sustained exercise group in later waves. This dynamic shift strongly visualizes how the long-term engagement effect successfully mitigates the age-related decline in sleep duration, supporting the idea that the protective effect of physical exercise on sleep duration increases cumulatively over time by improving cardiovascular function, regulating melatonin secretion, and reducing cortisol levels\u003csup\u003e[\u003cspan citationid=\"CR34\" class=\"CitationRef\"\u003e34\u003c/span\u003e]\u003c/sup\u003e. In contrast, the impact of social activity on sleep duration suggests a positive effect that emerges earlier, as it helps alleviate loneliness and depressive symptoms and provides emotional support, enabling middle-aged and older adults to experience better sleep early on\u003csup\u003e[\u003cspan citationid=\"CR35\" class=\"CitationRef\"\u003e35\u003c/span\u003e]\u003c/sup\u003e. Unlike physical exercise, improving sleep through social activity primarily occurs through psychological pathways, with limited direct effects on physiological mechanisms\u003csup\u003e[\u003cspan citationid=\"CR36\" class=\"CitationRef\"\u003e36\u003c/span\u003e]\u003c/sup\u003e. Nevertheless, the findings highlight that physical exercise and social activity act as complementary components in health interventions\u003csup\u003e[\u003cspan citationid=\"CR37\" class=\"CitationRef\"\u003e37\u003c/span\u003e]\u003c/sup\u003e. Physical exercise offers long-term physiological benefits, while social activity can effectively alleviate stress and loneliness in the short term\u003csup\u003e[\u003cspan citationid=\"CR38\" class=\"CitationRef\"\u003e38\u003c/span\u003e]\u003c/sup\u003e.\u003c/p\u003e\u003cp\u003e\u003c/p\u003e\u003cp\u003e\u003cstrong\u003eNote\u003c/strong\u003e\u003cp\u003ewave1: first wave survey; wave2: second wave survey; wave3: third wave survey; wave4: fourth wave survey;\u003c/p\u003e\u003c/p\u003e\u003cp\u003e\u003cb\u003eEffects of Marital Status, Drinking Behavior, and Gender Differences\u003c/b\u003e\u003c/p\u003e\u003cp\u003eThe fixed-effects model robustly confirmed that marital status provides a substantial protective effect on sleep duration in middle-aged and older adults. Marital relationships are believed to indirectly enhance sleep duration by reducing stress perceptions, providing consistent emotional support, and promoting adherence to healthy behaviors\u003csup\u003e[\u003cspan citationid=\"CR39\" class=\"CitationRef\"\u003e39\u003c/span\u003e]\u003c/sup\u003e. Moreover, the quality of the marriage relationship critically affects sleep outcomes, where high-quality relationships are associated with a reduction in sleep disorders, while marital conflict can negatively affect sleep\u003csup\u003e[\u003cspan citationid=\"CR40\" class=\"CitationRef\"\u003e40\u003c/span\u003e]\u003c/sup\u003e. Conversely, the present study found a consistent and significant negative association between drinking behavior and sleep duration, suggesting that chronic alcohol consumption is a critical, yet modifiable, factor contributing to the reduction of sleep quality and duration in this demographic. Although alcohol may initially aid sleep onset, the consensus is that it disrupts sleep architecture, leading to fragmented sleep and early awakening problems\u003csup\u003e[\u003cspan citationid=\"CR41\" class=\"CitationRef\"\u003e41\u003c/span\u003e\u0026ndash;\u003cspan citationid=\"CR42\" class=\"CitationRef\"\u003e42\u003c/span\u003e]\u003c/sup\u003e. This negative influence is further compounded as chronic consumption may increase the risk of insomnia and sleep disorders by affecting the balance of neurotransmitters\u003csup\u003e[\u003cspan citationid=\"CR43\" class=\"CitationRef\"\u003e43\u003c/span\u003e]\u003c/sup\u003e. Finally, the interaction effect of sex and age demonstrated a greater accelerated decline in sleep duration with age observed in women. This gender-specific acceleration may be attributed to hormonal fluctuations, particularly during the menopausal stage in women, which can substantially increase the prevalence of sleep disorders\u003csup\u003e[\u003cspan citationid=\"CR44\" class=\"CitationRef\"\u003e44\u003c/span\u003e]\u003c/sup\u003e.\u003c/p\u003e\u003cp\u003e\u003cb\u003eLimitations\u003c/b\u003e\u003c/p\u003e\u003cp\u003eThis study has several important limitations that should be considered when interpreting the findings. First, sleep duration was measured through self-reported questionnaires, which may introduce recall bias and social desirability bias. Objective sleep measurement devices could provide more accurate assessments in future studies. Second, the study experienced attrition across the nine-year follow-up period, which may introduce selection bias if dropout was related to sleep patterns or health behaviors. Third, the generalizability of findings may be limited to the Chinese cultural context, and cross-cultural validation would strengthen the evidence base. Fourth, while we controlled for several important confounders, unmeasured variables such as specific mental health conditions, detailed medication use, sleep disorders, and environmental factors may influence the relationships observed. Fifth, the discrete time specification, while interpretable, may not capture more nuanced temporal dynamics that could be revealed through continuous time modeling. Finally, the study measures sleep duration rather than comprehensive sleep quality, which includes factors such as sleep efficiency, sleep latency, and subjective sleep satisfaction.\u003c/p\u003e\u003c/div\u003e\u003cdiv id=\"Sec17\" class=\"Section2\"\u003e\u003ch2\u003e5.2Conclusions\u003c/h2\u003e\u003cp\u003eThis study finds that long-term participation in physical exercise and social activities positively affects sleep duration, with physical exercise showing a more pronounced long-term impact. Marital status significantly protects sleep duration, while alcohol consumption has a notable negative effect on sleep time. The non-linear relationship between age and sleep duration, along with gender differences, further highlights the complexity of sleep issues in middle-aged and older adult populations. Building on existing research, this study further validates the multi-dimensional impact of health behaviors on sleep duration, emphasizing the complementary role of physical exercise and social activities.\u003c/p\u003e\u003cp\u003eThe findings suggest specific policy directions: (1) Public health programs should emphasize sustained, long-term physical activity engagement rather than short-term intensive interventions, given the temporal dynamics observed; (2) Community-based social activity programs should be integrated with physical activity initiatives to maximize complementary benefits; (3) Health education should address alcohol consumption patterns as part of comprehensive sleep hygiene promotion; (4) Interventions should consider the differential effects across educational levels, with particular attention to lower-educated populations who showed stronger responses to behavioral interventions.\u003c/p\u003e\u003c/div\u003e"},{"header":"Declarations","content":"\u003cp\u003e\u003cstrong\u003eData Availability\u003c/strong\u003e\u003cstrong\u003e:\u003c/strong\u003eThe datasets generated and/or analyzed during the current study are available in the China Health and Retirement Longitudinal Study (CHARLS) repository, which is publicly accessible. Data access can be requested through the official CHARLS website at http://charls.pku.edu.cn/en/.\u003c/p\u003e\n\u003cp\u003e\u003cstrong\u003eFunding Declaration:\u003c/strong\u003e This research did not receive any specific grant from funding agencies in the public, commercial, or not-for-profit sectors.\u003c/p\u003e\n\u003cp\u003e\u003cstrong\u003eClinical Trial Number\u003c/strong\u003e: not applicable.\u003c/p\u003e\n\u003cp\u003e\u003cstrong\u003eConsent for publication\u003c/strong\u003e: not applicable.\u003c/p\u003e\u003ch2\u003eAuthor Contribution\u003c/h2\u003e\u003cp\u003eGuiping Zhao: Conceptualization, Methodology, Investigation, Data collection, Formal analysis, Writing \u0026ndash; original draft, Visualization.Ketao Zhang: Investigation, Data collection, Data analysis, Writing \u0026ndash; review and editing, Validation.Xiaotian Li: Conceptualization, Methodology, Supervision, Writing \u0026ndash; review and editing.\u003c/p\u003e"},{"header":"References","content":"\u003col\u003e\u003cli\u003e\u003cspan\u003eMiner B, Kryger MH. Sleep in the Aging Population. Sleep Med Clin. 2020;15(2):311\u0026ndash;8.\u003c/span\u003e\u003c/li\u003e\u003cli\u003e\u003cspan\u003eHsu MF, Lee KY, Lin TC, et al. Subjective sleep quality and association with depression syndrome, chronic diseases, and health-related physical fitness in the middle-aged and elderly[J]. BMC Public Health. 2021;21:1\u0026ndash;9.\u003c/span\u003e\u003c/li\u003e\u003cli\u003e\u003cspan\u003eAndreasson A, Axelsson J, Bosch JA, et al. Poor sleep quality is associated with worse self-rated health in long sleep duration but not short sleep duration[J]. Sleep Med. 2021;88:262\u0026ndash;6.\u003c/span\u003e\u003c/li\u003e\u003cli\u003e\u003cspan\u003eLallukka T, Sivertsen B, Kronholm E, et al. Association of sleep duration and sleep quality with the physical, social, and emotional functioning among Australian adults[J]. Sleep Health. 2018;4(2):194\u0026ndash;200.\u003c/span\u003e\u003c/li\u003e\u003cli\u003e\u003cspan\u003eWang P, Song L, Wang K, et al. Prevalence and associated factors of poor sleep quality among Chinese older adults living in a rural area: a population-based study[J]. Aging Clin Exp Res. 2020;32:125\u0026ndash;31.\u003c/span\u003e\u003c/li\u003e\u003cli\u003e\u003cspan\u003eThichumpa W, Howteerakul N, Suwannapong N, et al. Sleep quality and associated factors among the elderly living in rural Chiang Rai, northern Thailand[J]. Epidemiol health. 2018;40:e2018018.\u003c/span\u003e\u003c/li\u003e\u003cli\u003e\u003cspan\u003eUchmanowicz I, Markiewicz K, Uchmanowicz B et al. The relationship between sleep disturbances and quality of life in elderly patients with hypertension[J]. Clin Interv Aging, 2019: 155\u0026ndash;65.\u003c/span\u003e\u003c/li\u003e\u003cli\u003e\u003cspan\u003eRamezankhani A, Azizi F, Hadaegh F. Associations of marital status with diabetes, hypertension, cardiovascular disease, and all-cause mortality: a long-term follow-up study[J]. PLoS ONE. 2019;14(4):e0215593.\u003c/span\u003e\u003c/li\u003e\u003cli\u003e\u003cspan\u003eSun XH, Ma T, Yao S, et al. Associations of sleep quality and sleep duration with frailty and pre-frailty in an elderly population, Rugao longevity and aging study[J]. BMC Geriatr. 2020;20:1\u0026ndash;9.\u003c/span\u003e\u003c/li\u003e\u003cli\u003e\u003cspan\u003eBritton A, Fat LN, Neligan A. The association between alcohol consumption and sleep disorders among older people in the general population[J]. Sci Rep. 2020;10(1):5275.\u003c/span\u003e\u003c/li\u003e\u003cli\u003e\u003cspan\u003eVanderlinden J, Boen F, Van Uffelen JGZ. Effects of physical activity programs on sleep outcomes in older adults: a systematic review[J]. Int J Behav Nutr Phys Activity. 2020;17:1\u0026ndash;15.\u003c/span\u003e\u003c/li\u003e\u003cli\u003e\u003cspan\u003eTrabelsi K, Ammar A, Masmoudi L, et al. Sleep quality and physical activity as predictors of mental well-being variance in older adults during COVID-19 lockdown: ECLB COVID-19 international online survey[J]. Int J Environ Res Public Health. 2021;18(8):4329.\u003c/span\u003e\u003c/li\u003e\u003cli\u003e\u003cspan\u003eBademli K, Lok N, Canbaz M, Effects of Physical Activity Program on cognitive function and sleep quality in the elderly with mild cognitive impairment: A randomized controlled trial[J]. Perspectives in psychiatric care, Fu C, Li Z, Mao Z et al. Association between social activities and cognitive function among the elderly in China: a cross-sectional study[J]. International journal of environmental research and public health, 2018, 15(2): 231.\u003c/span\u003e\u003c/li\u003e\u003cli\u003e\u003cspan\u003eShirley R, Yaghooti F, Griffiths DM. The mediating and moderating effects of psychological distress on the relationship between social media use with perceived social isolation and sleep quality of late middle-aged and older adults[J].BMC Geriatrics,2024,24(1):655\u0026ndash;655.\u003c/span\u003e\u003c/li\u003e\u003cli\u003e\u003cspan\u003ePopovic S, Masanovic B. Effects of physical and social activity on physical health and social inclusion of elderly people[J]. Iranian Journal of Public Health, 2019, 48(10): 1922.\u003c/span\u003e\u003c/li\u003e\u003cli\u003e\u003cspan\u003eWang XX, Zhang WJ, Zhang W, et al. The association between couple relationships and sleep[J]. Sleep Med Rev. 2024;74:101910.\u003c/span\u003e\u003c/li\u003e\u003cli\u003e\u003cspan\u003eZulfikar R, STp MM. Estimation model and selection method of panel data regression: An overview of common effect, fixed effect, and random effect models [J]. Volume 9. JEMA: Jurnal Ilmiah Bidang Akuntansi; 2018. pp. 1\u0026ndash;10. 2.\u003c/span\u003e\u003c/li\u003e\u003cli\u003e\u003cspan\u003eSarstedt M, Ringle CM, Cheah JH, et al. Structural model robustness checks in PLS-SEM[J]. Tour Econ. 2020;26(4):531\u0026ndash;54.\u003c/span\u003e\u003c/li\u003e\u003cli\u003e\u003cspan\u003eSejbuk M, Mirończuk-Chodakowska I, Witkowska AM. Sleep quality: a narrative review on nutrition, stimulants, and physical activity as important factors[J]. Nutrients, 2022, 14(9): 1912.\u003c/span\u003e\u003c/li\u003e\u003cli\u003e\u003cspan\u003eXie Y, Liu S, Chen XJ, et al. Effects of exercise on sleep quality and insomnia in adults: a systematic review and meta-analysis of randomized controlled trials[J]. Front Psychiatry. 2021;12:664499.\u003c/span\u003e\u003c/li\u003e\u003cli\u003e\u003cspan\u003eKim C, Ko H. The impact of self-compassion on mental health, sleep, quality of life, and life satisfaction among older adults[J]. Geriatr Nurs. 2018;39(6):623\u0026ndash;8.\u003c/span\u003e\u003c/li\u003e\u003cli\u003e\u003cspan\u003eYu B, Steptoe A, Niu K, et al. Prospective associations of social isolation and loneliness with poor sleep quality in older adults[J]. Qual Life Res. 2018;27:683\u0026ndash;91.\u003c/span\u003e\u003c/li\u003e\u003cli\u003e\u003cspan\u003eHu Z, Zhu X, Kaminga AC, et al. Association between poor sleep quality and depression symptoms among the elderly in nursing homes in Hunan province, China: a cross-sectional study[J]. BMJ open. 2020;10(7):e036401.\u003c/span\u003e\u003c/li\u003e\u003cli\u003e\u003cspan\u003eBanno M, Harada Y, Taniguchi M, et al. Exercise can improve sleep quality: a systematic review and meta-analysis[J]. PeerJ. 2018;6:e5172.\u003c/span\u003e\u003c/li\u003e\u003cli\u003e\u003cspan\u003eViner RM, Gireesh A, Stiglic N, et al. Roles of cyberbullying, sleep, and physical activity in mediating the effects of social media use on mental health and wellbeing among young people in England: a secondary analysis of longitudinal data[J]. Lancet Child Adolesc Health. 2019;3(10):685\u0026ndash;96.\u003c/span\u003e\u003c/li\u003e\u003cli\u003e\u003cspan\u003ePapadopoulos D, Sosso FAE, Nriagu J. Socioeconomic status and sleep health: a narrative review[J]. Sleep Med Clin. 2023;18(1):127\u0026ndash;39.\u003c/span\u003e\u003c/li\u003e\u003cli\u003e\u003cspan\u003eLee GB, Kim SY, Kim JH, et al. Association between socioeconomic status and longitudinal sleep quality patterns: the mediating role of depressive symptoms[J]. Sleep. 2021;44(8):zsab044.\u003c/span\u003e\u003c/li\u003e\u003cli\u003e\u003cspan\u003eScholes S, Bann D. Education-related disparities in reported physical activity among adults: evidence from the Health Survey for England[J]. BMC Public Health. 2018;18:1140.\u003c/span\u003e\u003c/li\u003e\u003cli\u003e\u003cspan\u003eLund MM, M\u0026oslash;ller NC, Bugge A, et al. Socioeconomic status moderates the effect of physical education intervention on overweight/obesity risk in primary school children: a longitudinal quasi-experimental study[J]. Int J Behav Nutr Phys Act. 2025;22:76.\u003c/span\u003e\u003c/li\u003e\u003cli\u003e\u003cspan\u003eKlinker CD, Aaby A, Ringgaard LW, et al. Health literacy is associated with health behaviors in patients with cardiovascular risk[J]. BMC Public Health. 2020;20:1701.\u003c/span\u003e\u003c/li\u003e\u003cli\u003e\u003cspan\u003eBonuck KA, Schwartz B, Schechter C, et al. Sleep health literacy in Head Start families and staff[J]. Health Behav Policy Rev. 2016;3(6):565\u0026ndash;77.\u003c/span\u003e\u003c/li\u003e\u003cli\u003e\u003cspan\u003eSch\u0026uuml;z B, Li ASW, Hardinge A, et al. Socioeconomic status moderates the relation between intentions and physical activity: a meta-analysis based on the theory of planned behavior[J]. Psychol Health. 2017;32(5):678\u0026ndash;93.\u003c/span\u003e\u003c/li\u003e\u003cli\u003e\u003cspan\u003ePhelan JC, Link BG. Social conditions as fundamental causes of disease[J]. J Health Soc Behav, 1995, Spec No: 80\u0026ndash;94.\u003c/span\u003e\u003c/li\u003e\u003cli\u003e\u003cspan\u003eHuang BH, Duncan MJ, Cistulli PA, et al. Sleep and physical activity in relation to all-cause, cardiovascular disease, and cancer mortality risk[J]. Br J Sports Med. 2022;56(13):718\u0026ndash;24.\u003c/span\u003e\u003c/li\u003e\u003cli\u003e\u003cspan\u003eBenson JA, McSorley VE, Hawkley LC, et al. Associations of loneliness and social isolation with actigraph and self-reported sleep quality in a national sample of older adults[J]. Sleep. 2021;44(1):zsaa140.\u003c/span\u003e\u003c/li\u003e\u003cli\u003e\u003cspan\u003eBisson ANS, Robinson SA, Lachman ME. Walk to a better night of sleep: testing the relationship between physical activity and sleep[J]. Sleep health. 2019;5(5):487\u0026ndash;94.\u003c/span\u003e\u003c/li\u003e\u003cli\u003e\u003cspan\u003eLamb SE, Sheehan B, Atherton N et al. Dementia And Physical Activity (DAPA) trial of moderate to high intensity exercise training for people with dementia: randomised controlled trial[J]. BMJ, 2018, 361.\u003c/span\u003e\u003c/li\u003e\u003cli\u003e\u003cspan\u003eVan den Berg MM, van Poppel M, van Kamp I, et al. Do physical activity, social cohesion, and loneliness mediate the association between time spent visiting green space and mental health?[J]. Environ Behav. 2019;51(2):144\u0026ndash;66.\u003c/span\u003e\u003c/li\u003e\u003cli\u003e\u003cspan\u003eKeller PS, Haak EA, DeWall CN, et al. Poor sleep is associated with greater marital aggression: The role of self-control [J]. Behav sleep Med. 2019;17(2):174\u0026ndash;80.\u003c/span\u003e\u003c/li\u003e\u003cli\u003e\u003cspan\u003eMarini CM, Martire LM, Jones DR, et al. Daily links between sleep and anger among spouses of chronic pain patients[J]. Journals Gerontology: Ser B. 2020;75(5):927\u0026ndash;36.\u003c/span\u003e\u003c/li\u003e\u003cli\u003e\u003cspan\u003eFucito LM, Bold KW, Van Reen E, et al. Reciprocal variations in sleep and drinking over time among heavy-drinking young adults[J]. J Abnorm Psychol. 2018;127(1):92.\u003c/span\u003e\u003c/li\u003e\u003cli\u003e\u003cspan\u003eBritton A, Fat LN, Neligan A. The association between alcohol consumption and sleep disorders among older people in the general population[J]. Sci Rep. 2020;10(1):5275.\u003c/span\u003e\u003c/li\u003e\u003cli\u003e\u003cspan\u003eHe S, Hasler BP, Chakravorty S. Alcohol and sleep-related problems[J]. Curr Opin Psychol. 2019;30:117\u0026ndash;22.\u003c/span\u003e\u003c/li\u003e\u003cli\u003e\u003cspan\u003eZheng R, Niu J, Wu S, et al. Gender and age differences in the association between sleep characteristics and fasting glucose levels in Chinese adults[J]. Volume 47. Diabetes \u0026amp; Metabolism; 2021. p. 101174. 2.\u003c/span\u003e\u003c/li\u003e\u003c/ol\u003e"}],"fulltextSource":"","fullText":"","funders":[],"hasAdminPriorityOnWorkflow":false,"hasManuscriptDocX":true,"hasOptedInToPreprint":true,"hasPassedJournalQc":"","hasAnyPriority":false,"hideJournal":false,"highlight":"","institution":"","isAcceptedByJournal":true,"isAuthorSuppliedPdf":false,"isDeskRejected":"","isHiddenFromSearch":false,"isInQc":false,"isInWorkflow":false,"isPdf":false,"isPdfUpToDate":true,"isWithdrawnOrRetracted":false,"journal":{"display":true,"email":"
[email protected]","identity":"bmc-public-health","isNatureJournal":false,"hasQc":true,"allowDirectSubmit":false,"externalIdentity":"pubh","sideBox":"Learn more about [BMC Public Health](http://bmcpublichealth.biomedcentral.com/)","snPcode":"","submissionUrl":"https://www.editorialmanager.com/pubh/default.aspx","title":"BMC Public Health","twitterHandle":"@BMC_series","acdcEnabled":true,"dfaEnabled":false,"editorialSystem":"em","reportingPortfolio":"BMC Series","inReviewEnabled":true,"inReviewRevisionsEnabled":true},"keywords":"Physical activity, social activity, sleep duration, middle-aged and older adults, aging population","lastPublishedDoi":"10.21203/rs.3.rs-7814929/v1","lastPublishedDoiUrl":"https://doi.org/10.21203/rs.3.rs-7814929/v1","license":{"name":"CC BY 4.0","url":"https://creativecommons.org/licenses/by/4.0/"},"manuscriptAbstract":"\u003cp\u003e\u003cstrong\u003eBackground and Objectives\u003c/strong\u003e\u003c/p\u003e\n\u003cp\u003e: Sleep disturbances are significant public health issues for middle-aged and older adults. While cross-sectional research shows associations, a comprehensive understanding of the long-term, cumulative dynamic between multiple health behaviors and sleep duration remains underdeveloped. This study examines the distinct temporal effects and synergistic potential of sustained physical activity and social engagement on sleep duration in the aging population.\u003c/p\u003e\n\u003cp\u003e\u003cstrong\u003eResearch Methodology\u003c/strong\u003e\u003c/p\u003e\n\u003cp\u003eUsing five waves of longitudinal panel data from the China Health and Retirement Longitudinal Study (CHARLS, 2011–2018), we analyzed 5,082 participants (57,716 observations). We employed a nested fixed-effects model with interaction terms between behaviors and time (survey wave) to control for individual unobservable heterogeneity and capture dynamic effects. Control variables included marital status, gender, age, education level, drinking habits, and chronic diseases.\u003c/p\u003e\n\u003cp\u003e\u003cstrong\u003eResults\u003c/strong\u003e\u003c/p\u003e\n\u003cp\u003eThe direct effect of physical activity on sleep duration was negative in the short term. Crucially, its interaction with time showed a significant positive cumulative effect. Social activity also demonstrated a positive temporal effect, though the magnitude was notably smaller. Marital status exhibited a large protective effect, and drinking habits were significantly negative. The beneficial temporal effects of physical activity were most pronounced in the middle school education group.\u003c/p\u003e\n\u003cp\u003e\u003cstrong\u003eConclusions\u003c/strong\u003e\u003c/p\u003e\n\u003cp\u003eLong-term engagement in both physical activity and social activities positively enhances sleep duration, with physical activity having a more substantial and long-lasting protective impact that accrues over time. These findings underscore the need for public health policies to emphasize sustained, long-term interventions and consider education-level heterogeneity to maximize sleep benefits for aging adults.\u003c/p\u003e","manuscriptTitle":"The Cumulative Bridge: How Long-Term Physical Activity and Social Engagement Gradually Enhance Sleep Health in Aging Adults","msid":"","msnumber":"","nonDraftVersions":[{"code":1,"date":"2025-10-30 11:52:04","doi":"10.21203/rs.3.rs-7814929/v1","editorialEvents":[{"type":"communityComments","content":0},{"type":"decision","content":"Revision requested","date":"2026-02-03T04:48:10+00:00","index":"","fulltext":""},{"type":"editorInvitedReview","content":"","date":"2026-01-26T16:35:06+00:00","index":"hide","fulltext":""},{"type":"editorInvitedReview","content":"","date":"2026-01-26T02:49:19+00:00","index":"hide","fulltext":""},{"type":"reviewerAgreed","content":"154427867580604677946838200518294365579","date":"2026-01-06T02:26:09+00:00","index":"hide","fulltext":""},{"type":"reviewerAgreed","content":"211229945752449944631833561570355382969","date":"2026-01-04T01:41:46+00:00","index":"hide","fulltext":""},{"type":"reviewerAgreed","content":"110524374062845613859601353740895699976","date":"2025-12-30T02:48:33+00:00","index":"hide","fulltext":""},{"type":"editorInvitedReview","content":"","date":"2025-12-13T02:43:14+00:00","index":"hide","fulltext":""},{"type":"editorInvited","content":"","date":"2025-12-12T11:18:20+00:00","index":"","fulltext":""},{"type":"reviewerAgreed","content":"185024476979495965667481621041966307510","date":"2025-10-20T14:04:16+00:00","index":"hide","fulltext":""},{"type":"reviewersInvited","content":"","date":"2025-10-15T07:26:20+00:00","index":"","fulltext":""},{"type":"editorAssigned","content":"","date":"2025-10-14T03:44:47+00:00","index":"","fulltext":""},{"type":"checksComplete","content":"","date":"2025-10-14T03:43:58+00:00","index":"","fulltext":""},{"type":"submitted","content":"BMC Public Health","date":"2025-10-09T08:21:59+00:00","index":"","fulltext":""}],"status":"published","journal":{"display":true,"email":"
[email protected]","identity":"bmc-public-health","isNatureJournal":false,"hasQc":true,"allowDirectSubmit":false,"externalIdentity":"pubh","sideBox":"Learn more about [BMC Public Health](http://bmcpublichealth.biomedcentral.com/)","snPcode":"","submissionUrl":"https://www.editorialmanager.com/pubh/default.aspx","title":"BMC Public Health","twitterHandle":"@BMC_series","acdcEnabled":true,"dfaEnabled":false,"editorialSystem":"em","reportingPortfolio":"BMC Series","inReviewEnabled":true,"inReviewRevisionsEnabled":true}}],"origin":"","ownerIdentity":"6b43e5c1-ec45-4b47-af70-1ad52f1a6292","owner":[],"postedDate":"October 30th, 2025","published":true,"recentEditorialEvents":[],"rejectedJournal":[],"revision":"","amendment":"","status":"published-in-journal","subjectAreas":[],"tags":[],"updatedAt":"2026-05-04T16:01:53+00:00","versionOfRecord":{"articleIdentity":"rs-7814929","link":"https://doi.org/10.1186/s12889-026-27502-1","journal":{"identity":"bmc-public-health","isVorOnly":false,"title":"BMC Public Health"},"publishedOn":"2026-04-30 15:58:31","publishedOnDateReadable":"April 30th, 2026"},"versionCreatedAt":"2025-10-30 11:52:04","video":"","vorDoi":"10.1186/s12889-026-27502-1","vorDoiUrl":"https://doi.org/10.1186/s12889-026-27502-1","workflowStages":[]},"version":"v1","identity":"rs-7814929","journalConfig":"researchsquare"},"__N_SSP":true},"page":"/article/[identity]/[[...version]]","query":{"redirect":"/article/rs-7814929","identity":"rs-7814929","version":["v1"]},"buildId":"8U1c8b4HqxoKbykW_rLl7","isFallback":false,"isExperimentalCompile":false,"dynamicIds":[84888],"gssp":true,"scriptLoader":[]}
Text is read by the "Ask this paper" AI Q&A widget below.
Extraction quality varies by source — PMC NXML preserves structure
cleanly, OA-HTML may include some navigation residue, and OA-PDF can
have broken hyphenation. The publisher copy
(via DOI)
is the canonical version.