Introduction

Entrepreneurship is an important factor for economic growth and job creation (Aparicio et al., 2016; Meyer & de Jongh, 2018). It promotes social change through the creation of social value (Barba-Sánchez et al., 2021; Korsgaard & Anderson, 2011), increasing thus the well-being and quality of life of communities (Blanco-González et al., 2015). In recent years, it has received a lot of attention from researchers, as it is considered a useful tool to manage crises, through economic strengthening policies that generate structural changes (Parra-Miranda, 2014).

Despite the great importance given to entrepreneurship, the impact that an adverse situation -such as that caused by the COVID-19 pandemic- can have on the intention to start a business remains controversial. Many empirical contributions have analysed entrepreneurship in relation to crisis management, especially in small businesses (Cowling et al., 2012; Smallbone et al., 2012; Williams & Vorley, 2015). However, the COVID-19 pandemic and the consequent economic blockade have created a unique and unprecedented situation with consequences still visible today.

In general, fear of failure has been identified as a significant barrier to experimenting with an entrepreneurial career (Kollmann et al., 2017; Morgan & Sisak, 2016). Recent research has shown that the presence of obstacles in the nascent phase makes the future entrepreneur more likely to abandon the project (Lanivich et al., 2021). However, other studies find that entrepreneurial activity does not decrease under the circumstances of macroeconomic changes, and individuals are more attracted to starting a business (Lopes et al., 2021).

The literature has not yet been able to understand why and what factors may contribute to the development of entrepreneurial intention. For example, the theory of planned behaviour and the entrepreneurial event model recognize self-efficacy or component related to personal skills as a determinant of entrepreneurial intention (Krueger et al., 2000). Other studies have broadened the range of entrepreneurship-related skills by analysing different psychological variables and their combination with contextual factors such as economic opportunities and environmental factors (Al-Jubari et al., 2018; Boyd & Vozikis, 1994; Tantawy et al., 2021).

For these reasons, we consider it important to analyse the entrepreneurial intention of university students in the COVID-19 pandemic context. Based on data collected in the academic year 2020–2021, we aim to cover the gap in the literature improving our understanding of the factors that can mitigate the negative impact of COVID-19 to foster entrepreneurship and, thus, help the global economy.

Indeed, in addition to the humanitarian and health tragedy, the COVID-19 pandemic has also affected local and global economies, creating an environment of high uncertainty (Martínez & Bañón, 2020) -especially for small businesses (Pedauga et al., 2022)- regardless of geographic location (Chesbrough, 2020), and sectors (Hall et al., 2020). Despite institutions having taken a number of policies to increase the capacity of their economic systems and to support citizens and sectors, the post-pandemic climate for businesses remains bleak.

In this sense, given that insights from different disciplines can provide a clear understanding of how COVID-19 changed business landscapes, it is necessary to increase research on entrepreneurship from an interdisciplinary perspective with a specific focus on value co-creation and ecosystems (Ratten, 2020).

Based on the results obtained by Hernández-Sánchez et al., (2020) analysing the entrepreneurial intention of Latin American university students during the second wave of COVID-19, and taking into account the authors´ recommendations to investigate different cultures and contexts, we contribute to the extant literature analysing the entrepreneurial intention in the Spanish context.

Overall, this study takes up two of the future lines of research on entrepreneurial intentions developed by Fayolle and Liñán (2014). On the one hand, it attempts to shed light on how the intention to act entrepreneurially can be influenced by a situation of uncertainty and a perceived hostile environment (contextual factors), on the other hand, analyses the role of personal-level variables in the configuration of entrepreneurial intentions.

Therefore, this study has three specific objectives: a) to analyse entrepreneurial intentions in the unprecedented environment of the COVID-19 pandemic; b) to contribute to the literature with additional empirical evidence of the basic psychological needs satisfaction influence -as a motivational factor (see Ryan & Deci, 2011)- in entrepreneurial intention; and, c) to examine the mediating effect of optimism and proactivity.

The next section will further investigate the conceptual and theoretical basis of this study, through the development of the research hypotheses.

Theoretical framework and research hypotheses

The impact of the COVID-19 pandemic perception and basic psychological needs satisfaction on entrepreneurial intention

Recent studies have shown that a perceived adverse context can have a negative impact on entrepreneurial intention (Roy & Das, 2020) and self-employment (Kalenkoski & Pabilonia, 2022). Uncertain and negative events have the potential to influence the expectations and perceptions of an entire population and are associated with a decrease in investment since they lead to uncertain social, economic, and political scenarios (Doern et al., 2019; Obraztsova & Chepurenko, 2020).

According to a study by Hundt and Sternberg (2016), the rate of nascent entrepreneurship decreased significantly in the period 2008–2010 in the countries most affected by the crisis. In a comparative study on the creation of small businesses in Spain between 2005/2007 and 2008/2010, Devece et al. (2016) showed that the number of new businesses dropped from 400,000 in the first period to 300,000 in the second.

Among the few studies that have analysed entrepreneurial intention in the context of uncertain and adverse situations, research has addressed this topic in war scenarios (Bozzoli et al., 2013; Bullough et al., 2014), terrorist attacks (Branzei & Abdelnour, 2010; Ghosh, 2018), and natural disasters (Torres et al., 2019). The importance of these studies lies in the fact that the perceptions that are formed in unsafe and dangerous environments have a negative influence on individuals’ entrepreneurial intentions and the future choice of an entrepreneurial career (Bergner et al., 2023). For example, Bullough et al. (2014) showed that perceived danger during the war in Afghanistan affected students' entrepreneurial intentions. The findings of Baker et al. (2020), suggested that terrorist attacks, natural disasters, and unexpected political shocks have the potential to severely damage countries' growth and new business development activities.

However, the COVID-19 pandemic has created new social, political, and economic contexts around the world that poses an unprecedented situation because it combines the typical characteristics of a sudden adverse event with the fact of having to bear this adversity in the future (Belitski et al., 2022; Otrachshenko et al., 2022), dramatically changing society and current business practices, and requiring new approaches that influence entrepreneurial thinking (González-Tejero et al., 2022). For this reason, studying the long-term consequences of the COVID-19 pandemic becomes a topic of paramount importance for entrepreneurship scholars.

Li et al. (2022), showed that students' perceived risk, as a consequence of the COVID-19 pandemic, reduces their entrepreneurial intention. The study by Godswill Agu et al. (2022) showed that the COVID-19 pandemic had a negative influence on attitudes, subjective norms, perceived behavioural control, and entrepreneurial intention. In the same line, Gomes et al. (2021) highlighted that the environmental dimension had a negative impact on the entrepreneurial intention during the pandemic period, which corresponds to an aggravation or loss of positive influences, compared to the context before the pandemic.

Given this new type of social and economic post-pandemic environment, and taking into account the importance of an adverse context in studying entrepreneurial intentions, we introduce our first hypothesis:

  • H1a: The COVID-19 pandemic perception of the future country’s economy is negatively associated with the entrepreneurial intentions.

On the other hand, according to the self-determination theory, basic psychological needs and satisfaction are considered essential nutrients for people to function optimally and grow psychologically (Ryan & Deci, 2011). These needs are universal (Milyavskaya & Koestner, 2011) and represent the underlying motivational mechanism that energizes and directs people’s behaviour, even in adverse situations (Broeck et al., 2010; Ryan & Deci, 2011).

Specifically, the relevance of self-determination theory is rooted in the concept of intrinsic motivation, through the meeting of three fundamental needs for a healthy psychological and social functioning: the need for autonomy (i.e. the perception of being the source of one’s own decisions and behaviours); the need for competence (i.e. perceiving oneself to be effective in social situations), and the need for relatedness (i.e. the sense of belonging).

In the literature, basic psychological needs satisfaction has been analysed mainly in the context of education and health, few studies have related it to entrepreneurship, preferring the better-known concept of self-efficacy to account for autonomous agent behaviour. As Richey et al. (2022) point out, basic psychological needs satisfaction differs from the concept of self-efficacy because it recognizes that a prolonged absence of autonomy, competence or relatedness, due to external causes, drastically damages individuals' ability to lead their own lives (Ryan & Deci, 2017). Conversely, self-efficacy does not take into account problems deriving from contextual factors (Ryan & Deci, 2017).

However, a few studies in the literature have shown that individuals with higher levels of basic psychological needs satisfaction expressed a strong intention to start a business, as they were more motivated towards such behaviour (Al-Jubari et al., 2018), even in an adverse context, such as that of the COVID-19 pandemic (see Hernández-Sánchez et al., 2020). For example, Al-Jubari (2019) in a study conducted on 622 students from two distinct universities in Yamen, showed a close relationship between psychological needs satisfaction and the theory of planned behaviour. Specifically, basic psychological needs satisfaction has a positive effect on attitude toward entrepreneurship, subjective norms, and perceived behavioural control, and in turn, has a positive effect on entrepreneurial intention.

In light of this, we contribute to the existing literature by assuming that:

  • H1b: The basic psychological needs satisfaction is positively associated with entrepreneurial intentions.

The importance of proactivity

Proactivity refers to the active attempts made by the individual to effect changes in their environment (Zampetakis, 2008). According to Bateman and Crant (1993), proactive people tend to take the initiative to influence and even significantly change the environment. For this reason, we find it useful to analyse this variable in the present study.

In addition to the empirical evidence on environmental adaptability, some studies have confirmed a significant relationship between proactivity and entrepreneurial process (Al-Mamary & Alshallaqi, 2022; Kumar et al., 2020), even in perceived adverse situations (Brzozowski et al., 2019).

With specific regard to the COVID-19 pandemic, the results showed, on the one hand, the direct positive impact of proactivity on entrepreneurial intentions. For example, the study by Trif et al. (2022) highlighted that proactivity is positively related to students’ entrepreneurial intention in a global framework, where the university entrepreneurial environment drives innovation. Also in this vein, Emami et al. (2022), suggested that risk-taking, proactivity, and innovation positively influenced entrepreneurs' confidence in the business opportunity. Most importantly, risk-taking and proactivity push entrepreneurs forward in their business projects helping them maintain confidence in their ability to exploit the opportunity presented and making them think it is feasible.

On the other hand, proactivity has also been studied as a construct capable of mitigating the negative effect of the pandemic perception on entrepreneurial intention. In this sense, explicit reference is made to the aforementioned study by Hernández-Sánchez et al. (2020), who underlined not only the direct influence of proactivity on entrepreneurial intention but also the mediating role of proactivity in the negative relationship between COVID-19 perception and entrepreneurial intention. Similar results were obtained by Jiatong et al. (2022), who showed that the perception of COVID-19 has a negative and significant impact on student entrepreneurial intention/behaviour pattern, but that a proactive personality significantly mediates the relationship between COVID-19 perception and entrepreneurial intention.

Based on these premises, this study seeks to further clarify the role of proactivity in the entrepreneurial process, posing hence the following hypotheses:

  • H2: Proactivity is positively related to entrepreneurial intentions.

  • H3: Proactivity mediates the relationship between basic psychological needs satisfaction and entrepreneurial intention (H3a); and the relationship between COVID-19 pandemic perception on the future country's economy and entrepreneurial intention (H3b).

The role of optimism

The entrepreneurial event model (Shapero & Sokol, 1982), and the theory of planned behaviour (Ajzen, 1991) emphasize the importance of specific positive attitudes, assumptions and perceptions in determining the likelihood that an individual will be willing to initiate a new business.

Several studies have found that optimism is related to increased self-confidence among students (Gómez-Molinero et al., 2018), and entrepreneurial intention (Madar et al., 2019). It has also been shown that those with a positive view of the future appear to be more inclined to start a new business, even in high-risk and competitive environments, as they place more emphasis on business outcomes (Li et al., 2021; Lindblom et al., 2020).

Optimism plays a significant role in the entire business process: in the face of uncertainty and the likelihood of failure, optimistic entrepreneurs, unlike pessimistic ones, believe more in the feasibility of their initiatives, and may therefore be better able to establish new business success (Bernoster et al., 2018). Some authors have also shown that optimism is a predictive factor for business creation, as it is connected to the perception of individuals to consider their projects positively (Ozaralli & Rivenburgh, 2016), coping strategies and success in stressful situations (Chapman & Chi, 2017).

From the results of the study by Na et al. (2022), it emerged that students with a high level of job satisfaction have a higher level of entrepreneurial intention, with optimism increasing the influence of job satisfaction on entrepreneurial intention. Optimism and social responsibility were found to have a significant positive impact on entrepreneurial self-efficacy.

Some scholars have pointed out that COVID-19 has not only affected people physically but also psychologically, however, an optimistic attitude mitigates the negative effects of the pandemic (Cao et al., 2020; Wang et al., 2021; Zurlo et al., 2020). Through a survey of Chinese doctors who have worked closely with COVID-19-positive patients, Zhang et al. (2021) found that optimism has a positive impact on work participation. In addition, Arslan et al. (2021) also demonstrated the important effect of optimism in mitigating the negative impact of coronavirus stress on life satisfaction in young adults.

In this theoretical framework and referring to the few studies in the literature regarding contexts perceived as risky, we believe it is important to investigate the influence of optimism on students' perceptions and expectations for a better future. Therefore, this study proposes the following hypotheses:

  • H4: Optimism is positively related to entrepreneurial intentions.

  • H5: Optimism mediates the relationship between basic psychological needs satisfaction and entrepreneurial intention (H5a) and the relationship between the COVID-19 pandemic perception on the future country's economy and entrepreneurial intention (H5b).

Figure 1 shows an overview of all hypotheses and their presumed relationships.

Fig. 1
figure 1

Research model

Method

Dataset and analysis techniques

To examine the relationships between the COVID-19 pandemic perception on the future country's economy (PCvCountr), basic psychological needs satisfaction (BPNS), entrepreneurial intention (EI), and the role of proactivity (P) and optimism (Op) in these relationships, we gathered the information by means of self-report online questionnaires on a sample of 201 Spanish university students (87.6% men; 12.4% women – mean age: 19.96; SD = 2.88) from the University of Castilla-La Mancha. The reason to choose this university is that this region is strongly characterized by a lack of entrepreneurial spirit; a condition that becomes even more evident during crises (Cantarero et al., 2017). Thus, due to the fact that the perceived opportunities remain a key factor in starting up a business, the region is particularly vulnerable during the pandemic (Neira Gómez et al., 2021). Such a condition makes this region a relevant object of study to analyse the influence of COVID-19 on entrepreneurial intention.

A survey was carried out among Computer Engineering students in the academic year 2020–2021. The statistical power of the sample was determined using the G*Power 3.1.9.4 program (Faul et al., 2009). To determine the minimum sample size in the PLS-SEM context, the following parameters were used: An f2 effect of 0.15, an error of 0.05, a power of 0.95 and four independent predictors. The suggested minimum sample size was 74 observations. In this case, we obtained a total of 201 valid questionnaires at the end of the semester 2020 (representing a response rate of 34,13%), which made up the final sample (sampling error 5.61%, confidence level 95%, Z = 1.96, p = q = 0.5).

Data obtained from the questionnaire responses were analysed using structural equation modelling (SEM), which is especially recommended to test mediation hypotheses (Nitzl et al., 2016). Specifically, we used the partial least square (PLS-SEM) technique with SmartPLS software in version 3.3.1. PLS-SEM is a multivariate data analysis technique used to estimate complex cause-effect relationship models with latent variables named composite (Cepeda-Carrion et al., 2018).

Measures

The variables in the model are latent variables of the composite type, given that all of them are constructs composed of indicators (Schuberth et al., 2018). In addition, the responses on all scales followed a 5-point Likert format ranging from strongly disagree (1) to strongly agree (5).

COVID-19 pandemic perception on the future country's economy (PCvCountr). This construct has been measured drawing on the sub-scale developed by Cardella et al. (2021) to measure COVID-19 pandemic perception. This sub-scale is comprised of 6 items related to the perception on how COVID-19 will affect the economy of one's country. An example of an item is: “COVID-19 will destroy many jobs in my country”.

Basic psychological needs satisfaction (BPNS). This construct has been measured based on the scale proposed by Chen et al. (2014) in the Spanish validation proposed by Cardella et al. (2020) which measures the needs satisfaction. The 12 items are organized in a multidimensional structure made up of 3 dimensions (4 items for relatedness: For example, “I feel close and connected with other people who are important to me”; 4 items for competence: Example, “I feel I can successfully complete difficult tasks”; and 4 items for autonomy: For example, “I feel that my decisions reflect what I really want”). BPNS is a higher-order formative construct and is composed of these three dimensions, which are reflective (composite estimated in Mode A), i.e. the dimensions are combined to produce the construct (Edwards, 2001).

Proactivity (P). This construct has been measured by means of the Entrepreneurial Orientation Questionnaire (EOQ), developed by Sánchez-García (2010) and based on the work of Seibert et al. (1999). The scale has 10 items, which together measure the tendency to proactive behaviour. An example of an item is: “If I believe in an idea, no obstacle will prevent me from making it come true”.

Optimism (Op). This construct has been measured through the optimism scale of the PROE questionnaire (Sánchez-García, 2016). The scale has 9 items and measures the individual's tendency to have positive expectations about the future. An example of an item is: “I think I will achieve the main goals of my life.”

Entrepreneurial intention (EI) was measured with the Entrepreneurial Intention Questionnaire (EIQ), developed by Liñán and Chen (2009). This construct comprises 6 items, which cover different aspects of intention. An example of an item is: “I will make any effort to start and develop my own firm”.

Table 1 shows the minimum, maximum, mean, and standard deviation values for all variables, along with a correlation matrix. The constructs are therefore calculated as mean indices.

Table 1 Descriptive statistics and correlation matrix

Results

Before analysing the structural model, the reliability and validity of the measurement model were tested. Based on this, six items of the Proactivity scale (P) were discarded as their values were below the 0.709 threshold (Hair et al., 2019), namely, P2–5, P8, P10; also three items of the Optimism scale (Op), Op1, Op3, Op9; as well as three items of the scale of country-wise perception of COVID-19 (PCvCountr), PCvCountr1, PCvCountr5–6. This is because the original constructs did not meet the most conservative criterion of the convergent validity, the Average Variance Extracted (AVE). In line with Hair et al. (2021), items with a factor loading between 0.40 and 0.70 were retained because the explained mean variance (AVE) was equal to or greater than 0.50.

In order to assess the internal reliability of these simplified scales, a factorial analysis has been conducted using IBM SPSS 28.0. The results show that each construct is an indicator of a single variable: Proactivity (KMO = 0.707, Eigenvalue = 2.260, Fraction of variance in % = 56.493); Optimism (KMO = 0.702, Eigenvalue = 2.844, Fraction of variance in % = 47.396), and PCvCountr (KMO = 0.713, Eigenvalue = 2.278, Fraction of variance in % = 75.940).

Additionally, following Marín García and Alfalla Luque (2019), the group of indicators can be considered valid to study the model without disturbances provided that the R2 of the latent construct is close to or exceeds 0.26 -as is our case-.

Then, construct reliability was tested through the Cronbach's Alpha, Dijkstrqa Henseler’s rho_A, and the Composite Reliability and confirmed as all values were above the 0.7 threshold (Table 2). Subsequently, the convergent validity of the constructs was also verified through the Average Variance Extracted (AVE), with values above 0.5 in all cases (Table 2).

Table 2 Reliability estimates and convergent validity of the measurement model

Finally, the discriminant validity of the constructs was also confirmed through the Heterotrait-Monotrait (HTMT) and Fornell-Lacker criteria (Table 3).

Table 3 Discriminant validity of the measurement model based on Fornell-Larcker and HTMT0.85 Criteria

Regarding the BPNS, as a second-order composites estimated in Mode B, it is composed of three dimensions (autonomy, relatedness and competence) and, thus, it has been specified following the disjoint two-stage approach (Sarstedt et al., 2020). In the first stage, the model is represented considering only the first-order constructs (BPNS dimensions) in order to obtain their scores. Subsequently, in the second stage, the scores are used as indicators of BPNS. In this line, being a composite estimated in Mode B, the multicollinearity between the first-order variables poses a potential problem which should be addressed. The variance inflation factor (VIF) for the range of those scores is below 1.193, which shows that BNF has no multicollinearity issues among their individual items (Hair et al., 2019).

To evaluate the structural model, we first check for collinearity problems among the constructs through the VIF values. All the values are below 2, well below the maximum of 5 set in the literature (Hair et al., 2019). The goodness of fit has been verified through the Standardized Root Mean Square Residual (SRMR) index for the saturated model, achieving an SRMR value of 0.083, which is below the maximum threshold of 0.10 (Benitez et al., 2020); and so has been the significance of the path coefficients through the bootstrapping process (10,000 subsamples) based on the confidence interval percentiles (Aguirre-Urreta & Rönkkö, 2018).

As observed in Table 4, results show that PCvCountr does not influence Proactivity in a significant manner (β = 0.060, p = 0.153), although the effect on Optimism and Entrepreneurial Intention is negative and significant (β = -0.144, p = 0.003; H1a: β = -0.118, p = 0.033, respectively). Regarding the BPNS, results reveal that it has a positive and significant effect on both Proactivity and Optimism (β = 0.479, p < 0.001; β = 0.625, p < 0.001, respectively). However, the effect of BPNS on Entrepreneurial Intention is non-significant (H1b: β = 0.056, p = 0.278). Finally, the effects of Proactivity and Optimism on Entrepreneurial Intention are positive and significant (H2: β = 0.411, p < 0.001; H4: β = 0.152, p = 0.038).

Table 4 Direct effects on endogenous construct

As Table 4 shows, the R2 values of all the endogenous constructs are above the 0.10 threshold (Falk & Miller, 1992). Regarding the individual contribution of the constructs, Proactivity is the one that contributes the most to explain the EI variance (0.194) and, in turn, BPNS is the one that contributes the most to explain P variance (0.239), as well as that of Op (0.360). The size of the effect of BPNS on Optimism (f2 = 0.536) is relatively high according to Cohen (1992) (f2 ≥ 0.35), but the size of the BPNS effects on Proactivity (f2 = 0.273) and the Proactivity effects on Entrepreneurial Intention (f2 = 0.167) respectively are moderate (0.15 ≤ f2 < 0.35), while the rest are weak.

With regards to the mediation effects, Table 5 shows the total effects of the BPNS (H3a and H5a) and PCvCountr (H3b and H5b) on EI. In the first case, the total effect is greater than the direct effects, which indicates the existence of mediation or indirect effects (Sarstedt et al., 2014). Following Nitzl et al. (2016), significant total mediation relationships are confirmed between BPNS and EI through Proactivity (H3a: β = .197; p < 0.001; PCI [.127, .283]) and through Optimism (H5a: β = .095; p = 0.045; PCI [.011, .194]). The assessment of the indirect effects of PCvCountr on EI through Proactivity (H3b: β = .025; p = 0.165; PCI [-.013, .071]) and Optimism (H5b: β = -.022; p = 0.076; PCI [-.050, .001]) confirm a partial mediation, given that, as commented, the direct effect is significant (H5: β = -.118; p = 0.033). Furthermore, according to Hair et al. (2014), the size of the indirect effects calculated through the variance accounted for index (VAF), explains more than 20% of the total effect in some cases (see Table 5), which ratifies the partial mediation.

Table 5 Summary of mediating effect tests

In summary, the hypotheses proposed in our theoretical model were empirically supported with the exception of H1b. Figure 2 summarizes the standardized regression coefficients and the proportions of the explained variance (R2) as a whole. In this case, the verified model explains more than 26% of the variance of Entrepreneurial Intentions.

Fig. 2
figure 2

Final PLS estimated model

Discussion

The purpose of the study is to analyse entrepreneurial intention under adverse conditions. Thus, we aim at explaining the importance of motivational factors (basic psychological needs satisfaction) and the mediating effects of psychological characteristics (proactivity and optimism) for entrepreneurial intentions in pandemic contexts (the perception of COVID-19). Despite most studies to date have supported the idea that entrepreneurial intention is the best predictor of behaviour (O’Kane et al., 2020), this theoretical hypothesis has not been fully demonstrated from an empirical point of view.

As the global report GUESSS (Sieger et al., 2021) points out, there is a significant difference between students who express their intention to choose an entrepreneurial career, 5 years after completion of studies (32.3%) and those who actually become entrepreneurs (10.8%). This could represent a limit, especially in the COVID-19 pandemic context, which could have an impact on the intention to undertake entrepreneurial activities and on potential entrepreneurs in the creation of future businesses.

The social cognitive theory postulates that entrepreneurial intentions are more likely to transform into behaviours in the presence of beneficial environmental conditions than in hostile conditions. Furthermore, motivational variables work in concert with other psychological factors and environments to influence individuals' perceptions about their future work, such as those related to entrepreneurship. In support of this theoretical framework, we found that a context perceived as adverse (COVID-19 pandemic) inhibits entrepreneurial intentions (Abdelwahed & Soomro, 2023; Jiatong et al., 2022), but also, that optimism and proactivity partially mitigate the negative effects of the COVID-19 pandemic by improving intentions in such an adverse situation.

Furthermore, the study showed that basic psychological needs satisfaction positively influences proactivity and optimism, but not the entrepreneurial intention. This is a result that, although unexpected in this study, makes us reflect on the relationship between motivational factors and intention (Ryan & Deci, 2011; Vansteenkiste et al., 2020), and the direct influence between motivational factors and psychological variables. A possible explanation for this result could lie in the fact that the motivational aspect, although important, is not essential in the choice of an entrepreneurial career, either if one does not also have specific entrepreneurial competence/skills or in uncertain and risky contexts (Godswill Agu et al., 2022; Gomes et al., 2021).

This explanation finds more support if we consider that the basic psychological needs satisfaction exerts, instead, a direct influence on proactivity and optimism and these, ultimately, positively influence the entrepreneurial intention. Our results, in line with previous studies, broaden the literature on the importance of psychological characteristics as antecedents of entrepreneurial intention, contributing significantly to international literature (Bernoster et al., 2018; Hmieleski & Baron, 2009; Kumar & Shukla, 2019; Neneh, 2019).

The mediation analysis of the indirect effects of COVID-19 perception on entrepreneurial intention through proactivity and optimism confirms a partial mediation, given that -as previously commented- the direct effect is significant. These results may be due, for example, to anxiety about starting and running a business, perceiving little control over results, or rating the likelihood of receiving positive rewards as low. We found a marginally significant mediating effect of proactivity and optimism on the COVID-19 pandemic-entrepreneurial intention relationship. Previous research not related to entrepreneurship has described proactivity and optimism as assets that individuals are able to mobilize in times of stress or adversity, enabling them to overcome barriers in various areas of life (e.g. Arslan et al., 2021; Cao et al., 2020; Zhang et al., 2021). It appears that these variables may play a similar role in entrepreneurship. Thus, under conditions perceived as adverse, people who believe they can persevere through hardship thanks to their abilities and show an optimistic view of their future are better endowed to start a business. However, further research is needed to confirm this marginally significant moderate relationship.

On the other hand, the relationships of total mediation between basic psychological needs satisfaction and entrepreneurial intention are confirmed to be significant through proactivity and optimism, emphasizing, once again, the close relationship between motivational and psychological factors.

These results underline the importance of psychological variables in the entrepreneurial process, which, beyond a context that could be perceived as negative and uncertain, help the subject to develop coping strategies and cope with adverse situations (Hernández-Sánchez et al., 2020; Jiatong et al., 2022).

Furthermore, since the psychological characteristics associated with entrepreneurship are not only beneficial for an entrepreneurial career, but also for other careers in general, they should be encouraged in young people regardless of their career path. A social context that encourages the development and strengthening of such resources helps people -especially young adults- to develop a coherent and satisfactory self-profile as well as to be competent and take a leading role in their own future, even in adverse times.

Limitations and future research directions

This study has some limitations that can be overcome by future research. The first limitation refers to the way of recruiting the sample which can be considered as not representative of the population. However, multicollinearity did not represent a problem in this study, which is why it can be stated that, according to Siemsen et al. (2010), it should not inflate the significance of interaction effects. Furthermore, only one Spanish region was analysed, this could be a limitation as different contexts would lead to more robust results. We, therefore, believe that future research could extend this study, taking into consideration other Spanish regions, as well as other different countries, useful for analysing any differences strictly related to different cultural contexts.

Furthermore, only the entrepreneurial intention was analysed in this study. This could represent a limitation for those who are specifically interested in the analysis of entrepreneurial behaviour. Although the link between intention and behaviour has been extensively documented in the literature (Kong et al., 2020), we consider that future research should also focus on entrepreneurial behaviour, using a sample other than university students (e.g., nascent or active entrepreneurs). This could contribute to the literature on the intention-behaviour relationship, especially in critical and uncertain conditions, such as the pandemic situation.

Additionally, there currently exists a need for further empirical evidence to fine-tune the measurement instruments of the COVID-19 perception in the country, as extant research has faced challenges to validate the existing ones (Cardella et al., 2021). Finally, in this analysis, we have not considered the influence of other relevant variables according to the literature, such as gender or media and information literacy. In the future, it might be useful to analyse how men and women face uncertain situations and whether there are differences between the two groups. In the literature, many studies have focused on gender differences in relation to entrepreneurial intention, unveiling a more relevant role of men (Nguyen, 2018; Zhao et al., 2005), however, little is known about the gender issue in adverse situations. Recently, Guerola-Navarro et al. (2023) have highlighted the need to investigate media and information literacy in the field of entrepreneurship to determine their importance in entrepreneurial intention and decision-making processes during the early years of business creation. Different levels of media and information literacy could moderate the relationships between optimism, proactivity, or satisfaction of basic psychological needs and individuals' entrepreneurial intention in adverse situations.

Implication for practice

Through the present study and in line with the research hypotheses, we have demonstrated the negative influence of the COVID-19 pandemic perception and the indirect influence, through a partial mediation of the psychological variables optimism and proactivity, on entrepreneurial intentions. Furthermore, the positive influence of basic psychological needs satisfaction on entrepreneurial intentions has not been demonstrated. This result, although unexpected, takes on an important significance if we consider that basic psychological needs satisfaction positively influences optimism and proactivity, which in turn mediate the relationship between psychological needs and entrepreneurial intentions.

These results may have practical implications of great interest for governments and educational centres for the development of training programs that promote entrepreneurial activity and that are effective in overcoming the current crisis. Such programs can promote greater prosocial behaviours, cooperation and solidarity, which strengthen the expectations of young people and guide their performance in times of crisis. Social support, employment, security and education, in fact, are socioeconomic factors that represent about 40% of an individual's health (Wang et al., 2020), which, if not satisfied, negatively affect the economy and well-being of society.

In this sense, given the important role of entrepreneurship in the current economy, we believe that policymakers and universities must work together to promote a greater entrepreneurial culture through a pluralist approach that takes into account the various aspects related to entrepreneurship. Universities, on the one hand, have the fundamental task of transferring knowledge and skills, influencing actions, thinking and allowing young people to have the ability to choose their own future, and solving society problems with a scientific approach (Tajpour et al., 2020); while governments, on the other hand, should support education through public policies that guarantee the quality of entrepreneurship training programs (McGregor & Pouw, 2016).

Indeed, despite countless efforts, the effects of entrepreneurship education programs have often been inconsistent, partly due to a lack of effective institutional support, partly due to the inadequacy of training programs, often focused on "teaching in the classroom” rather than on-field practice (Jiatong et al., 2021).

For this reason, we believe that universities need to be aware of their vital role in contributing to the future of students, for example by collaborating with stakeholders (e.g. politicians, senior student-entrepreneurs and business organizations) to promote useful programs for developing entrepreneurial intentions. Likewise, relevant institutions should set up mentoring services, especially those related to access to financial resources, to help students obtain the necessary skills and resources and develop their vocations. They must, in particular, ensure that the proactive efforts of stakeholders minimize the barriers faced by students. These interventions will raise students' entrepreneurial intentions and encourage them to become future entrepreneurs.

Our study, in this sense, adds to the growing literature on the understanding of entrepreneurial intentions through two interesting aspects: the direct influence of psychological variables in orienting the professional future of university students; and the importance of effective entrepreneurship programs, and therefore the need for joint action between governments and educational institutions to support and encourage the development of resources, skills and knowledge that can implement entrepreneurial intentions. In other words, while some individuals are predisposed to an entrepreneurial career more naturally, others may need more support to form similar levels of entrepreneurial intention. These results take on a different meaning if we consider the importance of motivational factors in the development of psychological characteristics (useful for the development of entrepreneurial intentions).

As far as the authors know, this was the first study to investigate the importance of the basic psychological needs satisfaction as a pre-determinant of entrepreneurial intention of Spanish students, in a context perceived as adverse. Previous studies of predictors of entrepreneurial intentions have limited their attention to social context as a source of behavioural guidance based on perceived social norms, entrepreneurship education, and role models. Furthermore, the motivation to become an entrepreneur has mostly been associated with different constructs that have analysed it according to two perspectives: instrumental aspects (such as money) or relational aspects (independence) (see Francoise et al., 2017). This study proposes another research perspective based on the role of society in cultivating entrepreneurship and stimulating entrepreneurial intentions, nurturing and catalysing autonomy, competence and relatedness. This contributes to the development of the literature about the importance of a second source through which people acquire entrepreneurial traits. In line with this study, and in addition to the personality characteristics (considered innate characteristics), people can acquire the important traits associated with entrepreneurship from the strengthening of their environment and support. This is an interesting aspect, especially today, where uncertainty and fear of failure could block the aspirations of young people, who could consider any future career choice inadequate.

Conclusions

Our study makes important contributions to entrepreneurship research in an under researched, yet adverse context. In addition to contributing to the literature on entrepreneurial intentions through an examination of novel antecedents (basic psychological needs satisfaction and COVID-19 pandemic perception), we expect this research to provide guidance for educators and policy makers who are trying to increase productive entrepreneurship in a variety of adverse environments. We also believe that continued behavioural research in adverse contexts, builds the understanding of how and why people engage in entrepreneurial activities. This study specifically helps us better understand why some are able to grow rather than retreat when faced with intense obstacles. With increased understanding of the importance of optimism and proactivity, educators can use this information to help more people who might otherwise have shied away from becoming involved in the economy. The men and women who believe in their abilities and are tough enough to persevere are transformational examples who can inspire and motivate others to engage in businesses that grow and develop their communities.

Furthermore, supporting the development of specific psychological resources can help people to perceive themselves as capable of changing the environment, improving the perception of one's future.