Introduction

Reducing the adverse effects of climate change is among the main issues in the development policies of countries. The destructive effects of economic growth on the environment have been one of the most talked about and discussed topics in almost every platform over the last decade.

The industrialization has led to heavy consumption of fossil fuels such as oil, natural gas, and coal. The accelerated use of natural resources and the uncontrolled growth of the economies have brought about an environmental problem (Gokmenoglu and Taspinar 2018). The rapid consumption of fossil fuels has led to an increase in greenhouse gas (GHG) emissions density in the atmosphere. The significant increase in the amount of other GHGs, especially carbon dioxide (CO2) in the atmosphere, becomes a significant threat to the environment and human health (Javid and Sharif 2016; Yurtkuran and Terzi 2018).

The environmental Kuznets curve (EKC) hypothesis explains the relationship between environmental pollution and economic growth. The EKC hypothesis is based on the thesis that there is an inverse-U-shaped relationship between the level of economic development and environmental pollution (Wagner et al. 2020). The EKC derives its name from Kuznets’ (1955) claim that there is a nonlinear relationship between income inequality and economic progress. Kuznets (1955) in his work, where he scrutinizes the way economic growth affects income inequality, expressed the relationship between income distribution inequality and per capita income with an inverted-U-shaped curve. Investigating the relationship between environmental indicators and per capita income, Grossman and Krueger (1991) showed that the relationship between per capita income and environmental degradation is similar to the relationship between income inequality and economic increase in the original Kuznets curve. Therefore, this relationship between economic growth and environmental quality is known as EKC (Dogan 2016; Gokmenoglu et al. 2019).

The pioneering studies on EKC were undertaken by Grossman and Krueger (1991), Shafik and Bandyopadhyay (1992), and Panayotou (1993). According to the EKC, environmental degradation increases in the early stages of economic growth, but when income reaches a certain level, this environmental degradation begins to decrease. This relationship can be defined as consumers’ demand for a clean environment increases as their income increases. The research results on EKC vary depending on the selection of dependent and independent variables, the selected country and time interval, the econometric model and empirical methods used (Gokmenoglu and Taspinar 2018).

CO2 emission is used as an indicator of environmental degradation or environmental pollution in studies related to EKC (Dogan 2016). One of the main reasons for this is that CO2 emission is considered a pollutant with global effects. CO2 is directly related to the problems affecting living life on earth, such as the GHG effect, global warming, and climate change (Gokmenoglu and Taspinar 2018). For the above reasons, CO2 emissions were used as the dependent variable in the model in our study.

Agriculture and the environment are intertwined. Activities in the agricultural sector cause GHG emissions. Causes of GHG emissions from agriculture include livestock farming, rice farming, enteric fermentation, and mismanagement of fertilizer use (Ramachandra et al. 2015). GHG emissions from agricultural activities account for about 21% of total human-induced GHG emissions (Liu et al. 2017a).

The primary purpose of this study is to test the hypothesis that the agricultural sector may be the cause of environmental pollution for Azerbaijan. Besides, the impact of gross domestic product (GDP) and energy consumption on carbon emissions is being investigated. Accordingly, firstly, standard unit root tests such as augmented Dickey and Fuller (ADF) (1981) and Phillips and Perron (PP) (1988) were performed. Also, the Zivot and Andrews (1992) unit root tests, which take into account the structural breaks in the series, determined the degree of stability of the series. Then, the short- and long-term relationships between the series were determined with the autoregressive distributed lag (ARDL) bound test developed by Pesaran et al. (2001). Finally, with the help of Toda-Yamamoto (1995) causality analysis, the existence of causality relationships amid the variables was determined.

Literature review

Increasing environmental problems have resulted in a wide range of literature, and a significant portion of this research has been conducted by using the EKC hypothesis. These studies using EKC used diverse methods and diverse data sets (Gokmenoglu et al. 2019). The first studies on the EKC hypothesis only tested the relationship between economic growth and environmental pollution. In later studies, variables that are likely to affect environmental degradation such as foreign direct investment (Lau et al. 2014; Ibrahiem 2015; Abdouli and Hammami 2017; Mahmood and Alkhateeb 2018; Mahmood et al. 2019), trade (Zhang et al. 2017; Lu 2018; Amri 2018; Habib-Ur-Rahman et al. 2020), water use (Duarte et al. 2013; Katz 2015; Choi et al. 2015; Gu et al. 2017; Sun and Fang 2018), energy consumption (Alkhathlan and Javid 2013; Salahuddin and Gow 2014; Alam et al. 2016; Keho 2017; Usman et al. 2019), and renewable energy consumption (Al-mulali et al. 2016; Sinha and Shahbaz 2018; Zhang 2019; Bulut 2019; Yao et al. 2019) were added to the model as independent variables.

In the literature, there are studies in which some economic sectors are included in the model to investigate the adverse effects of economic growth on environmental quality. Among these, studies related to transportation (Cox et al. 2012; Liddle 2015; Nassani et al. 2017), tourism (Katircioglu 2014; De Vita et al. 2015; Zhang and Gao 2016), oil (Balaguer and Cantavella 2016; Boufateh 2019; Fethi and Rahuma 2019), and finance (Adjei Kwakwa et al. 2018; Shujah-ur-Rahman et al. 2019; Destek and Sarkodie 2019) sectors are more common.

Studies on the impact of agricultural activities on CO2 emissions have received little attention from academics and economists. Few studies available have been undertaken in recent years. More work needs to be done, considering the economic importance of the agricultural sector and the role of agricultural production in terms of GHG emissions. Dogan (2016) analyzed the relationship between energy use, agriculture, GDP, the square of GDP and CO2 emissions for Turkey between 1968 and 2016 using the ARDL approach. The results indicate that GDP has a significant positive effect on CO2 emissions in both the long and short period, while agriculture impacts CO2 emissions adversely in both periods. Liu et al. (2017a) examined the relationship between renewable energy consumption, agricultural value-added, and CO2 emissions per capita for four selected The Association of Southeast Asian Nations (ASEAN) countries (Indonesia, Malaysia, Philippines, and Thailand) in the period 1970–2013. The results of the study do not support the inverted-U-shaped EKC hypothesis: increased renewable energy and agriculture reduce carbon emissions. In another research, Liu et al. (2017b) examined the relationship amid renewable and non-renewable energy, agriculture, and CO2 emissions per capita using 1992–2013 period data for BRICS (Brazil, Russia, India, China, and South Africa) countries. The test results show that non-renewable energy and agriculture have positive effects on carbon emissions. Gokmenoglu and Taspınar (2018) examined the effect of energy use, agricultural value-added, GDP per capita, and the square of GDP per capita on CO2 emissions between 1971 and 2014 for Pakistan. Toda-Yamamoto causality test and FMOLS (fully modified ordinary least squares) method were used in the study. They concluded that GDP has a positive elastic effect on carbon emissions, and energy use and agricultural value-added have an inelastic positive effect. In another study, Dogan (2019) analyzed the long-term relationship between agricultural production and China’s CO2 emissions using annual data covering the years 1971–2010. She used the ARDL approach to determine the existence of a long-term relationship between CO2 emissions and agriculture. FMOLS, DOLS (dynamic ordinary least squares), and CCR (canonical cointegrating regression) methods were used as cointegration methods. The results of the study suggest that agriculture increases China’s long-term carbon emissions. Qiao et al. (2019) tested the relationship between renewable energy, economic growth, agriculture, and carbon emissions for the G20 (Group of Twenty—19 countries and the EU) countries in the period from 1990 to 2014. Panel unit root test and FMOLS cointegration test were used in the study. According to test results, agriculture significantly increases carbon emissions in G20 countries. Burakov (2019) examined the effects of energy use, GDP, the square of GDP, and the share of agriculture in GDP over carbon emissions in the period of 1990–2016, through the EKC hypothesis model. ARDL mechanism was used in the study to evaluate the short- and long-term relationships amid variables. It is concluded that the agricultural sector is a statistically significant determinant of CO2 emissions in Russia.

In addition to the research cited above, further research in the literature confirms the impact of agricultural activities on CO2. Table 1 summarizes the recent literature on the relationship between agriculture and CO2 emissions.

Table 1 Review of the recent literature on agriculture–CO2 emissions nexus

The literature review has revealed a small number of studies that test the validity of the EKC hypothesis regarding the Azerbaijani economy in general or its sub-sectors (Mikayilov et al. 2018; Hasanov et al. 2018; Mikayilov et al. 2019). The importance of the agricultural sector in the economy, the changing relationship between agriculture and environment, and the patterns of energy use in agriculture have made agriculture a vital issue to be investigated within the EKC framework. However, the study investigating the impact of the agricultural sector on environmental pollution within the EKC framework has not been carried out to the best of our knowledge. This study aims to fulfil this gap.

Data source and econometric methodology

Data sources

This study aims to empirically analyze the long-term relationship between agricultural production and CO2 emissions in Azerbaijan. We obtained data from the World Development Indicators (WDI) directory covering the years 1992–2014. All data used are included in the model by taking the natural logarithm. Since data on CO2 emissions for Azerbaijan in the World Bank database covers the years 1992–2014, this period was used in the study. The study consists of one dependent and four independent variables, and there are 23 observations for each variable. CO2 emission (metric tons per capita) was used as the dependent variable; GDP per capita (constant 2010 US$ per capita), energy consumption (kg of oil equivalent per capita), and agricultural value-added (constant 2010 US$) were used as independent variables. Figure 1 includes the graphs related to the series of variables used in the model.

Fig. 1
figure 1

Graphical representation of the series in the model. InCO2, the natural log carbon dioxide emissions; lnGDP, the natural log real income; lnENG, the natural log of energy consumption, lnAGRI, the natural log agricultural value-added

Examination of Fig. 1 reveals that there was a decrease in CO2 emission per capita and energy consumption per capita between 1992 and 2014. However, there had been various fluctuations during the periods. GDP per capita and agricultural value-added have increased steadily starting from the end of 1990s.

Econometric model

This analysis based on the work of Dogan (2016), Gokmenoglu and Taspinar (2018), and Gokmenoglu et al. (2019) to see whether agricultural activities impact environmental pollution. Therefore, the model has been determined as in Eq. (1).

$$ {CO}_2=f\left( GDP,{GDP}^2, ENG, AGRI\right)\kern2.5em $$
(1)

Model in Eq. (1) was reconfigured and converted into a linear-logarithmic model.

$$ {lnCO}_{2t}={\beta}_0+{\beta}_1{lnGDP}_t+{\beta}_2{(lnGDP)}_t^2+{\beta}_3{lnENG}_t+{\beta}_4{lnAGRI}_t+{\varepsilon}_t\kern4.75em $$
(2)

In the model, ln refers to the natural logarithm, while β refers to the rate of effect of independent variables on the dependent variable. lnCO2 is the natural log CO2 emissions (metric tons per capita), lnGDP is the natural log real income (constant 2010 US$), lnGDP2 is the square of natural log real income, lnENG is the natural log of energy consumption (kg of oil equivalent per capita), lnAGRI is the natural log agricultural value-added (constant 2010 US$), and εt to the error term.

Stationarity tests and structural break test

The first concept met in studies on time series is stationarity. Therefore, first, whether the series is stationary is checked. If the series is not stationary, there is a false regression problem in the analysis (Granger and Newbold 1974). The false regression problem causes the relationship between variables to be incorrect. In this study, augmented Dickey and Fuller (ADF) (1981) and Phillips and Perron (PP) (1988) unit root tests were used to test the stationarity of the series. ADF and PP unit root tests do not take structural breaks into account. Since the study covers 23 years, many structural changes in the economy may occur in this period. The results of the Zivot and Andrews (1992) test, which included structural breaks, were also taken into account. For unit root tests, the H0 hypothesis states that the series contains a unit root and is not stationary.

In contrast, the H1 hypothesis states that the series does not contain a unit root and is therefore stationary. Various methods can be used to determine the lag lengths in the models. The most common of these are Akaike information criterion (AIC), Schwarz information criterion (SIC), Bayesian information criterion (BIC), and Hannan-Quin criterion (HQC). In order to determine the appropriate lag length in the study, the AIC was preferred.

Cointegration analysis: ARDL bound testing approach

Various cointegration tests are used in time-series studies to research long-term relationships amid variables. Among the cointegration tests, the most commonly used in the literature are Engle and Granger (1987) test, Johansen (1988) test, and Johansen and Juselius (1990) tests. However, to apply these tests, all variables must be at first level stationary. In other words, all variables must be I(1). This provision causes some problems in the application. This problem has been solved with the ARDL approach developed by Pesaran and Smith (1998), Pesaran and Shin (1999), and Pesaran et al. (2001). This approach has been widely used in cointegration analysis recently. ARDL bound test approach has some advantages over other cointegration tests. This method can be applied regardless of whether the degree of integration of the series is I(0) or I(1) (Tang 2003). In other words, the level of integration of the relevant variables may not be the same as expected. Another advantage is that it can be applied to small samples. Even in these cases, it produces consistent and reliable results. When using this method, it is essential to note that the series is not integrated in the second or higher order (Narayan and Narayan 2004). Due to these advantages, we preferred the ARDL model and is formulated as in Eq. 3.

$$ \Delta {\mathrm{CO}}_{2\mathrm{t}}={\upalpha}_0+\sum \limits_{i=1}^m{\alpha}_{1i}\Delta {CO}_{2t-i}+\sum \limits_{i=0}^m{\alpha}_{2i}\Delta {GDP}_{t-i}+\sum \limits_{i=0}^m{\alpha}_{3i}\Delta GDP{2}_{t-i}+\sum \limits_{i=0}^m{\alpha}_{4i}\Delta {ENG}_{t-i}+\sum \limits_{i=0}^m{\alpha}_{5i}\Delta {AGRI}_{t-i}+{\alpha}_6{CO}_{2t-1}+{\alpha}_7{GDP}_{t-1}+{\alpha}_8 GDP{2}_{t-1}+{\alpha}_9{ENG}_{t-1}+{\alpha}_{10}{AGRI}_{t-1}+{\mu}_t\kern8.5em $$
(3)

In this model, ∆ illustrates the first difference operator, the error term in the μ t period, and m stands for the optimal lag length. Furthermore, the coefficients α1, α2, α3, α4, and α5 indicate the short-term relationship between the variables, while the coefficients α6, α7, α8, α9, and α10 express the long-term dynamic relationship between the variables.

The ARDL bound test offers the possibility to test the long-term relationship between variables, cointegration, in other words, according to the following alternative hypotheses. The null hypothesis (H0) in Eq. 4 indicates that there is no cointegration relationship between the variables, and the alternative hypothesis (H1) indicates the cointegration relationship between the variables.

$$ {H}_0:{\alpha}_6={\alpha}_7={\alpha}_8={\alpha}_9={\alpha}_{10} $$
$$ {H}_1:{\alpha}_6\ne {\alpha}_7\ne {\alpha}_8\ne {\alpha}_9\ne {\alpha}_{10}\kern3.25em $$
(4)

In order for the limit test to be applied, the lag length shown as m in Eq. (3) must be determined first. Schwarz information criterion (SIC) was used to determine the lag length. For the bound test, the value at which the optimum lag length SIC is the smallest is selected. The bound test method is based on the F statistic or Wald statistic. The F value obtained from the model is compared with the lower and upper limit values calculated by Pesaran et al. (2001) and Narayan (2005). The critical values obtained by Pesaran et al. (2001) are produced for samples with a large number of observations (between 500 and 1000); it should be noted that it might yield misleading results in studies with small sample size. Therefore, Narayan (2005) created new critical values for sample sizes based on 30 to 80 observations. Since the sample size is 23, critical values calculated by Narayan (2005) were used in our study. If the calculated F statistic is less than the critical value of the lower bound, the null hypothesis is accepted and it is decided that there is no cointegration relationship between the series. If the F statistic is between the critical values of the upper and lower bounds, a definite interpretation cannot be made. In the case that the F statistic is higher than the critical value of the upper bound, the null hypothesis is rejected and it is concluded that there is a cointegration relationship between the dependent variable and the estimators. This result means that the variables used in the study act together in the long term. If there is a cointegration relationship between the series, ARDL models are established to determine the long- and short-term relationships. Long-term coefficients are obtained after understanding that the model has a cointegration relationship. In order to estimate the long-term coefficients, the ARDL model (5) is created.

$$ {\mathrm{CO}}_{2\mathrm{t}}={\upalpha}_0+\sum \limits_{i=1}^m{\alpha}_{1i}{CO}_{2t-i}+\sum \limits_{i=0}^m{\alpha}_{2i}{GDP}_{t-i}+\sum \limits_{i=0}^m{\alpha}_{3i} GDP{2}_{t-i}\sum \limits_{i=0}^m{\alpha}_{4i}\Delta {ENG}_{t-i}+\sum \limits_{i=0}^m{\alpha}_{5i}{AGRI}_{t-i}+{\mu}_t\kern3.5em $$
(5)

After determining the coefficients of the long-term relationship, the model’s diagnostic tests are checked and the suitability of the model is decided. An error correction model based on ARDL is used to determine short-term relationships between variables (shown in Eq. 6).

$$ \Delta {\mathrm{CO}}_{2\mathrm{t}}={\upalpha}_0+\sum \limits_{i=1}^m{\alpha}_{1i}\Delta {CO}_{2t-i}+\sum \limits_{i=0}^m{\alpha}_{2i}\Delta {GDP}_{t-i}+\sum \limits_{i=0}^m{\alpha}_{3i}\Delta GDP{2}_{t-i}+\sum \limits_{i=0}^m{\alpha}_{4i}\Delta {ENG}_{t-i}+\sum \limits_{i=0}^m{\alpha}_{5i}\Delta {AGRI}_{t-i}+{\alpha}_6{ECT}_{t-1}+{\mu}_t $$
(6)

ECTt − 1 refers to the error correction term in the model. The coefficient of ECM (error correction model) shows how much of the effect of a shock occurring in the short term will disappear in the long term (Pesaran et al. 2001). In order to investigate the stability of the ARDL model and to determine whether there are structural breaks related to variables, cumulative sum (CUSUM) and cumulative sum of squares (CUSUMSQ) test recommended by Brown et al. (1975) are widely used. If CUSUM and CUSUMSQ values are within the critical limits at 5% significance level, then H0 is accepted, which indicates that the coefficients in the ARDL model are stable.

Causality test

After the cointegration relationship between the variables in the study was established, the causality test was performed to determine the causality relationship. The tests commonly used in the literature for determining the causality relationship are Granger and Toda-Yamamoto causality tests. For the causality test developed by Granger (1969) to be applied, the series should be stationary. If there is cointegration, there should be at least one-way causal relationship between them. For non-stationary series, Granger causality test is applied after the first difference is taken. This requirement is not sought in the causality test developed by Toda and Yamamoto (1995). The Toda-Yamamoto (1995) causality test is based on the VAR model and can be applied regardless of whether the series contain unit-roots. Toda-Yamamoto causality analysis uses the standard vector autoregressive (VAR) model that is created by using the level values of the series. Then, the optimal lag length (k) of the VAR model is determined. The next step is to have a maximum degree of integration (dmax) for the variables used. The maximum degree of integration (k+dmax) is then added to the lag length. Finally, the causal relationships between the series are decided by applying the Wald (MWald) test developed for the first k of the coefficients in the model for the (k+dmax) lag length (Toda and Yamamoto 1995). For the Toda-Yamamoto causality test, Eq. (7) was created in line with the variables in the model.

$$ \left[\begin{array}{c}\mathrm{l}{\mathrm{nCO}}_2\\ {}\mathrm{l}\mathrm{nGDP}\\ {}{\mathrm{lnGDP}}^2\\ {}\mathrm{l}\mathrm{nENG}\\ {}\mathrm{l}\mathrm{nAGRI}\end{array}\right]=\left[\begin{array}{c}\upalpha \\ {}\upbeta \\ {}\updelta \\ {}\upvarphi \\ {}\upvartheta \end{array}\right]+\sum \limits_{i=1}^k\left[\begin{array}{c}{\mathrm{b}}_{11\mathrm{i}}\kern0.75em {\mathrm{b}}_{12\mathrm{i}}\kern0.75em {\mathrm{b}}_{13\mathrm{i}}\kern0.75em {\mathrm{b}}_{14\mathrm{i}}\kern0.75em {\mathrm{b}}_{15\mathrm{i}}\\ {}{\mathrm{b}}_{21\mathrm{i}}\kern0.75em {\mathrm{b}}_{22\mathrm{i}}\kern0.75em {\mathrm{b}}_{23\mathrm{i}}\kern0.5em {\mathrm{b}}_{24\mathrm{i}}\kern0.75em {\mathrm{b}}_{25\mathrm{i}}\\ {}{\mathrm{b}}_{31\mathrm{i}}\kern0.75em {\mathrm{b}}_{32\mathrm{i}}\kern0.75em {\mathrm{b}}_{33\mathrm{i}}\kern0.75em {\mathrm{b}}_{34\mathrm{i}}\kern0.75em {\mathrm{b}}_{35\mathrm{i}}\\ {}{\mathrm{b}}_{41\mathrm{i}}\kern0.75em {\mathrm{b}}_{42\mathrm{i}}\kern0.75em {\mathrm{b}}_{43\mathrm{i}}\kern0.75em {\mathrm{b}}_{44\mathrm{i}}\kern0.75em {\mathrm{b}}_{45\mathrm{i}}\\ {}{\mathrm{b}}_{51\mathrm{i}}\kern0.75em {\mathrm{b}}_{52\mathrm{i}}\kern0.75em {\mathrm{b}}_{53\mathrm{i}}\kern0.75em {\mathrm{b}}_{54\mathrm{i}}\kern0.75em {\mathrm{b}}_{55\mathrm{i}}\end{array}\right]\times \left[\begin{array}{c}\mathrm{l}{\mathrm{nCO}}_{2\mathrm{t}-\mathrm{i}}\\ {}\mathrm{l}{\mathrm{nGDP}}_{\mathrm{t}-\mathrm{i}}\\ {}{{\mathrm{lnGDP}}^2}_{\mathrm{t}-\mathrm{i}}\\ {}{\mathrm{lnENG}}_{\mathrm{t}-\mathrm{i}}\\ {}{\mathrm{lnAGRI}}_{\mathrm{t}-\mathrm{i}}\end{array}\right]+\sum \limits_{j=k+1}^{d_{max}}\left[\begin{array}{c}{\mathrm{b}}_{11\mathrm{j}}\kern0.75em {\mathrm{b}}_{12\mathrm{j}}\kern0.75em {\mathrm{b}}_{13\mathrm{j}}\kern0.75em {\mathrm{b}}_{14\mathrm{j}}\kern0.75em {\mathrm{b}}_{15\mathrm{j}}\\ {}{\mathrm{b}}_{21\mathrm{j}}\kern0.75em {\mathrm{b}}_{22\mathrm{j}}\kern0.75em {\mathrm{b}}_{23\mathrm{j}}\kern0.5em {\mathrm{b}}_{24\mathrm{j}}\kern0.75em {\mathrm{b}}_{25\mathrm{j}}\\ {}{\mathrm{b}}_{31\mathrm{j}}\kern0.75em {\mathrm{b}}_{32\mathrm{j}}\kern0.75em {\mathrm{b}}_{33\mathrm{j}}\kern0.75em {\mathrm{b}}_{34\mathrm{j}}\kern0.75em {\mathrm{b}}_{35\mathrm{j}}\\ {}{\mathrm{b}}_{41\mathrm{j}}\kern0.75em {\mathrm{b}}_{42\mathrm{j}}\kern0.75em {\mathrm{b}}_{43\mathrm{j}}\kern0.75em {\mathrm{b}}_{44\mathrm{j}}\kern0.75em {\mathrm{b}}_{45\mathrm{j}}\\ {}{\mathrm{b}}_{51\mathrm{j}}\kern0.75em {\mathrm{b}}_{52\mathrm{j}}\kern0.75em {\mathrm{b}}_{53\mathrm{j}}\kern0.75em {\mathrm{b}}_{54\mathrm{j}}\kern0.75em {\mathrm{b}}_{55\mathrm{j}}\end{array}\right]\times \left[\begin{array}{c}\mathrm{l}{\mathrm{nCO}}_{2\mathrm{t}-\mathrm{j}}\\ {}\mathrm{l}{\mathrm{nGDP}}_{\mathrm{t}-\mathrm{j}}\\ {}{{\mathrm{lnGDP}}^2}_{\mathrm{t}-\mathrm{j}}\\ {}{\mathrm{lnENG}}_{\mathrm{t}-\mathrm{j}}\\ {}{\mathrm{lnAGRI}}_{\mathrm{t}-\mathrm{j}}\end{array}\right]+\left[\begin{array}{c}{\upvarepsilon}_{1\mathrm{t}}\\ {}{\upvarepsilon}_{2\mathrm{t}}\\ {}{\upvarepsilon}_{3\mathrm{t}}\\ {}{\upvarepsilon}_{4\mathrm{t}}\\ {}{\upvarepsilon}_{5\mathrm{t}}\end{array}\right] $$
(7)

Empirical results and discussion

This section presents and discusses the empirical results. Table 2 presents the basic descriptive statistics and correlation values of the variables used in the study.

Table 2 Descriptive statistics and correlation of the variables

According to the correlation matrix results, there is a strong relationship between energy consumption and CO2 in a positive way and between agricultural value-added and GDP in a negative way. Descriptive statistics and correlation matrix provide some preliminary information about the relationships between variables. However, econometric analysis methods will be used to obtain more valid information about the relationships between variables.

Result of the unit root tests

The stationarity of the series should be investigated before proceeding to cointegration analysis. In studies with non-stationary time series, false regression problems arise. On the other hand, to be able to apply ARDL approach, the series must be maximum first-order stationary. For this reason, first of all, the stationarity test was carried out with the help of ADF and PP unit root tests. The results of the test are presented in Table 3.

Table 3 Augmented Dickey and Fuller (ADF) and Phillips and Perron (PP) unit root tests

The results of Table 3 show that all series have unit roots in their levels. Nevertheless, all series have become stationary when the first differences are taken. One of the reasons why time series are not stationary is that there are structural breaks in the series in question. Therefore, the Zivot and Andrews (1992) test was also used for unit root analysis, taking into account the presence of structural breaks. Zivot and Andrews (1992) test investigates the existence of structural breakage in series with three different models. Model A depicts only a break in the intercept; model B, a break only in trend; and model C, both break intercept and trend. The zero hypothesis for the Zivot and Andrews (1992) test is that the series contains a unit root, while the alternative hypothesis is that there is no unit root in the series, meaning that the series is stationary. Table 4 contains the results of the Zivot and Andrews test.

Table 4 Results of Zivot and Andrews (ZA) structural break unit root test

When we look at the results reported in Table 4, it is seen that the series are stationary when the first difference is taken. This result reveals that all variables are stationary in their first difference [I(1)] with structural breaks.

ARDL bound test

Once the integration level of the variables involved in the analysis is determined, the second prerequisite for the ARDL model is the determination of the appropriate lag length. The appropriate lag length for the ARDL model has been determined by using the VAR model. AIC, SIC, and HQC information criterion values are used to determine the lag length. The lag length for which the minimum critical value is provided is determined as the lag length for the model. However, there should be no autocorrelation problem in the model created with the associated lag length. In this study, the optimal lag length was determined as 2. There is no autocorrelation problem in the model, which has a lag length of 2. The results of the test for lag length are given in Table 5.

Table 5 Lag length selection criteria for cointegration VAR lag order selection criteria

Following the determination of the appropriate lag level, the cointegration relationship between the series was investigated. Table 6 shows the cointegration test results. As can be seen from the table, the value of the F statistic that tests the long-term relationship was found to be 8.859. This value was found to be higher than the critical value of the upper bound at the 1% significance level indicated by both Narayan (2005) and Pesaran et al. (2001).

Table 6 ARDL bound test

The result satisfies the criteria for continuing the analysis; hence, the existence of a cointegration relationship between the variables used in the model has been proved.

After determining the existence of a cointegration relationship between variables, we estimate the coefficients of the long-term relationship between variables. The Schwarz information criterion was used to determine the lag length for long-term relationships. Since the VAR analysis in Table 5 finds the most appropriate lag length that does not cause autocorrelation as lag 2, the analysis was first performed with a lag length of 2. However, the autocorrelation problem has arisen in this ARDL model with lag 2. Consequently, the ARDL (1,0,1,1,0) long-term model without autocorrelation problem was deemed to be appropriate. The long- and short-term equation results of the cointegration relationship are included in Table 7. The results support each other in the long and short term.

Table 7 Summary of ARDL cointegration and long-run coefficient estimation

When the long-term relationship results between the variables are analyzed, it is seen that there is a statistically significant relationship between the independent variables GDP and energy consumption and the dependent variable CO2 emission at a 1% significance level. When we evaluate these relationships according to the signs, it is concluded that there is a positive impact of GDP and energy consumption on CO2. In this case, while other factors are constant, a 1% increase in GDP and energy consumption increases carbon emissions by 2.7% and 1.1%, respectively. This statistically significant (p < 0.01) and positive (1.10) relationship between energy consumption and CO2 emission is an indication of energy consumption causing environmental degradation in Azerbaijan.

This result probably occurs since most of the energy consumption in Azerbaijan is derived from non-renewable energy. Compared to the literature, this study is consistent with the results of Jalil and Mahmud (2009), Apergis and Payne (2010), Ozturk and Al-Mulali (2015), and Amri (2017). Economic growth increases CO2 emissions in the long term as a result of intensive consumption of increasing energy, especially fossil energy sources, for production purposes. This result is in line with the findings of Apergis et al. (2010) who obtained data from 19 developed and developing countries. Besides, the determination of GDP coefficient as positive (2.69), statistically significant (p < 0.01), and GDP square coefficient being negative (− 0.16), statistically significant (p < 0.01), indicates that there is an inverted-U-shaped relationship between environmental pollution and income (β1 > 0, β2 < 0). In other words, the EKC hypothesis in Azerbaijan is valid for the period 1992–2014. According to this result, the increase in income level initially increases environmental pollution, and as the income level rises, environmental improvement begins. This result shows that Azerbaijan focuses on economic growth rather than environmental quality. A significant negative relationship was found between agricultural value-added and carbon emissions at 1% significance level. According to this result, a 1% increase in agricultural value-added reduces CO2 emissions by 0.4% in the long term. This result can be explained as the necessity to use energy more efficiently or to use more renewable energy in Azerbaijan’s agricultural sector. The finding that agricultural production reduces CO2 emissions is in line with the work of Dogan (2016), Liu et al. (2017a), Ben Jebli and Ben Youssef (2017), and Ben Jebli and Ben Youssef (2019).

The short-term results show that there is a positive impact on GDP and energy consumption on CO2 emissions, as well as a negative impact on agricultural value-added, as in the long term. The fact that the error correction coefficient obtained by the error correction model − 1.540242 (0.0000) is statistically significant and negative indicates that the short-term equilibrium deviations in the model are balanced in the long term. Narayan and Smyth (2006) have stated that if the coefficient of the error correction variable is greater than 1, the system fluctuates and stabilizes. This fluctuation decreases each time, making it possible to return to equilibrium in the long term.

Diagnostic tests of the model

Diagnostic tests have been conducted to determine whether the model is functional or not. The diagnostic test results presented in Table 8 show that autocorrelation, normality, changing variance, and model building error test statistics are acceptable in the predicted model.

Table 8 ARDL diagnostic tests results

CUSUM and CUSUMSQ stability tests were also performed to test the structural stability in the predicted long-term model. Figure 2 shows these tests. When we look at the CUSUM and CUSUMSQ test results, it is seen that the predicted model is stable during the relevant period.

Fig. 2
figure 2

CUSUM and CUSUMSQ stability tests

Granger causality test

The results of the cointegration test provide information about whether there is a long-term relationship between the variables. Nevertheless, this does not inform us about the direction of the relationship. Finally, the Toda-Yamamoto Granger causality test was applied to determine the direction of the relationship between the variables (Table 9).

Table 9 Toda and Yamamoto Granger causality analysis

The Toda-Yamamoto (1995) causality test results show that GDP and carbon emissions, square of GDP, and CO2 emissions have bidirectional causal relationships. Several studies support bidirectional causation between economic growth and carbon emissions (Rehdanz and Maddison 2008; Halicioglu 2009). Furthermore, there is a unidirectional Granger causality running from energy consumption to CO2 emission. Similarly, the causal relationship seen running from energy consumption to emission is supported by Shahbaz et al. (2013, 2015) and other studies. The unidirectional Granger causality from energy consumption towards economic growth confirmed the energy-dependent growth hypothesis for Azerbaijan during the period studied. This result shows that the Azerbaijani economy is dependent on energy and that energy makes an essential contribution to the economic increase. There are numerous studies in the literature pointing out that economic growth is dependent on energy (Lee and Chang 2005; Solarin and Shahbaz 2013; Iyke 2015)

Conclusion

This study tests the hypothesis that whether the agricultural sector causes environmental pollution for Azerbaijan. The hypothesis was examined through the ARDL boundary test method based on annual data covering the period 1992–2014. Analyses have shown that agriculture does not have a positive effect on CO2 emissions for the period investigated. Conversely, a negative association was found between agricultural value-added and CO2 emissions. In other words, the increase in agricultural value-added reduces carbon emissions. The negative relationship between the agricultural sector and CO2 emissions suggests that the growth of the agricultural sector and the increase of agricultural production will have a positive effect on CO2 emissions in Azerbaijan.

This research additionally revealed a significant positive relationship between energy use and CO2 emissions and between GDP and CO2 emissions. This finding suggests that the increase in energy consumption, which provides economic growth, causes an increase in CO2 emissions. Meeting the increasing energy demand mostly through the consumption of fossil fuels (oil, natural gas, coal) eventually increases carbon emissions. According to calculations, approximately 60% of the total CO2 emissions at the global level are due to fossil fuel use (Meng and Niu 2011).

Inclusion of the coefficients of per capita real GDP and squared GDP in the model to analyze the inverted-U-shaped relationship between economic growth and environmental pollution confirmed the validity of the EKC hypothesis. The experimental data of Toda-Yamamoto causality test indicate unidirectional causality running from energy consumption to carbon emissions, and agriculture value-added to CO2 emissions. The bidirectional causal relationship is observed between GDP and CO2 emissions and between the square of GDP and CO2 emissions. The presence of one-way causality from energy consumption to economic growth once again confirms to us that economic growth depends on energy.

This research shows how carbon emissions are related to the agricultural sector in Azerbaijan. The result showing that the increase in agricultural production does not increase CO2 emissions, and does not cause environmental pollution, offers a unique opportunity for the development of Azerbaijani agriculture. The results of this study could serve as a guide for policymakers in developing countries trying to develop through industrialization rather than focusing on agricultural development, to formulate effective policies on environmental protection.

Policymakers should continuously monitor and measure the environmental impact of agriculture while increasing the share of agriculture in the Azerbaijani economy, and take into account that agriculture will adversely affect environmental degradation in the long term if agriculture continues with old traditional methods. Farmers should be informed about the latest agricultural developments and current environmental issues. They should be encouraged to be more interested in environmental issues, and take up practices such as precision agriculture, green farming, good farming practices, and green products in order to reduce the environmental degradation caused by agricultural activities. Agricultural production models must be quickly shifted in this direction, to be able to gain access to markets with high export potential, such as the European Union. The government should reassure farmers to adopt innovative and environmentally friendly technologies by providing rewards, incentives, and long-term and interest-free loans. Precisely, pioneer farmers should feel confident that they will get state support if they go ahead and invest in less polluting technologies. Furthermore, it is vital to invest in clean agriculture and simultaneously reinstate polluting energy consumption forms with renewable energy while promoting high-income growth. The state should encourage the use of alternative energy sources in other sectors as well as a substitute for fossil fuels, and long-term structural reforms should be implemented to increase the share of these resources in total energy consumption. Increasing the share of renewable energy in total energy consumption can be useful for reducing CO2 density in the country. Besides, CO2 capture and storage technologies should be used to prevent environmental pollution. CO2 taxes should be introduced to reduce CO2 emissions. Coal-fired power plants and emissions from these facilities can be reduced by introducing substitute energy sources. Universities in Azerbaijan should be encouraged to participate in active research, and both the state and private institutions should invest more in research and development (R&D) activities, and raise awareness about using fossil fuel mode of energy efficiently.

As with any research, there are a number of limitations in this research. We analyzed in this study how agricultural production has effected CO2 emissions in Azerbaijan. Future studies should also be carried out to determine the impact of agricultural production not only on CO2 emissions but also on methane (CH4) and nitrous oxide (N2O) gases. Further studies aimed at determining the impact of agricultural production on the ecological footprint will fulfil a necessary gap in Azerbaijan literature. They will serve as an example to similar agrarian countries.

In this respect, our research will guide the relevant authorities both in policymakers for the carbon-friendly growth of agriculture and future studies about the link between carbon emissions and agriculture.