Introduction

Research on social support originated in the 1960s and 1970s in psychiatry, and researchers have generally agreed that social support is an essential factor in influencing individuals' intrapersonal psychology. Researchers have explored the mental health and academic functioning of adolescents and found that adolescents with high levels of perceived social support show higher mental health and academic performance (Chan et al., 2022; Galindo-Domínguez & Iglesias, 2023; Huang et al., 2021). At the same time, perceived social support also plays a significant mediating role in the influence of neurotic personality traits on loneliness (Jakimovski et al., 2022). In other words, perceived social support can reduce the loneliness of neuro-sensitive people to some extent and help establish their good psychological state. This function of perceived social support is even more prominent during public health events, as researchers have surveyed college students during the COVID-19 pandemic and found that their level of perceived social support is significantly and positively associated with life satisfaction and positive mood (Huang & Zhang, 2022). That is, social support is effective in reducing the level of negative emotions when humans face external threats, and stress is counted as an external threat for graduate students. Thus, this study introduces the variable of stress perception, and social support is a buffer for stress (Thoits, 2011). Some studies have shown that the more social support individuals receive, the less stress individuals perceive (Leonard et al., 2020), and stress perception can mediate the effect of social support on other variables (Cohen et al., 1983; Panteli et al., 2021).

Self-efficacy was first introduced by American psychologist Bandura, who defined it as "the degree of confidence people have in their ability to use the skills they have to perform a task." Bandura (1977) believed self-efficacy is closely tied to specific domains, so no general self-efficacy exists (pp.191–215). However, some scholars still believe in the existence of general self-efficacy. General self-efficacy is the belief in competence to cope with a broad range of stressful or challenging demands (Luszczynska et al., 2005). Schwarzer et al. (1997) defined general self-efficacy as the overall self-efficacy of individuals to face challenges in different domains and face new events. This study introduces the variable of general self-efficacy instead of specific academic self-efficacy because firstly, we consider self-efficacy as a positive psychological resource to face all events in life, and postgraduate students do not only face events in the academic environment but also many other events, so domain-specific self-efficacy cannot meet the requirements of this study; secondly, the other variables in this study, such as social support, stress perception and psychological resilience are not domain-specific variables but general, so it is more appropriate to select general self-efficacy as the research variable in this study. Psychological resilience is an important variable that can maintain a sense of self-efficacy (Rutter, 1987). It can help individuals emerge from negative emotions soon (Tugade & Fredrickson, 2004). Therefore, psychological resilience was added as a moderating variable in this study.

Numerous empirical studies have shown that self-efficacy contributes to physical and mental health (Bandura et al., 2003; Zee & Koomen, 2016). Postgraduate students, as research talents, are under great physical and mental stress, and self-efficacy is crucial for postgraduate students to accomplish difficult tasks and to achieve their academic goals (Ferla et al., 2010); on the other hand, self-efficacy is an important psychological resource in the process of academic completion (Imus et al., 2017; Munoz, 2021). According to social cognitive theory (Bandura, 2012), an individual's self-efficacy is influenced by the expectations, guidance, and social support given by significant others, and good interpersonal relationships will promote the development of self-efficacy (Feng et al., 2022; Hong et al., 2023; Lent, 2016; Lent & Lopez, 2002). For postgraduate students, recognition of their work efforts by their supervisors promotes the development of their general self-efficacy even more (Pajares, 2008). Therefore, it is vital to explore the mechanism of the role of social support on the self-efficacy of postgraduate students to promote their physical and mental health.

Relationship between social support and general self-efficacy

In an objective sense, social support can help individuals improve their ability to perform a certain work behavior at a tangible level, thereby increasing their confidence that they can perform the work behavior and improving their sense of self-efficacy. In a subjective sense, the support perceived and experienced by individuals can also increase self-confidence because they are cared for, respected, and recognized through social support. An earlier study investigated self-efficacy and social support among women who terminated their pregnancies, and it showed that the social support women received from their family, friends, and partners increased their self-efficacy in coping with the events (Major et al., 1990). In a study of abused African American women, self-efficacy was explained by the partial mediating role of social support from friends and family and the effectiveness of access to resources (Thompson et al., 2002); thus, their perception of social support is an important factor in effectively increasing their self-efficacy. A review of other literature revealed that most of the researchers' findings reflect that social support and self-efficacy are significantly and positively correlated, whether the study was conducted on adolescents (Cicognani, 2011), middle-aged (Haslam et al., 2006), or seniors (Li, 2021). Social support and self-efficacy are inextricably linked. Some studies have examined perceived social support and self-efficacy as mediating variables (Amir et al., 1999; Karademas, 2006) or as independent variables to explore their effects on other variables (Adejumo, 2010; Huang & Xu, 2004; Jaguaco et al., 2022). Other studies have examined the effect of perceived social support on general self-efficacy. Thus, the current study investigates the relationship between perceived social support and general self-efficacy and whether other influences exist.

Mediating role of stress perception

There exist three hypotheses for the mechanism of social support on physical and mental health, including the main effect model (Cohen & Wills, 1985), the buffering model (Kawachi & Berkman, 2001), and the dynamic model (Cornwell, 2003). The buffering model suggests that social support can act as a buffer against the negative effects of stress on individuals' physical and mental health. According to the buffering model, social support serves as a buffer by mitigating the adverse effects of stressful events and acts as a buffer through individuals' cognitive system (Kawachi & Berkman, 2001). Conversely, the dynamic model denies the main effect model and the buffer effect model, and it argues that social support and stress should be treated as independent variables simultaneously and that there exists a complex interaction between the two that affects and interacts with each other (Cornwell, 2003). Many studies have shown that social support can buffer human perceived stress and thus reduce the adverse effects of stress on physical and mental health (Cassel, 1976; Cohen & Wills, 1985; Thoits, 1995, 2011; Uchino, 2006). According to the Yerkes–Dodson law, the relationship between individuals' stress perception and their performance on a task can be expressed as an "inverted U-shaped" curve, in which an increase in stress perception motivates individuals and improves their performance on the task; however, when stress perception exceeds a certain level, individuals' performance no longer increases but decreases. Some researchers have investigated the relationship between adolescent self-efficacy and interpersonal stress and found that general self-efficacy is significantly and negatively related to stress (Matsushima & Shiomi, 2003).

Furthermore, researchers exploring self-efficacy and stress in the academic context have also proposed that academic stress can inversely predict academic self-efficacy (Ye et al., 2018). Many studies have made a similar argument that stress perception is significantly and negatively related to self-efficacy (Burger & Samuel, 2017; Sharma & Kumra, 2022; Zhao et al., 2015). Therefore, the present study used stress perception as a mediating variable between social support and self-efficacy. And it hypothesized that social support could alleviate stress perception and thus increase self-efficacy through its buffering effect.

Moderating effect of psychological resilience

To reveal the mechanism of the effect of social support on general self-efficacy, this study further introduced moderating variables (psychological resilience) to construct a model of the conditioning process based on the mediating effect model of stress perception.

Psychological resilience is a dynamic process by which individuals quickly recover their state, adapt well to adversity, and successfully cope with stress when they encounter difficult events (Luthar et al., 2000). The system theory model of psychological resilience (Mandleco & Peery, 2000) proposed that psychological resilience arises from a combination of internal and external factors of the individual, with family support and social support being the main external resources. In the study of protective factors against stress in children, researchers suggested that family support significantly predicted individuals' subjective well-being and enhanced their psychological resilience (Masten & Garmezy, 1985), and psychological resilience can achieve a protective process of mental health by enhancing self-efficacy (Rutter, 1987).

In addition, with the continuous development of psychological resilience theory, many psychologists have proposed different models of psychological resilience. For example, the integrative model of coping proposes that psychological resilience results from coping processes (e.g., assimilation and adaptation) and is an important part of coping and adaptation to stress events (Leipold & Greve, 2009). The hypothesized model of resilience suggests that social support and psychological resilience play a crucial role in how individuals cope with stress events (Mancini & Bonanno, 2009). Based on these theories, psychological resilience has many positive effects, including helping individuals adapt to or overcome adversity and promoting individual development (Heron, 2012). Although researchers have not yet reached a consensus on the mechanism of resilience, in practical research, the resilience mechanism is defined as the result of protective factors that can reduce the adverse effects of difficult events on individuals. Research on social support and psychological resilience showed that social support can effectively improve the psychological resilience of left-behind children, and psychological resilience plays a moderating role in the influence of social support on the loneliness of left-behind children (Ai & Hu, 2016). In exploring the mental health of migrant seniors in China, Kong et al. (2021) found that the psychological resilience of the seniors partially mediated the effect of social support on their mental health. Other studies' results are similar to this (Jose & Novaco, 2016; Kleine & Muschalla, 2021; Swanson et al., 2018; Yan et al., 2022).

Through the literature review, it can be seen that individuals with high psychological resilience are more able to adapt and regulate their emotions and states when encountering stressful events(Jose & Novaco, 2016; Mancini & Bonanno, 2009), therefore, individuals with high psychological resilience have relatively high self-efficacy and are able to regulate and adapt on their own and the support of other people becomes less important in this case. In contrast, individuals with low psychological resilience are unable to self-regulate and adapt to stressful situations and need the encouragement and support of others to grow their internal resources, which means that for individuals with low psychological resilience, social support may be more important for their general self-efficacy.

Although different researchers or schools of research have different understandings of psychological resilience, the psychological resilience scale used by our research team is based on the trait theory. The trait theory suggests that psychological resilience reflects a personal quality that a person develops well in the adversity. This trait is multidimensional and varies with environment, time, age, gender, and cultural background, as well as with the different life circumstances in which the individual (Connor & Davidson, 2003). Psychological resilience is generally considered to be a combination of four other forms (mental, emotional, social, and physical resilience), which would seem to imply that it is not different from the other constructs, but the present study places more emphasis on the dynamic and multidimensional nature of psychological resilience and is not a simple combination of several forms.

Furthermore, researchers have focused on stress perception and found that the level of psychological resilience can affect individuals' stress perception (Cuhadar et al., 2023; Garrido-Hernansaiz & Alonso-Tapia, 2017; Hou et al., 2017). Other researchers have found that psychological resilience can also act as a stress buffer to prevent the occurrence of cardiovascular and cerebrovascular diseases (Lehrer et al., 2020). And they can reduce the pain caused by stress for medical students, which comes from psychological and physical aspects (Bacchi & Licinio, 2017).

Research objectives

According to previous studies, the relationship between social support and self-efficacy, as well as the role of psychological resilience and stress perception, has yet to be clarified. Also, the pathways and models of their influence have yet to be clarified, especially for postgraduate students. We hope this study will propose a theoretical model that fills a gap in this research area. In addition, we hope this study can help universities better understand the influencing factors and mechanisms of postgraduate students' self-efficacy, so that they can better guide mental health interventions. The purpose of this study is to investigate the relationship between social support and self-efficacy of postgraduate students and to verify the mechanisms of psychological resilience and stress perception.

The innovation of this study lies in constructing a new theoretical model of graduate students' social support and self-efficacy, and the innovative selection of the postgraduate student group as the research object, which fills the gap in this research field.

Hypotheses

In summary, this study aims to explore the effect of social support on general self-efficacy and its mechanism. It is expected to construct a moderated mediation model (Fig. 1), focusing on the mediating role of stress perception in the relationship between the two and the moderating role of psychological resilience in the relationship between social support, general self-efficacy, and stress perception. Some researchers have also proposed the enabling hypothesis of social support for self-efficacy (Benight & Bandura, 2004), which suggests that social support reduces stress-related arousal and thus provides a source of increased self-efficacy. According to the transactional stress theory (Lazarus & Folkman, 1984), social support is a resource factor that influences an individual's stress assessment. In terms of its functional value, social support can have an impact on stress-producing outcomes or interact with stress perception. It has been hypothesized that social support may reveal its beneficial effects on health and emotion only during periods of individual distress, as it moderates the adverse effects of stressful events, the moderating effect known as the stress buffer effect (Kawachi & Berkman, 2001).

Fig. 1
figure 1

Moderated Mediation Model Diagram

Based on a review of the literature and theoretical above, this study proposes the following hypotheses:

  • Hypothesis 1: Graduate student social support significantly and positively predicts general self-efficacy.

  • Hypothesis 2: Stress perception plays a significant mediating role in the influence of social support on self-efficacy.

  • Hypothesis 3: Psychological resilience significantly moderates the direct effect of social support on general self-efficacy.

  • Hypothesis 4: Psychological resilience significantly moderates the mediating role of stress perception between social support and general self-efficacy.

Methods

Participants

A convenience sampling method and web-based questionnaires were used to administer the test to the postgraduate group. 485 questionnaires were collected, age 23.48 ± 4.58. 387 (79.8%) were males, and 98 (20.2%) were females; 1 (0.2%) in Arts, 16 (3.3%) in Science and 468 (96.5%) in Engineering.

Measures

Perceived social support scale (PSSS)

This study used the PSSS introduced by Blumenthal et al. (1987) and compiled by Zimet et al. (1990). PSSS is a social support scale that emphasizes self-understanding and self-perception. It measures the degree of support perceived by individuals from family, friends, and others and reflects the total degree of social support perceived by individuals. The scale consisted of 12 self-evaluation items, each using the Likert 7-level scoring method. The scale's reliability in this study was good (Cronbach's α = 0.98). In exploratory studies, a reliability of 0.70 is acceptable, a reliability between 0.70 and 0.98 is considered high, and a reliability below 0.35 is considered low and must be rejected (Cronbach, 2004).

Perceived stress scale (PSS)

This study used the PSS compiled by Cohen et al. (1983). The scale is used to test the participants' perceived stress level during a month and is divided into two dimensions: tension and loss of control. The scale is scored on a 5-point Likert scale, i.e., never, occasionally, sometimes, often, and always. The total score of the scale was 40, and the higher the score of the participants, the higher the perceived stress in the recent period. The reliability of the scale was good in this study (Cronbach's α = 0.74).

General self-efficacy scale (GSES)

The GSES was first developed in German in 1981 by Professor Ralf Schwarzer, a leading clinical and health psychologist at the Free University of Berlin, Germany, and his colleagues, and began with 20 items, which were later refined to 10 items (Schwarzer & Born, 1997). The GSES is scored on the Likert 4-point scale. The scale's reliability in this study was good (Cronbach's α = 0.96).

10-item connor–davidson resilience scale (CD-RSC-10)

The CD-RSC-10 was used to test the psychological resilience level of the respondents, which was translated and revised by Wang et al. (2010), with a total of 10 items. The scale uses the Likert 5-level scoring system. The higher the score, the higher the level of psychological resilience of the participants. The scale's reliability in this study was good (Cronbach's α = 0.97).

Procedure

Measures were completed in a research university in central China at the beginning of the academic year 2022, in August–September 2022. Participants were informed that the study involved an analysis of social support and self-efficacy in life, as well as perceptions and experiences in the face of stress. Participants were assured that their responses would remain anonymous and would not be seen by others except researchers, and they were informed that there were no right or wrong answers to their questionnaire. After receiving these explanations, participants were invited to participate in the research. Participants received no incentives or rewards for their participation. The same measures were administered to all participants via web-based questionnaires. It took a mean time of 15 min to complete them. Each participant's response was anonymous, disinterested, and confidential. All the subjects signed informed consent forms prior to participating in the study. There were no exclusion criteria except for refusal to participate.

Data analysis

All analyses were conducted using SPSS version 26 software (Nie et al., 1975). We first analyzed the correlations of each variable, namely, perceived social support, stress perception, general self-efficacy, and psychological resilience. Second, the direct effect and the mediating effect were conducted by Process v4.0 plug-in (Hayes, 2022) in SPSS 26.0. Finally, psychological resilience was incorporated into the model to construct the mediated model with moderation and to test the effect values between the variables. The simple slope procedure was performed to interpret the moderating effect of resilience.

Results

Common method biases test

All the questionnaires in this study were completed anonymously, so the Harman single-factor test was used to test the common method bias (Podsakoff et al., 2003). The results showed that there were six factors with eigenvalues greater than 1, and the cumulative variation explained by the first factor accounted for only 24.95%, less than 40%, so there was no serious common method bias.

Correlation analysis of each variable

To investigate the relationship between the four main variables of social support, stress perception, general self-efficacy, and psychological resilience, descriptive statistics and correlation analysis were first conducted on these variables. The results showed that stress perception, social support, and psychological resilience correlated significantly. There was a significant negative correlation between social support and perceived stress, a significant positive correlation between social support and psychological resilience, and a significant negative correlation between psychological resilience and perceived stress. General self-efficacy was only significantly positively correlated with stress perception. The specific correlation coefficient, mean, and standard deviation of each variable are shown in Table 1. According to Hayes, the fact that the correlation results between the independent and dependent variables are not significant with the regression results does not indicate that there is no mediating effect between the two; however, instead, it may be that the mediating effect between the two makes the total effect insignificant, that is, the Suppression Effects (Hayes, 2009). This shows that, on the one hand, general self-efficacy increases with the increase of stress perception; on the other hand, the influence mechanism of social support on general self-efficacy is very complex.

Table 1 Descriptive Statistics and Correlation Analysis Results of Each Variable

The mediating role of stress perception

To test the mediating effects, the data were processed using Model 4 in the Process plug-in, and the results are presented in Table 2. Before putting the mediating variable stress perception (Models 2 and 3), the regression coefficient of social support on general self-efficacy is not significant (B = 0.03, t = 0.58, p> 0.05), based on the results of the analysis, the null hypothesis that "social support has no significant effect on general self-efficacy" was accepted, which rejected Hypothesis 1. After adding the mediating variable stress perception (Model 4), the positive predictive effects of social support (B = 0.18) and stress perception (B = 0.42) on general self-efficacy reached a significant level (p< 0.001). The bias-corrected percentile Bootstrap test shows that the mediating effect was − 0.04, and the 95% confidence interval was [− 0.06, − 0.03], while the direct effect was 0.07, and the 95% confidence interval was [0.04, 0.11] (Table 3). This shows that the mediating effect of stress perception is significant, and the null hypothesis that "there is no mediating effect of stress perception between social support and general self-efficacy" is rejected, and this well verifies Hypothesis 2. In addition, the mediating effect is opposite to the direct effect, and the absolute value of the mediating effect is larger than the total effect, which indicates that the mediating effect has a "Suppression Effects" on the total effect. And this also explains the insignificant correlation and regression coefficients of the independent and dependent variables in the previous section.

Table 2 Mediation Model Test of Stress Perception
Table 3 Mediated Effect Values of Stress Perception

Moderated mediation model test

First, this study validated the moderating role of psychological resilience between social support and self-efficacy, model 1 in PROCESS was used to process it, the results showed that psychological resilience negatively predicted the direct effect of social support on self-efficacy (B =  − 0.09, t =  − 5.10, p < 0.001). That is, the effect of social support on self-efficacy decreases when an individual's psychological resilience is high, which means that the self-efficacy of individuals with high psychological resilience is less likely to be affected by social support compared to those with low psychological resilience, the null hypothesis that "Psychological resilience cannot significantly moderate the direct effect of social support on general self-efficacy" is rejected, which verifies Hypothesis 3.

Next, to test the moderated mediation effects of stress perception and psychological resilience, model 8 in PROCESS was used to process it.

The results are also shown in Table 4. The predictive effect of social support on general self-efficacy was significant (B = 0.08, t = 3.37, p < 0. 001), and the predictive effect of the interaction between social support and psychological resilience on self-efficacy was significant (B = -0.05, t = -3.23, p =  < 0.01). The predictive effect of social support on stress perception was significant (B = -0.06, t = -2.98, p < 0.01), the interaction of social support and psychological resilience had a significant negative predictive effect on mediating variable (perceived stress) (B = -0.09, t = -5.85, p < 0.001), which indicates that resilience plays a significant moderating role in the first half of the mediating effect and the direct effect. In addition, the moderation mediation index was -0.03 with a 95% confidence interval of [-0.05, -0.02], and the confidence interval did not contain 0, which confirmed that the mediation effect was moderated by psychological resilience. This rejects the null hypothesis that "Psychological resilience cannot significantly moderate the mediating role of stress perception between social support and general self-efficacy" and partly verifies Hypothesis 4, that psychological resilience moderates the first half of the mediating effect of stress perception on social support affecting self-efficacy. The above results show that compared with individuals with low resilience, the social support of individuals with high resilience has a less negative effect on stress perception, and the positive effect of social support on general self-efficacy is also minor.

Table 4 Moderated Mediation Model Test

To understand the essence of the moderating effect of psychological resilience between social support, stress perception, and general self-efficacy, psychological resilience was divided into high and low psychological resilience groups according to the mean plus or minus one standard deviation. The values of the mediating and direct effects and 95% Bootstrap confidence intervals of the subjects in the two groups are shown in Table 5. When the moderator variable psychological resilience was taken at the average level (-0.0239), the Bootstrap 95% confidence interval was [-0.0419, -0.0072], excluding 0, indicating that, at the average level, the stress perception mediates the effect of social support on self-efficacy; when the moderator variable psychological resilience was taken at the low level (0.0026), the Bootstrap 95% confidence interval was [-0.0168, 0.0228], including 0, suggesting that stress perception does not mediate the effect of social support on self-efficacy at low average levels; when the moderator variable psychological resilience was taken at a high level (-0.0504), the Bootstrap 95% confidence interval was [-0.0741, -0.0266], excluding 0, indicating that stress perception mediates the effect of social support on self-efficacy at high average levels.

Table 5 Mediating Effect and Direct Effect under Different Psychological Resilience Levels

Taken together, stress perception does not necessarily mediate when psychological resilience is taken at low, average, or high levels, suggesting that moderating mediators exist because the mediation is not consistent. At the same time, to make the presentation of the moderating effects more intuitive, the simple slope analysis of the two moderating effects was conducted according to the point selection method (Fig. 2 and Fig. 3). The results showed that the negative effect of social support on stress perception was greater in the high psychological resilience group compared to the low psychological resilience group. The positive effect of social support on general self-efficacy was greater in the low psychological resilience group compared to the high psychological resilience group. In addition, the mediating effect of stress perception was significant only in the M and M + 1SD groups; the direct effect of social support on general self-efficacy was significant only in the M-1SD and M groups.

Fig. 2
figure 2

Moderating Role of Psychological Resilience in the Relationship between Social Support and Stress Perception

Fig. 3
figure 3

Moderating Role of Psychological Resilience in the Relationship between Social Support and General Self-Efficacy

However, the simple slope analysis using the point selection method cannot test the specific critical value of the regulatory effect more deeply. In order to solve this problem and more accurately clarify the critical value of the moderating effect of psychological resilience (that is, which value of psychological resilience makes social support have a significant impact on stress perception and general self-efficacy), the Johnson-Neyman method was used for simple slope analysis (Hayes & Matthes, 2009). The results showed that the negative predictive effect of social support on stress perception was no longer significant when the psychological resilience was in the range of [2.09, 3.23], and 42.3% of the subjects in this study were in this range, while the remaining 57.6% of the subjects were not in this range, i.e., the negative effect of social support on stress perception was only significant in 57.6% of the subjects. The positive effect of social support on general self-efficacy is no longer significant when the psychological resilience is greater than 4.01. 19.8% of the subjects in this study were in this range, and the remaining 80.2% were less than this threshold, i.e., the positive effect of social support on general self-efficacy was only significant in 80.2% of the subjects.

In summary, the mediating and moderating hypotheses proposed in this study were both empirically supported. Stress perception mediates between social support and general self-efficacy, and psychological resilience moderates the first half of the mediating effect and the direct effect, as shown in Fig. 4.

Fig. 4
figure 4

Mediated Model with Moderation

Discussion

The results of this study show that graduate students with high levels of perceived social support can feel more understanding and support from the outside world, such that they have a more positive understanding of themselves. The correlation analysis showed no significant correlation between perceived social support and general self-efficacy, which differs from other research results (Cicognani, 2011; Haslam et al., 2006; Holahan & Holahan, 1987). The result rejects the null hypothesis of Hypothesis 2 and verifies Hypothesis 2. This may be because they usually think they are valuable and in line with social expectations, so their general self-efficacy is higher. However, when the mediating variable (stress perception) was not in the model, navigating social support did not directly and significantly predict self-efficacy, which accepts the null hypothesis of Hypothesis 1. This result contradicts Hypothesis 1 and may be explained from the perspective of social cognitive theory. Social cognitive theory suggests that the source of self-efficacy is multidimensional, which comes from both external social support and is determined by an individual's physiological or emotional state. That is to say that whether external social support can have an impact on self-efficacy depends on individuals' psychological state. Therefore, social support does not significantly predict self-efficacy but can influence self-efficacy through the mediating effect of stress perception.

Mediating role of stress perception

To clarify how perceived social support affects students' general self-efficacy, this study constructs a mediating role model of stress perception. The results showed that postgraduate students' general self-efficacy was significantly positively correlated with stress perception, and perceived social support was significantly negatively correlated with perceived stress; these findings are consistent with previous research results (Li & Tao, 2003; Ozer et al., 2021; Zhang et al., 2022). After stress perception was included in the structural equation model, stress perception significantly mediated the influence of students' perceived social support on general self-efficacy, which verified Hypothesis 2. Hence, students' perceived social support indirectly affects general self-efficacy through perceived stress.

The buffer model of social support mechanism can explain the results above (Kawachi & Berkman, 2001). Social support can buffer the negative effect of stress among graduate students, thereby strengthening their self-efficacy. In a study of ICU nurses during the COVID-19 epidemic, people with solid self-efficacy had lower stress perception (Penacoba et al., 2021), which is also similar to the results of this study. Perceived social support refers to individuals' material or spiritual help from the community, social networks, relatives, and friends (Cullen, 1994). Students with poor social support cannot perceive strength from the outside world, and their connection with family, friends, and society is not close enough, which increases their stress (Huang & Zhang, 2022).

The results of the present study showed that stress perception positively predicts general self-efficacy, which seemed to be different from previous studies (Chang et al., 2016; Emmons, 2022; Garcia et al., 2021). This may be explained by the self-determination theory (SDT) (Deci & Ryan, 1980) that human motivation comes from both intrinsic and extrinsic motivation and that sometimes pressure from the outside can turn into intrinsic motivation for individuals (Ryan & Deci, 2017). A sense of pressure and urgency can better motivate students' self-motivation. Increased motivation can lead to heightened motivation and potential for participation, leading to increased general self-efficacy. Students with strong perceived social support are likelier to perceive help, understanding, and support from family, friends, and the outside world. In such a situation, students feel less pressure from the outside world, indirectly increasing their self-efficacy.

Meanwhile, Bandura's social cognitive theory (Bandura, 1977) proposed that good interpersonal relationships can promote the development of self-efficacy, which has been verified by other researchers (Berdida et al., 2023; Donnellan et al., 2023). However, in this study, this promotion is mediated by stress perception, which, as a subjective feeling, belongs to the individual's perception of self, and only individuals with solid self-perception can form internal cognitive processing through social support, thus improving their self-efficacy. A low sense of pressure is not conducive to stimulating students' potential, resulting in students not correctly perceiving their abilities and social significance and perceiving their self-worth as low.

Moderating effect of psychological resilience

This study reveals the essence of students' perceived social support affecting their general self-efficacy. Based on the mediating effect model of stress perception, this study added the moderating effect of psychological resilience. Previous studies have shown that resilience is an intermediary between perceived social support and stress perception (Yalcin-Siedentopf et al., 2021), and psychological resilience moderates between stress perception and life well-being (Kim, 2020). And the present study's results are similar to theirs.

The analysis of the moderating effect of psychological resilience showed that the moderating effect among students' perceived social support, stress perception, and general self-efficacy was significant, which verified Hypothesis 3 and Hypothesis 4. According to the hypothesized model of resilience (Mancini & Bonanno, 2009), social support and psychological resilience together play a key role in individuals' coping with stressful events, which can well support the hypothesis of this study that psychological resilience plays a moderating role in the process of social support influencing stress perception. Further Johnson–Neyman tests showed that the negative effect of perceived social support on stress perception was more significant as students' psychological resilience increased, and the negative effect of perceived social support on stress perception was not significant when students' psychological resilience was in the range of [2.09, 3.23]. By contrast, the positive predictive effect of perceived social support on general self-efficacy was no longer significant when students' psychological resilience was greater than 4.01. The inhibitory effect of different levels of social support on stress perception and the facilitative effect on general self-efficacy differed at various levels of psychological resilience.

For postgraduate students with lower levels of psychological resilience, the negative effect of social support on stress perception was minor, and the positive effect on general self-efficacy was larger; conversely, for students with higher levels of psychological resilience, the negative effect of perceived social support on stress perception was larger, and the positive effect on general self-efficacy was minor. The results of the study point to a significantly positive correlation between perceived social support and psychological resilience, with those who can perceive more social support tend to have higher levels of psychological adjustment (Yıldırım & Celik, 2020). At the same time, the system theory model of psychological resilience (Mandleco & Peery, 2000) suggests that psychological resilience arises from a combination of internal and external factors and that social support is the most important external factor in the generation of psychological resilience, which in turn can influence the effect of social support on other psychological factors, which can well support this study.

Students with a higher level of psychological resilience can reduce their stress perception by improving social support. At the same time, they can face the adverse effects of the outside world through self-regulation. Self-efficacy is the level of self-confidence within the person himself, and people with higher psychological resilience have higher self-efficacy (Karatepe et al., 2022; Liu et al., 2018). Changing the level of self-efficacy through social support is difficult, so the influence of social support on self-efficacy becomes minor. In comparison with the group with high perceived social support, those with low perceived social support tend to have low psychological resilience, and their psychological adjustment capacity cannot sufficiently cope with changes in the external social environment, and they do not feel the stress from the external world (Ruan et al., 2018; Sabouripour et al., 2021). However, an appropriate increase in their psychological resilience level can help increase their sense of self-stress urgency in the face of changes from the outside world; moreover, according to Yerkes–Dodson law, an appropriate sense of stress urgency is more likely to lead to a higher general self-efficacy (Penacoba et al., 2021).

Theoretical and practical implications

Theoretical implications

From a theoretical perspective, the results of this study have the potential to make a valuable contribution to the existing literature on general self-efficacy. The present study emphasizes the mediating role of stress perception between social support and self-efficacy rather than the direct role of social support on general self-efficacy, which reflects the indirect nature of the influence of the external environment on an individual's psychological resources. The introduction of psychological resilience makes the theoretical model of this study more complete, also, it helps to explain the internal mechanism of external factors affecting individual mental health indicators, which brings new ideas for future research and fills in the gaps of theories about general self-efficacy to a certain extent.

Practical implications

In the practical sense, this study first provides a tool for the postgraduate student group to understand their internal resources. Self-efficacy is crucial in the academic life of postgraduate students, this study can guide postgraduate students to pay attention to their psychological state in time and use social support reasonably to maintain good psychological balances and emotions at the low point. Secondly, for postgraduate student supervisors, postgraduate students are their best helpers. Understanding the formation mechanism of postgraduate students' self-efficacy will help supervisors connect with students emotionally and build an academic community, leading to greater academic achievements. For college administrators, paying attention to students' psychological health is a tedious and clueless task. This study helps college administrators learn about the mechanism of social support on postgraduate students' self-efficacy, which can help to detect students' psychological problems in time and intervene in psychological crises by improving students' psychological resilience.

Limitation and future direction

In addition to constructing a theoretical model and providing guidance, this study has limitations and provides directions for the future. Firstly, due to time and space constraints, although this study only selected a sample of graduate students from a university in central China, it has clarified the mechanisms of all variables. If there is an opportunity later, we will recruit more participants from different regions, schools, and management models. Future research could reproduce the results in other settings.

Secondly, although this study explored the mediating role of stress perception and the moderating mechanism of psychological resilience, there may be other psychological and behavioral mechanisms that influence the mechanism of social support on postgraduate students' self-efficacy. Future research could explore other mediating or moderating variables, such as gender, coping styles, cognitive evaluations, and individual characteristics, to broaden the potential research horizon.

Conclusion

This study constructs a conditional process model, a mediated (stress perception) model with moderation (psychological resilience), to investigate the mechanisms influencing students' perceived social support and general self-efficacy. The results of the study initially responded to the question of the insignificantly positive effect of students' perceived social support on general self-efficacy. Then, the mediating role of stress perception was identified. Finally, this study clarified the extent to which psychological resilience makes the effect of perceived social support on stress perception and general self-efficacy significant. The psychological adjustment ability of students plays an essential role in their perception of personal competence. In addition, appropriate psychological counseling for different groups of students to equip them with high psychological resilience to cope with social and external changes can help stimulate students' general self-efficacy.