1 Introduction

Over the past two decades, the widening fiscal deficits and the current account imbalances in both developed and developing countries have generated concerns largely because they are seen as among the main measures of macroeconomic performance of a country. This has been further highlighted by the recent financial crisis that resulted in sovereign debts crisis of some Euro Area countries that even threatened the survival of the union. This paper investigates the relationship between the fiscal and the current account deficits in African countries. These countries rely on a few number of primary commodities for their exports, which are very vulnerable to terms of trade shocks. These shocks have important effects on both the countries’ current account balances as well as their public expenditure. For about three decades now that some of these countries have introduced economic reforms to tackle among other things, these two deficits. Therefore, understanding relationship between these series will shed more light on the appropriate policies needed to be adopted by these countries to address these issues.

Theoretical literature on the twin deficits can be classified into four groups. The first group is based on the Keynesian absorption theory. It argues that an increase in the fiscal deficits would induce domestic absorption and thus, import expansion and thereby causing the current account deficits. The second one anchors its arguments on the Mundell–Fleming framework and it suggests that an increase in the fiscal deficits would have an upward pressure on the interest rates with a resultant capital inflows and exchange rate appreciation. The appreciated exchange rate would make exports less attractive, but will encourage imports, which will subsequently lead to the current account deficits. The third group’s explanation is based on the risk premium hypothesis perspective.Footnote 1 It argues that an appreciation of the real exchange rate increases the purchasing power of domestic income in terms of imported goods. This increases the relative value of financial, real estate and other assets held by the domestic residents. As a result, the domestic savings fall and a rise in consumption that will lead to a loss in competitiveness of the country’s export in international markets, thereby causing the current account deficits. This implies that the exchange rate can impact on the twin deficits by changing relative price of non-tradeables and tradeables. Large government spending on non-tradeables such as services or the real estate sector can induce a real exchange rate appreciation which in turn increases consumption toward tradable thereby leading to the current account deficits. The fourth group is the one that is based on the Ricardian Equivalence Hypothesis, REH, of Barro (1974, 1989). The literature portends that the fiscal deficits and the current account balance are not related.

Empirical results on the twin deficits hypothesis have been mixed and largely inconclusive. For example, Egwaikhide (1999), Zietz and Pemberton (1990), Abell (1990), Corsetti and Müller (2006) and Grier and Ye (2009) found evidence that supports the twin deficits hypothesis whereas Enders and Lee (1990) reported that they found no relationship between the two, which supports the REH. Kim and Roubini (2008), on the other hand, found that the US government budget deficits actually improve the US current account balance.

This study contributes to this literature by investigating relationship between these two deficits in a sample of twelve African countries, which have largely been overlooked. These countries, as noted above, have experienced both the current account and the fiscal deficits that led to an introduction of economic reforms to address these deficits among others.Footnote 2 A notable exception in the sample is Botswana, which did not experience the problem until the recent financial crisis.Footnote 3 Secondly the paper differs from the existing literature in two main ways. First, relationship between the fiscal deficit and the current account deficit is examined by including real interest rate and real exchange rate in the estimated model to capture the transmission mechanism. Secondly, policy regime changes and shocks are likely to cause structural breaks, which this paper have explicitly addressed by using the Lee and Strazicich (2003) unit root tests that allow up to two structural breaks. Additionally, the paper used a flexible technique, the autoregressive distributed lag (ARDL). This approach provides the necessary flexibility required for this analysis. First, it can test for long-run relationship between variables of different level of integration. Secondly, the identified structural breaks can be explicitly incorporated into the estimated model.

The rest of the paper is organised as follows. Section 2 discusses the methodology and the variables used in the paper. Section 3 presents the estimated results while Sect. 4 concludes.

2 Methodology and variables description

Based on the open economy macroeconomics, an increase in the fiscal deficit will give rise to an increase in the interest rate, that in turn causes the capital inflows and an appreciation of the real exchange rate. As a result of loss in international competitiveness, the domestic economy records current account deficit. From this theoretical point of view, five variables could be included in the model of the twin deficits hypothesis. They are measures of fiscal deficits and current account deficits, both of which are expressed as percentage of GDP. The remaining variables are real interest rates, real exchange rates and real GDP.Footnote 4 The real GDP is the key macro variable representing the broad economic performance, and it is included in the model to control for the cyclical components of the government budget deficit.Footnote 5 Thus, the twin deficit model can be represented as:

$$\begin{aligned} CA_{t}=\beta _{0}+\beta _{1}\ln RGDP_{t}+\beta _{2}FD_{t}+\beta _{3}RIR_{t}+\beta _{4}RER_{t}+\varepsilon _{t} \end{aligned}$$
(1)

where \(CA\) is the current account deficits as a defined above, \(RGDP\) is a measure of real income as a scale variable, \(FD\) is the fiscal deficits expressed as a percentage of \(GDP\), \(RIR\) is the real interest rates and \(RER\) is the real exchange rate. Following a standard macro theory, estimates of \(\beta _{1},\) \(\beta _{2}\) and \(\beta _{3}\) are expected to be positive. This is because an increase in the gross domestic product, fiscal deficits and interest rate are expected to lead to an increase in the current account deficits. An estimate of \(\beta _{4}\) could be negative or positive. Given that the exchange rate is defined as the number of units of domestic currency per US dollar, an increase in the exchange rate means a depreciation of the domestic currency, raising the value of the foreign assets in terms of domestic currency. If this increase is perceived as an increase in wealth, then the demand for domestic money increases yielding a positive estimate of \(\beta _{4}\). However, if an increase in the exchange rate induces an expectation of further depreciation of the domestic currency, public may hold less of domestic currency and more of foreign currency. In this case, an estimate of \(\beta _{4}\) will be negative.

2.1 Autoregressive distributed lag (ARDL) testing approach

Autoregressive distributed lag (ARDL) approach was developed by Pesaran et al. (2001) for testing cointegrating relationship. It has peculiar advantages over other symmetric cointegration tests. First, the ARDL approach can be applied to variables of different order of integration (Pesaran and Pesaran 1997). Secondly, the ARDL approach could be used on small or finite sample size (Pesaran et al. 2001). Thirdly, the short and long-run parameters are estimated concurrently. Fourthly, the approach can be used to accommodate the structural breaks identified in the variables used. In respect of these advantages, and coupled with the fact that the variables employed in this study are of different order of integration and relatively, a small sample size is used, the ARDL approach is the most suitable technique for this study.

Estimating an ARDL model involves four steps. First step is to examine the presence of cointegration using the bounds test procedure (Pesaran and Pesaran 1997; Pesaran et al. 2001). Second, is to estimate the coefficient of the long run relationships identified in the first step. Third step is to estimate the short run coefficients while the final stage is to test for the stability of the model, by using the cumulative sum of recursive residuals (CUSUM) and cumulative sum of squared recursive residuals (CUSUMSQ). An ARDL representation of the model in Eq. (1) can be represented as:

$$\begin{aligned} \Delta CA_{t}&= \beta _{0}+\sum _{i=1}^{p}\beta _{1}\Delta CA_{t-i}+\sum _{i=0}^{p}\beta _{2}\Delta \ln RGDP_{t-i} \nonumber \\& \quad +\sum _{i=0}^{p}\beta _{3}\Delta FD_{t-i}+\sum _{i=0}^{p}\beta _{4}\Delta RIR_{t-i}+\sum _{i=0}^{n}\beta _{5}\Delta RER_{t-i} \nonumber \\& \quad +\delta _{1}CA_{t-1}+\delta _{2}\ln RGDP_{t-1}+\delta _{3}FD_{t-1}\nonumber \\& \quad +\delta _{4}RIR_{t-1}+\delta _{5}RER_{t-1}+\varepsilon _{t} \end{aligned}$$
(2)

where the variables are as defined in Eq. (1). In this set up, the null of no cointegration is defined by

$$\begin{aligned} H_{0}:\delta _{1}=\delta _{2}=\delta _{3}=\delta _{4}=\delta _{5}=0 \end{aligned}$$

and is tested against the alternative of

$$\begin{aligned} H_{1}:\delta _{1}\ne 0,\ \delta _{2}\ne 0,\delta _{3}\ne 0,\delta _{4}\ne 0,\delta _{5}\ne 0 \end{aligned}$$

by F-test. The asymptotic distribution of the F-statistic is non-standard irrespective of whether the variables are \(I(0)\) or \(I(1)\). Pesaran et al. (2001) provide two sets of appropriate critical values for the test. One set assumes all the variables are \(I(1)\) and another that assumes all the variables are \(I(0)\). These provide a band covering all possible classifications of the variables into \(I(0)\) and \(I(1)\) or even fractionally integrated. If the calculated F-statistic lies above the upper level of the band, the null is rejected, indicating existence of cointegration. If the F-statistic is below the lower critical bounds value, it implies failure to reject the null and none existence of cointegration. Where the F-statistic falls into the bounds, it suggests inconclusiveness.

2.2 Modelling the structural breaks in twin deficits model

The identified structural break dates in the current account (CAB),Footnote 6 \(TB_{1}\) and \(TB_{2}\) are modelled by incorporating two dummy variables, \(DU_{1}\) and \(DU_{2}\) in the model specified in Eq. (3). The dummy variable \(DU_{1}\) takes the value of zero from beginning to the first break date, \(TB_{1},\) and becomes unity afterwards up to the second break date, \(TB_{2}\) when \(DU_{2}\) takes the value of unity or zero for the rest of the sample period. Therefore, the estimated model is given as:

$$\begin{aligned} \Delta CA_{t}&=\beta _{0}+\sum _{i=1}^{p}\beta _{1}\Delta CA_{t-i}+\sum _{i=0}^{p}\beta _{2}\Delta \ln RGDP_{t-i}+\sum _{i=0}^{p}\beta _{3}\Delta FD_{t-i} \nonumber \\& \quad +\sum _{i=0}^{p}\beta _{4}\Delta RIR_{t-i}+\sum _{i=0}^{p}\beta _{5}\Delta RER_{t-i}+\delta _{1}CAB_{t-1}+\delta _{2}\ln RGDP_{t-1} \nonumber \\& \quad +\delta _{3}FD_{t-1}+\delta _{4}RIR_{t-1}+\delta _{5}RER_{t-1}+\delta _{6}DU_{1t}+\delta _{7}DU_{2t}+\varepsilon _{t} \end{aligned}$$
(3)

The parameters \(\delta _{i},\) \(i=1,2,3,4,5,6\) and \(7\) are the long-run multipliers, parameters \(\beta _{1}\) to \(\beta _{5}\) are the short-run multipliers, and \(\varepsilon _{t}\) represents residuals.

3 Data and estimated results

3.1 Sources and definition of data

The data set consists of quarterly observations obtained from the International Financial Statistics (IFS), Government Finance Statistics (GFS) and the Balance of Payment Statistics (BOPS) of the International Monetary Fund, IMF, as well as the World Bank Development Indicators. GDP variables and fiscal deficits variables for some of the countries are sourced from the countries’ central banks. The fiscal deficit (\(FD\)) is defined as the difference between total government revenue and total government expenditure, expressed as percentage of GDP. The current account (\(CA\)) is the sum of the balance of trade (exports minus imports of goods and services), net factor income (such as interest and dividends) and net transfer payments (such as foreign aid) and expressed as percentage of GDP. The real exchange rate is constructed from the nominal exchange rate using \(RER_{t}=E_{t}+P_{t}^{*}-P_{t},\) (all variable are in logs) where \(RER_{t}\) is the real exchange rate, \(E_{t}\) is the nominal exchange rate, \(P_{t}^{*}\) denotes foreign prices (the US CPI is used as a proxy), \(P_{t}\) is the domestic CPI. The real interest rate (\(RIR\)) is the long term interest rates adjusted for inflation whereas the \(RGDP\) is the countries’ real output. The sample period runs from 1980 to 2009, making a total of 120 observations for each country. The countries in the sample are Botswana, Cameroon, Egypt, Ethiopia, Ghana, Kenya, Morocco, Nigeria, South Africa, Tanzania, Tunisia, and Uganda. The criteria for choosing these countries include the size of gross domestic product, which these countries together accounted for about 75 % of total African GDP in 2010 (see Ahmad et al. 2011). Others are availability of data, relative economic and financial development as well as presence of capital markets

3.2 Unit root tests

Table 1 reports results from the ADF test, which indicate that some variables are stationary \(I(0)\) on levels in seven countries. These are Botswana, Cameroon, Egypt, Ethiopia, Ghana, Tunisia and Uganda. However, the results show that most of the variables are non-stationary \(I(1)\) on levels, but stationary \(I(0)\) on first differences. The ADF test, therefore, suggest that the variables in the sample are of different level of integration. The reported PP unit root test results indicate that most of the variables are non-stationary \(I(1)\) on levels, but stationary \(I(0)\) on first differences. However, some variables are found to be stationary \(I(0)\) on levels in six countries of Egypt, Ghana, Kenya, South Africa and Tunisia. Over all, the results from both tests suggest that the variables are of different level of integration.

Table 1 Unit root tests: augmented Dickey Fuller unit root Test (ADF)

3.3 Structural breaks and country characteristics

The sample used for this study includes periods of economic difficulties and policy regime changes in most of the countries covered. These may result in structural breaks, which can have implication for unit root test. It is argued that presence of structural breaks in series may lead to false conclusions, given the inability of standard ADF and PP tests to capture structural breaks.Footnote 7 In order to address this, the LM Test of Lee and Strazicich (2003) that can accommodate up to two breaks was used to analyse the series.Footnote 8 The results are presented in Tables 23, 4 and 5. Specifically, the results are reported in column 7 of these tables. The results revealed that breaks were detected in all the series and most of the breaks took place around the 1980s and the 1990s, which coincide with a number of significant events that took place during the period. These include introduction of economic reforms in the 1980s as well as commodity booms and bursts experienced during the periods.

Table 2 (A) Botswana, (B) Cameroon and (C) Egypt two-break minimum LM unit root test (sample period 1980:1–2009:4)
Table 3 (A) Ethiopia, (B) Ghana and (C) Kenya two-break minimum LM unit root test (sample period 1980:1–2009:4)
Table 4 (A) Morocco, (B) Nigeria and (C) South Africa two-break minimum LM unit root test (sample period 1980:1–2009:4)
Table 5 (A) Tanzania, (B) Tunisia and (C) Uganda two-break minimum LM unit root test (sample period 1980:1–2009:4)

The economies in this sample are mostly dominated by agriculture, except Botswana, Nigeria and South Africa. The dominance of agriculture is not evenly distribution as for example; it accounts for about half of GDP in countries like Ethiopia, Tanzania and Uganda and constitutes up to 80 % of their export earnings, while it contributes about 24 %in Botswana and South Africa. Botswana is an important global diamond producer while South Africa is the world’s largest producer of platinum with important quantity of gold and chromium. South Africa has the most developed financial system in the sample and currently the second largest economy in Africa behind Nigeria. Nigerian economy was agrarian until the early 1970s when petroleum sector became the most important sector that dominated both the exports and the government revenues. Cameroon is the only country in the sample that is a member of a monetary union, Central Africa CFA Zone. Unlike most of the countries in the sample, Cameroon recorded moderate inflation rate. Oil is increasingly becoming an important contributor to both its foreign exchange earnings as well as its GDP. The economy of Egypt is also dominated by oil sector. Ghana is rich in relatively diverse natural resources that include diamonds, gold as well as oil. It is also an important cocoa producing country. Morocco is the only country in the sample where service sector dominates the economy and accounts for up to half of its GDP, but service sector is important to a number of countries in the sample, although to a lesser degree. These include Ghana, Nigeria and South Africa.

The economies have enjoyed moderate growth rate in the 1960s. However, by the 1970s, most of the economies were confronted with economic problems that were caused by both domestic economic policies and external factors. Import substitution industrialization strategy was adopted in a number of these countries in the 1960s and the 1970s that include Cameroon, Egypt, Ghana and Nigeria. However, the strategy recorded very little success in terms of saving the countries’ foreign reserves, raising level of employment and transfer of technical know-how that the strategy intended to achieve. On the contrary, the countries ended up with non-productive industries that were acting as conduit that drained the public funds. The 1970s oil shocks and the commodity price burst recorded during the same decade were among the external factors that exacerbated the effects of the domestic policies. As a result, the economies resorted to external borrowing at variable interest rates, which brought about the burden of debt and interest rate payments. For example, external debt of Morocco was $11.6 billion as at 1983 and that of Nigeria was $12.8 billion for the same period, but these figures more than doubled to $30billion by 1989 for the latter. Decline in commodity prices in international markets, which the countries depend upon for their foreign exchange coupled with huge domestic expenditure portfolio, the countries’ current account and fiscal deficits worsen. Consequently the countries were forced to introduce structural reforms, which were backed by the IMF and the World Bank in the 1980s and the 1990s. Notable exceptions in the sample are Botswana and South Africa. The former has recorded an impressive growth rate and was acknowledged for sound macroeconomic policy and good governance. It still remains the best performing economy on the continent (for example, see Acemoglu et al. 2002). Botswana has also a negligible amount of foreign debt.

Table 2 reports break dates for Botswana, Cameroon and Egypt. The identified break dates for Botswana are in the 1980s, the 1990s and the 2000s. These seems to coincide with some policy regime changes such as removal of exchange control, exchange rate devaluations and the introduction of trade liberalization. Fiscal expansionary policy of the late 1980s could be responsible for breaks identified in the fiscal deficit and the inflation series. The LM test has identified structural breaks in all the series for Cameroon and they are around the 1980s, the 1990s and the early 2000s. Commodity price burst (especially decline in price of cocoa, coffee and cotton) that occurred in the mid 1980s might be responsible for the 1980s breaks. The CFA zonesFootnote 9 of which Cameroon is a member, suffered from loss of competitiveness as a result of an overvalued currency and in January 1994, the currency was devalued by about 100 %. These changes have appeared to have been picked up by the tests. Other breaks are associated with structural reforms implemented by the country. Such as the slashing of civil servants’ wages by over 60 %, privatisation of publicly owned industries and re-scheduling of foreign debt repayments. The identified break dates for Egypt are mostly in the 1980s and the 1990s. The former was the period when the country’s main export price, oil, slumped from $34 per barrel to $12, precipitating series of economic problems that included fall in output, unemployment and a rise in inflation to over 20 %. The latter was dominated by reforms implementation that comprised removal of price control, reduction of subsidies as well as reduction of public sector dominance in manufacturing and other sectors.

Table 3 contains the LM test results for Ethiopia, Ghana and Kenya. Results for Ethiopia indicate that the identified break dates are around the 1990s and the early 2000s. The country is very vulnerable to commodity price changes as not only it is a predominantly agrarian economy, but almost depends on coffee as its main foreign exchange earner. In addition, the sector also experienced periodic droughts that affected its general economic performance. These developments seem to be responsible for the break dates identified in the 1990s. The latter period was dominated by structural reforms that included expansion of private sector participation, devaluation of the currency to improve its international competitiveness and market reforms that eliminated restrictions such as quotas. The break dates for the latter period appear to have captured these changes (for example, see Dercon 2006). The cross border war of 1998–2000 with Eritrea has also significant effect on the country’s fiscal deficit and inflation as indicated by the break dates. The identified break dates for Ghana were mostly around the 1980s. The effects of the 1960s and the 1970s collapsed of commodity prices were devastating to the economy and as a result, the country saw the 1980s as the most difficult decade in its economic history. These have been captured by the test as structural breaks were identified in all the series during the period. The LM test results for Kenya show that breaks were identified in all the series, which mostly centred around the 1990s with a few in the 1980s. The break dates were during the country’s economic recession (1983–1993), which inappropriate agricultural policies were partly blamed for and the subsequent implementation of structural economic reforms.

Results of the LM test for Morocco, Nigeria and South Africa are presented in Table 4. The identified dates for Morocco coincide with the periods that the country experienced a huge fall in revenue and mounting external debt while the fiscal deficit rose to about 90 % of its GDP. Subsequent reforms that included exchange rate devaluation and privatisation of public enterprises were implemented, which appear to be responsible for the breaks in the 1990s, particularly in the current account, the real exchange rates and the real interest rates. The break dates identified for Nigeria are in the 1980s, the 1990s and the 2000s. Most of these are due to policy regime changes in response of the economic problem that was caused by a collapse in oil prices, but aggravated by poor domestic economic policies. The country introduced series of economic reforms between 1986 and 1994. These covered almost all sectors of the economy, which included subsidy removal, huge public expenditure cut, liberalisation of foreign exchange market and trade. These had consequences on the economy’s indicators such as employment and inflation. Rises in oil prices recorded in the 2000s seem to have significant effects on the country’s fiscal deficit variable as indicated by the results. The economic sanctions imposed on South Africa during the apartheid era, which climaxed in the 1980s, had crippling effects on the economy. These have caused structural breaks in all the series, which have been captured by the test. The economic reforms introduced in the 1990s to promote balanced growth and re-distribution were responsible for the identified breaks in the 1990s.

Table 4 contains the LM test results for Tanzania, Tunisia and Uganda. Those of Tanzania show that breaks were detected in the GDP, the interest rate and the exchange rate variables, which coincided with the period of external debt crisis and the introduction of economic reforms. However, break dates in the fiscal and the current account deficits suggest that they are associated with the country’s external debt crisis period between 1982 and 1989. Results for Tunisia suggest that most of the breaks took place in the 1980s and the 1990s. The country entered the decade of the 1980s with economic difficulties due to the dwindling public revenues and the mounting external debt. As a result the economy was bedevilled with escalating budget deficit, inefficiency in public enterprises as well as expansionary monetary policies that contributed to rise in the interest rates and the real exchange rate appreciation, which led to further deterioration of the current account deficit. These changes have been the causes for the identified breaks in the 1980s while those of the 1990s have captured the economic reforms implemented during the period. The break dates identified by the LM Test for Uganda show that the GDP, the fiscal deficits, the current account deficits, the exchange rate and the interest rate series have structural breaks both during the external debt crisis period and during the implementation of the reforms. Other notables events that have significant impact on the variables is the civil unrest of 1986 and the elections held in 2001 and 2006.

3.4 Cointegration test results

To conduct the bounds test for cointegration approach within the unrestricted error correction model (UECM) framework, the optimal lag needs to be determined. Following Lütkepohl (2005), the Schwarz Bayesian Criterion (SBC) was used for this purpose as it is found to perform better than other information criteria. The results for the \(F\) bounds test are reported in Table 6, which imply that the null hypothesis of no cointegration among the variables in the model specified in Eq. (3) was rejected for all the countries at any conventional level. Therefore, these variables have long run relationship. Having found a long-run relationship between the fiscal deficits and the other variables, the long-run elasticities were estimated. Impact of real GDP, fiscal deficits, real interest rates and real exchange rates on current account were examined for each of the countries covered in the study. The empirical results for the model are obtained through normalizing the current account (CA) in the short and long-run.

Table 6 Bound testing for cointegration analysis

3.5 The long-run dynamics

The estimated long-run coefficients (elasticities) for the estimated UECM model are presented in Tables 7891011 and 12. It is shown that in the long run, 1 % increase in the real GDP leads to 21.59, 14.75, 6.2, 49.43, 41.82, 33.05, 10.46 and 18.29 decrease in the current account deficits in Botswana, Cameroon, Ghana, Kenya, Nigeria, South Africa, Tanzania and Uganda respectively. This could be interpreted as 1 % increase in country-specific productivity would lead to a decrease in the current account deficits. However, 1 % increase in the real GDP will lead to 4.23, 27.97, 36.14 and 1.67 increase in the current account deficits in Egypt, Ethiopia, Morocco and Tunisia. One per cent increase in the budget deficits will lead to 0.92, 0.04, 0.47, 0.16, 0.03, 0.34, 2.14 and 0.35 increases in the current account deficits in Botswana, Cameroon, Egypt, Ghana, Morocco, Nigeria, Tanzania and Tunisia. These are consistent with previously reported results by Beetsma et al. (2007) and Abbas et al. (2010). Also, 1 % increase in budget deficits lead to 0.56, 0.52, 0.05 and 0.52 decrease in the current account deficits in Ethiopia, Kenya, South Africa and Uganda. The evidence shows that the fiscal deficits have a positive and significant effect on the current account deficit in Botswana, Egypt, Nigeria and Tanzania and statistically insignificant in Cameroon, Ghana, Morocco and Tunisia. Fiscal deficits have a negative and statistically significant effect in Ethiopia and Kenya but not in South Africa and Uganda. This might be due to the effect of productivity shocks that was discuss in Busserie et al. (2010), but it requires further investigation.

Effect of real interest rate on the current account are positive in Botswana, Ethiopia, Morocco, Nigeria and Uganda and negative in Cameroon, Egypt, Ghana, Kenya, South Africa, Tanzania and Tunisia. This, therefore, imply that 1 % increase in real interest rate leads to 1.62, 0.6, 0.8, 0.09 and 0.01 % increase in the current account deficit in Botswana, Ethiopia, Morocco, Nigeria and Uganda respectively. Conversely, 1 % increase in the real interest rate leads to 0.14, 0.15, 0.10, 0.02, 0.14, 0.17 and 0.47 decrease in the current account deficit in Cameroon, Egypt, Ghana, Kenya, South Africa, Tanzania and Tunisia, respectively.

Table 7 (A) Long-run and (B) short-run coefficients estimates
Table 8 (A) Long-run and (B) short-run coefficients estimates
Table 9 (A) Long-run and (B) short-run coefficients estimates
Table 10 (A) Long-run and (B) short-run coefficients estimates
Table 11 (A) Long-run and (B) short-run Coefficients estimates
Table 12 (A) Long-run and (B) short-run coefficients estimates

On the effect of real exchange rate on the current account, the results show that 1 % increase in real exchange rate leads to 1.94, 4.58, 0.44, 0.96, 1.75 and 0.99 % increase in the current account deficit for Cameroon, Egypt, Kenya, Nigeria, South Africa and Tunisia respectively. In these countries, the results suggest that real exchange rate depreciation improves their current account deficit as they become more competitive, which will lead to a rise in the quantity of their exports, thereby improving the current account deficit. Similarly, real exchange rate depreciation will lead to a rise in the cost of their imports, which will lead to a fall in demand for imports and consequently, improves their current account deficits. These results are consistent with the findings of other papers. For example, Algieri (2011) found significant long-run relationship between the real exchange rate and the fiscal policy in Russia.

Results for Botswana, Ethiopia, Ghana, Morocco, Tanzania and Uganda have also shown that real exchange rate depreciation has a positive impact on the countries’ current account deficits. However, the results for this set of countries are not statistically significant. The results also reveal that the endogenous structural break dummy variables, \(DU_{1}\) are positive and statistically significant in most of the countries with the exception of Cameroon and Egypt, where they are found to be insignificant. Those of Ethiopia and Morocco are both negative and statistically significant. Similarly, the second structural break date variables, \(DU_{2}\) for all the countries, except for Egypt, Ethiopia and Morocco, are positive and statistically significant. However, they are negative in the other three and statistically insignificant in the case of Egypt. Real exchange rate has been found to have significant impact on even the current accounts of developed countries (for example, see Brissimis et al. 2012, 2013).

It is clear from the foregoing that results for eight of the countries covered seem to support the twin deficit hypothesis. The countries are Botswana, Cameroon, Egypt, Ghana, Morocco, Nigeria, Tanzania and Tunisia. In general, it could be argued that some of the reasons why the twin deficits does not hold in some of the countries might be attributed to the structural differences across the economies and the role of productivity shocks in explaining the relationship between the budget and the current account deficits. For instance, in Ethiopia where it is found that an increase in fiscal deficits by 1 % will result in reducing the current account deficits by 0.56, the economy is predominantly agrarian and as such the household might exhibit a Ricardian behaviour, which may not allow the twin deficit hypothesis to hold (Brissimis et al. 2012).

3.6 Short-run dynamics

The short-run adjustment process is measured by the error correction term \(ECM_{t-1}\) and it shows how quickly variables adjust back to equilibrium in responding to a shock. It is expected that the coefficient of \(ECM_{t-1}\) should have a negative sign and be statistically significant. The reported results for the \(ECM_{t-1}\) are −0.3365, −0.1927, −0.1065, −0.1851, −0.1687, −0.1607, −0.1310, −0.1518, −0.4979, −0.0456, −0.1573 and −0.1374 for the respective countries. Therefore, all the estimated coefficients have the correct signs and are highly significant. The results indicate that deviations from the current account balance equilibrium are rectified by about 33.65, 19.27, 10.65, 18.51, 16.87, 16.07, 13.10, 15.18, 49.79, 4.56, 15.73 and 13.74 % by the following quarter in Botswana, Cameroon, Egypt, Ethiopia, Ghana, Kenya, Morocco, Nigeria, South Africa, Tanzania, Tunisia and Uganda respectively. It is clear that the the adjustment processes are fast and significant for all the countries covered.

3.7 Stability test

To check for the robustness of the results, CUSUM and CUSUMSQ tests proposed by Brown et al. (1975) are carried out and the results are reported in Fig. 1. The tests are applied to the residuals of the estimated model. The CUSUM test is based on the cumulative sum of recursive residuals based on the first set of \(N\) observations. It is updated recursively and is plotted against the break points. If the plot of CUSUM statistic stays within a 5% significant level (portrayed by two straight lines whose equations are given in Brown et al. (1975), then the estimated coefficients are stable. Similar procedure is used to carry out the CUSUMSQ tests, which are based on the squared recursive residuals. It is evident from the reported results that the plots of CUSUM statistic were all within the 5 % significant level, indicating that the estimated models are stable. However, the plots of CUSUMSQ for Kenya and Tanzania cross the critical value lines, indicating some instability in their current account deficits. This may not be very serious issue as the instability that was observed occurred in the late 1990s, but diminished over time, and by the 2000s the plots are within the critical value bounds. Also notable from the results is that the graphs for some countries differ. For example, the plots for South Africa start much earlier as compared to those of Botswana. This might be due to the period when the structural breaks occur. The ARDL approach plots the CUSUM and the CUSUMSQ from where the second structural breaks occur. For instance, the second structural break for Botswana’s current account deficits variable occurred in the fourth quarter of 2004 and that of South Africa was recorded in the second quarter of 1988. Hence, the reason for the differences in the plots of CUSUM and CUSUMSQ for these countries.

Fig. 1
figure 1figure 1figure 1figure 1figure 1figure 1figure 1figure 1

Stability tests

4 Conclusion

The purpose of this paper is to test for the twin deficit hypothesis in a sample of twelve African countries. The paper differs from previous studies in three ways: first, properties of the series were investigated using the Lee and Strazicich (2003) LM unit-root test procedure that endogenously detects up to two structural breaks. Previous studies have largely overlooked the issue of structural breaks. Secondly, the identified structural break dates were explicitly incorporated into the estimated model. No previous studies on the twin deficit hypothesis have explicitly modelled structural breaks in this manner, with a notable exception of Marashdeh and Saleh (2006). Thirdly, a flexible, robust econometric framework, the ARDL, was used to explore the long- run relationship between the series and to investigate their short-run dynamics.

The results from the LM Tests indicate presence of structural breaks in all the series in the sample and some of the contradictory results reported by the ADF and the PP unit root tests have appeared to be reconciled by the LM. This suggests influence of structural breaks, which the LM test is able to account for. The identified break dates were generally associated with external shocks that included oil price shocks and commodity price boom and burst cycles of which the countries highly dependent on for their foreign exchange earnings. Other identified break dates are due to internal factors, such as policy regime changes, particularly, during the implementation of structural economic reforms of the 1980s and the 1990s.

Results from the ARDL indicate that the fiscal deficit, the real GDP, the current account, the real interest rates and the real exchange rates in the twelve African countries studied have long-run relationship as evidenced by the presence of cointegration. The short-run dynamics of the model estimated for all the countries show that the systems adjust back to equilibrium fairly quickly and they are statistically significant. Results for the long run coefficients obtained from the bound test show that there is a positive relationship between the fiscal deficits and the current account deficits in Botswana, Cameroon, Egypt, Ghana, Morocco, Nigeria, Tanzania and Tunisia. Therefore, the results for these countries support the twin deficit hypothesis that a strong relationship between the budget deficit and the current account deficit exists for the period studied. A negative relationship between fiscal deficits and current account deficits is found for Ethiopia, Kenya, South Africa and Uganda.