1 Introduction

Environmental degradation is one of the severe challenges of this time. The word environmental relatively often tends to be related to a particular kind of human impact on the biosphere with the natural system. This circumstance differentiates it from the word ecology which can be categorized as a conception of the interdependence within an ecosystem [1]. Environmental degradation is a big problem not only for local areas, but for the whole planet on a global scale. When the pollutants accumulate in our atmosphere, it creates the concept of the greenhouse effect. It is the basic cause of the global warming. Such high scale warming affects wind and sea water circulation patterns globally, but also directly or indirectly effects local climatic conditions with changes in the patterns of precipitation and temperature. As the global temperature increases, the arctic ice melts more rapidly that increases the sea level [2, 3]. There are particularly five indicators of environmental degradation: Greenhouse gas emission, air contamination, water contamination, deforestation and land degradation that directly damage the environment through human actions [4]. Environmental degradation like land degradation, CO2, NOx, water pollution and soil erosion is an outcome of poor governance and lack of monitoring of the rules and regulation [2, 5, 6].

Pakistan potentially faces a substantial climate change challenge [7]. During the previous 50 years, typically the annual mean temperature inside Pakistan has increased by around 0.5 °C [8]. Usually, the amount of heat absorption trend in days and nights has grown nearly five times in the previous 3 decades. However, the temperature in Pakistan is usually likely to rise by 3 to 5 °C relating to a global warming scenario [9, 10]. This increasing temperature has influence on different industries which include water availability, plant growth, forests, biodiversity conservation and animals. Pakistan lies among the developing countries around the world with a 5.79% gross domestic product growth and per household earnings around $1641 [11, 12]. Large areas of Pakistan experience high heat index, resulting in the reduction in agricultural yield, environmental deterioration and the reduction in forest covered area. The heat index is a threat to the green sector in all Pakistan like Southern Punjab, Southeastern Baluchistan and almost covered all areas of Sindh also extending up to north eastern Baluchistan in Pakistan [13].

In the context of the environmental degradation, Pakistan is facing the ecological degradation problems. With the greater heat trapped in the earth’s surface, the CO2 emissions reached till 1% of the total planet emissions. Pakistan's metropolitan wind streams contaminants which are probably the most severe in the world. The contamination directly affects the activities on the ecosystem and creates the social disharmony and economic instability. The regular level of contaminants in huge metropolitan communities of Pakistan is approximately four times higher than that of the World Health Organization limits [14]. The primary reason for air contamination is NOx. Basically, the NOx is an expression used to describe two types of oxides of nitrogen: nitric oxide (NO) and nitrogen dioxide (NO2). The primary nitrogen oxides discharged from vehicles.

The deforestation is the other factor of the environmental degradation. The forest cover in Pakistan remains lower than 2.23% of total land [15, 16]. The major outcome of the deforestation is the biodiversity loss. The habitat conservation is very important for the stemming this loss. The reduction in the forest area resulted in the reduction in the woody biomass. It shows the long-term relationship with the environmental degradation and social disharmony [17, 18]. The association between environmental degradation and socioeconomic factors becomes the major issue and becomes the focal point of research. Generally, there are three main schools of thought in relation to the causal relationship between FDI, GDP, economic growth and environmental degradation. The first thought is related to the empirical studies which tested the validity of the environmental Kuznets curve (EKC) hypothesis. The second school of thought is the examination focused on the relationship between socioeconomic factors and environmental degradation. The final stream is the examination of the hypothesis that there is a fundamental relationship between industrialization and GDP that is represented by FDI flows and CO2 emissions [19,20,21]. The linkage between environmental degradation and economic growth is directly affected by governance [22, 6].

There are many researchers in the worldwide who studied CO2, NOx and DEF, GDP, FDI, governance and population growth [23, 24]. Researchers claimed that trend of CO2 emissions varies in developed and developing countries. The increase in GDP is the source of the of CO2 emissions in a poor country, but in the case of developed countries the pollution tends to decrease due to good governance and increase in income level [25]. Chen and Huang [26] described the link between NOx emission and economic growth; the study claimed the long-run relationship between GDP, FDI, energy use and CO2 emissions. Cohen et al. [27] also reported the trend relationship between emissions and GDP from the cyclical connection. Meyer et al. [28] stated that deforestation and GDP have the negative relationship within a cyclic way.

The governance is a multidimensional concept and consists of six dimensions like voice and accountability, political stability, government effectiveness, regulatory quality, rules of law and control of corruption [29]. The definition and measurement of governance are given in “Appendix”. The governance plays important role to define business environment, economic security and policies for foreign direct investment within the country. Moreover, international agencies have right to comment and rank each country’s governance situation and allocate a score and rank on the basis of six dimensions of governance annually. The industrial revolution brought explicit changes in the society of England, European continents first and later it affected the developing nations. The invention of the steam engine and use of coal as a primary source of energy leads the industrial revolution. Huge industrial development kept the foundation of urbanization by creating opportunities of employment and higher wages. Nowadays, expansion of the industrial sector and urbanization started to affect the quality of the environment, especially in developing nations where due to lack of governance and use of conventional technology, emission of greenhouse gases significantly contributes to environmental degradation. The CO2 emission, NO emission and Deforestation are the basic indicators of the environmental degradation [30, 31].

Good governance and well-integrated policy responses help to minimize the environmental degradation challenges. In developing nations, government policies and decision about the business environment and foreign direct investment affect environment quality [32]. For instance, Michael Kugelman, deputy director and senior associate for South Asia with the Woodrow Wilson Center’s Asia Program, showed deep concerns about the environmental impacts of China Pakistan Economic Corridor (CPEC) in Pakistan. Similarly, government policies regarding irrigation system and industrialization affect water resource and air quality. Therefore, environment quality is not only determined by the capacities of environmental authorities, but other external factors (enabling environment) are also a key determinant of environment degradation.

An improved political institution attracts foreign direct investment which helps the economy to uplift, but at the same time it contributes toward the environmental performance [33]. Thus, only the powerful legislation, successful enforcement of law and provision of improved public services save the economy form excessive emissions of CO2 and NO [34]. However, the aim of this study is to develop a link between two complex concepts governance and environment degradation; whereas environment degradation indicates depletion of air, water and soil resources or undesirable changes to the environment, governance means actions or manners of governing a state. The specific objectives are included to estimate the impact of governance on determinants of environmental degradation and some other variables such as foreign direct investment, industrialization, transportation, population, urbanization, and agricultural land.

2 Materials and methods

2.1 Data

The effect of governance on environmental degradation was investigated hypothetically. Particularly, three models are formed to evaluate and assess the connected hypothesis with dependent and independent variables. The CO2 emission, NOx emission and deforestation were taken as the dependent variables, while the governance, foreign direct investment, gross domestic product per capita, industrialization, transportations, urbanization, population growth and agriculture land were taken as independent variables. The investigated span consists of the 33 years from 1984 to 2017. The data were obtained from the World Development Indicators (WDI) and International Country Risk Guide (ICRG).

2.2 Econometric models

In order to keep the main focus and to investigate the effect of governance on environmental degradation dimensions, the specific three outputs and input functions (models) are included in the study.

2.2.1 Model 1

Output and input function used for CO2 emission is as follows:

$${\text{CO}}_{{2}} = \beta_{0} + \beta_{{1}} {\text{Gov}} + \beta_{{2}} {\text{FDI}} + \beta_{{3}} {\text{GDP}} + \beta_{{4}} {\text{Pop}} + \beta_{{5}} {\text{Indu}} + \mu$$
(2.1)

2.2.2 Model 2

Output and input function used for NOx emission is as follows:

$${\text{NO}}_{x} = \beta_{0} + \beta_{{1}} {\text{Gov}} + \beta_{{2}} {\text{Tran}} + \beta_{{3}} {\text{GDP}} + \beta_{{4}} {\text{Pop}} + \beta_{{5}} {\text{FDI}} + \beta_{{6}} {\text{Indu}} + \mu$$
(2.2)

2.2.3 Model 3

Output and input function used for DEF (deforestation) is as follows:

$${\text{DEF}} = \beta_{0} + \beta_{{1}} {\text{Gov}} + \beta_{{2}} {\text{Indu}} + \beta_{{3}} {\text{FDI}} + \beta_{{4}} {\text{Pop}} + \beta_{{5}} {\text{Urbn}} + \beta_{{6}} {\text{AL}} + \mu$$
(2.3)

where CO2, NOx and DEF are total carbon dioxide emissions (metric tons per capita), nitrous oxide emissions and total deforestation of Pakistan. The Gov is the governance with the range 0 to 1. FDI and GDP are the total foreign direct investment and gross domestic product per capita, respectively. Pop and Indu are the population growth rate and industrial GDP at current factor cost, respectively. Tran and Urbn are the total transportation and urban, respectively. AL is the agricultural land. µ is the error term.

2.3 Experimental investigation

In the current research, an investigation of the impact assessment of socioeconomic factors on dimensions of environmental degradation in Pakistan has been made using the statistical techniques. The broadened Dickey larger method was used to gather data. The autoregressive distributed lag model (ARDL) bond test approach (2001) was used to check the relationship between dependent and independent variables for longer-run time series. The experimental investigation procedure conducted in this study follows four steps.

Step 1: To check the stationary of data, the unit root test has been used. Unit root test investigates the stationarity of time series data. In statistics, a unit root test is reliable either time series variable is non-stationary and possesses a unit root. It is also known as a difference stationary process. This test creates a stationary series of observations. The null hypothesis of augmented Dicky–Fuller (ADF) unit root the presence of a unit root and the alternative hypothesis is no unit root. Data will be considered as stationary if it possesses zero mean, constant variance and covariance, and non-stationary if it has an unpredictable mean as compared to a nonzero mean. Stationary time series produce more reliable results, hence reliable for policy makers.

Step 2: Augmented Dickey Fuller (ADF) test was used to examine the sequential relationship associated with the data [31]. The test continues to be continued running upon mis-step terms making use of the second demand slacked subordinate variable. The invalid hypotheses convey that there will be no serial partnership in the data option of stationarity within the data. The heading with the condition has been shown in ADF test equation in each model.

$${\text{CO}}_{2} = \alpha_{0} + \alpha_{1} {\text{CO}}_{2 - 1} + \mathop \sum \limits_{k = 1}^{\rho } \varphi_{k} \Delta {\text{CO}}_{2 - k} + \epsilon_{1}$$
(2.4)
$${\text{NO}}_{x} = \beta_{0} + \beta_{1} {\text{NO}}_{x - 1} + \mathop \sum \limits_{k = 1}^{\rho } \emptyset_{k}\Delta {\text{NO}}_{x - k} + \epsilon_{2}$$
(2.4a)
$${\text{DEF}} = \gamma_{0} + \gamma_{1} {\text{DEF}}_{ - 1} + \mathop \sum \limits_{k = 1}^{\rho } \theta_{k}\Delta {\text{DEF}}_{ - k} + \epsilon_{3}$$
(2.4b)

Here, CO2, NOx and DEF are the dependent variables and \({\upepsilon }_{1, }{ \upepsilon }_{2}\) and \({\upepsilon }_{3}\) are the mistake terms. CO2−1, NOx−1 and DEF−1 indicate slacked subordinate variable. The model outcomes in information serially uncorrelated, which implies that no serial relationship between dependent variables and independent variables.

Step 3: Environmental degradation indicators (CO2 emission, NOx emission, Deforestation) taken as dependent variables and socio-economic indicators like governance, foreign direct investment, gross domestic product per capita, industrialization, transportations, urbanization, population growth and agriculture land as independent variables in the estimated models. In order to check the high order lagged dependent variables, this study used the bound test. The null hypothesis states that there is no long-term relationship between dependent and explanatory variables alternative to long-term relationship of variables [31, 35]. The estimates of the models show a rejection of our null hypothesis stating that there is a long-term relationship between governance as an explanatory variable with environmental degradation of the county, since the F-calculated value is greater than the F-tabulated value. The lagged variables were further employed in the model using the Akaike Information and Schwartz Bayesian criterion. ARDL model equations estimated for our model are given as follows:

ARDL equation for output and input function used for CO 2 emission

$$\begin{aligned} {\text{CO}}_{2} & = \, \propto_{0} + \mathop \sum \limits_{i = 1}^{N} \propto_{1}\Delta {\text{CO}}_{2 - i} + \mathop \sum \limits_{i = 0}^{N} \propto_{2}\Delta {\text{Gov}}_{ - i} + \mathop \sum \limits_{i = 0}^{N} \propto_{3}\Delta {\text{FDI}}_{ - i} \\ & \quad + \mathop \sum \limits_{i = 0}^{N} \propto_{4}\Delta {\text{GDP}}_{ - i} + \mathop \sum \limits_{i = 0}^{N} \propto_{5}\Delta {\text{Pop}}_{ - i} + \mathop \sum \limits_{i = 0}^{N} \propto_{6}\Delta {\text{Indu}}_{ - i} \\ & \quad + \propto_{7} {\text{CO}}_{2 - 1} + \propto_{8} {\text{Gov}}_{ - 1} + \propto_{9} {\text{FDI}}_{ - 1} \\ & \quad + \propto_{10} {\text{GDP}}_{ - 1} + \propto_{11} {\text{Pop}}_{ - 1} + \propto_{12} {\text{Indu}}_{ - 1} + \mu 1 \\ \end{aligned}$$
(2.5)

ARDL equation for output and input function used for NO x emission

$$\begin{aligned} {\text{NO}}_{x} & = \beta_{0} + \mathop \sum \limits_{i = 1}^{N} \beta_{1}\Delta {\text{NO}}_{x - i} + \mathop \sum \limits_{i = 0}^{N} \beta_{2}\Delta {\text{Gov}}_{ - i} + \mathop \sum \limits_{i = 0}^{N} \beta_{3}\Delta {\text{Tran}}_{ - i} \\ & \quad + \mathop \sum \limits_{i = 0}^{N} \beta_{4}\Delta {\text{GDP}}_{ - i} + \mathop \sum \limits_{i = 0}^{N} \beta_{5}\Delta {\text{Pop}}_{ - i} + \mathop \sum \limits_{i = 0}^{N} \beta_{6}\Delta {\text{FDI}}_{ - i} \\ & \quad + \mathop \sum \limits_{i = 0}^{N} \beta_{7} {\text{Indu}}_{ - i} + \beta_{8} {\text{NO}}_{x - 1} + \beta_{9} {\text{Gov}}_{ - 1} + \beta_{10} {\text{Tran}}_{ - 1} \\ & \quad + \beta_{11} {\text{GDP}}_{ - 1} + \beta_{12} {\text{Pop}}_{ - 1} + \beta_{13} {\text{FDI}}_{ - i} + \beta_{14} {\text{Indu}}_{ - 1} + \mu 2 \\ \end{aligned}$$
(2.6)

ARDL equation for output and input function used for DEF (deforestation)

$$\begin{aligned} {\text{DEF}} & = \gamma_{0} + \mathop \sum \limits_{i = 1}^{N} \gamma_{1}\Delta {\text{DEF}}_{ - i} + \mathop \sum \limits_{i = 0}^{N} \gamma_{2}\Delta {\text{Gov}}_{ - i} + \mathop \sum \limits_{i = 0}^{N} \gamma_{3}\Delta {\text{Indu}}_{ - i} \\ & \quad + \mathop \sum \limits_{i = 0}^{N} \gamma_{4}\Delta {\text{FDI}} + \mathop \sum \limits_{i = 0}^{N} \gamma_{5} \Delta {\text{Pop}}_{ - i} + \mathop \sum \limits_{i = 0}^{N} \gamma_{6}\Delta {\text{Urbn}}_{ - i} \\ & \quad + \mathop \sum \limits_{i = 0}^{N} \gamma_{7}\Delta {\text{AL}}_{ - i} + \gamma_{8} {\text{DEF}}_{ - 1} + \gamma_{9} {\text{Gov}}_{ - 1} + \gamma_{10} {\text{Indu}}_{ - 1} \\ & \quad + \gamma_{11} {\text{FDI}}_{ - 1} + \gamma_{12} {\text{Pop}}_{ - 1} + \gamma_{13} {\text{Urbn}}_{ - 1} + \gamma_{14} \beta_{7} {\text{AL}}_{ - 1} + \mu 3_{t} \\ \end{aligned}$$
(2.7)

In this autoregressive distributed lag model, α denotes the short-term coefficient, β denotes the long-term coefficient, and maximum lag length is denoted by N.

Step 4: The stability test is used. The combined sum of recursive residual (CUSUM) and cumulative sum of square of recursive residual (CUSUM square) are given to examine the long operate and short operate security from the partnership, separately. In previous examinations, these types of tests were used to check the protection of the design. This test continues to be utilized as a percentage of strength in our model [36, 37].

3 Results and discussion

3.1 Empirical analysis

The significance of the all dependent and independent variables has been investigated using the empirical analysis of the models. The long-run and the short-run relationships between dependent and independent variables are investigated using the ARDL cointegration test. After that, a diagnostic test was used to check the data normality. The stability test was also used for the investigation of the stable model. The empirical analysis included: unit root test, ARDL bound testing, Breusch–Godfrey serial correlation LM test, heteroscedasticity and stability test.

3.1.1 Unit root test

The unit root test investigates whether time series data are constant/stationary. Without stationary, the empirical analysis shows the results would be ambiguous. A stationary series is characterized as a series that tends to come back to its mean value and fluctuate round it within a consistent range, while a non-stationary series is characterized as a series, its value varies time to time, place to place and region to region, and its variance increases with the sample size [38]. Therefore, to investigate the statistical stationarity of time series data is very important to find out the most reliable results, while the non-stationary time series shows only time-varying mean or variance. If the time series is assimilated and unified at the order 0, then this is called stationary. In other ways, if the time series is at order 1, this is called non-stationary. Figure 1a, b represents the results of unit root tests for all dependent and independent variables at the level and first difference value. If the absolute value of the ADF test is smaller than a certain value like 1% or 5% level of significance, then the null hypothesis cannot be reject. So, all the investigated variables in the all models are not observed in the 1 order. Some variables lie in the order 0, and some in the 1 order. So, there is no unit root problem observed in investigating variables. CO2, NOx, DEF, GDP, Urbn and AL (Fig. 2b) are found to be stationary at level with intercept, while Tran, Gov, GDP, FDI, Pop and Indu (Fig. 2b) are stationary at the 1st difference with the intercept. From the detailed investigation, it is stated that some variables observed stationarity at level. While, others be measured stationary at 1st differences. In this condition, the ARDL bound test approach would be used for cointegration.

Fig. 1
figure 1

The critical values for Augmented Dickey Fuller (ADF) a at level and b first difference

Fig. 2
figure 2

The unit root test values a at level and b first difference

3.1.2 Bound test

The autoregressive distributed lag (ARDL) test is used to estimate the long-run and short-run relationships in economic time series. Time series presents the long-run relationship. Thus, the bound test is implemented on the time series data. To estimate the impact of Governance and other socioeconomic parameters like foreign direct investment, Gross Domestic Product (GDP) per capita, industrialization, transportations, urbanization, population growth and agriculture land environmental degradation parameters like CO2, emission, NOx emission and deforestation (DEF). This input and out put function measured using the Bound test. Governance and other socioeconomic parameters like foreign direct investment, gross domestic product (GDP) per capita, industrialization, transportations, urbanization, population growth and agriculture land have been taken as the independent variables. The bound test investigates whether cointegration exists or not in the selected variables. If the relationship exists, then the null hypothesis is rejected. Figure 3a, b reveals that F is very more important along with 95% conviction crack and 90% sureness interval; it rejects our null hypothesis that is H0 which shows that there is absolutely no long-term relationship among modeled variables in all three models and alternative hypothesis is like H1 that explains that there exists a long-term cointegration among the modeled variables. The results also show that F value described the greater value than the upper bound value 10% and 5% for models 1, 2 and 3. However, the null hypothesis is rejected and the alternative hypothesis is accepted. Due to the rejection of the null hypothesis, cointegration is found between the investigated dependent and independent variables.

Fig. 3
figure 3

The bounds co integration test a 95 confidence interval and b 90 confidence interval

3.1.3 Serial correlation

The current investigation used the Breusch–Godfrey serial correlation LM test to check the autocorrelation in errors. The Breusch–Godfrey serial correlation LM test is used to find out the residuals from the model that has been considered for regression analysis. Therefore, this serial correlation LM test is used to measure the relationship between dependent and independent variables over a specific period of time in all models. The results depict that probability and chi-square value of test exceed from 5 and 10% level of significance (Fig. 4). It accepts the null hypothesis and rejects the alternative hypothesis. Therefore, no serial correlation for models 1, 2, 3 is observed during the investigation.

Fig. 4
figure 4

The Breusch–Godfrey serial correlation LM test for models 1, 2 and 3

3.1.4 Heteroscedasticity

Heteroscedasticity is used to estimate the correlation coefficient in the reliability analysis of the models 1, 2 and 3. In order to perceive the heteroscedasticity, the Breusch–Pagan–Godfrey test is investigated. The Breusch–Pagan–Godfrey test is used to detect the heteroscedasticity of error in the regression. Heteroscedasticity means variance of error is increasing, but not equal, while homoscedasticity is important in regression analysis. If the assumption of homoscedasticity is not fulfilled, regression analysis can not be used. Therefore, this study used the Breusch–Pagan–Godfrey test to check the assumption of homoscedasticity with the null hypothesis. The results revealed that probe. Value is greater than 0.05 for all three models. It accepts the null hypothesis and rejects the alternative hypothesis which shows the homoscedasticity (Table 1).

Table 1 The Breusch–Pagan–Godfrey heteroscedasticity test

3.1.5 Stability test

This study used the CUSUM test for OLS residuals. It is based on the cumulative sum of the recursive residuals and the sum of square of residuals. This test is used to find instability between dependent and independent variables. If the plot of recursive residuals is between the standard error band, plus and minus two standard errors, the parameters of the OLS equations are stable, and if residuals are outside the standard error bands, it suggests instability in the parameters of the equation. The plot of both cumulative sum of recursive residual and cumulative sum of square of residual recursive for models 1, 2 and 3 lies between two critical lines (Figs. 5, 6, 7).

Fig. 5
figure 5

a Cumulative sum of recursive residual and b cumulative sum of square of residual recursive (model 1)

Fig. 6
figure 6

a Cumulative sum of recursive residual and b cumulative sum of square of residual recursive (model 2)

Fig. 7
figure 7

a Cumulative sum of recursive residual and b cumulative sum of square of residual recursive (model 3)

3.2 Impact on CO2 emission

3.2.1 Descriptive statistics

Table 2 depicts the descriptive statics values of the CO2 emission function. The results show that the probability value of all variables is greater than 0.05, which indicated that the data are normally distributed. In the detailed examination, it states that the probability values of the selected variables were included: CO2 (0.321), the Gov (0.317), FDI (0.198), GDP (0.817), Pop (0.099) and Indu (0.401). The minimum values for CO2 (0.480), the Gov (0.271), FDI (0.178), GDP (− 1.45), Pop (1.95) and Indu (17.94). The maximum value of the Indu is 25.52. The observed maximum values included: CO2 (0.99), the Gov (0.546), FDI (3.66), GDP (5.478), Pop (3.341) and Indu (25.52).

Table 2 Descriptive statistics of the CO2 emission function

3.2.2 Autoregressive distributed lag (ARDL) model: dependent variable is CO2 emission

The results of ARDL for model 1 are reported in Table 3. The value of the error correction model term is β = 0.391(0.002), indicating that the model is stable; if any error creates the hurdle in the model from its equilibrium path, it will converge toward equilibrium with the speed of 39% adjustment of disturbance in one year. Only Pop has shown a significant and positive relationship with CO2 emission for the short-term period. It means as population increases, this will cause an increase in CO2 emission, while all independent variables have shown a positive and significant association with the CO2 emission for the long-term period. The value of F-statistic is 23.865. It indicates that the model is a good fit. The value of R2 indicates that the 95% variation in CO2 is explained by the modeled variance. The single unit increase in FDI that brings 0.0174 unit changes inside CO2 emission. Whether FDI found to be positive to increase CO2 emission in the Pakistan. Similarly, the results of the short-term period indicate the consistent sign of the coefficient in the model with the long-term period.

Table 3 Estimation of autoregressive distributed lag (ARDL)-based coefficient value: dependent variable is CO2 emission

The results revealed that the synchronicity of the positive and significant relationship between FDI and CO2 makes the strategies to reduce the carbon emission in the environment. Such policies and strategies would helpful for the regulation and enhance the relation between FDI and the environment. The result also shows that such policies create links for the reduction in the CO2 emission with regulation of FDI and GDP environment link. Similarly, the ARDL investigation depicts that per capita GDP has the positive link with the CO2 emission. The coefficient value of the per capita GDP is found to be significant with a value of 0.004.

The results also show that a one percent increase (decrease) in GDP will 0.004 percent increase (decrease) in CO2 emission. In the detailed investigation, it is stated that this outcome is supporting the results observed [39, 40, 22]. These investigated studies show that that the per capita GDP is directly linked with CO2 emission that boost toward the environmental degradation. Figure 8a reveals that the trend of the CO2 emission is found to be increased with a rate of 0.476 metric tons per capita. R2 value is 0.866 observed during the investigated period from 1984 to 2017. After further investigation, it is stated that CO2 emission decreased from 2007 to 2017. There is likely due to improvement and development of the green belt in Pakistan. The GDP per capita was stable during this span. Figure 8b also shows the percentage change of the CO2 emission inter-annually. The high change was observed in the year of 1995 and 2003. In the detailed examination, it is stated that per capita GDP in the same years increased. This shows the significant positive relationship of the CO2 emission and per capita GDP.

Fig. 8
figure 8

The CO2 emission trend a total change in Pakistan CO2 emission and b % change in Pakistan CO2 emission

3.3 Impact on NOx emission

3.3.1 Descriptive statistics

Table 4 represents the descriptive statics values of the NOx emission function. The results revealed that the probability value of all variables is greater than 0.05, which shows that the all the data in the model 2 are found to be normally distributed. After the detailed investigation, it is stated that the probability values of the selected variables in the model 2 included: NOx (0.106), the Gov (0.317), GDP (0.816), Tran (0.536), Pop (0.099), FDI (0.307) and Indu (0.402).

Table 4 Descriptive statistics of the NOx emission function

The minimum values were for NOx (7.931), the Gov (0.271), Tran (34.57), GDP (-1.449), FDI (15.39), Pop (1.955) and Indu (17.94). The maximum value of Tran is 71.22. The observed maximum values included: NOx (13.988), the Gov (0.546), FDI (3.66), Tran (71.22), GDP (5.478), FDI (29.78), Pop (3.341) and Indu (25.52).

3.3.2 Autoregressive distributed lag (ARDL): dependent variable is NOx emission

The results of ARDL for model 2 are reported in Table 5. The value of the error correction model term is β = 0.361 (0.0053), indicating that the model is stable; if any error disturbs the model from its equilibrium path, it will converge toward equilibrium with the speed of 36% adjustment of disturbance in one year. The results revealed that governance shows a significant and negative association with the emission of nitrogen oxide (NOx) for the short-term period. It means as governance improves, the emission of NOx will reduce. However, all modeled variables have a positive and significant association with the NOx emission in the long-term period. The value of F-statistic is 30.556. It indicates that the model is a good fit. The value of R2 indicates that the 96% variation in NOx is explained by the modeled variance.

Table 5 Estimation of autoregressive distributed lag (ARDL)-based coefficient value: dependent variable is NOx emission

The results also show the negative relationship between Indu and NOx emission. The coefficient value shows the long-term relationship of the NOx emission and Indu. With the increase in the pressure of the Indu, the NOx emission will increase in the environment that leads toward the environmental degradation. The single unit increase within Indu will result in 0.5012 unit reduction in NOx release. Similarly, Tran and NOx also show the positive and significant relationship. One unit increase in Tran that will bring the 0.0563 unit increase in NOx emission. The coefficient value of the Tran is found to be significant with value 0.0808. This is likely due to increase in the number of the vehicles. Over the span of the last two decades, the number of motor vehicles has risen from 2.71 million to nearly 9.08 million. The highest increase is found in a two-stroke engine and diesel vehicles [41]. With the increase in the number of the vehicles, the emission rate of the NOx is 11% increasing in Pakistan [42]. Motor vehicles release around 90 percent of the total hydrocarbons, NOx, and COx in Pakistan. The basic cause of the NOx emission is the number of the vehicles. NOx is produced when nitrogen and oxides in the environment combine at high temperature. So, the high amount of the nitrogen and oxygen release in the atmosphere increases the NOx emission [16]. The number of the vehicles is directly linked with the population. With the increase in the population pressure, the number of the vehicles is found to be positively significant. Therefore, Pop and NOx emission show the positive and long-term relationship. The one unit increase in POP will increase the1.7405 unit increase in NOx. Furthermore, GDP and NOx also show the positive long-term relationship. The single unit increase in per capita GDP will bring 0.4623 unit changes in NOx emission.

Figure 9a reveals that the trend of the NOx emission increased with a rate of 4.11 metric tons per capita. R2 value was 0.761 during the investigated period of 34 years from 1984 to 2017. After detailed examination, it is stated that NOx emission increased from 1996 to 2017. There is likely due to the increase in the number of the vehicles and population pressure. Tran and Pop increased during this investigated period. Figure 9b also shows the percentage change in the NOx emission inter-annually. The high change was observed in the year of 1996 and 2001. In the detailed examination, it is stated that Pop and Tran in the same years increased. This shows the a significant positive relationship between the NOx emission and Pop and Tran

Fig. 9
figure 9

Show the NOx emission trend a total change in Pakistan NOx emission and b % change in Pakistan NOx emission

3.4 Impact on deforestation

3.4.1 Descriptive statistics

Table 6 depicts the descriptive statics values of the DEF function. The results display that the probability value of all variables is greater than 0.05, which indicated that the data are normally distributed. After the thorough and detailed study of the 34-year span, it is stated that the probability values of the selected variables included: DEF (0.901), the Gov (0.317), Indu (0.401), FDI (0.198), Urbn (0.205), Pop (0.099) and AL (0.592). The minimum values for DEF (0.121), the Gov (0.270), Indu (17.94), FDI (0.178), Urbn (3.017), Pop (1.955) and AL (45.669). The maximum value of the AL is 48.65. The observed maximum values included: DEF (0.318), the Gov (0.546), Indu (25.52), FDI (3.66), Pop (3.341), Urbn ( 4.176) and AL (48.646).

Table 6 Descriptive statistics of the DEF function

3.4.2 Autoregressive distributed lag (ARDL): dependant variable is DEF

The results of ARDL for model 3 are reported in Table 7. The value of error correction model term is β = 0.261 (0.004), indicating that the model is stable; if any error disturbs the model from its equilibrium path, it will converge toward equilibrium with the speed of 26% adjustment of disturbance in 1 year. The results revealed that governance has a significant and negative relationship with deforestation for the short-term period. It means good governance reduces the deforestation. The good governance makes the good polices for the reduction in the deforestation. Furthermore, the rich peoples are also involved in the cutting and selling of the plants like concept of timber mafia. This is generally likely due to the lack of the implementation of the forest management techniques and laws. This hurdle in the implementation of the political instability and bad governance. Therefore, governance is directly linked with the deforestation.

Table 7 Estimation of autoregressive distributed lag (ARDL)-based coefficient value: dependent variable is DEF

The results indicate that the rural population has negligible impact on environmental degradation in the short run as well as in the long run, while urban population has a significant and positive association with environmental degradation. The result reveals that as urban population (urbanization) increases, it will increase the CO2 emission which increases environment degradation in short-run and long-run periods (β = 0.0078, prob. 0.00006 in the short run, while in the long run β = 0.102439, prob. 0.0009).

Similarly, deforestation has significant positive associations with environmental degradation in the short-run as well as in long-run period β = 0.028134 prob. 0.00001, in the short-run period, while in the long run β = 0.272315, prob. 0.0001 (Table 8). The results of CointEq (− 1) indicate that the model is stable, if any shock causes to deviate the model from its trend growth path, it will come back to the equilibrium path at the speed of 76% adjustment in one year and the remaining will settle accordingly.

Table 8 Estimation of autoregressive distributed lag (ARDL)-based coefficient value: dependent variable is CO2 emission with deforestation, rural and urban population

Moreover, industrialization (Indu) has a positive and significant association with DEF. It means as industrialization increases, DEF will also increase. The single unit increase in Indu brings the 0.03322 unit increase in the DEF. Industrialization increases the human-based anthropogenic activities on the earth. These activities included the overconsumption and overexploitation that cause the air pollution in the environment. Such mechanism leads toward the deforestation. With the increase in the population pressure on earth, the human-based anthropogenic activity increases that make the positive relationship between Pop and DEF. Similarly, in the short-term period, population has a positive and significant association with DEF. While urbanization has a negative and significant association with DEF. However, in the long-term period all modeled variables found a significant association with the DEF. The value of F-statistic is 5.064. It indicates that the model is a good fit. The value of R2 indicates that the 71% variation in DEF is explained by the modeled variance.

Figure 10a reveals that the trend of the DEF decreased with a rate of − 0.0442. R2 value was 0.090 observed during the investigated period of 34 years from 1984 to 2017. After detailed examination, it is stated that DEF increased from 1984 to 1994. There is likely due to increase in the population pressure and anthropogenic activities. Urbn and Pop increased during this investigated period. Figure 10b also shows the percentage change in the DEF inter-annually. The high change was observed in the year of 1985 and 2010. In the detailed examination, it is stated that Indu, Pop and Urbn in the same years increased. Therefore, this shows the significant positive relationship of DEF and Pop, Urbn and Indu. In the detailed examination, it is observed that the increase in the deforestation in the year of 2010 was due to heavy flood in Pakistan [43]. Kirsch et al. [21] supported this result that the severe flood of 2010 affected the land use pattern in Pakistan. Therefore, land use pattern decreased during this high level deforestation positive change

Fig. 10
figure 10

The trend of the deforestation area a total change in Pakistan deforestation and b % change in Pakistan deforestation

The current empirical study found negative and significant cointegration among governance and environmental degradation in the long run, which suggests that as governance improves, environmental degradation will reduce. Therefore, sustainable development can be achieved with the help of good environmental governance. So this study showed that policies and plans should be devised to improve governance in order to achieve a good quality of the environment. Shaari et al. [44] also claimed that FDI has positive cointegration with environmental degradation; as FDI increases, it will also increase environmental degradation. Results are indicating that FDI leads to the emission of greenhouse gases that causes poor quality of the environment. Therefore, policymakers of the host country should have the knowledge of the threshold for peak inflow of FDI to have a good balance between environment and FDI growth [19, 21].

Moreover, the study found a positive and significant association between economic growth and environmental degradation, so this study suggests that the government should devise the policies for green growth rather than economic growth. This study also found that population growth has a positive and significant relationship with environmental degradation. The results of this study are consistent with the Malthus theory of population; the findings suggest the government should educate its people to focus on the quality of children rather than quantity. The government should also develop policies to control human activities regarding the consumption of natural resources to control environmental degradation. This investigation also found that industrialization increases environmental degradation, but no doubt the developed economies made rapid development after the industrial revolution, which recommends that industrialization is a prerequisite of economic growth. So the government should develop policies, not to control industrialization, but for the emission of greenhouse gases from industrialization. The government should impose a carbon tax on industries to regulate the emission of greenhouse gases and the government design policies to promote the green industry.

4 Conclusion

In the current research, an impact assessment of the socioeconomic factors is investigated on different dimensions of environmental degradation using the statistical models l, 2 and 3. The study found a negative and significant impact on environmental degradation in all three models. Results indicated that as governance improves, it will cause to reduce CO2 emission, NOx emission and deforestation that will improve the quality of the environment. Similarly, the analysis incorporated that FDI, per capita GDP, industrialization and the total population have a positive and significant impact on environmental degradation in the long run; as FDI, per capita GDP and total population increase, it will cause to increase environmental degradation.

According to the results, the rural population has an insignificant association with environmental degradation, while the urban population has a significant and positive association with environmental degradation. Similarly, agriculture land has an insignificant association with environmental degradation and deforestation has a significant and positive impact on CO2 emission. Results indicated that as deforestation increases, it will increase CO2 emission which will deteriorate the environmental quality. In the future, researchers can utilize other proxies like an ecological footprint to measure environmental degradation. Moreover, in the future quality of institutions can be taken as the moderator to strengthen the favorable results and weaken the undesired results.