Introduction

Energy is regarded as an economy’s backbone. Increasing economic expansion leads to greater production of products and services, and, as a result, expanded energy consumption. To maintain present levels of energy production and meet energy demands, most nations rely on fossil fuels, which are largely imported. This accounts for a significant portion of a country’s international trade imbalance (Adebayo and Kirikkaleli 2021; Akinsola et al. 2021b). However, the increasing use of nonrenewable energy poses a threat to the ecosystem. Since the volatility of fossil fuel prices has the largest influence on investment decisions, the growing degree of environmental degradation and externalities is mostly attributable to the widespread usage of fossil fuels (Alola 2019; Wang et al. 2021a; Xue et al. 2021; Zhang et al. 2020).

Price fluctuations in fossil fuels and energy exacerbate ecological issues (Adebayo and Kirikkaleli 2021; Akinsola et al. 2021a; Su et al. 2021b). As a result, most nations are engaged in initiatives that are focused on reducing their reliance on fossil fuels, thereby reducing environmental strain. To achieve this, the first goal should be to increase the percentage of renewable energy in the energy mix, which will help to reduce environmental concerns. Renewable energy sources, in particular, are an urgent option for increasing energy security and reducing the reliance on imported fossil fuels. Furthermore, because renewable energy is a clean source of energy, it can help to decrease ecological damage (Alola et al. 2019; Awosusi et al. 2021; Shan et al. 2021). As a result, a sensible strategy is required to reduce the reliance on fossil fuel use while maintaining economic development. CO2 emissions in emerging countries have recently grown due to economic expansion.

Why Argentina? Argentina is a developing nation whose GDP and GDP per capita amounted to US$9912.28 and US$4445.4 billion respectively in 2019 (World Bank 2020). The demand for electricity per capita is approximately 2800 kWh/cap (2019). Argentina produced 199.4 million tons of CO2 in 2019 and its CO2 increased from 88.8 million tons in 1970 to 199.4 million tons in 2019, an annual rise of 1.76%. Since 2016, overall consumption has decreased by 1.5% yearly, reaching 82 Mtoe in 2019. From 2010 to 2016, it increased at an annual rate of 1.6% (BP 2021). Renewable energy accounts for more than a quarter of Argentina’s electricity generation. In 2015, the government established a scheme to encourage the utilization of renewable energy for the generation of electricity, which included the establishment of a trust fund that would provide incentives and financial guarantees. The total energy supply (TES) by source (Ktoe) and electricity generation source (GWh) in Argentina from 1990 to 2019 are depicted in Figs. 1 and 2, respectively (IEA 2021).

Fig. 1
figure 1

Total energy supply from 1990 to 2018 in Argentina

Fig. 2
figure 2

source in Argentina from 1990 to 2019

Electricity consumption by

Increased usage of renewable energy might also have several advantages, such as a reduction in global CO2 emissions. In light of this, a number of nations with significant levels of emissions have taken efforts to reduce CO2, including reforestation and lowering fossil fuel usage. Renewable energy (such as solar, geothermal, and wind) is anticipated to expand at a rate of 6.7% between 2005 and 2030, making it the fastest-growing form of energy (IEA 2021). As a result, renewable energy appears to be a viable remedy for the issues of climate change and energy security. Previous research has examined the effects of nonrenewable and renewable energy as well as economic growth on CO2 emissions (Ahmed et al. 2021a, b; Dogan and Inglesi-Lotz 2020; Li et al. 2021; Sarkodie and Strezov 2018; Solarin et al. 2017; Tian et al. 2021).

Nonrenewable energy use is mostly responsible for environmental degradation, whereas renewable energy enhances environmental sustainability (Odugbesan et al. 2021; Orhan et al. 2021; Pata 2021; Soylu et al. 2021). The bulk of these studies indicate that renewable energy reduces CO2, whereas nonrenewable triggers degradation of the environment. Nevertheless, as wealth rises, nonrenewable energy use may also rise, thereby reducing the input of renewable energy in the energy mix (Dogan and Inglesi-Lotz 2020). With the increasing usage of nonrenewable fuels, increased economic growth diminishes the positive impact of renewable energy on sustainability and causes CO2 emissions to rise. Thus, the present research intends to capture the connection between CO2 and energies (nonrenewable and renewable energy), economic growth, and trade openness in Argentina in both time and frequency.

The study adds to the existing body of knowledge by offering a novel methodological approach to assess the influence of GDP, renewable energy, energy utilization, and trade openness on CO2. The current research contributes to the literature in the following ways. Firstly, to the best of the investigators’ understanding, this is the first research to assess the heterogeneous effects of energy (renewable and nonrenewable) and trade openness on CO2 emissions in both time and frequency. Secondly, over the years, numerous studies have been conducted in an attempt to create awareness about the determinants of CO2. Nevertheless, their findings are often constrained to traditional empirical methodologies and generalized step measures (Adebayo and Acheampong 2021; Sharif et al. 2021). Recognizing these concerns, Sharif et al. (2021) stated that methodologies are critical in producing impartial analysis results and emphasized the importance of employing novel econometric techniques. Based on this information, this research utilizes an innovative time–frequency approach to assess the effect of energy usage, trade openness, economic growth, and renewable energy use on CO2 emissions in Argentina. The major advantage of this technique is that it distinguishes between long-, medium-, and short-run dynamics over the sample period. Furthermore, this technique establishes the correlation and lead/lag association between series (Rjoub et al. 2021). The concluding parts of the study are organized as follows: theoretical and empirical sections are presented in the next section. This is followed by the data and methodology in “Data and methodology.” The findings and discussion are presented in “Findings and discussion,” which is followed by the conclusion and policy direction in “Conclusion and policy suggestions.”

Theoretical framework and empirical review

This section is divided into two parts, namely theoretical framework and the empirical review which discusses prior studies conducted regarding these associations.

Theoretical framework

The world economy has grown tremendously over the last two decades, including an upsurge in nonrenewable energy usage. Regrettably, rapid economic expansion and rising consumption of energy have had negative ecological effects. Kraft and Kraft (1978) were the first to show an interrelation between economic growth and the utilization of energy. This approach has been used by environmental economists such as Panayotou (1997) and Grossman and Krueger (1991) to analyze connections between environmental degradation and economic expansion. According to them, economic growth is divided into three phases: scale effect, technical effect, and composite effect phases. The ecosystems will suffer in the early stages of growth until a specific threshold (the turning point) is achieved; growth will increase the degradation of the environment at this period. The initial phase is recognized as the scale effect phase, while the turning point and the time after the turning point are recognized as the composite and structural effect stages. The scale effect phase is associated with developing nations such as Argentina where nonrenewable energy sources support economic and production activities. The composite and structural effect stages, on the other hand, are associated with developed nations such as Germany, Canada, Sweden, and the USA, where technological innovation and services dominate economic activities.

Renewable energy is the purest kind of energy and does not result in emissions or depletion of the resource; thus, its usage benefits the environment. Solar, hydro, and wind energy are the most environmentally friendly sources of energy. Renewable energy, unlike fossil fuels, is unlimited. Nonrenewable energy sources, on the other hand, are finite and unsustainable, and their widespread use hastens climate change and global warming escalating greenhouse gas (GHG) emissions. This simply means that utilization of nonrenewable energy increases CO2 emissions while renewable energy (REC) mitigates CO2.

If the scale effect of trade is determined to be dominant over the composite/technical effects, net negative ecological consequences are predicted; in the opposite case, net positive ecological benefits are anticipated. Furthermore, trade openness might have asymmetrical impacts on emissions, because rising trade openness does not always have the same magnitude and sign as declining trade openness. Second, growing trade leads to increased consumption of energy and emissions as a nation’s GDP rises. Due to the ratchet effect, nevertheless, reducing trade does not always imply a reduction in energy use. The ratchet effect shows that when income falls, consumption does not fall in the same manner.

The research theoretical model is formulated based on the above discussions as follows:

$${\mathrm{CO}}_{2t}=f\left({\mathrm{GDP}}_{t},{\mathrm{EC}}_{t},{\mathrm{REC}}_{t},{\mathrm{TO}}_{t}\right)$$
(1)

where GDP, EC, REC, CO2, and TO stand for economic growth, utilization of energy, renewable energy, CO2 emissions, and trade openness respectively. The period of study is illustrated by t.

Empirical review

This section of the paper discusses the prior works conducted on the connection between CO2 nonrenewable energy (EC), GDP, REC, and TO. This section is therefore divided into four distinct sections to present a clear summary of studies on these interconnections.

Impact of economic growth and nonrenewable energy use on CO2 emissions

More energy is needed as industrial output increases, leading to higher GHG emissions via burning. Nevertheless, as the economy grows, a shift from industrial and manufacturing output to service-based sectors will occur. Several studies have reported different outcomes on GDP, CO2 emissions (CO2), and EC due to different method(s) applied, timeframe, and country(s) of study. For example, applying the dual gap and ARDL approaches, He et al. (2021) investigated the CO2-GDP-EC connection in Mexico. The outcomes from the research disclosed that both GDP and EC add to the degradation of the environment. The research of Awosusi et al. (2021) in South Korea on the GDP-CO2-EC association using the novel wavelet revealed positive coherence among CO2, GDP, and EC. Similarly, utilizing datasets from 1970 to 2016, Adebayo (2020) assessed the association between CO2, GDP, and EC. The investigator applied the ARDL and wavelet and their outcome disclosed that both GDP and EC trigger CO2 in Mexico. The study of Zhang et al. (2021b) in Malaysia also reported that an upsurge in EC and GDP contributes to the deterioration of the ecosystem. In Thailand, Kihombo et al. (2021) study on the CO2-GDP-EC interrelationship using data between 1980 and 2018 reported positive CO2-GDP association. On the contrary, Umar et al. (2020) in their research on the CO2-GDP-EC association in the USA disclosed CO2-GDP negative association. Likewise, Dogan et al. (2016) assessed the CO2-GDP-EC connection in the USA by utilizing a dataset from 1960 to 2010. The authors applied the ARDL and their outcomes disclosed that GDP improves the sustainability of the environment. Likewise, the research of Sarkodie and Strezov (2018) found that economic expansion in the USA does not contribute to environmental degradation due to strict environmental rules and technological advancements that lower the intensity of energy use. Furthermore, the studies of Bibi et al. (2021) for the USA; Su et al. (2021a) for China; Ji et al. (2021) for the USA; Tao et al. (2021) for E7 economies; Umar et al. (2020) for the USA; Umar et al. (2020) for China; and Zhang et al. (2021a) established that an upsurge in growth mitigates the quality of the environment.

Impact of trade openness and renewable energy on CO2 emissions

If the scale effect of trade openness is dominant over the composite/technical effects, net negative ecological consequences are predicted; in the opposite case, net positive ecological benefits are anticipated. Furthermore, trade openness might have asymmetrical impacts on emissions, because rising trade openness does not always have the same magnitude and sign as declining trade openness. Orhan et al. (2021) in their study looked into the CO2-TO connection in India utilizing data from 1965 to 2018. The investigators applied the novel wavelet tools to assess this connection and their outcomes unveiled CO2-TO positive linkage in the medium term; however, no evidence of CO2-TO connection was established in the short and long term. Likewise, in France, utilizing data from 1960 to 2013, the research of Mutascu (2018) reported no CO2-TO coherence in the short term which supports the neutrality hypothesis; nonetheless, in the medium term, there is evidence of positive CO2-TO coherence. In a bid to assess the CO2-TO interconnection in 49 high-emission countries in Belt and Road regions, Dong et al. (2018) applied the panel techniques and their outcomes disclosed both negative and positive effects on CO2, but the effect is dissimilar across the nations. Using EU nations as a case study, the study of Jamel and Maktouf (2017) reported a feedback causal connection between CO2 and TO. The impacts of TO on CO2 were examined by Gao et al. (2021) utilizing data from 182 nations between 1990 and 2015. Their findings reveal that TO reduced CO2 in high- and upper-middle-income nations while having no effect on CO2 in lower-middle-income nations; worse, TO exacerbated CO2 in low-income nations. The research of Shahbaz et al. (2017) found that TO triggers CO2 for global, middle-income, high-income, and low-income panels, although the impact differs among these different sets of nations. The causality outcomes show a two-way causal connection in the middle and global nations, but TO causes CO2 in high- and low-income nations.

Renewable energy is the purest kind of energy and does not result in emissions or depletion of the resource; thus, its usage is anticipated to mitigate CO2 emissions. In India, Kirikkaleli and Adebayo (2021) study on REC-CO2 interconnection utilizing global dataset disclosed negative REC-CO2 connection while the causality result unveiled one-way causal interconnection from REC to CO2. Likewise, the study of Shan et al. (2021) utilizing CS-ARDL and AMG techniques in the top seven fiscally decentralized economies reported a negative REC-CO2 connection. Similarly, utilizing quarterly data from 1990 to 2015, Adebayo and Kirikkaleli (2021) assessed the CO2-REC interaction in Japan using wavelet tools. Their outcomes disclosed that in all frequencies, there is evidence of negative CO2-REC coherency which implies that in the long run, REC aids in mitigating CO2. The research of Hasanov et al. (2018) on the CO2-REC interaction in BRICS countries from 1990 to 2017 unveiled CO2-REC negative association. The study of Adedoyin et al. (2021) in Brazil between 1990 and 2018 utilizing the ARDL approach disclosed negative CO2-REC association. In the study of Musa et al. (2021), it was reported that REC enhance environmental quality. Furthermore, the study of Usman et al. (2020b) in the USA established that an upsurge in REC enhances the sustainability of the environment. Similarly, Ike et al. (2020) using the G-7 economies established that decrease in CO2 is caused by increase in REC.

In summary, the majority of the extant studies have focused on the carbon emission perspectives of the environmental degradation. Hence, the present study distinguishes itself by providing a robust analysis of the impact of nonrenewable energy use, economic growth, trade openness, and renewable energy use on carbon emissions using time–frequency techniques (e.g., wavelet correlation, wavelet coherence, partial wavelet, multiple wavelet coherence, and frequency domain causality). The advantage of these techniques is that they can capture information between two time series at different frequencies, i.e. short, medium, and long term respectively. Moreover, this study is distinct from the study of Yuping et al. (2021) by exploring the impact of nonrenewable energy use, economic growth, trade openness, and renewable energy use on carbon emissions at different frequencies and time periods. To the understanding of the investigators, no existing studies on Argentina have been done utilizing the combined wavelet tools utilized in this empirical analysis. Therefore, assessing the combination of these methodologies helps to tap into the novelty of the approaches, thereby informing robust estimates that support proactive policy directions.

Data and methodology

Data

The time–frequency analyses were assessed utilizing yearly data covering the period 1965 to 2019 (55 observations). The dependent variable is carbon emission (CO2) which is calculated as CO2 emissions metric tons that was obtained from a database of British Petroleum (BP). The independent variables are trade openness (TO) which is calculated as trade % of GDP, renewable energy (REC) which is calculated as renewables per capita (kWh), nonrenewable energy use which is calculated as fossil fuel (TWh), and economic growth (GDP) which is calculated as GDP per capita US$. The annual data for this study were changed into the natural log to reduce skewness and ensure its stationarity. Furthermore, Table 1 illustrates the data description. The outcomes from Table 1 disclosed that GDP mean is the highest, which is accompanied by EC, TO, CO2, and REC respectively. The standard deviation is used to determine which variables had more constant scores. The standard deviation of CO2 is the lowest, implying that CO2 scores are less spread out from the mean. Therefore, the score of CO2 is more consistent which is accompanied by EC, GDP, TO, and REC. The skewness disclosed that CO2 and REC are skewed negatively while TO, EC, and GDP are skewed positively. Moreover, the kurtosis value disclosed that CO2 does not affirm to normality while GDP, EC, REC, and TO align with normality. Furthermore, Fig. 3 presents the flow of analysis.

Table 1 Descriptive statistics
Fig. 3
figure 3

Flow of analysis

Methodology

Wavelet coherence

Wavelet coherence is employed to detect the time–frequency dependence of renewable energy use, trade openness, nonrenewable energy use, and economic growth on CO2 emissions. Time–frequency dependence takes into account the changes overtime and how the relationship varies from one frequency to another becomes essential and strategic in the formulation of policies (Adebayo 2020; Mutascu 2018). The Morlet wavelet function was employed since it brings balance between phase and amplitude. Morlet wavelet function is defined as follows:

$$\mathcal{w}\left(\mathcal{n}\right)= {\pi }^{-\frac{1}{4}}{e}^{-i\mathcal{w}\mathcal{n}}{e}^{-\frac{1}{2}{\mathcal{n}}^{2}}$$
(2)

Note: non-dimensional frequency was used by \(\mathcal{w}\); i denotes \(\sqrt{-1p\left(\mathcal{n}\right)}\). Using the time and space, with \(\mathcal{n}\) = 0, 1, 2, 3… N − 1, the time series continuous wavelet transformation (CWT) is defined as:

$${\mathcal{w}}_{{\varvec{k}},\boldsymbol{ }{\varvec{f}}}\left(\mathcal{n}\right)=\boldsymbol{ }\frac{1}{\sqrt{{\varvec{h}}}}\mathcal{w}\left(\frac{{\varvec{n}}-{\varvec{k}}}{{\varvec{f}}}\right),\boldsymbol{ }\boldsymbol{ }\boldsymbol{ }{\varvec{k}},{\varvec{f}}\in {\mathbb{R}},{\varvec{f}}\ne 0$$
(3)

where k and f symbolize time and frequency, respectively. CWT helps the cross wavelet analysis to interrelate between two variables (Jiang et al. 2021; Shen et al. 2020, 2021). The CWT equation is written below as follows:

$${\mathfrak{w}}_{{\varvec{p}}}\left({\varvec{k}},\boldsymbol{ }{\varvec{f}}\right)=\boldsymbol{ }{\int }_{-\boldsymbol{\infty }}^{\boldsymbol{\infty }}{\varvec{p}}({\varvec{n}})\frac{1}{\sqrt{{\varvec{f}}}}\mathcal{w}\left(\frac{\overline{{\varvec{n} }-{\varvec{k}}}}{{\varvec{f}}}\right){\varvec{d}}{\varvec{n}}$$
(4)

The local variance was revealed using the wavelet power spectrum (WPS). The equation defining the WPS is as follows:

$${\mathbf{W}\mathbf{P}\mathbf{S}}_{{\varvec{p}}}\left({\varvec{k}},\boldsymbol{ }{\varvec{f}}\right)=\boldsymbol{ }{\left|{{\varvec{W}}}_{{\varvec{p}}}({\varvec{k}},\boldsymbol{ }{\varvec{f}})\right|}^{2}$$
(5)

To examine the comovement between two time series, the wavelet coherence approach (WTC) was used, which is defined in the equation below:

$${{\varvec{R}}}^{2}\left({\varvec{k}},\boldsymbol{ }{\varvec{f}}\right)=\boldsymbol{ }\frac{{\left|{\varvec{S}}\left({{\varvec{f}}}^{-1}{{\varvec{W}}}_{{\varvec{p}}{\varvec{j}}}\left({\varvec{k}},\boldsymbol{ }{\varvec{f}}\right)\right)\right|}^{2}}{{\varvec{S}}\left({{\varvec{f}}}^{-1}{\left|{{\varvec{W}}}_{{\varvec{p}}}\left({\varvec{k}},\boldsymbol{ }{\varvec{f}}\right)\right|}^{2}\right){\varvec{S}}\left({{\varvec{f}}}^{-1}{\left|{{\varvec{W}}}_{{\varvec{j}}}\left({\varvec{k}},\boldsymbol{ }{\varvec{f}}\right)\right|}^{2}\right)}$$
(6)

where the smoothing operator to both time and scale with 0 ≤ R2(k,f) ≤ 1 is denoted as S. WTC can also detect the phase difference \({\phi }_{pq}\) of the two time series, and it is defined in this form:

$${{\varvec{\phi}}}_{{\varvec{p}}{\varvec{q}}}\left({\varvec{k}},\boldsymbol{ }{\varvec{f}}\right)={\mathbf{tan}}^{-1}\left(\frac{\mathbf{L}\left\{{\varvec{S}}\left({{\varvec{f}}}^{-1}{{\varvec{W}}}_{{\varvec{p}}{\varvec{j}}}\left({\varvec{k}},\boldsymbol{ }{\varvec{f}}\right)\right)\right\}}{{\varvec{O}}\left\{{\varvec{S}}\left({{\varvec{f}}}^{-1}{{\varvec{W}}}_{{\varvec{p}}{\varvec{j}}}\left({\varvec{k}},\boldsymbol{ }{\varvec{f}}\right)\right)\right\}}\right)$$
(7)

where \(L\) denotes an imaginary operator while \(O\) stands for a real part operator.

Partial wavelet coherence

The partial wavelet coherence (PWC) is a technique that is comparable to PC. The wavelet transfiguration approach is utilized to analyze PWC. The method catches WC for x1 and x2 series after canceling the x3 effect. The PWC is illustrated by the equations as follows:

$$R\left({x}_{1}, {x}_{2}\right)= \frac{S[W\left({x}_{1,}{x}_{2}\right)]}{\sqrt{S\left[W\left({x}_{1}\right)\right], S[W\left({x}_{2}\right)]}};$$
(8)
$${R}^{2}\left({x}_{1}, {x}_{2}\right)=R\left({x}_{1}, {x}_{2}\right).R\left({x}_{1}, {x}_{2}\right);$$
(9)
$$R\left({x}_{1}, {x}_{3}\right)= \frac{S[W\left({x}_{1,}{x}_{2}\right)]}{\sqrt{S\left[W\left({x}_{1}\right)\right], S[W\left({x}_{3}\right)]}};$$
(10)
$${R}^{2}\left({x}_{1}, {x}_{3}\right)=R\left({x}_{1}, {x}_{3}\right).R\left({x}_{1}, {x}_{3}\right);$$
(11)
$$R\left({x}_{2}, {x}_{3}\right)= \frac{S[W\left({x}_{2,}{x}_{2}\right)]}{\sqrt{S\left[W\left({x}_{2}\right)\right], S[W\left({x}_{3}\right)]}};$$
(12)
$${R}^{2}\left({x}_{2}, {x}_{3}\right)=R\left({x}_{2}, {x}_{3}\right).R\left({x}_{2}, {x}_{3}\right)$$
(13)

The PWC is predicated on a linear connection (by eradicating x3 impact). The PC is depicted as follows:

$${RP}^{2}\left({x}_{1}, {x}_{2}, {x}_{3}\right)= \frac{\left|R\left({x}_{1}, {x}_{2}\right)-R\left({x}_{1}, {x}_{2}\right).R({x}_{1}, {x}_{2}{)}^{*}\right|}{[1-R({x}_{1-}{x}_{3}){]}^{2}[1-\left({x}_{3}-{x}_{2}\right){]}^{2}}$$
(14)

As stated by Sharif et al. (2021), when the effect of x3 is removed, a low PWC implies that series x2 has minimal influence on x1.

Multiple wavelet coherence

The multiple wavelet coherence (MWC) technique is adequate for assessing the coherency of many variables with other control parameters (Orhan et al. 2021). The equation below depicts the MWC as follows:

$${RM}^{2}\left({x}_{1}, {x}_{2}, {x}_{3}\right)=\frac{{R}^{2}\left({x}_{1, }{x}_{2}\right)+ {R}^{2}\left({x}_{1, }{x}_{3}\right)-2Re[R\left({x}_{1, }{x}_{3}\right)*R({x}_{3}, {x}_{2}{)}^{*}]}{1-{R}^{2}({x}_{3}, {x}_{2})}$$
(15)

Frequency domain causality

The present research takes a step further by assessing the causal linkage between CO2 and the regressors (REN, TI, GDP, and GLO) in the long and short term in the frequency domain. The frequency causality test, contrary to the conventional time domain Granger causality test, provides crucial information on causality between two series at different frequencies (Breitung and Candelon 2006). As a result, it is useful for evaluating time-dependent shocks in a certain frequency domain (Kirikkaleli and Adebayo 2020). The basis of the test is a recreated VAR between x and y, represented as:

$${x}_{t}={\theta }_{1}{x}_{t-1}+\dots +{\theta }_{1}{x}_{t-1}+{\beta }_{1}{y}_{t-1}+\dots +{\beta }_{1}{y}_{t-1}+{\varepsilon }_{t}$$
(16)

The Akaike information criterion (AIC) is utilized in lag \(l\) selection. Centered on Geweke (1982), null hypothesis (M) is \({M}_{y\to x}\left(\omega \right)=0\), where the frequency is \(\omega \varepsilon \left(0,\pi \right)\), and adjusted null hypothesis (H) is formulated as follows:

$${H}_{0 }:R\left(\omega \right)\beta =0$$
(17)

The vector linked to y coefficients is denoted by \(\beta\).

$$R\left(\omega \right)= \frac{\mathrm{cos}\left(\omega \right)\mathrm{cos}\left(2\omega \right)\dots \mathrm{cos}(l\omega )}{\mathrm{sin}\left(\omega \right)\mathrm{sin}\left(2\omega \right)\dots \mathrm{sin}(lw)}$$
(18)

The null hypothesis pinpoints that at frequency \({\omega }_{0}\), X does not cause Y. Breitung and Candelon (2006) propose 5% and 10% significance values for all frequencies in the interval (0,π). Frequency ω is linked to period t as \(t=2\pi /\omega\).

Findings and discussion

Findings

The present research commenced by exploring the correlation between CO2 and the regressors. In doing so, we applied the wavelet correlation (WC) test. The advantage of the WC is that it can detect the correlation between CO2 and GDP, REC, EC, and TO at different frequencies (i.e., short and long term). The WC between CO2 and GDP, EC, REC, and TO at different scales is depicted in Figure 4a–d. The Monte Carlo method is utilized to perform the WC. The graphs show the correlation between CO2 and GDP, EC, TO, and REC at various levels. If the value of correlation between two variables is close to 0, it indicates no dependency between the series. However, if the correlation coefficient is close to 1, there is dependency between the series. In addition, a negative correlation denotes that two series move in different paths, while a positive correlation means movement in the same direction. Thus, we applied the WC to eliminate the fundamental concealed information in the data associated with the time domain correlation technique. The outcomes from the WC show that:

  1. a.

    In all the scales, there is a CO2-GDP positive connection, though the coefficient of the correlation is stronger in the medium and long term compared to the short term.

  2. b.

    As anticipated, the CO2-EC correlation is positive in all the scales (0–8). In the short term, the CO2-EC correlation is positive; however, as we move to the medium and long term, the CO2-EC correlation is more significant.

  3. c.

    In the short and medium term, there is a negative correlation between CO2 and REC where the negative correlation is stronger in the medium term. Nonetheless, as we move into the long term, the CO2-REC becomes weak and positive. This implies that in the long term, REC and CO2 move in the same direction.

  4. d.

    The correlation between CO2 and TO is negative and significant in the short and medium term. Nonetheless, in the long term, there is evidence of positive CO2-TO connection. This implies that in the short and medium term, CO2 and TO move in opposite directions whereas in the long term, they move in the same direction.

Fig. 4
figure 4

a WC CO2-GDP. b WC CO2-EC. c WC CO2-REC. d WC CO2-TO

The present research applied wavelet coherence (WTC) to catch the series comovement and lead/lag association at different frequencies and periods between series. This approach is crafted from mathematics and is utilized to acquire previously unnoticed information. As a result, the study looks at the association between series at different frequencies. The white cone where discourse takes place in the WTC is known as the cone of impact (COI). The black boundary depicts a significance level predicated on simulations. The short, medium, and long periods are illustrated by 0–4, 4–8, and 8–16, respectively, in Fig. 5a–d. Furthermore, the figure’s horizontal and vertical axes represent time and frequency respectively. The colors blue and yellow represent low and high interdependence between the series. The leftward and rightward arrows represent out-of-phase and in-phase connections, respectively. Moreover, the rightward-down (leftward-up) signifies that the first series lead (cause) the second series, whereas the rightward-up (leftward-down) signifies that the second series lead (cause) the first series. The outcomes of the WTC are illustrated as follows:

  1. a.

    Fig. 5a depicts the WTC between GPD and CO2 in Argentina from 1965 to 2019. The WCT identifies regions in which there is coherence between GDP and CO2 in the time and frequency domains. The results of Fig. 3a show impressive outcomes. The WTC results unveiled that between 1970 and 1985 at different periods of scales 0–16, CO2 and GDP are in-phase (positive coherence) with GDP leading (GDP has a positive causal influence on CO2). In addition, in the medium and long term, there is an in-phase (positive connection) between CO2 and GDP at a period of scales 4–16 between 2005 and 2015 with GDP CO2 leading (CO2 has a positive causal influence on GDP).

  2. b.

    Fig. 5b depicts the WTC between CO2 and EC. At a different period of scales 0–16, the majority of the arrows are pointing to the right which signifies positive comovement between EC and CO2 between 1975 and 2005. During this period, majority of the arrows are rightward-up signifying that EC is leading (EC has a positive causal influence on CO2).

  3. c.

    The WTC between CO2-REC in Argentina between 1965 and 2019 is depicted in Fig. 5c. In the long term, at a period of scales 8–16, the arrows are leftward-down between 1985 and 1995 which signifies negative coherence between CO2 and REC with REC leading (REC has a negative causal influence on CO2). The findings unveiled that in the medium frequency (medium term) at a period of scales 4–8, the arrows are facing left and down which illustrate a negative coherence between REC and CO2 from 1997 to 2005 with REC leading (REC has a negative causal influence on CO2).

  4. d.

    The WTC between CO2-TO in Argentina between 1965 and 2019 is depicted in Fig. 5d. In the medium term at period of scales 4–8, between 1997 and 2007, the arrows are leftward-up which mirror CO2-TO negative coherency with CO2 leading (CO2 has a negative causal influence on TO).

Fig. 5
figure 5

a WTC CO2-GDP. b WTC CO2-EC. c WTC CO2-R EC. d WTC CO2-TO

The research applied the PWC to identify the effect of the second variable (x2) on the first variable (x1) after removing the third series (x3) effect. Figure 6a presents the PWC between CO2 and REC after EC effect is annulled. The circular black line that encloses the main power areas denotes the COI. On the horizontal and vertical axes, time and frequency (year) are displayed, accordingly. The degrees of correlation between the series are shown by the colors in the color bar. The yellow and blue colors denote a high and low level of coherence respectively. In the period of scale 4–8 years, from 1990 to 1992, and 2003 to 2007, REC has a weak effect on CO2 with the EC effect canceled. Figure 7b displays the PWC between REC and CO2 after TO impact has been eliminated. At the period of scale 8–16 years, between 1985 and 2000, the impact of REC on CO2 is weak with the TO effect eliminated. Figure 7c shows the PWC between CO2 and REC with GDP impact eradicated. Moreover, from 2000 to 2006, at the middle frequency and period of scale 4–8 years, there is coherency between CO2 and REC after the influence of GDP is removed. The impact of EC on CO2 after annulling the effect of REC is depicted in Fig. 6d. There is a significant coherency between CO2 and EC after REC influence is eradicated at different frequencies between 1980 and 2015. Moreover, the EC influence on CO2 after annulling the TO effect is presented in Fig. 6e. At all frequencies, EC impact on CO2 is strong between 1975 and 2015 with the TO influence neglected. Figure 7f presents the EC effect on CO2 after GDP impact is eradicated. The outcome disclosed no proof of significant coherence between CO2 and EC after GDP effect is eradicated.

Fig. 6
figure 6figure 6

a PWC CO2-REC-EC. b PWC CO2-REC-TO. c PWC CO2-REC-GDP. d PWC CO2-EC-REC. e PWC CO2-EC-TO. f PWC CO2-EC-GDP. g PWC CO2-TO-REC. h PWC CO2-TO-EC. i PWC CO2-TO-GDP. j PWC CO2-GDP-REC. k PWC CO2-GDP-EC. l PWC CO2-GDP-TO

Fig. 7
figure 7

a MWC CO2-REC-EC. b MWC CO2-REC-TO. c MWC CO2-REC-GDP. d MWC CO2-EC-TO. e MWC CO2-EC-GDP. f MWC CO2-GDP-TO

Furthermore, Fig. 6g portrays the TO effect on CO2 after REC impact is eradicated. The outcome disclosed no proof of significant coherence between CO2 and EC after GDP effect is eradicated. The impact of TO on CO2 after annulling the effect of EC is depicted in Fig. 6h. There is a significant coherency between CO2 and TO after REC influence is eradicated at different frequencies between 1995 and 2010. Figure 6i depicts the PWC between TO and CO2 with GDP influenced annulled. At different medium frequencies, between 2000 and 2005, the effect of TO on CO2 is significant with GDP impact dismissed. Also, the impact of GDP on CO2 after annulling the effect of REC is presented in Fig. 7j with significant coherence observed at all frequencies from 1975 to 1985, and from 2000 to 2015. Figure 6k portrays the GDP effect on CO2 after EC impact is eradicated. The outcome disclosed no proof of significant coherence between CO2 and GDP after EC effect is eradicated. Also, the impact of GDP on CO2 after annulling the effect of TO is presented in Fig. 6l with significant coherence observed at all frequencies from 1970 to 1985, and from 2005 to 2015.

The current research also assesses the influence of the second variable (x1) and third variable (x3) on the first variable (x1) by applying the multiple wavelet coherence (MWC). Figure 7a–f presents the MWC for Spain for the period 1980 to 2018. Figure 8a presents the MWC depicting the effect of REC on CO2 without eradicating EC impact. At different frequencies, from 1970 to 2015, REC has a strong influence on CO2 by taking into account the impact of EC. Figure 8b signifies the MWC depicting the effect of REC on CO2 considering TO impact. In the long term, from 1970 to 2015, REC has a strong influence on CO2 when TO is considered. Figure 8c illustrates the MWC depicting the effect of REC on CO2 considering GDP influence. At different frequencies from 1970 to 1975 and from 2000 to 2015, there is strong coherency between REC and CO2 with GDP impact considered. Figure 8d signifies the MWC depicting the effect of EC on CO2 considering TO impact. In the long term, from 1970 to 2015, EC has a strong influence on CO2 when TO is considered. Figure 8e illustrates the MWC depicting the effect of EC on CO2 considering GDP influence. At different frequencies from 1970 to 2015, there is strong coherency between EC and CO2 with GDP impact considered. Figure 7f depicts the MWC illustrating the effect of GDP on CO2 considering TO impact. At various frequencies, the GDP effect on CO2 considering TO influence is strong from 1970 to 2015.

Fig. 8
figure 8

a Spectral causality from nonrenewable energy to CO2. b Spectral causality from trade openness to CO2. c Spectral causality from economic growth to CO2. d Spectral causality from renewable energy to CO2

The study also applied the frequency domain causality (FDC) test to capture the causal linkage from EC, REC, TO, and GDP to CO2 emissions at different frequencies. The novelty of the FDC causality test is that it can detect causality between two series at various frequencies. Figure 8a shows that in the long term, nonrenewable energy utilization causes CO2. This implies that the utilization of nonrenewable energy is a significant predictor of CO2 in Argentina. Also, in the long and medium term, there is evidence of causality from TO to CO2, suggesting that TO is an important indicator in predicting CO2 (see Fig. 8b). Moreover, in the long and medium term, GDP does not Granger cause CO2; however, in the short term, GDP Granger causes CO2 (see Fig. 8c). Finally, in the long term, REC causes CO2, suggesting that REC can predict CO2 (see Fig. 8d). These outcomes are significant, which will be helpful for policymakers in Argentina.

Discussion of findings

A discussion on the findings of the current study is presented in this section. The current research employed the novel wavelet coherence (WTC) analysis to capture the coherence and lead/lag connection between CO2 and energy use (EC), renewable energy use (REC), trade openness (TO), and economic growth (GDP) at different frequencies and periods. The WTC outcomes revealed a positive coherence between CO2 and GDP, primarily in the medium and long term, which illustrates that an upsurge in GDP is followed by an upsurge in CO2 in Argentina. The positive CO2-GDP relationship may be explained by the fact that fossil fuels are the major inputs for industry and agriculture, which impact both environmental deterioration and CO2 (Alola et al. 2019). The rise in CO2 is caused by economic expansion in Argentina connected to trade development, economic capitalization, investment, and the development of infrastructure, which has a positive influence on economic activity and, as a result, boosts the consumption of energy (Kihombo et al. 2021; Lin et al. 2021). Furthermore, it can largely be ascribed to fundamental economic shifts, including the shift from rural to industrial activities. Another potential reason for this influence is that increased economic growth results in more environmental degradation (CO2) at high income levels owing to increased industrial companies. Consequently, during an economic boom, people and businesses will have more income and, as a result, will consume more energy from transportation, appliances, and electric gadgets among many other things, thus contributing to a rise in emissions. This study finding complies with the works of Shan et al. (2021) for highly decentralized nations, Akinsola et al. (2021a) for Indonesia, and Tufail et al. (2021) for highly decentralized economies.

In the short and long term, there is a positive and significant coherence between CO2 and nonrenewable energy utilization, which suggests that the utilization of nonrenewable energy induces CO2 in Argentina, whereas at the medium and low frequencies (medium and long term), CO2 and renewable energy consumption are out of phase (negative association). This demonstrates that cleaner and greener energy sources lower emission levels in the atmosphere. This is not an unexpected outcome and it complies with prior studies (Fatima et al. 2021; Ibrahim and Ajide 2021; Mohsin et al. 2021).

In the medium term, there is a negative connection between CO2 and trade openness, although in the long term, there is no significant connection between CO2 and TO. This implies that in the medium term, trade openness in Argentina aids in mitigating CO2 emissions. The scale effect may all be used to justify the connection between trade openness and CO2. The scale effect postulates that trade liberalization increases a nation’s volume of exports, resulting in increased growth in the economy. This increase in economic growth raises the economy’s income level, prompting the nation to import environmentally friendly technologies to boost production levels (i.e., technique effect). Furthermore, trade openness creates rivalry among local manufacturers, encouraging them to adopt modern technology to reduce per-unit costs and, as a result, mitigate emissions during production. This outcome complies with the study of Mutascu (2018) and Wang et al. (2021b), who established a negative TO-CO2 association.

Furthermore, the outcomes of the partial wavelet coherence support the outcomes of the wavelet coherence. The outcomes of the PWC revealed that when the effect of the third variable is neglected, the coherence between the first and second variables is weak. In order to capture the influence of the two variables on CO2, the study applied the multiple wavelet coherence (MWC) and the outcomes showed that when the third variable is considered, the influence of the second and third variables is strong and significant. Lastly, we applied the frequency domain causality test to validate the causality between CO2 and the regressors at various frequencies. The outcomes disclosed that in the long term, economic growth, energy utilization, and trade openness can predict CO2 emissions.

Conclusion and policy suggestions

Conclusion

In the present study, we applied the wavelet correlation, multiple and partial wavelet coherence, and wavelet coherence to assess the comovements over time and frequency between CO2 and the regressors using a dataset from 1965 to 2019. As previously mentioned, the wavelet method in the spectral context was utilized in the present research to assess the comovements between CO2 emissions and regressors over time and different frequency bands, as well as to elucidate the lead/lag connection. The research’s main contribution is that it matches with prior studies and stresses the use of the wavelet technique in investigating connections between CO2 and GDP, REC, TO, and EC. The research also sought to elucidate how the interconnectedness between the variables under consideration evolves over time and at various frequencies. To the best of the researchers’ knowledge, this is the first study to apply the wavelet tools to assess the connection between CO2 and EC, REC, TO, and GDP in Argentina. Thus, we fill a gap in the ongoing research.

The findings reveal a new perspective on the time and frequency interconnections between CO2 and EC, REC, TO, and GDP in Argentina. The outcomes show how coherence between CO2 and EC, REC, TO, and GDP has evolved and progressed in the time and frequency domain. This investigation demonstrates notable wavelet coherence and strong lead/lag correlations in terms of frequency. From a time perspective, the present analysis demonstrates strong but heterogeneous associations between CO2 and EC, REC, TO, and GDP. Furthermore, research on the phases demonstrates that these comovements are not equal across time scales and are most significant in the short, medium, and long term. The outcomes from the wavelet coherence demonstrated that in the medium term, renewable energy and trade openness decrease CO2 emissions, while in the short, medium, and long term, energy use and economic growth contribute to CO2 emissions.

Policy recommendation

Due to Argentina’s long-term economic ambitions, sustainable development and cleaner growth are a priority. Environmental degradation, on the other hand, may serve as a roadblock to attaining sustainable development objectives. As a result, to decrease pollution, Argentina should launch public awareness campaigns and implement the necessary structural reforms so that income levels can rise without an increase in emissions. Ultimately, our research supports the findings of earlier studies and suggests that cleaner energy and renewable sources could be used as a policy instrument to minimize pollution and harm to the environment. We can draw some useful conclusions for a greener and more sustainable environment based on the aforementioned empirical results for Argentina. These policy consequences may also aid Argentina in meeting the United Nations’ Sustainable Development Goals, which include a greener and cleaner environment as well as increased energy efficiency. According to the conclusions of this research, to lower air pollution levels, authorities should establish stringent regulations, stimulate investment in renewable energy sources, and enhance energy innovation.

Renewable energy consumption improves people’s well-being. Additional energy from economic expansion must be converted into renewable energy sources, necessitating a technical shift, which is an efficient way of reducing CO2. Argentina should make strategic investments and increase research and innovation funds for renewable energy generation. As a result of the increasing growth in the economy, Argentina’s energy demand has also grown, while the proportion of renewable energy in the energy mix has decreased. To stimulate a decrease in the share of fossil fuels in overall energy use, investment in clean energy sources is necessary. Improvements in renewable infrastructure can also be aided by economic growth and income levels. As a result, policymakers should pay special attention to this issue and encourage investment in greener, cleaner technology. Furthermore, companies that rely on fossil fuels and nonrenewable energy sources for production and transportation should find alternative energy sources (renewables).

Limitation of study

A caveat to the present study is that the empirical investigation is subjective toward the influence of energy, economic growth, renewable energy use, and trade openness on CO2 emissions and does not incorporate foreign direct investment, globalization, urbanization, and other determinants of environmental degradation. Furthermore, future studies should also utilize other environmental degradation proxies such as ecological footprint, load factor, and consumption-based carbon emissions to assess these associations.