1 Introduction

The 2008 global financial crisis (GFC) and the current COVID-19 pandemic cause commodity prices to be volatile. The rising commodity price volatility makes the implementation of fiscal policy challenging (Ezeaku et al. 2021 and Bakas & Triantafyllou 2018). This issue is particularly important for commodity-exporting countries as governments’ fiscal positions of these countries generally rely on commodity royalties and these economies are highly exposed to external shocks due to the exogenous nature of commodity prices. Fiscal positions in commodity-importing countries may also be affected, as some countries’ tax commodity imports heavily. Following the literature, we use fiscal balance as a measure of government’s fiscal policy position.Footnote 1 Fiscal balance is a sound representation of the government’s fiscal position because governments’ express annual targets as a flow term, such as balance, surplus or deficit. In this study, we define government’s fiscal balance as the ratio between net lending and net borrowing. Fiscal balance improves when net lending increases and/or net borrowing decreases. In other words, the measure of fiscal balance is referred to the changes in the stock of government’s debt.

Our study explores the impact of commodity price volatility on fiscal balance for 108 countries in a panel data framework from 1993 to 2018 (Table 7 in Appendix 1 provides the list of countries included in this study). Although considerable literature examines the relationship between the macroeconomy and commodity price volatility, there has been little consideration of commodity price volatility on the fiscal position.Footnote 2 This empirical study aims to analyse and quantify the relationship between commodity price volatility and fiscal balance by exploring the following research questions:

  1. (i)

    How does commodity price volatility affect the government’s fiscal balance?

  2. (ii)

    Are these effects different for commodity-exporting and commodity-importing countries?

  3. (iii)

    How do real interest rates affect the nexus between commodity price volatility and fiscal balance?

The sample of 108 countries are then divided into two subgroups—commodity-exporting and commodity-importing countries to examine how the impact of commodity price volatility differs according to the level of commodity endowments (see Table 8).Footnote 3 This study also examines the effect of the 10 most traded commodities’ price volatilities on fiscal balance.Footnote 4

We assess the role of real interest rates in reducing the negative impact of commodity price volatility on fiscal balance. We hypothesise that a lower real interest rate helps to reduce the adverse impact of commodity price volatility on fiscal balance. In periods of high commodity price volatility, the Central Bank (CB) can reduce the nominal interest rate to stimulate investments. We posit that under the sticky price assumption, a reduction in nominal interest rate leads to a reduction in real interest rate in the short run. Lower interest rate reduces the cost of capital, boosting investment and increasing aggregate demand. Therefore, fiscal position improves as tax base increases, in particular for countries with a progressive tax system.

A dynamic panel data regression model is used in this study to explore the impact of commodity price volatility on fiscal balance.Footnote 5 This framework has the advantage of reducing serial correlation.Footnote 6 Our empirical findings show that fiscal balance deteriorates with commodity price volatility in both the full sample and commodity-exporting countries. However, we do not find any statistically significant effect in commodity-importing countries. Among the disaggregated commodities, the most traded commodities’ price volatilities such as metal have a statistically significant negative impact on fiscal balance compared to food. The empirical results also show that fiscal balance weakens with an increase in the real interest rate. The negative impact of commodity price volatility on fiscal balance also increases with a higher real interest rate. Our results are robust to different econometric estimations such as pooled OLS, fixed effect, random effect and generalised methods of moments estimations.

This study relates to two strands in the existing literature. First, the literature addresses the nexus between commodity prices and fiscal balance. In the commodity-exporting countries, fiscal balance improves with an increase in commodity prices, as explained by Bleaney and Halland (2016), Murphy et al. (2010), Sinnott (2009), Kumah and Matovu (2007) and Böwer et al. (2007). Conversely, Spatafora and Samake (2012), Medina (2010) and Kaminsky (2010) argue that fiscal balance deteriorates with increased commodity prices. Here, we explore the impact of commodity price volatility on government’s fiscal balance along with commodity price changes.

Second, this study is related to the monetary policy literature. A higher real interest rate increases the cost of borrowing, which leads to lower investment (Malawi and Bader 2010) and higher unemployment (Doğrul and Soytas 2010), leading to worsening of fiscal balance. For countries under more flexible exchange rate regimes, higher interest rates could also increase the value of their domestic currency (currency appreciation), making domestic exports less competitive in the international market; therefore, government export revenue decreases with interest rate hikes.

The paper proceeds as follows. Section 2 reviews the literature. The methodology of this study is described in Sect. 3. We describe the data and variables in Sect. 4. Section 5 presents the empirical results from panel data estimation. Finally, Sect. 6 provides the conclusion and directions for future study.

2 Literature review

The literature on the impact of commodity prices on fiscal balance is extensive; however, the effect of commodity price volatility remains unexplored. Kumah and Matovu (2007), Bleaney and Halland (2016), Murphy et al. (2010), Sinnott (2009) and Böwer et al. (2007) find that government’s fiscal balance improves in commodity-exporting countries with rising commodity prices.

Céspedes and Velasco (2014) report that fiscal balance improves over time in commodity-exporting countries with higher commodity prices. They find that in the 1970s fiscal balance increased by 0.03 per cent of GDP; in the 2000s, fiscal balance increased by 0.11 per cent of GDP in response to commodity prices rises. On the other hand, Bjornland and Thorsrud (2018), Bova et al. (2018) and Kaminsky (2010) find evidence that booms in commodity prices do not necessarily lead to larger fiscal surpluses in developing countries. This implies that positive commodity price shocks may lead to strong procyclical fiscal policies in these developing countries, leading to a weaker fiscal balance position. Kaminsky (2010) argues that in OECD countries, fiscal policy is acyclical. However, according to Keynesian theory and Barro’s tax smoothing models, fiscal policy should be countercyclical.Footnote 7

To explain procyclical behaviour, Talvi and Vegh (2005), Lane (2003) and Tornell and Velasco (2000) describe the concept of ‘political distortion’, which emerges due to the ‘voracity effect’.Footnote 8 As a result of this effect, the government spends more to achieve balance among the sectors of the country. Conversely, Duncan (2014) and Alesina et al. (2008) claim that ‘political rent’ or ‘rent-seeking’ activities are responsible for the political distortion. During boom times, voters in the commodity-abundant countries demand immediate benefits in the form of public goods or lower tax rates. They fear that corrupt governments may spend extra revenue as ‘political rent’ or ‘rent-seeking’. To fulfil voters’ demands, corrupt governments cannot accumulate additional income from a commodity windfall and thus increase spending to satisfy voters to avoid becoming unpopular and losing power. Frankel (2011) argues that governments start investing in infrastructure and increase the salary of the government employees during the upturns. These studies, however, only focused on commodity price changes and did not consider commodity price volatility.

Some studies document the response of fiscal positions to the output cycle rather than directly linking to commodity price cycles, that is, they indirectly link commodity price fluctuations to fiscal outcomes. These studies only examine the impact of commodity prices through their effects on GDP. According to Ilzetzki and Végh (2008), Talvi and Vegh (2005), Kaminsky et al. (2004), and Gavin et al. (1996), commodity-exporting countries follow procyclical fiscal policy, especially during periods of low growth. However, this literature does not consider the direct impact of commodity price volatility on the fiscal positions.

This study aims to fill the gap in the literature by introducing the impact of commodity price volatility on the fiscal position. We argue that commodity price volatility plays an important role in determining the fiscal balance, as commodity price volatility may induce uncertainty on economic growth and budget predictability. We use the most recent data available (up to 2018), which captures the effect of the global financial crisis (GFC) in 2007–2009 and the European debt crisis.

3 Methodology

To explore the impact of commodity price volatility on the fiscal balance, this study employs three dynamic panel data estimation models: (i) pooled ordinary least square (pooled OLS); (ii) fixed effect (FE); and (iii) random effect (RE) models, which are commonly used in the literature.Footnote 9

3.1 The benchmark model

Our benchmark model essentially captures all effects that are specific to a country and that they do not vary over time (fixed effect), meaning that the model controls for unobserved heterogeneity when it remains constant over time and is correlated with all dependent and independent variables. This model selection is supported by the Hausman test (see Sect. 4 and Table 12 in Appendix 1).

We estimate the following model:

$$FB_{i,t} = \beta_{0i} + \beta_{1} FB_{i,t - 1} + \beta_{2} CPV_{i,t} + \beta_{3} PCCP_{i,t} + \beta_{4} CAP_{i,t} + \beta_{5} MI_{i,t} + \beta_{6} RIR_{i,t} + + \beta_{7} RIR_{i,t} *CPV_{i,t} + { }\varepsilon_{i,t}$$
(1)

\({\text{where }}\beta_{0i}\) is the unobserved time-invariant individual effect. \(FB_{i,t}\) is the fiscal balance (per cent of GDP), whereas \(FB_{i,t - 1}\) represents the lag in fiscal balance (per cent of GDP). \(CAP_{i,t}\) represents the capital growth (annual per cent), whereas \(MI_{i,t}\) and \(RIR_{i,t}\) indicate military expense (per cent of GDP) and real interest rate (annual per cent), respectively. \(CPV_{i,t}\) represents the commodity price volatility, and \(PCCP_{i,t}\) indicates the percentage change in commodity prices. In this study, we first use the commodity price index from the International Monetary Fund (IMF), which includes both fuel and non-fuel price indices. Subsequently, we replaced the general commodity price index with 10 different individual commodity price indices (e.g. crude oil, steel, soybean, iron ore, maize, gold, copper, aluminium, silver and gas). Comprehensive descriptions of the data and details about the sources of all variables are presented in Table 9 in Appendix 1.

The subscripts i and t denote the country and time period, respectively. The idiosyncratic disturbance term is denoted by \(\varepsilon_{i,t}\). By using lag-dependent variable, we capture the autocorrelation in the model. In this study, we also include an interaction term in Eq. (1), denoted by \({{RIR}_{i,t}*CPV}_{i,t}\), to examine the hypothesis that a lower real interest rate reduces the negative impact of commodity price volatility on fiscal balance.

Using Eq. (1), we use estimates for the different groups of countries—(i) full sample, (ii) commodity-exporting and (iii) commodity-importing countries—to examine the hypothesis that the impact of commodity price volatility differs with the level of commodity endowments. We also examine the impact of the 10 most traded commodities, to test the hypothesis whether their respective price volatilities affect fiscal balance differently.

4 Data and description of the variables

4.1 The data

We use unbalanced annual panel data for 108 countries for the period 1993 to 2018. The countries and periods included are selected based on data available from the World Bank (WB) and the IMF. The data for fiscal balance are collected from the World Economic Outlook (WEO), IMF. Other variables such as capital growth, military expenses and real interest rates are obtained from the World Development Indicators (WDI), WB.

Data for commodity prices are obtained from the IMF primary commodity price data portal. We convert the data into the annual form by taking the average of monthly data. Commodity prices are expressed as an index using a 2016 base year, including both fuel and non-fuel price indices. The data for 10 most-traded commodities are collected from the same source. We estimate commodity price volatility from monthly commodity price index to capture the monthly price variation using standard deviation.Footnote 10 This overcomes the potential problem that the volatility occurs in the middle of the year such that the variation is hidden in the annual data.

Following Mondal and Khanam (2018), Arezki et al. (2014) and Aghion et al. (2009), this study uses standard deviation as a measure of the volatility of commodity price. The advantage of this method is its simplicity: It does not depend on the unit of measurement. Mathematically, commodity price volatility for each year is calculated by using standard deviation:

$$\sigma_{t} = \sqrt {\mathop \sum \limits_{\tau = 1}^{12} \frac{{\left( {P_{\tau } - \mu_{t} } \right)^{2} }}{12 - 1}}$$
(2)

where σt = commodity prices volatility at time t, Pτ = observed monthly prices, µt = average price (\(\mu_{t}\) = (1/12) \(\mathop \sum \limits_{\tau = 1}^{12} P_{\tau }\)), and τ = months (1, 2, 3 … 12).

Figure 1 shows a significant spike in commodity price volatility during the GFC period of 2007–2009. We also observe that in the pre-GFC periods (i.e. from the early 1990s to the mid-2000s), commodity price volatility was low, reflecting a period referred to as the ‘Great Moderation’.Footnote 11

Fig. 1
figure 1

Source Author’s calculation based on IMF (2019)

Commodity price volatility

4.2 Unit root test, descriptive statistics and Hausman test

Table 10 presents the descriptive statistics. The table shows that there is a significant difference between the maximum and minimum values of the commodity price volatility, which are 30.37 and 0.99, respectively. The standard deviation of commodity price volatility is 6.20, indicating that there is a large dispersion from its mean value (7.25).

In Table 11, we use the augmented Ducky–Fuller (ADF) and the Phillips–Perron (PP) tests to evaluate the stationary properties of all variables. The stationary variable is characterised by having a constant mean and variance over time, and the covariance between two values in the series depends on the length of time between the two values, but not on the actual times when the value is observed. Apart from commodity prices, all other variables included in the model are stationary at ρ = 0.05. However, the p value of commodity prices is greater than 0.05, indicating that it is not stationary. To make this series stationary, we use the percentage change of the series.

We calculate the percentage change in commodity price as follows:

$$PCCP_{t} = \frac{{P_{t2} - P_{t1} }}{{P_{t1} }} X 100$$
(3)

where \({PCCP}_{t}\)= percentage change in commodity price, \(P_{t1} =\) commodity prices at time \(t_{1}\) and \(P_{t2} =\) commodity prices at time \({t}_{2}\).

Table 12 shows that the p value of the Hausman test is less than 5%, indicating that we can reject the null hypothesis and accept the alternative hypothesis that the FE model is appropriate; this result is consistent for all three country groups.

5 Results and discussion

In this section, we describe all empirical results estimated by our benchmark model (FE) for all countries in the sample and for commodity-exporting and commodity-importing countries.

5.1 Results for different country groups (full sample, commodity-exporting and commodity-importing countries)

Table 1 shows the results of the estimation of Eq. 1 for all the countries in the sample. Columns 1, 2 and 3 in Table 1 represent the pooled OLS, FE and RE models, respectively. As shown in column 2, the coefficient on the commodity price volatility is negative (–0.04) that a one standard deviation increase in commodity price volatility is associated with a fall in the fiscal balance as a share of GDP of over 0.04 units. The results are consistent across all three-panel data estimation models (columns 1–3) and are statistically significant at the 1 per cent level.

Table 1 Determinants of fiscal balance (full sample)

The positive coefficient of commodity prices is 0.04, which indicates that governments’ fiscal balance improves with rising commodity prices. A one-unit increase in commodity prices is associated with an improvement in fiscal balance of 0.04 units (see Table 1, column 2). This implies that governments do accrue additional revenues from commodity prices windfall. The results are consistent across all three-panel data estimation models and are statistically significant at the 1 per cent level.

The positive coefficient of capital formation indicates that fiscal balance improves with an increase in capital growth. This result is consistent with the view of Milesi-Ferretti and Moriyama (2006) that capital growth contributes to economic growth and prosperity, which increases investment and employment as well as fiscal balance. The negative coefficient of military expense indicates that fiscal balance deteriorates with the increase in military expenses. This result is in line with Cappelen et al. (1984) who find that government expenditure increases with the increase in military expenses, leading to higher tax rates in the private sector, which reduce private investment and eventually deteriorate the fiscal balance.

The negative coefficient of the real interest rate indicates that fiscal balance deteriorates with an increase in the real interest rate. This result is consistent with the view of Comley et al. (2002) that a higher real interest rate causes lower capital stock and lower output due to reduced investment levels, resulting in lower fiscal balance. The coefficient of the interaction term between commodity price volatility and real interest rate is -0.004, and it indicates that over our sample, 10% (i.e. 0.004/0.04) of the negative impact of commodity price volatility on fiscal balance can be mitigated with lower real interest rates. These results are statistically significant at the 1 per cent level and consistent with all three models.

Table 2 shows the results for the determinants of fiscal balance in the commodity-exporting and commodity-importing countries with pooled OLS, FE and RE models. The estimated coefficient for commodity price volatility is –0.07 in commodity-exporting countries (see column 2), which is higher than the full sample, indicating that commodity price volatility has a larger impact on commodity-exporting countries’ fiscal balance. While these results are statistically significant at the 1 per cent level for commodity-exporting countries, those for commodity-importing countries are statistically insignificant (see columns 4, 5 and 6).

Table 2 Determinants of fiscal balance (commodity-exporting and commodity-importing countries)

Table 2 also shows a positive relationship between change in commodity prices and fiscal balance, indicating that fiscal balance significantly improves with increases in commodity prices in commodity-exporting countries (see columns 1, 2 and 3). Exporting countries may accrue more revenues from commodity price booms. Our results also show that fiscal balance improves with the increase in commodity prices in commodity-importing countries (columns 4, 5 and 6). This result contradicts the twin-deficit hypothesis, which states that current account deficits cause fiscal deficits.Footnote 12 One of the plausible reasons for this positive link between commodity price changes and the fiscal balance is that importing countries collect more revenue by imposing taxes on commodities. For example, in the Organisation for Economic Co-operation and Development (OECD) countries, the average oil import tax is 51.3 per cent.

Table 2 shows that the negative impact of commodity price volatility on fiscal balance improves with lower real interest rates in both commodity-exporting and commodity-importing countries (columns 2 and 4) though the size of the negative coefficient is higher in commodity-exporting countries. It is reasonable to assume that commodity-exporting countries require a large amount of capital to extract commodities (e.g. oil, gas, metals). Therefore, a higher real interest rate increases the cost of borrowing, which reduces capital growth, investment and output. Consequently, government revenue and fiscal balance decrease with higher real interest rates.

Overall, government fiscal balance deteriorates with the increase in commodity price volatility in all countries in the sample and is stronger for commodity-exporting countries. However, this impact is not statistically significant in commodity-importing countries. The results also confirm that lower real interest rates decrease the adverse effect of commodity price volatility on fiscal balance.

5.2 Results for disaggregated commodities

In this section, we discuss the impact of the 10 most-traded commodities’ price volatilities on fiscal balance for the same set of countries. Tables 3, 4 and 5 present the empirical results for the full sample, commodity-exporting and commodity-importing countries, respectively.

Table 3 Determinants of fiscal balance (full sample)
Table 4 Determinants of fiscal balance (commodity-exporting countries)
Table 5 Determinants of fiscal balance (commodity-importing countries)

With few exceptions (i.e. maize, aluminium, copper and gas), the coefficients of all others commodities’ price volatilities are statistically significant and negative for the full sample (see Table 3). This is not a surprising outcome as Reinhart et al. (2016) estimated that commodity prices fluctuate around 15% during 2012–2015. The authors also found that four out of six global default cycles between 1980 and 2015 are associated with commodity prices.

The estimated coefficient is larger in the case of metal commodities than energy and food commodity groups.Footnote 13 Since mid-2000, one of the main reasons for these large fluctuations is the increase in the use of metal commodities to support industrialization in China. Sousa and Fry-McKibbin (2021) empirically showed that the Chinese resource demand shocks drive metal prices up and affects the macroeconomy in emerging markets. Among the energy prices, we find that the coefficient of oil price volatility is negative and statistically significant. Oil is considered a vital input in the production process, and its price is more volatile than that of any other energy commodity (Rafiq et al. 2009). Regnier (2007) estimates that the crude oil price is 95 per cent more volatile than other energy commodities because of its global demand and supply equilibrium. Among the food commodities, soybean price volatility is negative and statistically significant. One probable reason is that soybean is used to make diverse food (e.g. soybean oil and meat and dairy substitutes, including tofu and soy milk) and agricultural items (animal feed and biodiesel).

In Table 3, the interaction term is negative and statistically significant in the case of oil, steel, soybean, iron ore, silver, aluminium, copper and gas, indicating that a higher real interest rate increases the negative impact of these commodities’ price volatility on fiscal balance. A higher interest rate increases the cost of capital, which deteriorates the fiscal balance. For different primary commodities, investment requirements are different; for some, a large amount of capital and/or longer-term investments are required. For example, the investment time horizon for the oil industry is 5–7 years. Thus, with a lower interest rate, investors may increase revenue and pay more taxes improving the fiscal balance.

Table 4 shows a similar pattern of results in commodity-exporting countries, except in the case of steel, iron ore, silver and soybean, where the coefficients are larger than those of the full sample. In the case of other commodities, the size of the coefficient is very similar. Table 5 illustrates that some metal commodities’ (steel and iron ore) price volatilities have a statistically significant effect on fiscal balance.

From the above discussion, we can conclude that among the disaggregated commodities, the most-traded commodities’ price volatilities have a statistically significant negative impact on fiscal balance. For example, metal’s price volatility has a larger impact compared to other commodities.

5.3 Marginal effect

Marginal effect estimation provides a sound estimate of the degree of change in the dependent variable that will be produced by variation in the independent variables. In this study, we compute the marginal effect of commodity price volatility on fiscal balance in terms of real interest rates. Based on the estimates in Table 1 (full commodity index), we estimate:

$$\frac{{d\left( {FB_{i,t} } \right)}}{{d\left( {CPV_{i,t} } \right)}} = - { }0.04 - { }0.004{ }\left( {Real interest rate} \right){ }$$
(4)

From Eq. 4, we can see that the marginal effect of commodity price volatility on the fiscal balance is a decreasing function of the real interest rate. Figure 2a–c plots the marginal effect, \(\frac{{d\left( {FB_{i,t} } \right)}}{{d\left( {CPV_{i,t} } \right)}}\), on the Y-axis and real interest rates on the X-axis. From Fig. 2a, we can observe that the marginal effect of commodity price volatility on fiscal balance becomes negative with the increase in real interest rate in the full sample that supports our empirical findings in Table 1. Figure 2b and 2c also supports our empirical findings in Table 2 that the marginal effect of commodity price volatility on fiscal balance becomes negative with the increase in real interest rate in commodity-exporting and commodity-importing countries, respectively.

Fig. 2
figure 2

a Marginal effect of commodity price volatility on fiscal balance (full sample). b Marginal effect of commodity price volatility on fiscal balance (commodity-exporting). c Marginal effect of commodity price volatility on fiscal balance (commodity-importing)

5.4 The generalised method of moments

To check the robustness of the results, we use the one-step system generalised method of moments (system GMM) estimator of Arellano and Bond (1991) and Blundell and Bond (1998) in the estimation that addresses the problem of endogeneity in the model. Table 6 shows the results of the estimation of Eq. (1) using a one-step system GMM. From Table 6, we can observe that the coefficients of commodity price volatility are – 0.04, – 0.07 and –0.02 in the full sample, commodity-exporting and commodity-importing countries, respectively, which are very much similar with our basic FE model findings (presented in Tables 1 and 2). The coefficients of other variables are not significantly altered by the one-step system GMM model from the findings estimated by the benchmark FE model.

Table 6 Determinants of fiscal balance with one-step system GMM

6 Conclusion

This study explores the impact of commodity price volatility on fiscal balance. To understand its effect, a dynamic panel data regression model is estimated for 108 countries for the period from 1993 to 2018. Our empirical findings show that commodity price volatility has a negative and statistically significant effect on fiscal balance in the full sample and commodity-exporting countries. However, we do not find any statistically significant impact on commodity-importing countries. Similar results are also observed when we assess the impact of each of the 10 most-traded commodities.

This study also investigates the role of real interest rates in influencing the relationship between commodity price volatility and fiscal balance. Our empirical results show that in our sample the negative impact of commodity price volatility is mitigated by lower real interest rates by 10 per cent. A higher real interest rate increases the cost of borrowing, which decreases investment. Based on our empirical findings, we conclude that the adoption of a lower real interest rate will help to reduce the adverse effects of commodity price volatility on fiscal balance. Our results are robust to different econometric estimations such as pooled OLS, fixed effect, random effect and generalised method of moments estimations.