1 Introduction

The economic risk posed by unclear future legislative initiatives and regulatory schemes is termed as policy uncertainty. Due to market uncertainty, this phenomenon forces businesses and individuals to delay their purchases and investments (Al-Thaqeb et al. 2019; Dou et al. 2022). It may also be used to explain how financial system participants behave when faced with greater levels of uncertainty, such as the high levels experienced prior to, during, and after the global financial crises. It is therefore critical to comprehend the significance of economic policy uncertainty for financial markets and institutions. The global financial industry was defined by various structural changes during the Global Financial Crisis (GFC) of 2007–2009. The world's largest financial institutions were either declared bankrupt or had suffered sizable losses, endangering the stability of the entire financial system. The result was significant turmoil in the world's financial and economic sectors. In this context, financial economists have been researching the causes of rising EPU and variable policy-induced volatility across financial markets (Belke et al. 2018; Albulescu et al. 2019).

Financial industry may hoard liquidity, decrease cash outflow, curtail lending, and mitigate risk as a result of financial institutions’ significant uncertainties (see Fig. 1) due to the timing and nature of policy initiatives (Berger et al. 2022a). In recent years, numerous events (particularly during the GFC) have compelled governments to adjust their monetary, fiscal, trade, and other regulatory policy measures (Shen et al. 2021; Cui et al. 2021; Tang et al. 2021) For instance the Gulf war in 1991, the (9/11) 2001 attacks on the USA, the global financial crisis from 2007 to 2009, the Dodd-Frank Act in 2010, the Eurozone debt crisis from 2011 to 2012, European emigration crisis in 2015, United Kingdom Brexit referendum and decision in 2016 and 2018, respectively, the corona virus pandemic Covid-19 from 2019 to 2021 and the recent Russia and Ukraine military conflict 2022. Al-Shboul et al. (2020) claim that these financial and economic changes have made it difficult to conduct business and have raised questions about future government policy.

Fig. 1
figure 1

Source authors completion https://www.policyuncertainty.com/

Economic Policy Uncertainty, Uncertain Times.

In times of adverse economic uncertainty, a variety of financial and other indicators, such as banking stability (investment, lending, growth) and climate policy (Ren et al. 2022; Wang et al. 2022) are influenced. For instance, after experiencing an uptrend in recent years due to the Covid-19 outbreak, NPL in the euro region decreased by 3.4% in the third quarter of 2019 (Botshekan et al. 2021; Karadima and Louri 2021). Additionally, a number of macroeconomic indicators, such as inflation, unemployment, GDP growth, and subpar bank management, have an impact on FS (Z-score, NPL) in the banking sectors worldwide. In this context, financial managers must take effective steps to reduce bank credit risk before it negatively impacts the productivity. Karadima and Louri (2021) and Shabir et al. (2021) conducted research in this aspect and applied Z-scores and NPL ratios to measure the performance of the banking sector. They established that it is crucial to assess the link between EPU and FS (Z-score, NPL) to establish how much EPU may influence bank performance.

In order to reduce economic uncertainty and achieve economic governance, this work primarily evaluates the application, productivity, and effectiveness of government-issued macroeconomic, microeconomic, as well as market structure policies. However, the relationship between macroeconomic indicators, bank performance dimensions, and market structure variables, has received less attention in the literature.

We investigate the effect of EPU on financial stability proxies from various angles. It is anticipated that as the economy changes, researchers will continue to examine the variables that impact how financial institutions operate. Even though there have been numerous studies on EPU, none have examined the connection between EPU and FS (Z-scores, NPL). By examining the correlation between EPU and Z-scores as well as non-performing loans (NPLs) by macroeconomic, bank, and market structure indicators, this study fills this gap in the literature. When deciding how to allocate their capital, investors and portfolio managers can consider the relationship between macroeconomic variables like policy uncertainty, market structure indicators, and bank performance dimensions. They must ascertain whether their investments or assets can withstand difficult times and other important occurrences that have an impact on asset values. After adjusting for a wide range of potential confounding factors, this study adds three new ideas to the literature. By extending the work of Shabir et al. (2021), who examined the relationship between EPU and bank risk in developed and developing countries, this paper analyses the impact of EPU on FS proxies, i.e., Z-scores and NPL. This contrasts with most prior empirical research on non-financial institutions (Tran 2019; Vural-Yavaş 2020; Saha and Dutta 2021; Zhang et al. 2021). It then uses the panel threshold model to illustrate the significance of QOG in the dissemination of economic policy. Our findings contribute to the body of knowledge about how EPU affects the banking sector (Ashraf 2020; Berger et al. 2022a; Chi and Li 2017).

The importance of QOG in enhancing bank stability is highlighted by a small number of recent studies (van Duuren et al. 2020; Saha and Dutta 2021). Therefore, this work compares the aggregate and individual components of QOG to establish a more comprehensive institutional understanding of the uncertainty-finance nexus. Additionally, it offers insights into the component level to examine how each of the QOG aspects, namely ROL, PST, GEF, COC, and RQT, impacts the relationship between EPU and FS proxies from the perspective of QOG in the EPU-FS (Z-score, NPL) nexus, probing its positive or negative impact on financial stability. As a result, this work mainly contributes to the understanding of the cross-country heterogeneity with respect to the effectiveness of EPU on FS proxies. It also adds to the literature on the Global Financial Crisis (GFC) by examining the role of QOG in mitigating the impact of EPU on FS-proxies (Phan et al. 2021). To the best of our knowledge, very few studies have examined and compared the effects of EPU on FS (Z-score, NPL) in the context of the GFC (2007–2009). We investigate how Z-score and NPL respond to deviations in EPU during the pre-2007, during-2008, and post-2009 GFC periods in this study.

Furthermore, this is the first study to look at the role of QOG in the relationship between EPU and FS (Z-score, NPL ratio) in the context of 23 countries (see country details in appendix Table 10) during the global financial crisis (pre-during, post). We investigate whether EPU has a negative impact on FS (proxy Z-score). The results show that EPU is associated with FS (proxy NPL) in the banking sector of the 23-country sample. Its impact grew significantly during the GFC (pre-during, during, and after) crises, though the effect varies depending on market and banking structure. These findings are consistent when examining various proxies for bank performance.

The rest of this study is organized as follows. Section 2 examines prior theoretical and empirical literature. Section 3 describes the study's data and methodology. Section 4 contains the empirical findings and discussion. Finally, Sect. 5 presents the study's conclusions as well as a few significant policy recommendations based on the practical outcomes of this extensive research.

2 Theoretical background

Generally, banking stability is a crucial part of FS and is considered one of the most significant components of economic growth. According to Shabir et al. (2021), the absence of a banking crisis and the individual stability of all banks result in the stability of the banking sector. Banks demonstrate stability when they provide credit and conduct normal banking operations without interruptions (Taghizadeh-Hesary et al. 2022). As a result, if the financial system is weakened due to a lack of banking stability, it eventually reduces the flow of funds and discourages entrepreneurial endeavors and overall economic activity (Rasoulinezhad and Taghizadeh-Hesary 2022), leading to financial instability. In this regard, FS can be explained as a well-functioning element of the financial sector, which includes banking institutions, intermediaries, payments, markets, clearing and reimbursement structures (Taskinsoy 2019; Phan et al. (2021);. The financial sector consists of Financial institutions, markets, and settlement mechanisms that are dependable and effective in providing intermediary financial roles to support economic growth in the face of external and internal shocks.

2.1 Literature review

In the empirical literature, several determinants of bank stability have been identified. These factors are mostly related to the banking industry or bank-specific characteristics, as well as macroeconomics, market structure, and institutional indicators. We investigate how these variables affect bank stability in greater depth. On the other hand, one of the aspects associated with economic fluctuations is EPU, which has an impact on economic activities and financial stability (Junttila and Vataja 2018). Many scholars and policymakers have been preoccupied with EPU, the GFC, and political crises in recent years. Many studies on EPU have been conducted to investigate its impact on the economy. In particular, Berger et al. (2022b), Tao and Xu (2019) and Yaya et al. (2021) created an EPU index. EPU can take the form of black swan events, uncertainty (inflation), negative GDP growth, a financial crisis, unexpected loan reductions, epidemics, rising unemployment rates, foreign exchange volatility, and significant shifts in fiscal, regulatory, and monetary policy rates (Ozili 2022; Sha et al. 2020; Taghizadeh-Hesary and Yoshino 2016; Zhang et al. 2021). Hu and Gong (2019) discovered that in response to high EPU, most banks cut credit growth to reduce risk exposure. Similarly, Phan et al. (2021) found a negative association between EPU and FS due to increased information irregularity when EPU is high. This irregularity eventually makes it difficult for lenders to recognize credit risks in turmoil. Cui et al. (2021) and Tran (2019) discovered that businesses seem to hold more cash as EPU rises.

Meanwhile, Khan et al. (2020b) identified political instability as a major factor influencing bank credit growth. In addition, Canh et al. (2020) investigated the relationships between EPU and other factors, First, a higher EPU level has a negative impact on bank credit growth, which is critical for the EPU's domestic measures. Second, the positive shift in the EPU appears to have boosted bank credit growth. The outcomes of both cases differ in terms of credit demand and supply. Third, the EPU's effects are negative and far more significant in developing economies than in advanced economies. In general, the EPU index has been used in several studies to investigate the economic consequences of EPU (Wen et al. 2021; Ozili 2022; Phan et al. 2021; Shabir et al. 2021). In addition, Tabash et al. (2022) evaluated the effects of EPU on the structure of corporate financing in Asia. Their research divided the financing source into two types of debt, namely bank loans and trade credits. In this context, Yu et al. (2022a) contends that high EPU has a negative impact on bank loans, lowering the total amount of investment required for financial stability. Similarly, Yu et al. (2022b) discovered an inverse relationship between EPU and bank financing for Chinese firms, concluding that EPU raises financing costs, reducing demand for bank financing.

Aside from EPU, the Quality of Governance (QOG) is also important for financial stability and the effective execution of the financial activity. Bakhsh et al. (2022) examined that a country’s QOG considerably influences banking sector stability, while Beck et al. (2013) argued that institutions enforcing property rights are vital for banking sector stability. Similarly, according to Hou and Wang (2016), QOG reduces the detrimental effect of banking marketization on Chinese bank stability. In addition, Bermpei et al. (2018) argued that bank capital regulation has a positive influence on bank stability in both emerging and developed countries because of good governance and corruption control. On the same line, Saha and Dutta (2021) argued that QOG has an impact on a country's contract enforcement quality and economic policies chosen by the ruling elite. Furthermore, Khan et al. (2020a, b), Saha and Dutta (2021) as well as Shabir et al. (2021) suggest that the accountability of government and bureaucracy will be strongly established in the presence of a strong QOG, acting as a deterrent/guard against confiscation. To summarize, QOG indices such as government effectiveness, corruption control, regulation quality, and the rule of law significantly reduce bank risk and contribute to financial stability.

Despite the vast amount of literature on the impact of EPU and QOG on FS, there are extremely few studies on the moderating role of QOG on the relationship between EPU and FS from the perspective of Z-Scores and NPLs in the banking industry, based on all previous discussions.

2.2 Hypothesis development

Many studies on economic policy uncertainty have been conducted to investigate its impact on the economy (Subramaniam and Loganathan 2022; Tao and Xu 2019). Previous research has gone into great detail about EPU. Economic uncertainty has been identified as having serious negative effects on the entire economy. It causes the organization to reduce its overall investments and workforce, as well as households to reduce their overall consumption. Furthermore, EPU has a negative impact on financial institutions because it reduces banks' lending capacity to organizations and households, which harms the economy. Similarly, Phan et al. (2021) found that EPU and FS have a statistically significant and negative relationship. Furthermore, it was discovered that the EPU on FS is stronger in economies with lower regulatory capital, higher competition, and a smaller financial system.

Karadima and Louri (2021) examined the effects of EPU on NPL, and concluded that EPU has a favorable influence on NPL. However, this influence is strongly moderated by bank concentration. On the same note, Ndou and Mokoena (2019) found that positive EPU shocks increase mortgage lending rate margins, while negative EPU shocks reduce bank lending rate margins. Chi and Li (2017) considered the impact of EPU on lending and bank credit risks and they found that there is a positive association between EPU and NPL, loan concentrations, and the average loan migration rate. In addition, Shabir et al. (2021) use data from several years, including the GFC, to evaluate the effect of EPU on cumulative bank credit growth. They discovered that EPU has a strong adverse influence on bank loan growth. Their findings imply that the policy uncertainty of the great recession constrains total credit growth via the bank lending channel.

While several studies have been conducted on EPU, none have examined the relationship between EPU and FS proxies (Z-score, NPL) via the moderating channel of QOG dimensions during the GFC (Pre-2007-During-2008-post-2009 period). We predict that an increase in EPU can adversely affect the Z-score and NPL. Hence, based on the literature, the following hypothesis has been developed:

H1

Economic policy uncertainty has significant and negative/positive impacts on FS (Z-score, NPL ratio).

As stated earlier, QOG is critical for banking stability and the smooth operation of the financial sector. (Shabir et al. 2021) established that a country’s QOG considerably influences the stability of the banking system, while Beck et al. (2013) argued that property rights enforcement mechanisms are critical to the stability of the financial sector. Ogbonna et al. (2022) stated that QOG plays an essential role in foreign direct investment and bringing financial stability to the country. Furthermore, better QOG in terms of control of corruption, political stability and the rule of law can help reduce lenders’ moral hazard and improve bank performance. Hou et al. (2016) suggested strengthening China's financial institutions and as a result, reducing marketization's impact on the country's financial stability. Simultaneously, Bermpei et al. (2018) found that corruption control and political stability are QOG variables that contribute to bank stability in both developing and developed economies. In general, six indicators are commonly used to assess institutional quality and governance: government effectiveness, the rule of law, voice and accountability, regulatory quality, corruption control, and political stability (Law and Azman-Saini 2012). Apart from that, QOG can also significantly impact EPU. Choi et al. (2021) found that institutional quality are two crucial factors which can decrease the adverse influence of EPU on FS. Therefore, it can play an important role in bringing financial stability. Economic policy uncertainties cause disturbances in the financial system which exacerbate asymmetric information problems. When this occurs, financial institutions are unable to effectively channel funds to those with the most profitable investment prospects. In this case, improved QOG can significantly reduce the potential inefficiencies of these asymmetric information problems. Shabir et al. (2021) and Uddin et al. (2020) found that better QOG indicators such as COC, GEF, and the ROL all make a significant contribution to mitigating bank risk, which helps to maintain stability. Schiantarelli et al. (2020) argued that PLS, COC, and ROL may reduce lenders' hostile selection and moral hazard issues, thereby improving loan repayment conditions. The impact of BRI on FS could be significant for institutions looking to improve regulatory compliance. Channels are structured to analyze the abilities of powerful institutions to reduce the opposing influence of EPU on FS when an interaction term is added. All of this demonstrates that,, governance quality is critical in mitigating the negative impact of EPU on FS proxies. The following hypothesis has been developed as a result of this:

H2

Quality of Governance has a significant and positive moderating effect on the relationship between EPU and FS (Z-score, NPL ratio).

3 Methodology

3.1 Data collection, variables and sources

Data from 1058 banks in 23 economiesFootnote 1 were gathered. 15,870 bank-specific records from 2005 to 2019Footnote 2 are included in the final sample. These economies are chosen based on their EPU index. The following study attempts to evaluate the functional governance perspective in shaping the EPU’s effect upon FS (i.e., Z-score and NPL). With respect to the conceptual framework, the primary dependent variable in this study is FS.Footnote 3 FS is mainly measured from Z-score and NPL, where several studies have utilized the variable to measure banks’ financial performance (Shabir et al. 2021). The index provided by (Baker et al. 2016) is used to measure the explanatory variable, or EPU. The other indicators which have been collected and utilized are the control variablesFootnote 4 i.e., banks indicators: bank efficiency (BEF), liquidity (LQT) and bank size (BSZ), macro level economic growth (GDP), inflation (INF), trade openness (TOP), and market structure dimensions i.e., bank concentration (BCN), bank deposit to GDP (BDT) and domestic credit to private sector (DCP). The inclusion of the control variables is necessary because this study examines how institutional environments in various nations differ, and how these differences affect how EPU, and FS-Proxies interact. The abovementioned control variables are also used in the literature (Ashraf 2020; Hu and Gong 2019). In addition, the moderating effect of the quality of governanceFootnote 5 (QOG) on the relationship between EPU and FS-proxies is also investigated. The QOG variable has been integrated through six dimensions as discussed  in (Table 1).

Table 1 Variables description and source

3.2 Variable description and measurement

3.2.1 Financial stability (FS)

Z-score Several studies have used Z-scoreFootnote 6 to measure the banking sector’s financial performance (Phan et al. 2021; Shabir et al. 2021; Beck et al. 2013; Saha and Dutta 2021; Fang et al. 2014; Shabir et al. 2021). Z-score is mathematically expressed as:

$${\text{Z - score}}_{it} = \frac{{{\text{ROA}}_{it} + E_{it} /{\text{TA}}_{it} }}{{\sigma {\text{ROA}}_{it} }}$$

ROA, return on assets, \(\frac{E}{{{\text{TA}}}}\) the ratio of equity to total assets, σROA, standard deviation of the return on assets.

3.2.2 Non-performing loan (NPL) ratio

The NPLFootnote 7 ratio (Barth et al. 2004) is used to measure FS. NPL constitute an important dimension in the banking process and is a significant source of financial vulnerability globally. Low levels of NPL ratio demonstrate a stable financial system, while high levels demonstrate a fragile financial system. Increased NPL mitigates the efficiency of the assets and inevitably contributes to the breakdown of the financial system (Barth et al. 2004; Ozili 2022).

The NPL factor refers to the non-performing to gross loans ratio. It is a credit risk indicator and an indicator of asset (or loan) reliability in the banking industry (Ozili 2022). Past research has used the NPL ratio as the proportion of bank performance, and the nondiscretionary factor of loan loss provision (Ozili 2021). Several previous empirical studies have shown that high levels of problematic loans are mainly accountable for failures (Shabir et al. 2022) as well as increased risk in the banking and financial sectors (Danisman et al. 2021). NPL is measured as follows:

$${\text{NPL}} = \frac{{{\text{Total}}\;{\text{Non - performing}}\;{\text{Loan}}}}{{{\text{Total}}\;{\text{Loans}}}}$$

3.2.3 Economic policy uncertainty (EPU)

The EPUFootnote 8 indicator represents the EPU index (Baker et al. 2016). Various studies have used the EPU index and used varying methods of measurement. Stock market volatility, or the degree of volatility in the relevant timeframes during a certain period, is used to measure it. The degree of uncertainty in news reporting, as well as in economic and governmental analyses, is another metric. In order to give investors a context for their financial decisions and to adopt a variety of economic plans for the future, this index was created and is being studied. Additionally, the Twitter program can be used to measure EPU by collecting and analyzing all tweets containing the words "economics" and "uncertainty" (Baker et al. 2016).

3.2.4 Quality of governance (QOG)

Higher uncertainty in the host country discourages financial development through a real option value channel. This mechanism should be strengthened when the host country’s government is politically unstable (or less stable) and unpredictable compared to others. We consider six dimensions of QOGFootnote 9 to analyze the part QOG plays in reducing the negative effects of EPU on FS-proxies. To prevent multicollinearity that could arise from modeling the six indicators in a single equation, this work uses the aggregate role of QOG rather than the average of the six indicators (Saha and Dutta 2021; Shabir et al. 2021). Instead, a composite QOG is generated through the principal component analysis (PCA). This is similar with Khan et al. (2020a, b), Shabir et al. (2021) and Ogbonna et al. (2022). This method confirms that the individual indicators are translated into linear combinations that explain a significant portion of their variation.

3.3 Threshold regression

Considering the latest studies on the threshold effect of QOG on several economic indicators (Khan et al. 2020a, b; Saha and Dutta 2021), this work adopts panel threshold regression approach (Hansen 2000) to explore the threshold effect of QOG on the relationship between EPU and FS (Z-score, NPL). The panel threshold estimator is widely used in various ways based on the desire to determine the level of thresholds.

3.4 Data analyses techniques

The empirical framework of this study is based on financial stability (FS) as the dependent variable, EPU as the explanatory indicator, and governance quality as the moderating variable (QOG). As control indicators, we also used gross country, bank, and market structure variables. The framework or functional form of our model is described below.

$${\text{FS}}_{ijt} = \smallint \left( {{\text{EPU}}, {\text{GQ}}, {\text{COUNTRY}}, {\text{BANK}}, {\text{MARKET}}} \right)$$
(1)

where in Eq. 1, EPU, GQ, COUNTRY, BANK, MARKET represent economic policy uncertainty, country, bank, and market structure control variables, respectively.

We used a log-linear formulation instead of a linear formulation for the empirical investigation and converted all parameters to natural logarithms because it provides a more reliable and consistent result. A log-linear representation of the functional form of financial stability is shown below Eq. 2:

$$\ln {\text{FS}}_{ijt} = \alpha_{0} + \beta_{1} \ln {\text{EPU}}_{iJt} + \beta_{2} {\text{GQ}}_{iJt} + \beta_{3} {\text{COUNTRY}}_{Jt} + \beta_{4} {\text{BANK}}_{it} + \beta_{5} {\text{MARKET}}_{Jt} + \emptyset_{J} + \lambda_{t} + \mu_{I} + \varepsilon_{it}$$
(2)

In the above model, \(ln\) is the natural log, t = 1-T, j = 1-J and i = 1-N, where J reflects the number of countries, N component refers to several individual banks, T refers to the time, while α, β, δ are considered as the estimated parameters. \(lnFS\) (Z-Score, NPL) is the dependent variable which is measured through Altman Z-score. The study by Shabir et al. (2021) also used the average of monthly EPU index in the form of the natural logarithm.

Furthermore, this study suggests that governance quality (QOG) may play a moderating role in addition to its direct effect on financial stability in different countries. As a result, this paper investigates QOG's conditioning role in the association between EPU and FS-proxies. To investigate the conditioning role of QOG*EPU on FS empirically, a new model is developed by including an interaction effect in Eq. (34), as shown below.

$${\text{FS}}_{ijt} = \smallint \left( {{\text{EPU}}, {\text{QG}}, {\text{EPU*GQ}},{\text{COUNTRY}}, {\text{BANK}},{\text{MARKET}}} \right)$$
(3)
$${\text{FS}}_{ijt} = \alpha_{0} + \beta_{1} {\text{EPU}}_{iJt} + \beta_{2} {\text{EPU}}_{ijt} *{\text{GQ}}_{ijt} + \beta_{3} {\text{COUNTRY}}_{Jt} + \beta_{4} {\text{BANK}}_{it} + \beta_{5} {\text{MARKET}}_{Jt} + \emptyset_{J} + \lambda_{t} + \mu_{I} + \varepsilon_{it} .$$
(4)

In Eq. (34) \({\mathrm{EPU}}_{ijt}*{\mathrm{GQ}}_{ijt}\) represents the interaction effect of governance quality perspective.

3.5 Two-step system-GMM (SYS-GMM) and two-step sequential estimation of liner panel data model (SELPDM)

The study employs dynamic SYS-GMM method (Arellano and Bond 1991) that Blundell and Bond (1998) extended. The SYS-GMM method considers the possibility of endogeneity, and it works better for panel data with fewer time observations. Thus, dynamic techniques have been extended to empirical research, as they produce consistent empirical results over a large cross-sectional dimension (N) and a finite number of periods (T). However, uncorrected standard errors may still occur frequently in the two-step GMM estimator, despite its efficiency (Windmeijer 2005). this issue is tackled through a novel approach (i.e., SELPDMFootnote 10’developed by Kripfganz (2017)). The traditional standard errors are no longer accurate in the SELPDM technique when the residuals from the first stage are regressed on another set of (often time-invariant) explanatory variables in the second stage. We perform the Hansen J-test of over-identifying restriction and the Arellano-Bond tests AR (1) and AR (2) for autocorrelation to assess the validity of the selected instruments. The dynamic model incorporates a period lag for the dependent component (bank stability) and assumes the following form:

$$\ln {\text{FS}}_{ijt} = \alpha_{0} + \beta_{1} \ln {\text{EPU}}_{ijt} + \beta_{2} \ln {\text{FS}}_{ijt - 1} + \beta_{3} {\text{GQ}}_{ijt} + \beta_{4} {\text{COUNTRY}}_{jt} + \beta_{5} {\text{BANK}}_{it} + \beta_{6} {\text{MARKET}}_{jt} + \emptyset_{j} + \lambda_{t} + \mu_{I} + \varepsilon_{it}$$
(5)

We estimate Eq. (5) using a dynamic panel data based on the two-step GMM method as a benchmark. We then check the robustness through the SELPDM approach.

4 Empirical results and discussion

4.1 Descriptive statistics

Table 2 displays descriptive statistics for the key indicators. The dataset is broken down into mean, dispersion, minimum, and maximum values. The mean FS as measured by Z-score is 5.211. According to the mean value of FS, the banking sector in the sample economies is generally stable. According to Altman and Hotchkiss (2006), a bank with a Z-score of less than 1.8 is more likely to fail, whereas a score of 3 or higher indicates stability. The Z-score standard deviation is calculated to be 1.191, implying that the Z-score will deviate from 5.191. The Z-minimum scores and maximum values are 2.489 and 11.162, respectively. The NPL data varies from − 4.092 to 9.097; the mean value is 1.323 with SD 0.658 which has greatly increased during pivotal times and major financial shocks. On the other hand, EPU index varies from 24.018 to 210.932, with an average of 14.863. This indicates that this index has risen dramatically across the global financial crisis. The average QOG is 2.715 which ranges from 0 to 26, with a SD of 2.093. Similarly, macro level, bank level, and market structure control indicators also demonstrate significant variance around the sample means.

Table 2 Descriptive statistics

Table 3 summarizes the correlation study and multicollinearity test, which show how the variables are related. The coefficient values between the parameters are minimal, indicating that no multicollinearity issues exist. The variance inflation factor (VIF) and tolerance level analysis are used to validate the absence of multicollinearity. The VIF value must be less than ten, and the tolerance should be greater than 0.1. The study's findings revealed that the equation did not exhibit multicollinearity. As shown in Table 3, all of our indicators meet the VIF requirements, and the tolerance level of all parameters in our findings indicates the absence of multicollinearity

Table 3 Correlation matrix, and test for Multicollinearity

4.2 System- GMM

According to Jianguo et al (2022), two step SYS-GMM is primarily used for panel data and to mitigate various problems such as heterogeneity, endogeneity, and others. Furthermore, it is preferred to be used in cross-sectional panel data; thus, the system GMM model is used as a tool for assessing the effects of EPU on FS-proxies.

4.2.1 Regression results

Table 4 displays the system GMM estimation from Eq. (5), with the Z-score and NPL ratio serving as FS proxies in columns (1–5) and (6–10), respectively. The empirical results of the regression analysis based on the twostep SYS-GMM approach of the impact of EPU on the Z-score are provided in Table 4, columns (1–5), and show that EPU has a significant and negative effect on the Z-score. Our findings are consistent across all five model specifications. In other words, we investigated whether an increase in EPU leads to a decrease in Z-score across the 23 countries. We note that our result is statistically significant at the 1% level in the context of columns 1–3. A high Z-score value is thought to indicate that banks are less likely to fail, whereas a negative Z-score regression coefficient indicates that banks are more likely to fail as EPU increases.

Table 4 The Impact of EPU and QOG on FS-Z-Score (Two-step system GMM estimations)

In addition, regardless of whether country or bank data is used, the coefficient of EPU on NPL is positive and statistically significant in columns 6–10. Overall, the EPU has a significant economic impact on FS. According to one definition, increasing uncertainty in the unit standard deviation contributes to a decrease in the FS. As anticipated by previous research and theoretical models (Karadima and Louri 2021; Phan et al. 2021; Shabir et al. 2021; Vural-Yavaş, 2020), a rise in EPU will have a negative impact on bank stability. The EPU has a statistically and economically significant negative effect on FS. In our study, we also examined the impact of EPU on the NPL ratio, which shows that the NPL ratio is statistically significant and positively affected by the EPU across all columns (6–10), indicating that the EPU reduces lenders' willingness or capacity to repay their loans. A higher EPU promotes stock market and currency devaluation, which boosts firm's costs for external finance and bank loans (Ashraf 2020), resulting in lower investment (Gulen and Ion 2015), increased volatility in financial flows and asymmetric information between enterprises and lenders (Brogaard and Detzel 2015).

We used the most relevant principal components analysis (PCA) of the overall quality of governance index to determine QOG's moderating role. In Models (2)–(5), the positive relationship between institutional quality and Z-score is generally recognized at 1% significance levels, whereas for NPL, QOG is statistically and positively significant at 1% in columns (6)–(8). (10). According to our findings, FS is highly correlated with non-performing loans at banks with low QOG. This demonstrates that improving QOG in terms of ROL, PST, COC, GOE, and RQT leads to greater financial stability. Good QOG can reduce moral hazard issues and adverse lender selection, improve lending conditions, and ensure loan payback (Khan et al. 2020a, b; Shabir et al. 2021).

Our empirical findings also look into the significance of control variables. We discovered that, regardless of the use of macro-level indicators such as GDP, the EPU has a negative and weak influence on Z-scores, while having a negligible positive impact on NPL. The empirical evidence suggests that GDP growth has a negative impact on FS. As economic uncertainty increased, investors postponed future investments. This eventually leads to a negative shock to output, which causes economic growth to slow. Our findings are in line with previous research (Boulanouar et al. 2021; Wen et al., 2021). Furthermore, TOP has a positive impact on FS-proxies. Furthermore, the consumer price index (annual percentage) is used as a proxy for inflation, with a negative impact on the Z-score but a positive impact on the NPL. Furthermore, lower inflation rates increase customers' purchasing power, resulting in higher spending. During low-inflation periods, banks' cash flow improves, increasing their liquidity and assisting them in avoiding unexpected losses. In essence, an inverse relationship has been discovered between INF and FS-proxies. This is consistent with previous studies by Khan et al. (2020a, b) and Shabir et al (2021, 2022). Banking sector efficiency (BEF) refers to the use of several efficiency measures in the banking industry, such as return on assets, return on equity, and net interest margin, in terms of bank control indicators. Given the possibility of significant interaction among such ratios, we use PCA to generate an efficiency index based on the efficiency ratios chosen. Consistent with (Shabir et al. 2021; Phan et al. 2021), our findings indicate that banking sector efficiency has a positive or negative impact on bank stability.

In terms of liquidity, we discovered that liquidity has a negative but insignificant effect on bank stability. Our findings suggest that large, profitable, well-capitalized banks and institutions with larger portfolio structures improve bank stability and mitigate the negative impact of EPU on bank risk. At the same time, the bank size coefficient is both positive and statistically significant. This implies that a larger bank is more financially secure than a smaller bank. The results are also consistent with Al-Shboul et al. (2020) and Shabir et al. (2021). Furthermore, when market structure factors such as bank concentration (BCN) and bank deposit to total assets (BDP) are considered, both indicators have statistically significant and positive effects on Z-score in columns 1 and 4 and NPL in columns 2 and 5. This positive influence indicates that competition promotes financial stability. Finally, we find that DEP has a statistically insignificant influence on FS. Our findings back up previous research on the relationship between FS and market structure (Phan et al. 2021; Yin 2019). The Hansen J statistic demonstrates that the issue of over-instrumentation has been mitigated. Furthermore, the results of the Arellano-Bond test (AR2) show that there is no second-order autocorrelation.

4.2.2 The moderating of governance quality: QOG*EPU on Z-Score and QOG*EPU on NPL ratio

Table 5 shows the regression results with the QOG interaction term to investigate the role of governance in the EPU-FS (Z-Score, NPL) nexus. We use all possible interactions between aggregated and disaggregated QOG indicators. We discovered a positive relationship between QOG and the FS in the overall effect of GOQ-Z-Score (Z-score). The effects of the governance adjustment are responsible for the significant negative relationship between EPU measures and FS. With a value of 5%, the EPU coefficient is negative and significant when the conditioning role is introduced. A spike in uncertainty results in a statistically significant drop in Z-Score. Furthermore, the individual moderating effect of QOG dimensions, as well as the positive and statistically significant coefficient of the interaction term between EPU and the government stability measure, imply that a more stable government can reduce the negative effect of uncertainty on FS. Columns (1), (2), (3), and (5) show the results of a similar analysis in which the role of law is replaced by the quality measures of political stability, government effectiveness, and regularity. While the individual effect of COC is positive in column (5), the interaction term coefficient of COC*EPU-FS is negative. Furthermore, the results show that there is significant moderation of QOG over the relationship between EPU and Corruption Control.

Table 5 Moderation role of QOG*EPU on FS-Z-score

According to the table, the EPU has a statistically significant and positive influence on the NPL ratio across all models, indicating that the EPU reduces lenders' ability to pay off their loans while demonstrating an inverse relationship between NPL and QOG. The output of the SYS-GMM approach was tested by measuring the lagged dependent indicator of the SYS-GMM result. We observe that once institutional quality is regulated, the positive relationship between EPU measures and the NPL ratio remains stable. If an interaction concept is introduced, the channels are intended to observe the ability of good governance to reduce the positive influence on EPU's NPL. At 5%, the EPU coefficient is positive and significant. This implies that QOG is vital in reducing the positive impact of EPU on the NPL ratio.

4.3 Panel threshold analysis

In Table 6, we investigate the role of QOG as a threshold in the relationship between EPU-FS. We investigate the impact of overall QOG and its various dimensions (i.e., ROL, PST, GEF, COC, and RQT) on the relationship between EPU and FS-proxies. Hansen's (2000) panel threshold regression technique was used, and the results are shown in Table 6. The statistical significance of the threshold is determined using the Hansen (2000) bootstrap technique with 500 replications and a 10% trimming percentage. In the EPU-FS relations, we established a single significant threshold for the aggregate QOG and its dimensions (i.e., ROL, PST, GEF, COC, and RQT), as shown in the first row of Table 5. We specifically looked at threshold values of 6.00, 4.00, 5.00, 6.04, 3.06, and 7.23, which are significant at the 1% level for QOG, ROL, PST, GEF, COC, and RQT, respectively. This implies that the effect of EPU on FS is significantly negative only after a certain level of QOG is reached. The threshold impact of QOG on the link between EPU and FS is confirmed as a result of these findings.

Table 6 Panel threshold results

Furthermore, we divided our sample into poor QOG, ROL, PST, GEF, COC, and RQT regimes (when QOG and its indicators, i.e., ROL, PST, GEF, COC, and RQT scores less than or equal to the threshold) and better QOG, ROL, PST, GEF, COC, and RQT regimes (when QOG and its indicators, i.e., ROL, PST, GEF (when QOG and its dimension i.e., ROL, PST, GEF, COC and RQT scores is greater than the threshold). We re-estimated our models for each subsample using the same settings as before to test the robustness of our determined threshold. According to the findings, effective QOG is critical in minimizing the negative effects of EPU on FS. As the QOG improves, the negative impact diminishes. Our findings are consistent with those of (Khan et al. 2020a, b; Shabir et al. 2021), who found that stronger QOG and an effective institutional environment are critical for fostering significant financial development, boosting economic growth, and improving banking system stability. As a result, we discovered strong evidence of the threshold impact of QOG on the EPU and FS relationship in cross-country analyses. As a result, regulators and policymakers should establish and maintain QOG levels above the stated threshold to avoid the negative effects of EPU on FS.

4.4 Global financial crises (GFC-2007–2009)

The banking sector is vulnerable to a number of risks, which could lead to a global financial crisis. Table 7 investigates and analyses whether EPU has a different impact on bank stability before, during, and after the GFC. We replicate the prior findings of Khan et al. (2020a, b); Phan et al. (2021) and Shabir et al. (2021). We divided our entire sample into three subsample periods in this regard. (That is, before the GFC in 2007, during the GFC in 2008, and after the GFC in 2009). We believe that our findings are resistant to the effects of the GFC. Many studies have found that the GFC had an impact on FS (Phan et al. 2021; Shabir et al. 2021). After adjusting for the effects of the GFC, we discovered that the direction, statistical significance, and economic significance of the EPU's impact remained constant in Table 7. These findings show that EPU has a consistent negative impact on financial stability across all three subsamples (post, during, and before the GFC), with the effect being especially strong during the GFC. The post-GFC environment amplifies the negative effects of EPU on FS. One of the primary causes of this devastation is a decline in the availability of sufficient capital and bank liquidity to absorb potential losses. This downturn is attributed to the increased loan defaults due to the declined cost of commercial and residential property (Rosman et al. 2014).

Table 7 Global financial Crises (GFC, 2007–2009)

Post-adjustment adjusting GFC findings (using country level data). We add a dummy indicator for the GFC effects in the estimated model. The entire sample period is categorized into three subsample groups (i.e., pre-2007, crisis-2008, and post-2009). The robust t-statistics are reported in the parenthesis. *, **, *** 10%, 5% and 1% significance, respectively.

4.5 Robustness with alternative methods

This section investigates the robustness of our preliminary results using a variety of relevant extensions to validate the results of the EPU, QOG, Z-score, and NPL ratio and to confirm the accuracy of the Sys-GMM stated in Tables 4 and 5. Tables 4 and 5 show the results of our SYS-GMM model, while Tables A-1 and A-2 in the Appendix show the results of our SELPDM (for robustness purposes). All AR (2) and Hansen tests are not statistically significant, indicating that our findings are trustworthy and unbiased (Roodman 2006).We also follow the latest similar research (Bermpei et al. 2018; Phan et al. 2021; Saha and Dutta 2021; Shabir et al. 2021).

We use country-level indicators to test the robustness because Z-Score estimation and NPL are dependent on country-level variables. In Tables 4 and 5, we evaluate our model using data from macroeconomic indicators to back up our previous findings. Overall, the findings in Table 8 are consistent with those in Tables 4 and 5. Our robustness tests show that our significant results are consistent. The robustness tests back up our main findings. As a result, the results show that the FS, EPU, and QOG are resistant to different regression specifications.

We reported index instance of QOG for the second robustness check as an alternative measure of QOG indicator, and our main findings are consistent as evidence in Table 9. We use PCA to combine the five QOG dimensions (ROL, COC, GEF, ROQ, and PST) into a single QOG index. This is consistent with the results of the robustness test performed by (Khan et al. 2020a, b). The significance of the sources of heterogeneity is related to the impact of various forms of QOG on bank stability. Table 9 displays the PCA estimation results. in line with those of (Dutta and Saha 2020; Khan et al. 2020a, b). Our findings show that adequate governance quality and an institutional environment are critical for promoting economic development and the stability of the banking sector. The robustness tests validated our main findings, indicating that QOG is a significant moderating variable in the relationship between EPU and FS (Z-score, NPL).

5 Conclusion and policy recommendations

The EPU index is currently a hot topic among policymakers worldwide, as they seek to protect their financial markets and banking systems from the numerous shocks (expected and unexpected), black swan events (unforeseen events) when investing in diverse assets around the world. This work investigates the relationship between EPU and Financial Stability (FS) (i.e., Z-scores and non-performing loans (NPL)) with the mediating variable of governance quality through a 23-country panel data from 2005 to 2019.

Essentially, our findings show that EPU has a significant and negative influence on FS (as measured by Z-score), while it has a significant and positive influence on FS (proxied by NPL ratio). This demonstrates that during periods of significant EPU, banks' asset allocation decreases while their risk aversion increases. Government effectiveness, political stability, and regulatory stability all have a significant and positive impact on the moderating effect. Empirical evidence suggests that QOG can be used to mitigate the negative impact of EPU on FS-proxies. Because many countries have weak institutions, their financial stability will be jeopardized as economic uncertainty rises. As a result, the region's economies must strive for economic stability while maintaining good governance. Without stronger governance, economic stability cannot guarantee financial stability.

Our research findings have significant policy implications. Policymakers must recognize the importance of improved QOG measures in attracting financial stability based on successful government policies. Our research also helps to shape appropriate policies for preserving financial stability and mitigating the negative effects of EPU on FS-proxies. The government should be aware of how frequent regulatory initiatives can impact bank risk at the macro and market structural levels. However, at the bank level, these risk assessment factors can also help financial managers develop appropriate policies to understand how banks respond to EPU. The implications of this research are also important for financial analysts and policymakers because they will be able to determine the effects of EPU on countries' FS. Furthermore, financial managers should pay closer attention to EPU shocks, which are expected to occur more frequently following the COVID-19 pandemic due to increased inflation as a result of supply disruptions in the global economy, leading to increased uncertainty in the market, government policies, and regulatory framework. Furthermore, as a result of the increased EPU shocks, financial managers must update their credit risk management indicators more consistently in response to anticipated and unexpected changes in economic policies. When lending to lenders in the real economy, lenders must strike a balance between profitability and acceptable risk-taking.

Although this work adds significantly to the small pool of literature on the subject, it has its own limitations. The EPU index is only available to major developed economies and not to developing economies. Furthermore, the EPU index does not consider other factors that may have an impact on EPU, such as general elections, trade conflicts, and the oil price crisis. Finally, due to linguistic differences, the EPU index is primarily based on text-searching newspaper articles, which may raise concerns about comparability when studying EPU in different economies.