Introduction

Since the advent of the financial crises in 2008 and the subsequent European sovereign debt crisis, attention has been focused on sustainability of public debt in the Eurozone, particularly in what are referred to as peripheral countries. There is no consensus in the theoretical literature on what role fiscal deficits play in creating internal and external equilibrium in an economy that will eventually manifest in current account deficits. Thus, this question must be evaluated empirically. Collignon (2012), Ahmad and Fanelli (2014), Papadopoulos and Sidiropoulos (1999), De Castro and De Cos (2008), Trachanas and Katrakilidis (2013), Arghyrou and Luintel (2007), Bajo-Rubio et al. (2009), Legrenzi and Milas (2012), Afonso and Jalles (2017), Paniagua et al. (2017), Brady and Magazzino (2018), Constâncio (2020), Wysocki and Wójcik (2021), and Albu and Albu (2021) are among the empirical works that examined fiscal sustainability in the Eurozone, but reported contradictory results.

The twin-deficits hypothesis posits that a continuous budget deficit puts more strain on the current account deficit. Empirical exploration of the theoretical relationship of the twin deficits started in the 1980s when the United States (U.S.) (under the administration of President Reagan) experienced huge government deficits and external balances. Due to these simultaneous increases, many researchers attributed a large part of the deteriorating external balance of the U.S. during the period to the advent of huge government deficits, leading to a wide range of empirical investigations in many countries. However, the results remained inconclusive for many reasons. For example, the methodology used to analyse the relationship varied from well-specified theoretical models to using simple one-to-one relationships between the budget deficit and current account deficit, as well as the use of different sample periods.

Due to the inconclusive results reported by both the theoretical and empirical literatures, it is imperative to re-examine the issue using a different methodology. The literature agrees that fiscal policy can exhibit nonlinearity due to its sensitivity to political decisions. This paper undertakes this analysis using data from Greece, Ireland, Italy, Portugal, and Spain (GIIPS) using nonlinear techniques. These economies represent a litmus test to examine the dynamic causal relationship of the twin deficits, due to their huge government deficits and external deficits, as well as increases in their public debt in recent times.

The existing research on the twin-deficit hypothesis in the GIIPS countries has focused mainly on a linear causal relationship and ignored the possibility of a nonlinear causal relationship. A major gap in the literature remains regarding the twin-deficit relationship for these economies. The first main contribution of this paper is that the study conducts a battery of unit root tests, including the Ng-Perron test (NP) (Ng & Perron, 2001), which can overcome problems associated with traditional Augmented Dickey-Fuller (ADF) (Dickey & Fuller, 1979), Phillips and Perron (PP) (1988), and Kwiatkowski et al. (KPSS) (1992) unit root tests. The Ng-Perron unit root tests correct for size distortions in the presence of negative serial correlation and also have a relatively higher power to detect the level of integration compared to traditional unit root tests. Second, the study examines the causal relationship using two different types of parametric causality tests, the pairwise Granger causality test and the Toda-Yamamoto causality test. Third, the study examines not only linear, but also nonlinear, causality between government deficits and external deficits in the GIIPS countries. In addition, the nonlinear test of Brock et al. (1996) (hereafter BDS) was conducted, but using the nonparametric methodology of Diks and Panchenko (2006), which rectifies the potential over-rejection that tainted the non-linear Granger causality test of Hiemstra and Jones (1994). The empirical findings confirm the presence of a nonlinear causal relationship for twin deficits with causality running from trade balances to government deficits in Greece and Italy, a non-linear unidirectional causality from government deficits to trade balance in Portugal, and a non-linear bidirectional causality between trade balances and government balances in Ireland and Spain.

Stylized Facts

The five countries in this study are Greece, Ireland, Italy, Portugal, and Spain. The main variables (the fiscal, current account, and trade deficits) are all expressed as a percentage of gross domestic product (GDP). Table 1 and Figs. 1-3 provide an overview of the fiscal and external balances for the sample period (1980–2020). A comparison of the mean values of the current account deficits and trade deficits shows that the trade deficits are greater than the current account deficits in Greece, Portugal, and Spain. This implies that trade changes are crucial to their current account deficits.

Table 1 Descriptive Statistics, GIIPS, 1990Q1-2020Q1
Fig. 1
figure 1

GIIPS Fiscal Deficits, 1980:Q1–2020:Q1. Source: Datastream Databank (Refinitiv, 2020)

Fig. 2
figure 2

GIIPS Current Account Balances, 1980:Q1–2020:Q1. Source: Datastream Databank (Refinitiv, 2020)

Fig. 3
figure 3

GIIPS Trade Balances, 1980:Q1–2020:Q1. Source: Datastream Databank (Refinitiv, 2020)

The fiscal deficits in all the countries in the sample are lower than the 5% critical value, except in Greece where the fiscal deficit is greater than the 5% critical value (Fig. 1). The major reason for this was that Ireland had a surplus between 2003 and 2007 and Spain had a surplus between 2005 and 2007. Both countries later returned to deficits. In the period from 2008 to 2020, all the countries recorded higher deficits. This can be traced to the global recession, macroeconomic instability, and uncertainties due to the European sovereign debt crisis from which the GIIPS countries suffered more than the core Euro countries, such as Germany and France. The deficits imply that when spending exceeds revenue, an increase in public debts will occur.

Figure 2 shows that in Italy and Ireland, the current account deficits were greater than the trade deficits on average, implying that these two countries are net exporters of goods and services. Thus, it can be concluded that higher liabilities abroad are the main cause of the increase in the current account deficits. The highest trade deficits were recorded in Greece, representing about 64% of GDP in the second quarter of 1981 (Fig. 3). This implies that total imports were greater than total exports, and thus Greece is a net importer of goods and services.

Methodology

Parametric and Linear Causality

Consider two variables changing over time, Xt and Yt. Linear Granger causality predicts whether past values of Xt have significant linear predictive power for current values of Yt given past values of Yt. If so, Xt is said to linearly Granger cause Yt. Bidirectional causality exists if Granger causality runs in both directions.

The test for linear Granger causality between government balances and external balances involves the estimation of the following equations in a vector autoregressive (VAR) framework:

$$ {FD}_t=\sum \limits_{i=1}^{\rho_1}{\propto}_i\Delta {FD}_{t-i}+\sum \limits_{j=1}^{\rho_2}{\beta}_j{CAB}_{t-j\kern0.5em }+{\varepsilon}_{1t}\kern0.5em ,\mathrm{and} $$
(1)
$$ {CAB}_t=\sum \limits_{i=1}^{\rho_3}{\delta}_i{CAB}_{t-i}+\sum \limits_{j=1}^{\rho_4}{\varphi}_j{FD}_{t-j\kern0.5em }+{\varepsilon}_{2t}\kern0.5em . $$
(2)

FDt and CABt are, respectively, the government fiscal balance and external balance. α, β, δ and φ are the parameters to be estimated. (ε1, ε2) are zero-mean error terms with a constant variance-covariance matrix. The optimal lag lengths are determined using the information criterion.

Linear causal relationships are inferred from Eqs. (1) and (2). To test for linear Granger non-causality at specific lags, the statistical significance of the individual β and φ coefficient estimates were examined. Furthermore, the study tested for cumulative linear Granger non-causality by testing the null hypothesis that Σβj = 0 in Eq. (1) or Σφj = 0 in Eq. (2) using a t-statistic.

The appropriate lag selection for the Toda-Yamamoto Granger causality test follows the rule of thumb that the number of lags should be (k + dmax), where K is the chosen lag and dmax is the maximum order of integration of the series. Thus, an extra lag is added to the Toda-Yamamoto Granger causality because the highest order of integration of the series is I(1).

The Brock et al. (1996) (BDS) test assumes the correlation integral as well as the spatial estimator of probabilities across time (Grassberger & Procaccia, 1983). It tests the identically and independently distributed error term (i.i.d) assumption of the time series. The BDS test is based on the null of linearity with the alternative of nonlinearity. Thus, rejection of the null indicates a nonlinear relationship.

Given an m-dimensional time series Xt and its observations (Xt, Xt−1, Xt−2, ..., Xm−1), the correlation integral can be represented as:

$$ {C}_m\left(T,e\right)=\sum \limits_{t=1}^{T_{m-1}}\sum \limits_{s=t+1}^{T_m}I\left({X}_t^m,{X}_s^m,e\ \right)\cdotp \frac{2}{T_m\left({T}_m-1\right)}I\left({X}_t^m,{X}_s^m,e\right)=\left\{\begin{array}{cc}1,& \left\Vert {X}_t^m,{X}_s^m\right\Vert \kern0.5em <e\\ {}0,& otherwise\kern2.25em \end{array}\right\}\cdotp $$
(3)

\( \left\Vert {X}_t^m,{X}_s^m\right\Vert \) is the Euclidian distance between \( {X}_t^m \) and \( {X}_s^m \). Tm is the sample size and T can be divided into Tm sub-samples of m-dimension vectors. The correlation integral measures the fraction of data (\( {X}_t^m,{X}_s^m\Big) \) that are within a maximum norm distance of e. Thus, the BDS test statistic, which follows a standard normal distribution, is given as:

$$ {W}_m\left(T,e\right)=\frac{\sqrt{T}\ \left[{C}_m\left(T,e\right)-{C}_1{\left(T,e\right)}^m\right]}{\sigma_m(e)}\kern1em , $$
(4)

where T is the sample size and σm is the standard deviation.

To estimate the BDS statistics, this study followed Brock et al. (1996) where the ε is set to between 0.5–1.5 times the standard deviation of the actual data, and m is set in line with the number of observations available (for example, m ≤ 5 for T ≤ 200).

Nonparametric and Non-linear Causality

The study used the nonparametric test developed by Diks and Panchenko (2006) (DP test) for testing nonlinear Granger causality. This test is better because it overcomes the over-rejection issue observed in the previously popular test advocated by Hiemstra and Jones (1994) (HJ test). The general setting for this approach is summarized as follows. The null hypothesis for the Granger test for non-causality from one series (Xt) to another series (Yt) is that \( {X}_t^{\mathit{\ell x}} \) does not contain additional information about Yt+1. That is,

$$ {H}_0={Y}_{t+1}\left|\left({X}_t^{\mathit{\ell X}};{Y}_t^{\mathit{\ell Y}}\right)\sim {Y}_{t+1}\right|{Y}_t^{\mathit{\ell Y}}\kern0.5em . $$
(5)

For a strictly stationary bivariate time series, such as Eq. (3), it comes down to a statement about the invariant distribution of the (X+Y+1)-dimensional vector \( {W}_t=\left({X}_t^{\mathit{\ell X}},{Y}_t^{\mathit{\ell Y}},{Z}_t\right) \) where Zt = Yt+1.To keep the notation compact, and to emphasize that the null hypothesis is a statement about the invariant distribution of \( \left({X}_t^{\mathit{\ell X}},{Y}_t^{\mathit{\ell Y}},{Z}_t\right) \), the time index is dropped and X = Y = 1 is assumed. Hence, under the null, the conditional distribution of Z given (X,Y) = (x,y) is the same as that of Z given Y = y. Further, Eq. (3) can be restated in terms of ratios of joint distributions. Specifically, the joint probability density function, fX,Y,Z(x,y,z), and its marginals must satisfy the following relationship:

$$ \frac{f_{X,Y,Z}\left(x,y,z\right)}{f_Y=(y)}=\frac{f_{X,Y,}\left(x,y\right)}{f_Y=(y)}.\frac{f_{Y,Z}\left(y,z\right)}{f_Y=(y)}\kern0.5em . $$
(6)

This explicitly states that X and Y are independent, conditional on Y = y for each fixed value of y. Diks and Panchenko (2006) showed that this reformulated H0 implies:

$$ q=E\left[{f}_{X,Y,Z}\left(X,Y,Z\right){f}_Y(Y)-{f}_{X,Y}\left(X,Y\right){f}_{Y,Z}\left(Y,Z\right)\right]=0\kern0.5em . $$
(7)

Let \( {\hat{f}}_w(Wi) \) denote a local density estimator of a dw-variate random vector W at Wi defined by \( {\hat{f}}_w(Wi)={\left(2{\mathcal{E}}_n\right)}^{-{d}_w}{\left(n-1\right)}^{-1}\Sigma jj\ne iIi{j}^w \) where Iijw = I(‖Wi − Wj‖ < εn) with I(.) the indicator function and εn the bandwidth, depending on the sample size n. Given this estimator, the test statistic is a scaled sample version of q in Eq. (5):

$$ {T}_n\left({\varepsilon}_n\right)=\frac{n-1}{n\left(n-2\right)}.\sum \limits_i\left({\hat{f}}_{X,Z,Y}\left({X}_i,{Z}_i,{Y}_i\right){\hat{f}}_Y\left({Y}_i\right)-{\hat{f}}_{X,Y}\left({X}_i,{Y}_i\right){\hat{f}}_{Y,Z}\left({Y}_i,{Z}_i\right)\right). $$
(8)

For X = Y = 1, if \( {\varepsilon}_n={Cn}^{-\beta}\left(c>0,\frac{1}{4}<\beta <\frac{1}{3}\right) \), then Diks and Panchenko (2006) proved under strong mixing that the test statistic in Eq. (6) satisfies:

$$ \sqrt{n}{\frac{T_n\left({\varepsilon}_n\right)-q}{S_n}}_{\to}^DN\left(0,1\right)\kern0.5em , $$
(9)

where \( _{\to}^D \)denotes convergence in distribution and Sn is an estimator of the asymptotic variance of Tn(.).

Empirical Results

Data and Unit Root Test Results

This study focuses on the GIIPS countries. Quarterly data from 1980:1 to 2020:1, consisting of government balance as a percentage of GDP, current account balance as a percentage of GDP, and the trade balance as a percentage of GDP for all countries were used. The data were sourced from the Datastream Databank (Refinitiv, 2020).

The series is subjected to several unit root tests to determine the level of integration. The ADF (1979), PP (1988), KPSS (1992), and NP (2001) tests were used. The Schwartz Information Criterion (SIC) was used to ascertain the appropriate lag lengths for the unit root tests. The results are reported in Table 2.

Table 2 Unit roots, GIIPS, 1980Q1–2020Q1

The ADF, PP, and NP tests have the null hypothesis of a unit root while the KPSS test has the null of stationarity. The results in Table 2 show that the null of the unit root cannot be rejected for most series in levels as the unit root test statistics are less than the critical values of −3.99, −3.43 and − 3.13 at the 1%, 5% and 10% levels of significance, respectively. However, all series were stationary in their first difference at the 5% level of significance as indicated by the test statistics which are greater than the critical values at all the conventional significance levels. Therefore, the series are nonstationary I(1).

Parametric Causality Test Results

Two parametric causality tests, the Granger causality test and Toda-Yamamoto causality test discussed previously, were used. The relationship between the trade balance and the budget balance, and the relationship between the current account deficits and the fiscal deficits were tested. For each of the relationships, four probable hypotheses were tested. First, changes in the external balance Granger cause changes in fiscal deficits. Second, changes in fiscal deficits Granger cause the external balance. Third, a feedback causality between external balance and fiscal balance exists. Fourth, there is no feedback causal relationship between the fiscal balance and the external balance. The Granger causality test shows that the movement of one variable is followed by that of another variable (Brooks, 2008).

Table 3 reports Granger causality results which indicate the absence of either a unidirectional or bidirectional relationship between trade deficits and fiscal deficits as well as between current account deficits and fiscal deficits for Ireland and Italy. However, there is evidence of unidirectional causality from fiscal deficits to current account deficits in Greece and Spain, and unidirectional causality from fiscal deficits to the trade balance in Portugal and Spain. These findings are consistent with the ones reported by Ahmad et al. (2015). In addition, there is evidence of unidirectional causality from the current account balance to fiscal deficits in Portugal, and unidirectional causality from the trade deficits to fiscal deficits in Portugal and Spain. Therefore, the results provide evidence for the twin-deficits hypothesis in Greece, Portugal, and Spain.

Table 3 Linear Causality Test for GIIPS Countries, 1980Q1-2020Q1

The Toda-Yamamoto causality test shows that there is evidence of the twin deficits in Spain, with causality running from fiscal deficits to trade deficits. However, in Italy and Portugal, the Granger tests show that trade deficits Granger cause fiscal deficits, and a reverse causality runs from the current account balance to the government balance in Portugal, suggesting evidence in favour of the current account targeting hypothesis. These results agree with those of Garg and Prabheesh (2017). In Greece and Ireland, there are no unidirectional or bidirectional relationships between trade deficits and fiscal deficits, or between current account deficits and fiscal deficits.

The BDS test was performed on the residual series of VAR models to test for nonlinearity under the null of linearity (Brock et al., 1996). Rejection of the null implies that the series is characterized by nonlinearity. Table 4 reports the BDS test results. Panel A shows evidence of nonlinearity in the fiscal deficits and current account balance residuals for all the GIIPS countries considered. This is clear from the BDS calculated test statistics that exceed the critical values of ±2.33, ± 1.96, and ± 1.64 at the 1, 5, and 10% levels, respectively.

Table 4 BDS Non-Linearity Test for GIIPS Countries, 1980Q1–2020Q1

Panel B shows that there is evidence of nonlinearity in the fiscal deficits and trade balance residuals in all the GIIPS countries as their BDS calculated statistics exceed the critical values for ±2.33, ± 1.96, and ± 1.64 at the 1, 5, and 10% levels, respectively. From the above results, there is evidence of nonlinearity in both pairs of residuals for the series in all the countries. Therefore, the use of a parametric causality test would be inappropriate. Thus, it is essential to examine the possibility of nonlinearity using the DP nonparametric causality test explained next.

Nonparametric and Non-linear Causality Results

To implement the DP nonparametric causality test, the current study followed the method of Diks and Panchenko (2006) by setting the bandwidth to 1.5. The following remarks are based on the results presented in Table 5. The nonlinear Granger tests show evidence of bidirectional causality between fiscal deficits and trade balances in Ireland and Spain using the raw data.

Table 5 Diks and Panchenko (2006) Non-linear Causality Test by GIIPS Country, 1980Q1 – 2020Q1

Thus, the null of no nonlinear Granger causality was rejected because the statistics were significant at the 5 and 10% levels. In Greece and Italy, there is evidence of unidirectional nonlinear causality from trade balances to fiscal deficits, thus providing evidence in favour of the trade balance targeting hypothesis. This is consistent with earlier studies, such as Kouassi et al. (2004) for 18 developed and developing countries, Holmes (2011) for the U.S., and Kalou and Paleologou (2012) for Greece. However, the results for Portugal indicate that no unidirectional or bidirectional nonlinear relationship between the deficits was found.

Following Bekiros and Diks (2008), the nonparametric DP test on the residuals from the VAR was reapplied, showing that the detected causality was strictly nonlinear. The causality on the filtered residuals and the lags were determined using the SIC as the VAR is sensitive to lag length.

The results show that the nonlinear causal relationship discovered for the unidirectional causality from the fiscal deficits to the external deficits only held for Greece and Portugal, while the nonlinear causality observed for Ireland and Spain diminished. This implies that the non-linear causality for Ireland and Spain might not be strictly nonlinear.

Conclusion

This paper employed linear (Granger causality) and nonlinear (Toda-Yamamoto causality and DP) tests to investigate the existence of causality between fiscal deficits and external balances in the GIIPS countries. The empirical findings from the linear causality test show evidence of causality running from fiscal deficits to external balances in Greece, Portugal, and Spain. Evidence of unidirectional causality from the external balances to the fiscal deficits was found for Portugal and Spain, suggesting evidence in favour of the twin-deficits hypothesis. The Toda-Yamamoto causality test indicates evidence of twin deficits only for Spain. However, for Italy and Portugal, the Granger tests show evidence of reverse causality from external deficits to fiscal deficits, while there is no evidence for twin deficits in Greece and Ireland.

The study also performed a nonlinearity test on the residuals of the series using the BDS test and found evidence for a nonlinear relationship in both pairs of the VAR residuals and, thus, the need to examine the possibility of a nonlinear relationship between the twin deficits in the countries. Results from the Diks and Panchenko (2006) nonlinear Granger tests show the existence of bidirectional causality between fiscal deficits and trade balances only in Ireland and Spain using the raw data. In Greece and Italy, there is evidence of unidirectional nonlinear causality from trade balances to fiscal deficits, providing evidence in favour of the trade balance targeting hypothesis. There is no evidence of non-linear Granger causality in Portugal. Applying the nonparametric DP test to the residuals obtained from the VAR model, results show that the nonlinear causal relationships discovered on the unidirectional causality from the fiscal deficits to the external deficits only holds for Greece and Portugal, while the nonlinear causality observed for Ireland and Spain diminished.

The policy implication of the results is that reducing fiscal deficits to achieve either current account deficits or trade deficits may not be sufficient. A mix of appropriate fiscal and monetary policy measures should be implemented. As the countries are in the Eurozone, controlling the twin-deficits issues would require a reassessment of the institutional framework of the countries to achieve financial stability and fiscal prudence. In addition, implementation of tax policy as well labour market and capital market reforms to engender productivity and increase competitiveness would be important.