Background

Nursing and medical students experience high rates of depressive symptoms [1, 2]. The overall pooled crude prevalence of depression or depressive symptoms among medical and nursing students was 27.2% [3] and was 34.0% [4], respectively. However, approximately half of the studies that used popularly digital mental health interventions in dealing with depression did not show the expected outcomes [5]. Moreover, when students had mental distress, many of them are likely to solve the mental health problem without treatment [6]. Combined with the lack of mental health professionals, the treatment rate is low, for example, in many countries, less than 10% of people of all ages received treatment [7].

Whereas mental health is important for students to contribute fully to their learning and growth [8]. Mentally health nursing and medical students tend to be productive and successful in their academic performance and clinical studies and provide quality patient care [1, 9, 10]. Identifying the factors that can prevent and reduce depressive symptoms can provide information for designing effective training programs that help nursing and medical students to improve their mental health.

Self-compassion

Negative life events increased the risk of depression [11]. Nevertheless, certain individuals perceive less stress from negative life events and can positively adapt to adversities more successfully compared with those who suffered mental disorders [12]. Such findings also promote researchers to explore the psychological resources that influence the processes of responding to stressors. Self-compassion has been recently shown inverse relationship with depressive symptoms [13]. From the Buddhist philosophy, self-compassion including three key components referring to self-kindness, common humanity, and mindfulness, is characterized by the gentleness with oneself when facing hardships [14]. Self-compassion helps people treat negative thoughts and emotions as a common humanity and in nonjudgmental awareness, not ruminate on them [15]. Thus, self-compassionate people are likely to reduce distress [16].

Certain studies have examined the possible mediators between self-compassion and depressive symptoms. For example, the self-compassion–depressive symptoms relationship was mediated by emotion regulation strategies, including rumination, avoidance, and acceptance among adults with recurrent depression (aged 21 – 66 years) [17], the ability to tolerate negative emotions among clinically depressed individuals [18], rumination among first-year psychology undergraduates [19] and breast cancer survivors [20] and perceived stress among medical workers [21].

These previous studies explored the mediators from emotion regulation in different groups and also mentioned perceived stress among medical workers. These findings laid the foundation that self-compassion is not related to depressive symptoms alone and only directly. In addition to emotion regulation skills, other variables, such as positive coping skills, and attitudes, such as resilience and optimism, should be considered.

Resilience, optimism and perceived stress as potential mediators

Resilience refers to the ability of individuals to recover from a negative experience and difficult situation. Resilience showed an inverse association with depression among middle and high schools adolescents [11] and older adults [22]. Extrapolating these findings to nursing and medical schools may not be the same as the college period involves different psychological changes, especially amid the COVID-19 pandemic when social expectations have changed healthcare services. Researchers have focused on the association between resilience and depressive symptoms. Thus, neglecting resilience may decrease depressive symptoms by the mediation of perceived stress. Moreover, self-compassion is related to resilience for adults with epilepsy [23]. Thus, resilience may mediate Self-compassion–depression relationship and may be linked to depressive symptoms by reducing perceived stress.

Optimism involves future positive expectations, a positive attitude that outcomes will be in the right direction and will be desirable [24]. Self-compassionate people who often accept negative emotions non-judgmentally [15] may foster an ability to adopt a new perspective of and attitude toward negative and positive situations. Previous studies showed that self-compassion is associated with optimism among adults [25], undergraduate students [26], and elderly people [27]. Optimism has been linked to coping skills, which enable individuals to build personal resources to help reduce the negative impact of stressors [28]. Although optimism is associated with particular facets of well-being, the pattern of the association is complex [29]. Thus, optimism may also potentially mediate the association between self-compassion and depressive symptoms and may be linked to low depression by reducing perceived stress.

Self-compassionate people view negative emotions and experiences as part of being human [17] and think in a way that can reduce the negative impacts of adverse events [30]. Moreover, self–compassionate adolescents are also likely to reduce perceived stress [31]. Thus, self-compassion is also potentially associated with low depressive symptoms by reducing perceived stress among nursing and medical students.

In summary, the review of the literature revealed certain important gaps. Although self-compassion is gaining research attention, research about the variables that may explain (i.e. mediate) the relationships between self-compassion and depression is comparatively limited. Other variables may account for the benefits of self-compassion on decreased depression. Studies have found links to support the possible connections between self-compassion, resilience, optimism, perceived stress and depressive symptoms. However, these mediation pathways have not been explicitly tested. Moreover, how these variables function simultaneously is unknown. Hence, identifying these mediation paths between self-compassion and depressive symptoms will address the literature gaps and potentially expand the understanding of how self-compassion may translate into decreased depressive symptoms.

Both nursing and medical students experience high rates of depressive symptoms [1, 2]. Their emotional state and associated factors after the COVID-19 pandemic must be examined. Thus, both the two groups from medical schools are selected as the target sample in the study.

Methods

Aims

The study aimed to test the following hypotheses: H (Hypothesis).

  • H1: Resilience, optimism and perceived stress mediate the association between self-compassion and depressive symptoms among nursing and medical students.

  • H2: Resilience and optimism are directly and indirectly associated with depressive symptoms though decreased perceived stress among medical and nursing students. Figure 1 below presents the conceptual framework. Demographics were controlled for potential confounders.

Fig. 1
figure 1

Hypothesized path model of study variables drawn in the present study Note: + and – denote positive and negative relationships, respectively

Design

The study used a web-based survey with a cross-sectional design, which was the most appropriate approach to collect data from populations in different locations.

Participants

Convenience sampling was conducted on data from May 2020 to July 2020 to recruit medical and nursing students from two universities in Jiangsu Province and Shanxi Province in East and North China, respectively. The nursing students were in a four-year undergraduate program, whereas the medical students were in a five-year undergraduate program. According to the N:q rule [32], the recommended ratio of sample size (N) to parameters that require statistical estimates (q) was 20:1. In this study, the number of potential path parameters was 24, which required a minimum sample size of 480 for each group. Considering the response rate, the target sample size totaled 1800 nursing and medical students. Thus, questionnaires were distributed to approximately 1800 nursing and medical students in two groups.

Ethical considerations

The study was approved by the ethics review committee of Nantong university in East China (2019–17). The student participates were informed about the study, and the participation was voluntary. Consent was given verbally and included in the questionnaires submitted at their free time. Confidentiality, anonymity, and freedom to withdraw were ensured. Approval of the original authors of the instruments used in the study was obtained by e-mail when necessary. The participants were coded to avoid identifiable information before the data analysis.

Measures

The measures included age, gender, grade and with gender  and grade as confounders, and instruments listed as follows.

Patient Health Questionnaire depression scale

Depressive symptoms were measured by the Patient Health Questionnaire (PHQ-9), which has nine items. The scale was measured over the last 2 weeks how often individuals were bothered by symptoms with responses scored from 0 (not at all) to 3 (nearly every day). The higher the score, the more severe are the depression symptoms. Minimal, mild, moderate, moderately severe, and severe depression 1–4, 5–9, 10–14, 15–19, and 20–27, respectively [33]. The PHQ-9 has been validated in different groups and demonstrated high internal reliability with a Cronbach’s α > 0.8 [33, 34] and was 0.95 in this study.

10-item Connor-Davidson Resilience Scale

Resilience was measured by 10-item Connor-Davidson Resilience Scale adapted [35] from the 25-item version [36]. The 10-item resilience scale is scored on a 5-point Likert scale from 0 (never) to 4 (almost always). The Cronbach’s α was 0.85 [35] and 0.95 in this study. The higher the score, the higher is the resilience level.

The Life Orientation Test

The Life Orientation Test (LOT) measures the individuals’ optimism levels. The LOT-R is a short version of the LOT [37] modified from the original one [24]. It is a 5-point Likert scale with options ranging from 0 (I disagree a lot) to 4 (I agree a lot). The LOT-R has 10 items with items 2, 5, 6, and 8 are filters, and the other six items are evaluated in the test. Internal consistency was acceptable with a Cronbach’s α 0.69 at baseline and 0.72 at follow up [38] and 0.67 in Chinese students [10]. A high score indicates a high optimism level.

Self-Compassion Scale

The self-compassion scale [14] measures how individuals treated themselves when in misery. The short version of the 12-item self-compassion scale is a 5-point Likert scale with responses from 1 (almost never) to 5 (almost always) [39]. It has six dimensions, including self-kindness, common humanity, mindfulness, self-judgment, isolation, and over-identified. Self-judgment, isolation, and over-identified were reverse-scored. The scale has a Cronbach's α ≥ 0.82 [39, 40] and negatively-worded and positively worded items has a Cronbach’ α of 0.71–0.91 in this study. A higher score indicates a high self-compassion level.

Perceived Stress Scale

The perceived Stress Scale consists of 10 items for measuring the degree of stressful situations perceived during the past month [41]. The response options of the scale range from 0 (never) to 4 (very often). Total scores are computed by summing reversing responses to the four positively stated items and other items. The Cronbach’s α of the Chinese version was 0.86 [42]. A high score indicates severer perceived stress.

Data collection

University counselors and the researchers distributed the online self-reported questionnaire to the students after a short instruction via a survey link using the online survey tool Wenjuan Xing (Changsha Ranxing Information Technology Co., Ltd., China). Students read the study aims and instructions before deciding to answer the questionnaires. If they agreed to participate, they clicked to complete the questionnaires and submitted in their free time, clicked quitting otherwise. Each IP address was set for submitting once to avoid repeated submissions. A total of 1341 students from a university in Jiangsu Province and a college in Shanxi Province participated and filled out the questionnaires. A total of 566 questionnaires were filled out by medical students and 561 questionnaires filled out by nursing students, after excluding the quick clicks according to the completion time.

Data analysis

The data analysis was conducted using IBM SPSS 25.0 and IBM SPSS Modeler 18.0. Data should be cleaned before analysis [43]. In IBM SPSS Modeler 18.0, outliers were adjusted to their closest normal value and extremes were discarded. Outliers referred to outside the fence of Q1 – (1.5 × Interquartile range [IQR]) and Q3 + (1.5 × IQR) and extremes outside the fence of Q1 – 3 × IQR and Q3 + 3 × IQR. Eleven students filled period in the age variable and the missing values were imputed by the mode of the ages in the same college year. The school systems among nursing (four-year system) and medical students (five-year system) have certain differences. Thus, the data were separated for analysis. The differences in characteristics of depressive symptoms were compared using the independent t-test and one-way ANOVA test. Then, the Pearson correlation analysis was conducted. The significant demographics were controlled for confounders.

Furthermore, path analysis was conducted in AMOS23.0 to test the mediating effects of optimism, resilience, and perceived stress on the relationship between self-compassion and depressive symptoms. Model fit indices Bentler’s comparative fit index (CFI), Bentler–Bonett normed fit index (NFI), Tucker–Lewis index (TLI) with indices ≥ 0.95 indicate good fitting models, whereas indices ≥ 0.90 suggest acceptable fit. Standardized root mean square residual (SRMR) and root mean square error of approximation (RMSEA) indices ≤ 0.08 indicate acceptable model fit, whereas values ≤ 0.05 indicate good model fit [44]. The 95% CI did not include 0, indicating a significant difference.

Sensitivity analyses were conducted by not dealing with and dealing with these outliers, extremes and missing values separately. Although a slight difference exists, the mediating effects of optimism, resilience, and perceived stress on the relationship between self-compassion and depressive symptoms are significant and not sensitive to the outliers and extremes.

Results

Participant characteristics

Among the 1127 questionnaires, 1125 were considered valid and finally included in this study after excluding two extremes of variables (one extreme in self-compassion and one in optimism). The data set for analysis comprised 565 medical students and 560 nursing students, of which 30.4% and 9.8% were males respectively. The average age in the nursing students was 20.75 (SD:1.37; range:17–24 years) and was 20.83 (SD:1.80; range:17–29 years) in medical students. The mean score of depressive symptoms among the nursing students was 6.93 (SD: 5.46) and was 6.31 (SD: 5.58) among medical students. Among the total students, 18.8% had scored PHQ ≥ 10, with 19.6% among nursing students and 18.1% among medical students. Table 1 below presents the means and SD scores of the study variables.

Table 1 Participants' demographic information and comparisons of study variables of nursing and medical students

The Table 1 summarizes the demographics and their association with depressive symptoms, self-compassion, resilience, optimism, and perceived stress. Gender is associated with resilience among medical students. The one-way ANOVA test shows that college year is associated with depressive symptoms among nursing and medical students.

Pearson’s correlation analysis

Table 2 illustrates that self-compassion among the nursing students is positively associated with resilience (r = 0.400, P < 0.01) and optimism (r = 0.449, P < 0.01) and negatively associated with perceived stress (r =  − 0.445, P < 0.01) and depressive symptoms (r =  − 0.365, P < 0.01). In contrast, self-compassion among medical students, is positively associated with resilience (r = 0.438, P < 0.01) and optimism (r = 0.623, P < 0.01) and negatively associated with perceived stress (r =  − 0.571, P < 0.01) and depressive symptoms (r =  − 0.369, P < 0.01).

Table 2 Correlations between self-compassion, resilience, optimism, perceived stress and depressive symptoms

Path analysis

The path analysis was conducted to examine the mediating effects of resilience, optimism and perceived stress, controlling for grade and/or gender based on the analysis in Table 1. The model indicates acceptable fit to the data for nursing students (x2 = 20.495, df = 5, NFI = 0.970, TLI = 0.931, CFI = 0.977, RMSEA = 0.074, SRMR = 0.037) and medical students (x2 = 29.897, df = 10, NFI = 0.967, TLI = 0.952, CFI = 0.977, RMSEA = 0.059, SRMR = 0.042) (Fig. 2a, b).

Fig. 2
figure 2

The path model between self-compassion and depressive symptoms among nursing students after controlling grade. b The path model between self-compassion and depressive symptoms among medical students, controlling grade and gender

Regarding nursing students, Table 3 shows that self-compassion has direct effects (β =  − 0.075; 95% CI: − 0.149, − 0.003) and indirect effects (β =  − 0.292; 95% CI: − 0.353, − 0.229) on depressive symptoms by improving resilience and optimism and decreasing perceived stress among nursing students. Self-compassion also had indirect effects on perceived stress (β =  − 0.187; 95% CI: − 0.242, − 0.134) by improving resilience and optimism. Resilience (β =  − 0.154; 95% CI: − 0.247, − 0.042) and optimism (β =  − 0.075; 95% CI: − 0.136, − 0.011) had direct effects on depressive symptoms. Resilience (β =  − 0.108; 95% CI: − 0.151, − 0.075) and optimism (β = -0.086; 95% CI: − 0.142, − 0.042) also had indirect effects on depressive symptoms through decreasing perceived stress. Table 3.

Table 3 Standardized total effects, direct and indirect effects of self-compassion, optimism, resilience and perceived stress

Regarding medical students, Table 3, further shows that self-compassion had direct effects (β =  − 0.103; 95% CI: − 0.203, − 0.010) and indirect effects (β =  − 0.275; 95% CI: − 0.357; − 0.189) on depressive symptoms by improving resilience and optimism and decreasing perceived stress among nursing students. Self-compassion also had indirect effects on perceived stress (β =  − 0.211; 95% CI: − 0.288, − 0.139) by improving resilience and optimism. Resilience (β =  − 0.100; 95% CI: − 0.202, 0.014) and optimism (β =  − 0.043; 95% CI: − 0.125, 0.042) had no direct effects on depressive symptoms. Resilience (β =  − 0.042; 95% CI: − 0.077, − 0.017) and optimism (β =  − 0.090; 95% CI: − 0.139, − 0.052) had indirect effects on depressive symptoms by decreasing perceived stress.

Discussion

The present study tested a model and indicated that resilience, optimism and perceived stress mediated the association between self-compassion and depressive symptoms among nursing and medical students, thus supporting H1. Resilience and optimism were directly and indirectly associated with depressive symptoms among nursing students and indirectly associated with depressive symptoms among medical students.

Resilience mediated the relationships of self-compassion with perceived stress and with depressive symptoms among nursing and medical students in this study. This result can be explained that self-compassion contributes to environmental mastery and positive social relations with others [26]. As a result, the resilience ability to overcome the negative effects of adverse situations can be enhanced. Resilient individuals utilize personal resources, deal with the stressful encounters, and adapt to adverse situations with confidence [45]. The present study indicates that resilience is not only linked to decreased perceived stress and depressive symptoms but also has a mediating effect on the relationship of self-compassion with perceived stress and with depressive symptoms in both groups. The study highlights the importance of resilience throughout the curriculum in both groups. Individual resilience may be developed through self-compassion techniques as self-compassion and resilience are significantly associated.

Optimism mediated the relationships of self-compassion with perceived stress and with depressive symptoms among the nursing and medical students in this study. Self-compassion can foster adaptive coping strategies [26] and encourage individuals to believe positively in their ability to create an expected future. The results are consistent with research examining the positive role of self-compassion in enhancing optimism among adults [25] and undergraduate students [26]. The present study provides additional evidence that optimism enables youths to face negative life events and promotes their psychological well-being [29]. The present study also extends that self-compassion can reduce depressive symptoms by enhancing optimism among nursing and medical students.

Perceived stress also mediated the relationship between self-compassion and depressive symptoms and the relationships of resilience and optimism with depressive symptoms among nursing and medical students, thus partially supporting H2. Compared with direct relationship between self-compassion and depressive symptoms, self-compassion and perceived stress have a much stronger direct relationship in this study. This result highlights the role of self-compassion in defending perceived stress [21, 31, 39]. The result in this study indicates that self-compassionate people perceive difficulties as a common humanity and tend to treat themselves kindly [30]. Thus, they are less likely to regard negative effects as heavy stress. Resilience mainly involves coping ability [46] whereas optimism involves a positive attitude [24]. Hence, they simultaneously prevent stressors and could decrease depressive symptoms by reducing perceived stress in both groups.

The model supports H1 but only partially supported H2. Resilience and optimism were directly and indirectly associated with depressive symptoms but only indirectly among medical students. This result can be explained that in the entire path model, the relationships of self-compassion with resilience, optimism, and perceived stress are stronger among medical students than that among nursing students. This condition may conceal the direct effect of resilience and optimism on depressive symptoms. This different finding may also be due to that resilient nursing students with positive attitude may be particularly equipped to manage the psychological and academic demands of nursing school [1].

Another consideration was the influence of the COVID-19 pandemic on mental health [47]. For example, the potentially high risk of exposure to infection and fear of infection were associated with high depression rates among nursing students [48]. Thus, the COVID-19’s pandemic may potentially influence the depression model, and the role of self-compassion, resilience and optimism in depressive symptoms may be enhanced in the situation. The model fit indices are acceptable. Further longitudinal studies are needed to confirm the results and explore other potential factors to improve the model fit.

Implications from the study

Self-compassion is associated with increased resilience and optimism and decreased perceived stress, through which nursing and medical students are protected from depressive disorders. Enhancing mindfulness and kindness toward oneself and others can cultivate and improve self-compassion [49]. Thus, arranging appropriate community activities in certain courses for students to offer help to people in need, as volunteers, may help develop their loving kindness for others and for themselves.

In addition, to reduce depressive symptoms and perceived stress among nursing and medical students, self-compassion, resilience, and optimism should be enhanced simultaneously.

Limitations

The study has several limitations. First, the cross-sectional design was the premise of causative relationships but was not sufficient for establishing a causal effect. Thus, future intervention studies are required. Second, as one of the most feasible data collection methods, self-reported measures may have response bias [50]. Nevertheless, the validated scales improve the quality of the study. Another limitation for the possibility of generalization was the cultural influence comparing with Western countries. Emotion was also influenced by culture and social situations, for culture constrains the different ways how emotions are felt and expressed in different cultural contexts [51]. Lastly, the RMSEA of both samples was more than 0.05, indicating an acceptable model fit. Thus, future studies must include other related variables to improve this model fit.

Conclusions

Despite the limitations, the results about the role of self-compassion, resilience, and optimism shed new light on the mental health of nursing and medical students. The study findings suggested that educators and healthcare staff could incorporate training programs into the curriculum to improve the self-compassion, resilience, and optimism of students in campus and clinical environments. Teaching students with knowledge and skills and supporting their healthy growth should include self-compassion-enhancing strategies, resilience-building education, and optimism modeling in the curriculum. Optimism has largely been viewed as a personal trait [52]. However, it can change over time in changed situations [53]. The study extended that optimism can be enhanced by self-compassion in nursing and medical students.