Introduction

The growth rates have been immensely increased over the years, due to which it has become an alarming issue for every country. To achieve economic development, various countries have become part of the economic cooperation agreement that aims to accumulate globalization around the globe (Zaidi et al. 2019). Among which, Asia-Pacific Economic Cooperation (APEC) is one of the contracts; the part of this agreement aims to improve the economy through trade openness, enhancing infrastructure, technological advancement, and others. For economic development, globalization is considered to be the main element that can provide assistance to share, communicate, and interact with businesses, financial institutes, ministry, and others throughout the globe at a larger pace. According to Shahbaz et al. (2017a), the structure of the procedure has changed compared to the 1970s, as it has become a vital tool to increase trade, capital flow, and technological advancement along with escalating knowledge about culture, social norms, and political values. It is not only the economy or businesses on which globalization has affected but also every single human being recognizes the importance of globalization in one or another kind or type such as the shift in usage of energy and potency, technological modification, capital investments, job opportunities, industrial growth, and enhancing environmental quality. Economic development and environmental quality enhancement are the most difficult issues to deal with. Hence, the part of the APEC contract can escalate the rate of growth through globalization without vandalizing the quality of the environment as the current phenomena.

The association of carbon dioxide emission and globalization is a difficult scenario for economic growth and environmental degradation from past years. The arguments on the carbon emission and environment propose mixed results mostly for time series and panel models, though it is claimed that global warming is the reason for the change in climate, due to which climate takes uncertain turns such as rain and carbon emission which are hazardous to humans (Zaman et al. 2016; Raza et al. 2017; Awodumi and Adewuyi 2020; Saint Akadiri et al. 2019; Raza et al. 2020c). Bekun et al. (2019a, b) analyze that carbon emission increases global warming, and maintaining environmental quality is difficult to sustain the attributes of living similarly for scholars, ministry, and governing powers of the countries contributing to this cause. Additionally, globalization has reduced the barriers between the developed and developing countries through capital flow, the investment in environmentally friendly technological innovations. Ultimately, globalization has provided a way for different income countries to interact and communicate but at the cost of environmental damage (Shahbaz et al. 2019).

While promoting the globalization benefits, it is examined that the scenario is not hazardous for the environment, hence it decreases the emission of carbon dioxide. However, some claim that it does not have reducing effects but it is damaging as it increases global warming by increasing the corrosion which is caused by carbon dioxide emission. Also, globalization increases the chances of production procedures which generates carbon, leading to degradation of the environment because the process of production and energy consumption for procedure remains unchanged. Shahbaz et al. (2017b) and Wijen and Van Tulder (2011) consider that globalization for developed countries enhances the growth of the economy but also speeds up natural resources reduction and environmental degradation in these economies.

Furthermore, countries have to face not only the increase in carbon emission but also the adverse impact of greenhouse gasses; however, various countries are focusing to emphasis on reducing the ratio of carbon emission and formulate policies to achieve the objective of reduction. Tang et al. (2015) stated that generally, the developed economies such as European Union countries have imposed strict rules and regulations regarding emission along with planned policies to reduce the emission of greenhouse gasses. According to UNFCCC (2011), compared to developed economies, the emerging ones have weak laws of environmental quality control as these economies do not exercise strict emission policies, due to which they have to face the consequences in terms of environmental degradation. Also, emerging economies are held responsible for polluting the environment more compared to advanced economies. Hence, due to the inequality among environmental control policies, the industries result in availing benefit on production cost and low-cost labor by opting for developing or underdeveloped countries that pollute the environment leading to environmental degradation as they have lax environmental laws that reduce the environment-related expense. Moreover, the report of The World Resource Institute’s CAIT Climate DATA Explorer (WRI 2014) revealed that various developed counties argue that due to emerging countries, the rise in carbon emission activities has increased, whereas advanced economies such as OECD countries are to be blamed for higher carbon emission, although it is seen that carbon emission is reducing in OECD countries, but these economies alone produce about 40% of overall carbon emission because of energy consumption (Paramati et al. 2020).

On the other hand, developed economies purchase goods and services from emerging ones that indicate that the higher emission in emerging economies balances the decrease in emission in developed economies as the emission transfers from developed to developing countries. Also, the study of Ghosh (2010) supports the findings of past studies by identifying that emerging economies usually suffer because of globalization as they have weak environmental regulatory bodies and laws, due to which such economies have to bear the severe consequences in terms of pollution and increase in carbon emission. Secondly, it is significant to also consider the factors linked to the consumption of renewable energy because of the higher risk related to the environment in cases of climatic change and global warming (Padhan et al. 2020). Due to the ongoing changes in the environment, it is believed that the demand for renewable energy might increase in the coming years around the globe (Omri and Nguyen 2014). Some studies claim that globalization influences the usage of energy in beneficial and adverse ways affecting environmental quality (Apergis and Payne 2010a; 2010b; Shahbaz et al. 2018). The study of Rahman and Miah (2017) emphasizes that globalization adversely affects the usage of energy mostly for emerging economies, while some of the past studies argue that globalization has made a massive change in terms of living standard and career opportunities at a massive level globally especially after 1991 along with social, economic, and political factors but mostly in Foreign Direct Investment (FDI), investment, and balance of trade.

Therefore, a strong infrastructure of globalization enhances economic growth and would support to shift towards renewable energy (Shahbaz et al. 2016a). However, the shift in usage of energy resources can be reduced or can increase relying on globalization. Belaïd and Zrelli (2019) consider that the effect of globalization can better be understood by analyzing international operations and FDI. Certainly, a huge amount of funding is necessary for technology and to encourage the use of renewable energy resources by multinational companies. Secondly, components of trade can deliver desired results for promoting the usage of renewable energy resources. As the developed economies prefer to utilize the resources having less carbon for energy production purposes, particularly, the usage of renewable energy can be promoted through employing advanced technology, trade openness, and others. Currently, developed economies emphasize the effects of globalization on the quality of the environment comparative to economic factors because of the consumption of low carbon emission resources required for productivity.

Moreover, energy is another vital element to achieve the objective of economic growth. Renewable energy usage contribution has been examined, and it is suggested that it has an undeniable part in generating carbon dioxide emission which affects the usage of renewable energy. The need for renewable energy consumption has escalated for past years and is expected to boost in the coming years on daily basis. The increase in the need for energy consumption is determined to be the main cause of the population growth; the standard of living and increase in effectiveness are a few of the causes of expansion in the energy sector. The figures suggest that the cumulative usage of energy throughout the globe has been raised particularly because of the reliance on fossil fuel resources. The rise in the demand for fossil fuel resources multiples the chances of carbon emission in the environment which increases environmental degradation and global warming. It is considered that carbon emission is the main source of global warming and hazardous to the environment. The usage of energy decreases greenhouse gasses, although the use of uncontaminated energy has not surpassed the stated level to decrease the production of carbon dioxide (Menyah and Wolde-Rufael 2010), while renewable energy generation can decrease the risk of prospective damage to the environment, hence it can be shifted from fossil fuel resources to eco-friendly energy consumption but it is difficult. The complications for shifting from fossil fuel to eco-friendly energy can be at the standard of output. Various investment issues come in the way of green energy generation which can be at the level of the initial cost, production cost, and arrangements. The demand for strong investment can assist to evaluate the supply of the required sum, risk control, and the ability to pay off debts. Monetary institutions can also contribute to this purpose by arranging funds needed.

Khan et al. (2020) suggest that stable monetary institutions can also invest in developing sectors although primitive monetary institutions decrease the chances of industrial development. Monetary markets are a vital part of an economy, and hence they contribute to enhancing environmental quality (Zhang 2011). Thus, developed financial institutes are of immense importance for economic development as they can assist in decreasing the ratio of carbon emission in several ways. According to Islam et al. (2013), a strong financial structure empowers the economy to allocate capital into the ventures working for the betterment of the environment, as the strong financial structure can aid in the process to enhance environment-friendly products that can direct to develop an outlay of energy and reduce carbon emission. Next, the government globally is modifying the configuration of industries by introducing various ventures and schemes for environmental safety to enhance the environment. To make the action a success, stable financial structure is necessary (Tamazian et al. 2009). Additionally, the study of highlights that stock exchange–listed companies must abide by the environmental laws to achieve the objective of decreasing the carbon emission.

Given in the stated context, the study analyzes the following research objectives: is globalization advantageous for the quality of the environment in high-, upper-middle-, lower-middle-, and low-income economies? The results to this objective contribute at two levels: first, we examine the connection between globalization and carbon emission for 154 economies labeled as high-, upper-middle-, lower-middle-, and low-income countries, and second, we analyze the effects of globalization and carbon emission in two regimes using the panel smooth transition regression (PSTR) model along examining the connection between these variables. The PSTR model is used to analyze the non-linear relationship between the variables in two conditions (Raza et al. (2020a); Raza et al. (2020b)). Though, if there is a significant relationship between the present level of globalization and earlier level of carbon emission and an insignificant connection between the present level of globalization and prospect carbon emission, then carbon emission will reduce with accumulation in globalization with time.

The paper is structured as follows: the “Literature review” section consist of literature review, the “Methodology” section includes a detailed note on the technique employed and data used for estimations, the “Data analysis” section reports the results of the estimation, and the “Conclusion” section summarizes the study.

Literature review

Various studies have attempted to analyze the connection between globalization and the quality of the environment (Saint Akadiri et al. 2020; Wang et al. 2020). Particularly, the relationship between globalization and carbon emission along with effects needs to be investigated along with different variations to assess environmental quality. Economic development and environmental degradation connection is of utmost importance for various stakeholders such as business analysts, ecologists, and government (Chang et al. 2019). Therefore, to analyze the role of globalization and environmental quality relationship, pollution haven and pollution halo hypotheses are frequently used. The pollution haven model determines the fact that industries increasing pollution in developed economies mostly shifted to emerging economies having lax environmental laws that adversely affected the environment, and they become a haven for contamination businesses or sectors (Walter and Ugelow 1979; McGuire 1982). Likewise, the study of Doytch and Uctum (2016) also suggests that for relaxation, businesses working under strict environmental rules in the developed countries relocate to the developing countries having weak environmental laws leading to higher environmental degradation.

Some studies consider that trade and foreign direct investment are advantageous for recipient countries and for the betterment of environment because they emphasize hygienic practices, maintain quality standards, and use environmentally friendly technology to promote efficient consumption of energy and reduce carbon emission. According to the pollution halo hypothesis, the study of Stavropoulos et al. (2018) determines that for industries and recipient countries, trade and foreign direct investment are beneficial as they increase earnings but the environmental quality has to be compromised considering the pollution haven hypothesis. Hence, the halo hypothesis claims that FDI or relaxation promotes the initiation of green technology to enhance environmental rules and regulations for small-scale businesses (Sbia et al. 2014). Previous studies on the effects of deregulation on carbon emission also consider another point of view that is in terms of scale, technique, and composition effect. The scale effect proposes that trade openness influences the quality of the environment by improving economic development, thus the technique effect determines that trade deregulation encourages the shift towards green technology and improves environmental laws through which environmental standards can be maintained. Moreover, Acheampong et al. (2019) and Sbia et al. (2014) examine that the composition effect argues that trade openness can influence the quality of the environment through a change in the formation and procedure of production of the recipient country. Also, free trade can enhance the environment with efficient use of energy. But hypothetical and practical results on the impact of trade deregulations and foreign direct investment for the betterment of the environment are vague and inconsistent (Hakimi and Hamdi 2016).

The effects of trade deregulation on carbon emission are based on the level of composition, technique, and scale effect (Farhani et al. 2014). It is investigated that trade influences the economic development, while it insignificantly influences the quality of the environment in the case of EU countries analyzed from 1985 till 2016 (Balsalobre-Lorente et al. 2018). Sinha and Shahbaz (2018) examined the connection between renewable energy and trade openness with carbon emission for India utilizing the data from 1971 till 2015. The results suggest that renewable energy consumption along with trade openness has a negative effect on carbon emission.

Similarly, the study of Inglesi-Lotz and Dogan (2018) claims that renewable energy consumption has a positive yet significant impact on carbon emission but the usage of non-renewable energy has negative impact on the environment, although trade openness has an insignificant impact on carbon emission for Sub-Saharan Africa. To analyze the data from 1980 to 2011, the panel estimation technique was applied for cross-sectional dependence. The current study of Acheampong (2018) explores the association of trade openness with the quality of the environment for Sub-Saharan Africa, Asia-Pacific, the Middle East, and North African economies. The results indicate that through trade openness, environmental quality can be enhanced as it can assist in reducing the ratio of carbon emission worldwide.

Another study of Hu et al. (2018) examines the contribution of renewable energy to shrink the ratio of carbon emission in the short term and long term by the number of cointegration methods for emerging economies. The findings suggest that the use of renewable energy reduces the percentage of carbon emission for the short term but the increase in usage accumulates the production of carbon dioxide in the long term, although trade activities can also aid to decrease carbon emission and improve environmental quality. Thus, the connection between trade and carbon emission for different income group countries indicates different findings such as for middle-income economies, trade and carbon emission have a bidirectional relationship, but for high- and lower-income economies, trade and carbon emission confirm the unidirectional relationship. The estimations were estimated by applying the VEC causality technique for 105 economies (Shahbaz et al. 2017b).

Hence, in the case of OECD countries, the connection between trade openness and carbon emission was examined. The findings indicate that trade openness decreases the ratio of carbon emission as it is considered to be the key element along with other factors such as foreign direct investment that facilitate the process for the betterment of environmental quality in the OECD countries (Paramati et al. 2020). Furthermore, in terms of low-income economies, the effects of trade deregulation are considered to be the main element causing carbon emission, but for high-income economies, due to trade, the quality of environment can be improved (Chang et al. 2018; Liu et al. 2018; Can and Gozgor 2016). Similarly, the study of Wang and Zhang (2020) supports the findings of the previous study by proposing that trade activities assist in the process to reduce the level of carbon emission usually for high- and upper-middle-income economies, whereas for lower-middle-income economies, there is no effect on environmental degradation, but trade openness in low-income economies leads to accumulation in carbon emission.

In the case of African countries, the connection between globalization and carbon emission was investigated for around 19 economies from 1971 till 2012. The estimations indicated that globalization can aid in the process to decrease carbon emission; however, the effect of globalization differs according to the economic condition (Shahbaz et al. 2016c). There are also contrast findings for FDI. The relationship between FDI and environmental degradation for Australia, Indonesia, Mexico, South Korea, and Turkey was determined. The results suggest that FDI can increase the emission of carbon; the results were estimated through PVAR (Bakirtas and Cetin 2017). Additionally, in the case of Turkey, it is considered that usage of energy and an escalation in foreign direct investment increase carbon emission, which is damaging for the environment. The results were estimated by applying the Autoregressive Distributed Lag (ARDL) approach by utilizing the data from 1974 till 2010 (Seker et al. 2015).

Zhang and Zhou (2016) investigate the effects of foreign direct investment on the emission of carbon for China. The findings suggested that in the case of China, foreign direct investment can be utilized to enhance the environmental quality which supports the pollution halo thesis through the STIRPAT framework. Another study states that foreign direct investment has a reducing effect on carbon emission for the Chinese economy (Jiao et al. 2018). Similarly, the study of Ning and Wang (2018) supports the findings of the previous study which considers that foreign direct investment provides assistance for the betterment of the environment. The results were estimated by applying the spatial econometric technique for 280 prefectural cities by utilizing the data from 2003 till 2012. Currently, it is explored that trade openness decreases emission of carbon in the case of Australia, Brazil, India, and the USA, but trade has accumulating effects on carbon emission in China; the results were estimated through sensitivity analysis (Acheampong and Boateng 2019). Moreover, the findings suggest that foreign direct investment can assist in reducing the emission of carbon in Brazil and China, but it can increase carbon emission in the USA, Australia, and India.

Consequently, the connection between globalization and environmental quality in terms of the African economy considers reducing carbon emission through globalization, while the results vary according to economic condition. The results were estimated by utilizing the data from 1970 to 2012 of 19 African countries (Shahbaz et al. 2016c). The Doytch and Uctum (2016) study examined the association of foreign direct investment with environmental quality for a worldwide sample. The results indicated that FDI is a favorable factor for advanced economies, whereas it has negative impact on emerging countries’ environment. The role of foreign direct investment in improving environmental quality was analyzed from 1970 till 2010 through FMOLs and the ARDL technique to estimate the results. The findings indicated that foreign direct investment contributes towards environmental degradation for Brazil but has contrasting effects for Singapore (Kostakis et al. 2017). In the case of Morocco and Tunisia, the relationship between foreign direct investment and trade openness with energy consumption was determined through VECM models. The findings indicate that foreign direct investment and trade openness increase extensive usage of energy which damages the environment, but it enhances economic development and creates job opportunities (Hakimi and Hamdi 2016).

The study of Sinha and Shahbaz (2018) explored the connection between usage of renewable energy and trade openness on carbon emission for Pakistan from 1971 till 2015 through the ARDL technique. The results suggest that renewable energy consumption and trade openness have a significant yet inverse effect on carbon emission, while for some economies, foreign direct investment portrays no effect on carbon emission; the results were estimated through fixed effects and SUR methods, and same for the case of the number of cities in China, it is considered that foreign direct investment is not always the reason for an increase in carbon emission (Jugurnath and Emrith 2018; Liu et al. 2018).

Currently, some studies analyzed institutional variables to examine environmental pollution frameworks to avoid variable error bias. For instance, in the case of 109 countries, it is examined that democracy also contributes to environmental quality; countries having weak political structures are exposed to a higher risk of carbon emission (Joshi and Beck 2018). Similarly, another study suggests that democracy decreases the emission of carbon particularly in those economies which have the lowest corruption level. The results were determined for 144 countries using the data from 1970 to 2011 (Povitkina 2018). It is summarized that when economies suffer from extensive corruption levels, the structure of democracy becomes weak, due to which there is no significant effect on the emission of carbon. The data of 65 countries were collected; the data was analyzed through instrumental variables with the quantile regression technique along with fixed effects from 1981 till 2012. The results suggested the ministry philosophy can decrease carbon emission. Various studies have used different proxies for institutions such as economic freedom (Bhattacharya et al. 2017) and political stability (Al-Mulali and Ozturk 2015). Thus, it is clear that numerous studies have studied various variables to examine the impact on carbon emission with different techniques, whereas this study aims to contribute through analyzing globalization with trade openness to assess the effect on carbon emission which most of the literature has not considered. Also, the study objective is to estimate the findings with different techniques to gain a better understanding of the relationship among variables as this study applies the PSTR technique.

Methodology

The method which is practiced on the data file is the PSTR method proposed by Gonzalez et al. (2005). This method incorporates the dual function and can be termed as a non-linear homogenous panel or a linear heterogeneous panel framework. Hence, the method is simplification of the panel threshold regression (PTR) technique proposed by Hansen (2000). It is considered to be the fixed effect framework along with exogenous regressor and eliminates the heterogeneity issue in a non-linear framework. This model is the panel framework, in which coefficients vary with time and countries and consents for heterogeneity in the regression coefficients. Hence, suppose that the coefficients are in continual of an observable variable with a bounded function denoted as the transition function of the following variable and differ among higher states. The general PSTR function with two regimes is as follows:

$$ {y}_{i,t}={u}_i+{\beta}_0{x}_{i,t}+\beta {\prime}_1{x}_{i,t}g\left({q}_{i,t},\upgamma, \mathrm{c}\right)+{\varepsilon}_{i,t} $$
(1)

These denotes that i = 1,….N, T = 1…..T. N refers to the number of cross-sections; T refers to the time measurements; yi, t demonstrate the independent variable; ui portrays the fixed individual effect; xi, t is the vector of explanatory and control variables; g(qi, t, γ, c) is the transition function and relies on qi, t (the threshold variable), C (threshold parameter), and γ (parameter which defines the slope of the transition function); and εi, t is the error term.

In this study, we aim to analyze the connection between globalization and carbon dioxide emission for a sample of annual panel data of 154 countries categorized as high-, middle-, and lower-income countries from 1995 till 2017. We consider that the connection between the two is non-linear, so the non-linear method is practiced to confirm the non-linearity of the association among globalization and carbon dioxide emission. The study also includes gross domestic product, renewable energy consumption, trade openness, and population as the potential variables that affect globalization and carbon dioxide emission (Acheampong et al. 2019). However, the general PSTR function is as follows:

$$ {\mathrm{CEM}}_{i,t}={u}_i+\mathrm{GDP}{x}_{i,t}+\upalpha {\mathrm{REN}}_{i,t}+\upalpha {\mathrm{TO}}_{i,t}+\zeta {\mathrm{POP}}_{i,t}+{\varepsilon}_{i,t} $$
(2)

i refers to the cross-section sum (in this study, it is 154 countries) and T is the duration (1995–2017). CEM is the carbon dioxide emission, GDP is the gross domestic product, and REN means renewable energy consumption. Then, TO is trade openness and POP is population. g(qi, t, γ, c) is the transition function in which qi, t is globalization and used as a threshold variable. The figure of the transition function varies between 0 and 1. Also, the equation is illustrated in terms of qi, t which is globalization (threshold variable); g describes the slope parameter and illustrates the transition’s smoothness from one regime to another. According to Gonzalez et al. (2005) and Fouquau et al. (2008), the stated logistic function is as follows:

$$ g\left({q}_{i,t},\upgamma, \mathrm{c}\right)=\frac{1}{1+\exp \left[-\upgamma \left({q}_{i,t}-c\right)\right]} $$
(3)

Hence, the parameter of threshold is denoted with C, and the slope of the transition function is estimated by γ > 0. The transition function can change into an indicator function when γ → ∞. Furthermore, the (qi, t, γ, c) = 1, if qit ≥ c andg(qi, t, γ, c) = 0 if qit < c. The PSTR framework determines a panel model with fixed effects when γ → 0. Due to the rise in threshold variable (globalization), carbon dioxide emission coefficients vary efficiently and progressively from first regime (β0) equal to low levels of globalization to second regime (β0 + β1) corresponding to greater levels of globalization. Thus, within the PSTR model, the parameter relies on the threshold variable and differs across countries and duration. However, for the stated level of q (globalization), the reactivity of globalization to carbon dioxide emission for a provided number of countries (i) and time (t) is illustrated as follows:

$$ {\varepsilon}_{it}={\beta}_0+{\beta}_1\ xg\left({q}_{i,t},\upgamma, \mathrm{c}\right) $$
(4)

The process of three levels is stated to investigate the parameter of the PSTR framework. The first level is to test the linearity of the framework. This assessment illustrates the connection between the globalization and carbon dioxide emission which is sufficiently described by the quality linear framework (simple model) or by non-linear frameworks (PSTR method). H0 is the linear model and is suitable, while H1 is PSTR with two regime or one transition is suitable. The null hypothesis (H0 : γ = 0) is tested besides the alternative hypothesis. According to Gonzalez et al. (2005), for the existence of the unidentified trouble in the parameter of the null hypothesis, the corrected estimation is non-standardized. To mitigate this problem, a regression function is proposed in which the transition function (qi, t, γ, c) in Eq. 1 is modified through the first-order Taylor expansion around γ = 0, and the new regression is stated:

$$ {y}_{i,t}={u}_i+{\beta}_0^{\ast }{Z}_{it}+{\beta}_1^{\ast }{Z}_{it}{q}_{it}+{\beta}_2^{\ast }{Z}_{it}{q}_{it}^2+\dots +{\beta}_m^{\ast }{Z}_{it}{q}_{it}^m+{\varepsilon}_{\mathrm{it}}^{\ast } $$
(5)

Consequently, in the stated function, the parameters \( {\beta}_0^{\ast}\dots {\beta}_m^{\ast } \) are accumulate of γ, and \( {u}_{it}^{\ast }={u}_{it}+{R}_m{\beta}_1{Z}_{it} \) in which Rm displays the remainder of the Taylor function. In this situation, the estimation of H0 : γ = 0 in Eq. 1 is related to check the H0 in Eq. 5\( {H}_0^{\ast }={\beta}_1^{\ast }=\dots ={\beta}_m^{\ast } \). The Fischer LM test, Wald test, and likelihood test are utilized to check the null hypothesis of the linearity. They are estimated as follows:

$$ \mathrm{Fischer}\ \mathrm{LM}\ \mathrm{test}={\mathrm{LM}}_{\mathrm{f}}=\frac{\frac{{\mathrm{SSR}}_0-{\mathrm{SSR}}_1}{K}}{\frac{{\mathrm{SSR}}_0}{\mathrm{NT}-\mathrm{N}-\mathrm{K}}} $$
(6)
$$ \mathrm{Wald}\ \mathrm{LM}\ \mathrm{test}={\mathrm{LM}}_{\mathrm{W}}=\frac{\mathrm{NT}\left({\mathrm{SSR}}_0-{\mathrm{SSR}}_1\right)}{{\mathrm{SSR}}_0} $$
(7)
$$ \mathrm{Likelihood}\ \mathrm{ratio}\ \mathrm{test}=-2\ \left[\log \left({\mathrm{SSR}}_1\right)-\log \left({\mathrm{SSR}}_0\right)\right] $$
(8)

Although, in null hypothesis (H0), the addition of squared residuals is illustrated by SSR0,in alternative hypothesis (H1), the addition of squared residual is illustrated by SSR1. F(K, NT − N − K) distribution is utilized in the Fischer LM test, in which the number of explanatory variable is denoted by K, the number of countries is denoted by N, and time is referred by T. x2(K) distribution is used in Wald and likelihood tests.

Thus, if the null hypothesis of linear relationship is rejected, it means that the connection between the variables are non-linear and can be apprehended by the PSTR with at least two regimes. In the second level, the null hypothesis of no remaining non-linearity is checked. This analysis examines that the non-linear association between the variables can be apprehended by the PSTR with two regimes or not. The Ho is PSTR with two extreme regimes is appropriate whereas the H1 is PSTR with at least three regimes is appropriate. The framework determined for this is as follows:

$$ {y}_{i,t}={u}_i+{\beta}_0{Z}_{it}+{\beta}_1{Z}_{it}{g}_1\left({q_{it}}_{,}^{.}{\gamma}_1,{c}_1\right)+{\beta}_2{Z}_{it}{g}_2\left({q_{it}}_{,}^{.}{\gamma}_2,{c}_2\right)+{\varepsilon}_{it} $$
(9)

For the following equation, the null hypothesis is estimated as H0 : γ2 = 0. Over again, there is an issue of identification, and previously, it is mitigated by applying the Taylor expansion of \( {g}_2\left({q_{it}}_{,}^{.}{\gamma}_2,{c}_2\right) \) around γ2 = 0. This proposes the following function:

$$ {y}_{i,t}={u}_i+{\beta}_0^{\ast }{Z}_{it}+{\beta}_1^{\ast }{Z}_{it}{g}_1\left({q_{it}}_{,}^{.}{\gamma}_1,{c}_1\right)+{\beta}_{21}^{\ast }{Z}_{it}{q}_{it}+\dots +{\beta}_{2m}^{\ast }{Z}_{it}{q}_{it}^m+{\varepsilon}_{\mathrm{it}}^{\ast } $$
(10)

Thus, in Eq. 10, the null hypothesis H0 : γ2 = 0 of the PSTR framework with one transition or two regimes is paraphrased as \( {H}_0^{\ast }:{\beta}_{21}^{\ast }=\dots ={\beta}_{2m}^{\ast }=0 \). The following analyses are executed with Wald, Fischer, and likelihood tests. If the null hypothesis is accepted, the process is summarized and closed with statement that PSTR with one transition and two regimes is appropriate to examine the connection between the variables. On the other hand, if the null hypothesis is rejected, the test is performed again until the null hypothesis of no remaining non-linearity is accepted. When the regime is finalized at last, the non-linear square test is applied to measure the parameters of the model.

Data

To examine the connection between globalization and carbon emission, the yearly data that consists of the period from 1995 till 2017 is utilized for 154 different income group countries. The selection of the years entirely depends on the availability of data. Variables such as carbon dioxide emission is estimated by carbon dioxide emission per capita, renewable energy consumption is calculated by percentage of total final energy consumption, and the data for both variables was acquired from our world in data. While the data of other variables such as GDP is estimated through constant 2010 US$, trade openness is measured by merchandise trade (percentage of GDP) and population is denoted by total populations acquired from the World Bank. The data of globalization is estimated by using the KOF globalization index from KOF Swiss Economic Institute.

Data analysis

Descriptive statistics

The descriptive statistic test is applied on the data file. The general attributes of the dataset are illustrated by using this test. The results of descriptive statistics are exhibited in Table 1. The average value for full-sample carbon dioxide emission is 4.150 with the highest value of 36.001 and the lowest value of 0.061. The average globalization is 58.357 with the highest value of 91.300 and the lowest value of 22.800. The average renewable energy consumption is 34.406 with the highest value of 98.343 and the lowest value of 0.002. Trade openness average value is 66.548% with the highest value of 419.962% and the lowest value of 7.806%. The population displays an average value of 40.341 with the highest value of 1371.220 and the lowest value of 0.042.

Table 1 List of countries

Among high-, upper-middle-, lower-middle-, and low-income group categories, the highest average value of carbon dioxide emission is 9.306 with the highest value of 36.001 and the lowest value of 0.016. The average globalization is 75.495 with the highest value of 91.300 and the lowest value of 25.200, while for GDP, the highest is 91,565 US$ and the lowest is 183.548 US$. Then, the average value of trade openness is 78.664 along with the highest value of 419.962 and the lowest of 7.806. At last, the average value of the population is 62.751 with the highest value of 1371.220 and the lowest value of 0.042.

Unit root test

The second test after descriptive statistics which is applied to explore the stationary properties of the variables is the unit root test. As the findings displayed in Table 2, all the variables are non-stationary at level but become stationary at first difference.

Table 2 Descriptive statistics (before taking logarithm)

Panel smooth transition regression technique

In the PSTR model, the first step is to execute a linear test. This assessment that investigates the connection between the variables is comprehended by using the linear framework that is a standard panel model with fixed effect or by using the non-linear model that is the PSTR framework. The results of Table 3 suggest that null hypothesis is discarded and the alternative hypothesis is approved. This indicates that the gross domestic product exercises a non-linear association with globalization and carbon dioxide emission and can be examined by using the PSTR model.

Table 3 Results of the Pesaran (2004) cross-sectional dependence test

Another step after the validation of non-linearity is to calculate the number of regimes, to make sure that no remaining non-linearity test is executed. The findings are displayed in Table 4, and the estimation illustrates the approval of the null hypothesis (the PSTR with one transition or two regimes), and the alternative hypothesis is eliminated (the PSTR with at least two transitions and three regimes). Generally, the PSTR method with two regimes or one transition is efficient to examine the non-linear relationship between globalization and carbon dioxide emission.

Table 4 Results of stationary analyses

The estimations of the PSTR method are displayed in Table 5. The sign of the results is an essential aspect more than the calculated values as they cannot be interpreted directly in the PSTR framework (Fouquau et al. 2008). The estimations indicate that globalization has an insignificant yet progressive effect on carbon dioxide emissions in low-income group countries’ regimes. As the countries progress from low-income group regimes to high-income group, the effect of globalization on carbon dioxide emission remains the same. The lowest threshold value of economic development above which globalization escalates the carbon dioxide emission is 1.671. Generally, the economic growth should be on average higher than 1.67% of carbon dioxide emission for the indication of the impact of globalization. The slope parameter (C) exhibits a value of 23.587, which refers that the transition from a weak regime to a strong regime increases. The focal point from the estimations is that there is a threshold point of economic growth above which globalization increases carbon dioxide emission.

Table 5 Linearity test

To conclude, in a low-income group, the globalization and carbon dioxide emission are negatively connected with one another that is similar to the study of You and Lv (2018). The study suggests that globalization positively influences the environmental quality, as when globalization increases, it reduces carbon dioxide emission. The increase in earning through globalization in such income countries can be utilized by the government to enhance the quality of the environment. Also, globalization promotes the usage of energy technology while modifying the procedures and practices of the industrial sector (Stavropoulos et al. 2018).

The threshold variable of economic growth also exhibits similar findings. The estimations signify that gross domestic product effect on carbon dioxide emission is positive but has negative effect in the second regime. The findings are related to the study of Charfeddine and Mrabet (2017) that the increase in economic development results in enhancing the environment and reducing global warming which leads to a reduction in carbon dioxide emission. The threshold value of the gross domestic product is 2%.

Another variable renewable energy consumption exhibits a constant result for both the regimes. The consumption of renewable energy negatively affects carbon emission. The findings support the argument of Sinha and Shahbaz (2018) that renewable energy and trade openness have a negative relationship with carbon dioxide emission, as the trade openness portrays a positive connection within the first regime, but in the next regime, it changes to negative. Inglesi-Lotz and Dogan (2018) state that trade openness has a negative effect on carbon dioxide emission which supports the findings.

The outcomes for lower-middle-income countries for globalization indicate that it positively affects carbon dioxide emission, while in the second regime, the relationship changes to negative which is consistent with the results of low-income countries. The lowest threshold value of economic development above which globalization escalates the carbon dioxide emission is 1.711%. Usually, the economic development should be on average higher than 1.711% of carbon dioxide emission for the indication of the effects of globalization. Hence, the slope parameter (C) shows the value of 19.691, which denotes that transition increases from weak while progressing towards strong regime. The main point of the findings is that there is a threshold point of economic growth above which globalization increases carbon dioxide emissions.

To sum the findings, in lower-middle income, the association between globalization and carbon emission is negative which is similar to the study of Destek and Ozsoy (2015). The results indicate that globalization can eliminate carbon dioxide emissions. Moreover, it is examined that the increase in globalization increases financial development particularly in lower-income countries or developing ones through which carbon emission can be reduced (Mishkin 2009).

The threshold variable of economic development also shows similar results. The results indicate that the relationship between economic development and carbon dioxide emission is positive but later changes to negative in the second regime. The results support the claim of Shahbaz et al. (2016b) and Zafar et al. (2019). The findings suggest that due to economic development, the government can invest in environment-friendly technology which can assist to reduce carbon dioxide emissions.

Renewable energy consumption exhibits a constant result for both regimes. Renewable energy consumption has a negative effect on carbon emission. The consumption of renewable energy when increased mitigates carbon dioxide emission; additionally, economic growth and carbon dioxide emission are the main factors that encourage the consumption of renewable energy (Shafiei and Salim 2014; Sadorsky 2009). On the other hand, trade openness also shows the same results for both regimes. Trade openness has a positive effect on carbon dioxide emission which supports the pollution halo thesis. Moreover, it is reported that trade openness escalates carbon dioxide emission, particularly in low- and lower-income countries, while for high-income countries, trade plays an important part to enhance the quality of the environment (Chang et al. 2018). Likewise, the variable population exhibits a positive relationship with carbon dioxide emissions for both regimes. The results support the Khan et al. (2020) claim that due to increase in population, carbon dioxide emission increases especially in low- and lower-middle-income countries.

The findings of upper-middle-income countries for globalization show that it has a positive effect on carbon dioxide emission but is negative in the second regime. The minimum threshold value of economic growth above which globalization increases the carbon dioxide emission is 1.707%. Generally, the economic growth should be on average higher than 1.707% of carbon dioxide emission for the indication of the effects of globalization. Therefore, the slope parameter (C) exhibits a value of 14.882 which refers that the transition value from a weak regime to a strong regime has decreased. The results indicate that there is a threshold point of economic growth above which globalization increases carbon dioxide emission.

To illustrate the results of upper-middle income, the relationship between globalization and carbon dioxide emission is negative which supports the findings of Lee and Min (2014). The study suggests that globalization is an effective tool in enhancing the environmental quality in developed economies. As when globalization increases, it reduces carbon emission particularly in developed economies due to strict environmental rules. Secondly, the gross domestic product exhibits a negative relationship between economic growth and carbon dioxide emission. It denotes that when economic growth decreases, carbon dioxide emission increases or vice versa. Economic development strengthens the financial institutions which enhances development in monetary terms which assists in improving the quality of institutions and environment because of carbon dioxide emission decreases (Jalil and Feridun 2011).

Furthermore, renewable energy consumption shows negative results for both regimes. The results support the argument of Menyah and Wolde-Rufael (2010) which proposes that the consumption of renewable energy decreases the pollution which eventually decreases carbon dioxide emission. But in the case of trade openness, it exhibits a negative relationship with carbon dioxide emission for upper-middle-income countries. Jayanthakumaran et al. (2012) state that trade openness decreases the carbon dioxide emission, due to which trade openness should be promoted. At last, the population also exhibits a positive relationship with carbon dioxide emission in the second regime. It is supported by various studies that an increase in population increases carbon dioxide emission because of the increase in energy consumption, accommodation, traveling, and other needs.

The results of higher-income countries for globalization exhibit positive but then it changes to a negative effect in the second regime. The minimum threshold value of economic development above which globalization increases the carbon dioxide emission is 1.893%. Usually, the economic growth should be on average higher than 1.89% of carbon dioxide emission for the indication of the effects of globalization, although the slope parameter (C) shows the value of 24.527, which defines that the transition value from a weak regime to a strong regime has first decreased and then increased. The findings depict that after reaching a high economic developement regime the association between the globalization and carbon dioxide emission becomes positive and significant.

Subsequently, the finding for higher-income countries indicated that globalization has a negative effect on carbon dioxide emission; when globalization increases in such countries, it reduces the production of carbon dioxide. Christmann and Taylor (2001) determine that globalization increases foreign direct investment which provides opportunities to shift towards green and environment-friendly technologies for developed countries as well as it also provides chances for emerging countries if they promote globalization. Similarly, economic development also exhibits a negative relationship with carbon dioxide emission. According to Zaidi et al. (2019), economic development makes the financial institutions strong which aid in the process to eliminate carbon dioxide emission. Moreover, it is considered that high-income countries mostly spend on research and development which indicates the prosperity of economic growth as it helps to enhance the quality of the environment through improvement in green technology to mitigate carbon dioxide emission (Blanford 2009).

In the case of renewable energy consumption, it is seen that renewable energy consumption shows consistent results for both the negative regime. The increase in the consumption of renewable energy resources reduces carbon dioxide emission. Hanif (2018) suggests that the usage of fossil fuel resources increases carbon dioxide emission, while renewable energy consumption has the opposite effect on carbon dioxide emission, as through an increase in renewable energy resource, carbon dioxide effects can be reduced. Likewise, trade openness and population exhibit constant results for both regimes, the positive effect. It indicates that the increase in trade openness and population increases carbon dioxide emission. The reason behind the increase in carbon dioxide emission due to increase in these both variables is because the rise in trade increases job openings and people prefer to settle in those countries where there are chances of higher living standards; the growth results in carbon emission as the need for residence, traveling, and others rises (Balsalobre-Lorente et al. 2018; Ben Jebli and Ben Youssef 2015; Acheampong et al. 2019).

The estimations for full-sample countries for globalization show positive and then negative for the second regime. Thus, the minimum threshold value of economic growth above which globalization increases the carbon dioxide emission is 1.801%. Economic growth should be on average higher than 1.8% of carbon dioxide emission for the indication of the effects of globalization. However, the slope parameter (C) exhibits a value of 38.921 which refers that the transition value from a weak regime to a strong regime has decreased at first and later increased. The results indicate that globalization increases carbon dioxide emission when economic development reaches above the threshold point.

To conclude, in full-sample countries, the globalization portrays negative effect on carbon dioxide emission which supports the findings of Zaidi et al. (2019). The study claims that the increase in globalization decreases carbon dioxide emission; additionally, globalization increases foreign direct investment to enhance economic development. The economically developed countries offer higher income through which brings social and environmental awareness which can aid in the process of decreasing environmental pollution (Zaidi et al. 2018).

Renewable energy consumption shows consistent results for both the regime that is negative which is similar to the study of Zhou and Li (2019). The study determines that to reduce carbon dioxide emission, the countries should shift their preference from consuming fossil fuel resources to renewable energy resources to enhance the quality of the environment. Moreover, renewable energy resource consumption has a negative relationship with carbon dioxide emission. Other variables such as trade openness and population also display consistent results for both the positive regimes. To elaborate, the results indicate that increase in trade openness and population increases carbon dioxide emission, which is similar to the findings of Khan et al. (2020). The study claims that trade openness and population decrease financial development due to which the government has less amount to allocate for the environment. Moreover, to increase financial development, government provides relaxation in rules and regulation to industries which increase carbon dioxide emission.

Conclusion

The study analyzes the relationship between globalization, economic development, and environmental degradation in the existence of renewable energy consumption and population for high-income, upper-middle-income, lower-middle-income, and low-income countries utilizing panel data from 1995 till 2017. The study applies the newly proposed econometric technique to examine the connection between the variables. A Persaran (2004) cross-sectional dependence method was applied to explore cross-sectional dependence between the variables. Second, the stationary analysis was conducted to study the stationary attributes through the unit root test. Then, the linearity test was conducted including the Wald and Fischer tests which were also part of the no remaining non-linearity test (Table 6). At last, PSTR model estimations for different income countries were conducted to analyze the relationship between the variables in two regimes (Tables 7, 8, 9, 10, and 11).

Table 6 Test of no remaining non-linearity
Table 7 PSTR model estimations of low-income countries
Table 8 PSTR model estimations of lower-middle-income countries
Table 9 PSTR model estimations of upper-middle-income countries
Table 10 PSTR model estimations of high-income countries
Table 11 PSTR model estimations of full-sample countries

Hence, the results of the PSTR model estimation verify that the relationship between variables exists in terms of negative and positive. The findings of the model estimation suggest that (1) globalization for all the income countries is positive in the first regime which changes to negative in the second regime, which states that an increase in globalization decreases carbon dioxide emission. (2) An increase in economic growth decreases carbon dioxide emissions. (3) Renewable energy resource consumption decreases carbon dioxide emission and enhances the quality of the environment. (4) The effect of trade openness on carbon dioxide emission differs for different income countries. (5) An increase in population growth increases carbon dioxide emissions.

Managerial or practical implications

The findings depict that globalization, economic development, and renewable energy consumption all are negatively associated with carbon emission thus, confirming the pollution halo thesis. Also, different income countries i.e., high, upper-middle, lower-middle, and low-income countries show the same results. The increase in globalization leads to economic development that makes the financial and monetary institutes stable, leading to promoting and investing in renewable energy ventures and schemes resulting in reducing carbon emission. Globalization enhances economic development such as by increasing the chances of foreign direct investment leading to more capital flow within the economy that directs towards an increase in GDP, while the government would invest in the venture for the betterment of the environment along with spreading awareness for renewable energy consumption resulting in reducing carbon emission, whereas the effect of trade openness on carbon emission varies in different income countries, but it can be concluded that trade openness increases carbon emission. Thus, the increase in population accumulates the effect of carbon emission resulting in environmental degradation.

Various low-income and lower-middle-income countries have abundant fossil fuel reservoirs such as coal which makes these resources cost-efficient. Coal is the major source of energy production in these countries; therefore, the government should discourage the extensive usage of coal such as imposing taxes on the businesses that highly depend on these resources. To acquire the objective, government and policymakers should plan and formulate plans through which they can accelerate the process of globalization for better infrastructure, networks, and skilled labor to promote trading that can increase the flow of capital so that it can be utilized for funding the clean and green technology projects, while to reduce the contribution of trade openness in carbon emission, the government should take strict action against highly contaminating businesses in the lower-middle- and high-income countries.

Therefore, to reduce carbon content–containing products and environmentally friendly technology adaption projects require time and huge investment. The stable monetary and financial institutes can assist in developing infrastructure that promotes globalization and interests potential investors to fund the projects and schemes for economic growth along with promoting renewable energy resources and decreasing carbon emission.

Theoretical and empirical contributions

The novel contribution of this study is based on applying the new econometric technique. The results provided by using this technique indicate that trade openness increases carbon emission in the lower-middle- and high-income countries, whereas various study findings have indicated that trade openness reduces carbon emission in advanced economies, though carbon emission also increases due to trade openness because it provides better job opportunities and enhances the standard of living due that the rate of population increases that results in environmental degradation. Therefore, to reduce such effects, government should emphasize on renewable energy consumption.

Future recommendations

Thus, the findings of the study can vary due to different methodologies and economic condition as some of the countries were not part of the study due to the availability of data. Additionally, the countries are categorized according to the income level to assess the impact of a set of variables more evidently. Future studies can include other variables to evaluate the effect on the micro- and macro-level along with more countries.