Introduction

Understanding why some resource-poor countries outperform their resource-rich counterparts has been a major preoccupation to researchers as well as policymakers. Hence, over the last 3 decades, the hypothesis that natural resource endowments are an impellent to a country’s development has remained a contemporary debate topic among researchers in the field of development economics. Thus, the question whether resource wealth is a blessing or curse to socioeconomic development remains ambiguous. While the development of some countries is believed to have been propelled by their natural resource endowments (Deaton 1999), the underdevelopment of others, especially Sub-Saharan Africa (SSA) resource-rich countries has been blamed on their overdependence on natural resource exploitation (Sachs and Warner 1995). This counterintuitive development outcome has led to what has been baptised by oil researchers as the “natural resource curse”, born sequel to the seminal work of Auty (1993). Motivated by the controversies in economic literature regarding the effect of natural resource endowments on the socio-politico-economic development of countries across the globe, this paper revisits the resource curse hypothesis by examining the long-run and dynamic causal nexus between crude oil price and economic growth in SSA.

The present-day socioeconomic upheavals confronted by world economies are symptoms of a profounder malady without any proven remedy. Furthermore, these growth challenges faced by countries across the globe, especially engendered by the novel coronavirus pandemic seem to curtail the global possibility of achieving the sustainable development goals outlined in the global development agenda (United Nations 2015). Whence, while the global economy was projected to witness a decline in growth of about − 3% in 2020 down from 2.4% in 2019, that of the Euro zone was expected to fall from 1.2% in 2019 to − 7.5% in 2020. Equally, Sub-Saharan Africa (SSA) growth has been dwindling over the years, falling from 2.7 to 2.4% between 2017 and 2019. Hence, following the sharp fall in oil prices in the first quarter of 2020 by about 50% from its 2019 level, it was projected that this growth could further worsen and plummet to its lowest ever level of about − 1.6% by the end of 2020 (IMF 2020; Achuo et al. 2020; Steinbach and Sandhu 2020). Nevertheless, economic growth literature opines that oil price shocks are major exogenous drivers of macroeconomic variability.

Howbeit, recent trends in oil prices and growth rates across the globe have reawakened debates on the nexus between crude oil price and economic growth. On the one hand, several oil studies before the early 2000s considered oil as a magic lever to growth. For instance, according to the 2015 Economics Nobel laureate, Deaton (1999), oil price hikes have positive effects on Africa’s economic development. However, this view remains questionable as some researchers consider natural resource wealth as speed brakes to the socioeconomic development of Africa (Carmignani and Avom 2010). Likewise, some oil exporters who, theoretically are supposed to be positively impacted during periods of oil price hikes often face worse economic meltdowns than their net oil-importing counterparts; thus, confirming the resource curse hypothesis (Auty 1993; Sachs and Warner 1995).

Whence, the degree of correlation between economic growth and oil prices is believed to be very high in countries with high natural resources dependence. Consequently, a glance at growth and oil data from 1976 to 2018 (see Fig. 1 below) reveals that SSA has witnessed great variations in its growth rate with highest and lowest values of 11.7% and − 1.45% recorded in 2004 and 1983, respectively. These variations have, however, been consistent with respective oil price surges. Withal, the growth trend between 2016 and 2018 is positive following a similar positive trend of oil prices.

Fig. 1
figure 1

Evolution of crude oil price and GDP growth in SSA

Moreover, the recurrent oil price variations with its inherent socioeconomic consequences remain a major preoccupation not only to researchers, but also to policy makers and development agencies around the world. Recently, Miamo and Achuo (2021) established a positive link between crude oil price and economic growth, which is consistent with the trend observed in Fig. 1. However, it is intuitively believed that respective oil price increases and decreases are likely to be beneficial and detrimental to resource-rich net oil-exporting countries, unlike their resource-poor counterparts who are likely to benefit from oil price decreases. Nevertheless, the results of several studies have been counterintuitive (Auty 2001; Sachs and Warner 1997), thereby leading to the validation of the resource curse hypothesis.

Although a host of studies have investigated the nexus between crude oil price shocks and economic growth, most of such studies have predominantly focused on developed economies. Besides, the few existing studies for SSA often employ time series analysis with smattering panel studies available. In addition, to the best of our knowledge, previous studies in SSA have either considered the oil–GDP growth nexus for a group of net oil exporters or importers. We, thus, contribute to this area of study by taking into consideration both net oil importers and exporters and looking at the combined effects, before splitting the panel into net oil exporters and importers to check for robustness of our results with regard to earlier empirical findings and theoretical foundations. This paper is, thus, imperative to fill this gap. Consequently, the purpose of this paper is twofold: (i) to revisit the resource curse hypothesis by examining the effect of crude oil price changes on economic growth, (ii) to investigate whether there exist long-run causality between crude oil price and economic growth.

To achieve these objectives, this study employs the novel panel vector autoregression (PVAR) estimation technique proposed by Abrigo and Love (2016) as well as the Toda-Yamamoto (1995) causality test for a panel of 32 SSA countries from 1980 to 2017. Our results confirmed earlier findings by Deaton (1999) by showing that crude oil price has a significant positive effect on economic growth both in the short- and long-run periods. These results remain consistent with the employment of other robust estimation techniques. Unsurprisingly, after splitting the panel into net oil exporters and importers, the results for net oil exporters reveal a positive and negative effect of crude oil price on economic growth in the short- and long-run periods, respectively, thereby validating the resource curse hypothesis in the context of oil-exporting SSA countries. Moreover, we found evidence of bidirectional causality between crude oil price and real GDP.

Following the introduction, the remainder of this paper is outlined as follows: section two reviews the relevant literature, section three outlines the empirical methodology, section four presents and discusses the empirical findings, while the concluding remarks are contained in section five.

Brief review of theoretical and empirical literature

This section X-rays pertinent theoretical and empirical underpinnings with regard to the nexus between crude oil price changes and economic growth. In this light we first explore some classical theories notably the Solow (1956) Model and the Kydland-Prescott (1982) Real Business Cycle (RBC) theory, as well as conventional growth theories. The Solow growth model propounded by Robert Solow, the 1987 Economics Nobel prize laureate is based on the premise that output depends on labour and capital, assuming constant returns to scale. Despite the numerous refinements undergone by the Solow model, it remains very vital for modern growth studies. Thus, Mankiw (1995) contends that the neoclassical growth model should be the starting point of discussions by economists with regard to long-run growth. Equally, the RBC theory, developed in 1982 by the 2004 Economics Nobel prize laureates, Kydland and Prescott considers that economic crisis and fluctuations are caused by external shocks stemming from resource and technology constraints (Stadler 1994). The incorporation of energy prices into various extensions of the RBC theory is therefore of prime importance in the context of this study.

Besides the classical growth theories, this paper is inspired by four conventional theories which hypothesise that economic growth is driven by crude oil price changes. First, Samuelson and Nordhaus (1985) in the mainstream theory of economic growth contend that economic growth is determined principally by production which in turn depends on energy. Moreover, the theory assumes that production is made possible by primary factors (capital, labour and land) and intermediate factors (notably fuel, coal, oil and gas). Secondly, the Linear/symmetric relationship growth theory advocated by Hamilton (1983) and Hooker (1986) hypothesizes the existence of a significant negative relation between oil price hikes and GDP growth. Furthermore, Herrera et al. (2015) opine that the direct-supply effect of an increase in crude oil price is symmetric although its sign is ambiguous for oil-exporting countries depending on the size of the oil sector to the country’s GDP. Thirdly, the asymmetry theory of economic growth, whose hypothesis were confirmed for African economies by Mark et al. (1994) underscores the existence of a negative and ambiguous effect on future GDP growth following respective increases and decreases in oil price. Lastly, the nexus between crude oil price and growth is acknowledged by the renaissance growth theory wherein Lee and Ratti (1995) differentiate between oil price volatility and oil price changes. While the effect of the latter on economic growth is felt after a one year lag, that of the former is immediate.

Nevertheless, irrespective of the variants observed in the preceding theories, we notice a common point of concordance among the proponents, which is the existence of a relationship between crude oil price changes and economic growth. Hence, there is need to empirically examine the effect of crude oil price changes on economic growth. Therefore, having highlighted the theoretical basis for the oil price and real GDP nexus, we now explore some salient empirical studies within and without SSA countries.

On the one hand, a survey of studies across the world outside SSA have provided conflicting results with respect to the oil price and economic growth nexus. For instance, Samimi and Shahryar (2009) employ the Structural VAR model on annual data for six OPEC member states (Saudi Arabia, Iran, Kuwait, Nigeria, Venezuela and Indonesia) and found a positive long run effect of oil shocks on the real GDP for all countries, except Kuwait where the impact was, respectively, positive and negative in the short and long run. Conversely, Qazi (2013) adopting a similar modelling framework on the same countries found varying effects for different countries. The author opines that while the effect of an oil shock on GDP growth was significantly negative for Algeria, it was significantly positive for Venezuela. However, the results were statistically insignificant for the rest of the countries.

Similarly, Berument et al. (2010) employed the VAR model for the Middle East and North Africa (MENA) zone and varying results were found for net oil exporters and importers. While they found a significant positive effect of oil price increases on output growth for net oil exporters, the effect was insignificant on the output growth of net oil importers. Similar results have been reported for net oil exporters like Venezuela (Mendoza and Vera 2010) and Azerbaijan (Mukhtarov et al. 2020). Conversely, Ftiti et al. (2016) opine that this relation is negative in a study conducted on four OPEC countries, a result consonant to the findings of a study for the ASEAN-5 countries by Aziz and Dahalan (2015).

Parallelly, Yoshino and Taghizadeh-Hesary (2014) investigate the impact of crude oil price fluctuations on GDP growth rate and inflation in China, Japan and the United States (US) and assert that while an oil price increase negatively impacts Chinese GDP growth, the effect is positive on the GDP growth of Japan and the US. Hence, they conclude that the impact of oil price changes on the GDP growth rate are much slower for developed net oil-importing economies like the US and Japan than on an emerging economy like China. Similar results have been reported for China (Khan et al. 2017) and India (EXIM Bank 2018). However, these findings for net oil importers contradict the findings of Chen et al. (2015) who posit that oil price positively impacts the economic growth of the Chinese economy.

On the other hand, cross-country studies focused on net oil-exporting SSA countries in particular have found evidence of the resource curse. For instance, Besso and Pamen (2017) employing a panel VAR modelling framework for 6 countries of the Economic Community of Central African States (CEMAC) concluded that oil price has a significant negative long-run effect on real GDP growth. Although this result disagrees with the findings of Omolade et al. (2019), it is consistent with the findings of Omojolaibi and Egwaikhide (2013) and Akanni (2007). Besides, unlike Deaton (1999) and Nchofoung et al. (2021) who found a positive nexus between natural resource wealth and socioeconomic development, a number of studies have concluded that natural resource exploitation constitutes a major hindrance to the socioeconomic development of African countries (Carmignani and Avom 2010; Sachs and Warner 1995).

In addition, Sachs and Warner (1997) contend that dismal openness to foreign trade and poor economic policies have greatly slowed Africa’s development. Low trade openness further worsens a country’s ability to attract substantial foreign direct investments (FDI), likely to enhance a country’s economic growth. Nevertheless, a positive nexus has been established between crude oil price and various growth indicators at the individual country level notably for Cameroon (Miamo and Achuo 2021; Forgha et al. 2015) and Nigeria (Mesagan et al. 2018; Ogboru et al. 2017; Oriakhi and Osaze 2013). The apparent conflicting results may, however, result from the different methodologies and variables included in the models as well as the time scopes adopted by different researchers.

As revealed by the extant literature, although a number of empirical studies on the relationship between crude oil price shocks and economic growth exist, most of such studies have largely focused on developed and developing MENA economies. Besides, there is yet no consensus among researchers and to the best of our knowledge, the few existing literature for SSA often employ time series analysis with smattering panel studies available. Given that the heterogeneity of results observed in the extant literature may be accounted for by the different methodologies employed by various authors (Lebdioui, 2021), this paper is, thus, imperative to fill this gap as it adopts the novel panel vector autoregression (PVAR) modelling framework for a sample of 32 SSA countries comprising 10 net oil exporters and 22 net oil importers. Furthermore, although several studies have employed the ARDL, VAR, SVAR, and PVAR models in their analysis, they have employed classical cointegration techniques which do not allow for an adequate number of lags for the VAR model. The use of the Toda-Yamamoto causality (1995) technique and the PMG-ARDL approach in this study, therefore, ensures the reliability of the estimated coefficients since it incorporates an adequate number of lags for the variables in the estimated model.

Methodological strategy

Model specification

Cognisant of the objective of this study, which is to examine whether there exist a long-run and dynamic causal nexus between crude oil price and economic growth in SSA, it is necessary to specify the operational basis through which this can be attained. Given that most SSA countries rely on the exploitation and exportation of natural resources, it is believed that changes in the prices of various traded commodities (notably crude oil) can engender significant macroeconomic impacts. For example, oil exploitation can provide employment to the population, attract foreign direct investments (FDI) which in turn can enhance infrastructural development. Moreover, infrastructural investments in education and health may further enhance labour productivity, which is a key determinant of economic growth, as advocated by proponents of the endogenous growth theory (Solow 1956; Lucas 1988; Romer 1990). Equally, oil exploration activities are likely to engender environmental challenges through the emission of greenhouse gases like carbon dioxide (CO2). Thus, crude oil exploitation could be environment unfriendly, thereby limiting the possibilities of simultaneously achieving sustainable growth without compromising environmental quality. On the basis of the foregoing arguments, we derive the following theoretical model linking crude oil price (COP) and economic growth.

$$\mathrm{economic\, growth}=f\left(\mathrm{crude \,oil \,price}, Y\right),$$
(1)

where Y is a vector of control variables likely to influence economic growth besides the variable of interest (that is, crude oil price). In line with the specified theoretical model, and following Kim and Loungani (1992) and Mankiw et al. (1992), the following econometric model is specified.

$${\mathrm{GDP}}_{\mathrm{it}}= {\chi }_{0}+ {{\chi }_{1}\mathrm{COP}}_{it}+ {{\chi }_{2}\mathrm{CO}2}_{it}+{{\chi }_{3}\mathrm{FDI}}_{it}+{{\chi }_{4}\mathrm{POP}}_{it} + {\varepsilon }_{it},$$
(2)

where \({\chi }_{0}\) is the intercept; \({\chi }_{1}\), \({\chi }_{2}\), \({\chi }_{3}\) and \({\chi }_{4}\) are respective slope parameters of various explanatory variables (COP, CO2, FDI and POP); and \({\upvarepsilon }_{\mathbf{i}\mathbf{t}}\) is the random error term in country i and period t, assumed to be stationary. The various modelled variables are defined in the following section.

Data and properties of variables

This study uses annual panel data for 32 SSA countries over the period 1980–2017. The data was collected from the World Development Indicators of the World Bank Data Base (WDI 2019) and the US British Petroleum Statistical Review of World Energy (BP 2019). For the purpose of comparisons, we further split the sample into two sub-groups notably, ten net oil exporters and 22 net oil importers.Footnote 1 However, the time frame and countries included in the sample was chosen based on the availability of relevant data. The dependent variable used is real GDP per capita (denoted GDP, measured in millions of current US dollars), explained principally by crude oil price (henceforth denoted COP, which is Brent crude price in current US dollars per barrel of oil). Other explanatory variables include carbon dioxide emissions (denoted CO2, measured in kilotons of CO2), population size (henceforth denoted POP, in annual percentages) and foreign direct investment (denoted FDI, measured by net inflows as a percentage of GDP). All variables are considered in natural logarithms, except FDI and POP. Moreover, the perceived correlations between the explanatory variables and the dependent variable are highlighted in Fig. 2.

Fig. 2
figure 2

Scatter plots of modelled variables

A keen look at the line of best fit in Fig. 2a shows that oil price changes positively impact on the real GDP of SSA countries, implying that the real GDP of SSA counties decreases and increases with respective decreases and increases in crude oil price. Equally, Fig. 2b shows a positive link between real GDP and carbon dioxide emissions (CO2), implying that as real GDP grows, environmental quality falls as more CO2 emissions are released. A similar relation is obtained for the nexus between real GDP and foreign direct investment as seen on Fig. 2c. However, Fig. 2d shows that there exist a negative relation between real GDP and population growth, implying that increases and decreases in population growth lead to respective reductions and increases in the real GDP of SSA countries. Thus, from the previewed scatter plots, it is expected that respective increases and decreases in crude oil price, FDI, and CO2 emissions will positively and negatively impact on the real GDP of SSA countries unlike increases in population growth which are expected to impact negatively on real GDP.

Toda-Yamamoto causality procedure and PVAR modelling

To examine the causality relation between the modelled variables, we employ the Toda and Yamamoto (1995) test which requires four main steps. First, we determine the maximum order of integration (m) between variables. Second, the optimal lag order (k) of the VAR model is determined. Third, the specified VAR model is estimated and lastly, the significance of the VAR model is tested with the help of a modified Wald statistic. Hence, the estimation of an augmented \(\mathrm{VAR}\left(k+m\right)\) model ensures the asymptotic \({\chi }^{2}\) distribution of the Wald statistic (Emirmahmutoglu and Kose 2011; Ayad and Belmokaddem 2017).

Moreover, the study adopts the PVAR estimation technique according to Abrigo and Love (2016) PVAR estimation technique according to Abrigo and Love (2016), which is an extension of the initial works of Love and Zicchino (2006). The PVAR model is adopted due to its ability to: (i) capture both static and dynamic interdependencies, (ii) treat the links across countries without restrictions, (iii) easily incorporate time variations in the coefficients and variance of the shocks, and (iv) account for cross sectional dynamic heterogeneities. Consequently, consistent with earlier studies (Mallick and Mohsin 2007; Aziz and Dahalan 2015), the following PVAR model is specified.

$${X}_{it}= {\omega }_{i}+ {{\varphi }_{i}X}_{it-i}+ {\varepsilon }_{it}, $$
(3)

where: \({X}_{it}\) is an (n × 1) vector of endogenous variables (as specified in Eq. 2); \({\varphi }_{i}\) are (n × n) matrices of slope coefficients; \({\omega }_{i}\) is an (n × 1) vector of intercepts; \({\varepsilon }_{it}\) is an (n × 1) vector of random errors; \(i=1,\dots , N and t=1,\dots , T\).

Consequently, based on our variables of interest, we specify the following pentavariate PVAR model in line with the Toda-Yamamoto procedure highlighted supra.

$$ {\text{GDP}}_{{it}} = \omega _{{1i}} + \sum _{{j = 1}}^{{k + m}} \alpha _{{1ij}} {\text{GDP}}_{{it - j}} + \sum _{{j = 1}}^{{k + m}} \beta _{{1ij}} {\text{COP}}_{{it - j}} + \sum _{{j = 1}}^{{k + m}} \gamma _{{1ij}} {\text{CO}}2_{{it - j}} + \sum _{{j = 1}}^{{k + m}} \mu _{{1ij}} {\text{FDI}}_{{it - j}} + \sum _{{j = 1}}^{{k + m}} \pi _{{1ij}} {\text{POP}}_{{it - j}} $$
(4)
$$ {\text{COP}}_{{it}} = \omega _{{2i}} + \sum\limits_{{j = 1}}^{{k + m}} {\beta _{{2ij}} } {\text{COP}}_{{it - j}} + \sum\limits_{{j = 1}}^{{k + m}} {\alpha _{{2ij}} } {\text{GDP}}_{{it - j}} + \sum\limits_{{j = 1}}^{{k + m}} {\gamma _{{2ij}} } {\text{CO}}2_{{it - j}} + \sum\limits_{{j = 1}}^{{k + m}} {\mu _{{2ij}} } {\text{FDI}}_{{it - j}} + \sum\limits_{{j = 1}}^{{k + m}} {\pi _{{2ij}} } {\text{POP}}_{{it - j}} + \varepsilon _{{2it}} , $$
(5)
$$ {\text{CO}}2_{it} = \omega_{3i} + \mathop \sum \limits_{j = 1}^{k + m} \gamma_{3ij} {\text{CO}}2_{it - j} + \mathop \sum \limits_{j = 1}^{k + m} \alpha_{3ij} {\text{GDP}}_{it - j} + \mathop \sum \limits_{j = 1}^{k + m} \beta_{3ij} {\text{COP}}_{it - j} + \mathop \sum \limits_{j = 1}^{k + m} \mu_{3ij} {\text{FDI}}_{it - j} + \mathop \sum \limits_{j = 1}^{k + m} \pi_{3ij} {\text{POP}}_{it - j} + \, \varepsilon_{3it} , $$
(6)
$$ {\text{FDI}}_{it} = \omega_{4i} + \mathop \sum \limits_{j = 1}^{k + m} \mu_{4ij} {\text{FDI}}_{it - j} + \mathop \sum \limits_{j = 1}^{k + m} \alpha_{4ij} {\text{GDP}}_{it - j} + \mathop \sum \limits_{j = 1}^{k + m} \beta_{4ij} {\text{COP}}_{it - j} + \mathop \sum \limits_{j = 1}^{k + m} \gamma_{4ij} {\text{CO}}2_{it - j} + \mathop \sum \limits_{j = 1}^{k + m} \pi_{4ij} {\text{POP}}_{it - j} + \mathop \sum \limits_{j = 1}^{k + m} \pi_{4ij} {\text{POP}}_{it - j} + \, \varepsilon_{4it} , $$
(7)
$$ {\text{POP}}_{{it}} = \omega _{{5i}} ~ + ~~\mathop \sum \limits_{{j = 1}}^{{k + m}} \pi _{{5ij}} {\text{POP}}_{{it - j}} + ~\mathop \sum \limits_{{j = 1}}^{{k + m}} \alpha _{{5ij}} {\text{GDP}}_{{it - j}} + ~\mathop \sum \limits_{{j = 1}}^{{k + m}} \beta _{{5ij}} {\text{COP}}_{{it - j}} ~ + ~\mathop \sum \limits_{{j = 1}}^{{k + m}} \gamma _{{5ij}} {\text{CO}}2_{{it - j}} + ~\mathop \sum \limits_{{j = 1}}^{{k + m}} \mu _{{5ij}} {\text{FDI}}_{{it - j}} + \varepsilon _{{5it}} . $$
(8)

where k is the optimal lag length; m is the maximal order of integration of the variables in the system; α, β, \(\gamma ,\) µ, and π are (5 × 5) matrices of slope coefficients.

Empirical results and discussion

This section begins with the presentation of preliminary results, notably with regard to correlation analysis, unit root and causality tests, before discussing the baseline empirical results of the PVAR model.

Descriptive Statistics and correlation analysis

A brief statistical description and correlation analysis of the modelled variables is shown in Table 1. The historical background provided by the descriptive statistics shows significant variations over the study period. However, as evidenced by the mean and standard deviation values, the level of variability is moderate for some variables (COP, FDI and POP) and somewhat volatile for others (GDP and CO2 emissions). Real GDP has reached maximum and minimum values of $22,942.58 and $100.0303, respectively. This maximum value was recorded by Equatorial Guinea in 2008 while the minimum was recorded by Uganda in 1980. Also, CO2 emissions have reached respective maximum and minimum values of 503,112.4 and 66.01 kilotons recorded by South Africa in 2009 and Equatorial Guinea in 1985. This indicates that although the rate of CO2 emissions has risen since the mid-1980s, it has as well witnessed a downward trend across SSA since its peak value in 2009. Equally, we notice that Equatorial Guinea with the highest record value of GDP is the same country with the lowest record value of CO2 emissions. This therefore leaves us with the belief that economic growth is environment-friendly.

Table 1 Synopses of descriptive statistics and correlations

Moreover, the correlation results show evidence of the existence of a generally weak correlation between modelled variables. However, while there is weak positive correlation between GDP and COP, CO2 and FDI, the correlation is negative between GDP and population growth. Thus, this weak correlation between modelled variables shows evidence of the absence of multicolinearity which is indicative of a strong explanatory power of the estimated coefficients of our model.

Panel unit root tests

Panel unit root tests were conducted to determine the order of integration of the modelled variables. Accordingly, we employed two conventional panel unit root tests notably Levin, Lin and Chu (LLC) and Im, Pesaran and Shin (IPS). Even though both the LLC and the IPS tests employ the null hypothesis that there is a unit root, the LLC test, developed by Levin et al. (2002) is based on the null hypothesis that there is a common unit root process across cross sections while the IPS test, developed by Im et al. (2003) assumes an individual unit root process across cross sections. Table 2 presents the LLC and IPS unit root results at levels (denoted I(0)) and first difference (denoted I(0)).

Table 2 Summary of panel unit root tests

The panel unit root results reveal that the variables are not all stationary at levels. Specifically, both the LLC and IPS results show that while FDI and POP are stationary at levels; all other variables notably CO2, COP and GDP become stationary at the first difference. Equally, we observe that the stationarity of all the variables is justified at the 1% level of significance. The presence of I(1) variables in the series is indicative of the presence of cointegration among variables. Hence, the need to carry out cointegration analysis. Moreover, based on the Toda-Yamamoto (1995) cointegration procedure, the I(0) and I(1) nature of the variables implies that the maximal order of integration to be adopted in the model is one (i.e. m = 1). Moreover, in accordance with the modelling procedure developed supra, the optimal lag length was determined. We retain an optimal lag length of three (i.e. k = 3, see Table 3) as selected by the Schwarz information criterion (SC) and Hannan–Quinn information criterion (HQ).

Table 3 Lag length selection

Causality analysis

Having established that the variables are both I(0) and I(1), we proceed to verify whether or not the modelled variables are actually cointegrated. Consequently, we employed the Toda-Yamamoto (1995) causality test. The causality results in Table 4 show evidence of the existence of both unidirectional and bidirectional causality among variables. For example, we observe bidirectional causality between crude oil price and real GDP. Specifically, there is evidence at the 1% significance level that long-run changes in crude oil price can be explained by changes in GDP and vice versa, thereby indicating a feedback effect. We also find bidirectional causality between FDI and CO2. Besides these two cases in which a feedback effect is observed, all other variables exhibit unidirectional causality.

Table 4 Toda-Yamamoto non-causality analysis

Baseline PVAR results

After ensuring an appropriate lag length (k + m) for the panel VAR model, following the Toda-Yamamoto (1995) procedure, we conducted impulse response analysis for the panel of 32 Sub-Saharan Africa (SSA) countries. Empirical evidence from the impulse response functions (IRFs) in Fig. 3Footnote 2 indicates that real GDP positively responds to forecast errors that occur in crude oil price. This implies that crude oil price leads to an increase in economic growth in SSA. This effect is consistent both in the short- and long-run periods. Equally, foreign direct investment (FDI) and population growth (POP) positively contribute to real GDP both in the short-run and long-run periods. Nevertheless, we observe both a positive and negative response of real GDP to CO2 emissions. Specifically, while there is a positive effect of CO2 emissions on real GDP in the short run (between periods 1 and period 9), the effect is negative in the long-run (between periods 10 and period 20).

Fig. 3
figure 3

Impulse response graphs for the global sample

Based on the foregoing results, and given that most SSA countries depend on natural resources for foreign exchange earnings, we assert that crude oil price hikes are growth enhancing in SSA. This positive effect of crude oil price on the economic growth of SSA economies contradicts the findings of Aziz and Dahalan (2015) and Omolade et al. (2019) but consonant to the findings of Deaton (1999) who opined that oil price hikes have positive effects on Africa’s economic development. The results further reveal that crude oil price is environment unfriendly as depicted by the positive response of CO2 emissions to crude oil price shocks (see appendix 1).

Notwithstanding, given that the study incorporates both net oil importers and exporters, we further split the sample into two sub-groups and estimate IRFs for both sub-groups. This is to verify whether the relationship obtained between GDP growth and crude oil price is consistent with existing studies if the countries are considered separately as net oil exporters and net oil importers. From the comparative analysis of the IRFs in Figs. 4 and 5 we observe that there are some disparities in the theoretical expectations regarding the effect of oil prices on the economic growth of net oil exporters and net oil importers.

Fig. 4
figure 4

IRFs for net oil exporters

Fig. 5
figure 5

IRFs for net oil importers

Results from Fig. 4 show that the effect of crude oil price on real GDP is asymmetric for net oil exporters. Specifically, while the effect is positive in the short run, it is negative in the long run. Hence, this confirms results of earlier studies (Akanni 2007; Besso and Pamen 2017; Ftiti et al. 2016; Omojolaibi and Egwaikhide 2013) which is indicative that oil rich countries suffer from the resource curse. This negative long-run effect may be explained by the high levels of corruption (Bulte and Damania 2008; Leite and Weidmann 1999; Zalle, 2019), economic mismanagement and embezzlement of oil windfalls (Badeeb et al., 2017) and poor institutional quality (Sachs and Warner 1995; Sala-i-Martin and Subramanian 2013) that are predominant in natural resource-rich economies especially Sub-Saharan Africa.

Withal, Fig. 5 reveals that the real GDP of net oil importers responds positively to crude oil price both in the short-run and long-run periods. However, this positive relation for net oil importers is contrary to the findings of Nkoto (2006) who concludes that Southern African net oil importers like South Africa are more vulnerable to oil price shocks than their net oil-exporting counterparts. Nevertheless, it may be unsurprising that resource-poor countries do avoid the resource curse since these countries may be more cautious in the management of the few resources at their disposal. Moreover, the economies of resource-poor countries are likely to be more diversified than those of their resource-rich counterparts.

Robustness checks

According to Abrigo and Love (2016), it is important to conduct robustness checks on the PVAR model since the results could be sensitive to the number of lags. Consequently, we verified for stability by examining the autoregressive (AR) roots table and graph. Thus, the roots of the AR characteristic polynomial (see appendix 2) indicate that the specified model is stable given that the modulus of all the roots is less than one. This is further confirmed by the unit circle (see appendix 3) which is evidenced by the fact that no root lies outside the unit circle. The results are consistent with the postulations of Abrigo and Love (2016) and Lutkepohl (2005). The validation of the stability condition of the estimated PVAR model is indicative that the results of the IRFs can be used for policy recommendations.

In addition, we further verified the pertinence and robustness of the PVAR results by employing the conventional panel ARDL approach propounded by Pesaran et al. (1999) considered to be suitable for I(0) and I(1) series. The panel ARDL model is estimated with an automatically selected optimal lag length, ARDL (1, 1, 1, 1, 1) following the Schwarz information criterion (SC). Indeed, the panel ARDL results (see appendix 4) largely remain consistent with the baseline PVAR results. Likewise, the existence of long-run causality among modelled variables is further confirmed by the significantly negative coefficient of the error correction term (ECT-1) at the 1% level of significance. Equally, the robustness of the panel ARDL results was verified with the help of diagnostic tests. Specifically, we conducted the panel unit root test on the estimated PMG/ARDL residuals as recommended by Pesaran (2007). Accordingly, results of the residual unit root tests exhibit significance at 1% (see appendix 5) indicating that the residual series is stationary at levels, thereby confirming the stability of the panel ARDL model.

Conclusion and policy implications

This paper revisits the resource curse hypothesis by employing the PVAR estimation technique to examine the nexus between crude oil price and economic growth in 32 Sub-Saharan African countries over the period 1980–2017. We also employed the Toda-Yamamato (1995) causality test to investigate the causal relationship between modelled variables. Results of the IRFs of the PVAR model show a positive significant relation between crude oil price and economic growth both in the short- and long-run. However, varying results are found when the sample of 32 SSA countries is split into net oil importers and exporters. First, in the case of net oil exporters, while the effect of crude oil price on economic growth is positive in the short run, it is negative in the long run, indicating evidence of the resource curse. Second, we find a positive nexus between crude oil price and economic growth in the case of net oil importers. This effect is consistent both in the short and long run.

Nevertheless, prior to the PVAR estimations, a number of tests were conducted. First, we showed that the modelled variables were stationary at levels I(0) and at first difference I(1) with the help of two conventional panel unit root tests notably (Levin et al. 2002; Im et al. 2003) . Then, we found evidence of bidirectional causality between real GDP and crude oil price. Specifically, there is evidence at the 1% significance level that long-run changes in crude oil price can be explained by changes in GDP and vice versa, thereby indicating a feedback effect. A feedback effect is also observed between FDI and CO2. Besides these two cases in which a feedback effect is observed, other variables exhibit unidirectional causality.

Consequently, to boost economic growth in SSA, it is imperative for various governments to efficiently manage oil windfalls and increase investments in human capital in view of enhancing the development of the oil sector. Moreover, SSA countries can avoid the resource curse by intensifying strategies aimed at curbing corruption as well as diversifying their economies through a careful identification and development of other economically beneficial sectors.