Introduction

The country follows the path of development process relying on its resource base, including natural and human capital. In earlier phases of the economic development, it was easier to use and the pool of natural resources for a country. The rapid extraction of natural resources boosts the development process of developing countries, while the environmental quality of these countries impaired by pattern and use of natural resources (Bekun et al. 2019). Continuous use of natural resources steadily increases the degree of environmental degradation. This leads to explore more renewable energy sources. Similarly, urbanization refers to the process of expansion in the proportion of the population residing in urban areas. Many cities are experiencing high growth of urbanization (United Nations 2017). The sudden rise of urbanization leads to environmental degradation, which is a global problem for the environment but is more detrimental to developing countries (Azam and Khan 2016). Similarly, globalization has also some positive effects like reducing poverty, closing the gap of income inequality in developing countries, but still the environmental consequences are debated (Salahuddin et al. 2019a, 2019b; Destek 2020; Khalid et al. 2020).

Along with the path of development, ecological quality is rapidly depreciating due to “deterioration of ambient air quality, reduction of forest cover, soil erosion, continuous variation in the pH value of water, and many other associated reasons.” With income growth decelerating the rate of depreciation, environmental sustainability continues to increase above those income thresholds. The theoretical relation of income-pollution represents an inverse U-shaped, known as the theory of the environmental Kuznets curve (EKC) by Kuznets (1955) that assumed an inverted U-shaped linkage among environment and economic growth. In a seminal paper by Grossman and Krueger (1995), studying the impact of North American Free Trade Agreement (NAFTA) on the environment, it was found that an inverted U-shaped curve between growth and environmental quality. Today, when assessing the environmental effects of economic development, the ecological metric has chosen specifically as contaminants. In this analysis, however, we have selected the environmental sustainability indicator for the ecological footprint (EF). The ecological footprint describes the Earth’s carrying capacity and the earth as an intrinsic futurist feature; it is also a measure of sustainability, as characterized by Rees (1992) and Wackernagel et al. (1999). They state that a common ecological region can provide the goods that the parties engaged in a plan to develop the use and at the same time of taking up the waste formed by those groups. Wackernagel and Monfreda (2004) later disregarded this concept. The ecological footprint, according to them a calculation of the biological potential required to manage an economic system which means that the natural capital of the bio-capacity should have an essential pool and also the waste produced by the economic system should be capable of absorbing.

However, in reaction to global climate change, environmentalists have pre-occupied themselves with studies on energy consumption (renewable and non-renewable), trade and urbanization, globalization, human capital, and their environmental impacts (Shahbaz et al. 2017a, 2017b; Usman and Hammar 2020; Sehrawat 2020; Yao et al. 2020; Khan 2020; Bakhsh et al. 2017; Xu and Lin 2017). Economic activity raises the energy demand and stimulates industrialization, encouraging trade in turn. Though some of the developing countries are rich in natural resources, yet weak technical and economic structures are catalyzing unsustainable energy usage and increasing greenhouse gas emissions. Since 2007, significant and unforeseen reductions in the cost of producing renewable energy have occurred. In conjunction with policy initiatives aimed at reducing greenhouse gas emissions, energy systems, particularly solar and wind, have produced a paradigm shift in energy systems (Arndt et al. 2019).

Developing countries are mainly concerned with high growth rate rather than the detrimental environmental implications of such growth. Energy Information Administration (EIA 2013) states that energy consumption of developing countries projected at 65% of world energy by 2040. It has regarded that developing countries are consuming high amount of non-renewable energy consumption than renewable energy, because of poor investment in renewable energy sector forcing them to use fossils fuels, which has high carbon contents (Hu et al. 2018). Changing the economic structure of the developing countries is one of the most important factors of high-energy consumption. Many developing countries depend on high-energy intensive sectors (Miketa and Mulder 2005). Hence, it leads to increase environmental pollution, adding harm to human health and sustainable environment. It is also projected that developing countries expected to experience the high population growth through by 2040 (Keho 2016). Due to population explosion in developing counties, resource scarcity can happen easily, triggering environmental problems like global climate change, erosion, and habitat destruction. It has also claimed that developing countries have resource endowments, unexplored renewable energy, and frangibleness climate. Among the developing countries, China and India are the 1st and 3rd position in terms of world’s CO2 emitters. Similarly, Indonesia, Mexico, and Brazil are 10th, 12th, and 14th carbon emitter in the world. These countries are highest emitter of CO2 emissions because of high use of non-renewable energy consumption like coal and natural gas (Awodumi and Adewuyi 2020). As per the Global Footprint Network (Global Footprint Network, 2018), the world average ecological footprint per person was 2.75 global hectares, and bio-capacity of world average is 1.63 global hectares. Therefore, there is an ecological deficit of 1.1 in the world. A footprint smaller than the planet’s bio-capacity is a critical requirement for humanity’s long-term survival. If a country fails to absorb its own population footprint, the country is therefore called as an ecological debtor because it has an ecological deficit. Almost all developing countries are facing the ecological deficit like Bangladesh, Pakistan, India, Afghanistan, Haiti, Nigeria, Cameroon, and Sri Lanka. Hence, in this paper, we are considering that higher ecological footprint leads to reduced environmental quality. According to Global Footprint Network (GFN 2018), about 80% of the world’s population lives in a country with a significant environmental crisis. The increased use of non-renewable energy, in tandem with negative trade and a rise in urbanization, would end environmental sustainability. Hence, this motivates us to attempt this study in the developing countries.

In this paper, we examine the relationship between renewable energy, non-renewable energy, globalization, and natural resources on the ecological footprint in 36 developing countries. The contributions of the paper to previous studies are as follows: (i) there are many researchers who have discussed the environment-growth-energy nexus in a panel as well as individual studies. This study is the first empirical analysis in the case of developing countries taking as ecological footprint (a positive indicator), human capital, natural resources, and globalization in a single lens. However, most of the previous studies have taken CO2 emission as an indicator of environmental quality (Ito 2017; Akram et al. 2020; Ali et al. 2019; Salahuddin et al. 2019a, 2019b). EF includes six types of bio-productive land-use categories (grazing land, farm space, carbon footprint, cropland, land for building, and to the ocean). The EF is the only comparative metric against what the biosphere will renew the resource demand of government, corporations, and citizens. Due to the relatively stable production growth in developing countries in recent years, through use of EF is optimal as it analyzes the ecological effects of producing goods, to encourage a lifestyle needed (Wachernagel and Rees 1996). (ii) This analysis is distinctive of analysis techniques developed in the embraced panel data that yield more accurate and robust forecasts. For the long-run analysis, we apply the augmented mean group (AMG), which permits to use of cross-sectional dependency presence in the series. Morever, the Mean Group (MG) technique, and Common Correlated Effects Mean Group (CCEMG)  also apply to check the edogeneity problem in the model.

The rest of the paper are organized as follows: the “Review of related studies” section presents the review of related studies; in the “Theoretical underpinnings” section, we present the theoretical underpinnings; the Data and methodology” section discusses the data sources and methodology; results and discussion of the empirical analysis is presented in the “Results and discussion” section, and conclusion and policy implications are presented in the “Conclusion and policy implications” section.

Review of related studies

There are extensive studies done on examining the relationship between renewable, non-renewable energy consumption, trade, urbanization, economic growth, and environmental degradation. Researchers also used different indicators to measure environmental quality like CO2 emissions (negative indicator) and ecological footprint and material footprint (positive indicators). The main objective of our study is to measure the relationship between renewable energy, non-renewable energy consumption, urbanization, and globalization on the ecological footprint (EF) in developing countries. Hence, in this section, we will discuss the previous studies on energy consumption, urbanization, and globalization on ecological footprint, and this substantiates our study’s parameterization.

Energy consumption, economic growth, and ecological footprint

The relationship between energy consumption and ecological footprint depends on the economic growth or economic structure of a nation. On the very first level of economic development, the energy demand of the country is primarily focus on the use of non-renewable energy. This has the greatest effect on environmental degradation because of the gigantic consumption of fossil fuels. After a certain point, there will be a reverse relationship between energy consumption and environmental pollution; this is called environmental Kuznets curve (EKC). Studies which found similar results in the panel as well as a individual countries case such as Ahmed and Long (2013). Gokmenoglu and Taspinar (2018), Seppälä et al. (2001), Işık et al. (2019), Rauf et al. (2018), Al-Mulali et al. (2015), Apergis and Payne (2014), Dogan and Turkekul (2016), Dogan and Seker (2016), Dogan and Aslan (2017), Dogan (2014), Udemba (2021), and Alharthi et al. (2021). In other set of literature estimated the existence of EKC hypothesis by using ecological footprint, a study by Uddin et al. (2016) investigated the relationship between income level and environmental quality in 22 countries during 1961–2011. They found that only 10 countries validate the existence of EKC hypothesis. They suggest that clean technology and efficient energy resources should be used in the production process to reduce the ecological footprint in the sample countries. Similarly, Dogan et al. (2019) examined the determinants of ecological footprint in case of MINT countries for the period of 1971–2013. They have applied ARDL bound testing approach for investigating the long-run and short-run relationship. They found that all four countries show the existence of EKC hypothesis in the sample period. A recent study by Haldar and Sethi (2020) investigated the relationship between renewable energy consumption, economic growth, and CO2 emissions in developing countries. They also found the existence of EKC hypothesis in the sample countries.

A recent study on the linkage between energy consumption and the ecological footprint was led by Charfeddine (2017) using the Markov switching model in Qatar. He found that the ecological footprint and the ecological carbon footprint and CO2 emissions are positively related to energy use and financial growth. For a newly industrialized economy, Destek (2020) found that economic growth and ecological footprint are positively related to each other. Shahzad et al. (2020) examined the “relationship between energy consumption and ecological footprint in the USA.” They reported that economic sophistication and the use of fossil fuel oil substantially increase the ecological footprint of the USA. In comparison, the quantitative causality empirics indicated the presence of causal connections with the ecological footprint between economic complexity and energy use. There also many studies which used other indicators for measuring the environmental quality like CO2 emissions (Zhang and Lin 2012; Isenberg et al. 2002; Salahuddin and Gow 2014; Mert and Bölük 2016; Ali et al. 2016; Ehigiamusoe and Lean 2019; Apergis and Ozturk 2015; Apergis and Danuletiu 2014; Altinoz and Dogan 2021; Bhujabal et al. 2021; Omoke et al. 2020; Saint Akadiri et al. 2020; Yang et al. 2021).

Similarly, the study by Khan and Hou (2021) examined interlink between energy consumption and ecological footprint in 37 International Energy Agency (IEA) during 1995–2015. They used advanced panel technique for analyzing the results and found that energy consumption in these countries is reducing environmental quality in the long run. However, a study by Sharma et al. (2021) investigates the role of renewable energy consumption on environmental quality (proxy of ecological footprint) in eight developing countries of Asia. They have applied cross-sectional autoregressive distributed lag model (CS-ARDL) for the long-run estimations and found that renewable energy enhances environmental quality in these countries. However, the effect of life expectancy is positive but insignificant. Majeed et al. (2021) studied in Pakistan on aggregate and disaggregate energy consumption and environmental quality. They apply non-linear autoregressive distributed lag (NARDL) model for the analysis, and the empirical results for marginal intake show that only harmful shocks have a substantial effect on ecological footprint. Similarly, different forms of energy consumption have asymmetric impacts on the environment.

Urbanization, globalization, and ecological footprint

A recent study by Rashid et al. (2018) investigated the relationship between urbanization and ecological footprint in two towns of Pakistan. They found that both the towns have used ecological footprint than bio-capacity. They suggest that utilization of green energy resources and energy-saving technology would be the best way to reduce ecological footprint. In contrast, Nathaniel et al. (2019) claimed that urbanization and energy consumption are enhancing environmental quality in the long run in south Asia during 1965–2014, while Nathaniel et al. (2020a, 2020b) investigated the relationship between renewable energy, financial development, and urbanization on ecological footprint in MENA countries and found that urbanization and financial development are deteriorating environmental quality. Urbanization has become a paradigm change from rural to urban environments with social and economic capacities. Developing countries have undergone rising urbanization speeds, while their industrialized counterparts appear to have high urbanization rates (Sadorsky 2014). Many other studies empirically analyzed the link between urbanization and environmental quality. A study by Liang et al. (2019) using advanced panel technique in the case of China found that due to urban agglomeration, it has a positive impact on environmental pollution in China. Similarly, a study by Shahbaz et al. (2019) examined the connection between urbanization and environmental quality in UAE for a period 1975–2011. They have found that urbanization worsens environmental quality. For a developing country, a study by Martínez-Zarzoso and Maruotti (2011) examined the nexus between urbanization and environmental degradation, and the outcome shows that urbanization and carbon pollution have an inverted U-shaped relationship. Combining the nations based on threshold analyses implies that pollution-urbanization has been negative at a given point, and emissions remain constant as urbanization goes beyond that point. Other groups’ findings suggest that urbanization would not encourage greenhouse gas emissions, but rather income and population. Sharma (2011) studied for a panel of 69 nations and found that economic growth, financial development, and energy use enhance CO2 emissions, while urbanization reduces it. Natural systems in mountains have been severely impact by rapid urbanization. Ecological footprint is a vital basis for determining whether a country or region’s growth is beyond its bio-capacity as a metric of fair utilization of natural resources (Ding and Peng 2018). Long et al. (2017) stated that ecosystems are subject to a variety of complex and heterogeneous effects because of urbanization. They have used ecological footprint to show the environmental sustainability in the sample period. A recent study by Godil et al. (2021) investigated the relationship between transport service, financial development, and urbanization on ecological footprint in Pakistan during 1980–2018. They have used quantile autoregressive distributed lag (QARDL) model for the long-run and short-run analysis. They found that transport service and financial development are enhancing environmental quality while urbanization deteriorating it. A recent study by Nathaniel et al. (2021) found that urbanization and natural resources are negatively related with ecological footprint.

According to Shahbaz et al. (2017a, 2017b), globalization means the transfer of technologies via industrialized to emerging markets by foreign direct investment (FDI) and imports, assistance in dividing labor, and increase in the value creation of the respective economies. Globalization has a strong influence on global prosperity with an increase in economic growth. Absolute productivity, FDI, and commerce thus implicitly rise energy use and depletion of the ecosystem. In comparison, Lv and Xu (2018) found that globalization reduces environmental quality. Similarly, for an 83 nations studied, You and Lv (2018) found an “undesirable association between globalization and CO2 emissions.” In contrast, Kwabena Twerefou et al. (2017) explored the correlation between globalization and environmental impacts for a panel of 36 African countries using GMM methodology. Similarly, with a panel of 25 developing countries, Shahbaz et al. (2018) investigated the impact of globalization on CO2 emissions. It is important to note that the results show a favorable effect of globalization on pollution in developing economies. Using panel-estimating methods, Salahuddin et al. (2018) found that globalization improves environmental quality in SSA regions, while urbanization worsens it. Martens and Raza (2010) used the Maastricht globalization index (MGI) to analyze globalization’s competitiveness against numerous sustainability parameters. They could not find any relation between them. A study by Ahmed et al. (2019) found that there was not any significant relation with globalization and ecological carbon footprint in Malaysia. However, it shows positive relation with ecological footprint. From the above literature, we found that there is a diverse finding between globalization and ecological footprint. There are fixed findings about the globalization and ecological footprint from the literatures (Dogan 2016; Sabir and Gorus 2019; Usman and Hammar 2021; Nathaniel et al. 2021)

Trade openness, population, and ecological footprint

Through the several channels, trade openness can have a potential effect on the ecological footprint, and this influence can be either beneficial or harmful. This trajectory of influence is determined by the degree of growth and industrialization in a country. In the case of an advanced and developing world, the importation of enhanced technological innovations and efficient manufacturing practices is possible, and trade openness has an impact on the climate through technology. Due to such consequences, mostly during the manufacturing process, environmental quality is enhanced. On the opposite, the main priority of lawmakers of any nation at the earlier stage of development is to achieve prosperity, even at the expense of the environment (Destek 2020). However, to improve efficiency, inexpensive and polluting technology is introduced into certain countries, and in this instance, the technique impact of trade openness negatively affects the ecological standard (Al-Mulali and Ozturk 2015). A recent study in the emerging country by Aydin and Turan (2020) examines the “relationship between financial openness and trade openness on the ecological footprint in BRICS countries.” They found that in China and India, trade transparency has lowered environmental emissions, while in South Africa, it has increased. Similarly, a study by Kongbuamai et al. (2020) investigate the linkages between trade openness, population density, and economic growth on the ecological footprint in Thailand. They revealed that trade openness has reduced environmental quality, while population density increased during the study period. Similarly, Uddin et al. (2017) apply DOLS for the long-run estimations between economic growth, financial development, and trade openness on ecological footprint in 27 high-emitting countries and found that real income has positive effect on ecological footprint, while trade openness has negative effect but insignificant. However, a study by Ali et al. (2020) using dynamic common correlated effect in OIC countries during 1991-2016 found that trade openness has positively affected ecological footprint in these countries during the sample period. They found that trade openness has positively affected ecological footprint in these countries during the sample period. Mrabet and Alsamara (2017) have used two models for the empirical investigation between trade openness and financial development on CO2 emissions and ecological footprint. They found that trade openness was positive link with CO2 emissions whereas negatively related with ecological footprint. It means in ecological footprint case, trade openness enhances environmental quality in the long run.

Population size affects the size of a person’s average ecological footprint. A density of population implies that in that country, there is a lot of land area per person. There could be more land and services available for an individual to use in his/her way of living. However, if the landscape is quite resource-limited, a low population density (Niccolucci et al. 2012) will not improve the ecological footprint size. There could be more land and services available for an individual to use in his/her way of living. The relationship between population and ecosystem has been recognized since Malthus (1798). Toth and Szigeti (2016) claimed that environmental degradation is not due to increase in population; it is because of the consumption pattern of individuals. From the above literature, we found that there are dearth of studies that have been done on environmental quality in case of country-specific or panel studies. However, very few studies have carried out in developing countries case. Many studies have not taken care the endogeneity issue, while in this paper, we apply advance econometrics technique to solve the issue. Last but not the least, we have taken ecological footprint for the measurement of environmental quality in developing countries, by taking the variables like renewable and non-renewable energy, urbanization, and natural resources. In this way, this study adds contribution to the previous literatures.

Theoretical underpinnings

Ecological footprint monitors nature’s demand and supply. The ecological footprint calculates on the demand side, the ecological assets needed by a civilized group to generate the natural resources it uses and to contain its waste, in particular carbon emissions. The ecological footprint monitors six types of viable surface areas: “cropland, livestock fields, fish stocks, built-up land, woodland areas, and demand for carbon on land.” The bio-capacity of a country on the supply side reflects the productivity of its biological properties. It absorbs the waste particularly carbon emissions (Bilgili and Ulucak 2018). Initially, Rees (1992), later it was developed by Wachernagel and Rees (1996) and coined the term ecological footprint.

In pursuit of environmental analyses, ecological footprint measure is commonly use around the world (Van den Bergh and Verbruggen 1999). It encourages individuals in the economy to quantify and optimize the utilization of capital and investigate the viability of consumer lifestyles (GFN, 2019). Many studies also used the term carbon footprint, which is expressed as the weight of CO2. Carbon footprint is a part of ecological footprint. Hence, in this paper, we used ecological footprint and its macro determinants in developing countries, i.e., renewable and non-renewable energy consumption, urbanization, globalization, population, and trade.

In the twentieth century, along with the exponential increase of the human population, there was extensive migration to major cities. The subsequent losses in biodiversity and shifts in habitats rival some of the mass extinctions suffered by the planet in the past (Magurran and Dornelas 2010). Most improvements in the landscape, including agricultural and industrial use, are the result of human land-use activities. In this land-use practice, urbanization is exceptional in both the speed as well as the degree of all its effect on natural ecosystems (Wear and Bolstad 1998). Globalization is characterized as “a move to a more interconnected, interdependent global economy from self-constrained and independent national economies with trade and investment barriers, regulations, and cultural differences” (Ahmed et al. 2019). Through trade and foreign direct investment channels, globalization may influence the environment. For example, while starting or expanding their business ventures, foreign investors can use sophisticated technology to improve the quality of the environment by reducing energy demand.

It is very important to know effects of human capital on ecological footprint. Ecological learning is a way that encourages people to discuss global hazards, participate in solving problems, and take steps to change the ecosystem (Daniels and Walker 1996). As a result, people have a better understanding of environmental challenges and have the skills to build informed and rational choices. Human capital decreases the use of fossil fuels, which ultimately increases the efficiency of the atmosphere by controlling high carbon emissions without affecting economic development. Knowing the idea of ecological footprints shows that the populace is such a key element of development. Rees (1992) explicitly showed that mankind cannot afford to consume more than the Earth can create, by developing a quantitative instrument for understanding the availability and demand for natural resources. There will be a mismatch between the demand and supply of resources if population growth will be accelerating. According to GFN (2018), when the demand for natural resources is higher than supply, it is called an ecological deficit or when the population growth rate is higher than the area’s bio-capacity. Valin et al. (2013) pointed out that one-third of environmental degradation is cause by global food production. Each human introduced to the Earth needs to feed, which increases the global production of food steadily and, as a result, increases the number of greenhouse gases that reach the atmosphere. By considering the above linkages of ecological footprint, we have chosen explanatory variables like urbanization, globalization, trade, renewable, population density, and non-renewable energy consumption in developing cases. Figure 1 describes the relationship between the dependent variable and independent variables graphically.

Fig. 1
figure 1

Conceptual framework. Source: Author’s construction

Data and methodology

Data

We use the annual data of 36 developing countries (see Table 10 Appendix) from 1990 to 2016. The period of this study is based on the data availability of the main variable “ecological footprint.” For determining environmental quality, we use data of ecological footprint per capita measured as global hectares (gha/person). Many researchers also proposed this indicator for calculating environmental quality (Isenberg et al. 2002; Nathaniel et al. 2019; Shahzad et al. 2020). The description of the variables is presented in Table 1 as follows:

Table 1 Description of the variables

Model specification

The main objective of this paper is to examine the relationship between urbanization, globalization, and natural resources on ecological footprint. To achieve this objective, we follow studies such as Stöglehner (2003), Zhao et al. (2005), Miller et al. (2013), Figge et al. (2017), and Sabir and Gorus (2019) by including an inclusive measurement of urbanization and globalization index on ecological footprint as follows:

$$ EF=f\ \left( GDP, RE, NR E, TR, GI, URB, PO, NR, HC\right) $$
(1)

where EF represents ecological footprint, GDP is economic growth, RE and NRE denote renewable and non-renewable energy consumption, TR is trade openness, GI measures globalization index, and urbanization symbolized as URB. PO and NR denote population density and natural resources, respectively. HC represents human capital index based on the average year of schooling (Barro and Lee 2013). To smoothness the data, all variables are transformed into natural logarithmic, and this may produce appropriate long-run results (Sahoo and Sethi 2020a; Sahoo and Sethi 2020b). The above functional form can be written as:

$$ {lnEF}_{it}={\varUpsilon}_0+\varUpsilon 1 lnGDPit+{\varUpsilon}_2{lnRE}_{it}+{\varUpsilon}_3{lnNRE}_{it}+{\varUpsilon}_4{lnTR}_{it}+{\varUpsilon}_5{lnGI}_{it}+{\varUpsilon}_6{lnURB}_{it}+{\varUpsilon}_7{lnPO}_{it}+{\varUpsilon}_8{NR}_{it}+{\varUpsilon}_9{HC}_{it}+{\varepsilon}_{it} $$
(2)

where t denotes the time period from 1990 to 2016, i represents the countries observe in this paper, and ε is the error term. ϒ0…ϒ8 discuss the log run coefficient of variables used in this paper.

Econometrics methods

Cross-sectional dependency and slope homogeneity test

In the first case of panel studies, it is essential to examine the CD test. Otherwise, it will give spurious results. Growing associations trigger cross-sectional dependency (CD) across socio-economic structures and typical unidentified shock, which makes traditional panel estimation methods inaccurate. Hence, ignoring cross-sectional dependence will also have severe implications (Ertur and Musolesi 2017). It is best to work with CD even though standard unit root testing implies cross-section independence. Therefore, depending on methods that presume cross-sectional independence, it can yield inaccurate findings. We use CSD to fulfill this function, which was introduced by Pesaran (2007). The CD equation is given as:

$$ CD=\sqrt{\frac{2T}{N\left(N-1\right)}}\left({\sum}_{i=1}^{N-1}{\sum}_{j=i+1}^N{\hat{\rho}}_{ij}\right) $$
(3)

Besides, we have applied a slope homogeneity test in our model. It was developed by Pesaran and Yamagata (2008). The test equation is calculated through “delta-tilde and adjusted delta-tilde.”

Unit root test

The normal unit root tests in models presume that “independence of cross-sections and slope homogeneity and can therefore generate misleading consequences.” In this paper, we use a second-generation unit root test, which checks the problem of CD in the equation. The second-generation tests used in this paper are CIPS and CADF introduced by Pesaran (2007). The equation for the CIPS can be written as:

$$ \Delta {\mathrm{z}}_{\mathrm{i}\mathrm{t}}={\upalpha}_{\mathrm{i}}+{\upbeta}_{\mathrm{i}}{\mathrm{z}}_{\mathrm{i},\mathrm{t}-1},+{\uprho}_{\mathrm{i}}\mathrm{T}+{\sum}_{j=1}^n{\delta}_{\mathrm{i}\mathrm{j}}\Delta {\mathrm{z}}_{\mathrm{i},\mathrm{t}-1}+{\upvarepsilon}_{\mathrm{i}\mathrm{t}}\kern0.5em $$
(4)

swhere zit is respect variables, ρ is deterministic components, δ is level of significance, and ε is error term in the model. We can get the cross-sectional augmented Dickey Fuller (CADF) from the above equation:

$$ \mathrm{CIPS}=\frac{1}{N}{\sum}_{i=1}^N{CADF}_{\mathrm{I}} $$
(5)

where CADFi represents “cross-sectional augmented dickey fuller test” and N is the number of observations.

Co-integration test

To examine the long-run elasticity among the variables, it is a prerequisite to test the co-integration on the sated variables. In this paper, we apply the Westerlund (2007) panel co-integration technique to get the association among the variables. The main advantage of the technique is that it controls slope heterogeneity and cross-sectional dependency in the model. This test has four results: two results indicate group statistics, and the other two denote panel measurement. The co-integration test of the error correction base is presented in Eq. (6).

$$ \Delta {\mathrm{y}}_{\mathrm{t}}={\upgamma}_{\mathrm{i}}{\mathrm{d}}_{\mathrm{t}}+{\uprho}_{\mathrm{i}}\left({\mathrm{y}}_{\mathrm{i},\mathrm{t}-1}-{\upbeta}_{\mathrm{i}}{\mathrm{x}}_{\mathrm{i},\mathrm{t}-1}\right)+{\prod}_{\mathrm{j}=1}^{\upeta \mathrm{i}}{\updelta}_{\mathrm{i}\mathrm{j}}\Delta {\mathrm{y}}_{\mathrm{i},\mathrm{t}-\mathrm{j}}+{\prod}_{\mathrm{j}=0}^{\upeta \mathrm{i}}{\updelta}_{\mathrm{i}\mathrm{j}}\Delta {\mathrm{x}}_{\mathrm{i},\mathrm{t}-\mathrm{j}}+{\upvarepsilon}_{\mathrm{i}\mathrm{t}} $$
(6)

where cross-sections are indicated by N (i = 1,………,N) and T (t = 1, ……,T) denotes number of observations.

AMG, MG, and DCCE technique

Once the long-term co-integration of variables has been established, the next procedure is to examine the magnitude of the variables. Several studies have claimed that CD occurs between nations because of economic shocks and unobserved components like trade openness and globalization. In this modernization period, global developments in some countries because of trade openness, each nation has been greatly influenced (Dogan et al. 2020). To know the main results of this study, we have applied the “augmented mean group (AMG), mean group (MG) introduced by Pesaran et al. (1999), and dynamic common correlated effect (DCCE) technique.” Chudik and Pesaran (2015) developed the DCCE technique. Compared to other conventional approaches, this estimation methodology is more appropriate even in the presence of CD and common shock. The strategy of the DCCE can comfortably deal with by considering heterogeneous slopes in which the parameters differ through cross-sections, heterogeneity, and CSD problem in results. For robustness, we have used “full modified ordinary least square (FMOLS) and dynamic OLS (DOLS).” The FMOLS and DOLS are also extremely effective in overseeing the effective processing of the problems of heterogeneity and serial correlations (Danish et al. 2018).

Panel D-H causality test

The non-causality test for Dumitrescu and Hurlin 2012) (D-H) coping the heterogeneous panels and CD. This test is applicable when T<N and T>N (Dogan and Seker 2016). The D-H technique can be written as:

$$ {\mathrm{Y}}_{\mathrm{i}\mathrm{t}}={\uptheta}_{\mathrm{i}}+{\sum}_{j=1}^J{\gamma_i}^J{\mathrm{X}}_{\mathrm{i}\left(\mathrm{t}-1\right)}+{\sum}_{j=1}^J{\eta}_{\mathrm{I}}\left({\mathrm{Y}}_{\mathrm{i}\left(\mathrm{t}-\mathrm{j}\right)+{\upvarepsilon}_{\mathrm{i}\mathrm{t}}}\right. $$
(7)

where γij and ηij represent the coefficient of estimator, which fluctuate across all nation. Y and X measures the causality. The D-H causality test as follows:

Ho: αi=0 for θi

$$ {H}_1:\kern0.5em \left(\begin{array}{cc}\upalpha \mathrm{i}=0& \mathrm{for}\ \mathrm{all}\kern0.75em \mathrm{i}=1,2,3,\dots \dots \dots \dots .\mathrm{Ni}\\ {}\upalpha \mathrm{i}=0& \mathrm{for}\ \mathrm{all}\ \mathrm{i}=\mathrm{N}+1,2,3,\dots \dots \dots \dots \mathrm{Ni}\end{array}\right) $$
(8)

Here H0 and H1 represent the null and alternative hypothesis, respectively.

Results and discussion

The descriptive and correlation matrices are presented in Table 2. In descriptive statistics, we discuss the mean, standard deviation, minimum, and maximum of series used in this study. It is observed that the average value of ecological footprint, GDP, renewable, and non-renewable energy is 1.25, 3.48, 6.62, 4.54, and 6.85, respectively. However, the average values of natural resources, globalization, and urbanization are 2.41, 5.90, and 2.75, respectively. Standard deviation measures the dispersion or spread of value from the mean. In our case, it has shown that the standard deviation of ecological footprint is 2.52, which means different countries have a different footprint as per their consumption, population, and area of bio-capacity. Similarly, std. deviation of urbanization, population, and natural resources varies across different developing countries. The minimum and maximum values in our observation are 0.10 and 96.24, respectively.

Table 2 Descriptive and correlation matrix

The correlation matrix is presented in Table 2. It measures the strength of the linear correlation between the variables. Some variables are positive, and some are negatively related to each other significantly. It is described that “economic growth and ecological footprint are positively related to each other.” The ecological footprint tracks not just emissions as a direct result of economic activity, but also the loss of resources needed to facilitate economic activity. Hence, available bio-capacity may affect economic growth in developing countries. Similarly, natural resources, population density, urbanization, and non-renewable energy consumption have positively related to EF. However, renewable energy, human capital, globalization, and trade are negative and significantly affect ecological footprint.

In next step, we verify whether the cross-sections are interdependent. This is important for the selection of the required root unit and tests for co-integration. Table 3 discusses the CD tests. It implies a transmission of shock in one country against the other. The null is that “there are independent among the countries against the alternative hypothesis of a cross-sectional dependency across the regions.” The results of the CD test delineate the cross-sectional dependency across the developing countries as it rejects the null hypothesis at a 1% level of significance. We also apply the Pesaran and Yamagata (2008) homogeneity test, which suggests a methodology to try to know the homogeneity of the slope in this study. The slope homogeneity test is presented in Table 4. As per the results of both CD and slope homogeneity tests, we use heterogeneous panel models as well as the panel techniques which control the cross-sectional dependency.

Table 3 Cross-sectional dependence test
Table 4 Results of Pesaran-Yamagata homogeneity test

After knowing the CD and slope of homogeneity in the sample, we apply the cross-section augmented Dickey-Fuller (CADF) and cross-section Im-Pesaran (CIPS) unit root test as per the recommendation of Pesaran (2007). Table 5 presents the panel unit root tests. To know the order of integration, it shows that all variables in the series are stationary at level and it became stationary after first differentiation. Hence, order of integration of variables is I (1) at different levels of significance.

Table 5 Results of CIPS and CADF panel unit root tests

The conventional panel co-integration test like Pedroni, Kao, and Fisher techniques does not capture the cross-sectional dependency. Hence, in this paper, we apply Westerlund 2007co-integration, which can be used in the presence CD. In Westerlund, co-integration has four coefficient parameters i.e., two are group coefficient and the other two are panel coefficient, which are presents in table 6. The results from co-integration reveal that we can reject the null hypothesis of no co-integration and accept the alternative hypothesis of co-integration among the variables in the sample period.

Table 6 Westerlund’s panel co-integration test

The result in Table 7 discusses the effect of the long-run elasticity of independent variables on the dependent variable or ecological footprint. We apply three long-run tests, i.e., mean group (MG), augmented mean group (AMG), and dynamic common correlated effects (DCCE) approach. The results of MG reveal that economic growth increases ecological footprint in developing countries, or it reduces environmental quality. There is always a range of contributors to the degree of economic growth and prosperity in each nation. To promote high growth, developing countries adopted different mechanism, and the available potential of natural resources. Development may have detrimental environmental consequences. There are many aspects, which include environmental (pollution), nature reserves overuse, wildlife destruction, and depletion, and climate change. These are the main problems that may be confronting developing countries; the deterioration in environmental sustainability is considered a major problem in the present and long-lasting living conditions of the population. This finding is stable with Hassan et al. (2019) for BRICS economies, Aşıcı and Acar (2016) for developing countries, and Ahmad et al. (2020) for emerging economies.

Table 7 Results of MG, AMG, and DCCE tests

However, renewable energy consumption reduces the ecological footprint in developing countries. One percent increase in renewable energy consumption leads to a reduced ecological footprint by 0.04%. In line with this, in their respective studies, Sinha et al. (2017) have determined that an intensification of the use of renewable energy technologies could regulate ecological footprint. Hastik et al. (2016) have indicated that renewable energy use alone could not solve environmental challenges without improving energy-saving manufacturing processes.

Further, the study revealed that non-renewable energy consumption endorses an ecological footprint. To cope up with the current momentum, developing countries are highly using fossil fuel energy. The use of non-renewable energy consumption leads to increase extraction of natural resources like coal and oil. Furthermore, the growth of the service industry, which is the product of economic development, will continue energy needs and, thus, contribute to emissions, thereby reducing environmental quality. The continuous use of carbon-based energy has a direct impact on our health and well-being, all of which are directly related to the environmental consequences of non-renewable energy. Evidently, the use of non-renewable energy sources has many adverse consequences on our environment, either because of how they are produced and stored or because they are used and ultimately disposed of. Accordingly, the continuing use of fossil energy turned out to be dangerous for the nature of the atmosphere, resulting in an improvement in the ecological footprint in these countries. Therefore, to ensure sustainable progress in these countries, it is important to substitute fossil fuel solutions with clean energy solutions to promote the growth pattern (Dincer 2000).

Similarly, trade openness shows a positive relationship with the ecological footprint. As economic growth and trade are closely connected, this may lead to an increased ecological footprint in developing countries. Economic growth arising from trade expansion may have an apparent direct effect on the bio-capacity. The finding is similarly in line with Al-Mulali et al. (2015). They have also found that trade openness, urbanization, and energy use increase the ecological footprint in 58 countries. In the same way, urbanization is positively related to the ecological footprint. As the pace of growth of urbanization varies across regions, it is very important to remember that rapidly due to migration of people from rural areas to urban areas for better life, developing countries’ population in urban areas are growing. As the population is overcrowded in the urban areas, they demanded more energy consumption, and it will create an imbalance in the regeneration of resources and absorption of waste. Martínez-Zarzoso and Maruotti (2011) found similar results in the case of developing countries while using CO2-based indicator as environmental quality.

Unlike urbanization, globalization reduces the ecological footprint in sample countries. It means globalization enhance environmental quality in developing countries in the study period. Through globalization, advanced or efficient technology is a transfer from developed countries to developing countries. There are many advantages for globalizations to the environment like it lowers the cost of production, developing better environmental regulations and standards. Via forums for international practices such as fair trade and eco brands, it has been at the forefront of building public awareness of labor and environmental standards. This result is also hold up by literatures like Ansari et al. (2020) and Zafar et al. (2019). Similarly, the natural resource has a positive effect on the ecological footprint. It means that 1% increase in natural resources is leading to a growth of 0.75% in ecological footprint. The positive value of the natural resources’ coefficient means that countries with no natural resource will import energy from fossil fuels (e.g., oil or gas) (Balsalobre-Lorente et al. 2018). These findings indicate that these developing countries are not adequately exploiting their natural resources and are using poor energy policies that are unable to reduce the country’s dependency on traditional sources of energy. The ecological footprint in developing countries, especially in relation to their mining activities, can be attributed to the influence of the availability of natural resources. Natural resources play a beneficial role in environmental destruction as sustainable and maintenance options are balanced with demand and development. As a result, the rate of natural resource loss and environmental stress decreases, allowing natural resources to recover.

However, the result delineates that human capital reduces the ecological footprint in developing countries. This means that an increase of 1% in human resources improves environmental sustainability by 0.20%. Standard living, education, and life expectancy measure human capital. When education and living conditions are improved, wages increase, and clean energy options are used rather than risks that obstruct a healthier way of life. Education also increases awareness among the people about the use of energy-saving or green technology in their daily life. The studies which are similarly in line with our findings are Ahmed and Wang (2019), Hassan et al. (2019), Chen et al. (2019), and Nathaniel (2020). However, the coefficient of population density is positive but not significant. We also found that the results of AMG and DCCE confirm the same sign and magnitude as the dependent variable.

Robustness check

We have applied FMOLS and DOLS for the robustness check. The FMOLS and DOLS are superior to OLS estimator because they permit to apply in case of small sample and control endogeneity problem. Table 8 discusses the results of FMOLS and DOLS.

Table 8 Results of FMOLS and DOLS tests

The results of FMOLS and DOLS also support the previous long-run results of MG, AMG, and DCCE. The results reveal that economic growth, non-renewable energy, trade openness, urbanization, and natural resources abundance are increasing ecological footprint significantly. However renewable energy consumption, globalization index, and human capital reduce it, thereby enhancing the environmental quality in the sampled countries. Hence government of each nation should more focus on the investment in the renewable energy sector and make stringent environmental policies for protecting the domestic nation from environmental issues.

The causal interaction among the stated variables is describes in the D-H causality test in Table 9. This test is more suitable in the case of heterogeneous panels and the presence of cross-sectional dependency in the model. The D-H causality test reveals that there are feedback effects on economic growth to ecological footprint, ecological footprint to globalization, and ecological footprint to natural resources and trade to globalization in these countries. This supports the idea that urbanization in these economies is a significant concern. However, urbanization, trade openness, renewable energy, and population density drive ecological footprint. These findings are similarly in line with Nathaniel et al. (2020a, 2020b), Chen and Fang (2018), and Nyasha et al. (2018).

Table 9 Results of D-H Granger non-causality test

Conclusion and policy implications

This paper examines the relationship between renewable energy, non-renewable energy, globalization, natural resources, and human capital on ecological footprint for a balanced data of 36 developing countries from 1990 to 2016. We consider other explanatory variables like urbanization, economic growth, trade openness, and population in this study. Cross-sectional dependency and second-generation unit root tests are employed to know the dependency among the cross-sections and order of integration among the variables to use in this paper. After getting the results of the order of integration, we apply Westerlund (2007) panel co-integration, as it can be used in the presence of cross-sectional dependency in the series. To know the main results of our analysis or long-run elasticity among the independent variables and dependent variables, MG, AMG, and DCCE panel techniques are employed. Results of MG reveal that economic growth increases ecological footprint in developing countries, or it reduces environmental quality. There is always a range of contributors to the degree of economic growth and prosperity in each nation. Development mechanisms were established in various economies depending on the unique features of each nation and the possible natural resources required encouraging high growth. Development may have detrimental environmental consequences. This finding is like “Hassan et al. (2019) for BRICS economies, Aşıcı and Acar (2016) for developing countries, and Ahmad et al. (2020) for emerging economies.”

Consumption of renewable energy in developing countries lowers ecological footprint. Our results supported the findings of Sinha et al. (2017). They found that intensification of the use of renewable energy technologies could regulate ecological footprint in the long run. Hastik et al. (2016) indicated that renewable energy use alone could not solve environmental challenges without improving energy-saving manufacturing processes. However, non-renewable energy consumption endorses an ecological footprint. To cope up with this situation, developing countries are highly using fossil fuel energy. The use of non-renewable energy consumption leads to increase extraction of natural resources like coal and oil. Furthermore, the growth of the service industry, which is the product of economic development, will continue energy needs and, thus, contribute to emissions, thereby reducing environmental quality. Accordingly, the use of fossil energy turned out to be dangerous for the nature of the atmosphere, resulting in an improvement in the ecological footprint in these countries. Therefore, “to ensure sustainable progress in these countries, it is important to eventually substitute fossil fuel solutions with clean energy to promote the growth pattern” (Dincer 2000).

However, the result delineates that human capital reduces the ecological footprint in developing countries. It means a 1% increase in human capital reduces 0.20% of ecological footprint or increases environmental quality. Standard living, education, and life expectancy measure human capital. When education and living conditions are improved, wages increase, and clean energy options are used rather than risks that obstruct a healthier way of life. Hence, government of each nation should more focus on the investment in the renewable energy sector and improvement of quality education and make stringent environmental policy for protecting the domestic nation from environmental issues.

From the empirical results, we suggest some important policy implications of this paper. As the results indicate that non-renewable energy, consumption increases ecological footprint. This suggests that appropriate environmental policies are required in the developing countries to mitigate the ecological footprint. This necessitates serious intentions to increase energy efficiency and reduce the share of fossil fuels in the energy mix while still considering renewable energy’s considerable potential in this regard. As the elasticity of renewable energy, consumption is negative and significant. More importantly, the importance of renewable energy use indicates that the developing economies are on track to become carbon-free and achieving long-term prosperity. Government and policy makers should focus on the more production of renewable energy, and respective government of each country should allocate more funds for the innovation of infrastructure development in the renewable energy sector. To create a sustainable future, it is recommended that developing country should increase the share of renewable energy in their energy mix, handle their natural resources effectively, and monitor their urbanization trend in a similar way to their current consequences. Government should provide subsidies for using the clean energy in these countries, so that people will prefer to use more renewable energy than the fossil energy consumptions. These renewable energy sources vary from fossil fuels in that they are pure and emit few pollutants. Increased investment in environmentally sustainable technology would reduce pollution while also boosting productivity. In the case of natural resources, illegal activities such as extraction and logging are widespread, so enhanced public consciousness and stringent legislation are needed to keep this nefarious behavior in check. Government should make it easy for the small-scale miners for getting the license simpler. Furthermore, when dealing with national energy protection challenges, lawmakers should pay attention to natural resource mining practices by requiring businesses that harvest mineral resources to use energy-efficient equipment in their operations. As urbanization, showing positive effect on ecological footprint, hence smart infrastructure and electricity hybrid cars can be introduced to transform urban traffic to green transportation. Eventually, environmental awareness and emerging educational reform practices can continue to reap the benefits of long-term sustainability.

The present study has some limitations as follows: (i) it is only focused on developing countries, (ii) the study is limited to the period up to 2016 due to unavailability of data of ecological footprints, and (iii) the study also ignored some of the important variables such ecological footprints, globalization, and natural resources due to unavailability data for some countries. It can be further carried out by including all the developing countries. Moreover, we have used ecological footprints as a proxy of environmental pollution in our study; however, other environmental indicators such as nitrogen and sulfur emissions and carbon and material footprint may also be added for further analysis. In addition, as per the development of new empirical methodology, advanced methodologies can be applied for the empirical analysis.