1 Introduction

The relationship between energy consumption and economic growth have been widely examined in the literature of economic energy (e.g. [13, 18, 23, 26, 31, 36, 40, 55, 67]). In addition, these previous studies are based on the Granger causality tests which are widely used in order to investigate the direction of causality. However, their results have been characterized by the lack of paradoxical consensus. This paradox of economic energy literature has been explained largely through the omission bias of important variables, which affects the interaction between energy consumption and economic growth.

The omission bias, which means the elimination of relevant variables, consists in the main reason for more recent studies based on the Granger causality tests to investigate the causality relationship between energy consumption and economic growth including other important variables, such as capital, labor (e.g. [6, 7, 28, 37, 63, 68, 70, 71]). Moreover, a more recent paper has included trade, as a relevant variable (e.g. [37, 48, 63]) whose studies aim at examining the causality relationship between energy consumption and economic growth.

Nevertheless, the dynamic interaction between energy consumption, trade and economic growth has been well studied in the past few decades, which it has been the topic of many debates and academic researches that belong to the economic energy field. Based on the environmental Kuznets curve (EKC) literature, the interaction between economic growth and energy consumption may generate weigh heavily on the environmental quality (e.g. [3, 8, 10, 16, 30, 34, 35, 38, 69, 72, 76]). Hence, the interaction between economic growth and pollutant emissions conforms with an inverted-U shape, which is consistent with the EKC hypothesis, which states that as economic growth increases, carbon dioxide increase. When threshold level of growth is reached, these emissions begin to decline. Indeed, the expansion of production causes more energy consumption, which puts pressure on the environmental quality leading to more pollutant emissions. This implies the degradation of the environment, which will later have a causal impact on economic growth, and also a persistent decline in the environmental quality which may exert a negative externality to economic growth through the health violations affecting human health, and consequently it may cause the reduction of productivity in the long run. The negative externality caused by the pollutant emissions has not only a negative impact on economic growth via reducing productivity, but also on the pollutant emissions which can be the main reason of the increase of the greenhouse gas and consequently it can be the booster of global warming. Therefore, it is crucial to apply some sorts of pollution control actions and drastic energy conservation measure such as the adoption of renewable and clean energy. This latter has been the subject of several academic researches and political debates (e.g. [11, 12, 14, 19, 21, 24, 25, 44, 59, 62, 64, 75, 77]).

The aim of this study is to investigate the impact of renewable energy consumption on economic growth and on carbon dioxide emissions. In other words, renewable energy can boost economic growth and/or mitigate pollutant emissions. This study offers the opportunity to better decide the ability of renewable energy in order to solve the gap: arbitration between economic growth and environmental quality by using simultaneous-equation models. Compared to previous studies, we use a simultaneous-equation modeling approach to investigate the impact of renewable energy consumption on economic growth and on carbon dioxide emissions in a framework of four-way linkages between renewable energy consumption, CO\(_{2}\) emissions, trade openness, and economic growth. In the literature, there is no study which has investigated this relationship using simultaneous equation models procedure. Compared to the above existing literature our paper thus contributes in the two following ways: First we employ a simultaneous equation models approach in order to investigate the four-way linkages between renewable energy consumption, carbon dioxide emissions, trade, and economic growth. This modeling approach relies on the GMM-estimator and helps us simultaneously examine the following combined causality effects of: (1) CO\(_{2}\) emissions, renewable energy consumption and trade openness on economic growth, (2) economic growth, renewable energy consumption and trade on CO\(_{2}\) emissions, (3) economic growth, CO\(_{2}\) emissions and trade openness on renewable energy consumption, and (4) economic growth, CO\(_{2}\) emissions and renewable energy consumption on trade openness.

The remainder of this paper is organized as follows: Sect. 2 outlines the materials of the modeling frame work. Section 3 contains the results. Section 4 discussions the empirical findings, and Sect. 5 concludes the paper and shows the policy implication.

2 Methods and materials

2.1 Econometric modeling

The aim of this paper is to examine the ability of renewable energy to mitigate pollutant emissions and keep a sustainable economic growth in the case of four-way interrelationships between renewable energy consumption carbon dioxide emissions, trade, and economic growth in a comparative framework between middle-and high-income countries using annual data over the period of 1990–2011. In fact, these four variables are endogenous. As often mentioned, there is an impressive body of existing literature where it is generally suppose that, as income increases, CO\(_2\) emissions increase but at some threshold of income is reached, pollutants emissions begin to decline according to the environmental Kuznets curve (EKC), which supports that economic growth would likely lead to changes in CO\(_2\) emissions. In addition, it was established that renewable energy consumption plays a vital role in determining the CO\(_2\) emissions. Moreover, the crucial role of trade in accelerating the adoption of renewable energy, which is linked to the transfer of technology, means that an indirect effect may exist in the short term from trade openness to renewable energy consumption through technology transfer [19, 62] examined the causal relationship between economic growth, renewable energy consumption and CO\(_2\) emissions. It is therefore worth investigating the interrelationship between the four variables by simultaneously considering them in a modeling framework.

For this purpose, we use the Cobb–Douglas production function to analyze the four-way linkages between renewable energy consumption, CO\(_2\) emissions, trade openness and economic growth, such as capital and labor as additional factor of production [4, 70, 73], among others, included energy consumption, CO\(_2\) emissions and trade openness variables in their empirical model to examine the impact of these variables on economic growth. Thus, our proposed model, which is consistent with the broader literature on the determinants of economic growth cited above; takes the following form:

$$\begin{aligned} \hbox {Y} =\mathrm{A}R\mathrm{E}^{\alpha _1 }C^{\alpha _2 }\mathrm{T}^{\alpha _3 }K^{\alpha _4 }L^{\alpha _5} e^\mu \end{aligned}$$
(1)

The logarithmic transformation of  Eq. (1) form with a time series specification is given by:

$$\begin{aligned} \ln (Y_t )=\alpha _0 +\alpha _1 \ln (RE_t )+\alpha _2 \ln (C_t )+\alpha _3 \ln (T_t )+\alpha _4 \ln (K_t )+\alpha _5 \ln (L_i )+\mu _t\nonumber \\ \end{aligned}$$
(2)

We then divide both sides of Eq. (4) by L to get variables in per capita terms; but leave the impact of labor constant, Eq. (2) can be specified as follows:

$$\begin{aligned} \ln (Y_t )=\alpha _0 +\alpha _1 \ln (RE_t )+\alpha _2 \ln (C_t )+\alpha _3 \ln (T_t )+\alpha _4 \ln (K_t )+\mu _t \end{aligned}$$
(3)

Since our study is a panel data study, Eq. (3) can be rewritten in panel data form as follows:

$$\begin{aligned} \ln (Y_{it} )=\alpha _0 +\alpha _{1i} \ln (RE_{it} )+\alpha _{2i} \ln (C_{it} )+\alpha _{3i} \ln (T_{it} )+\alpha _{4i} \ln (K_{it} )+\mu _{it} \end{aligned}$$
(4)

where: \(\alpha _0 =\ln (\mathrm{A}_0 )\); the subscript i = 1,..., N denotes the country (in our study, we have 24 countries) and t = 1,..., T denotes the time period (our time frame is 1990–2011). Variable Y is the per capita real GDP; RE, C, T and K denote per capita renewable energy consumption (RE), per capita CO\(_2\) emissions (C), the trade openness (T) and the capital stock (K), respectively. As well as financial development (FD) measured as total credit of the private sector as a share of GDP that, it is introduced such as a determinant variable of the level of CO\(_2\) emissions [56, 71]. A is the level of technology and e is the residual term assumed to be identically, independently and normally distributed. The returns of scale are associated with, renewable energy consumption, CO\(_2\) emissions and trade openness and capital are shown by \(\alpha _1 \), \(\alpha _2\), \(\alpha _3\) and \(\alpha _4\), respectively which we have a constant returns of scale (\(\sum \nolimits _{i=1}^4 {\alpha _i } =1)\). The logarithmic transformation aims at linearizing the form of the non linear Cobb–Douglas production function. It should be noted that simple linear specification does not seem to provide consistent results. Therefore, to overcome this problem, we use the log-linear specification to investigate the interrelationship between economic growth, renewable energy consumption, trade and CO\(_2\) emissions in 24 countries divided into two sub-panels based on the level of income.

The four-way linkages between these variables are empirically examined by making use of the following four simultaneous equations:

$$\begin{aligned} \ln (GDP_{it} )=\alpha _0 +\alpha _{1i} \ln (RE_{it} )+\alpha _{2i} \ln (C_{it} )+\alpha _{3i} \ln (T_{it} )+\alpha _{4i} \ln (K_{it} )+\mu _{it}\nonumber \\ \end{aligned}$$
(5)
$$\begin{aligned} \ln (RE_{it} )= & {} \xi _0 +\xi _{1i} \ln (GDP_{it} )+\xi _{2i} \ln (C_{it} )+\xi _{3i} \ln (T_{it} )\nonumber \\&+\,\xi _{4i} \ln (OP_{it} )+\xi _{5i} \ln (OC_{it} )+\varepsilon _{it}\end{aligned}$$
(6)
$$\begin{aligned} \ln (\mathrm{CO}_{2it} )= & {} \varphi _0 +\varphi _{1i} \ln (GDP_{it} )+\varphi _{2i} \ln (RE_{it} )+\varphi _{3i} \ln (T_{it} )\nonumber \\&+\,\varphi _{4i} \ln (URB_{it} )+\varphi _{5i} \ln (FD)+\lambda _{it}\end{aligned}$$
(7)
$$\begin{aligned} \ln (T_{it} )= & {} \psi _0 +\psi _{1i} \ln (GDP_{it} )+\psi _{2i} \ln (RE_{it} )\nonumber \\&+\,\psi _{3i} \ln (C_{it} )+\psi _{4i} \ln (FDI_{it} )+\pi _{it} \end{aligned}$$
(8)

In the above equations, the subscript \(i=1,...,N\) denotes the country and \(t=1,...,T\) denotes the time period.

Equation (5) states the impact of renewable energy consumption (RE), CO\(_2\) emissions (C) and capital stock (K) where we take gross fixed capital formation as a proxy that can potentially determine economic growth (e.g. [4, 5, 9, 10, 38, 45, 48, 63]). Equation (6) postulates that real GDP (GDP), CO\(_2\) emissions (C), trade (T) and other variables namely oil price (OP) and oil consumption can potentially affect renewable energy consumption (e.g. [9, 10, 14, 19, 37, 48, 62, 63]). Equation (7) suggests that real GDP (GDP), renewable energy consumption (RE), trade (T), urbanization degree (URB) and financial development can potentially affect CO\(_2\) emissions (e.g. [32, 41, 43, 64]). Equation (8) reveals that real GDP (GDP), renewable energy consumption (RE), CO\(_2\) emissions (C), and other variables, namely foreign direct investment (FDI) can potentially affect trade openness (e.g. [32, 35, 46, 56, 71]).

Equations (5), (6), (7), (8) were simultaneously estimated by means of the generalized method of moments (GMM). The GMM is the estimation method most commonly used in models with panel data and in the multiple-way linkages between certain variables. This method uses a set of instrumental variables to solve the endogeneity problem.

2.2 The estimation procedure

2.2.1 Panel unit root testing

We begin our framework by performing the panel unit root test proposed by (LLC) [42] and (IPS) [33]. Both of LLC and IPS are based on the Augmented Dickey–Fuller principle.

Levin et al. [42] considered the following basic Augmented Dickey–Fuller model:

$$\begin{aligned} \Delta y_{i,t} \,=\,\alpha _i \,+\beta _i y_{i,t-1} \,+\sum \limits _{j=1}^{p_i } {\mu _{i,j} \,\Delta y_{i,t-j} } \,+\varepsilon _{i,t} \end{aligned}$$
(9)

where \(\Delta \) is the first difference operator,\( X_{i,t }\) is the dependent variable i over period t, and the \(\varepsilon _{i,t} \) is a white-noise disturbance with a variance of \(\sigma _i^2 \). Both \(\beta _i \)and the lag order \(\mu \) in Eq. (9) are permitted to vary across sections (countries). Hence, they assumed

$$\begin{aligned} \left\{ {\begin{array}{l} \beta _i =\,0 \\ \beta _i \,\,\prec \,0; \\ \end{array}} \right. \end{aligned}$$

where the alternative hypothesis corresponds to Y\(_{i,t}\) being stationary.

According to the LLC test, compared with the single-equation Augmented Dickey–Fuller test, the panel method sensibly raises power in finite samples. The proposed model is as follows:

$$\begin{aligned} \Delta Y_{i,t} =\alpha _i +\beta Y_{i,t-1} +\sum \limits _{j=1}^{P_i } {\mu _{i,j} } \Delta Y_{i,t-j} +\varepsilon _{i,t}. \end{aligned}$$
(10)

Accordingly, [42] also assumed

$$\begin{aligned} \left\{ {\begin{array}{l} H_0 :\beta _{1\,} =\,\beta _2 =.......=\beta =0 \\ H_1 :\beta 1\,\,=\,\beta _2 =.......=\beta \prec 0 \\ \end{array}} \right. ; \end{aligned}$$

where the statistic of test is \(t_\beta =\frac{\widehat{\beta }}{\sigma (\widehat{\beta )}}\), \(\widehat{\beta }\) is the OLS estimate of \(\beta \) in Eq. (10) and \(\sigma (\widehat{\beta )}\)is its standard error.

Im et al. [33] proposed a testing procedure based on the mean group approach. The starting point of the IPS test is also the ADF regressions given in Eq. (10). However, the null and alternative hypotheses are different from that of the LLC test, where the rejection of the null hypothesis implies that all the series are stationary. We now have

H\(_{0}\): \(\beta _{1}\) = \(\beta _{ 2}\) = ... = \(\beta _{ N}\) = 0 vs. H\(_{1}\): Some but not necessarily all \(\beta _{ i}\prec \)0

The IPS test is calculated as the average of the t-statistic with and without trend. Alternative t-bar statistics for testing the null hypothesis of unit root for all individuals (\(\beta _{i}\) = 0) is as follows

$$\begin{aligned} \overline{t} =\,\frac{\,\sum \limits _{i=1}^N {t\beta _i } }{N} \end{aligned}$$
(11)

where t is the estimated Augmented Dickey–Fuller statistics from individual panel members; N is the number of individuals. Using Monte Carlo simulations, this test shows that the t-bar (\(\overline{t}\)) is normally distributed under the null hypothesis. Accordingly, it then used estimates of its mean and variance to convert t-bar (\(\overline{t}\)) into a standard normal z-bar (\(\overline{z}\)) statistics which is given by:

$$\begin{aligned} \overline{z} \,=\,\frac{\sqrt{N\,} \,(\overline{t} -E[\overline{t} \vert \beta _i =0])}{\sqrt{var[\overline{t} \vert \beta _i =0]} }\rightarrow N(0,1) \end{aligned}$$
(12)

where \(E[\overline{t} \vert \beta _i =0]\) and \(var[\overline{t} \vert \beta _i =0]\) are the mean and variance of \(t_{it} \). Moreover, the IPS study shows that the standardized statistics converges weakly to the standard normal distribution, which allows for comparison with critical values of the distribution N (0, 1).

2.2.2 The estimation techniques

It is well-known that the GMM method provides consistent and efficient estimates in the presence of arbitrary heteroskedasticity. Moreover, most of the diagnostic tests discussed in this study can be cast in a GMM framework. The GMM is the estimation method most commonly used in models with panel data and in the multiple-way linkages between certain variables. This method uses a set of instrumental variables to solve the endogeneity problem. Moreover, most of the diagnostic tests discussed in this study can be cast in a GMM framework. In addition, before running the regressions, some specific tests have been audited. According to [50, 74], two important specification tests are used for simultaneous-equation regression models: test of endogeneity/exogeneity and test of overidentifying restrictions. First, the Durbin–Wu–Hausman (DWH) test was used to test the endogeneity for all the four equations. The null hypothesis of the DWH endogeneity test is that an ordinary least squares (OLS) estimator of the same equation would yield consistent estimates: that is, an endogeneity among the regressors would not have deleterious effects on OLS estimates. A rejection of the null hypothesis indicates that endogenous regressors’ effects on the estimates are meaningful, and instrumental variables techniques are required. In fact, the rejection of the null hypothesis suggests that the ordinary least squares estimates might be biased and inconsistent and hence the OLS is not an appropriate estimation technique. Second, we may test the overidentifying restrictions in order to provide some evidence of the instruments’ validity, which is tested using the Hansen test by which the null hypothesis of overidentifying restrictions cannot be rejected. In other words, the null hypothesis of instrument appropriateness cannot be rejected. In our empirical framework, we apply the GMM technique to estimate the four way interactions between renewable energy consumption, CO\(_{2}\) emissions, trade and economic growth by using annual data from a sample of 24 high-and middle-income countries, over the period 1990–2011.

The GMM estimation with panel data proves advantageous to the OLS approach in a number of ways. First, the pooled cross-section and time series data allow us to estimate the relationship between economic growth, renewable energy consumption, trade, and CO\(_{2}\) emissions over a long period of time for several countries. Second, any country-specific effect can be controlled by using an appropriate GMM procedure. And last, our panel estimation procedure can control for potential endogeneity that may emerge from the explanatory variables.

2.3 Data and descriptive statistics

As with [62, 64], the variables used in this study are chosen in accordance with the economic theory and data availability. The sample used is annual data covering the period 1990–2011 for 24 countries categorized into two country blocks, high-and middle-income countries. The annual data for per capita GDP (constant 2005 US$), Gross Fixed Capital Formation as a proxy of capital stock (as a share of GDP) trade openness (total exports and imports as a share of GDP), CO\(_{2}\) emissions (metric tons per capita), combustible renewable energy and waste (metric tons of oil equivalent) as a proxy for renewable energy consumption, domestic credit to private sector as share of GDP as a proxy for financial development, total trade as share of GDP is the proxy of trade openness, urban population as share of total population is the proxy for urbanization, foreign direct investment net inflows as share of GDP is the proxy of foreign direct investment and population in millions, oil price (measured using the spot price on West Texas Intermediate (WTI) crude oil) and oil consumption(in million tons). Data on CO\(_{2}\) emissions, oil prices, and oil consumption are sourced from the British Petroleum Statistical Review of World Energy (BP, 2012). Real GDP and trade openness are taken from the Word Bank’s World Development Indicators (WDI, 2012).

The specific countries selected for the study and the timeframe are dictated by the data availability. These include: (1) 12 high-income countries (Australia, Canada, France, Germany, Japan, Netherlands, Portugal, Spain, Sweden, Switzerland, United Kingdom and United States); (2) 12 middle-income countries (Algeria, Argentina, Brazil, Bulgaria, Chile, China, Colombia, Malaysia, Mexico, Thailand, Turkey, and Venezuela).Footnote 1

The descriptive statistics of the different variables for individuals and also for the global panel are given below in Table 1. For the high-income countries, on average, the highest level of per capita GDP (50,051.15) is found for Switzerland. On the other hand, the highest average of renewable energy consumption (73,616.99) and CO\(_{2}\) emissions (19.494) are recorded in the United States. In addition, the highest mean of trade openness is found for Netherlands (124.869). It is also worth highlighting that, the lowest mean of per capita GDP (16,893.33) is obtained for Portugal, and the lowest average of trade openness (22.850) and CO\(_{2}\) emissions (2.238) is recorded in Japan. The lowest average of renewable energy consumption (1855.703) is obtained for Switzerland. Thereafter, the United Kingdom is the most volatile compared to the other countries in terms of economic output. It has the highest coefficient of variation (0.147) as measured by the standard deviation-to-mean ratio. In terms of CO\(_{2}\) emissions, Australia is the most volatile because it has the highest coefficient of variation (0.188) compared with the other countries. The same pattern is found for renewable energy consumption (0.746) and trade openness (0.258) for Italy and Japan, respectively.

Table 1 Summary statistics (before taking logarithm), 1990–2011

For the middle-income countries, on average, the highest average of per capita GDP is obtained for Mexico (7209.649). Moreover, the highest average of trade openness (185.669) is recorded in Malaysia. The greatest average of renewable energy consumption is obtained for Brazil (56,288.16), while, the highest average of CO\(_{2}\) emissions (6.402) is for Bulgaria. The lowest average of per capita GDP is found for China (1406.43), and the lowest average of trade openness (21.660) is for Brazil. Colombia has also the lowest level of CO\(_{2}\) emissions (1.558). Similarly, the lowest average of renewable energy consumption is found for Algeria (69.236). Thereafter, China is the most volatile compared to the other countries in terms of economic output. It actually has the highest coefficient of variation (0.569). In terms of CO\(_{2}\) emissions, China is the most volatile compared to the overall panel because it has the greatest coefficient of variation (0.326). The same pattern is found for renewable energy consumption (0.549) and trade openness (0.267) for Bulgaria and China, respectively.

According to the statistics recorded in both high-and middle- income countries, it is clear that the greatest average of the per capita GDP is recorded for the high-income countries compared to the middle-income ones. It is also worth highlighting that high-income countries’ overall economic wealth is almost seven times as much as that of middle-income countries. The coefficient of variation, suggests that the middle-income countries is the most volatile compared to the high-income ones in terms of economic output, it is the greatest coefficient of variation (0.434). Moreover, the results postulate that, high-income countries have the greatest coefficient of variation (0.475), which explains, in fact that the high-income countries have more pollutants activities. Moreover, in terms of renewable energy consumption, the middle-income countries have the highest coefficient (2.190). In addition, the average of FD is the highest for high-income countries compared to the middle-income ones.

3 Results

3.1 Results of panel unit root tests

The LLC and IPS unit root tests are used in this paper to test for stationarity of the panel data obtained for two country blocks.

Table 2 shows the results of the panel unit root tests for levels and also for the first difference of variables. It can be seen from the Table 2, that in the overall all the variables are statistically significant under the LLC and IPS tests, in the second difference form. This implies that the variables are integrated at I (2).

Table 2 Results of panel unit root tests

While estimating the four-way linkages between trade openness, renewable energy consumption, CO\(_{2}\) emissions, and economic growth, K, POP, OP, OC, URB, FD and FDI are included as instrumental variables.

In addition, before running the regressions, two specific tests have been audited. According to [50, 74], two important specification tests are used for simultaneous-equation regression models: First, we may test the overidentifying restrictions in order to provide some evidence of the instrument’ validity, which is tested using the Hansen test by which the null hypothesis of overidentifying restrictions cannot be rejected. This means that, the null hypothesis that the instruments are appropriate cannot be rejected. First, the Durbin-Wu-Hausman (DWH) test was used to test the endogeneity for the four equations. The null hypothesis of the DWH endogeneity test is that an ordinary least squares (OLS) estimator of the same equation would yield consistent estimates, that is, an endogeneity among the regressors would not have deleterious effects on the OLS estimates. A rejection of the null hypothesis indicates that endogenous regressors’ effects on the estimates are meaningful, and instrumental variables techniques are required.

Based on the above diagnostic tests, the estimated coefficients of Eqs. (5), (6), (7), (8) are given in Tables 3, 4, 5, 6, 7, 8, 9 and 10.

Table 3 Simultaneous equations GMM-estimation for Eq. 5
Table 4 Simultaneous equations GMM-estimation for Eq. 6
Table 5 Simultaneous equations GMM-estimation for Eq. 7
Table 6 Simultaneous equations GMM-estimation for Eq. 8
Table 7 Simultaneous equations GMM-estimation for Eq. 5
Table 8 Simultaneous equations GMM-estimation for Eq.6
Table 9 Simultaneous equations GMM-estimation for Eq 7
Table 10 Simultaneous equations GMM-estimation for Eq. 8

3.1.1 Results for the high-income countries

The empirical results about Eq. (5) are presented in Table 3, which shows that renewable energy consumption has a positive and significant impact on the per capita GDP for Canada, Germany, Netherlands, Spain, Sweden, Switzerland, the UK, and the US. For the remaining countries, no significant relationship is found. For the panel results, RE has a negative impact on economic growth at 1 % level. The magnitude of 0.138 implies that a 1 % increase in RE decreases economic growth by around 0.138 %. This result is consistent with the findings of [81]. In addition, CO\(_{2}\) emissions have a positive and significant impact on economic growth for Japan and Portugal. Besides, the per capita CO\(_{2 }\) emissions have a negative and significant impact on the per capita GDP for the Netherlands. For the remaining countries, no significant relationship is found. For the panel results, the per capita CO\(_{2}\) emissions have a positive and significant impact on economic growth at 1 % level. The magnitude of 0.748 implies that a 1 % increase in CO\(_{2}\) emissions increases economic growth by around 0.75 %. This result is consistent with the findings of [57]. On the other hand, trade openness has a positive and significant impact on economic growth only for Germany, Japan, Portugal, and Spain. Whereas, a negative relationship is found for Canada. However, for the rest of countries, no significant relationship is found. The panel estimation shows that trade openness has a positive and significant impact on economic growth at 10 % level. The magnitude of 0.158 implies that a 1 % increase in trade openness increases economic growth by around 0.16 %. This finding is in line with that of Shahbaz et al. (2013). Finally, the Coefficient of capital significantly affects the per capita GDP for Germany, the Netherlands, Sweden, Switzerland, the UK and the US. Indeed, a 1 % increase in capital increases economic growth within a range of 0.089 % (Germany) to 1.204 % (United States). On the other hand, capital has a negative impact on economic growth only for Japan. For the remaining countries, no significant relationship is found. The panel result shows that capital has a negative and significant impact on the per capita GDP at 1 % level. The magnitude of 0.601 means that a 1 % rise in the capital stock decreases economic growth by around 0.601 %.This result is in line with the findings of [63].

The empirical results pertaining to Eq. (7) are reported in Table 4, which shows that economic growth has a positive and significant effect on renewable energy consumption for Germany, Netherlands, Spain and the United States. Indeed, a 1 % increase in economic growth increases renewable energy consumption within a range of 1.76 % (the United States) to 6.787 % (Germany). While, economic growth has a negative on renewable energy consumption only for Sweden. However, for the remaining countries, no significant relationship is found. The panel result shows that the per capita GDP has a negative and significant impact on renewable energy consumption at 1 % level. The magnitude of 0.779 indicates that a 1 % increase in the per capita GDP decreases renewable energy consumption by around 0.8 %. This result is consistent with the finding of [51]. Regarding the pollutant variable, we find that CO\(_{2}\) emissions have a positive and significant impact on the demand of renewable energy only for Sweden. This implies that higher CO\(_{2}\) emissions in these countries create demand for cleaner environment and encourage the use of alternative energy free from this evil effect. While, CO\(_{2}\) emissions have a negative and significant impact for Canada, Spain and the UK. However no significant relationship is found for the rest of the countries. The panel estimation indicates that CO\(_{2}\) emissions have a positive and significant impact on renewable energy consumption at 1 % level. The magnitude of 0.699 means that a 1 % rise in pollutant emissions raises renewable energy consumption by around 0.7 %. This result is in line with the findings of [62]. In addition, trade openness has a significant impact on renewable energy consumption for 4 countries out of 12. In the case of Germany and the Netherlands, trade openness has a negative and significant impact. For Sweden and the UK, there is evidence of a positive impact of trade openness on renewable energy consumption. For the rest of countries, no significant relationship is found. Regarding the panel results, trade openness has a positive impact on renewable energy consumption at 1 % level. This result is in line with the findings of [65]. Moreover, the impact of real oil price on the demand of renewable energy is positive and significant for Netherlands, Portugal and Spain. For the remaining countries, no significant relationship is found. Regarding the panel results, oil price has a positive impact on renewable energy consumption at 10 % level. Finally, oil consumption has a significant impact on renewable energy consumption for 3 countries out of 12. It has a negative and significant impact on renewable energy consumption for Germany and the US. This indicates that a reduction in oil consumption leads to an increase in renewable energy demand. Thus, the above results imply that under the upsurge of international crude oil prices and oil supply shortages, countries can develop renewable energy to replace their demands for oil. Whereas, it has a positive impact only for Canada indicating that a 1 % increase in oil consumption increases the demand of renewable energy by around 1.026 %. However, no significant relationship is found for the rest of the countries. The panel estimation indicates that oil consumption has a positive and significant impact on renewable energy consumption at 1 % level. The magnitude of 0.819 means that a 1 % rise in oil consumption raises renewable energy consumption by around 0.82 %.

Table 5 presents the estimated results about Eq. (7). It appears that the per capita GDP has a positive and statistically significant impact on CO\(_{2}\) emissions for Japan, Portugal and Spain. However, for the remaining countries, no significant relationship is found. The panel result shows that the per capita GDP has a positive and significant impact on CO\(_{2}\) emissions at 5 % level. The magnitude of 0.469 indicates that a 1 % increase in the per capita GDP increases CO\(_{2}\) emissions by around 0.47 %. These results are consistent with the findings of [16, 27, 30, 35, 41, 61, 78]. Regarding the renewable energy consumption variable, it is found that renewable energy consumption has a negative and significant impact on CO\(_{2}\) emissions only for Germany and the US. For the remaining countries, no significant relationship is found. On the other hand, the panel results show that renewable energy consumption has a significant positive impact on CO\(_{2}\) emissions at 1 % level. The magnitude of 0.196 indicates that a 1 % increase in renewable energy consumption increases CO\(_{2}\) emissions by around 0.196 %. These results are consistent with the findings of [15]. Nevertheless, trade openness has a positive and significant impact on CO\(_{2}\) emissions only for the US. This result is in line with Andersson et al. (2009). Moreover, trade has a negative impact on CO\(_{2}\) emissions only for Portugal than in Japan. However, no significant relationship is found for the rest of the countries. The panel estimation shows that openness has a negative insignificant impact. Thereafter, the coefficient of urbanization has a positive and significant impact on CO\(_{2}\) emissions only for Germany. It has a negative significant impact only for Japan. On the other hand, no significant relationship is found for the rest of the countries. Regarding the panel estimation, urbanization has a significant positive impact on CO\(_{2}\) emissions at 5 % level. The magnitude of 2.381 indicates that a 1 % increase in urbanization increases CO\(_{2}\) emissions by around 2.381 %. These results are in line with the findings of [32]. Finally, The Coefficient of financial development impact on CO\(_{2}\) emissions is insignificant positive for all the countries. Moreover, for the global panel results, financial development has insignificant positive impact on CO\(_{2}\) emissions, indicating that financial development has not taken place at the expense of the CO\(_{2}\) emissions. This result is consistent with the findings of [72].

The empirical results about Eq. (8) are reported in Table 6, which shows that the per capita GDP has a positive and significant impact on trade openness for 7 countries out of 12. This implies that a 1 % increase in the per capita GDP increases trade openness within a range of 1.242  % (Switzerland) to 9.707  % (Japan). It has a negative significant impact on trade openness only for Canada. No significant relationship is found for the remaining countries. The panel result shows that the per capita GDP has a positive and significant impact on trade openness at 1 % level. The magnitude of 0.526 indicates that a 1 % increase in the per capita GDP increases trade openness by around 0.53 %. This result is consistent with the finding of [71]. Regarding the renewable energy consumption, we find that renewable energy consumption has a positive and significant impact on trade openness for 5 countries out of 12. Hence, a 1 % rise in the renewable energy consumption increases trade openness within a range of 0.227 % (the United Kingdom) to 2.109 % (Canada). Moreover, it has a negative and significant impact for France and Spain. This result is consistent with the findings of [19]. However, no significant relationship is found for the remaining countries. Renewable energy consumption has no significant impact on trade openness for the panel results. In addition, the coefficient of CO\(_{2}\) emissions has a negative and significant impact on trade openness only for Japan and Portugal. Only, for Canada CO\(_{2}\) emissions have a positive and significant impact on trade openness. But, no significant relationship is found for the remaining countries. Regarding the panel estimation, we find that the per capita CO\(_{2}\) emissions have negative and significant impact on trade liberalization at 1 % level. The magnitude of 1.048 indicates that a 1 % increase in pollutant emissions decreases trade openness by around 1.048 %. This result is consistent with the findings of [2]. Finally, FDI has a positive and significant impact on trade openness for 3 countries out of 12. This implies that a 1 % increase in the FDI rate increases the foreign trade ratio to GDP within a range of 0.036 % (the Unites States) to 0.064 % (Canada). For the panel estimation, the coefficient of FDI is positive and significant at 1 % level. The magnitude of 0.159 implies that a 1 % increase in FDI increases trade openness by around 0.16 %. This result is consistent with the findings of [1].

3.1.2 Results for the middle-income countries

The empirical results about Eq. (5) presented in Table 7 show that renewable energy consumption has a statistically significant impact on the per capita GDP for 8 countries out of 12. It has a positive and significant impact on the per capita GDP for Algeria, Argentina, Brazil, Bulgaria and Chile. However, it has a negative and significant impact on the per capita GDP for China, Mexico and Turkey. For the remaining countries, no significant relationship is found. For the panel results, renewable energy consumption has a positive and significant impact on economic growth at 5 % level. The magnitude of 0.109 implies that a 1 % increase in renewable energy consumption increases economic growth by around 0.11 %. This result is consistent with the findings of [77]. In addition, the per capita CO\(_{2 }\) emissions have a negative and significant impact on the per capita GDP for Algeria. This seems to be consistent with the findings of [35]. However, CO\(_{2}\) emissions have a positive and significant impact on the per capita GDP for 4 countries out of 12. This suggests that a 1 % increase in the CO\(_{2}\) emissions increases economic growth within a range of 0.366 % (Bulgaria) to 1.355 % (Mexico). For the panel results, we find that the effect of the CO\(_{2}\) emissions on economic growth is statistically significant at 1 % level. Moreover, trade openness has a significant positive impact on the per capita GDP for Algeria, China, Mexico and Turkey. However, for Argentina it has a significant negative impact. The panel estimation indicates that trade openness has a negative and significant impact on the per capita GDP at 1 % level. The magnitude of 0.720 implies that a 1 % rise in trade openness decreases economic growth by around 0.72 %. This result is in line with the findings of [46]. Finally, the coefficient of capital is positive and significant for 7 countries out of 12. But, no significant relationship is found for the remaining countries. For the panel results, this coefficient has a positive and significant impact on per capita GDP at 5 % level. This implies that a 1 % increase in capital increases economic growth by around 0.82 %. The result is consistent with the findings of [53].

The empirical results pertaining to Eq. (6) are given in Table 8. We find that real GDP has a positive and significant impact on renewable energy consumption for Argentina, Brazil, Bulgaria, Chile, and China. However, no significant relationship is found for the remaining countries. The panel result shows that the per capita GDP has a positive and significant impact on renewable energy consumption at 1 % level. The magnitude of 2.925 indicates that a 1 % increase in the per capita GDP increases renewable energy consumption by around 2.925 %. This result is consistent with the finding of [15]. Regarding the pollutant variable, we find that CO\(_{2}\) emissions have a positive and significant impact on the demand of renewable energy for Colombia and Mexico. This implies that higher CO\(_{2}\) emissions in these countries create demand for cleaner environment and encourage the use of renewable energy. In fact, a 1 % increase in pollution increases the share of renewable energy in the global mix by nearly 2.205, 0.849 %, in Colombia and Mexico, respectively. However, pollutant emissions have a negative impact on renewable energy for Argentina and Bulgaria. No significant relationship is found for the remaining countries. The panel result shows that CO\(_{2}\) emissions have a negative impact at 1 % level. The magnitude of 8.380 indicates that a 1 % increase in CO\(_{2}\) emissions increases renewable energy consumption by around 8.38 %. This result is consistent with the finding of [45]. Nevertheless, trade openness has a positive and significant impact on renewable energy consumption for Brazil and Bulgaria. On the other hand, it has a negative impact in Malaysia. For the panel result trade openness has a positive impact on renewable energy consumption at 1 % level. The magnitude of 4.190 implies that a 1 % increase in foreign trade increases renewable energy consumption by around 4.19 %. This result is in line with that of [65]. We also find that real oil price has a negative and significant impact on renewable energy demand for China and Mexico. However, no significant relationship is found for the remaining countries. The panel result shows that oil price has no significant relationship on renewable energy consumption. Finally, the coefficient of oil consumption has a statistically significant impact on renewable energy consumption for 4 countries out of 12. In fact, it has a positive impact in Bulgaria and Malaysia. However, it has a negative impact in Brazil and China. However no significant relationship is found for the rest of the countries. The panel estimation indicates that oil consumption has a positive and significant impact on renewable energy consumption at 1 % level.

The estimation results about Eq. (7) are reported in Table 9. It appears that the per capita GDP has a positive and statistically significant impact on CO\(_{2}\) emissions for 5 countries out of 12. However, no significant relationship is found for the remaining countries. The panel result shows that the per capita GDP has a positive and significant impact on CO\(_{2}\) emissions at 5 % level. The magnitude of 0.291 indicates that a 1 % increase in the per capita GDP increases CO\(_{2}\) emissions by around 0.29 %. These results are consistent with the findings of [41]. Regarding the renewable energy consumption variable, it is found that renewable energy consumption has a statistically significant impact only for 2 countries out of 12. It has a negative impact on CO\(_{2}\) emissions only for Bulgaria. However, for Malaysia, it has a positive and significant impact on CO\(_{2}\) emissions. Whereas, for the remaining countries no significant relationship is found. For the panel results, no significant relationship is found. This result is consistent with the findings of [45]. The coefficient of trade openness has a negative and significant impact on pollutant emissions only for Venezuela. However, it has a positive and significant impact only for Thailand. For the remaining countries, no significant relationship is found. For the panel estimation, the coefficient of trade openness is positive and significant at 5 % level. The magnitude of 0.278 implies that a 1 % increase in trade openness increases CO\(_{2}\) emissions by around 0.28 %. This result is consistent with the findings of [60]. On the other hand, the coefficient of urbanization has a negative and statistically significant impact on CO\(_{2}\) emissions for Chile and Malaysia. For the remaining countries, and the panel estimation, no significant relationship is found. Finally, the coefficient of financial development has a statistically significant impact on pollutant emissions for 5 countries out of 12. It has a positive and significant impact for Chile, Colombia, and Malaysia, whereas it has a negative impact only for Bulgaria and China. For the remaining countries, and the panel estimation, no significant relationship is found.

The empirical results pertaining to Eq. (8) are given in Table 10. In this table, we present the impact of real GDP has a positive and significant impact on trade openness for Algeria, Colombia, Mexico and Turkey. This result is consistent with the finding of [17, 71]. Moreover, the per capita GDP has a negative and significant impact on trade openness for Argentina. For the remaining countries, no significant relationship is found. For the panel estimation, the coefficient of per capita GDP is negative and significant at 1 % level. The magnitude of 0.766 implies that a 1 % increase in the per capita GDP decreases trade openness by around 0.77 %. However, the coefficient of renewable energy consumption is positive and significant on trade openness for Argentina and Thailand. On the other hand, it has a negative and significant impact on trade openness for China. For the remaining countries, no significant relationship is found. For the panel estimation, the coefficient of renewable energy consumption is positive and significant at 10 % level. The magnitude of 0.089 implies that a 1 % increase in renewable energy consumption increases trade openness by around 0.09  %. This result is consistent with the findings of Lean and Smyth, 2010. Moreover, the pollutant emissions have a statistically and significant impact on trade openness for 6 countries out of 12. Indeed, it has a positive and significant impact on trade openness for Argentina, China, and Malaysia. In addition, pollutant emissions have a negative and significant impact on trade openness for Algeria, Mexico and Venezuela. For the remaining countries, no significant relationship is found. For the panel estimation, the coefficient of CO\(_{2 }\) emissions is positive and significant at 1 % level. The magnitude of 3.457 implies that a 1 % increase in CO\(_{2 }\) emissions increases trade openness by around 3.46 %. This result complies with the findings of [2]. Finally, FDI have a positive and significant impact on trade openness for 4 countries out of 12. This implies that a 1 % increase in the FDI rate increases the level of trade openness within a range of 0.051 % (Malaysia) to 0.557 % (China). This result is consistent with the findings of [47]. However, for Argentina, it has a negative impact on trade openness. For the remaining countries and the panel result, no significant relationship is found.

4 Discussion

4.1 Discusses the empirical highlights for the high-income countries

Regarding the links between renewable energy and economic growth for individual cases, there is a positive unidirectional causality running from renewable energy consumption to economic growth in Canada, Switzerland and the UK. This indicates that, in these countries, increases in renewable energy consumption caused increases in economic growth, which implies that energy conservation policies that adversely impact renewable energy consumption may have an adverse effect on economic growth. This indicates the presence of the ‘growth hypothesis’. Moreover, the positive effect of the use of renewable energy on economic growth further enhances the viability of the renewable energy sector, which provides an additional support for the assertion that renewable energy can serve as an important energy source for these countries. This is in line with the findings of [58, 77]. No causality is found between renewable energy consumption and economic growth in Australia, France, Japan and Portugal, which demonstrates the ‘neutrality hypothesis’. This finding means that energy conservation policies do not affect the income, and as such, they may be pursued without adversely affecting the real income (see [39, 80]). This finding is in line with the results showed by [51]. In contrast, in Germany, Netherlands, Spain, Sweden and the US, there is a bidirectional causality between renewable energy consumption and economic growth. The presence of a bidirectional causality between renewable energy and economic growth lends support to the ‘feedback hypothesis’ whereby renewable energy consumption and economic growth are interdependent. This interdependency suggests that energy policies aimed at increasing the production and the consumption of renewable energy will have a positive impact on economic growth. This is in line with the results showed by (Apergis and Payne 2010,2012). We further find a positive a unidirectional causality running from CO\(_{2}\) emissions to economic growth in the Netherlands. This result is consistent with the findings of [22, 54]. In Spain, there is evidence of a positive unidirectional causality running from economic growth to CO\(_{2}\) emissions. This result is in accordance with [29]. In contrast, no causality is found between CO\(_{2}\) emissions and economic growth in Australia, Canada, France, Germany, Sweden, Switzerland, the UK and the US. This means that an increase in economic activity may be pursued without adversely affecting environmental quality. In addition, the adoption of a set of measures for environmental quality can be realized without pressure or adversely economic growth. However, the presence of a bidirectional causality between CO\(_{2}\) emissions and economic growth has been supported in Japan and Portugal. These results are in line with the findings of [52]. Moreover, there is evidence of a positive unidirectional causality running from trade openness to economic growth in Netherlands. As a consequence, economic conservation measures that reduce economic activities may not have an adverse effect on trade openness aims. Besides, there is a causal unidirectional relationship running from economic growth to trade for France, Switzerland and the US. This indicates that economic conservation pressures that adversely have an impact on economic growth may have an adverse effect on trade openness, however, no causal relationship is found for Australia, Sweden, and the UK. Finally, a bidirectional causal relationship is found for Canada, Germany, Japan, Portugal and Spain. These results conform with the finding of [49]. Regarding the linkage between renewable energy consumption and CO\(_{2}\) emissions, we find that there is evidence of a negative unidirectional causal relationship running from CO\(_{2}\) emissions to renewable energy consumption in Canada, Spain and the UK. However, a positive unidirectional link is found for Sweden. Moreover, there is evidence of a negative unidirectional causal link running from renewable energy consumption to CO\(_{2}\) emissions in Germany and the US. This implies that renewable energy consumption has a meaningful and crucial role in the reduction of pollutant emissions. Thus, there is evidence that is no causal link is found for Australia, France, Japan, the Netherlands, Portugal and Switzerland. These results are consistent with findings of Slim and Rafiq (2012). Concerning the linkage between trade openness and renewable energy consumption, there is a negative unidirectional causal relationship running from trade openness to renewable energy consumption in Germany and Netherlands. The presence of a positive unidirectional relationship running from renewable energy consumption to trade openness is found in Australia and Canada, but, a negative relationship in France. However, in Japan, Portugal and Switzerland no causal relationship is found. In Sweden and the UK, there is evidence of a bidirectional causality between trade openness and renewable energy consumption. This result is in line with the finding of [19]. Finally, looking at the causal linkage between trade openness and CO\(_{2 }\) emissions, we find a positive unidirectional causal relationship running from trade openness to CO\(_{2}\) emissions for the US. Moreover, there is evidence of a unidirectional causal relationship running from CO\(_{2}\) emissions to trade openness in Canada. In addition, there is evidence of no causal link in Australia, France, Germany, Netherlands, Spain, Sweden, Switzerland and the UK. Finally, there is evidence of a bidirectional causal relationship found for Japan and Portugal. This result is in line with the findings of [2].

Regarding the global panel, the findings reveal that there is a bidirectional causality between renewable energy consumption and economic growth. This is in line with the result found by Apergis and Payne 2012. The presence of a bidirectional causality between renewable energy and economic growth lends support to the ‘feedback hypothesis’ whereby renewable energy consumption and economic growth are interdependent. This interdependency suggests that energy policies which aim at increasing the production and the consumption of renewable energy will have a positive impact on economic growth. The presence of a bidirectional causality between CO\(_{2}\) emissions and economic growth. This result is in line with the findings of [52]. In addition, we find that the existence of a bidirectional causality between trade openness and economic growth. This result is consistent with the finding [49]. Regarding the linkage between renewable energy consumption and CO\(_{2}\) emissions, we find that there is evidence of a bidirectional causal link. Moreover, there is a unidirectional causal link running from trade openness to renewable energy consumption. This result is in line with the finding of [19]. Finally, looking at the causal linkage between trade openness and CO\(_{2}\) emissions, we find a positive unidirectional causal relationship running from CO\(_{2}\) emissions to trade openness. This result is in line with the findings of [2]. These results are summarized in the Fig. 1 below.

Fig. 1
figure 1

The four-way linkages for the high-income countries

4.2 Discusses the empirical highlights for the middle-income countries

Regarding the links between renewable energy and economic growth for individual cases, there is a positive unidirectional causality running from renewable energy consumption to economic growth in Algeria, Mexico, and Turkey. This indicates that, energy conservation policies that adversely impact renewable energy consumption may have an adverse effect on economic growth. This indicates the presence of the ‘growth hypothesis’. This is in line with the findings of [58]. However, no causality is found between renewable energy consumption and economic growth for Colombia, Malaysia, Thailand, and Venezuela, which postulates the ‘neutrality hypothesis’ for renewable energy consumption. This finding is similar with the results showed by [51]. In contrast, in Argentina, Brazil, Bulgaria, Chile, and China, there is evidence of a bidirectional causality between renewable energy consumption and economic growth. The presence of a bidirectional causality between renewable energy and economic growth lends support to the ‘feedback hypothesis’. This is in line with the results showed by Apergis and Payne 2012. We further find a positive unidirectional causality running from CO\(_{2}\) emissions to economic growth in Algeria and Brazil. This implies that, in this country, increases in CO\(_{2}\) emissions caused increases in economic growth. This result is consistent with the findings of [22]. In Colombia there is evidence of a positive unidirectional causality running from economic growth to CO\(_{2}\) emissions implying that increases in economic growth caused increases in pollutants emissions. This result is similar with that of [29]. In contrast, no causality is found between CO\(_{2}\) emissions and economic growth in Chile, China, Malaysia, Thailand, Turkey, and Venezuela. This means that an increase in economic activity may be pursued without adversely affecting environmental quality. Moreover, the adoption of a set of measures for environmental quality can be realized without pressure or adversely economic growth. However, the presence of a bidirectional causality between CO\(_{2}\) emissions and economic growth has been supported in Argentina, Bulgaria and Mexico. These results are in line with the findings of [52]. On the other hand, there is evidence of a positive unidirectional causality running from trade openness to economic growth in China. As a result, economic conservation measures that reduce economic activities may not have an adverse effect on trade openness. In addition, we find a causal unidirectional relationship running from economic growth to trade openness for Colombia. This implies that economic conservation pressures that have adversely impact on economic growth may have an adverse effect on trade openness. However, no causal relationship is found for Brazil, Bulgaria, Chile, Malaysia, Thailand, and Venezuela. Finally, a bidirectional causal relationship found for Algeria, Argentina, Mexico, and Turkey. These results are consistent with the finding [2]. Regarding the linkage between renewable energy consumption and CO\(_{2}\) emissions, we find that there is evidence of a negative unidirectional causal relationship running from CO\(_{2}\) emissions to renewable energy consumption in Argentina. Nevertheless, a positive unidirectional link running form CO\(_{2 }\) emissions to RE is found for Colombia and Mexico. Moreover, there is evidence of a unidirectional causal link running from renewable energy consumption to CO\(_{2}\) emissions in Chile and Malaysia. However, the presence of a bidirectional causality between CO\(_{2}\) emissions and renewable energy consumption has been supported in Bulgaria. Therefore, there is evidence of no causal link for Algeria, Brazil, China, Thailand, Turkey, and Venezuela. These results are consistent with findings of [66]. Concerning the linkage between trade openness and renewable energy consumption, we find the presence of a negative unidirectional causal relationship running from trade openness to renewable energy consumption in Malaysia, while a positive relationship is found for Brazil, and Bulgaria. A positive unidirectional relationship running from renewable energy consumption to trade openness is found for Argentina and Thailand. In contrast, in Algeria, Chile, Colombia, Mexico, Turkey and Venezuela, there is evidence that no causal relationship found. In China, there is evidence of a bidirectional causality between trade openness and renewable energy consumption. This result is in line with the finding of [19]. Finally, by looking at the causal linkage between trade openness and CO\(_2\) emissions, we find a positive unidirectional causal relationship running from CO\(_{2}\) emissions to trade openness for Algeria, Argentina, China, Malaysia, and Mexico. In addition, there is evidence of no causal link in Brazil, Bulgaria, Chile, Colombia, Thailand and Turkey. Finally, there is evidence of a bidirectional causal relationship for Japan and Portugal. This result is in line with the finding of [60].

Regarding the middle-income panel, the findings reveal that there is a bidirectional causality between renewable energy consumption and economic growth. This is in line with the result found by [77]. The presence of a bidirectional causality between CO\(_{2}\) emissions and economic growth. This result is in line with the findings of [52]. In addition, there is evidence of a bidirectional causality between trade openness and economic growth. This result is consistent with the finding of [49]. Regarding the linkage between renewable energy consumption and CO\(_{2}\) emissions, we find that there is evidence of a negative unidirectional causal link, running from renewable energy consumption to CO\(_{2 }\) emission, which supports the findings of [13]. Moreover, we find a bidirectional causal link between trade openness and renewable energy consumption. This result is in line with the finding of [19]. Finally, looking at the causal linkage between trade openness and CO\(_{2}\) emissions, we find a bidirectional causal relationship running from CO\(_{2}\) emissions to trade openness. This result is in line with the findings of [2]. These results are summarized in the Fig. 2 below.

Fig. 2
figure 2

The four-way linkages for the middle-income countries

5 Conclusions and policy implications

The aim of the present study is to examine the four-way linkages between renewable energy, CO\(_{2}\) emissions, trade openness, and economic growth using simultaneous-equation panel data models for 24 countries over the period 1990–2011. However, to the best of our knowledge, none of the empirical studies focused on the investigation of the four-way linkages between these variables in a comparative framework between high- and middle-income countries via the simultaneous-equation panel data models.

Our results for the high-and middle-income subpanels can be summarized as follows. For the high-income countries, the highlights reveal that there is a bidirectional causality between renewable energy consumption and economic growth. Further, there is a bidirectional causality between CO\(_{2}\) emissions and economic growth. In addition, we find that the existence of a bidirectional causality between trade openness and economic growth. Regarding the linkage between renewable energy consumption and CO\(_{2}\) emissions, we find that there is evidence of a bidirectional causal link. Moreover, there is a unidirectional causal link running from trade openness to renewable energy consumption. Finally, looking at the causal linkage between trade openness and CO\(_{2}\) emissions, we find a positive unidirectional causal relationship running from CO\(_{2}\) emissions to trade openness.

On the other hand, our highlights for the middle-income countries support the evidence of a bidirectional causality between renewable energy consumption and economic growth. Furthermore, there is a bidirectional causality between CO\(_{2}\) emissions and economic growth. In addition, there is evidence of a bidirectional causality between trade openness and economic growth. Regarding the linkage between renewable energy consumption and CO\(_{2}\) emissions, we find that there is evidence of a negative unidirectional causal link, running from renewable energy consumption to CO\(_{2 }\) emission. Moreover, we find a bidirectional causal link between trade openness and renewable energy consumption. Finally, we find a bidirectional causal relationship between CO\(_{2}\) emissions to trade openness.

These insights have varied implications on policy instruments to manage the dynamics among these key variables. The interdependence between renewable energy consumption and economic growth suggests that energy policies designed to increase the production and consumption of renewable energy will have a positive effect on economic growth. Moreover, the environmental quality can negatively affect productivity by affecting human health. In addition, given the reduction in the emissions of air pollution and greenhouse gases associated with renewable energy, there is also a positive spillover to the environment. Indeed, international trade with its positive impact on technology transfer can greatly help the middle-income countries to diffuse the adoption of production technologies using renewable energy, and building the human, technological and financial capacities in order to establish the renewable energy technologies, and to promote their share in the global mix in order to keep a clean environment. As a crucial recommendation, middle-income countries with the help of the high-income ones should to reduce the legal and institutional barriers in order to improve the international exchange as well as enhance the use of renewable energy sources through financial incentives, access to emerging technologies, and technical expertise in the development and assessment of the renewable energy sector. Furthermore, fiscal incentives (emissions taxes, pollution permits, subsidies etc.) should be important enough to induce producers to use renewable energy, because abandoning a polluting technology for a green technology still needs important investments, and also realize economies of scale that attract private sector investments especially in middle-income countries. Finally we recommend, both high-and-middle income countries to build a partnership with the international organization and between themselves in order to promote research and development in renewable energy technologies, and boost innovation, to realize economies of scale that attract private sector investments and effectively develop the PPP (i.g. Public-private partnership).