Introduction

Human needs for energy, fiber, water, timber, land, infrastructure and other developmental ingredients exert huge ecological pressure, which in turn leads to climate change, loss of biodiversity, and land erosion. Over the last 5 decades, the global population had quadrupled and their taste and preference, high material living standards have been enhanced simultaneously. To satiate material demand, tremendous pressure has been put on ecological and environmental resources which is also having deleterious impact on climate. Therefore, the focal issue among the natural scientists is to recover the natural resource misused arbitrarily in the name of economic growth in both advanced and less advanced economies as well as to overcome the harmful effect of climate change (Sayegh 2023).

Among several measures of resource degradation, the most comprehensive measure of humanity’s overall impact is considered to be ecological footprint (Wackernagel and Yount 2000). Soil erosion, water depletion, nutrient depletion, mineral extraction and forest loss are the main upshots of unbridled development and also the reasons for degradation of more than a quarter of the world’s land surface (Steer 2014). Several previous studies (Lenzen and Murray 2001; Wickernagel et al. 1999; Omri et al. 2015; Samreen and Majeed 2022) have considered ecological footprint as a proxy indicator for environmental degradation. Li and Zhang (2022) tried to measure the ecological pressure due to industrial development in the Yangtze River Economic Belt (YREB) in China. They fitted a panel regression to find the industrial ecological footprint due to industrial development. According to their study although the region still suffers from huge ecological pressure, there has been a downtrend in its value and improved ecological benefits due to environmental regulation. Based on selected EU economies, Wang and Razzaq (2023) used fully modified ordinary least square (FMOLS), dynamic ordinary least square (DOLS), and fixed effect ordinary least square (FE-OLS) for finding the role of technological innovation, environmental governance, and institutional quality in reducing resource footprints.

CO2-driven climate change represents a dominant phenomenon due to anthropogenic GHG emission resulting from human activities. CO2 is the major contributor to total GHG emission and majority of the studies (Diakoulaki et al. 2006; Papagiannaki and Diakoulaki 2009; Floros and Vlachou 2005; Paravantis and Georgakellos 2007) are based on carbon-growth nexus. In many previous studies (Saleem et al. 2020;Magazzino 2017; Arminen and Menegaki 2019; Kim 2019), we see that CO2 is very closely related to financial development and energy-use-related issues. Further, Chen et al. (2019) applied a novel decomposition analysis to study the driving factors of CO2 emissions in China for period 2011–2015 and analyzed the inequality characteristics of such emission. Using dynamic VAR modeling approach in the context of China, Xu and Lin (2017) found that economic growth resulting from asset investment and exports, urbanization and energy structure acted as drivers of CO2 emission.

In this context, it may be mentioned that organization G20 consists of largest developed and developing economies which have experienced resource-intensive growth and are constantly under pressure to reduce air pollutant specially CO2 emissions. G20 nations accounting more than two-third world population promote international cooperation through informal dialog based on equality and for laying a foundation to achieve sustained development and common progress (Van de Graaf and Westphal 2011). G20 group of countries are endowed with diverse natural resources but suffer from several environmental degradations largely driven by climate change challenges. Compared to the world average, it is important to note that G20 countries cover more 86% of GDP and 76% of CO2 emissions by extracting 80% of energy in global economy (Rogelj et al. 2016). Without lowering the economic productivity amid the persistent increase in CO2 emissions, this country group is faced with their bargain of the Paris Agreement. According to Rijsberman et al. (2019), climate change constitutes the major threat in G20 countries today. Radical shift to decarbonization policies is considered by them to be of utmost importance to limit global warming below 2 degrees Celsius coherent with Paris agreement. Access to clean and more sustainable energy instead of fossil fuel is also kept as one important ecological priority (Solikova 2022). Land degradation, biodiversity loss, ecosystem and marine pollution, resource overuse, CO2 emission, and lack of waste assimilation are some of the basic environmental threats faced by these countries as emphasized in India’s presidency of G20 nations. Much concern is put on the restoration of ecosystem as 23% of global land area happens to be no longer suitable for farming activity because of resource depletion and waste accumulation. To thwart the untoward effects of climate change and resource degradation, responsive strategies in such countries are expected to focus on achievement of food security, stability in global supply chain, trade and investment cooperation, fiscal sustainability and stable international financial system together with energy transition as emphasized in G20 leaders meet in Bali last year. What is most important in this context is to understand the relevant factors that affect resource degradation and GHG emission in these countries.

Empirical analysis (Bhat et al. 2022) reveals positive impact of economic growth, non-renewable energy and urbanization on CO2 emission in G20 nations. The elasticity coefficient of renewable energy is, however, found to be negative. The paper by Yan et al. (2022) considers variables that account for the impact of economic growth, energy consumption, and technological advancement on CO2 emission in three economic sectors of G20 countries. Using panel data, they found significant long-run equilibrium relationship between the three sectors (primary, secondary and tertiary) and CO2 emissions. In their study, Roumiani and Mofidi (2022) used penalized regression (RR) approaches (including Ridge, Lasso and Elastic Net) and artificial neural network (ANN) to forecast ecological footprint indices in the G20 countries covering the period 1999–2018. The aspects of ecological footprint and emission of GHG gases as measurement of resource and environmental degradation in G20 countries were considered together in very few studies. These two variables were considered together in case of BRICS countries (Saleem et al. 2019a, b), in case of Qatar (Mrabet and Alsamara 2016). Most of the previous literatures in respect of G20 nations are limited to GHG pollutant, but our study focuses on the crucial air pollutant—carbon dioxide, coupled with ecological footprint. This study focuses on a unique standing compared to the previous research. This is a comparative study, which investigates the variation in cause and effect of same explanatory variables on resource use and environmental pollution factors individually for G20 group countries.

Having identified the gaps in extant literatures, this study differs from others by utilizing natural resource as well as climate change long-run and short-run causal nexus across some of the determining variables. Ecological footprint is a robust accounting tool which measures the amount of the earth’s biocapacity in terms of air, water, and soil demanded by several anthropogenic activities. On the other side, CO2 is believed to be a comprehensive indicator of climate damage in most of the existing literatures. Therefore, this study contributes to the existing literature in a number of ways. (1) First, in a single study, both ecological footprint as resource degradation variable and CO2 emission as environmental degradation/climate change variable have been incorporated. (2) Second, it examines the long-run and short-run linkage of these two variables separately with economic growth alongside several other determining variables including foreign direct investment, urbanization and energy use in G20 countries. (3) Third it also seeks to investigate the multivariate causal relation among the variables for resource degradation model and climate change issues separately.

In the light of the preceding statements, it seems imperative to re-investigate the resource degradation, GHG emission, economic growth nexus for G20 economies via the channels of foreign investment, urbanization and energy consumption.

Literature review

There is no denying the fact that over the past 2 decades, the causality relationships between environmental degradation and the socio-economic factors have been a subject of debate for researchers. Numerous inclusive researches exist that investigated the dynamic nexus between natural resource degradation (ecological footprint)/atmospheric pollution (CO2 emission), financial investment, non-renewable energy use, urbanization and economic growth. In the empirical literature studies on environmental degradation, we can distinguish two strands. The first strand has focused on ecological footprint and the second on CO2 pollutant. Some of the existing studies have focused on individual countries (Table 1, panel A) and while others are cross-country panel studies (Table 1, panel B). Here, the conflicting results are the consequence of different econometric methodologies, model framework and time span of data, choice of country, etc. The estimation techniques such as panel cointegration, VECM and Granger causality are used in both individual country studies (Hassan et al. 2018; Hatzigeorgiou et al. 2011) and group of countries (Uddin et al. 2016; Charfeddine et al. 2017). The early studies, Ergun et al. (2020), Ahmed et al. (2020), and Charfeddine et al. (2017) found the bidirectional causal relation between ecological footprint and energy consumption. Mix results were obtained by Agbede et al. (2021) by considering MINT (Mexico, Indonesia, Nigeria and Turkey) countries. The result of Granger causality shows the existence of unidirectional causal interaction between ecological footprint and economic growth in Uruguay (Ergun et al. 2020), South Africa (Nathaniel et al. 2019), Bangladesh (Sultana et al. 2021), Pakistan (Khan et al. 2021), G7 countries (Ahmed et al. 2020) and MENA countries (Charfeddine et al. 2017).

Table 1 Summary of previous empirical studies using ecological footprint

The second strand of existing literature has focused on the CO2, economic growth, financial investment and energy nexus reported in Table 2; panel A has been set up with individual economy studies (Hdom et al. 2020; Zubair et al. 2020; Durkó 2020; Hatzigeorgiou et al. 2011), and panel B is based on panel data studies (Wang et al. 2014; Kivyiro et al. 2014; Kasma and Duman 2015; Nosheen et al. 2021; Ozcan 2013). For instance, a growing body of research has investigated the bidirectional causal interaction between CO2 and energy consumption (e.g., Hatzigeorgiou et al. 2011; Wang et al. 2014), and unidirectional causal relationship from energy consumption to CO2 is found in some studies such as Nosheen et al. (2021) and Ozcan (2013). Durkó (2020) explores the causal relationship between CO2, gross domestic product and energy consumption in Hungary for the period of 1974–2014 using the ARDL model and Granger causality test. The result indicates bidirectional causal relation between GDP and carbon emission while urbanization and energy consumption Granger causes to GDP and CO2 emission.

Table 2 Summary of previous empirical studies using CO2 emission

Some recent studies have incorporated the causal effects in examining the link between air pollution, i.e., CO2 emissions and unconventional energy adaptation progression (Yazdi and Shakouri 2018; Sahoo et al. 2022; Qiao et al. 2019; Belaïd and Zrelli 2019; Khan et al. 2022) in some group of countries. Further, Zoaka et al. (2022) explained the relation across financial development, clean energy use, economic growth and CO2 emissions in BRICS countries. While economic growth acted as a triggering factor for carbon emission in the long run, financial development, industrialization, trade openness, and renewable energy use contributed towards environmental quality.

Using data corresponding to 30 sub-Saharan countries over the period 1980–2018, Yilmaz (2023) tried to find carbon emissions effect of trade and energy factors. Based on application of cointegration method and Granger causality, he observed one-way causality between the variables in the long run. On the contrary, the study finds positive bidirectional causality between trade openness and carbon emissions.

From the extant literature as per our knowledge, it is obvious that G20 countries have been neglected in the resource degradation–climate change research as only a few researchers have focused on this particular group of countries. Hence, we perceive that there is no compromise in the G20 country group, making this study imperative.

Methodology of the study

Data source and description of variables

It uses a panel framework with G20 countries over the time period 1990–2018. Here, the EU national group has been eliminated from G20 countries because it includes more complex situations. Thus, the rest 19 economies, i.e., India, Mexico, Brazil, China, Italy, Germany, France, Japan, Indonesia, Turkey, Canada, Australia, Argentina, Russia, Saudi Arabia, United Kingdom, South Africa, United States of America, and South Korea have been considered here. Various resource degradation factors, economic factors and factors relating to human activities are considered in this study. Two variables (ecological footprint and CO2 emission) were selected here to analyze the interdependence of resource degradation and climate change with economic growth. In addition, foreign direct investment, urban population growth and energy consumption are considered as separate variables impacting on ecological footprint and polluting gas. Ecological footprint has been chosen as a proxy of resource degradation indicator in this study and these data are taken from Global Footprint Network (GFN 2021). Moreover, the pollutant gas CO2 covers the climate change issue; these are obtained from Emission Database for Global Atmospheric Research (EDGAR 2017). Economic growth is indicated by real GDP at constant national prices (in mil. 2017 US$) which is available in Penn World Table 10.0 (PWT 2021). Foreign direct investment indicated by net inflows (% of GDP), urban population growth (annual %) data are taken from World Bank Development Indicators (WDI 2021). Data on fossil fuel energy in per capita (kWh) as proxy of non-renewable energy consumption and renewable energy consumption (kWh) are gathered from Our World in Data (OWD 2021). Further, Figs. 1 and 2 demonstrate the spatial distribution of ecological footprint and CO2 emission of 1990 and 2018 across G20 economies. Figures 3, 4, 5, 6, and 7 summarize the year wise comparison (1990, 2000, 2010, and 2018) of data for the selected independent variables across G20 countries (Table 3).

Fig. 1
figure 1

Map of ecological footprint of G20 countries

Fig. 2
figure 2

Map of CO2 emission of G20 countries

Fig. 3
figure 3

Trend in real GDP by G20 countries from 1990 to 2018

Fig. 4
figure 4

Trend in FDI by G20 countries from 1990 to 2018

Fig. 5
figure 5

Trend in urban population growth (annual %) by G20 countries from 1990 to 2018

Fig. 6
figure 6

Trend in non-renewable energy consumption by G20 countries from 1990 to 2018

Fig. 7
figure 7

Trend in renewable energy consumption by G20 countries from 1990 to 2018

Table 3 Data and sources

Explanation for the selection of variables

Ecological footprint

The concept of ecological footprint pioneered by Wackernagel and Rees (1996) is the accounting tool that measures the amount of land and water body needed to produce biological product to meet human needs and mitigate accompanied waste. Ecological footprint is a universally comparable environmental indicator to measure the ecological consequences of human demands, and in many empirical literatures, it has been preferred to CO2 emissions (Ahmed and Wang 2019; Charfeddine and Mrabet 2017; Rudolph and Figge 2017). People in countries having higher ecological footprint may be causing rapid exhaustion of resources and engendering pollution.

Carbon emission

Climate change is likely to have untoward repercussions on the growth factor in diverse sectors of economy. According to IPCC (2001) and Greenhouse Gas Bulletin (2017), CO2 emission resulting from burning of fossil energies as an input of production process, is a substantial sponsor to climate change. This anthropogenic CO2 leads to continuous rise in average temperature of Earth’s surface. The continuous feedback hypothesis between carbon emissions and economic activities has received global attention in recent decades.

Real GDP

It is the most common and important proxy of economic growth. Researchers believe that the reason behind the environmental challenges of the present situation is the pursuit of different degrees/aspects of economic development. Alternatively, we can say an increase in output will necessitate more natural resources and then induce more environmental degradation and climate change.

Foreign direct investment

Foreign direct investment is an important tool rather than the others affecting economic development. The contribution of FDI towards the environment of the host countries has also been a subject of debate. Whether FDI is a blessing or a curse for environment depends on the development pattern of the economies, investment promotion strategies and government regulation on environment protection. But the most controversial issue about FDI is whether it significantly contributes to environmental degradation and climate change.

Urbanization

Presently, the most contentious and inconclusive issue is that the process of the rapid demographic transition from rural to urban area has a greater contribution to resource degradation as well as climate change. Urban form influences the mode of transformation and travel pattern which affects CO2 emission (Grazi et al. 2008). The corresponding domestic consumer markets and industrial processes in producing commodities in urban area make larger demand on the consumption of natural resources. Rapid increase of heating fuels electricity, gas and gasoline consumption as a sequel to proliferation of urban area, results in increased pollution that harms the environment due to noxious emissions.

Non-renewable energy consumption

Fossil fuel energy widely known as non-renewable energy is indeed a most crucial factor behind the environmental degradation witnessed in the previous research (Chmielewski 2005). Emission of CO2 is strongly correlated with the consumption of conventional energy. Its effect on environmental degradation depends on the way how and for what purpose it is used. If energy is efficiently utilized in green technologies, it will help to reduce the harmful environmental effects (Stern 2006), while higher amount of energy consumption in terms of higher demand for gas, oil and coal contributes to the pollutant emissions along with the resource degradation that deteriorates the overall environment (Mirza and Kanwal 2017).

Renewable energy consumption

As a sequel to low-pollution economy policies, the use of renewable energy source is gradually rising across the world. It is considered critical for environmental quality and hence considered as achieving energy efficiency and energy saving. It is considered as an effective tool against the incidence of global warming. Electricity based on renewable energy sources produce 90–99% less GHGs in comparison to coal fired plants, which lessens pollution between 70 and 90%. Therefore, focusing on its consideration as an important element other than fossil fuels might help in avoiding environmental impacts from air pollution and GHGs (Raihan and Tuspekova 2022; Hussain et al. 2021a, b).

Models used in the study

This empirical study has been undertaken with two models—(a) natural resource degradation model and (b) climate change model. Ecological footprint has been considered as natural resource degradation indicator, while the major GHG gas—CO2 that reflect climate change issues, has been taken for the other model. Initially, we shed a light on the natural resource degradation issues by focusing on the model specification:

$$EF=f (RGDP, FDI, UP, NREC)$$
(1)

where EF is ecological footprint, RGDP means real GDP, FDI is foreign direct investment, UP is the growth of urban population, NREC means non-renewable energy consumption. These aforementioned variables are the key indicators affecting ecological footprint of an economy (i.e., Charfeddine 2017; Uddin et al. 2016). As specified in the equation, these are the logarithmic form of the considered variables for sharpness of data and to overcome the chances of heteroscedasticity:

$$ln{EF}_{i,t}={\alpha }_{11}+{\alpha }_{12}ln{RGDP}_{i,t}+ {\alpha }_{13}ln{FDI}_{i,t}+{\alpha }_{14}{lnUP}_{i,t}+ {\alpha }_{15}{lnNREC}_{i,t}+{\upepsilon 1}_{i,t}$$
(2)

where ‘i’ indicates the countries and ‘t’ indicates the time period from 1990 to 2018. α indicates the slope of the coefficients of corresponding variables.

Apart from these variables, we have considered renewable energy source as an explanatory variable in CO2 equation as renewable energy plays a key role to control climate change issues and promotes pro-environmental activities (Ahmed and Wang 2019). The estimation of this will enable us to investigate the nexus between economic growth, financial investment, urbanization and the conventional and unconventional energy utilization followed by Sahoo and Sahoo 2020, Hanif 2018, Naz et al. 2019, and Alharthi et al. 2021. The climate change model can be expressed as follows:

$${CO}_{2}=f (RGDP, FDI, UP, NREC, REC)$$
(3)

Here, CO2, RGDP, FDI, UP, NREC and REC stand, respectively, for carbon dioxide emission, real GDP, foreign direct investment, urban population growth, non-renewable energy and renewable energy consumption. Considering the logarithmic function of Eq. 3, it can be written as follows:

$${ln{CO}_{2}}_{i,t}={\alpha }_{21}+{\alpha }_{22}{lnRGDP}_{i,t}+ {\alpha }_{23}{lnFDI}_{i,t}+{\alpha }_{24}{lnUP}_{i,t}+ {\alpha }_{25}{lnNREC}_{i,t}+{\alpha }_{26}{lnREC}_{i,t}+{\upepsilon 2}_{i,t}$$
(4)

In Eq. 4, \({\alpha }_{21}\) presents the intercept, and the all remaining parameters \({\alpha }_{22}, {\alpha }_{23}, {\alpha }_{24}, {\alpha }_{25}\), and \({\alpha }_{26}\) signify the coefficient/elasticity of RGDP, FDI, UP, NREC and REC, respectively.

This study adopted the PMG/ARDL (autoregressive distributed lag/pooled mean group) which provide both the dynamic long- and short-run relationship among the variables and VECM (Vector error correction model) econometric techniques to identify the both long- and short-run causality relationship between the dependent and independent variables. These procedures require some intermediate steps—unit root test, optimal lag selection criteria and cointegration.

The unit root test is the initial necessary step to check whether the mentioned variables are stationary and integrated of the same order or not. We establish three common unit root process across countries such as Levin Lin and Chu (Levin et al. 2002), H–T (Harris and Tzavalis 1999) and Breitung (2001) unit root tests. Apart from this, the study also carriers out a group of individual unit root tests, including Im et al. (2003) and ADF-Fisher (Maddala and Wu 1999). Before analyzing the cointegration, the optimal lag selection criteria are to be fulfilled. Among various types of optimal lag length criteria, sequential modified LR test statistic (LR), Final prediction error (FPE), Akaike information criteria (AIC), Schwarz information criterion (SQ) and Hannan–Quinn information criterion (HQ) were followed. To determine the panel cointegration, this paper uses the Pedroni (1999), Kao (1999) and Fisher (Westerlund 2007) cointegration test. Result of at least two tests must be satisfied, otherwise the criteria of cointegration will not be fulfilled. But the advantage of Pedroni test over Kao test is that Pedroni test considers the heterogeneous coefficients in case of panel model, but the other does not. Fisher test is the system-based test of cointegration for the entire panel sample. For determining the cointegration relation, the PMG/ARDL approach is more statistically significant than other cointegration technique in case of short sample. Further, it investigates whether long-run relationship exists and shows the result of both long-run and short-run model. Another advantage of this technique is that it can be applied irrespective of whether series are I(0) or I(1) or mixed. The ARDL model, specifically, the PMG estimator, provides reliable coefficients despite the potential presence of endogeneity, because it contains response lags and explanatory variables (Pesaran et al. 1999). In PMG over cross-sections, the long-run equilibrium values and error variance are heterogeneous but long-run slope coefficients are homogeneous in nature. Next, we examine the direction of causality between the variables in a panel context. The long-run Granger causality result is based on the coefficient of error correction term (ECT) of VECM. ECT is the one period lag estimation derived from cointegration equation and the coefficient value of ECT must be negative and statistically significant. To identify the short-run causality, Granger causality test can be performed in VECM framework which was developed by Engle and Granger (1987). Next, we examine the direction of causality between the variables in a panel context.

A panel-based VECM model of natural resource degradation model (Eq. 2) can be specified as follows:

$${\Delta lnEF}_{t}={\Phi }_{10}+\sum_{i=1}^{p}{\Phi }_{11i}\Delta {lnEF}_{t-i}+\sum_{i=1}^{p}{\Phi }_{12i}\Delta {lnRGDP}_{t-i}+\sum_{i=1}^{p}{\Phi }_{13i}\Delta {lnFDI}_{t-i}+\sum_{i=1}^{p}{\Phi }_{14i}\Delta {lnUP}_{t-i}+\sum_{i=1}^{p}{\Phi }_{15i}\Delta {lnNREC}_{t-i}+{\gamma }_{11}{ECT}_{t-I}+{\mu }_{11i}$$
(5)
$${\Delta lnRGDP}_{t}={\delta }_{10}+\sum_{i=1}^{p}{\delta }_{11i}\Delta ln{RGDP}_{t-i}+\sum_{i=1}^{p}{\delta }_{12i}\Delta {lnEF}_{t-i}+\sum_{i=1}^{p}{\delta }_{13i}\Delta {lnFDI}_{t-i}+\sum_{i=1}^{p}{\delta }_{14i}\Delta {lnUP}_{t-i}+\sum_{i=1}^{p}{\delta }_{15i}\Delta {lnNREC}_{t-i}+{\gamma }_{12}{ECT}_{t-I}+{\mu }_{12i}$$
(6)
$${\Delta lnFDI}_{t}={\alpha }_{10}+\sum_{i=1}^{p}{\alpha }_{11i}\Delta lnFD{I}_{t-i}+\sum_{i=1}^{p}{\alpha }_{12i}\Delta {lnEF}_{t-i}+\sum_{i=1}^{p}{\alpha }_{13i}\Delta ln{RGDP}_{t-i}+\sum_{i=1}^{p}{\alpha }_{14i}\Delta {lnUP}_{t-i}+\sum_{i=1}^{p}{\alpha }_{15i}\Delta ln{NREC}_{t-i}+{\gamma }_{13}{ECT}_{t-I}+{\mu }_{13i}$$
(7)
$${\Delta lnUP}_{t}={\beta }_{10}+\sum_{i=1}^{p}{\beta }_{11i}\Delta ln{UP}_{t-i}+\sum_{i=1}^{p}{\beta }_{12i}\Delta ln{EF}_{t-i}+\sum_{i=1}^{p}{\beta }_{13i}\Delta ln{RGDP}_{t-i}+\sum_{i=1}^{p}{\beta }_{14i}\Delta {lnFDI}_{t-i}+\sum_{i=1}^{p}{\beta }_{15i}\Delta ln{NREC}_{t-i}+{\gamma }_{14}{ECT}_{t-I}+{\mu }_{14i}$$
(8)
$${\Delta lnNREC}_{t}={\pi }_{10}+\sum_{i=1}^{p}{\pi }_{11i}\Delta {lnNREC}_{t-i}+\sum_{i=1}^{p}{\pi }_{12i}\Delta {lnEF}_{t-i}+\sum_{i=1}^{p}{\pi }_{13i}\Delta {lnRGDP}_{t-i}+\sum_{i=1}^{p}{\pi }_{14i}\Delta {lnFDI}_{t-i}+\sum_{i=1}^{p}{\pi }_{15i}\Delta {lnUP}_{t-i}+{\gamma }_{15}{ECT}_{t-I}+{\mu }_{15i}$$
(9)

In addition, the VECM formulas of climate change model (Eq. 4) can be written as follows:

$${\Delta ln{CO}_{2}}_{t}={\Phi }_{20}+\sum_{i=1}^{p}{\Phi }_{21i}\Delta {ln{CO}_{2}}_{t-i}+\sum_{i=1}^{p}{\Phi }_{22i}\Delta {lnRGDP}_{t-i}+\sum_{i=1}^{p}{\Phi }_{23i}\Delta {lnFDI}_{t-i}+\sum_{i=1}^{p}{\Phi }_{24i}\Delta {lnUP}_{t-i}+\sum_{i=1}^{p}{\Phi }_{25i}\Delta {lnNREC}_{t-i}+\sum_{i=1}^{p}{\Phi }_{26i}\Delta {lnREC}_{t-i}+{\gamma }_{21}{ECT}_{t-I}+{\mu }_{21i}$$
(10)
$${\Delta lnRGDP}_{t}={\delta }_{20}+\sum_{i=1}^{p}{\delta }_{21i}\Delta ln{RGDP}_{t-i}+\sum_{i=1}^{p}{\delta }_{22i}\Delta {ln{CO}_{2}}_{t-i}+\sum_{i=1}^{p}{\delta }_{23i}\Delta {lnFDI}_{t-i}+\sum_{i=1}^{p}{\delta }_{24i}\Delta {lnUP}_{t-i}+\sum_{i=1}^{p}{\delta }_{25i}\Delta {lnNREC}_{t-i}+\sum_{i=1}^{p}{\delta }_{26i}\Delta {lnREC}_{t-i}+{\gamma }_{22}{ECT}_{t-I}+{\mu }_{22i}$$
(11)
$${\Delta lnFDI}_{t}={\alpha }_{20}+\sum_{i=1}^{p}{\alpha }_{21i}\Delta lnFD{I}_{t-i}+\sum_{i=1}^{p}{\alpha }_{22i}\Delta {ln{CO}_{2}}_{t-i}+\sum_{i=1}^{p}{\alpha }_{23i}\Delta ln{RGDP}_{t-i}+\sum_{i=1}^{p}{\alpha }_{24i}\Delta {lnUP}_{t-i}+\sum_{i=1}^{p}{\alpha }_{25i}\Delta ln{NREC}_{t-i}+\sum_{i=1}^{p}{\alpha }_{26i}\Delta {lnREC}_{t-i}+{\gamma }_{23}{ECT}_{t-I}+{\mu }_{23i}$$
(12)
$${\Delta lnUP}_{t}={\beta }_{20}+\sum_{i=1}^{p}{\beta }_{21i}\Delta ln{UP}_{t-i}+\sum_{i=1}^{p}{\beta }_{22i}\Delta ln{CO}_{2}+\sum_{i=1}^{p}{\beta }_{23i}\Delta ln{RGDP}_{t-i}+\sum_{i=1}^{p}{\beta }_{24i}\Delta {lnFDI}_{t-i}+\sum_{i=1}^{p}{\beta }_{25i}\Delta ln{NREC}_{t-i}+\sum_{i=1}^{p}{\beta }_{26i}\Delta {lnREC}_{t-i}+{\gamma }_{24}{ECT}_{t-I}+{\mu }_{24i}$$
(13)
$${\Delta lnNREC}_{t}={\pi }_{20}+\sum_{i=1}^{p}{\pi }_{21i}\Delta {lnNREC}_{t-i}+\sum_{i=1}^{p}{\pi }_{22i}\Delta {ln{CO}_{2}}_{t-i}+\sum_{i=1}^{p}{\pi }_{23i}\Delta {lnRGDP}_{t-i}+\sum_{i=1}^{p}{\pi }_{24i}\Delta {lnFDI}_{t-i}+\sum_{i=1}^{p}{\pi }_{25i}\Delta {lnUP}_{t-i}+\sum_{i=1}^{p}{\pi }_{26i}\Delta {lnREC}_{t-i}+{\gamma }_{25}{ECT}_{t-I}+{\mu }_{25i}$$
(14)
$${\Delta lnREC}_{t}={\sigma }_{20}+\sum_{i=1}^{p}{\sigma }_{21i}\Delta {lnREC}_{t-i}+\sum_{i=1}^{p}{\sigma }_{22i}\Delta {ln{CO}_{2}}_{t-i}+\sum_{i=1}^{p}{\sigma }_{23i}\Delta {lnRGDP}_{t-i}+\sum_{i=1}^{p}{\sigma }_{24i}\Delta {lnFDI}_{t-i}+\sum_{i=1}^{p}{\sigma }_{25i}\Delta {lnUP}_{t-i}+\sum_{i=1}^{p}{\sigma }_{26i}\Delta {lnNREC}_{t-i}+{\gamma }_{26}{ECT}_{t-I}+{\mu }_{26i}$$
(15)

where \(\Delta\) is the first difference, p is the optimal lag length, \(\mu\) is the uncorrelated error terms, and \(\Phi\), \(\delta\),\(\alpha ,\beta ,\pi ,\sigma ,\gamma\) are the coefficients of the polynomial. Error correction term (ECT) is the one period lag estimation derived from cointegration equation.

Results and discussion

Table 4 shows the descriptive statistics of the candidate variables. The primary mean of lnEF is 0.79 with a maximum log score of 1.77, while the lnCO2 mean score is 12.9330 with a maximum of 16.2391. The results indicate that lnRGDP has the highest average score of 14.54 followed by lnNREC with 10.11, while lnFDI has the lowest mean score of 0.20. With the exception of real GDP, the remaining variables are negatively skewed. All the variables except lnNREC are leptokurtic since their kurtosis value is more than three.

Table 4 Descriptive statistics. Source: author’s calculation based on secondary data

Figure 8 shows the correlation between the variables. The correlation between lnEF and that of CO2 is positive with rest of the variables except lnREC. The positive value of correlation indicates a direct covariation of lnFDI with all other variables. lnRGDP is positively correlated with lnNREC and lnREC, lnCO2 and lnFDI. Correspondingly, positive value of elasticity of these variables can be calculated. A negative correlation exists between lnRGDP and lnUP and that of lnNREC with lnREC.

Fig. 8
figure 8

Correlation matrix (Source: author’s calculation based on secondary data)

Unit root test result

Here, we have employed five-unit root tests LLC, H–T, Breitung, IPS and ADF-Fisher to check the stationarity of the variables which are shown in Table 5. Here, all unit root tests are considered both for individual intercept and trend. The unit root tests show that except lnFDI, all variables have unit root at level. Then, all variables have been further tested for first difference. Finally, the result of panel unit root test indicates that all the variables are stationary at first difference, i.e., integrated at same order 1 and support to proceed for panel cointegration test to analyze long- and short-run relationship among variables. Before cointegration, the secondary step, i.e., optimum lag length criteria are obtained. Accordingly, LR, FPE, AIC, SC and HQ are shown in Table No. A1 (Appendix). Majority of the criteria as LR, FPE and AIC, SC and HQ indicate that the optimal lag length considered for this study is same and that is 2.

Table 5 Summary of unit root test. Source: author’s calculation based on secondary data

Panel cointegration result

The result of cointegration among the variables of natural resource degradation model, i.e., lnEF, lnRGDP, lnFDI, lnUP and lnNREC has been displayed in Table 6 (Panel A), indicates that three out of ten statistics of Pedroni cointegration test accept the null hypothesis of no cointegration. Kao test reveals the rejection of null hypothesis, i.e., no cointegration at 1% level. Briefly said, this result determines the absence of no cointegration between ecological footprint, real GDP, foreign direct investment, urban population growth and non-renewable energy consumption. Further, Panel B shows the cointegration result of the series lnCO2, lnRGDP, lnFDI, lnUP, lnNREC and lnREC from climate change model that shows Pedroni test goes against the null hypothesis. Similarly, ADF statistic of Kao test gives significant result at 1% level. Therefore, the two test criteria of cointegration among the employed variables in both the two mentioned models of this study have been satisfied as revealed panel A and panel B. The existence of panel cointegration suggests that there must be long-run association among the variables. All the selected variables of the two mentioned models of this study have long-run equilibrium relationship and these can be proceeding to estimate panel ARDL and vector error correction model.

Table 6 Result of cointegration. Source: author’s calculation based on secondary data

PMG/ARDL model result

Having satisfied the pre-requisites of ARDL method, estimations of long- and short-run parameters for both resource degradation and climate change models are presented in Table 7. The findings identified that income growth has positive and significant contribution towards resource degradation and carbon emission in short run as well as long-run period. This is vindicated by the fact that growth of any economy is associated with degradation of the environment resulting from heavy reliance and consumption of pollutant emitting energy sources (Ueta and Mori 2007).

Table 7 Result of PMG/ARDL model. Source: author’s calculation based on secondary data

The above findings can be explained as slow growth of an economy and poor environmental standards have strong causal relation between economic growth and resource degradation. This is supported by the findings of Halicioglu (2009) and Erdogan et al. (2020) who found bidirectional Granger causality in the long run and short run between economic growth and carbon emissions. The present findings also explore that coefficient of two factors i.e., lnFDI and lnUP are negative and significant only in long run. With 1% increase in foreign investment and urban population growth, ecological footprint is decreased by 0.010% and 0.019%, respectively, in the long run. Similar findings are reported by Saud et al. (2020) where EF is observed to decline (at various percentages in Gha) due to increase in financial development and globalization in selected countries.

The intensity of ecological footprint due to foreign investment depends on the types of adopted industries in the economy. Initially, FDI may exacerbate EF by influencing the domestic industrial production but in the long run, scientists and policy makers put stress on eco-friendly production techniques through innovation in advanced resource exploitation technologies which drastically reduce ecological footprint. This finding is consistent with Arogundade et al. (2022), while Chowdhury et al. (2020) found contradictory result. This also finds support in several writings (Danish and Wang 2019; Dogan et al. 2019) who found that urbanization has mitigating effect on environmental degradation/ecological footprint. This is also explained by the fact that, with economic growth, urbanization will reach a level of development at which environmental spoil will begin to be reversed, attendant with positive externalities and greater environmental awareness among the population. Besides this, the rising income of urban people in G20 nations has led them to embrace eco-city with low-carbon urban design such as low-carbon infrastructure, less energy using transportation and waste management, which have a favorable effect on the ecological footprint.

The non-renewable energy consumption significantly contributes to ecological footprint in G20 countries in both long run and short run as expected. This indicates that the nexus between the traditional energy sources as fossil fuel energy and ecological footprint is consistent with the earlier investigations (Charfeddine 2017; Agboola et al. 2022; Wenlong et al. 2022).

Result of climate change model shows that 1% increase in real GDP significantly enhances CO2 emission by 0.653% and 0.101% in long run and short run, respectively, which suggests that carbon emission is positively related to economic growth. This particular result found support from previous studies (Zubair et al. 2020; Kasman and Duman 2015; Nosheen et al. 2021) but contradicts with Hdom et al. (2020). It was found that the long-run effect of lnFDI on lnCO2 is positive and significant, and in the short run, we detected the same sign of the coefficient which is, however, insignificant. Alternatively, we can say that FDI reduces air quality in long time period, while Ahmed et al. (2022) and Kibria et al. (2022) discovered the exact opposite. Study by Huang et al. (2022) in the context of G20 countries reveal that although FDI inflows tend to increase the emissions of carbon dioxide, they are likely to mitigate carbon emissions in countries with higher levels of economic development and regulatory quality. Financial investment leads to carbon emission because FDI influences the domestic industrial production and value-added in wholesale which enhances the over-consumption practice in human nature and makes the atmosphere more polluted. With respect to non-renewable energy consumption, it is found that a 1% rise in NREC leads to 0.653% rise in environmental deterioration in the short-run, while, in the long run, NREC is insignificant. These findings contradict with Agboola et al. (2022) where in the long run only, significant effect is observed from conventional energy, while it is insignificant in short run. This fact can be explained in terms of use of fossil fuel in the energy intensive industries and use of this kind of inputs in the production process is the reason for increasing CO2 emissions. The coefficients of REC confirm that renewable energy consumption plays an important role in reducing carbon emissions in both short and long run in the selected economies. Therefore, the government authorities and policy maker of G20 nations are on the right path in adaptation of renewable energy technologies to mitigate climate change. Similar observations were made by Agboola et al. (2022) in Russian Federation, Alharthi et al. (2021) in MENA countries, Qiao et al. (2019) in G20 countries, Belaïd et al. (2019) in Mediterranean countries and Raihan and Tuspekova (2022) in Peru.

A possible negative consequence in these models is that they may suffer from specification bias or not be homoscedastic or not have a standard normal distribution. To check for these possible modeling errors, standard diagnostic tests are performed to find out if the model is well specified, that is, the regression assumptions are not compromised. The study applies the diagnostic tests including autocorrelation, normality and heteroscedasticity to check the robustness of the results. The long-run model for both resource degradation and climate change, as shown in (Table 8) found to be healthy because the Breusch–Godfrey Lagrange multiplier (LM) test suggests that the model did not suffer serial correlation as the probability value is higher than a 5% significance level. The model is also free of heteroscedasticity as the null hypothesis not dismissed. The normality test concludes that both the model residues have a normal distribution based on Jarque–Bera statistic because the significance value is higher than the 10% level.

Table 8 Result of robustness test

Causality analysis using VECM

The PMG/ARDL estimation provide only long-term and short-term parameter estimation, but causal relationship among the selected variables indicates an important step for policy direction. Here, the VECM granger causality method has been used to find out the inter-linkage causal direction among the variables under the two models. For the existence of long-run causality, the value of ECMt-1 must be negative and statistically significant.

The results (Table 9) of Granger causality test, based on VECM, for the variables considered in resource degradation model illustrate the short-run effect and long-run effect through error correction coefficients. The F-statistic of short-run dynamics indicate a bidirectional causal impact between EF and RGDP; EF and NREC. This two-way relations reveal that both economic growth and non-renewable energy use Granger cause resource degradation at 1% significance level and vice versa. Further, the bidirectional short-run causal relation between RGDP and NREC indicates the energy-led growth hypothesis and vice versa. A unidirectional causality has been detected flowing from RGDP to FDI and from UP to ecological footprint, real GDP and NREC. This result suggests that economic growth enhances foreign investment but on the contrary, there is no significant effect. Regarding error correction mechanism results, no existence of an adjustment towards long-run causal interaction among the variables is observed.

Table 9 Result of long-run and short-run granger causality test of natural resource degradation model. Source: author’s calculation based on secondary data

Table 10 illustrates the result of both long and short-run Granger causality among the variables of climate change model in our study. In the long term, the coefficient of ECT associated with only REC is significant at 10% significance level and has a negative sign. A feedback effect of carbon emission with economic growth, urban population growth and non-renewable energy consumption sources is found in short run. A short-run causal link runs from real GDP to not only FDI but also renewable energy consumption with no feedback. Urban population growth leads to CO2 emission, economic growth and energy consumption in short run. Similar study undertaken in the context of India by Pachiyappan et al. (2021) reveal a long-term equilibrium relation across CO2, GDP, energy use and population growth. Granger causality results show bidirectional causality between GDP and energy use, while unidirectional causality between population growth and energy use, CO2 emission and population growth, etc. Considering the same four variables in case V-4 countries, Myszczyszyn and Supron (2022) found long-run relation while urbanization affected both CO2 emission and energy consumption.

Table 10 Result of long-run and short-run Granger causality test of climate change model. Source: author’s calculation based on secondary data

The urban lifestyle requires huge transportation, housing demand, and urbanization that also play a deterministic role in higher use of both conventional and unconventional energies. Economic growth and fossil fuel energy has mutual causal interaction. Some additional observations are made from this analysis in the sense that bidirectional causal effect exist between renewable and non-renewable energy use only in short run. The summary of short-run causality results of two models is shown in Figs. 9 and 10.

Fig. 9
figure 9

Flow of short-run causality relationship (Natural resource degradation model)

Fig. 10
figure 10

Flow of short-run causality relationship (climate change model)

Conclusion and policy prescription

By far the most controversial issue among environmentalists is that environmental degradation in many developed and developing economies is the consequence of economic growth, foreign direct investment, urbanization, energy use etc. This study shows how economic growth, foreign direct investment, urban population growth, energy consumption influence ecological footprint and CO2 emission in G20 countries between the period 1990 and 2018. Several econometric techniques such as PMG/ARDL and Granger causality test using panel VECM have been applied to explore the long-run and short-run association among the variables. The result indicates the existence of cointegration among the considered variables. These findings of long-run PMG estimator indicate that economic growth and conventional energy use degrade the environmental quality while urbanization and foreign investment exert the exact opposite. The findings of the short-run causality test reveal bidirectional causal relationship between ecological footprint, economic growth, and non-renewable energy consumption. The unidirectional causal relation from urban population as well as non-renewable energy consumption to ecological footprint has been detected here. The result reveals that accelerated economic growth and urbanization enhance conventional energy use, and unsustainable production process and consumption behaviors of the inhabitants are the main reason for that. The consumption footprint is more sensitive to domestic income and urban design while the production footprint is more sensitive to domestic natural capital and financial investment. Therefore, both way short-term causality across GDP and EF reflects on the fact that the pressure on resource consumption to meet the demand of consumerist culture needs to be reduced to have more sustained ecological balance.

Furthermore, economic growth is found to accelerate CO2 emission, side-by-side innovation and adaptation of green energy technologies is a large window to reduce air pollution for these particular economies. In addition, similar bidirectional causal relation of CO2 with economic growth, urbanization, and non-renewable energy use has been found in climate change model, while one-way causal effect is observed from urbanization and economic growth to renewable energy consumption. From the economic and political point of view, few suggestions have been served corresponding to needed policy initiatives. Policymakers should balance the supply of and demand for natural resources by maintaining the ecological footprint at low level and preserving natural resources through enhanced environmental awareness, investment in vocational training, science and technology, green city development projects, holding more seminars, workshops, etc. The study outcome may enable the G20 country leaders to adopt various stringent environmental regulations which can serve to stop natural resource exploitation and assure environmental sustainability. These might be in the form of imposition of taxes on fossil fuel use, penal measures on high CO2 emitting industries, provision of severe punishments for those who embark on indiscriminate dumping of refuse, vandalize oil pipe lines, set wild fires, adopt illegal fishing and mining activities, etc. For reduction of erosion and deforestation, environmental policies should include compulsory afforestation laws, wildlife conservation practice and biodiversity initiatives as a comprehensive measure. The government has to implement motivated pro-environmental activities to check over-consumption and promote a sustainable lifestyle for the urban population such as water-harvesting and energy- saving, usage of alternative energy instruments, use of public transportation, consumption of eco-friendly food, and recycling of wastes.

As CO2 is the most important polluting gas in the atmosphere, the observation of either way causality in short run for the considered group of countries have implications that unless urgent action be initiated to reduce power consumption, by shifting to renewable sources of energy, by walking or cycling short distance, using public transport mostly in place of private cars for long distance, substituting fossil fuel consumption by bio-diesel, etc., the environment is likely to be polluted heavily without allowing any easy reversal. Timely implementation of preservation measures of various ecological resources, introduction of stringent regulations and atmospheric pollution abatement activities are likely to have significant impact in fulfilling the desired goal of achieving a better sustainable future.

The aspect of resource or material input efficiency and benefit of transition to a circular economy in terms of waste reuse and thus saving resource have not been taken into consideration in the present analysis. Material flow accounts have been established by a number of countries which incorporate indicators of resource efficiency and circular economy. In the absence of these indicators, the perverse impact of material use inefficiency might be reflected in waste generation and land degradation, deforestation, water depletion and pollution, etc. In addition, foreign trade may contribute to material efficiency through inducing innovation, better technique of production and skill formation. There may also be simultaneous relation across some of these variables. These aspects should be taken into consideration in the future studies.