Introduction

In the current era, more attention has been paid on progress activities such as an increase in technologies and new innovations all over the world. There are many technological advancements in every field of life such as in industrialization, motorization and technological innovations in agriculture sector, etc. This study explores the role of agriculture technologies on carbon dioxide emission in Pakistan. There are many agriculture technologies such as hybrid seeds, vertical farming, soil and water sensors, fertilizers, pesticides and machineries. These technologies and innovations have some positive as well as some negative impacts on the economy and environment (Chandio, et al. 2020a, b; Chandio et al. 2020a; Ozturk et al. 2021). The agriculture sector has positive as well as negative effects on environment; positive effects contain provision of natural life and production of oxygen. Agriculture technologies and innovations are increasing agriculture productivity as well as economic growth (Bresnahan and Trajtenberg 1995). On the other hand, negative effects are approaching from the practices of chemical fertilizer, pesticides, stubble burning, soil tillage etc. (Onder et al. 2011).

Agriculture is important for food, livelihood and nutrition (Rehman et al. 2020a). Industries are mostly depending on agriculture productivity for raw materials (Ozturk 2017; Rehman et al. 2019, 2021e). Agriculture growth has supplementary effects on entire economy due to close linkages with other economic sectors (Pathak et al 2014; Chandio et al. 2021a, b). Pakistan is an agrarian economy; hence, agriculture sector is the backbone of Pakistan (Rehman et al. 2019). More than half of the total labor force is linked with the agriculture sector directly or indirectly, and the agriculture sector has made significant contribution to the GDP of this country.

New technologies and innovations not only increase CO2 emission but also contribute to greenhouse gas emissions (GHG). Presently, the world is intensively focusing on sustainable development and controlling environment degradation (Ali et al. 2019; Rehman et al. 2021f; Rehman et al. 2021g). Greenhouse gases include nitrous oxide (N2O), carbon dioxide (CO2) and methane (CH4) among others. There is more contribution of CO2 emission in greenhouse gases rather than nitrous oxide (N2O) gases and methane (CH4). The most significant greenhouse gas (GHG) emissions from agriculture are CO2, N2O and CH4 (IPCC 2007). Indirect energy usage also increases CO2 emission which includes production of pesticide, fertilizer and machinery (Ozkan et al. 2004). According to Internal Panel of Climate Change report (IPCC 2007), agriculture sector is the second source of increasing greenhouse gas (GHG) emission.

Agriculture ecosystem and natural environment are diligently related to each other. Carbon emission generated directly through agriculture production. In the process of agriculture production, inappropriate use of land and use of chemical fertilizers and pesticide in huge amount can lead to an increase in the large amount of carbon (CO2) emission and other greenhouse gas (GHG) emissions that can affect the environment adversely (Chandio et al. 2021a; Rehman et al 2021c). Use of energy as preliminary inputs in agriculture also increases the agriculture productivity (Jaber 2002).

The overuse of pesticides leads to more severe problems such as polluting water and degradation of cropland soils. The elements and substances of pesticides that exist in crops and vegetables transfer into human body and cows’ milk and pass on to the newborns as well. In this situation, poisonous effects are transmitted to next generation (Carey 1991). Pesticides also produced emission even during their manufacturing processes in the industries (Audsley et al. 2009). Use of pesticide in vegetables and fruits creates health problems for consumers because of pesticide residues found in fruits and vegetables (Fantke et al. 2012). Climate change also reduced the agricultural productivity due to increasing water scarcity problem, etc. (Antle & Capalbo 2010; Fallaon and Betts 2010).

Agriculture machineries like tractors, etc., also emit gas emission in the process of tillage (Arapatsakos & Gemtos 2008). Selection of inappropriate machinery for tillage has negative impact on the environment. Use of machineries for a long period of time emits more emission, which have detrimental impact on environment (Sarauskis et al. 2014). Agriculture sector also uses energy such as fuel use in machines for manufacturing process, using inputs for agriculture production such as pesticides which encourage emissions (Marttila et al 2001). The usage of energy is also important factor of environment degradation (Murshed et al. 2021).

The objective of this study is to examine long-run and short-run impacts of agriculture technologies on CO2 emissions in Pakistan. As discussed earlier, agriculture technologies have positive as well as negative effects on the environment and human health (Rehman et al. 2021d). Previous studies also show that the agriculture technologies are increasing carbon emission and greenhouse gas (GHG) emission mostly in developing countries (Eberhardt & Vollrath, 2016; Fantke et al. 2012; Pathak et al. 2014; Rehman et al 2021e). It is pertinent to mention that the level of carbon dioxide emission varies from country to country (Chishti et al. 2021). Pakistan is an agriculture-based country, and agriculture technologies are being used extensively. To the best of our knowledge, there are two studies available on this topic for Pakistan (Rehman et al. 2019; Ullah et. al 2018). However, these studies did not examine the role of pesticide on carbon dioxide emission. Audsley et al. (2009) argue that pesticides produced emissions even during their manufacturing processes. This study departs from previous research include pesticide usage variable along with other agriculture technologies-related variables and overall economic growth in the model. To examine the effect of agriculture technologies on CO2, latest available time series data and econometric techniques are used.

The remaining study contains the following sections. A brief literature review is given in Sect. 2, whereas model, variable transformation, source of data and econometric research methodology are discussed in Sect. 3. Sections 4 contains the results as well as discussions and conclusion along with important policy implications presented in Sect. 5.

Literature review

The effects of agriculture productivity as well as agriculture technologies on environmental quality have been discussed in this literature. On the other side, agriculture sector is also affected by climate change; for example, changes in rainfall pattern, heat waves, increase in average temperature and drought periods. Keeping in view the objective of this study, we reviewed some important studies which explored the determinants of carbon dioxide emission. A summary of the literature review is given in Table 1. Detailed reviews of the previous literature are also presented below.

Table 1 Summary of literature review

Rehman et al. (2021a, b, c, d, e, f, g, h) found positive impact of industrialization, energy import and gross capital formation, whereas negative impact of economic growth on carbon emission in Pakistan by using quantile regression technique. Koondhar et al. (2021) claimed a reduction in carbon emission due to an increase in area of forestry as well as renewable energy; however, agricultural financial development deteriorates environmental quality in China. They applied ARDL technique and used data for the period 1998–2018. Rehman et al. (2021a) applied generalized method of moments (GMM) for analyzing the effect of different crop productions and land use on carbon emission for Pakistan. They found a constructive role of land use, maize wheat, bajra, sugarcane and cotton crops, and detrimental role of temperature, rainfall, barley, jowar and rice for CO2 emission. Weimin et al. (2021) examined the role of fossil fuel and renewable energy along with GDP, globalization, innovation shocks and FDI on carbon emissions in 46 developing countries. This study found positive impact of GDP, FDI and negative innovation shocks, whereas negative impact of renewable energy and positive innovation shocks on CO2 emission. According to Rehman et al (2021b), in the long run carbon dioxide emissions are influenced by rainfall and agriculture value added; however, livestock, cereal production and temperature reduce CO2 emission in China. Hussain and Rehman (2021) claimed a detrimental role of population and foreign investment and constructive role of renewable energy for CO2 emission in Pakistan in the long run. Regmi and Rehman et al (2021a, b, c, d, e, f, g, h) claimed that in the long run, population and economic growth reduce, whereas fossil fuel energy and energy utilization enhance carbon emission in Nepal. They also found unidirectional causality prevails among the variables. According to the findings of Khan et al (2021), environmental-related technologies reduce carbon emission both in the short and in the long run; however, financial development, research and development, temperature, natural resources depletion and energy intensity erode environment quality. As per the study of Rehman et al. (2020), temperature, rainfall, water availability and maize crops production positively influence carbon dioxide emission in Pakistan. Rehman et al. (2019) found strong long-run positive impact of per capital GDP, energy usage, crop area, fertilizer offtake and water availability on carbon emissions in Pakistan. They claim negative effect of food grains and seed distributions on carbon emission.

Anwar et al. (2019) explored relationship among agriculture value added, agricultural technologies and CO2 emission for 59 countries by using annual data for the period 1982–2015. They found that nitrogen fertilizer and pesticide effect the environment positively in high-income countries, while agriculture value added leads to a decrease in carbon emission in middle-income countries. Zhang et al. (2019) interpreted correlation among energy consumption, agriculture economic growth and CO2 emission in the agriculture sector of China during 1996 to 2015. This study practices autoregressive distributed lag (ARDL) and vector error correction mechanism (VECM) techniques. Results indicate positive effect of carbon emission with agriculture productivity (A) in the long run and short run. Ismael et al. (2018) found unidirectional causality from fertilizer, agricultural machinery, water accessibility and subsidies to carbon emissions, whereas two-way causality in economic growth and carbon emission in Jordon. Ullah et al. (2018) provided evidence of long-run impact of agriculture machinery, emissions of CO2 equivalent of nitrous oxide from fertilizer, biomass burned crop residues, on carbon emission crop productions in Pakistan. They also found bidirectional causality among carbon emission, crop productions, rice area harvested and agriculture machinery. Appiah et al. (2018) examined the linkage in CO2 emission and agriculture production for five emerging economies (Brazil, Russia, India, China and South Africa) from 1971 to 2013. The results concluded the contribution of livestock production index and crop production index in carbon dioxide emissions. Surprisingly, this study claims a supporting role of energy consumption and population for environmental quality. Ghosh (2018) elaborated the long-run and short-run relationships among carbon emission, agriculture value added, consumption of energy, trade liberalization and financial development in India from the data 1971 to 2013. He claimed that in the long run, consumption of energy, financial development, agriculture value added and trade have positive effects on carbon emission. Liu et al. (2017) concluded the relationship among agriculture, per capita renewable energy, nonrenewable energy and output of BRICS countries from 1992 to 2013. Results demonstrate that both renewable energy and per capita output play a negative role in carbon emissions, while there is positive association among agriculture, CO2 emission and nonrenewable energy. Dogan (2016) examined the agriculture-induced environment Kuznets curve for Turkey by using annual data 1968–2010. The author concludes that there is positive impact of agriculture on environment quality both in the short and in the long run. Edoja et al. (2016) asserted the relationship among agriculture productivity, carbon emission and food security in Nigeria. The results revealed that there is short-run and negative relationship among CO2 emissions, food security and agriculture productivity. Unidirectional causality is found from CO2 emission to agriculture productivity and also from CO2 emissions to food security.

Model, data and methodology:

Model specification and data

To meet the objectives, this study specifies the following model to envisage the impact of different variables of agriculture technologies on carbon emissions.

$${\mathrm{CO}}_{2\mathrm{t}}=\mathrm{f}\left({\mathrm{FER}}_{\mathrm{t}}, {\mathrm{PES}}_{\mathrm{t}}, {\mathrm{TRA}}_{\mathrm{t}}, {\mathrm{GDP}}_{\mathrm{t}}\right)$$
(1)

Here, carbon dioxide emission (CO2) is a function of consumption of fertilizer (FER), pesticide (PES) and agriculture machinery, which represents as the number of tractors (TRA) and economic growth (GDP). For converting the above functional formed model into econometric models, all the variables are transformed into natural logarithmic form. The advantages of converting variables in natural log form are as follows: Firstly, the results of the coefficients can be interpreted into elasticity. Secondly, nonlinearity (if exists) in the series can be eliminated. (Ali et al. 2019). After transformation, the proposed econometric model is as follows:

$${\mathrm{LCO}}_{2\mathrm{t}}=\mathrm{\alpha }+{\upbeta }_{1}{\mathrm{LFER}}_{\mathrm{t}}+{\upbeta }_{2}{\mathrm{LPES}}_{\mathrm{t}}+{\upbeta }_{3}{\mathrm{LTRA}}_{\mathrm{t}}+{\upbeta }_{4}{\mathrm{LGDP}}_{\mathrm{t}}+{\upmu }_{\mathrm{t}}$$
(2)

In the above equation, α is an intercept, β1, β2, β3, β4 are slope coefficients of respective variables, whereas µt is an error term which assumes to have zero mean and constant variance and the subscript t represents time series model. The details about the measurements of variables and sources of the data are given in Table 2. This study uses the annual time series secondary data for the period 1973–2018. Data of carbon dioxide emission are collected from BP Statistical Review of World Energy, 2019 (online link: www.bp.com). Data on real GDP variable are retrieved online from World Development Indicators (WDI), published from World Bank, available at (Online link: https://databank.worldbank.org/source/world-development-indicators). Beside this, data regarding tractor, pesticide and fertilizer are collected from Economic Survey of Pakistan published by Ministry of Finance, Government of Pakistan (Online link: http://www.finance.gov.pk/survey/chapters_16/02_Agriculture.pdf).

Table 2 Measurements of Variables

Econometric methods

Usually time series data contain trends; therefore, it is pertinent to check whether data series have trend or not? Application of ordinary least square technique on non-stationary variables may provide spurious results. To avoid such problem, different econometric tests have been devised in the literature to examine stationarity of the variables that is called unit root analysis. However, augmented Dickey–Fuller (ADF) test, developed by Dickey and Fuller (1979), is widely used in the literature for country-specific time series studies. This study applied ADF test to check the stationarity.

After examining unit root, the next step is to find long- and short-run results. For this purpose, different cointegration techniques are proposed by different econometricians/researchers. Autoregressive distributed lag (ARDL) bond test technique, devised by Pesaran et al. (2001), is one of the latest cointegration techniques and is being extensively used in the literature. Through this technique, both long-run and short-run results can be found. This cointegration technique has numbers of advantage over the other contemporary cointegration techniques. For example, this method is more appropriate for small observations-based study and is applicable if the variables in a model have the mix order of integration. Keeping in view the advantages, this study applies ARDL technique which is based on the following equations:

$${\Delta (LCO}_{2}{)}_{t}=\alpha +{\beta }_{1}{(LCO}_{2}{)}_{t-1}+{\beta }_{2}{(LPES)}_{t-1}+{\beta }_{3}{(LFER)}_{t-1}+{\beta }_{4}{(LTRA)}_{t-1}+{\beta }_{5}{(GDP)}_{t-1}+\sum_{i=1}^{{p}_{1}}{\delta }_{1}{\Delta (LCO}_{2}{)}_{t-1}+\sum_{i=0}^{{p}_{2}}{\delta }_{2}{\Delta (LPES)}_{t-1}+\sum_{i=0}^{{p}_{3}}{\delta }_{3}{\Delta (LFER)}_{t-1}+\sum_{i=0}^{{p}_{4}}{\delta }_{4}{\Delta (LTRA)}_{t-1}+\sum_{i=0}^{{p}_{5}}{\Delta (LGDP)}_{t-1}+{\epsilon }_{t}$$
(3)

In the above equation, Δ is showing the first difference, δi is showing the short-run dynamic coefficients of ARDL equation and βis are parameters. By following this ARDL equation, we can illustrate the short-run and long-run parameters.

$${LCO}_{2t}= \alpha +\sum_{i=1}^{{p}_{1}}{n}_{1}{(CO}_{2}{)}_{t-1}+\sum_{i=0}^{{p}_{2}}{n}_{2}{(PES)}_{t-1}+\sum_{i=0}^{{p}_{3}}{n}_{3}{\left(FER\right)}_{t-1}+\sum_{i=0}^{{p}_{4}}{n}_{4}{(TRA)}_{t-1}+\sum_{i=0}^{{p}_{5}}{n}_{5}{(GDPPC)}_{t-1}+{\epsilon }_{t}$$
(4)

The above is a long-run equation of ARDL that tells about the long-run relationships among the variables.

$${\Delta (\mathrm{LCO}}_{2}{)}_{\mathrm{t}}= +\sum_{\mathrm{i}=1}^{{\mathrm{p}}_{1}}{\upgamma }_{1}{\Delta (\mathrm{CO}}_{2}{)}_{\mathrm{t}-1}+\sum_{\mathrm{i}=0}^{{\mathrm{p}}_{2}}{\upgamma }_{2}\Delta {(\mathrm{PES})}_{\mathrm{t}-1}+\sum_{\mathrm{i}=0}^{{\mathrm{p}}_{3}}{\upgamma }_{3}{\Delta (\mathrm{FER})}_{\mathrm{t}-1}+\sum_{\mathrm{i}=0}^{{\mathrm{p}}_{4}}{\upgamma }_{4}\Delta {(\mathrm{TRA})}_{\mathrm{t}-1}+\sum_{\mathrm{i}=0}^{{\mathrm{p}}_{5}}{\upgamma }_{5}{\Delta (\mathrm{GDPPC})}_{\mathrm{t}-1}+{\mathrm{\omega ECM}}_{\mathrm{t}-1}+{\upepsilon }_{\mathrm{t}}$$
(5)

Equation 5 represents the short-run relationships among the variables. The value of ECM in the short-run equation shows the speed of adjustment and also tells about the convergent and divergent from the long-run equilibrium. The value of δi lies between 0 and -1. If ECM value comes negative, it shows convergence toward the long-run equilibrium and positive sign with ECM shows divergent from long-run equilibrium.

Some diagnostic tests were also applied to check the accuracy of the model, e.g., heteroscedasticity, non-normality and serial correction tests. To check the stability of the model, CUSUM and CUSUMSQ tests are also used.

Results and discussion

Before applying any econometric technique, it is needed to check whether time series data are stationary or not? For this determination, ADF test is applied. This test helps us to understand the selection of further econometric techniques.

The results of unit root test are given in Table 3, wherein Ln abbreviation is used with all the variables, which represents conversion of the respective variables into natural logarithmic form. This table depicts that the variables fertilizer, pesticide and tractor are significant or stationary at level; I (0) with the probability values 0.000, 0.053 and 0.000. Besides this, the variables CO2 and GDP are significant at first differenced with the probability values 0.003 and 0.001. The results from unit root analysis compel to use ARDL bound test technique on the proposed model because selected variables have mixed order of integration. Before applying ARDL, the lag selection criteria are necessary because optimal lag length helps to have robust results. The results of optimal lags according to different lag selection criteria are given in Table 4.

Table 3 Results of ADF test
Table 4 Lag length selection

Bound test is required to check the existence of cointegration in the model. If the value of F-statistics is greater than upper bound I (1), conclusion can be drawn as cointegration among the variables, whereas if the calculated F-statistics values are below that lower bound I (0) we can say that there is no cointegration in the model. The results of calculated F-statistics values along with the lower and upper bound values are given in Table 5.

Table 5 Results of Bound test estimation

The value of F-statistics is 6.279 which is greater than upper bound at one percent level; therefore, it confirmed the cointegration in the model. Hence, long-run relationship exists between carbon emission and agriculture technologies.

To measure the impact of agriculture technologies on carbon emission, the ARDL technique is applied and Table 6 shows the long-run impact of independent variables on dependent variables. The above results show that there is a positive role of fertilizer on carbon emissions; however, this relationship is insignificant. According to UN (2015), farmers in developing countries are using synthetic fertilizers indiscriminately. Therefore, there is a possibility of insignificant impact of fertilizer on carbon emission in Pakistan. This finding of this study is not aligned with the finding of Rehman et al. (2019) who found positive significant impact of fertilizer usage on carbon emissions. As far as agriculture machinery is concerned which represents the number of tractors used, there is negative insignificant of tractors on carbon emission. There is a strong significant relationship between pesticide and carbon emission as one percent increase in pesticide brings 0.082 percent increase in carbon emission. Moreover, this relationship is significant at 5 percent level. There are possible reasons of positive relationship between carbon emission and pesticide in Pakistan. The diseases are increasing in crops and plants due to the environmental degradation, and farmers are using more pesticides to protect their crops from the insects. That is the reason for the demand of pesticide, increasing day by day; hence, the usage of pesticides is deteriorating environment quality. Our findings are aligned with the study of Li et al. (2014) who also found positive relationship between pesticide and carbon emission.

Table 6 Results of long-run estimation

There is also a strong significant relationship between real GDP and carbon emission as 1 percent increase in real GDP brings 1.821 percent increase in carbon emission. Developing countries are focusing on high economic growth through industrialization and over usage of agricultural technologies for more agricultural productivity. Unsustainable economic growth is one of the main reasons of environment degradation. Our findings also confirm that economic growth deteriorates environment quality in Pakistan. The results are in line with Dogan (2016), and Ismael et al. (2018) and Rehman et al. (2019), however, contradictive with the findings of Hussain and Rehman (2021).

Short-run results describe the relationship among the variables for the short period of time and also describe the speed of adjustment. In short-run results, the value is error correction term (ECM) which is important that tells about long-run equilibrium and shows the convergence/divergence from the equilibrium. The negative value of ECM shows the convergence toward the long-run equilibrium, and the positive value of ECM shows the divergence from the long-run equilibrium.

Table 7 shows the short-run cointegration results among the variables. The results depict that lag value of fertilizer has positive but insignificant impact on carbon emission in the short run. The lag value of pesticide has negative and significant relationship, the lag value of tractor has negative and insignificant relationship with carbon emission, and real GDP has positive and significant relationship with carbon emission. The value of ECM coefficient is -0.312 that is showing convergence toward the equilibrium point and confirms that 31% divergence is adjusted in a year.

Table 7 Results of short-run estimation

Table 8 shows the results of different diagnostic tests. Three diagnostic tests, namely heteroscedasticity, serial correlation and normality tests, are applied to confirm robust results of the ARDL technique. In this table, p value of Breusch–Pagan–Godfrey test is insignificant which shows no heteroscedasticity. Similarly, p value of Breusch–Godfrey LM test and Jarque–Bera is 0.341 and 1.632, respectively, which shows that the selected model is free from serial correlation and the series are normally distributed. Figure 1 contains diagrams of CUSUM and CUSUMSQ, and both graphs are between the boundaries of upper bound and lower bound at 5% level of significance that shows the stability of ARDL model. All these diagnostic tests prove that estimations of the model are efficient.

Table 8 Results of different diagnostic tests
Fig. 1
figure 1

CUSUM and CUSUMSQ

According to the long-run results obtained from ARDL analysis, there is a strong relationship between pesticide, real GDP and carbon emission in Pakistan. The reason behind these results is that basically Pakistan is a developing and agriculture-based country; most of the people belong to the agriculture sector and they want to increase their income through agriculture; that’s way they increase the use of agriculture technologies to attain more income. An increase in the use of agriculture technologies day by day, such as pesticide and agriculture machineries, causes environmental degradation in terms of carbon emission in Pakistan. Our results are aligned with the findings of Ismael et al. (2018). The economic reason of positive relationship between pesticide and carbon emission is that the farmers are using more energy inputs to cover up the diseases in crops and to increase the productivity. Therefore, the demand for energy inputs (pesticides, etc.) is increasing, and more industries are being built to produce pesticides in economy so in this way carbon emission is increasing during the manufacturing process of pesticide.

Short-run results are given in Table 7 which show the positive role of pesticide and real income on carbon emission in Pakistan. Besides this, fertilizer has positive and nonsignificant relationship, whereas agriculture tractors also have negative and no significant relationship with carbon emission in the short run. The outcome of the study shows that pesticide and GDP have significant and positive relationship with carbon emission in the long run as well as in the short run because of increasing demand of agriculture technologies for the purpose of increasing agriculture production in Pakistan.

Conclusions and policy implications:

In the present era, significant importance is given to environment quality; therefore, numerous studies envisage the role of different factors on environment quality. Among the others, agriculture technologies are also the reasons of carbon emission which is a main source of environmental degradation. This study explores the role of agriculture technologies on carbon emissions in Pakistan. For this purpose, we applied ARDL technique to have long-run and short-run analysis. Besides that, economic growth is also used as control variables. This study found a positive significant impact of pesticides’ carbon dioxide emission in Pakistan. However, the role of fertilizer usage and tractors is insignificant. This study also found a positive significant impact of economic growth on environment deterioration both in the long and in the short run. To conclude, both pesticide usage as a proxy of agriculture technologies and economic show contribute to carbon emission. This is because Pakistan is predominantly is agro-based economy and heavily focuses on improvement in agriculture sector. It is important to devise mitigation and adaptation policies without reducing economic growth of a country. Important policy implications are proposed based on the findings. First, to increase the sustainable economic growth through agriculture sector, the government needs to introduce the green technologies (organic pesticides, conservation tillage, etc.) that produce less carbon emissions. Second, Pakistan needs to increase investment in the projects of green energy and should stress out the advantages of investment in green energy projects. This study used only three measures of agriculture technologies. In future, this study can be extended by including other factors of agriculture technologies that have direct or indirect impact on carbon dioxide emission in Pakistan.