Introduction

The number of widowed older adults will continue to increase as the aging population does in China. Some older people may readily adapt to life after losing their spouse, while others cannot, and may develop mental health issues such as depression and loneliness.

The loss of a spouse is one of the major causes of depression in older people. Widowed adults are more likely to suffer from depression than married adults, and the prevalence rate of clinically diagnosed depression is around 17%–20% during widowhood [30]. In a survey of older adults in rural China, depression prevalence was reported to be 29.80 percent among the widowed and 13.50 percent among those with spouses [53]. Even if there is a time buffer, some older people are unable to eliminate the impact of the loss of a spouse on depression [44]. Therefore, from the perspective of positive psychology, how to alleviate the mental health of widowed older adults, adapt to widowed life, and achieve successful aging has become an important concern.

Psychological resilience is the concept of positive psychology, which is the ability to adapt and rebound in the face of adversity, trauma, tragedy, threat, or other major stressful events [24, 41]. Most research suggests that resilience is a protective characteristic that decreases mental symptoms in adults [7, 11, 39, 43, 48, 52]. Especially in older adults, in the face of the challenges of bodily functions with aging, illness, and role transformation, the older will be more likely to have negative emotions. A study investigated the association between psychological resilience, stressful life events, and depressive symptoms in older Chinese people, and discovered that resilience plays a vital role in reducing the negative impact of stressful life events on depressive symptoms [31]. According to longitudinal research, about half of those who experienced the loss of a spouse reported minimal to no symptoms of depression at any point during the study, which was related to the psychological resilience of widowed people [6].

Social participation is “a socially oriented sharing of individual resources” [9]. It is a positive factor in relieving depression. Most studies have shown that depression can be prevented and alleviated by actively engaging in social participation among older adults [13, 19, 20, 50]. Social participation provides opportunities to interact with others in society. Older Australians have reported less emotional distress with higher social participation than those with lower social participation because they have received more social support and social contact [49]. For widowed older adults, social participation during widowhood may assist individuals in effectively overcoming the problems of spouse bereavement, regardless of how social participation changes after widowhood [27]. A high level of social participation during widowhood is related to a low level of depression.

However, it is not clear how social participation alleviates depression. According to previous studies, social participation improves the chance of contact with society and enhances the individual’s psychological resilience [5, 48], which is a protective factor for depression. Social participation is a crucial factor in promoting psychological resilience. Volunteering and assisting others have been shown to promote resilience [8, 40]. Wermelinger et al. [48] demonstrated that active people have greater resilience than sedentary people among older people. Social participation provides an opportunity for social and communal interaction. More social and community contact is linked to increased resilience in older adults [5]. Higher levels of social and community engagement are the central protective elements of resilience in later life, according to the Annual Report on Strengthening Personal Resilience in East Sussex [33]. Some resilience-building programs for people aged 65 above focus on developing community connections and participating in meaningful activities [14].

Widowed older adults may withdraw from social networks and experience social detachment after losing their spouses. It is critical to encourage active social participation and resilience in widowed older adults in order to reduce isolation and negative feelings. We observed few studies on the relationship between psychological resilience and depression in widowed older adults based on the literature. Although most studies have shown that social participation may alleviate some symptoms of depression, it is unclear how social participation affects depression. We examined the following three relationships in this study:

  1. (1)

    The relationship between social participation and the level of depression among widowed older adults.

  2. (2)

    The relationship between psychological resilience and the level of depression among widowed older adults. Additionally, we examine the relationship between factors of psychological resilience and the level of depression among widowed older adults.

  3. (3)

    The mediating effect of psychological resilience (including the factors of psychological resilience) in the association between social participation and depression. The mediation pathways are shown in Fig. 1.

Fig. 1
figure 1

Mediation paths analysis for social participation on the depression. a The mediating variable is the total psychological resilience; b The mediating variable is the factors of total psychological resilience

Methods

Sampling

The data was from the “Survey of social adaptation and health among the widowed older adults in Shaanxi Province”, which was conducted in 2019 by the Institute for Population and Social Policy Studies at Xi’an Polytechnic University. Shaanxi Province is in northwest China, and is divided into three regions: central Shaanxi, northern Shaanxi, and southern Shaanxi, all of which have distinct geographical, historical, cultural, and language characteristics [29]. Stratified non-probability sampling was used in the survey. The sample units in the first stage were the district and county in each of the three regions. In the second stage, the sample units were the neighborhood committee and village committees. The sample unit was widowed older adults aged 60 and above in the third stage. According to the proportion of the older population in three regions of Shaanxi Province at 6:3:1, we randomly selected 600 people in central Shaanxi, 300 in southern Shaanxi, and 100 in northern Shaanxi. Because some old people refused to participate in the survey, 900 people were interviewed in total, with 790 questionnaires being valid, including 460 in central Shaanxi, 252 in southern Shaanxi, and 78 in northern Shaanxi. A total of 60 undergraduate interviewers were recruited to conduct the survey during the 2019 summer vacation who had taken training related to social surveys or had some experience with social surveys. The survey was conducted using face-to-face interviews to guarantee its reliability. The data we collected included individual characteristics, health status, social participation, social support, etc.

Measurement

Dependent variables

Depression was assessed using the 10-item Center for Epidemiologic Studies Depression Scale (CES-D-10) short form. There are 10 items on the scale. The items relate to the respondent’s feelings and actions over the previous week. There are four options for each question: 0 = never or seldom (1 day); 1 = some or a little (1–2 days); 2 = occasionally or for a long time (3–4 days); and 3 = most or all of the time (5–7 days).

A continuous variable for depression was created by summing up the values of ten items. The total score ranges from 0 to 30, with a higher number indicating a higher level of depression. The study’s Cronbach’s alpha of 0.829 demonstrated its high reliability and validity.

Independent variables

Psychological resilience

We used the Connor Davidson Resilience Scale (CD-RISC) to assess resilience [12]. It comprises 25 questions, each of which is graded on a 5-point Likert scale (Not true at all,Rarely true; Sometimes true; often true; True nearly all of the time). The sum of the 25-item scores was used to produce a resilience scale, with higher scores indicating stronger levels of resilience. Cronbach’s alpha for this study was 0.9346.

A series of categorical EFAs (Exploratory Factor Analysis) was conducted to determine the factor structure of the CD-RISC scores in the widowed population. The 5- and 3-item solutions were rejected due to numerous cross-loadings and non-meaning factors. The 4-factor structure option was chosen because of its interpretability (Table 1). 57.34% of the variance was explained in this model.

Table 1 Rotated factor structure of Connor-Davidson resilience scale

The following factors emerged (see Table1): (1) perseverance and leadership (contains 10 items; The Cronbach’s alpha is 0.9030); (2) optimism and positive acceptance of change (contains 6 items; The Cronbach’s alpha is 0.8443); (3) Secure relationships and distress tolerance (contains 4 items; The Cronbach’s alpha is 0.6703); (4) Control ability (contains 3 items; The Cronbach’s alpha is 0.6241).

The 4-factor CFA provided a good fitting to the data (2/df = 2.610, RMSEA = 0.064, CFI = 0.917, IFI = 0.918, TLI = 0.905). The correlation between resilience and resilience factors was high (0.752–0.933; P < 0. 001).

Social participation

Social participation was measured with the question, “Have you done these activities in the past 3 months?” Participation in local communities consists of eight components: (1) Interacted with friends; (2) Played Ma-jong, Chinese chess, cards, or went to a neighborhood club; (3) Provided assistance to relatives, friends, or neighbors who do not reside with you and did not pay you for the assistance; (4) Went to sports, social, or other types of club; (5) Participated in a community-based group; (6) Volunteered or donated to charity; (7) Took care of grandkids; (8) Watched TV, read newspapers, and went on the internet. The answers for each option were: 0 = never, 1 = seldom (1 day per week), 2 = some or a little (2–3 days per week), 3 = occasionally or for a significant amount of time (4–5 days per week), and 4 = every day. We summed the values for each option and defined it as “social participation”, a continuous variable with a minimum value of 1 and a maximum of 30, with higher numbers indicating greater participation. Cronbach’s alpha was calculated to be 0.673. Cronbach’s alpha between 0.5 and 0.7 implies moderate dependability, which is also acceptable [4].

Control variables

In this paper, we controlled variables such as demographic characteristics, life habits, social support, the number of chronic diseases, and duration of widowhood.

Demographic characteristics include age, gender, education, and personal income, household registration type and work or not. Life habits include, whether the respondent ever smoked or drank. Social support is measured by the number of children and friends. The number of chronic diseases include, hypertension, diabetes or high blood sugar, cancer or malignant tumors, and so on. The summary statistics for all variables used in the analysis are presented in Table 2.

Table 2 The descriptive statistics of variables

Statistical analysis

Firstly, we established an OLS (ordinary least squares) regression model to investigate the link between widowed older adults social participation, psychological resilience, and depression.

Secondly, in order to solve the sample selection bias, we use the generalized propensity scores and estimate dose response functions [25]. We build the GPSM (the Generalized Propensity Score Matching) model and examine the effects of different levels of social participation or psychological resilience on depression. Compared with traditional propensity score matching (PSM), the generalized propensity score matching (GPSM) develops a binary treatment into a continuous treatment setting [25, 26].

This approach is suitable for our objective because we are interested in the response—that is, depression namely depression, that is associated with each continuous treatment value, such as the degree of social participation or psychological resiliency. For multivalued treatments, we could discretize the continuously distributed treatment variable and use propensity score methods. The generalized propensity score has the advantage of utilizing all of the information contained in the distribution of treatment duration.

  1. (1)

    We assume the treatment (Ti) is normally distributed when the covariate variables (Xi) are taken into account. We estimate the parameters β0; β1, σ2 by OLS

    $${T}_{i} | {X}_{i}\sim N\left({\beta }_{0}+{\beta }_{1}{\prime}{X}_{i},{\sigma }^{2}\right).$$
  2. (2)

    The GPS is estimated using the following equation:

    $${\widehat{R}}_{i}=\frac{1}{\sqrt{2\pi {\sigma }^{2}}}\mathrm{exp}\left[-\frac{{\left({T}_{i}-{\widehat{\beta }}_{0}-{\widehat{\beta }}_{1}{\prime}{X}_{i}\right)}^{2}}{2{\widehat{\sigma }}^{2}}\right]$$
  3. (3)

    We estimate the expected value of the outcome variable after obtaining the GPS (The generalized propensity score). The quadratic form accounts for a potential non-linear relationship between social participation and depression.

    $$E\left[{Y}_{i}|{T}_{i},{R}_{i}\right]={\alpha }_{0}+{\alpha }_{1}{T}_{i}+{\alpha }_{2}{T}_{i}^{2}+{\alpha }_{3}{R}_{i}+{\alpha }_{4}{R}_{i}^{2}+{\alpha }_{5}{T}_{i}{R}_{i}$$

The average potential outcome at treatment level t is estimated:

$$E\left[\widehat{Y}\left(t\right)\right]=\frac{1}{N}\sum_{i=1}^{N}\left[{\widehat{\alpha }}_{0}+{\widehat{\alpha }}_{1}.t+{\widehat{\alpha }}_{2}.{t}^{2}+{\widehat{\alpha }}_{3}\widehat{r}\left(t,{X}_{i}\right)+{\widehat{\alpha }}_{4}\widehat{r}{\left(t,{X}_{i}\right)}^{2}+{\widehat{\alpha }}_{5}.t.\widehat{r}\left(t,{X}_{i}\right)\right]$$

This is done for every treatment level we are interested obtaining the entire dose-response function.

Lastly, we used Simple Mediation and Multiple Mediation to test whether psychological resilience and four factors acted as mediators between social participation and depression. We used bias-corrected bootstrapping to measure indirect effects [37]. Bootstrapping involves extracting samples from a data set several times (5,000 times in this paper,) and estimating the indirect impact of each resampled data set. The sum of all estimated indirect effects allows for developing of a 95 percent confidence interval for each indirect impact’s effect size. If the confidence interval size includes zero, the effect is considered not significant.

Results

Descriptive results

As shown in Table 2, the mean depression level of the widowed older adults was 9.91. The mean level of social participation is 11.56. The mean total score on the CD-RISC in our sample was 49.83, and the average value of the four resilience factors was 19.53, 13.26, 9.29, and 7.74. Among the widowed older adults, 46.83% were 70–79 years old, 46.33% were illiterate, 73.67% lived in rural areas, and 48.86% were still working.

Regression results

Table 3 presents the regression results. In Model 1, without considering the psychological resilience variable, the higher the level of social participation, the lower the degree of depression, and the social participation variable has a greater impact on the level of depression than other variables.

Table 3 OLS estimates for social participation and psychological resilience on depression

Model 2 adds the total score of psychological resilience. The relationship between social participation and depression is still significant. There is a significant correlation between psychological resilience and the degree of depression. The higher the total score of psychological resilience, the lower the degree of depression. After the psychological resilience variable was added to model 2, it had a greater impact on the level of depression than other variables.

Model 3 adds the four factors of psychological resilience. In model 3, social participation was not related to depression, and there was a significant correlation between factor 2, factor 3, and the degree of depression. Factor 2 had the greatest influence on depression, followed by factor 3.

The dose-response functions estimated using the GPSM

The treatment variables were social participation and psychological resilience. According to the previous analysis of the OLS model, we controlled the personal characteristic variables, social support variables, lifestyle and habits and other variables that affect depression. We believe that these variables affect not only depression but also decisions related to social participation and psychological resilience due to unobserved common variables such as individual ability and environments. Therefore, the GPSM variables are organized using control variables in the OLS model.

Balancing property

Tables 4 and 5 present the Balancing Property Test for the pretreatment covariates before and after accounting for the estimated GPS (The generalized propensity score). The treatment variable is social participation in Table 4, and the treatment variable is psychological resilience in Table 5.

Table 4 Covariates balancing property test before and after matching (Treatment variable is social participation)
Table 5 Covariates balancing property test before and after matching (Treatment variable is psychological resilience)

In Table 4, the balancing assumption ensures a balanced mean of pre-existing characteristics of widowed people at each social participation interval. Among those widowed people, we divide the range of social participation into three treatment intervals with each interval accounting for approximately 33% of the entire range. The 3 groups correspond to low, medium, and high levels of social participation, to allow for sensible outcome comparisons which is in line with the purpose of our study. More specifically, we define the treatment interval as [1, 9], (9, 14], (14, 30]. The pretreatment covariates are usually very different between observations at different social participation levels. Conditional on the estimated GPS, the adjusted means of pretreatment covariates between observations at each treatment level should not be statistically different. The GPS matching process in Table 5 is the same as in Table 4. Based on the distribution of psychological resilience scores, the treatment interval is defined as [5, 42], (42, 57] and (57, 91].

We can observe in Tables 4 and 5 that the differences in the pretreatment covariates are mitigated after controlling for the estimated GPS. According to a standard two-sided t-test, the balancing property is satisfied at a level lower than 0.01.

Estimation of the dose-response and treatment functions

We can use the GPS to remove bias associated with differences in covariates. we estimate the dose-response function at each specific level of the treatment, by averaging the conditional expectation function over the GPS at that particular level of the treatment.

The left panel of Fig. 2 shows the average dose-response function of the social participation score for widowed people and the 95% confidence bands. Moreover, we can see the dose-response function takes on a U shape. With the increase in social participation scores, the average depression level decreased and then increased. When the social participation score was 18, the average depression was the lowest, the social participation score was higher than 18, the average depression began to rise. From the right panel of Fig. 2, it is worth noting that the CI (Confidence interval) for the marginal treatment effect function crosses zero when the social participation score is higher than 18, which means that the marginal treatment effect is insignificant beyond zero point. The right panel of Fig. 2 reveals that marginal effects are larger for high levels of the social participation score.

Fig. 2
figure 2

Dose-response function and marginal treatment effect function for depression. (The treatment variable is social participation)

The left panel of Fig. 3 shows the average dose-response function of the psychological resilience score for widowed people and the 95% confidence bands. We can see the average depression is a decreasing function of the psychological resilience score. The relationship between the psychological resilience score and depression is linearly decreasing. The right panel of Fig. 3 reveals that marginal effects are larger for high levels of the psychological resilience score.

Fig. 3
figure 3

Dose-response function and marginal treatment effect function for depression. (The treatment variable is psychological resilience)

The results of mediation tests

Table 6 shows the results of the simple and multiple mediation tests. The simple mediation shows that the indirect effect of psychological resilience was significant (-0.19,-0.10), and the indirect was -0.15. The multiple mediation shows that the total indirect effect for all four mediators assessed simultaneously was significant (-0.24, -0.13); the indirect effect was -0.18. Among the four mediation paths, optimism and positive acceptance of change (-0.17, -0.08), secure relationships, and distress tolerance (-0.09, -0.03) were significant mediation effects. The indirect effects were -0.12 and -0.06, respectively. Higher levels of social participation were associated with lower levels of depression, mediated by factor 2 (optimism and positive acceptance of change) and factor 3 (secure relationships and distress tolerance) of psychological resilience. The point estimates for these specific indirect effects on depression with the psychological resilience factors are detailed in Fig. 4.

Table 6 The results of mediation tests
Fig. 4
figure 4

The results of mediation paths analysis for social participation on the depression. a The mediating variable is the total psychological resilience; b The mediating variable is the factors of total psychological resilience. *p < 0.05; **p < 0.01; ***p < 0.001

Discussion

We identified that there was a U-shaped relationship between social participation and depression. Several previous studies indicate a linear relationship between social participation and depression, and social participation decreases the level of depression [49, 50]. Our research unveiled that as social participation increases, depression levels initially decline but later increase. Social participation is associated with depression, however, the strength and direction of the association depend on the type of activity [13, 28].

For widowed older adults, social participation provides opportunities for them to integrate into society, strengthen social connections, and reduce social isolation through activities such as volunteer work, cultural activities, leisure activities, sports, and other activities [38, 45]. Leisure activities allow widowed people to cope with their grief while providing an opportunity to experience positive feelings [28]. However, participation in a political or community organization was related to an increase in depressive symptoms. They exert more effort but receive a lower reward, which may result in depressive symptoms [13]. People who watch more television and use computers are more likely to suffer from depression because they are sedentary and lack social support [15, 22]. In China, older people who take care of their grandchildren and take on more housework often experience psychological pressures like anxiety and self-denial because their energy and physical strength are not sufficient to handle the repetitive work and high-intensity care requirements [32]. As a result, moderate, rather than excessive social participation beneficial to health.

We also found that total psychological resilience was negatively associated with depression among widowed people in China. Widowed people with higher scores of total psychological resilience experienced lower levels of depression. People with higher degrees of resilience may be better able to cope with psychological stress because they can remain optimistic despite a life-threatening situation [21]. Resilient people use positive emotions to recover from and find positive meaning in life’s challenges. Positive emotions can expand one’s thinking, assist in the formation of positive relationships, and improve psychological adaptability [46].

Among the four factors of psychological resilience, factor 2 (optimism and positive acceptance of change) and factor 3 (secure relationships and tolerance of negative affect) were significantly negatively correlated with the level of depression. Optimists think those good things will happen instead of bad things, and they look forward to the future with positive emotions rather than negative ones. Optimism and positive acceptance of change were found to be significantly linked to a decreased risk of depression in adults [17],when faced with complex life events, Optimists may have the confidence and courage to face challenges. They can adopt positive acceptance of change in stressful life events [18, 36]. Secure relationships mainly come from the support of family and friends. The recently widowed were less depressed when they had confidence and mutual help from family and friends [16]. After losing a spouse, increased contact with friends and family reduces loneliness, which is thought to be a way of coping with bereavement [47]. Widowed people with more social support from family and friends experience fewer episodes of depression [3]. Low distress tolerance has been linked to greater depressive symptoms [42]. When a person’s ability to tolerate negative emotions is insufficient, they will typically engage in avoidant behaviors [34], which are associated with depression [10, 23].

We found that the association between social participation and the level of depression is mediated by psychological resilience. Active social participation will promote psychological resilience, and the higher the level of psychological resilience, the lower the level of depression. Factors 2 (optimism and positive acceptance of change) and 3 (secure relationships and distress tolerance) of psychological resilience had significant mediation effects among the four mediation pathways. Active social participation affects optimism and positive acceptance of change. For example, volunteering may enhance self-esteem and promote self-worth among volunteers, and it may have an influence on optimism [8, 35]. At the same time,active social participation affects secure relationships and distress tolerance. Such activities as volunteering, caring for grandchildren, and doing community service all contribute to the formation of social networks [33]. Positive social networks are more likely to get social support from family, friends, and neighbors [1]. Secure relationships with family or other trusted adults are positively associated with psychological resilience [2], then high resilience decreases depression. Yoshikawa et al. [54] also found that physical activity strengthens social connections and social support,psychological resilience mediates the association between physical activity and depression,security relationships promote the ability to tolerate negative emotions.

However, we did not find an indirect mediation effect of social participation on depression via factor 1 (perseverance and leadership). It is possible that perseverance and leadership are relatively constant mental states throughout a person’s life, and social participation has little impact on their development. We also found that the mediation path of factor 4 (control ability) is insignificant. Widowhood may undermine one’s feeling of control over events as well as one’s future goals, putting one’s well-being in danger [51].

There are some limitations in the study: Firstly, the data is cross-sectional, and the methods do not resolve reverse causality. Secondly, the retrospective survey of widowed older adults may result in biased information. Thirdly, various factors, such as personality and intergenerational support from their children, can influence the mental health of widowed older adults. However, due to data limitations, these factors are not explored in this study. Nevertheless, our findings could aid in the measurement of future interventions aimed at reducing depression in widowed individuals. Active social participation is essential as it has a protective and resilient impact, aiding in the recovery from the stress of losing a spouse.

Conclusion

There is a U-shaped relationship between social participation and depression among widowed older adults. Social participation reduces depression in widowed older adults, but too many and frequent participation activities increase depression. As a result, widowed older adults should participate in social activities appropriately.

The higher the level of psychological resilience of widowed older adults, the lower the level of depression. Optimism and positive acceptance of change can help reduce depression. The higher the level of secure relationships and tolerance, the lower the level of depression. It is critical for widowed older adults to build up their psychological resilience.

Social participation can reduce the depression level of widowed older adults by improving their psychological resilience. Participation in social activities improves the optimism and positive acceptance of change in widowed older adults, promotes the level of secure relationships and tolerance in widowed older adults, and then reduces the risk of depression.