1 Introduction

In the growing world, every country wants to achieve a high pace of economic development; human activities to achieve economic growth are the responsible factors of environmental and ecological degradation (Uchiyama 2016; Zhou et al. 2015). The continuous increase of greenhouse gases like CO2 is the main element to increase earth temperature (IPCC 2013). The earth's temperature is multiplied by 0.9°C in the last two decades (Zhang and Liu 2019). Hence, identifying the major contributors to environmental degradation is the prime objective of the tables of environmental economists. Accordingly, the tourism sector is viewed as an essential part of local, regional, and national development and reconstruction of economies at different scales. The tourism sector is currently counted as the economic growth engine and source of cultural and heritage linkages. The tourism sector escalates economic growth and has a vital role, which has multiple ties with heterogeneous economic sectors, thus assisting through a positive multiplier effect and has the potential to acting as a catalyst for economic improvement (Vellas 2007). It contributes 10.2% to the world economy by creating and adding 9.9% jobs to the world job sector in 2016 (Tang et al. 2017; World Travel and Tourism Council 2018; Zhang and Liu 2019). Tourism contributes 6% to global merchandise and services exports; it accounts for 30% of international services trade. Its contribution to global GDP in 2014 was 9.8% (Ohlan 2017). There is another aspect of tourism, which is habitat fragmentation, environmental degradation and ecological loss (Zaman et al. 2011). Unplanned growth in tourism has devastated the social, cultural, and natural environments of many destinations (Claudio et al. 2010; Zaman et al. 2011). Tang et al. (2017) found that the tourism sector accounts for 5% of the global CO2 emission. To address the significant impacts of tourism, it is required to make policies in support of making tourism as an essential contributor to UN sustainable development agenda. For the reasons above, the current study is conducted to test the relationship of tourism index based on three tourism variables with other possible actors, including CO2e, income, renewable energy and FDI in Pakistan.

Discussion on sustainable tourism has been continued from the last two decades (Del Pablo-Romero and Molina 2013). In recent studies, the criticism on unbalanced development in tourism has seldom called into investigations based on global economic expansion, which escalates production and consumption of natural and non-natural goods simultaneously (Tiba et al. 2016). This human behaviour hinders the possibility of a sustainable development process globally. The global sustainable development agenda given by the United Nations has evoked a new layer of understanding in the tourism sector (Nepal et al. 2019). The other sectors focused on the "Sustainable development goals" by the UN are eliminating hunger, achieving food security, alleviating poverty, and combating climate change (UN 2017). The sustainable development goal (13) specifically addresses the sustainable tourism sector, reducing its impact on climate change, in-efficient use of fossil fuel energy, which is the primary source of environmental deterioration (Ben Jebli et al. 2019; Shaheen et al. 2019). The proper understanding of dynamic relationships between underlying economies, tourism, and the environment is crucial in making sustainable development policies. The empirical linkages testing such links are limited to the tourism sector (Nepal et al. 2019). Notably, in developing countries, where the main focus is to achieve economic growth based on the environment is crucial in the sustainable development process.

From the last two decades, Pakistan has suffered a lot in terms of fighting terrorism, environmental, and socio-economic crises that have emasculated the potential associated with the tourism industry of the country. Tourism is believed to be the potential indicator to provide a basis for economic growth, efficient energy utilization, and environmental concerns. Regardless of these issues, Pakistan has given beautiful geographic locations, fascinating tourist sites and eye-popping potential by nature which attracts the tourist from across the globe (Adnan Hye and Ali Khan 2013; Meo et al. 2018). The receipts from Tourism in Pakistan are increasing gradually, for example, revenues from Tourism rose from 41 million in 1980 to 46 million in 1990, and this was expanded to 196 million in the last decade (Raza and Jawaid 2013). The total contribution to GDP from the tourism sector in Pakistan is calculated to be 7.4% (US$ 22,286 million) in 2017, which was expected to grow with 5.4% per annum to US$ 39,851.6 million in 2028 with 7.4% contribution to GDP of the country. The direct contribution of this sector to jobs was (1,493,000 jobs) 2.5% of total employment in 2017 (World Travel and Tourism Council 2018). Here, the role of tourism in economic growth, employment, and expansion in production are enormous, while the substantial impression of tourism in the environment cannot be ignored. For example, the fossil-based consumption in transportation and hoteling have significant adverse effects on the environment (Koçak et al. 2020; Tsai et al. 2014). Therefore, the need is to switch towards alternative sources of energy sources in terms of energy conservation. Notwithstanding, Pakistan has abundant renewable resources that can be utilized to generate power for the industrial sector. Hydropower sector in Pakistan is considered the most potential and prominent and adds 11.1% of the primary energy source (IRENA 2018)Footnote 1; this sector yet underexplored with a potential of 60 GW (HDIP 2016). In that case, the significance of tourism, renewable energy, and environmental nexus in Pakistan cannot be neglected; therefore, the objective of this study is an attempt in this direction.

The main objective of the study is to test the impression of each (CO2e, Y, TOR, RE, and FDI) independent variable in a system of five structural equations for Pakistan. Therefore, the study brings a vast knowledge into literature pool by adding; (1) this study integrates three tourism variables (tourist arrivals, tourist expenditures, and tourism receipts) into a single weighted index to disclose the relationship of tourism on the environment, economic growth, renewable energy, and FDI simultaneously. (2) The study introduces the recursive estimation of five separate equations (for CO2e, Y, TOR, RE, and FDI separately) to estimate the causal inferences, which will assist the policymakers in strengthening the economic and environmental policies centred on tourism and investment. (3) This study tests four central hypotheses (tourism/growth-led hypothesis, tourism-led emission, the positive association of tourism and renewable energy, and finally, FDI led tourism hypothesis) to acknowledge the expected relationships between the variables. (4) It adopts unit-roots with breaks and cointegration test designed by Hatemi-J (2008) which is necessary step to test the data with breaks for each equation, therefore to conclude with unbiased and efficient results which arise due to structural shifts in macro-economic variables. Finally, "Vector error correction model (VECM) Granger causality" is estimated to detect the short, and long-run causal linkages between the chosen variables, which makes this research unique as compared to previous studies. Therefore, we firmly believe that this study would be an excellent help for policy guidance to seek balanced growth in tourism, economy and to curb environmental pollutants.

2 Literature review

There are existing studies that have discussed the distinct nature of tourism with various factors of the economic growth and environment that have not reached any encouraging outcomes. Mainly, the previous studies focus on tourism-led growth hypothesis. The econometric estimation used is quite variable based on the nature of the panel and time-series data techniques. Therefore, this study has distributed the past literature on tourism, economic growth, FDI, renewable energy, and environment focusing on panel and time series econometrics. The reviews on time series data are limited, empirical estimations based on the time series estimation are contaminated with model selection biases and econometric methods used.

2.1 Tourism and Growth

A systematic literature review on indicators of tourism and economic growth is discussed in the work of (Del Pablo-Romero and Molina 2013). There is mix relationship explained between tourism and economic growth, including; economy driven tourism, tourism-led growth, bidirectional causality, and neutrality. The lack of consensus between the relationships between tourism and indicators of growth are inconclusive and still open for discussion. The pioneering work on tourism and economic growth in the tri-variate framework is conducted by Balaguer and Cantavella-Jordá (2002) for Spanish data over 1975–1997. His results were concluded with the long-run dynamic association between tourism and economic growth. In similar lines, the existence of a tourism push growth hypothesis is discovered in the study done by Vanegas and Croes (2003) for Aruba. Further, the research done by Durbarry (2004) explored the nexus of tourism and economic growth for Mauritania for 1950–1999 using Johansson cointegration, and VECM has found that tourism fostered economic growth. Similarly, Parrilla et al. (2007) established a cointegration relationship by using the data of Spain. Khalil et al. (2007) have explored two-way causal bonding between tourism and economic growth for Pakistan. Using Turkish data over 1963–2006, Kaplan and Celik (2008) have found one-way causality flowing from tourism to GDP growth. They suggested that tourism is a strategic sector that needs to be fostered in the long term. Similarly, the studies that have supported the existence of tourism lead growth are: Srinivasan et al. (2012) for Sri Lanka; Surugiu and Surugiu (2013) for Romania, and Tang and Abosedra (2014) in case of Lebanon are worth noting.

On the other hand, Ekanayake and Long (2012) have negated the tourism-led growth hypothesis by testing the data for 140 countries and six regions across the world for 1995–2009. In the case of Malaysia, Tang (2011) explored the growth-induced tourism hypothesis. In similar lines, bi-directional causality detected between tourism and economic growth by Apergis and Payne (2012) for nine Caribbean countries. Summarizing the discussed literature, we establish a positive hypothesis between tourism and economic growth in the case of Pakistan (Hypothesis-1).

2.2 Tourism and Environment

This group of research discusses the recent literature on the relationship between the environment and tourism. Like, UNWTO (2008) has estimated that tourism-related CO2 emission contributes to 5% of global CO2 emission. They explained that this emission generated due to the travelling of tourists through aeroplanes, buses, and cars, etc. The contribution of the tourism sector to CO2 is substantial and cannot be neglected. Studying the data of ten Northeast and South-East Asian countries, Zhang and Liu (2019) found that improving tourism growth in the long-run can help regenerate environmental facilities; however, tourism is seen as a critical aspect of the environment in this area. They (Zhang and Liu 2019) said that in some individual countries, the increase in tourism had shown improvements in the environment. Lei and Jing (2016) explored that tourism and environmental degradation have a negative impact in eastern China; the results supported the existence of short- and long-run causality from tourism to CO2 emission for China. In the case of Cyprus, Katircioglu et al. (2014) presented that tourism has a long-run positive and stable relationship with CO2, it is found to be a degrading factor of the environment in Cyprus. Shakouri et al. (2017) described tourism as a significant contributor to tourism to CO2 emissions by using GMM for a panel of Asia Pacific countries from 1995 to 2013. They also revealed (Shakouri et al. 2017) that a unidirectional causality for the research area was again flowing from CO2 emissions to tourism. Testing the data for Malaysia Solarin (2014) using the ARDL model from 1972 to 2010 showed that tourist arrivals and CO2 emissions have a long-term positive relationship. Using panel data for 1995–2010, Ben Jebli et al. (2015) revealed that tourist arrivals and energy use have adverse effects on the environment in Tunisia; however, the results were not similar for the panel in the long-run case, as tourism helps to combat CO2 emission. Lin et al. (2019) survey 1057 respondents in Taiwan and expressed that people who have a high income, education, and taking benefit from Tourism have positive perceptions about tourism on sustainable development and respondents having a low salary, low education, and low gains have contrary opinions. Zaman et al. (2016a; b) also examined in a panel of regions including European Union, OECD, East Asia, and Pacific, and Non-OECD countries over 2005–2013 indicated that Tourism is the inducing agent of CO2; also they revealed that Tourism is causing an environment in these regions. Regarding the relationship between Tourism and environment, most of the available studies have shown a positive relationship with CO2 emission. There are, however, a few who find the opposite connection between tourism and the climate (Lee and Brahmasrene 2013; Shakouri et al. 2017). Concluding from the reviewed literature, we expect to have a positive association between CO2e and tourism in the case of Pakistan (Hypothesis-2).

2.3 Tourism and renewable energy

Worldwide, tourism has been attributed as the contributor of global CO2e emitter due to its intensive energy consumption in transportation and hoteling (Solarin 2014). Existing studies, which have performed to explore the intensive use of energy, are interlinked with detrimental impacts on the environment (Isik et al. 2018). Previous studies on the relationship between renewable energy and tourism are scant; there are a few studies, for example, by Ben Jebli et al. (2019) have disclosed bidirectional long-run causality between renewable energy and tourism. Similarly, using the panel data of region-wise Asian economies, Zhang and Liu (2019) have identified a unidirectional causal link between tourism and renewable energy consumption for Northeast and Southeast Asia; Southeast Asian countries. From the previous studies on tourism and renewable energy, we propose to have a positive association between the two variables (Hypothesis-3).

2.4 Tourism and FDI

In time series analysis, there are no much studies, which have explained the linkages between foreign direct investment and tourism. Using a multivariate framework for Iran, Khoshnevis Yazdi et al. (2017) narrated that FDI is one of the factors augmenting the tourism sector; however, they have found no causal relationships in using ARDL and vector error correction model framework. Besides, testing the data of Malaysia, Alam et al. (2015) have explored the existence of long-run linkages between tourism and FDI. Similarly, in a bivariate framework, Gaadar et al. (2016) have found short- and long-run relationships between FDI and tourism in the case of Saudi Arabia. Selvanathan et al. (2012) explored bidirectional causal relationships between FDI and tourism using the VAR framework in India. Besides, Fereidouni and Al-mulali (2014), using panel cointegration and Granger causal test, have confirmed the cointegrating association and bidirectional causality between tourism and real estate FDI for OECD countries. Similarly, development in the tourism sector in Nepal has suggested improving more capital investment (Nepal et al. 2019). Based on the above literature, we develop the fourth hypothesis that tourism and FDI have a positive association in the case of Pakistan (Hypothesis-4).

Mentioning the practical outcomes of many studies across the globe inferred that the simultaneous linkages between TOR, Y, CO2e, FDI, and RE are far being investigated. Therefore, the current research uses relatively new econometric techniques by incorporating structural breaks and cointegration with regime shifts to examine the relationship between ecological footprints with TD, real GDP, and FDI for Pakistan.

3 Data and methods

To delve into significant insights for the short and long run across the variables including carbon dioxide emission (CO2e), renewable energy percentage of total energy consumption (RE), FDI (inflows at current US$), Real GDP (constant at 2010 US$) denoted with (Y) and the index of three tourism (TOR) indicators (tourism expenditures, tourism receipts, number of tourist arrivals annually). Figure 2 displays the trends of the chosen variables based on five-year averages; the linear upward trend specification of the data indicates the growing path of each variable in the study period in the case of Pakistan. Following the study of Fareed et al. (2018), we collected the data on Pakistan from the World Bank (2018), by considering the data availability on indicators of tourism variables, the period is examined for time 1990–2017. Some of the missing values for tourism variables were filled by using forward and backward interpolation for the robust inference by following Zaman et al. (2016a; b) and Bhuiyan et al. (2018). By studying the time-series nature of data, variables are converted into logarithm before further analysis. The next section describes the tourism index and outlines the methodology. The data and the econometric methods are the primary basis to test the above-highlighted hypothesis.

Fig. 1
figure 1

Source: Hydrocorbon Development Institute of Pakistan (2016)

Source of primary and final energy

Fig. 2
figure 2

Plots of the variables

3.1 Principal component analysis

In the multivariate data, principal component analysis (PCA) is considered one of the favourite dimension reduction techniques. The benefits of PCA, the most variation in multidimensional data sets is explained with small elements of data sets called principal components. This was introduced in 1901 by Pearson, improved by Hotelling (1933) and reached heights after the work of Jolliffe (1986), who introduced the whole methodology systematically. Recently, the work is started using in environmental and sustainable economics studies (Mamipour et al. 2019; Zaman et al. 2016a, b). The method is explored to other fields of research (Biology, Economics, Chemistry, etc.) as well (Li et al. 2016). This study develops an index using PCA for three indicators of tourism for Pakistan. The indicators include tourist arrivals, tourism expenditure, and tourism receipts. Using PCA, we develop a weighted index for tourism that combines all three indicators of tourism in a single index. Table 1 (Components) explores the results of PCA; the value of the Eigen for the first factor is 2.7405, where the second factor is 0.2033, and for the third factor, it is 0.0561 simultaneously. The first component explains the associated proportion is maximum, i.e. 91.35%. Table 1 (Eigen-vectors) illustrates the factor loadings for each element. The first component has comparatively large value than component two and three. Therefore, we have used the first component to construct the index for tourism demand. Finally, Table 1 (Correlation) indicates there is a correlation between the three variables; thus, tourist arrivals, tourism expenditure, and tourism receipts have a considerably significant correlation for Pakistan. The information is also clear from the scree plot in Fig. 3, which explains that most of the proportion of the data is defined by component one of the three variables. It shows that the maximum eigenvalue for the first component is 2.74 which explains the data about 94.35%, and the second component has 0.2033 (the kinked point at the scree plot) eigenvalues, which only able to explain 6.78% of the proportion of data, which is relatively less. Therefore, it is sufficient to select the first component of the PCA to make a composite index of tourism development for Pakistan.

Table 1 Result of principal component analysis
Fig. 3
figure 3

Scree plot

3.2 Empirical settings

The fundamental question to be answered in the following study is " What is the relationship between tourism development, renewable energy consumption, FDI, income and CO2e for Pakistan when the tourism receipts improve economic growth?" keeping this question in mind, we specify recursive models for CO2e, renewable energy consumption, FDI, tourism development and GDP. To the theoretical relevance of the taken variables, the indicator of environmental degradation in terms of CO2 emissions, and real GDP is obtained from the study of (Shah et al. 2019; Sun et al. 2020), where the theoretical relevance of getting the tourism variables in the current study are coming from (Zaman et al. 2016a, b); similarly, the FDI inflows are obtained in line with (Ahmad et al. 2020). Finally, renewable energy is taken from the study of (Ben Jebli et al. 2019).

By going through the literature, we have witnessed that the nexus of the environment with various factors of degradation have been examined with time series autoregressive distributed lags (ARDL) methods along with Granger causality followed by error correction models. They have assumed the regime shifts the nature of data by neglecting the asymmetric effects of variables across the time. The current research uses a linear ARDL model developed by "Pesaran et al. (1999) and Pesaran et al. (2001)" to detect structural breaks if any in the data by integrating the dummy variables. To establish the long-run dynamics of CO2e, Y, FDI, renewable energy and tourism demand by allowing for the pollution haven framework for Pakistan, the linear functional form can be of the following order for the five models;

$${\text{COe}}_{2,t} = \vartheta_{0} + \vartheta_{1} {\text{Y}}_{t} + \vartheta_{1a} {\text{Y}}2_{t} + \vartheta_{2} {\text{TOR}}_{t} + \vartheta_{3} {\text{RE}}_{t} + \vartheta_{4} {\text{FDI}}_{t} + \mu_{t}$$
(1)
$${\text{Y}}_{t} = \vartheta_{0} + \vartheta_{1} {\text{RE}}_{t} + \vartheta_{2} {\text{TOR}}_{t} + \vartheta_{3} {\text{COe}}_{2,t} + \vartheta_{4} {\text{FDI}}_{t} + \mu_{t}$$
(2)
$${\text{TOR}}_{t} = \vartheta_{0} + \vartheta_{1} {\text{Y}}_{t} + \vartheta_{2} {\text{RE}}_{t} + \vartheta_{3} {\text{COe}}_{2,t} + \vartheta_{4} {\text{FDI}}_{t} + \mu_{t}$$
(3)
$${\text{RE}}_{t} = \vartheta_{0} + \vartheta_{1} {\text{Y}}_{t} + \vartheta_{2} {\text{TOR}}_{t} + \vartheta_{3} {\text{COe}}_{2,t} + \vartheta_{4} {\text{FDI}}_{t} + \mu_{t}$$
(4)
$${\text{FDI}}_{2,t} = \vartheta_{0} + \vartheta_{1} {\text{Y}}_{t} + \vartheta_{2} {\text{TOR}}_{t} + \vartheta_{3} {\text{COe}}_{2,t} + \vartheta_{4} {\text{RE}}_{t} + \mu_{t}$$
(5)

CO2e is used for environmental degradation, Y is the real gross domestic product, TOR expresses tourism demand based on a composite index of three tourism variables, and FDI indicates foreign direct investment. \({\vartheta }_{\mathrm{1,2},\mathrm{3,4}}\) are unknown parameters of the independent variables to be estimated, and \({\mu }_{t}\) is the error term of the regression.

3.3 Specification of econometric models

3.3.1 ARDL bound testing

In this study, we used a much appropriate and unique method of ARDL cointegration, which has statistical superiority over other cointegrating techniques (Pesaran et al. 2001). This estimator has an advantage over other techniques; for example, ARDL gives robust results in endogeneity and autocorrelation by enabling the researchers to provide short- and long-run effects at the same time. This is an appropriate technique for I(1), I(0), and mixed of integration other than I(2) series. Due to its small sample properties, it gives efficient and consistent results; similarly, different lag lengths are used for different variables in the model based on many lags selection criteria (Rahman and Kashem 2017). Considering the breaks in the data, the cointegration relationship among the variables will be estimated following Shin et al. (2014) ARDL models by incorporating the dummy variables to detect the structural breaks;

$$\begin{gathered} \Delta {\text{CO}}_{2} {\text{e}}_{t} = \tau_{0} + \mathop \sum \limits_{b = 1}^{p} \tau_{1} \Delta {\text{CO}}_{2} {\text{e}}_{t - b} + \mathop \sum \limits_{b = 1}^{p} \tau_{2} \Delta {\text{Y}}_{t - b} + \mathop \sum \limits_{b = 1}^{p} \tau_{3} \Delta {\text{Y}}_{t - b}^{2} + \mathop \sum \limits_{b = 1}^{p} \tau_{4} \Delta {\text{RE}}_{t - b} + \mathop \sum \limits_{b = 1}^{p} \tau_{5} \Delta {\text{TOR}}_{t - b} \hfill \\ \quad \quad \quad \quad \quad + \mathop \sum \limits_{b = 1}^{p} \tau_{6} \Delta {\text{FDI}}_{t - b} + \mathop \sum \limits_{b = 1}^{p} \tau_{7} \Delta {\text{D}}_{t - b} + \pi_{1} {\text{Y}}_{t - j} + \pi_{2} {\text{Y}}_{t - j}^{2} + \pi_{3} {\text{RE}}_{t - j} + \pi_{4} {\text{TOR}}_{t - j} + \pi_{5} {\text{FDI}}_{t - j} \hfill \\ \quad \quad \quad \quad \quad + \pi_{6} {\text{CO}}_{2} {\text{e}}_{t - j} + \vartheta {\text{ECT}}_{t - j} + \beth_{t} \ldots \hfill \\ \end{gathered}$$
(6)
$$\begin{gathered} \Delta {\text{Y}}_{t} = \tau_{0} + \mathop \sum \limits_{b = 1}^{p} \tau_{1} \Delta {\text{Y}}_{t - b} + \mathop \sum \limits_{b = 1}^{p} \tau_{2} \Delta {\text{RE}}_{t - b} + \mathop \sum \limits_{b = 1}^{p} \tau_{3} \Delta {\text{TOR}}_{t - b} + \mathop \sum \limits_{b = 1}^{p} \tau_{4} \Delta {\text{CO}}_{2} {\text{e}}_{t - b} + \mathop \sum \limits_{k = 1}^{p} \tau_{5} \Delta {\text{FDI}}_{t - b} \hfill \\ \quad \quad \quad \; + \mathop \sum \limits_{b = 1}^{p} \tau_{6} \Delta {\text{D}}_{t - b} + \pi_{1} {\text{Y}}_{t - j} + + \pi_{2} {\text{RE}}_{t - j} + \pi_{3} {\text{TOR}}_{t - j} + \pi_{4} {\text{FDI}}_{t - j} + \pi_{5} {\text{CO}}_{2} {\text{e}}_{t - j} + \vartheta {\text{ECT}}_{t - j} \hfill \\ \quad \quad \quad \; + \beth_{t} \ldots \hfill \\ \end{gathered}$$
(7)
$$\begin{gathered} \Delta {\text{TOR}}_{t} = \tau_{0} + \mathop \sum \limits_{b = 1}^{p} \tau_{1} \Delta {\text{TOR}}_{t - b} + \mathop \sum \limits_{b = 1}^{p} \tau_{2} \Delta {\text{Y}}_{t - b} + \mathop \sum \limits_{b = 1}^{p} \tau_{3} \Delta {\text{RE}}_{t - b} + \mathop \sum \limits_{b = 1}^{p} \tau_{4} \Delta {\text{CO}}_{2} {\text{e}}_{t - b} + \mathop \sum \limits_{b = 1}^{p} \tau_{5} \Delta {\text{FDI}}_{t - b} \hfill \\ \quad \quad \quad \quad \;\;\; + \mathop \sum \limits_{b = 1}^{p} \tau_{6} \Delta {\text{D}}_{t - b} + \pi_{1} {\text{Y}}_{t - j} + \pi_{2} {\text{RE}}_{t - j} + \pi_{3} {\text{TOR}}_{t - j} + \pi_{4} {\text{FDI}}_{t - j} + \pi_{5} {\text{CO}}_{2} {\text{e}}_{t - j} + \vartheta {\text{ECT}}_{t - j} \hfill \\ \quad \quad \quad \quad \;\;\; + \beth_{t} \ldots \hfill \\ \end{gathered}$$
(8)
$$\begin{gathered} \Delta {\text{RE}}_{t} = \tau_{0} + \mathop \sum \limits_{b = 1}^{p} \tau_{1} \Delta {\text{RE}}_{t - b} + \mathop \sum \limits_{b = 1}^{p} \tau_{2} \Delta {\text{Y}}_{t - b} + \mathop \sum \limits_{b = 1}^{p} \tau_{3} \Delta {\text{TOR}}_{t - b} + \mathop \sum \limits_{b = 1}^{p} \tau_{4} \Delta {\text{CO}}_{2} {\text{e}}_{t - b} + \mathop \sum \limits_{b = 1}^{p} \tau_{5} \Delta {\text{FDI}}_{t - b} \hfill \\ \quad \quad \quad \quad + \mathop \sum \limits_{b = 1}^{p} \tau_{6} \Delta {\text{D}}_{t - b} + \pi_{1} {\text{RE}}_{t - j} + \pi_{2} {\text{Y}}_{t - j} + \pi_{3} {\text{TOR}}_{t - j} + \pi_{4} {\text{CO}}_{2} {\text{e}}_{t - j} + \pi_{5} \Delta {\text{TOR}}_{t - l} + \vartheta {\text{ECT}}_{t - j} \hfill \\ \quad \quad \quad \quad + \beth_{t} \ldots \hfill \\ \end{gathered}$$
(9)
$$\begin{gathered} \Delta {\text{FDI}}_{t} = \tau_{0} + \mathop \sum \limits_{b = 1}^{p} \tau_{1} \Delta {\text{FDI}}_{t - b} + \mathop \sum \limits_{b = 1}^{p} \tau_{2} \Delta {\text{TOR}}_{t - b} + \mathop \sum \limits_{b = 1}^{p} \tau_{3} \Delta {\text{Y}}_{t - b} + \mathop \sum \limits_{b = 1}^{p} \tau_{4} \Delta {\text{CO}}_{2} {\text{e}}_{t - b} + \mathop \sum \limits_{b = 1}^{p} \tau_{5} \Delta {\text{RE}}_{t - b} \hfill \\ \quad \quad \quad \quad \;\; + \mathop \sum \limits_{b = 1}^{p} \tau_{6} \Delta {\text{D}}_{t - b} + \pi_{1} {\text{FDI}}_{t - j} + \pi_{2} {\text{TOR}}_{t - j} + \pi_{3} {\text{Y}}_{t - j} + \pi_{4} {\text{CO}}_{2} {\text{e}}_{t - j} + \pi_{5} {\text{RE}}_{t - j} + \vartheta {\text{ECT}}_{t - j} \hfill \\ \quad \quad \quad \quad \;\; + \beth_{t} \ldots \hfill \\ \end{gathered}$$
(10)

where \({\text{CO}}_{2} {\text{e}}, {\text{Y}}, {\text{TOR}}, {\text{RE and}} {\text{FDI}}\) are the variables considered in the current study, and \(\mathrm{D and }\Delta\) are a dummy to capture the breaks and differenced operator of the regression equations. \({\beth }_{t}\) Indicates the uncorrelated and normally distributed error term of the equations (610). These particular equations are the error correction models (ECM) with no restricted (conditional ECM) coefficients (Pesaran et al. 2001). In the equations, 610 contains summation operators which are short-run dynamics, and the rest of the parts of equations are long-run relationships (Shahbaz et al. 2013). Before estimation, the equation, the lags of the whole system of equations, would be selected using one of the criteria, including AIC, BIC, or SIC. Referring to the baseline equations above, we have formulated the null and alternative of the hypothesis of the bound test are as under;

Null: No cointegration.

Alternative: Cointegration.

Using the bound test approach for lagged level variables, the null hypothesis of cointegration is;

$$H_{0} = \pi_{1} = \pi_{2} = \pi_{3} = \pi_{4} = \pi_{5} = 0$$
$$H_{a} = \pi_{1} \ne \pi_{2} \ne \pi_{3} \ne \pi_{4} \ne \pi_{5} \ne 0$$

The distribution of these statistics is nonstandard; therefore, its critical values are not available for the mixture of I(1) and I(0). Therefore Pesaran et al. (2001) developed critical values based on the asymptotic distribution of the F-test. This provides upper and lower values of bonds for a number of variables. In ARDL bound testing approach, lower bound considers all the variables are I(0), and upper bound assumes that all the variables are I(1), and there are no values for I(2) order and is the limitation of this test. When the F-statistics falls below I(0), we reject the null hypothesis, and there is no cointegration. On the other hand, if the F-statistics falls above the I(1) bound limit, the conclusion is cointegration. If the F-test values fall between I(0) and I(1) bands, the results considered inconclusive. In that case, we have to test other methods of cointegration.

While creating the short-run relationship, it is possible to have hidden cointegration, which fails to provide an accurate interpretation of estimated non-symmetric coefficients. In that case, a restriction may be imposed on the regression equations (Granger and Yoon 2002). Hence, to see the log-run dynamics, we estimate the error correction model. Where \(\vartheta\) is the estimator of error correction (ECT) of the short-run models. The significant negative value of ECT(− 1) is expected, which indicates the adjustment speed after a shocking interval to its long-run equilibrium state.

3.3.2 Unit roots

ARDL approach does not force to diagnose the integration order between variables but to analyze the series for higher than the integration of I(1), which possibly provides inconsistent results, and F statistics from the test go null and void (Ahmad et al. 2018). Therefore, before testing the variables for long-run dynamics, it is compulsory to examine the series for stationarity. It is a problem of time series variables that they move in a significant relationship by making trends and shapes concludes in spurious regressions (Granger and Newbold 1974; Hossain 2012; Khan et al. 2020). To check their level of integration, we used two frequently used tests of unit roots in the current study; the first is Ng and Perron (2001), which incorporates the Dickey fuller's GLS and Philip Perron test. Ng and Perron (2001) claim that this test of unit root performs well as compared to other conventional tests of unit roots (ADF and PP), especially in case of negative moving averages and small sample sizes (Malik and Atiq-ur-Rehman 2015; Seker et al. 2015). This test works on four tests statistics, "MZa, MZt, MSB and MPT, the null hypothesis of the series which have unit root can be rejected if the calculated values of MZa and MZt (MZa, MZt > Critical values at 5%) are higher than the critical values at 5% and calculated statistics of MSB and MPT (MSB, MPT < critical values at 5%) are less than critical values at 5% level" (Seker et al. 2015).

The second test of unit root used in the current study is Zivot and Andrews (1992) test to capture if any breaks in the data. Before applying the cointegration methods with asymmetry and breaks, it is needed to detect if there are structural shifts in regimes. Therefore, we tested the series for unit roots with structural breaks in this study. After examining the variables for stationarity, we further checked the variables for joint long-run relationships. We tested them for mutual long run bonding with the help of ARDL bound testing methodology (Pesaran et al. 2001; Shin et al. 2014). The required test uses the conventional Wald test statistics, which shows that the long-run coefficients \({\pi }_{1}={\pi }_{2}={\pi }_{3}={\pi }_{4}={\pi }_{5}\) are all simultaneously equal to zero. Where alternative uses in this test indicate that \({\pi }_{1}\ne {\pi }_{2}\ne {\pi }_{3}\ne {\pi }_{4}\ne {\pi }_{5}\) not equal to zero.

3.3.3 Hatemi-J cointegration

To counter verify the long-run relationship, we then tested the Hatemi-J (2008) test of cointegration with unknown breaks in the current study. It is the drawback of other cointegration methods Johansen (1988) and Pesaran et al. (2001) that they assume the cointegration vector remains stable and there are no shifts in the regimes in the study period. However, in dynamic economy breaks in data series may occur due to changing behaviours of economic actors and affect the economy at large (Seker et al. 2015). In that case, these breaks in the data can lead the economy with misleading decisions. To rectify this issue, Hatemi-J (2008) developed a test for time series with unknown shifts in regime by developing three residual-based tests (ADF, Zt, and Za). These tests are designed to identify the breakpoints in data endogenously, and Monte Carlo simulations suggested that these tests have high power and small distortions. If the calculated values of these tests are higher than critical values at 5% or below, the result is cointegration in the data (Seker et al. 2015). After reviewing the order of integration and cointegration vectors, we established the long-run relationship of Eq. (6) by using the NARDL approach.

3.3.4 VECM granger causality

The causal relationship found to be very important while making policy tools in the empirical analysis. Therefore understanding the importance of causal inferences and nature of the current study, we tested the variables for causality based vector error correction model among the variables in our study. We estimated the first lag of ECT to explore the long-run dynamics of the chosen variables. The equations (xi-xv) given below are the augmented form of Granger causality based on the VECM approach.

$$\left[ {\begin{array}{*{20}c} {\begin{array}{*{20}c} {\Delta {\text{COe}}_{2,t} } \\ {\Delta {\text{Y}}_{t} } \\ {\Delta {\text{TOR}}_{t} } \\ \end{array} } \\ {\Delta {\text{RE}}_{t} } \\ {\Delta {\text{FDI}}_{t} } \\ \end{array} } \right] = \left[ {\begin{array}{*{20}c} {\begin{array}{*{20}c} {K_{1} } \\ {K_{2} } \\ {K_{3} } \\ \end{array} } \\ {K_{4} } \\ {K_{5} } \\ \end{array} } \right] + \mathop \sum \limits_{K = 1}^{p} \left[ {\begin{array}{*{20}c} {\begin{array}{*{20}c} {\alpha_{11} } \\ {\alpha_{21} } \\ {\alpha_{31} } \\ \end{array} } \\ {\alpha_{41} } \\ {\alpha_{51} } \\ \end{array} \begin{array}{*{20}c} {\begin{array}{*{20}c} {\alpha_{12} } \\ {\alpha_{22} } \\ {\alpha_{32} } \\ \end{array} } \\ {\alpha_{42} } \\ {\alpha_{52} } \\ \end{array} \begin{array}{*{20}c} {\begin{array}{*{20}c} {\alpha_{13} } \\ {\alpha_{23} } \\ {\alpha_{33} } \\ \end{array} } \\ {\alpha_{43} } \\ {\alpha_{53} } \\ \end{array} \begin{array}{*{20}c} {\begin{array}{*{20}c} {\alpha_{14} } \\ {\alpha_{24} } \\ {\alpha_{34} } \\ \end{array} } \\ {\alpha_{44} } \\ {\alpha_{54} } \\ \end{array} \begin{array}{*{20}c} {\begin{array}{*{20}c} {\alpha_{15} } \\ {\alpha_{25} } \\ {\alpha_{35} } \\ \end{array} } \\ {\alpha_{45} } \\ {\alpha_{55} } \\ \end{array} } \right]\left[ {\begin{array}{*{20}c} {\begin{array}{*{20}c} {\Delta {\text{COe}}_{2,t - k} } \\ {\Delta {\text{Y}}_{t - k} } \\ {\Delta {\text{TOR}}_{t - k} } \\ \end{array} } \\ {\Delta {\text{RE}}_{t - k} } \\ {\Delta {\text{FDI}}_{t - k} } \\ \end{array} } \right] + \left[ {\begin{array}{*{20}c} {\begin{array}{*{20}c} {\theta_{1} } \\ {\theta_{2} } \\ {\theta_{3} } \\ \end{array} } \\ {\theta_{4} } \\ {\theta_{5} } \\ \end{array} } \right]{\text{ECT}}_{t - 1} + \left[ {\begin{array}{*{20}c} {\begin{array}{*{20}c} {\mu_{1} } \\ {\mu_{2} } \\ {\mu_{3} } \\ \end{array} } \\ {\mu_{4} } \\ {\mu_{5} } \\ \end{array} } \right] \ldots$$
(11)

where \(\Delta\) is used for the differenced operator, \(K_{{1,2,3, 4 {\text{and }}5}}\) are the constants of the regression equations, \(\theta_{{1,2,3, 4, {\text{and}} 5}}\) are the coefficients of error correction term (ECT). Its numerical value is expected to be negative. \(\mu_{{1,2,3,4 {\text{and}} 5}}\) are the error terms, and \(\alpha_{1,1} {\text{to}} \alpha_{5,5}\) are the parameters that need to be estimated, which will demonstrate the short-run causality across the variables. Finally, the dummies are taken exogenous in the VECM Granger causality; therefore, they are eliminated from the VECM equation (11) simultaneously.

4 Results and discussion

The benefit of using the Pesaran ARDL model in the empirical analysis is that it does not require pretesting of unit roots across the variables, however, to identify if any variable is of a higher order than I(1), we examined the stationary level across the variables. Ng and Perron (2001) results presented in Table 2 explores that no variable is of higher integration level than I(1) however, FDI is found to be stationary at level (MZa and MZt > critical values, and MSB and MPT < critical values at 5%) and other variables (CO2e, Y, TOR, and RE) turned stationary after converting to the first difference.

Table 2 Unit root test (Ng and Perron)

Unit roots with structural breaks (Zivot-Andrews) are given in Table 3. The outcomes from this test imply that the chosen variables are non-stationary at the level and stationary after taking the first difference. The results of both tests of unit roots have declared that in levels, they are non-stationarity, and at the first difference and repeating the process explores the stationary properties. Therefore, it is imperative to test the time series variables for the long-run equilibrium relationship.

Table 3 Zivot and Andrews Test of unit root

After analyzing the data for stationary order and found that the variables (CO2e, TOR, Income RE, and FDI) have a unique order of integration. We further determined the series for long-run cointegration by introducing the dummy variables into each model. The results of the bound test presented in Table 4 clarify that the calculated F statistics is higher than critical values at 1% level in all the models except model 2, which is significant at 5% level; therefore, bound test results conclude that the chosen variables have a cointegration association. For example, in ARDL, F-statistics for the CO2e model is 6.88, that is greater than the upper bound limit at 1%, suggesting that the variables have long-term linkages. Similarly, for the income model, the value of the F-test is 3.147 that is higher than the upper bound limit at a 5% level, which indicates the cointegration relationship. In the case of the Tourism index, its value is 6.095; for FDI, it is 5.363, and finally, for the renewable energy model, the value of the F-test is 5.197. All the test statistics are higher than critical values at a 1% level. Therefore, the results indicate the existence of an equilibrium relationship between the variables for all five models.

Table 4 ARDL bound test results

Since we have introduced the dummy variables in the ARDL model to detect the shocks in the data based on the Zivot-Andrews unit root test to identify the given period of shock; however, to make the results robust, we counter verified the outcomes by using Hatemi-J (2008) test of cointegration with unknown endogenous breaks and results are given in Table 5. These tests also specified identical results for the current study by inferring that ADF, Za, and Zt values are higher in absolute terms than critical values at 5% or below, which confirms the cointegration relationship between the considered variables for all models.

Table 5 Cointegration (Hatemi J) test with shifts in regime

The long-run estimates are given in Table 6. The results for model 1 (CO2e) show that income has a significant positive relationship with CO2e emission for Pakistan, where a one per cent increase in income increases the CO2e with 0.524%. These results are consistent with the past studies of (Adebola Solarin et al. 2017; Apergis et al. 2017; Caron and Fally 2018; Destek and Sarkodie 2019; Dogan et al. 2017). The nexus of tourism and CO2e has exposed a positive significant (0.016) relationship. This relationship, in the case of Pakistan, implies that an upsurge in net tourism is degrading the natural environment. The study results are referring to the outcomes of Katircioglu et al. (2014); Lei and Jing (2016); Lee and Brahmasrene (2013); and Zhang and Liu (2019) who specified that the increase in international tourist inflows has increased environmental degradation in terms of CO2 emission through travel and transport and depleting the natural resources for recreational purposes, whereas the long-run increase in FDI has accelerated the CO2e with 0.032%. Therefore, our results conclude with the presence of the "pollution haven hypothesis" (PHH). The results are similar to existing findings of Abdouli and Hammami (2018); Gorus and Aslan (2019); Khan et al. (2019); Naz et al. (2019), and Sapkota and Bastola (2017); who narrated that FDI's to respective regions have further intensified the CO2e. However, the impact of renewable energy is helping to combat CO2e in Pakistan. The investments in clean and renewable energy sources help to eradicate the impurities in the environment; therefore, renewable energy mitigates CO2 in the environment (Bekhet and Othman 2018; Dogan and Ozturk 2017; Bilgili et al. 2016).

Table 6 Long-run estimates

The results of Model 2 (Y) for income indicate that there is a positive relationship between CO2e and income; the empirical results support the findings of Chaabouni and Saidi (2017); Obradović and Lojanica (2017) who found that increase in CO2e has a causal relationship with income. Similarly, tourism-led growth hypothesis is also true in case of Pakistan, this states that a one per cent increase in tourism upsurges income with 0.030% in the long run, referring to the studies of Ridderstaat et al. (2014), and Tang and Tan (2013). Moreover, the inflows of foreign direct investment into Pakistan also improves the growth of the country. Thus they are beneficial to boost up the economy of the country. These results support the findings of past studies (Hakimi and Hamdi 2016).

The results of Model 3 (TOR) imply that the relationship between CO2e and TOR is negative, which indicates a one per cent increase in CO2e decreases the TOR with − 1.243% in the long run. The impact of environmental degradation based on CO2e is vast in Pakistan. The tourists who are travelling to Pakistan are conscious regarding environmental quality. The coefficient of income is 0.303 and significant; this explains that an increase in income improves the tourist places and thus enhances the tourism sector in the country. This finding supports the existing pieces of evidence of Payne and Mervar (2010), and Tang (2011), who claimed that upsurge in income is beneficial to the tourism sector across the regions in their respective studies. FDI is contributing negatively to the tourism sector. This may be because the reason that FDI in the country mainly focused on the dirty technology imports, thus increasing pollutants to the environment that discourages tourist flows. On the other hand, renewable energy is a source to escalate the tourism industry in Pakistan.

When we explore Model 4 (FDI), the results revealed that there is a significant positive direct relationship between CO2e and FDI. This relationship indicates the existence of a bidirectional long-run relationship between FDI and CO2e in the case of Pakistan. Similarly, the relationship between income and FDI is also significant, which reveals that the increase in income provides opportunities to outsiders to invest in Pakistan; this attracts the FDI inflows to the country. On the other hand, there is a negative relationship between TOR and inflows, which indicates that a one per cent increase in tourism index to Pakistan declines the FDI with − 0.298. In contrast, the contribution of renewable energy use to FDI is also significant and positive.

Finally, turning to the Model 5 (renewable energy); the results explored the negative and significant relationship with CO2e; the rate of negative relationship is − 0.782% in the long run. The contribution of RE to economic growth is encouraging and have positive, beneficial impacts. Thus, it declares that a one per cent increase in income helps to increase renewable energy with 0.559% in the long run. There is a need to reassure the investors to invest in renewable energy sources, thus accelerating economic growth with any cost to the environment. Tourism is highly acceptable in the case of renewable energy consumption; it implies that a one per cent increase in tourism improves the RE with 0.038% in the long run.

4.1 Granger causality in the VECM framework

The VECM Granger-causality test is adopted to determine the causal links between the selected variables. The results summarized in Table 7 explore several causal directions, which are the foundation to deliberate the policy guidelines for the current study. The results indicate the existence of two-way causality between tourism index and income in the short run. Referring to previous studies Ridderstaat et al. (2014), and Tang and Tan (2013), who inferred that increase in tourism development, in turn, improve the economic growth of the countries through various channels for example; foreign exchange earnings, employment, business establishments, infrastructure development, government revenues, and different multipliers effects. On the other hand, we found unidirectional causality between the tourism index and renewable energy consumption. Our results indicate that the tourism index has a significant effect on the short- and long-term simultaneous use of renewable energy. Moreover, our findings explored unidirectional causality from FDI to tourism, unlike the conventional scenario (Ben Jebli et al. 2019; Siddiqui and Siddiqui 2019), who revealed that FDI unidirectional causes tourism. The causal results also indicate CO2e causes tourism; FDI and renewable energy simultaneously causing income in Pakistan. Finally, for all models, the ECT( − 1) value is negative and significant, thus suggesting the presence of a long-run causal relationship between the variables selected.

Table 7 VECM Granger-causality results

Before drawing the inferences based on the results of these models, we tested all the models (1–5) for any econometric issues in error terms, including Heteroscedasticity, Autocorrelation, and normality. The insignificant outcomes (given at the bottom of Table 4) of the Breusch–Godfrey LM test (LM χ2), White heteroscedasticity (White χ2), and Jarque–Bera test (J-B χ2) have confirmed that the errors of the models are free of any econometric issue. The stability of estimators is analyzed through CUSUM and CUSUM squares (fig. A2-A6 in appendix), which confirms the estimators are stable at a 5% level for both CUSUM and the CUSUM sum of squares graphs. The results, therefore, are reasonable for further prediction and policy guidance.

5 Conclusion and policy guidelines

The study is conducted on to explore the dynamic linkages between CO2e, tourism indicators, income, renewable energy, and foreign direct investment over 1990–2017 for Pakistan using an ADRL approach. Before applying ARDL, the variables are examined for stationarity using first and second-generation unit root tests. The cointegrating relationships obtained from bound and Hatemi-J cointegration tests have determined that the variables have long-run equilibrium relationships both in linear and in the presence of structural breaks. In the next section, the dummy variable is introduced in the ARDL framework to account for the possible effects of structural breaks in the data to explore the long-run dynamics of the variables; besides it, we applied VECM based Granger causality to analyze the data for causal linkages.

This study's empirical results are unique and support three out of four developed hypotheses by using long-run estimation by incorporating regime shifts and causality results. First, the growth driven by tourism and the tourism hypothesis driven by economic growth are confirmed, which means that the rise in tourism improves the economic indicators (GDP); similarly, the improvements in economic growth increase the tourism industry of the country by investing on enhancing the tourism destinations, hoteling, infrastructures, and transportation facilities. Secondly, Tourism found to be a significant contributor of CO2e in Pakistan, which validates the second hypothesis. Renewable energy and tourism have a direct and positive relationship, which postulates that the increase in energy based on renewable resources is escalating Pakistan's tourism industry (hypothesis-3). Finally, the VECM Granger causality revealed that there is unidirectional causality flowing from FDI to tourism. Besides these results, the long-run estimates provide evidence that FDI and RE have reliable impacts on both environment and economic growth in the country.

The study has revealed some specific policies in the domain of sustainable tourism, renewable energy and sustainable economic growth process. Empirical outcomes of the current research have allowed us to provide policy insights to policymakers in Pakistan. The results revealed that tourism improves economic growth and contributes to CO2e in Pakistan. It is not plausible to reduce the pace of growth; however, there is a need for public awareness regarding environmental commodities, eco-friendly, smart, and sustainable tourism policies. Similarly, the local bodies should be in diminishing emission frequencies by promoting green tourism. Both FDI and tourism are contributing to CO2e emissions; restrictive measures of FDI inflows to Pakistan are not desirable due to its significant growth need. Therefore the focus is strongly needed to adopt the green FDI inflows along with investment in energy efficiency and environmentally friendly technologies to stimulate the sustainable pace of economic development. Further, if this FDI is planned through green investment can improve the environmental quality and sustainable tourism sector in Pakistan. The investment in renewable energy sources is desirable because it is improving economic growth, reducing CO2e by fostering tourism demand in the country. Thus, the investment through FDI is encouraged in clean technologies; therefore, to improve the environment, tourism, and growth at the same time. The provision of government budget in green infrastructure is of utmost need; it will not only support sustainable tourism but also reduce the negative environmental impacts of the urbanization process.

Regardless of the efficient estimates, there is still a vacuum for future research based on more indicators of tourism. For example, the extended period is taken by adding exchange rates (fluctuations in exchange rates in countries like Pakistan have responsible impacts on economic growth) to conduct a new study to provide new insights. Extended time-series studies in the dimension of the environment and tourism are also required by adding renewable and non-renewable energy consumption indicators for comparison in the models. One more significant direction for the studies on tourism is the impact of novel COVID-19. Tourism is one of the leading sectors of the economy, which has been abruptly affected by novel COVID-19. Since, in fear of the virus, every country has banned tourist inbound; therefore, tourism-based economies are feeling problems in such domain. However, due to limitation of such data, this study has limited its circle to 1990–2017 for formal analysis; however, future studies must consider this point to produce timely policies for tourism development. Finally, similar studies are also conducted in a panel of countries, thus to make strong spatial policies on sustainable tourism worldwide.