Introduction

Self-employment is crucial for creating new jobs and achieving sustainable and inclusive growth (OECD, 2017). As of November 2019, 33.7% of all employees worldwide were self-employed (Ilyashova et al., 2021). In China, the government generally uses the concept of flexible employment rather than self-employment. Flexible employment includes informal, elastic, and non-standard employment. The two concepts share several characteristics such as work independence, a lack of security and discipline from a permanent formal labor contract, income instability, and marginal social security. By 2021, China had approximately 200 million flexible employees (National Development and Reform Commission, 2022),Footnote 1 accounting for 26.7% of the 750 million people employed in that year.Footnote 2 There are numerous self-employed individuals who face pressure due to job instability and economic insecurity (Ferrie et al., 2001; Mandelman & Montes-Rojas, 2009); they tend to languish at the margins of social security systems. Therefore, aspects of their psychological state (such as job satisfaction, sense of stress, and depression) have drawn increasing scholarly attention.

Although several studies have been conducted on depression among the self-employed, findings remain mixed. Some scholars have suggested that self-employed people have better psychological states and job satisfaction than traditional employees (Hessels et al., 2017; Lange, 2012; Nordenmark et al., 2012). Other studies have indicated that self-employed individuals experience more stress while working and have a greater probability of experiencing depression than others (Annink et al., 2016; Nordenmark et al., 2012). One possible reason for these mixed outcomes is the diversity and complexity in the types of self-employment. Some studies lack targeted classification or have used different classification criteria. Moreover, given China’s large number of self-employed individuals, few scholars have specifically studied them or examined international research on the topic.

The definition and classification of self-employment

Self-employment

According to Merriam-Webster’s Collegiate Dictionary, self-employed people include intellectual workers (e.g., writers, editors, accountants) and service suppliers. They work under their own direction, are not affiliated with any organization, and do not make a long-term commitment to any employer to pursue a particular profession. According to the definition of the Organisation for Economic Co-operation and Development (OECD), self-employment includes the work of employers, those who work for themselves, members of production cooperatives, and unpaid family workers (OECD, 2022). Some scholars consider self-employed people to normally be independent. Compared with people at an organization, self-employed individuals perform a wide range of activities separately for their own sake; they either do not pay taxes or pay taxes only on their income and are simultaneously excluded from the social insurance system (Ilyashova et al., 2021). While the above definitions and classifications vary, there is some degree of consensus. First, self-employment comes with a high degree of self-determination and independence, rather than being bound by formal labor contracts and organizational management systems, as is the case for workers in organizations. Second, self-employed individuals do not receive a regular fixed income. Third, self-employed people are on the margins of the tax and social security systems.

Independent self-employed people

Prottas and Thompson (2016) classified self-employed individuals as small business owners and independent contractors. The difference is that the former employ others, whereas the latter are independent. The participants in this study were independent self-employed (ISE) people, who are similar to independent contractors and do not employ others, thus excluding self-employment with employees. Referring to Jang (2017), the present study further divided ISE into intellectual and physical ISE. Those who are intellectually independent such as writers, painters, self-publishing staff, and freelance photographers generally have higher levels of education, job autonomy, innovative requirements, and income levels, and their career choices are often based on personal interests or the pursuit of a high standard of living. Those who are physically independent are primarily engaged in physical work, and their job autonomy, stability, and income levels are relatively low. This category includes casual workers, nannies without a dispatch danwei (the 2018 China Labor-force Dynamics Survey [CLDS] indicated that a danwei is an independent institution with its own financial and personnel management authority), self-employed drivers, and artisans.

Non-ISE and employees

Non-ISE individuals and employees consist of two groups. One group comprises people who are self-employed but not independent, such as small, medium, and large business owners (Prottas & Thompson, 2016). This group is considered self-employed, but is non-independent because they hire others. The other group consists of non-self-employed individuals who are employees in an organization. Summarizing Webster’s (1977) study, a significant difference between non-ISE persons and employees, and ISE people is that the former category is embedded in explicit organizations. Thus, non-ISE people and employees can also be called workers within an organization. In this study, non-ISE people and employees include groups working in national and local public organizations, groups working in different types of medium and large enterprises (with > 8 employees), and small and micro enterprises (with1–8 employees), and agricultural laborers (Gevaert et al, 2018). It is important to point out that in China, agricultural laborers are not strictly independent, but are embedded in the village committee, a grassroots autonomous organization. In rural areas where there are business assets, these villagers are incorporated into rural collective economic cooperatives or specialized operating companies, which in turn form equity or employment relationships.

Heterogeneity does exist among non-ISE people and employees. This heterogeneity may result in differences in the depression status. For example, depression may be different for non-ISE people and employees working in public and private organizations. However, there is also a significant commonality among non-ISE individuals and employees: organizational embedding characteristics. These characteristics lead to three basic pairs of relationships between the organization and this group: (1) the employment relationship; (2) the wage-labor relationship; and (3) the binding and dependent relationship. Non-ISE people and employees are generally more susceptible to supervision and control by an organization than ISE individuals, and they are less autonomous and less able to control their plans. This commonality helped this study to better focus the classification of ISE and the comparison with non-ISE individuals and employees.

In sum, this study distinguished between ISE, and non-ISE individuals and employees. The relevant information has been tabulated for ease of understanding (as shown in Table 1).

Table 1 Classification of ISE and non-ISE and representative groups

Literature review

There is a clear divergence between different scholars on the relationship between occupation and depression among the self-employed.

On the one hand, some studies suggest that self-employment results in higher job satisfaction, better psychological status (Andersson, 2008; Binder & Coad, 2013), and a lower prevalence of depression (Hundley, 2001; Stansfeld et al., 2011). The reasons for this can be explored in terms of two explanatory dimensions: (1) job characteristics and (2) individual traits. Explanations rooted in job characteristics imply that self-employment leads to greater independence, more autonomy (Nordenmark et al., 2012; Stephan & Roesler, 2010), and higher levels of job control (Cole et al., 2002; Hessels et al., 2017). Self-employed people can obtain more procedural utility than employed individuals (Benz & Frey, 2008). Procedural utility is distinguished from outcome utility, which is characterized by financial income, in the sense that it satisfies the human need for autonomy in self-determination. Individual trait-based explanations denote that the individual traits of the self-employed have a significant impact on their psychological satisfaction and health status. For example, self-employed people have better health not because of being self-employed, but rather due to the selection effect of being healthy people entering self-employment (Rietveld et al., 2015). Since opportunity entrepreneurs are more rich in individual traits (e.g., positive emotions, demand achievement), they are more likely to choose freelancing than demand entrepreneurs (Bruk-Lee et al., 2009; Lange, 2012). Some scholars use the concept of self-efficacy to summarize the abovementioned traits of self-employment, arguing that self-employed people have higher self-efficacy, meaning they have greater trust in their abilities, a more optimistic mindset, and better control.

Both of these explanations can be incorporated into the framework of self-determination theory (SDT) (Deci & Ryan, 2000). SDT suggests that individuals have three basic psychological needs: (1) autonomy; (2) competence; and (3) belonging. In particular, the need for autonomy implies that individuals desire to make their own choices when engaging in various activities according to their own wishes. They also want to feel unrestricted in their activities and have the power to choose their own behavior and decisions. This means that the occupational characteristics of self-employment (e.g., flexibility, disposability, autonomy) fit the psychology of those who have a strong need for autonomy, which in turn motivates individuals intrinsically, increases their job satisfaction, and reduces their level of depression (Krueger & Brazeal, 1994; Judge et al., 1998).

However, on the other hand, some scholars have reached conclusions opposite to those discussed above, positing that self-employment may result in a worse mental state and higher prevalence of depression than traditional employment (Otsuka & Kato, 2000). This is mainly related to three factors. First, self-employed people are economically unstable (Beland et al., 2020; Fairlie, 2020). Due to a lack of secure employment contracts, self-employed people are vulnerable to external circumstances, such as market fluctuations, which affect their psychological security (Patzelt & Shepherd, 2011). Second, the self-employed face greater job stress. Self-employment often entails a high workload and long working hours (Andersson, 2008; Hyytinen & Ruuskanen, 2007; Nordenmark et al., 2012); the self-employed must independently face situations and bear certain responsibilities such as business losses, bothersome customers, and reputation damage (Schonfeld & Mazzola, 2015). Such work stress may make the self-employed more prone to experiencing depressive symptoms (Parslow et al., 2004). Third, self-employed people typically face the threat of uncertain and low income (Prottas & Thompson, 2016; Schonfeld & Mazzola, 2015; Annink et al., 2016). Especially in the case of external shocks, self-employed people who lack an employment unit suffer a significant drop in earnings (Clark et al., 2007). Thus, self-employed individuals face greater job and income threats than employed people with formal danwei (Mandelman & Montes-Rojas, 2009).

Why do two opposite conclusions arise? Possible reasons for these opposing conclusions are that existing studies have ignored the heterogeneity among self-employed people or used different classification criteria. As some scholars have noted, comparing self-employed people as a whole with other types of workers in general is highly misleading (Kapoor et al., 2019). The types of self-employment are complex and diverse, with different job characteristics, occupational stability, income levels, and individual traits. Thus, it is difficult to explain high or low depression levels among all types of self-employed people as a whole. For example, although self-employed individuals generally have greater autonomy, small business owners typically face greater job stress than independent contractors, which diminishes the psychological benefits of autonomy derived from self-employment. In comparison, independent contractors can receive more psychological benefits from self-employed individuals (Prottas & Thompson, 2016).

As such, based on these debates and the limitations of existing studies, this study explores three aspects using data from a Chinese sample: (1) the comparison of depression status between ISE and non-ISE people and employees; (2) the differences in depression status between people with intellectual ISE and physical ISE; and (3) the corresponding mediating mechanisms.

Research hypotheses

The characteristics of ISE, such as flexibility and autonomy, are more prominent compared to non-ISE individuals and employees. According to SDT, these characteristics are better able to satisfy the autonomy-related needs of ISE people and to enhance their job satisfaction and subjective happiness (Benz & Frey, 2008; Hundley, 2001; Lange, 2012), thereby reducing anxiety and depressive symptoms (Allan et al., 2018; Gentzler et al., 2019; Soósová et al., 2021; Vanhove-Meriaux et al., 2020). Thus, the present study hypothesized that ISE people would be less likely to suffer from depression. As a result, the following hypothesis was formed:

  • Hypothesis 1: ISE people are less likely to suffer from depression than non-ISE people and employees.

ISE encompasses a wide range of heterogenous occupations. This study classified ISE into intellectual and physical ISE. Between these two types, intellectually ISE people tend to have higher job earnings and stability; further, they are more entrepreneurial in terms of creativity, risk-taking, and innovation (Gartner, 1990; Hendry, 2004) and they have a stronger need for autonomy. In contrast, physically ISE people often work in China’s informal labor economy, which means they are at the margins of the labor market and social security system. They tend to have less job stability, poorer levels of economic income and social security, and a relatively low need for autonomy. Thus, this study hypothesized that intellectually ISE people would be substantially less likely to experience an increased risk of depression than non-ISE people and employees. In contrast, the relationship between physical ISE and depression is likely not significant. Therefore, the following hypotheses were developed:

  • Hypothesis 1a: Intellectually ISE people are significantly less likely to experience an increased risk of depression than non-ISE people and employees.

  • Hypothesis 1b: No significant association exists between physical ISE and depression compared with non-ISE and employees.

Intellectually ISE individuals usually choose self-employment based on interest or the pursuit of a high quality of life. This means that they value the freedom, autonomy, and income level of self-employment. Several studies have found that high levels of freedom positively influence mental health among the self-employed (Benz & Frey, 2008; Blanchflower, 2000; Lange, 2012; Parasuraman & Simmers, 2001). According to SDT, a flexible pace of work and the autonomy to make work-related decisions help self-employed people to better cope with negative emotions, maintain a better level of mental health (Bakker et al., 2003; Bencsik & Chuluun, 2021; Bond & Bunce, 2001; Patzelt & Shepherd, 2011), and achieve work-life balance. This fits the goal of intellectual ISE. In addition, income is an important factor affecting depression levels among the intellectually ISE. Lower and uncertain job earnings are an important factor in the level of depression among the self-employed (Prottas & Thompson, 2016; Schonfeld & Mazzola, 2015). Especially in China, the social security system is based on danwei. This means that the social security benefits of the intellectually ISE are also crippled. Hence, financial income is a vital guarantee for the intellectually ISE in their pursuit of quality of life. Prior studies show that work freedom and income are critical factors influencing the mental health and depression levels of the intellectually ISE and are negatively correlated with each other. Thus, the following was posited:

  • Hypothesis 2a: Work freedom mediates the relationship between intellectual ISE and depression.

  • Hypothesis 3b: Income mediates the relationship between intellectual ISE and depression.

Method

Data

This study used data from the 2018 CLDS, which is a biennial urban–rural tracking survey with a comprehensive database of the working population aged 15–65 years, focusing on the current conditions of China’s labor force and its modifications. The CLDS covers various topics: education, work, migration, health, social participation, economic activity, and grassroots organizations. The 2018 CLDS survey covers 28 provinces, approximately 400 communities, over 14,000 households, and more than 18,000 laborers in China using a multi-stage, multi-level probability sampling method that is scientifically valid and representative. Based on survey stratification, the CLDS includes three survey types: (1) village; (2) household; and (3) individual visits. This study used data from the 2018 individual survey, which gathered information about workers’ depression status in addition to investigating their primary conditions by occupational category, thus providing a good source of data. Stata 16 was used for statistical analysis, and after processing the sample data, the appropriate sample size for analysis was determined to be 10,758. Figure 1 outlines the process of screening the samples.

Fig. 1
figure 1

Flowchart for screening the samples

Measures

Dependent variable

Depression among ISE people was the dependent variable in this study; it was measured using the Center for Epidemiologic Survey Depression (CES-D) scale, developed by Radloff in 1977. The CES-D scale has been widely used to measure depression in adolescents, adults, and older adults (Radloff, 1977); it has 20 questions that address various aspects of depressed mood, positive mood, bodily characteristics, and interpersonal relationships (see Table 8 for details). Respondents rated the frequency of each symptom as follows: none/mostly none (< 1 day) = 0, rarely (1–2 days) = 1, often (3–4 days) = 2, and almost always (5–7 days) = 3. After summing the scores of the 20 items, total scores ranged between 0 and 60. The cutoff score was 16 to distinguish between those with and without depressive symptoms; scores greater than or equal to 16 indicated depressive symptoms (Gatz et al., 2005; Lewinsohn et al., 1997). A binary variable was generated to measure depression among ISE people. A value of 1 was assigned for scores of 16 or higher, and 0 if otherwise.

Independent variable

ISE was the independent variable in this study. The CLDS classifies ISE as work that is either intellectual (e.g., Internet writers, painters, self-media workers, freelance photographers, other intellectual workers) or physical (e.g., casual workers, vendors, non-dispatched nannies, self-employed drivers, manual craftspeople). Respondents were assigned a value of 1 if they engaged in ISE, and 0 if they engaged in non-ISE individuals and employees.

Control variables

Based on the questions explored in this study and with reference to Wang et al. (2018), gender, education level, marriage, and life choice (the freedom of choice in life) were selected as demographic variables; injury, drinking habits, and exercise as health awareness variables; sense of social equity (fair sense) and familiarity with residents of the community (socially familiar) as social capital variables; and province as a geographic variable.

Mediating variables

ISE people are generally considered to be more accessible and to have a higher degree of job control (e.g., job autonomy and temporal and spatial flexibility of work) than other workers (Hechavarría et al., 2017), which may affect their job satisfaction (Hytti et al., 2013) and depression status. In addition, income is strongly associated with depression among ISE people (Andersson, 2008; Schonfeld & Mazzola, 2015); therefore, work freedom and income were selected as mediating variables to analyze depression status among the target group.

Work freedom

Respondents were asked to report their level of self-determination regarding their work task content, work schedule, and workload. In the present study, these were considered measures of work freedom. Fully self-determined and partially self-determined were assigned a value of 1, whereas fully determined by others was assigned a value of 0. By summing up the above three indicators, a work freedom score was obtained, ranging between 0 and 3. Higher scores denote greater levels of work freedom.

Income

To facilitate the analysis, income data were processed. Annual incomes of below 10,000, 10,000–30,000, 30,000–50,000, 50,000–100,000, 100,000–200,000, 200,000–500,000, and above 500,000 yuan were assigned values of 1–7, respectively. In the data analysis, higher scores indicate higher incomes.

Model selection

Logit model

This study applied a logit model to preliminarily estimate the differences in depression among occupational groups as follows:

$$ln\left(\frac{{depress}_{i}}{1-{depress}_{i}}\right)={\alpha }_{0}+{\alpha }_{1}wor{k}_{i}+{\alpha }_{2}{X}_{i}+{\varepsilon }_{i}$$
(1)

where \(depres{s}_{i}\) embodies the odds of the ith respondent having depression, \(\frac{{depress}_{i}}{1-{depress}_{i}}\) indicates the ratio of the odds of the ith respondent having depressive symptoms or not, and \({work}_{i}\) refers to the type of occupation of the ith respondent and whether he/she is engaged in ISE. \({X}_{i}\) represents the other control variables, and \({\varepsilon }_{i}\) denotes the random error term. This study mainly estimated the ratio of respondents’ odds of having depressive symptoms or not, which is expressed as (\(\frac{{depress}_{i}}{1-{depress}_{i}}\)) and is also focused on the significance of \({\alpha }_{1}\).

The mediating effect model

To test the mediating effect of work freedom and income between ISE and depression, this study drew upon the stepwise regression method of Baron and Kenny (1986) and constructed models (2) and (3) based on model (1), as follows:

$$M={\beta }_{0}+{\beta }_{1}wor{k}_{i}+{{\beta }_{2}X}_{i}+{\varepsilon }_{i}$$
(2)
$$ln\left(\frac{{depres{s}_{i}}{\prime}}{1-{{depress}_{i}}{\prime}}\right)={\delta }_{0}+{\delta }_{1}wor{k}_{i}+{\delta }_{2}M+{{\delta }_{3}X}_{i}+{\varepsilon }_{i}$$
(3)

Given the mediating variables, the regression of the mediating variables on the independent variables in this study used the ordinary least squares (OLS) model (i.e., model (2)). M represents the mediating variable, and the other variables are defined in model (1). When analyzing the mediating effects, this study focused on the values of \(\frac{{depress}_{i}}{1-{depress}_{i}}\) and \(\frac{{depres{s}_{i}}{\prime}}{1-{{depress}_{i}}{\prime}}\), as well as the significance of \({\beta }_{1}\), \({\delta }_{1}\), and \({\delta }_{2}\). If \({\beta }_{1}\), \({\delta }_{1}\), and \({\delta }_{2}\) are significant, when \(\frac{{depress}_{i}}{1-{depress}_{i}}<1\), \(\frac{{depres{s}_{i}}{\prime}}{1-{{depress}_{i}}{\prime}}>\frac{{depress}_{i}}{1-{depress}_{i}}\) indicates the presence of a mediating effect. If \({\beta }_{1}\), \({\delta }_{1}\), and \({\delta }_{2}\) are significant, when \(\frac{{depress}_{i}}{1-{depress}_{i}}>1\), \(\frac{{depres{s}_{i}}{\prime}}{1-{{depress}_{i}}{\prime}}<\frac{{depress}_{i}}{1-{depress}_{i}}\) denotes the presence of a mediating effect.

The model of mediating effect decomposition

In order to further investigate the mediating effect between self-employment and depression, this study used the KHB model to estimate the total effect, direct effect, and indirect effect based on the mediating effect test. Previously, mediation analysis methods were employed for linear regression models. Unfortunately, because of issues related to measurement scales, many methods could not be applied to nonlinear regression models. The KHB model, proposed by Karlson, Holm, and Breen (Karlson et al., 2012), can identify the mediating effect in non-linear probability models. It distinguishes the effects of discrete and continuous variables, thereby extending the decomposability of linear models to non-linear probability models. The operating principle of the KHB model is as follows:

Assume a linear regression model:

$$P=\alpha +{\beta }_{i}{work}_{i}+{\varphi }_{i}M+{\eta }_{i}{X}_{i}+\varepsilon$$
(4)

where \(P\) is the dependent variable, and the definitions of other variables are the same as in models (1) and (2). \({work}_{i}\) can indirectly affect \(P\) by influencing \(M\). Under this assumption, \({\beta }_{i}\) represents the direct effect of \({work}_{i}\) on \(P\), and the total effect of \({work}_{i}\) on \(P\) can be obtained through the following model:

$$P=\alpha +{\beta }_{t}{work}_{i}+{\eta }_{i}{X}_{i}+\varepsilon$$
(5)

Hence, the indirect impact of \({work}_{i}\) on \(P\) through its influence on \(M\) is:

$${\beta }_{w}={\beta }_{t}-{\beta }_{i}$$
(6)

Results

Descriptive statistics

Figure 2 shows the boxplot of depression scores of various types of workers. Boxplots can visually describe the distribution characteristics of data using five statistics (minimum, lower quartile, median, upper quartile, and maximum). Overall, all three boxes are skewed to the left, and the medians are close to 0 and far from 16, indicating that most workers have low depression scores. Among them, the box of w1 is narrower, implying that the depression scores of intellectually ISE people are low and concentrated; the box of w3 is wider, suggesting that the depression scores of non-ISE people and employees are high and fluctuate more.

Fig. 2
figure 2

Boxplot of depression scores of various types of workers. Note: w1 refers to intellectually ISE people; w2 refers to physically independent workers; and w3 refers to non-ISE individuals and employees. The dashed line denotes a depression score of 16

Table 2 shows the descriptive statistics. Unsurprisingly, a fairly low percentage of respondents displayed depressive symptoms. Among all respondents, 10.6% were ISE. Of the remaining sample characteristics, 54% of the respondents were male, with a reasonable and scientific gender ratio. The average number of years of education was 8.602; nearly 87.5% of the sample had a spouse; life choices were moderately high; 11.3% had an illness or injury within the last two weeks; 22.6% drank alcohol at least weekly; 30.1% had exercised in the past month; most had a high sense of fairness and familiarity with the residents of their community (i.e., the overall sample had high levels of social recognition and participation); 42.1% came from the eastern region, and the regional distribution of the sample on the whole was balanced.

Table 2 Variable definitions and descriptive statistics

Benchmark regression analysis

Table 3 presents the benchmark regression results. Column (1) shows the regression outcomes of the dependent variable (depression) on ISE only. Column (2) controls for the demographic and health awareness variables based on Column (1), and Column (3) controls for the social capital and geographic variables based on Column (2). The findings were interpreted according to Column (3). When controlling for a range of other variables, ISE people were 0.828 times more likely to experience depression than non-ISE people and employees; this was significant at the 5% level. As such, Hypothesis 1 was supported. Column (4) outlines the regression results of depression on intellectual ISE individuals, and non-ISE individuals and employees after controlling for the other variables. The rate of depression among intellectually ISE people was 0.717 times higher than among non-ISE individuals and employees; this was significant at the 10% level. Thus, intellectually ISE people were less likely to display depressive symptoms than non-ISE people and employees. Column (5) indicates that the regression results for depression among physically ISE people were insignificant. Thus, individuals with ISE and intellectual ISE were less likely to experience depressive symptoms than those with non-ISE individuals and employees. However, the association between physical ISE and depression was insignificant. Hypotheses 1a and 1b were thus supported.

Table 3 Benchmark regression results

Next, the results were interpreted in relation to the control variables. Regarding demographic traits, depressive symptoms were more common in men than women and less common in more educated respondents, those with a spouse, and those with more life choices, all of which were significant. As for health awareness, respondents with exercise habits in the past month were less likely to experience depressive symptoms. In contrast, those who reported an illness or injury in the previous two weeks were more likely to experience depressive symptoms. In terms of social capital level, those with more social capital (e.g., a stronger sense of social equity, greater familiarity with community residents) were less likely to experience depressive symptoms. For the effect of geographic characteristics, respondents in the eastern region were less likely to experience depressive symptoms than those in other regions.

Robustness test

The above results provide preliminary evidence that individuals with ISE and intellectual ISE have a lower likelihood of experiencing depression. However, further examination is needed to validate this finding. To address this, we employed two different robustness testing methods:

First, we replaced the data sample and conducted a robustness test using the 2016 CLDS data, as displayed in Table 4. However, since the 2016 data do not differentiate ISE into intellectual and physical ISE, we only examined the relationship between ISE and depression.

Table 4 Results of the robustness test

Second, we replaced the dependent variable. First, we replaced the binary variable with a continuous one. Depression is a common mental health problem (Prince et al., 2007), and in the benchmark regression, we set a threshold of 16 on the CES-D scale to distinguish between depressed and non-depressed individuals. In this study, we used the CES-D score as a proxy for depression, where higher scores indicate greater levels of depression. As the dependent variable is no longer binary, we used OLS regression instead. Second, based on the binary variable, we eliminated variables near the threshold. We excluded samples near the threshold of 16 (within a range of 2 points) because samples in this range may involve random factors or measurement errors, making it difficult to accurately classify workers as depressed or non-depressed individuals. After excluding samples near the threshold of 16, the boundary between the depressed and non-depressed groups became clearer.

Table 5 presents the results of replacing the dependent variable. Column (1) shows the regression outcomes with a continuous variable replacing the binary one. We can see that both ISE individuals and intellectually ISE people exhibit lower levels of depression. The self-employed status leads to an average decrease of approximately 10% in depression levels (with an average depression score of 7.6), which is consistent with the results of the original benchmark regression. Column (2) depicts the regression outcomes after excluding samples near the threshold of 16, which also align with the original regression results, indicating that those with ISE and intellectual ISE have a lower likelihood of experiencing depression compared to non-ISE people and employees. Overall, regardless of the approach taken, both ISE individuals and intellectually ISE people show a lower likelihood of depression, confirming the robustness of the original conclusion.

Table 5 Robustness test (dependent variable replacement)

Mechanism analysis

The results indicate that people with ISE displayed better mental health and were less likely to experience depressive symptoms than those with non-ISE individuals and employees. However, the mechanisms by which this effect occurs also need to be examined. In the previous analysis, two possible mediating mechanisms were suggested: work freedom and income.

In Table 6, Column (1) shows the regression outcomes of work freedom on the independent variable, and Column (2) presents the regression results of the dependent variable on the independent variable after adding the mediating variables. The results revealed insignificant relationships between work freedom and intellectual ISE. Therefore, work freedom was not a factor that made individuals with ISE less likely to suffer from depression, which broke the previous perception that high freedom allows those with ISE to have increased happiness and job satisfaction (Hytti et al., 2013). As such, Hypothesis 2 was not supported.

Table 6 Estimation results of the mediating effect

Table 6 also reports the regression outcomes with income as a mediating variable. Column (3) shows the regression results of the effects of work income on the dependent variable, indicating a positive correlation between income and intellectual ISE, significant at the 1% level. Thus, intellectually ISE people receive higher work incomes. Column (4) depicts the regression outcomes for the dependent variable on the independent variable after adding the mediating variable. The odds ratio of the regression results of the dependent variable on the independent variable was significantly higher after including the mediating variable; it was also less than 1. This indicates that income earned from intellectual ISE is associated with a lower risk of depression. Thus, Hypothesis 3 was supported.

In addition, Table 7 presents the results of decomposing the mediating effects into total effects, direct effects, and indirect effects using the KHB model. As indicated in Column (1), the total effect of intellectual ISE on depression was -0.3322, which is significant at the 10% level. However, the indirect effect was not significant, denoting that having intellectual ISE cannot reduce the probability of developing depression through work freedom. As presented in Column (2), when verifying the mediating effect of work income, the direct effect of intellectual ISE decreased and produced a significant indirect effect, which accounts for 5.26% of the total effect. This means that work income plays an important role in reducing the likelihood of depression among those with intellectual ISE.

Table 7 Results of the mediating effect test based on the KHB model

Discussion

Depression in intellectually and physically ISE people

The empirical results suggest heterogeneity in depression status between intellectually and physically ISE people. Those engaged in intellectual ISE were significantly less likely to report depressive symptoms than those with other non-ISE individuals and employees. In contrast, the relationship between being physically and ISE and having depression was not significant. This variability may stem from differences in the characteristics of both types of ISE.

Compared with physical ISE, those engaged in intellectual ISE showed three distinctive characteristics. First, the education level of intellectually ISE people was higher than that of physically ISE people. Intellectually ISE people tend to have higher barriers to entry. For example, writers, painters, photographers, lawyers, and other professionals have defined or potential barriers to entry. Second, intellectual ISE requires high levels of professionalism and innovation (Gartner, 1990; Hendry, 2004). Intellectual ISE includes occupations requiring high degrees of creativity and innovativeness. In contrast, physical ISE encompasses occupations that are somewhat less complex and more repetitive and procedural. Third, people with intellectual ISE may have more positive emotional needs, autonomy, and a stronger sense of adventure. Intellectually ISE people tend to passively choose self-employment after losing their organization-dependent jobs (Prottas & Thompson, 2016). However, those engaged in physical ISE are more likely to be opportunity entrepreneurs. They actively choose self-employed occupations with which they fit (Bruk-Lee et al., 2009) and thus experience autonomy and satisfaction from self-employment (Lange, 2012).

Based on previous research findings, the three abovementioned traits may help reduce depression through two paths. First, higher education level and innovation may lead to higher economic income. Second, the freedom of self-employment can fit the psychological profile of those with intellectual ISE. However, the empirical results only support the first path.

The mediating effects of income and work freedom

Three potential reasons explain how income is a mediating mechanism that decreases the risk of depression among intellectually ISE people. First, income is a crucial indicator of occupational value (Bencsik & Chuluun, 2021) and can help intellectually ISE people realize their importance and become more confident. Only working and earning money in an occupation in which they are interested can make them fully appreciate the value of their work and confirm that they are pursing the right path through self-employment.

Second, income can provide more material support for the diverse needs of intellectually ISE workers. Compared to physically ISE people, intellectually ISE persons have a wide range of needs, such as pursuing a higher quality of life, enhancing their professional skills, and increasing their social interactions. To fulfill these needs, they rely on income as a foundation of support.

Third, income is an essential influencing factor of job autonomy and coping with work stress (Bencsik & Chuluun, 2021). Specifically, income can increase labor autonomy by increasing time and asset control such as when work is done, how to take control of work, how to use skills, and how to develop skills. Further, income can help intellectually ISE people cope with higher work stress such as by using better technological tools to improve infrastructure and optimize working conditions, or promoting physical and mental health through increased spending on personal care.

The above conclusions are somewhat different from the inferences of SDT because according to SDT, those with ISE have a stronger need for autonomy, so the degree of work freedom may better meet their needs, thereby increasing their mental health. However, empirical results indicate that work freedom is not a mediating mechanism for several possible reasons.

First, although work freedom may be the origin of the choice to engage in intellectual ISE, it does not have sustained effects. Georgellis and Yusuf (2016) considered that self-employment’s positive attributes (e.g., independence, autonomy, freedom) allow for people with self-employment to achieve higher job satisfaction in the early stages; however, as the expectation gap increases, job satisfaction declines.

Second, work freedom is a double-edged sword that brings freedom, but also stress and insecurity. Specifically, while intellectually ISE people have high levels of autonomy and flexibility, they are also subject to significant competition and survival pressures (Warr, 2018). This forces them to devote more time to work. They tend to face a more intense work pace (De Lange et al., 2003) and experience a more significant workload and stress (Buttner, 1992; Jamal, 1997). These factors can all negatively impact mood and even induce depression.

Third, self-employment in an emerging market system such as that in China, which is characterized by instability (Mandelman & Montes-Rojas, 2009). Intellectual ISE is not covered or is only partially covered by state social security due to a lack of organizational support. This means that income is a significant source of stress for intellectually ISE people (Ferrie et al., 2001). Threats to income (Mandelman & Montes-Rojas, 2009) may have a more significant impact than work freedom on the association between depression and intellectual ISE.

In sum, intellectually ISE people are more sensitive to income than work freedom. This means that the promotional effect of autonomy-related needs on intellectually ISE people must be based on income security. As such, income is necessary for these individuals.

Conclusions

As a flexible and growing type of occupation, self-employment accounts for a large number of workers and is supported and protected by the government. The depression status of this group affects not only the psychological health and quality of life of individual workers, but also their employment quality and even economic and social stability and development. Based on relevant prior research, this study empirically examined the influence of ISE on the depression status of workers in China using 2018 CLDS data and logit modeling. First, the results of the full-sample regression analysis showed that those engaged in ISE were less likely to experience depressive symptoms, and that the odds ratio of ISE people experiencing depression was 0.828 times higher than among non-ISE people and employees. This outcome was significant at the 5% level. Second, further categorization tests revealed that the odds ratio of depression was 0.717 times higher among intellectually ISE people than among non-ISE persons and employees, and the results were significant at the 10% level. However, the regression outcomes were not significant for physical ISE. Third, income served as a mediating mechanism affecting the association between depression and intellectual ISE, whereas work freedom did not.

The results have certain theoretical and practical significance. First, based on the perspective of classification and comparison, this study verified the depression status of those with intellectual and physical ISE, thereby providing an empirical basis for debates in existing studies. Second, this study offers additional evidence supporting the mediating role of work freedom and income in the relationship between ISE and depressive symptoms. This finding contributes to a better understanding of the explanatory mechanism of SDT in relation to the connection between autonomy-related needs and psychological well-being. Finally, the policy implication is that it is necessary to increase the inclusiveness and support level of the social security and welfare system to alleviate the income insecurity of ISE. Moreover, special attention should be given to the psychological well-being of physically self-employed people, and the establishment of psychological assessment and support systems tailored to this group is warranted.

This study has three main limitations. First, the CLDS only details the classification of self-employed people in the 2018 data, which led us to examine the depression status of those with intellectual and physical ISE using cross-sectional data only. Therefore, the direction of the causal relationship between intellectual and physical ISE and depression cannot be judged based on the present study. Although it would be helpful to scrutinize this relationship using longitudinal data, to the best of our knowledge, no longitudinal survey using a more detailed classification of self-employment has been conducted in China. Thus, future longitudinal or experimental studies could be conducted using autonomous data collection. Second, the lack of data currently precludes the analysis of depression among those with ISE during the COVID-19 epidemic. The dangerous and long-term nature of the epidemic, combined with China’s strict epidemic prevention policies, may have severely affected ISE people’s work, life, and psychological state. Hence, a targeted study could be carried out after the relevant data are updated. Third, for the sake of article structure, this study did not analyze the heterogeneity of the depression status of ISE people. Future tests could determine whether this study’s findings could be generalized to ISE in China among people with different demographic traits.