1 Introduction

Greenhouse gas emissions from human activities are the primary driver of climate change. Among world-leading economies, China is placing itself as a global climate leader. Since 2004, China has surpassed the United States as the world's largest carbon emitter, accounting for 29% of global carbond dioxide (CO2) emissions (Fatima et al., 2021). China’s environmental challenges are not only effect locally, but their consequences have become worldwide due to globalization. Increasing economic growth with a low threat of environmental quality is a very important policy implication for China. Although there is an abundance of existing studies about energy, growth, and environment nexus (Razzaq et al., 2021; Al-Mulali et al. 2015), however, the role of globalization in financial development and natural resources gets little attention in the environmental debate. China is promoting economic globalization and secured distinction as the second-largest importer and the third-largest foreign direct investment provider (D Trindade d’Avila Magalhaes, 2018).

The straight pattern of growth undermines the sustainable use of the natural resources of China seriously. CO2 emissions in a country are not always determined solely by the level of income, financial growth, globalization, and the use of natural resources all can contribute (Li et al., 2021; Wang et al., 2020). More broadly, globalization is subjective and possess different definitions in terms of different perspectives (Looney & Frederiksen, 2004). It mainly applies to openness to markets, foreign direct investment (FDI), and finance. Usually, globalization is attributed to lower export-promoting tariffs and embraced with higher subsidies for companies to procure inputs and stimulate production (Acheampong et al., 2019). It regulates trade and economic development, which affects economic growth. The global economy is turning its attention to China. Moreover, higher growth potentials and opportunities in the Chinese market are further supported by international collaboration, and globalization is increasingly becoming a new financier. However, this growth is not persistent without negative consequences. Higher economic output spurs energy demand that further translates into higher emissions and environmental degeneration (Ahmed et al., 2016). The debate over globalization and CO2 emissions are deeply divided, with some studies supporting the positive effect of globalization (trade openness) on CO2 emissions and others opposing it. Sbia et al. (2014) analyzed that free-trade globalization will boost the atmosphere's quality by promoting energy efficiency (Han et al., 2021).

Similarly, according to Acheampong (2018), trade openness improves the efficiency of the environment. Several studies have claimed that foreign trade has a negative impact on environmental output in a variety of countries (for example, Solarin et al. (2017) in Malaysia; Shahbaz et al. (2014) in Tanzania; Xu et al. (2018) in Saudi Arabia; Acheampong et al. (2019) in Sub-Saharan Africa; and Shahbaz et al. (2015) in India). In particular, international trade-force regimes, among others, ignore environmental conservation laws to minimize development costs (Drezner, 2000). Financial development and globalization are imperative factors of economic growth and development that have a great impact on environmental quality (Acheampong et al., 2019). Financial development can lower subsidiary costs by expanding finance networks, allowing companies to invest more in new equipment, resulting in increased energy consumption and CO2 emissions. Islam et al., (2013) argued that financial development has a negative impact on environmental destruction. Similarly, Ozturk and Acaravci (2013) confirmed that increased trade transparency contributes to increased CO2 emissions in Turkey, while improved financial regulations and financial development will encourage better environmental quality. Besides, industrialization is driven by economic growth, which enhances natural resource development and magnifies agricultural productivity. Together, these factors lead to a growing amount of damaging and unnecessary waste production, which have contributed to the depletion of natural resources. The role of natural resources in the emissions nexus is imperative to explore the significant determinants of global emissions (Danish et al., 2019).

Notably, most of the economic and financial time series followed nonlinear behavior, which is not captured by conventional nonlinear models. The economic data can be affected by structural changes, financial shocks, and regional and global imbalances. Because of these reasons, the formation of economic variables follows an asymmetric trend (An et al., 2021a, 2021b). A few studies endorse the same using different economic variables such as Razzaq et al., (2020a, 2020b) explore asymmetric channels from tourism technology to carbon emissions in China; Lingyan (2021) explores asymmetric patterns between fiscal decentralization and carbon emissions in OECD countries; Chien et al. (2021) found asymmetric effects of information communication technology on carbon emissions in BRICS countries; He et al. (2021) argued nonlinear linkages between energy stocks, oil prices, and financial stress; Anwar et al., (2021a, 2021b) explored transport emissions and public–private partnership in an asymmetric framework (Anwar et al., 2021a); and Razzaq et al. (2020b) found a similar asymmetric link between emissions and COVID-19 in USA. It is argued that there can be a possibility of hidden cointegration, in which a cointegration relationship may be distinctly defined through positive or negative shocks in independent variables, which is ignored in linear models (Granger & Yoon, 2002; Razzaq et al., 2021).

Abovementioned studies highlight the importance of nonlinear and time-varying linkages` between different economic and financial covariates; however, there is no significant research found on the integration of globalization, financial growth, and natural resources, which has great relevance in the case of China. Therefore, this study examines the time-varying and nonlinear (asymmetric) connection between globalization, financial growth, natural resources, and CO2 emissions in a multidimensional framework. This study incorporates natural resources as a new determinant with globalization and financial development. The rationale for taking natural resources is derived from the fact that China is consuming the highest percentage of global natural resources and a larger contributor to CO2 emissions (Wu et al., 2018). Apart from that China is embodied with higher financial development and global integration, which makes this sample more relevant for this study.

To achieve these objectives, a nonlinear autoregressive distributed lag (NARDL) model is employed, which is presented by Shin et al. (2014). This can be a remarkable improvement over the linear econometric models. Additionally, this study employs a wavelet-based approach to analyze and quantify the time–frequency of CO2 emissions, globalization, financial growth, and natural resources (Goupillaud et al., 1984). Minimal research on the wavelet coherence method is available to investigate complex correlation or causality in previous literature. The exclusivity of wavelet analysis enables the disintegration into a sphere of two-way directional time-frequencies of one-way directional time data. It also allows the distinction to be formed between long-term and short-term behaviors.

The remaining part of the paper is planned as follows: Sect. 2 explains the related literature, Sect. 3 consists of the materials and methods, Sect. 4 describes the empirical results, and Sect. 5 concludes the paper with policy implications.

2 Literature review

This literature review is divided into three sections. The first section reviews the studies on globalization and CO2 emissions. The second section reviews natural resources and CO2 emissions, while the third section discusses financial development and CO2 emissions.

2.1 Globalization and carbon emissions

Numerous studies explored the role of globalization in CO2 emissions for a panel of countries and individual countries; however, a concrete consensus is still needed. For the economic growth and development of any country, globalization plays a critical role, but it also influences the quality of the environment by influencing CO2 emissions (Acheampong et al., 2019; Shahbaz et al., 2018). Nevertheless, scarce studies empirically showed the causal association between trade openness and CO2 emissions and the results of those who have conflicts (Ahmed et al., 2016). Grossman and Krueger (1995) argued that the openness of trade can influence environmental quality positively and negatively. The environmental impact of international trade depends on strategies applied in national economies, regardless of the size and level of development. During recent years, several studies probed trade liberalization's impacts on the quality of the environment using panel data (Shahbaz et al., 2017, 2018). From an individual country, Shahbaz et al., (2015, 2017) scrutinized the importance of trade openness in CO2 emissions (An et al., 2021a).

Shahbaz et al. (2017) used developed economies panel data and empirically evidenced that globalization has positive effects on CO2 emissions. In the sensitivity analysis, Acheampong and Boateng (2019) stated that globalization lessens CO2 emissions in the US, Brazil, Australia, and India while increases in the context of China. Cole et al. (2011) point out that the trade openness and its environmental impact are determined by the impurities involved in China. The argument further confirms the findings of Chang (2012), who claimed that pollutants are important to study the environmental impact of trade openness and foreign direct investment. The dynamic causal link concerning India's trade openness and CO2 emissions is explored by Tiwari et al. (2013), who believe that trade openness and CO2 emissions are positively correlated. Ling et al. (2015) find that trade openness is one of the factors causing improvement in environmental quality in Malaysia. Similarly, Solarin et al. (2017) evaluated the globalization impact on environmental quality and confirm that globalization accelerates CO2 emissions in Malaysia. Xu et al. (2018) in Saudi Arabia examined the impact of globalization on carbon emissions and found that economic globalization increases emissions of CO2.

2.2 Financial development and CO2 emissions

The financial sector is the strength of the economic growth and development of each country and also provides economic stability (Soukhakian, 2007); however, its negative impact on the environment cannot be neglected. The financial sector is heavily reliant on energy while stimulating economic growth and leads to unintended environmental consequences (Islam et al., 2013; Sadorsky, 2010; Shahbaz et al., 2017). The empirical outcomes on the link between financial development and CO2 emissions are mixed and yet insufficient. Two schools of thought explain this relationship. One group of researchers confirmed the negative relationship between the two variables in their results. Abbasi and Riaz (2016) pointed out that emissions can be reduced by opting for financial variables in Pakistan. Using panel data, Dogan and Seker (2016) explored that development in the financial sector regenerates environmental quality by minimizing emissions. Shahbaz et al. (2018) studied the same relationship for France and found the same findings. Saidi and Mbarek (2017) also considered this context for emerging economies and pointed out that environmental quality can be achieved through higher financial development. Haseeb et al. (2018) and Park et al. (2018) examined that financial development significantly mitigates environmental pollution in European Union (EU). Recently, Zafar et al. (2019) investigated the environmental impact of financial development in selected countries of the Organization for Economic Co-operation and Development (OECD) and found an emissions-decreasing effect of financial development.

The other group of researchers supports the positive relationship between financial development and CO2 emissions. For example, Zhang (2011) argued that financial development is an important contributor to CO2 emissions. Tang and Tan (2014) explored the relationship between CO2 emissions and financial developments in Malaysia. Their findings show that that CO2 emissions increased as a result of higher financial development. Al-Mulali et al. (2015) explored the same phenomenon in 23 countries of EU and indicate that financial development increases CO2 emissions. Farhani and Ozturk (2015) examined the role of financial development in increasing CO2 emissions in Tunisia. Javid and Sharif (2016) exhibited the same outcome in the context of Pakistan. Bekhet et al. (2017) proved that financial development significantly influences CO2 emissions except for the United Arab Emirates in Arab countries. Salahuddin et al. (2018) revealed that foreign direct investment and financial development positively and significantly influence CO2 emissions in Kuwait. Xu et al. (2018) observed financial development increases CO2 emissions in Saudi Arabia. Using the panel data, Zakaria and Bibi (2019) examined the association between institutional governance, financial inclusion, and environmental pollution and argued that financial development substantially degenerates the environment. Charfeddine and Kahia (2019) recently explained the amplified contribution of financial developments in accelerating emissions of CO2. Using panel data of China’s provinces, Guo et al. (2019) explore the financial development and CO2 emissions nexus and prove that the efficiency of financial development and volume of stock positively influence CO2 emissions. From ASEAN-5 countries, Nasir et al. (2019) argued that financial development deteriorates the environment by emitting CO2 emissions. In conclusion, the literature on CO2 emissions from financial development gives mixed results; thus, the current study appears worthy to be taken.

2.3 Natural resources and CO2 emissions

Natural resources are important for the development of each country. However, rapidly increasing urbanization and industrialization increased the demand for natural resources, which could lead to natural resource exploitation and environmental deterioration (Chen et al., 2018; Balta-Ozkan et al., 2015). Wu et al., 2018 explained that natural resource exploitation resulting from economic growth poses grave ecological concerns. The prevailing literature draws a direct link between natural resource consumption and economic growth indicators (Ahmed et al., 2016; Badeeb et al., 2017; Ben-Salha et al., 2018; Shahbaz et al., 2018). Shahabadi and Feyziand (2016) explored that natural resources attract foreign direct investment that improves environmental quality in highly industrialized countries by introducing energy-efficient technologies in the production process. Using the BRICS data, Dong et al., (2017) confirmed that the consumption of natural resources in an unsustainable manner poses serious environmental problems such as loss of forestation, scarcity of water, and global change (Khan et al., 2021; Razzaq et al., 2021; Yu et al. 2021).

From selected EU countries, Balsalobre-Lorente et al. (2018) found that CO2 emissions can be determined by natural resources, renewable electricity economic growth, and direct that rich natural resources import fossil fuels can help regulate and reduce CO2 emissions. Economic growth is born from an exploration of the country's natural resources; however, Destek and Sarcodia (2019) stated that overconsumption of natural resources affects the country's biological capacity, whereas amplifying its ecological footprint can lead to an environmental deficit. Most recently, Danish et al. (2019) researched the nexus between natural resources and CO2 emissions for BRICS economies. The outcomes mention that in Brazil, India, and China, natural resources may not be an influencing factor for CO2 emissions, while in the case of South Africa, natural resources are found to have significant contributors to CO2 emissions (Hu et al., 2021). Similarly, natural resources are known as a significant contributor to reducing the carbon level for Russia, thus contributing to the reduction of environmental pollution. Table 1 describes the findings of recent literature on CO2 emissions for China.

Table 1 Summery of literature reviw

Finally, it is concluded that the environmental impact of globalization, financial development, and natural resources is inconclusive, which is mainly based on traditional linear methods. Due to the linearity assumption, any positive or negative shock in these variables may be set off by average effects. The time-varying feature is also missing in the empirical literature.

Therefore, the NARDL and wavelet-based empirical approach play a significant role in capturing positive/negative shocks and time-varying correlations among CO2 emissions, globalization, financial development, and natural resources.

3 Data and theoretical construction

3.1 Data arrangement

The data from the annual time series on globalization, carbon emissions, financial development, and natural resources are used in this study. The data period ranges from 1980 to 2017, and the choice of the time for this study depends upon the availability of the data. Data of natural resources are proxies by total natural resources rents as a percentage of GDP, CO2 emissions (metric tons per capita), and financial development measure by domestic credit to the private sector (% of GDP).

The data of all these variables are collected from World Development Indicators (World Bank, 2020). The globalization index is a cumulative index of social, political, and economic globalization sourced from KOF globalization database.

3.2 Theoretical construction

Before ensuing for economic modeling, there is a need to explain the theoretical framework. The impact of globalization on China’s economic growth and the domestic economy is unprecedented. China's international trade surpasses 16 times over the past 20 years (World Trade Organization (WTO)). Globally the largest economy that entered into the World Trade Organization (WTO) membership a few years ago in 2001. Currently, China is facing both negative and positive consequences of globalization that we cannot ignore (Wu et al., 2021). Globalization and financial development have increased due to reducing trade barriers in China, while increasing globalization causes their concerns about the environmental impact. Trade liberalization promoted by globalization accelerates the exchange of goods in free mode among countries and increased production that caused higher energy consumption and related emissions (Shahbaz et al., 2015). The association between globalization and CO2 emissions has also been explored by several studies (Shahbaz et al. 2016), but these studies have exhibited mixed outcomes.

Financial development may both increase carbon emission and stimulate its reduction. On the one hand, financial development promotes more wealth and capital that can satisfy the need of customers for energy consumer products and encourage the demand for cars and houses. Consequently, it would become the reason for increasing CO2 emissions. According to the facts, China is the fourth resource abundance country in the world, ranked third in mineral resources, first in hydro resources and second in solar, and third in coal. Due to the massive population, per capita resources are less, and the depletion rate is higher. Also, the complex geographical conditions such as lower quality of resources and uneven distribution of natural resources put pressure on resource demand (Li et al., 2016a). Therefore, despite resource abundance, China is importing resources from other countries (Li et al., 2016b). Due to the rapid increase in globalization and industrialization, there is an increasing demand for natural resources, possibly leading to the destruction of natural resources and cause environmental degradation (Balta-Ozkan et al., 2015).

From the above debate, it is concluded that the relationship between CO2 emission, globalization, financial development, and natural resources can be positive and negative in China. Thus, the observed association is needed to analyze using the appropriate method. The associated model is depicted in Fig. 1.

Fig. 1
figure 1

Theoretical framework

3.3 Model construction and methodology

This paper adopts a nonlinear autoregressive distributed lag model (NARDL) model to analyze the asymmetric nonlinear impact of globalization, financial development, and natural resources on CO2 emissions in China. Besides NARDL, the study also employed a wavelet-based approach to finding the relationship between CO2 and GLOB, NR, and FD based on time–frequency. First, we propose the following linear equation.

$${\text{CO}}_{2t} = \beta_{0} + \beta_{1} ({\text{GLOB}}_{{\text{t}}} ) + \beta_{1} ({\text{NR}}_{{\text{t}}} ) + \beta_{2} ({\text{FD}}_{{\text{t}}} ) + u_{t}$$
(1)

where \({\text{CO}}_{{{\text{2t}}}}\),\({\text{GLOB}}_{{\text{t}}}\), \({\text{NR}}_{{\text{t}}}\), and \({\text{FD}}_{{\text{t}}}\) represent the carbon dioxide emissions, globalization, natural resources, and financial development, respectively, in China. The above relationship carried out the linear relationship between the variables, while the primary objective of this study is to explore the nonlinear association between CO2 emissions, globalization, natural resources, and financial development by employing the NARDL model presented by Shin et al. (2014).

This method is relatively flexible because it allows different orders of integration while estimations. It can be employed without restricting the same order of integration and can also equally acceptable for I (2). Moreover, Granger and Yoon (2002) proposed the hidden cointegration concept, by which cointegration relationships may be defined as the positive and negative constituents of underlying variables.

$${\text{CO}}_{{_{{\text{t}}} }} = f({\text{GLOB}}^{ + } ,{\text{GLOB}}^{ - } ,{\text{NR}}^{ + } ,{\text{NR}}^{ - } ,{\text{FD}}^{ + } ,{\text{FD}}^{ - } )$$
(2)

Following the empirical work of Ibrahim (2015), Lacheheb and Sirag (2019) accounting for the asymmetric relationship between CO2 emission, globalization, natural resource, and financial development our model can be specified as:

$${\text{CO}}_{{{\text{2t}}}} = \theta_{0} + \theta_{1} ({\text{GLOB}}^{ + } ) + \theta_{2} ({\text{GLOB}}^{ - } ) + \theta_{3} ({\text{NR}}^{ + } ) + \theta_{4} ({\text{NR}}^{ - } ) + \theta_{5} ({\text{FD}}^{ + } ) + \theta_{6} ({\text{FD}}^{ - } ) + \varepsilon_{t}$$
(3)

where \(\theta_{i}\) is allied with the parameters of the long-run. And the asymmetric effect of globalization, natural resource, and financial development is combined with positive changes \(GLOB^{ + }\), \(FD^{ + }\), and \(NR^{ + }\) and negative change \(GLOB^{ - }\), \(FD^{ - }\), and \(NR^{ - }\), respectively, while \(GLOB^{ + }\)\(GLOB^{ - }\), \(FD^{ + }\)\(FD^{ - }\), and \(NR^{ + }\)\(NR^{ - }\) are the partial sum of the square of positive and negative changes in globalization, financial development, and natural resource. The effect of the projected variables in the long-run is mentioned in Eq. (1), and the short-run coefficient is achieved by incorporating error correction depiction in Eq. (1) as mentioned below

$$\begin{gathered} \Delta {\text{CO}}_{{{\text{2t}}}} = \gamma_{0} + \mathop \sum \limits_{{{\text{k}} = 1}}^{{\text{m}}} \gamma_{{1{\text{k}}}} \Delta {\text{CO}}_{{\text{2t - k}}} + \mathop \sum \limits_{k = 1}^{{\text{m}}} \gamma_{{2{\text{k}}}} \Delta {\text{GLOB}}_{{\text{t - k}}} \hfill \\ \;\;\;\;\;\;\;\;\;\;\;\; + \mathop \sum \limits_{k = 1}^{{\text{m}}} \gamma_{{3{\text{k}}}} \Delta {\text{NR}}_{{\text{t - k}}} + \mathop \sum \limits_{k = 1}^{{\text{m}}} \gamma_{{4{\text{k}}}} \Delta {\text{FD}}_{{\text{t - k}}} \hfill \\ \;\;\;\;\;\;\;\;\;\;\;\; + \lambda_{1} {\text{CO}}_{{\text{2t - 1}}} + \lambda_{2} {\text{GLOB}}_{{\text{t - 1}}} + \lambda_{3} {\text{NR}}_{{\text{t - 1}}} + \lambda_{4} {\text{FD}}_{{\text{t - 1}}} + \mu_{t} \hfill \\ \end{gathered}$$
(4)

Equation (4) stipulates an error correction term that combines the long-run and short-run coefficients; the variables with the symbol \(\Delta\) representing short-run coefficients, while the variables with the symbol \(a_{t} = \theta^{ + } b_{t}^{ + } + \theta^{ - } b_{t}^{ - }\) describing the long-run coefficients.

Equation (4) describes only the symmetric relationship between the anticipated variables. However, this model can transform into a nonlinear cointegration equation as:

The decomposition regression is as \(a_{t} = \theta^{ + } b_{t}^{ + } + \theta^{ - } b_{t}^{ - } + \mu_{t}\).

where \(\theta^{ + }\) and \(\theta^{ - }\) are associated with long-term coefficients, while \(b^{ + }\) and \(b^{ - }\) associated with short-term coefficients and \(b_{t}\) is a regressors vector disintegrated as

$$b_{{\text{t}}} = b_{{\text{t}}}^{ + } + b_{{\text{t}}}^{ - }$$
(5)

where \(b^{ + }\)\(b^{ - }\) designate the explanatory variables, which are parted into a partial sum of positive and negative changes next subsequent Eqs (6-11) equations describe the positive and negative change in globalization, natural resource, and financial development.

$${\text{GLOB}}^{ + } = \sum\limits_{i = 1}^{{\text{t}}} \Delta {\text{GLOB}}_{{\text{i}}}^{ + } = \sum\limits_{i = 1}^{{\text{t}}} {\max (\Delta {\text{GLOB}}_{{\text{i}}} } 0)$$
(6)
$${\text{GLOB}}^{ - } = \sum\limits_{i = 1}^{{\text{t}}} \Delta {\text{GLOB}}_{{\text{i}}}^{ - } = \sum\limits_{i = 1}^{{\text{t}}} {\min (\Delta {\text{GLOB}}_{{\text{i}}} } 0)$$
(7)
$${\text{NR}}^{ + } = \sum\limits_{i = 1}^{{\text{t}}} \Delta {\text{NR}}_{{\text{i}}}^{ + } = \sum\limits_{i = 1}^{{\text{t}}} {\max (\Delta {\text{NR}}_{{\text{i}}} } 0)$$
(8)
$${\text{NR}}^{ - } = \sum\limits_{i = 1}^{{\text{t}}} \Delta {\text{NR}}_{{\text{i}}}^{ - } = \sum\limits_{i = 1}^{{\text{t}}} {\min (\Delta {\text{NR}}_{{\text{i}}} } 0)$$
(9)
$${\text{FD}}^{ + } = \sum\limits_{i = 1}^{{\text{t}}} \Delta {\text{FD}}_{{\text{i}}}^{ + } = \sum\limits_{i = 1}^{{\text{t}}} {\max (\Delta {\text{FD}}_{{\text{i}}} } 0)$$
(10)
$${\text{FD}}^{ - } = \sum\limits_{i = 1}^{{\text{t}}} \Delta {\text{FD}}_{{\text{i}}}^{ - } = \sum\limits_{i = 1}^{{\text{t}}} {\min (\Delta {\text{FD}}_{{\text{i}}} } 0)$$
(11)

At the consequent stage, we will replace GLOB, NR, and FD in Eq. (4) by adding \({\text{GLOB}}^{ + }\)\({\text{GLOB}}^{ - }\)\({\text{NR}}^{ + }\)\({\text{NR}}^{ - }\), and \({\text{FD}}^{ + }\) \({\text{FD}}^{ - }\) variables. We will finalize the formulation of the NARDL model.

$$\begin{gathered} \Delta {\text{CO}}_{{_{{\text{t}}} }} = \gamma_{0} + \mathop \sum \limits_{k = 1}^{{\text{m}}} \gamma_{1k} \Delta {\text{CO}}_{{\text{t - k}}} + \mathop \sum \limits_{k = 1}^{{\text{m}}} \gamma_{2k} \Delta {\text{GLOB}}^{ + }_{{\text{t - k}}} \hfill \\ \;\;\;\;\;\;\;\;\;\;\; + \mathop \sum \limits_{k = 1}^{{\text{m}}} \gamma_{2k} \Delta {\text{GLOB}}^{ - }_{{\text{t - k}}} + \mathop \sum \limits_{k = 1}^{{\text{m}}} \gamma_{3k} \Delta {\text{NR}}^{ + }_{{\text{t - k}}} + \mathop \sum \limits_{k = 1}^{{\text{m}}} \gamma_{3k} \Delta {\text{NR}}^{ - }_{{\text{t - k}}} \hfill \\ \;\;\;\;\;\;\;\;\;\;\; + \mathop \sum \limits_{k = 1}^{{\text{m}}} \gamma_{4k} \Delta {\text{FD}}^{ + }_{{\text{t - k}}} + \mathop \sum \limits_{k = 1}^{{\text{m}}} \gamma_{4k} \Delta {\text{FD}}^{ - }_{{\text{t - k}}} + \lambda_{1} {\text{CO}}_{{\text{t - 1}}} \hfill \\ \;\;\;\;\;\;\;\;\;\;\; + \lambda_{2} {\text{GLOB}}_{{\text{t - 1}}} + \lambda_{3} {\text{NR}}_{{\text{t - 1}}} + \lambda_{4} {\text{FD}}_{{\text{t - 1}}} + \mu_{t} \hfill \\ \end{gathered}$$
(12)

3.4 Cross-wavelet approach

In order to inspect time–frequency dependence between CO2 emissions, GLOB, NR, and FD, we employed wavelet coherence. It is a novel procedure, which decomposes one-dimensional time data into the two-dimensional time–frequency sphere. This way, we have established long-term and short-term causal links at the same time between model variables. Simultaneously, a multi-stage decomposition method is created to give a complete description to display the frequency-dependent behavior between variables. In wavelet analysis, the frame is usually replaced with lower to higher or higher to a lower frequency. The real economic relationship between variables is expected at an unequal (scale) level rather than the normal (average) aggregation level. A similar method is also used by Adebayo and Kirikkaleli (2021) and draws the empirical linkages between globalization, technology, energy consumption on carbon emissions in Japan.

3.5 Continuous wavelet transform

This study applied various procedures of wavelet transform, including wavelet decomposition based on discrete wavelet decomposition analysis (DWT), wavelet correlation, and continuous wavelet transform (CWT).

Analysis of time series \(\mathrm{x}(\mathrm{t})\) continuous wavelet transforms \({\text{W}}_{{\text{x}}} \left( {{\text{k}},{\text{l}}} \right)\) for wavelet (\({\uppsi }\)) is defined as:

$$W_{x} \left( {k,l} \right) = \mathop \smallint \limits_{ - \infty }^{\infty } q\left( t \right)\frac{1}{\sqrt l }\psi \left( {\frac{{\overline{( t - k} )}}{l}} \right)dt,$$

The CWT basic feature is to decompose and then re-creating time series \(\left( {\text{t}} \right)\):

$$x(t) = \frac{1}{{C_{\psi } }}\int\limits_{0}^{\infty } {\left[ {\int\limits_{ - \infty }^{\infty } {W_{x} \left( {k, l} \right) \psi_{{\text{k,l}}} \left( t \right)dk} } \right]} \frac{dl}{{l^{2} }} , l > 0$$

It is noted that wavelet transformations can maintain the different levels of energy at the given time series, and for power spectrum analysis, this advantage is used here as follows:

$$x^{2} = \frac{1}{{C_{\psi } }}\mathop \smallint \limits_{0}^{\infty } \left[ {\mathop \smallint \limits_{ - \infty }^{\infty } \left| {W_{x} \left( {k,l} \right)} \right|^{2} dk} \right]\frac{dl}{{l^{2} }} .$$

3.6 Wavelet transform coherence

To analyze the association between two-time series, this study follows a bivariate structure pronounced “wavelet coherence”. To adequately describe the “wavelet coherence”, we first need to elucidate cross-wavelet transform and power.

$${\text{W}}_{{{\text{xy}}}} \left( {{\text{k}},{\text{l}}} \right){ } = {\text{W}}_{{\text{x}}} \left( {{\text{k}},{\text{ l}}} \right){\text{W}}_{{\text{y}}}^{*} \left( {{\text{k}},{\text{l}}} \right),$$
Table 2 Unit root test Results 

According to Torrence and Compo (1998), in the above equation, Wx (k, l) and Wy(k,l) signify the WTC of two-time series x(t) and y(t). Following Torrence and Webster (1999), the squared wavelet coherence equation as follows:

$$R^{2} \left( {k,l } \right) = \frac{{|C\left( {f^{ - 1} W_{{{\text{xy}}}} \left( {k,l} \right)} \right)|^{2} }}{{C(f^{ - 1} |W_{{\text{x}}} \left( {k,l} \right)|^{2} )C(f^{ - 1} |W_{{\text{y}}} \left( {k,l} \right)|^{2} )}}$$

where the smoothing parameter is denoted by C and 0 ≤ \({\text{R}}^{2} \left( {{\text{k}},{\text{l}}} \right)\) ≤ 1 indicates the time smoothing process. If the variables correlate on a certain scale, the value of \({\text{R}}^{2} \left( {{\text{k}},{\text{l}}} \right)\) is closer to one, with a black line and a red color. On the contrary, \({\text{R}}^{2} \left( {{\text{k}},{\text{l}}} \right)\) is closer to zero if the time series variables are poorly correlated and appear blue.

4 Empirical results and discussion

Table 3 shows the descriptive statistics, reporting mean values, median, and range of variables, standard deviation, skewness, and kurtosis for the data distribution. Before estimating the long-run relationship, it is a prerequisite to confirm the variable’s order of integration. Therefore, we employ both unit root tests such as Augmented Dickey-Fuller (ADF) and Zivot-Andrews (1992) (ZA) to confirm the order of integration. The ZA unit-root test is superior in terms of considering the structural changes and time breaks in data. The results of both tests validate that all variables series have unit root, and stationarity properties obtain after the first difference. Moreover, the ZA test also confirms the structural breaks for CO2, NR, GLOB, and FD in the year 2014, 2016, 2002, and 2011, respectively in Table 2. These structural changes can be attributed but not limited to the replacement of ancient China's environmental law in 2014 for CO2, implementation of china's natural resources policy in the year 2015, joining of the WTO accord in the year 2001, and financial crises in the year 2011. In the Chinese economy, structural transformations direct NR, GLOB, and FD to effect CO2 contrarily for any positive and negative shocks in regressors while highlighting a time–frequency-based dependency. These dynamic and stochastic trends impede empirical estimations if the conventional empirical framework is applied. To address the same, the study utilizes the NARDL model along with novel wavelet coherence approaches that draw asymmetric as well as time–frequency varying relationships among model variables.

Table 3 Descriptive statistic

The results of the NARDL model are derived from Eq. (12), where Glob, FD, and NR are decomposed into positive and negative shocks, which are represented in Table 4. The F-Stat value (5.69) is higher than the critical value of upper-bound at 5%, confirming the existence of asymmetric cointegration among variables following Pesaran et al. (2001).

Table 4 Short-run result of nonlinear ARDL

The overall results of the dynamic NARDL model are presented in Table 4, while long-term coefficients are calculated from the NARDL output presented in Table 5. The error correction term (ECM) confirms a long-run cointegrating relationship among model variables in the NARDL framework. ECM value signifies that any deviation from steady-state equilibrium will adjust with a 26.52% speed of adjustment. From Table 5, we find significant differences allied with positive and negative globalization, financial development, and natural resource shocks. The NARDL long-run findings show that (GLOB_POS) with a positive coefficient (0.0622) and a statistically significant effect on CO2 emissions, while (GLOB_NEG) with a negative coefficient (-0.8674) is the statistically insignificant impact of CO2 emissions. Similar results are echoed by Figge et al. (2017) who found that overall globalization increases ecological footprint. Dean (2002) noted that in China, trade openness globalization is worsening the quality of the environment via an improved trading term. These findings are also consistent with Khan et al., (2019) in high and upper-middle-income economies, Huang and Wang (2016), and Umar et al., (2020) in China.

Table 5 Long-run results of nonlinear ARDL

Moreover, the long-run (NR_POS) shows a positive coefficient (0.2960) having a statistically insignificant impact on CO2 emission, while a negative coefficient of (NR_NEG) (0.2114) statistically significant impact on CO2 emission. This indicates that lessens natural resources will increase CO2 emissions over time in China. As economic growth rises, unpredictable use and exploitation of natural resources increase reliance on imports of fossil fuels contributes to an increase in CO2 emissions. In an alternative situation, abundant natural resources help to reduce imports of fossil fuels which reduce CO2 emissions (Danish et al., 2019). Moreover, continuously increasing demand for natural resources is likely to contribute to resource depletion and environmental degradation. (Balta-Ozkan et al., 2015).

The long-run positive shock (FD_POS) (0.0515) has a positive significant effect on CO2 emission level, while negative shock (FD_NEG) (-0.006) has no significant impact on CO2 emissions. It shows that a 1% increase in financial developments will increase CO2 emissions by 0.005% in China over time. The findings are consistent with Zhang (2011), who also confirmed that China's financial development is an important driver of CO2 emissions. Similarly, Boutabba (2014) also confirmed that FD has a long-run positive impact on CO2 emissions in the Indian economy. Bekhet and Othman (2017) confirmed that Malaysia's financial development contributes to CO2 emissions.

The diagnostic inspection of NARDL empirics is mentioned in Table 6 which mainly indicates the validity of empirical estimations. In diagnostic tests, we apply the Wald test, Jarque Bera test, Durbin-Watson (DW), and Brush-Pagan-Godfrey tests, which are helpful to check the validity and problems in NARDL models. The empirics of Table 6 indicate the normality in error terms, residuals, no heteroscedasticity, and no serial correlation.

Table 6 Diagnostic inspection

The CUSUM and CUSMQ have been checking the parameter stability or strength as the graphs in Fig. 2 show all test results and confirm that serial correlation is absent, no issue of heteroscedasticity, and in our model, residuals are normally distributed.

Fig. 2
figure 2

CUSUM and CUSUMQ

4.1 Wavelet decomposition analyses

After examining the nonlinear relationship between CO2 emissions, GLOB, FD, and NR, this study employed the wavelet-based analysis. The results are in line with existing literature, which mentions that an empirical model having different periods and the wavelet-based analysis can be considered more suitable for the dataset which contains many intervals. Therefore, this study wants to examine the time–frequency relationship between emissions of CO2, GLOB, FD, and NR in China. Figures 3 and 4 represent the difference of time series in the above variables. In the different series of real-time of all the variables are visible, with significant fluctuations. The series shows significant fluctuations and consequently creates environmental degradation. The sample period of globalization shows significant changes in the whole sample.

Fig. 3
figure 3

Decomposition series of CO2 on J = 6 wavelet levels. Note: D1& D2 indicate short-run, D3& D4 medium-run and D5 &D6 represent long-run and S6 shows very long-run.

Fig. 4
figure 4

Decomposition series of GLOB on J = 6 wavelet levels

Further, wavelet-based analysis billets the stationary issues of the data series. If the data series is non-stationary, there is no need to process it in order to make it stationary as required by other traditional cointegration-based econometrics models. Figures 5, 6, 7, and 8 show a representation of multi-resolution analysis (MRA) of CO2 emissions, glob, natural resources, and financial development of order J = 6 using MODWT based on Daubechies, (1992) least asymmetric (LA) wavelet filter.Footnote 1 The orthogonal components are plotted in Figs. 5, 6, 7, and 8 (D1 to D6) for the representation of various frequency components of the actual series in detail and smooth components (S6). In the short and medium term, the graphical representation of the series shows that all series have many variations, but in the long term, the series becomes stable.

Fig. 5
figure 5

Decomposition series of FD on J = 6 wavelet levels

Fig. 6
figure 6

Decomposition series of NR on J = 6 wavelet levels

Fig. 7
figure 7

Continuous wavelet power spectra of the CO2

Fig. 8
figure 8

Continuous wavelet power spectra of the GLOB

4.2 Continuous wavelet transform (CWT)

The study used CWT on globalization, economic development, natural resources, and CO2 emissions. CWT expands time series in time–frequency space where oscillations can be displayed in a very intuitive way. It is easy to understand as it delivers more information on graphical frequency. Figures 6, 7, 8, and 9 clearly show that all variables have different characteristics in different time zones of the series.

Fig. 9
figure 9

Continuous wavelet power spectra of the FD

The CWT spectrum shows the activities of the series according to three different components: curve, time, and frequency. The figures show the results of the continuous wavelet power spectrum of CO2 emissions, globalization, financial development, and natural resources. It is easy to see that in the case of globalization, financial development and CO2 emissions seem more stable in the short and medium run as compared to the long run that means the effect of globalization and financial development on CO2 emission frequently occurred in short to medium term. In the case of natural resources, we have found some variations on small scales but lacks for a long time.

Note: Against the red noise, the thick black contour represents the 5% significance level. The color code for power ranges from blue (lower power) to red (high power). The X-axis represents the analyzed time scale, and the Y-axis reveals the period. Time scale 20, 40, 60, 80, 100, and 120 represent years 1990, 1995, 2000, 2005, 2010, and 2015, respectively.

4.3 Wavelet transform coherence (WTC)

The study also looked at the causal relationship between globalization, financial development, natural resources, and CO2 emissions using wavelet transform coherence (WTC) analysis. A local correlation between two CWTs can be considered as the WTC. The WTC finds sections in time–frequency spaces where two-time series co-vary. Figures 10, 11, 12, and 13 visualize both cyclical and anti-cyclical dependence between variables across different time dimensions.

Fig. 10
figure 10

Continuous wavelet power spectra of the NR

Fig. 11
figure 11

Wavelet coherence between CO2 and GLOB

Fig. 12
figure 12

Wavelet coherence between CO2 and FD

Fig. 13
figure 13

Wavelet coherence between CO2 and NR

The WTC results about globalization and CO2 emissions show that most rightward pointing arrows in thick black areas show that there is a positive correlation between globalization and CO2 emissions in China, except for 1988–1992 and between 2007 and 2010 because out-phase situations are found. The WTC visualizes the strongest causal relationship between financial development and CO2 emissions in China, an in-phase from 1993 to 2016. For natural resources, the WTC results explain that we are out-phase situations in the short run and long run and prove a weak correlation between natural resources and CO2 emissions.

5 Conclusion and policy implications

The empirical study pursues to determine the asymmetric and time-varying relationship between globalization, financial growth, and natural resources and CO2 emissions in China using data from 1984 to 2017. This analysis aims to unveil this relationship more thoroughly, methodically, and empirically to contribute to China's policies to reduce CO2 emissions. Because of the importance of nonlinearity and the time and frequency domains, the study used a wavelet-based model and the nonlinear ARDL (NARDL) method to account for short- and long-run volatility as well as abrupt shifts to ensure a short-run and long-run relationship between the variables. The NARDL method benefits from discrimination between asymmetric responses to CO2 emissions in both the short-run and long-run due to positive and negative shocks toward globalization, financial development, and natural resources in China.

The findings of this study confirm the asymmetric association between globalization, financial development, natural resources, and CO2 emissions. It is argued that in the long run, positive change in globalization has an increasing effect on CO2 emissions. Furthermore, our finding explores that in the long-run positive shock of financial development has a statistically significant impact, while a negative shock of financial development has an insignificant impact on CO2 emission. The results exhibit that financial developments have negative environmental consequences due to an increasing impact on CO2 emissions. Moreover, any positive shock in the short-run in natural resources has an insignificant impact on CO2 emissions, while long-run negative natural resource shocks have a significant impact on CO2 emissions, implying that a reduction in natural resources will increase CO2 emissions in the long-run.

Furthermore, the findings of the continuous wavelet transform and wavelet transform coherence also confirm the causal links between globalization, economic development, and CO2 emissions, but there is no strong co-movement found for natural resources. The results of the wavelet-based analysis are consistent with NARDL outcomes. The evidence suggests that ignoring the intrinsic nonlinearities may lead to misleading inference. The obtained evidence of asymmetry and time–frequency domain could be the major importance for more efficient climate policy decision making and predicting China’s CO2 emissions.

The findings of this study upshot valuable policy implications and recommendations. The outcomes spot that globalization unfriendly influences China’s environment. Despite the rising globalization, the process of globalization poses serious threats to China's environmental degradation. The increasing trend of globalization at the cost of environmental degradation may increase energy consumption and lead to depletion of natural resources and eventually results in global warming in China. In the current scenario of globalization, China needs to contribute more in the process of market incorporation with its regional trading partners by dropping or removing the globalization impact on CO2 emissions and removing trade barriers. Because the environment and social sustainability are the essential conditions of the sustainability of long-run globalization and improve economic development. The energy development strategy should include an energy conversion priority policy in China at the same time China should focus on developing renewable energy.

In order to curtail the emissions-driving impact of financial development and resource consumption, market-based policy tools are imperative to employed such as “carbon emissions market trading system (ETS)”. ETS motivate industrial sectors to reduce their ecological footprint by saving their net emissions and earning from the sale of excess carbon allowances in the secondary markets. Although China has started a few ETS projects, however, they need to be expanded across the whole country. Besides, stringent laws, higher environmental-related investment, and tax exemptions in the installation of energy-efficient production units help to reduce net emissions growth. The People's Republic of China needs more effort at emissions reduction policy. Otherwise, real carbon emissions may be undervalued and it has become a hurdle to meet the target of a 40% to 50% reduction in carbon emissions by 2030. Further, we urge that China should take measures to ensure the maintainable use of natural resources to minimize dependency on fossil fuels by restricting conventional energy in their system. Future research and development budgets should be allotted to explore renewable energy resources in the country.