1 Introduction

Economic activity increases the amount of Greenhouse Gases (GHG) a country emits, and is commonly considered by economists to cause greater environmental degradation. During lockdowns introduced to counter the COVID-19 pandemic, economic activity dwindled, and a decline in anthropogenic air pollution was observed. This period was also marked by a sharp decline in flows of Foreign Direct Investment (FDI). According to the United Nations Conference on Trade and Development (UNCTAD) (2021), globally, the fall in FDI was even more severe than the slowdown in Gross Domestic Product (GDP). Notwithstanding the consecutive waves of COVID-19, disruption to supply chains was one of the main reasons for this contraction, according to the UNCTAD (2021).

Although FDI to developing countries fell only 8% (mainly due to resilient flows to Asia), the COVID-19 pandemic prompted a rethinking of policies on trade liberalisation and foreign investment (UNCTAD, 2021). Economic globalization, and particularly FDI, can still be a major contributor to economic growth (Muhammad & Khan, 2019; Weimin et al., 2021), but it is also important to understand its environmental impact. The environmental effects of FDI are commonly disaggregated into three types: scale, structure, and technique. Environmental degradation tends to increase when economic output from domestic production is scaled up, mainly as an indirect effect of increased peak energy demands being met by non-renewable Energy Consumption (Wang et al., 2018a, b). Structure effects are determined by the structural composition of a country’s industrial sector. If its industrial structure is based on highly-polluting industries, greater FDI inflows will increase pollution, while if it is based on cleaner industries and processes, more FDI will reduce pollution, as Hao et al. (2020) have argued. Lastly, the technique effect occurs when there is easy access to advanced technologies in the host country (Hao et al., 2020). The technique effect occurs when FDI introduces new production technologies than can increase the host country’s efficiency, and reduce its Energy Consumption (Xie & Sun, 2020).

Besides these three effects, literature on the FDI-environment nexus largely focusses on two main hypotheses: the Pollution Halo Hypothesis (PHlH) and the Pollution Haven Hypothesis (PHH). The PHlH posits that FDI primarily reduces pollution through the transfer of green friendly technologies that save energy (see Nepal et al., 2021; Yin et al., 2021). This effect can be amplified if host countries adopt these innovative technologies in their industrial structure, to improve their environmental performance. Knowledge transfer also plays an important role in the environmental performance of countries, as is noted by Shahbaz et al. (2015), because it can accelerate innovation and efficiency. Conversely, the premise of the PHH is the harmful effect of FDI on the environment. There has been a tendency among firms to evade environmental restrictions in certain countries by transferring their polluting industries to countries with less demanding environmental laws. By making such investments, the firms lower their environmental compliance costs and maximize their profits although, according to Dou and Han (2019), this transference only occurs when industries are highly mobile.

The fragmentation of production is part of the creation of what literature terms Global Value Chains (GVCs), in which different stages of the production process are located in different regions/countries (Wang et al., 2018a, b). The authors consider it imperative to take into account the increased spatial fragmentation of production when analysing the environmental effects of different trade patterns, because this fragmentation usually involves the transfer of polluting industrial activity. Countries shift dirty production to countries with more relaxed environmental regulations (potentially through FDI) and then import the goods to complete the production process or for final sale; a process that reduces locally-produced emissions by increasing them elsewhere.

In addition to hitting the global economy, the COVID-19 pandemic also exposed the external dependency of certain countries, due in part to the fragmentation of production encouraged by FDI. Although it has raised levels of production and income in developing countries, this fragmentation has also increased their dependency on developed countries. As a result, the social and economic consequences of the pandemic have been harsher for developing countries. In its aftermath, renewed demand for economic growth, and the prospect of even tougher social and economic consequences will tempt some developing countries to further relax environmental restrictions to attract foreign investment, despite the risk of environmental damage. Given the urgent need to better understand these interlinked phenomena, this study analysed a group of 25 high-income countries and 10 middle-income countries over a period from 1995 to 2019.

Table 7 in the Appendix lists some of more relevant studies on the FDI-Environment nexus and reveals that they tend to focus solely on Carbon Dioxide (CO2) emissions (identifying a gap in the literature) (see, e.g., Bildirici & Gokmenoglu, 2020; Nepal et al., 2021; Xie et al., 2020; Yin et al., 2021). However, CO2 emissions are only one segment of anthropogenic GHG (Haug & Ucal, 2019), as Nitrous oxide (N2O) and Methane (CH4) emissions should also be considered to better understand environmental degradation (Hassan & Nosheen, 2019), and Rehman et al. (2021a) also note the important role played by CO2 and N2O emissions in triggering global warming. Furthermore, Fine Particulate Matter with a diameter < 2.5 µm (PM2.5) emissions are a key cause of smog and have become a serious concern in both developed and developing countries, due to their association with increased death rates, reduced atmospheric visibility, and changes in ecosystems and climate (Zhou et al., 2018). As Xie and Sun (2020) report, these particles can easily entering the lungs and blood, and are considered a threat to human health (Zhou et al., 2018). In countries with high emission levels, economic growth can be a driver of PM2.5 concentrations, as noted by Wang et al., (2018a, b), and Xie and Sun (2020) referred that such emissions may also be related to trade activity. In fact, greater trade liberalisation and economic activity may indirectly influence the environment by increasing the use of energy from non-renewable sources (the scale effect) (Wang et al., 2018a, b).

This study goes further by making a more granular assessment of the consequences of FDI on climate change, and even on certain aspects of human health. Thus, while looking at the impact of FDI on CO2 emissions, this study also analyses its impact on total GHG, N2O, and PM2.5 emissions. N2O and PM2.5 emissions are considered local pollutants, while CO2 emissions are considered global pollutants (Hassan & Nosheen, 2019). Therefore, it is crucial to appreciate that, in the same way that the environmental impact of FDI may vary between economic sectors with differing pollution intensities (Balsalobre et al., 2015), its impact may also differ depending on the type of pollution under analysis. Therefore, it is important to determine which types of pollution are most affected by FDI and to shed light on which types of environmental regulation are likely to be most effective.

The Appendix Table 7 also shows that most studies on this topic are based on linear relationships, and that the ascendant and descendant dynamics of some features are not empirically assessed in a panel analysis. Some of this has been broached in the literature, for instance, showing that the higher a country’s level of innovation, the more likely it is to attract technology-seeking (and clean) FDI, due to lower adjustment costs (Adom et al., 2019). However, more detailed analysis is required to better understand the issue. Furthermore, the analysis of short and long-run impacts and adjustments are considered fundamental in economic analysis as referred by Bridel and Dal Pont Legrand (2017), and appears also pertinent in the analysis of the FDI-Environment Nexus. For instance, as found by Rasheed et al. (2023), climate finance have a vital role in mitigating climate change in the long-run, but appears to be non-statistically significant in the short-run. If only the short-run or only the long-run was analysed, this highly relevant finding would not have been even debated; this is an accurate guide for policymakers, where it shows that more action is required to mitigate pollution in developing countries in the short-run. Hence, while FDI can be considered a long-run phenomenon, climate action is required in the short-term before the damage becomes potentially irreversible.

Thus, this paper is innovative in four ways: (1) it considers the levels of innovation and environmental regulation of countries and their influence on the environmental impact of FDI; (2) it analyses the impact of FDI on total GHG, CO2 emissions and N2O emissions (the most important industrial pollutants) and also on PM2.5 (a more local pollutant); (3) given the urgent need for climate action, this study examines both short- and long-run impacts; and (4) in addition to a linear analysis using the Panel Autoregressive Distributed Lag (PARDL) model, the likelihood (and evidence) of asymmetries in certain variables led to a nonlinear analysis using a Nonlinear PARDL (NPARDL) model to capture the dynamics of short- and long-run impacts within their asymmetries. The NPARDL model was also able to analyse the impacts of independent variables in their ascendant and descendant moments. During ascendant moments, an upward/increasing trend is observed in the independent variable whereas, in descendant moments, there is a downward trend in the independent variable.

The main findings suggest that the environmental impact of Energy Consumption may be indirectly influencing the environmental impact of Investment, Trade Openness and FDI. Indeed, all these phenomena can increase a country’s level of production, thereby raising the demand for energy and, in turn, producing more pollution, a phenomenon known as the scale effect. However, this only occurs because these countries are largely reliant on fossil fuels to meet the increased demand for energy. Thus, electrification and transitioning from fossil fuel to renewables can play a crucial role in reducing environmental degradation (particularly concentrations of PM2.5). However, innovation in developing countries currently appears more geared towards increasing economic growth than addressing climate concerns, at least in the short run. FDI seems to reduce environmental degradation in high-income countries while increasing it in middle-income countries. Thus, the polluting impact of increased trade openness can be a direct consequence of FDI, if this involves the transfer of polluting industries from developed to developing countries or if the increased energy demand generated by FDI in developing countries is predominantly met by fossil fuels.

The subsequent sections of this paper are as follows: Sect. 2 describes the data and methodology used. The results and their discussion are in Sect. 3, and Sect. 4 concludes.

2 Data and methodology

A balanced panel of 25 high-income and 10 middle-income countries was studied using data from 1995 to 2019. Countries were divided by income level according to the United Nations World Economic Situation and Prospects 2022.Footnote 1 The group of high-income countries were Australia, Austria, Chile, Croatia, Denmark, Estonia, Finland, France, Germany, Greece, Hungary, Iceland, Israel, Japan, Latvia, Lithuania, the Netherlands, New Zealand, Norway, Poland, Portugal, Spain, Sweden, United Kingdom, and the United States. The group of middle-income countries consisted of Argentina, Brazil, Bulgaria, Colombia, Ecuador, Malaysia, Mexico, Peru, Romania, and South Africa. The limited availability of data on the variables used to measure environmental regulation (REG) and innovation (PAT) among lower-middle-income and upper-middle-income countries led to these two groups of countries being merged into a single group of middle-income countries. Data on the PM2.5 concentrations variable was only available from 2010 to 2019, so this part of the analysis was limited to this period. Table 1 presents a description of the variables and their sources.

Table 1 Variables’ description and source

GHG emissions include not only CO2, but others such as CH4 and N2O (Zhang et al., 2017). As understanding the transfer of polluting industries from developed to developing countries was a key part of this study, an analysis was made of the impacts of FDI on GHG, CO2 and N2O emissions, which are particularly linked to industrial activity. The rapid recent escalation of PM2.5 concentrations has also caught the attention of scholars (see, e.g., Wang et al., 2018a, b; Xie & Sun, 2020; Xu et al., 2019; Yan et al., 2022; Zhou et al., 2018). This increase in PM2.5 concentrations is related to both trade, as Wang et al., (2018a, b) have noted, and to industrial activity, as mentioned by Yan et al. (2022). Therefore, this study also analyses the impact of FDI on PM2.5 concentrations.

Gross Fixed Capital Formation (GFCF) was used as a proxy for a country’s economic performance, while Trade Openness (TO), was used for trade activity, in line with other literature on the FDI-environment nexus (e.g., Essandoh et al., 2020; Sbia et al., 2014). Energy Consumption is often used in the analysis of environmental degradation (e.g., Essandoh et al., 2020) as it can reveal a country’s energy mix. An FDI host country’s level of innovation might be a valuable criterion for source countries seeking to disseminate their own innovative technologies. To reflect this, following Burhan et al. (2017), Patent Applications (PAT) were used as an indicator of a host country’s level of innovation. Lastly, the strictness of environmental regulations in a host country is often considered a factor influencing the transfer of polluting industry, so environmental-related tax revenue was used to measure the degree of a country’s environmental regulation, in line with Hashmi and Alam (2019).

According to Demena and Afesorgbor (2019), the potential endogeneity in the analysis of the FDI-Environment nexus is mainly due to: (1) bias from omitted variables, because environmental decisions may be influenced by other unobserved factors; or (2) potential reverse causality between FDI and the environment. The level of pollution in a country is also influenced by its history and other factors/variables outside the scope of this study. Demena and Afesorgbor (2019) noted that using country fixed effects can capture time invariant heterogeneity and control for bias arising from omitted variables, they also recommend using an approach that minimises potential endogeneity bias, to control for reverse causality. Thus, a PARDL model was used in this study, because it is robust in the presence of endogeneity (see Menegaki et al., 2017; Neves et al., 2020). According to Shin et al. (2014), NPARDL extends PARDL, to create a flexible dynamic parametric approach that is able to reveal both short- and long-run asymmetries and can correct for weak endogeneity, which is also supported by Uche et al. (2023). Following the example of Demena and Afesorgbor (2019), control variables were used in this study to minimise potential bias from omitted variables, specifically for Energy Consumption and Trade Openness.

Variables were converted into per capita values and then into natural logarithms, except for variables measured as percentages, which were directly converted into natural logarithms. Table 2 presents the descriptive statistics of the variables. Descriptive statistics of PM2.5 concentrations are not included here because their period of analysis was different but are available upon request to the authors.

Table 2 Descriptive statistics

A series of preliminary tests were conducted to check for the presence of collinearity, multicollinearity, and cross-sectional dependence. Specifically, the correlation matrix, Variance Inflation Factor (VIF), and cross-sectional dependence tests (Pesaran, 2004) were carried out. The results presented in Appendix Tables 8, 9, 10, 11, 12 and 13 revealed that there were no concerns in this respect. Given the presence of cross-sectional dependence, both the first- and second-generation unit root tests were carried out, namely, respectively, the Maddala and Wu (1999) and the Cross-section Im-Pesaran-Shin (CIPS) proposed by Pesaran (2007). The results showed that all variables were stationary—I(0) or I(1), and none of the variables seemed to be I(2), suggesting that both the PARDL and NPARDL models were suitable (see Appendix Table 14).

2.1 Panel Autoregressive Distributed Lag model

The PARDL model was first introduced by Pesaran and Smith (1995) and has several advantages. It allows an analysis of the short- and long-run impacts of FDI on the environment, which is crucial given that immediate action is needed to address climate change, but long-term effects should also be considered in policy design. Besides handling variables with both I(0) and I(1), levels of integration, the PARDL model can also address endogeneity. Indeed, as first considered by Pesaran et al. (2001), long-run models provide unbiased estimates even in the presence of serial correlation, omitted variables and endogeneity. Therefore, PARDL models are among the most common approaches used in the literature to address endogeneity (see Asumadu-Sarkodie & Owusu, 2016; Chandra Voumik & Ridwan, 2023; Mirza & Kanwal, 2017; Salahuddin et al., 2018).

The PARDL approach provides unbiased estimates and valid t-statistics, even in the presence of endogeneity (Menegaki, 2019). This is mainly because the PARDL model maintains the asymptotic distribution of long-run estimators and mitigates endogeneity bias through lagged variables (Shaohua et al., 2021). Briefly, PARDL models can address endogeneity by including lags in all variables (e.g., Asteriou et al., 2021; Neves et al., 2020), both dependent and independent (e.g., Isiksal & Assi, 2022; Sankaran et al., 2019), endogenous and exogeneous (e.g., Pesaran et al., 2001; Shaohua et al., 2021). As demonstrated by Harris and Sollis (2003), this transformation eliminates residual correlation (see Baharumshah et al., 2009; Boukhatem, 2022; Harris & Sollis, 2003; Isiksal & Assi, 2022; Malik et al., 2020; Marques et al., 2016; Menegaki, 2019; Nusair & Al-Khasawneh, 2022; Shin et al., 2014).

According to Pesaran and Shin (1995), the general PARDL(p,q) equation is specified as follow:

$${Y}_{it}=\sum_{j=1}^{p}{\varphi }_{ij}{Y}_{it-j}+\sum_{j=0}^{q}{\delta }_{it}{X}_{it-j}+{\mu }_{i}+{\varepsilon }_{it}.$$
(1.1)
$$\Delta {x}_{it}={\beth }_{1}\Delta {X}_{it-1}+{\beth }_{2}{X}_{it-2}+\dots +{\beth }_{s}\Delta {X}_{it-s}+{u}_{it}$$
(1.2)

where i = 1,…,N is the number of countries under analysis, t = 1,…,T is the time and j is the number of lags. \({Y}_{it}\) is the dependent variable and \({X}_{it}\) denotes the independent variables that include both interest and control variables (the latter may also help control for omitted variables bias). \({\mu }_{i}\) and \({\varepsilon }_{it}\) show the fixed effects and the error term, respectively. \(\varphi\), \(\delta\), and \(\beth\) are parameters to be estimated and \(\beth\) captures the autoregressive process in \(\Delta {X}_{it}\). When \({Y}_{it}\) is correlated with \({\varepsilon }_{it}\), the assumption of strict exogeneity is violated, and this can be overcome by including lags and interpreting the equation as a distributed lag (Wooldridge, 2002).

The Error Correction Term (ECT) is then added and specifies the dynamics of the variables in the short-run and how they is impacted by the deviation from equilibrium Teng et al. (2021). Hence, as stated by Menegaki (2019), short-run adjustments can be integrated with the long-run equilibrium through the Error Correction Mechanism (ECM). Based on the above Eqs. (1.1) and (1.2), the error correction equation is specified as follows:

$$\Delta {Y}_{it}={\emptyset }_{i}\left({Y}_{it-1}-{\theta }_{i}{X}_{it}\right)+\sum_{j=1}^{p-1}{\varphi }_{ij}^{\prime}\Delta {Y}_{it-j}+\sum_{j=0}^{q-1}{\delta }_{ij}^{\prime}\Delta {X}_{it-j}+{\mu }_{i}+{\varepsilon }_{it}.$$
(2)

where

\({\emptyset }_{i}=-(1-\sum_{j=1}^{p}{\varphi }_{ij})\), \({\theta }_{i}=\sum_{j=0}^{q}\frac{{\delta }_{ij}}{(1-\sum_{k}{\varphi }_{ik})}\), \({\varphi }_{ij}^{\prime}=-\sum_{m=j+1}^{p}{\varphi }_{im} j=\mathrm{1,2},3,\dots , p-1\) and \({\delta }_{ij}^{\prime}=-\sum_{m=j+1}^{q}{\delta }_{im} j=\mathrm{1,2},3,\dots ,q-1\)

\({\emptyset }_{i}\) indicates the speed of adjustment and measures the time it takes for the dependent variable to return to equilibrium after changes in the independent variables. The term \({\theta }_{i}\) indicates the long-run association among the independent and dependent variables. If this adjustment speed equals zero (i.e., \({\emptyset }_{i}=0\)), the ECT is expected to be negative and significant, based on the hypothesis that the variables return to a long-run equilibrium (Teng et al., 2021). To disentangle causality, the literature typically uses specific causality tests (Wen et al., 2022). The ECM of PARDL is known as the error correction version of Granger Causality, so, by using it, the PARDL model can address endogeneity, as confirmed by Menegaki et al. (2017).

The general equation of the PARDL model is re-parametrised to formulate Eqs. (3), (4), and (5) so as to reveal the dynamic relationship of the independent variables with GHG, CO2 and N2O emissions, respectively.

$$\Delta LGH{G}_{it}={\alpha }_{1i}+{\gamma }_{1i1}\Delta FD{I}_{it}+{\gamma }_{1i2}\Delta LGFC{F}_{it}+{\gamma }_{1i3}\Delta LE{C}_{it}+{\gamma }_{1i4}\Delta LT{O}_{it}+{\gamma }_{1i5}\Delta LPA{T}_{it}+{\gamma }_{1i6}\Delta LREG+{\beta }_{1i1}GH{G}_{it-1}+{\beta }_{1i2}FD{I}_{it-1}+{\beta }_{1i3}LGFC{F}_{it-1}+{\beta }_{1i4}LE{C}_{it-1}+{\beta }_{1i5}LT{O}_{it-1}+{\beta }_{1i6}LPA{T}_{it-1}+{\beta }_{1i7}LRE{G}_{it-1}+{\varepsilon }_{1it}.$$
(3)
$$\Delta LCO{2}_{it}={\alpha }_{2i}+{\gamma }_{2i1}\Delta FD{I}_{it}+{\gamma }_{2i2}\Delta LGFC{F}_{it}+{\gamma }_{2i3}\Delta LE{C}_{it}+{\gamma }_{2i4}\Delta LT{O}_{it}+{\gamma }_{2i5}\Delta LPA{T}_{it}+{\gamma }_{2i6}\Delta LRE{G}_{it}+{\beta }_{2i1}LCO{2}_{it-1}+{\beta }_{2i2}FD{I}_{it-1}+{\beta }_{2i3}LGFC{F}_{it-1}+{\beta }_{2i4}LE{C}_{it-1}+{\beta }_{2i5}LT{O}_{it-1}+{\beta }_{2i6}LPA{T}_{it-1}+{\beta }_{2i7}LRE{G}_{it-1}+{\varepsilon }_{2it}.$$
(4)
$$\Delta LN2{O}_{it}={\alpha }_{3i}+{\gamma }_{3i1}\Delta FD{I}_{it}+{\gamma }_{3i2}\Delta LGFC{F}_{it}+{\gamma }_{3i3}\Delta LE{C}_{it}+{\gamma }_{3i4}\Delta LT{O}_{it}+{\gamma }_{3i5}\Delta LPA{T}_{it}+{\gamma }_{3i6}\Delta LRE{G}_{it}+{\beta }_{3i1}LN2{O}_{it-1}+{\beta }_{3i2}FD{I}_{it-1}+{\beta }_{3i3}LGFC{F}_{it-1}+{\beta }_{3i4}LE{C}_{it-1}+{\beta }_{3i5}LT{O}_{it-1}+{\beta }_{3i6}LPA{T}_{it-1}+{\beta }_{3i7}LRE{G}_{it-1}+{\varepsilon }_{3it}.$$
(5)

where the prefix “L” stands for natural logarithm.

The short- and long-run impacts were analysed through the coefficients of semi-elasticities and long-run elasticities, respectively. The long-run elasticities were calculated using the following Eq. (6):

$${\pi }_{i}=-\frac{{\beta }_{it-1}}{ECM}$$
(6)

where \({\pi }_{i}\) denotes the computed long-run elasticity, \({\beta }_{it-1}\) is the coefficient of the respective variable, and \(ECM\) is the coefficient of the dependent variable, both lagged once.

2.2 Nonlinear Panel Autoregressive Distributed Lag model

The NPARDL model was proposed by Shin et al. (2014). The main idiosyncrasy of this methodology is that it detects both short- and long-run asymmetries. Therefore, this methodology can overcome the main limitation of the PARDL model; its ineffectiveness in analysing the volatility (upward and downward moments) of the variables. It can, thus, provide further information about the impact on the dependent variable of ascending and descending moments of the independent variables (Marques et al., 2019). Ascending moments occur when the variable experiences upward momentum. For example, in the case of FDI, there is an upward trend in FDI when there is an increase in FDI inflows into the host country. At descending moments, a downward trend in the variable can be observed.

The partial sums are defined as follow:

$$x_t^+ = \mathop \sum \limits_{n = 1}^t \Delta x_n^+ = \mathop \sum \limits_{n = 1}^t {\text{max}}[\Delta x_n ,0].$$
(7)
$$x_t^- = \mathop \sum \limits_{n = 1}^t \Delta x_n^- = \mathop \sum \limits_{n = 1}^t {\text{min}}[\Delta x_n ,0].$$
(8)

This methodology requires the same testing procedures as the PARDL model, and it is also crucial to consider whether the variables are stationary—I(0) or I(1)—or mutually cointegrated (Haug & Ucal, 2019). It should be mentioned that the NPARDL model, as an extended version of the PARDL model, can also address endogeneity (Shin et al., 2014; Uche et al., 2023).

Cointegration between the ascending and descending variables was identified by Granger and Yoon (2005), and “hidden cointegration” is generalized by Schorderet (2003) as follow:

$$z_t = \alpha_0^+ x_t^+ + \alpha_0^- x_t^- + \alpha_1^+ y_t^+ + a_1^- y_t^- .$$
(9)

If \({z}_{t}\) is stationary, \({y}_{t}\) is considered asymmetrically cointegrated, as assumed by Marques et al. (2019). The standard NPARDL equation is present in Eq. (10).

$$\Delta Y_{it} = \alpha_{1t} + \mathop \sum \limits_{n = 0}^k \beta_{1_{2it} } \Delta x_{it - n}^+ + \mathop \sum \limits_{n = 0}^k \beta_{1_{3it} } \Delta x_{it - n}^- + \delta_{1_{4it} } y_{it - 1} + \delta_{1_{5it} } x_{it - 1}^+ + \delta_{1_{6it} } x_{it - 1}^- + \varepsilon_{1it} .$$
(10)

where \({\alpha }_{1t}\) denotes the constant. The operator “\(\Delta "\) indicates the first differences. \(\beta\) corresponds to the short-run coefficients and \(\delta\) represents the long-run coefficients. The symbols “+” and “−” represent the positive and negative changes of the variables, respectively.

It is important to note that this methodology is mainly recommended for modelling large T-panels (Kouton, 2019), i.e., panels that consider many years. In this study, the number of years under analysis is moderate. Even so, this method has already been employed in the literature for small samples. Sarkodie and Adams (2020) used a NPARDL model for a time-horizon of 28 years (1990–2017), and Jareño et al. (2020) presented this methodology for a period ranging from 2010 to 2018.

3 Empirical results and discussion

This section, which is divided into three parts, describes the diagnostic tests performed to choose the most appropriate estimator. The first and second parts present and discuss the results regarding GHG, CO2 and N2O emissions of the PARDL and NPARDL models, respectively. The third part focuses on the analysis of PM2.5 concentrations, which is treated separately because its period of study differed from the others.

3.1 PARDL model outcomes

The Robust Hausman test (\({\mathcal{Y}}_{{\varvec{H}}{\varvec{A}}{\varvec{U}}{\varvec{S}}{\varvec{M}}{\varvec{A}}{\varvec{N}}}\)) was used to check for individual effects. The results revealed that a fixed effects estimator was suitable. To detect first-order autocorrelation, cross-section correlation, and/or heteroskedasticity, the Wooldridge test (\({\mathcal{X}}_{AUT}\)), the Breusch Pagan LM test (\({\mathcal{X}}_{CS}\)), and the Modified Wald test (\({\mathcal{X}}_{HET}\)) were carried out. These phenomena were found in all models for high-income countries, but no cross-sectional correlation or first-order autocorrelation was found in the GHG and CO2 emissions models for middle-income countries, respectively. Consequently, the nonparametric estimator proposed by Driscoll and Kraay (1998) (DK) was chosen, as previously used by De Pascale et al. (2020) and Özokcu and Özdemir (2017). As Hoechle (2007) explains, in addition to allowing fixed effects, this estimator modifies the standard error of the fixed effects regression so that it can deal with cross-sectional dependence and be consistent in the presence of heteroskedasticity and autocorrelation (see also Hashmi & Alam, 2019) thus providing robust results.

To avoid misleading results and to check for potential structural breaks, the Zivot and Andrews (2012) (ZA) unit root test was also performed, as relying on conventional unit root tests can lead to ambiguous results in the event of a structural break, as noted by Caglar (2020). The results of the ZA test (shown in the Appendix Table 15), the residuals, and the socioeconomic context of each country were analysed, and any outlier events or structural breaks were identified.Footnote 2 Following this, these milestones were controlled by including impulse dummy variables in the PARDL model and their significance were tested, following the procedure outlined by Afonso et al. (2018). Only events that were statistically significant at a 1% level were kept in the model. Moreover, their overall significance was tested to confirm the importance of controlling the identified milestones (see Appendix Table 16). Table 3 presents the results of the PARDL model.

Table 3 PARDL outcomes

The results show that Energy Consumption is a driver of environmental degradation, except for N2O emissions in high-income countries in the long run. This might suggest that high-income countries are aware of the massive damage caused to the ozone layer by N2O emissions (Sinha & Sengupta, 2019), that they expending less resources (such as energy) in the agricultural sector, and/or that wastewater treatment plants have become more energy-efficient, as this has direct and indirect impacts on N2O emissions, according to Gómez et al, (2018).

Gross Fixed Capital Formation, a long-run investment that, according to Södersten et al. (2018), generally increases a country’s production capacity, was shown to worsen all air pollution variables in high-income countries in the short and long run, possibly due to the scale effect. In middle-income countries, these harmful environmental effects were limited to N2O emissions. As noted by Van Tran (2020), agricultural activities and the burning of fossil fuels are major sources of N2O emissions. This suggests that an increase in Investment (perhaps due to economic globalisation) results in greater land use and consequent environmental degradation (Yameogo et al., 2021). Countries most dependent on foreign investment, generally apply less of their wealth to climate action (Zaidi & Saidi, 2018). Given that Investment seems to harm the environment, should middle-income countries reduce investments to curb pollution, especially in agricultural activities? Evaluating this trade-off calls for an analysis of nonlinear relationships.

In high-income countries, Trade Openness increases GHG, CO2 and N2O emissions (Hassan & Nosheen, 2019; Van Tran, 2020). This impact is generally linked with increases in Energy Consumption (Sbia et al., 2014) often from the production of more energy-intensive goods for export (Murshed et al., 2021), and/or energy-based activities driven by trade liberalisation, such as transport and manufacturing (Van Tran, 2020). In contrast, Trade Openness unexpectedly reduces N2O emissions in middle-income countries. A similar result was found with respect to FDI, thus, supporting the PHlH. Possibly due to the technological spill-overs that they engender, international trade and economic integration seem to be crucial for reducing N2O emissions, (Nguyen et al., 2021). However, Sinha and Sengupta (2019) consider that Trade Openness and FDI have probably been directed towards industrialisation, thus decreasing agricultural land use and consequently N2O emissions. This impact cannot be fully explained through an analysis of linear relationships.

Foreign investment appears to increase CO2 emissions in middle-income countries, supporting the PHH. From this analysis of various air pollutants, one might conclude that the impact of FDI varies depending on which sector of the economy receives it. Therefore, policymakers should develop specific environmental regulations for each type of pollution and avoid “one size fits all” policies. Environmental regulation in middle-income countries seem capable of reducing pollution in the short run. With regard to patents, the greater the number of new applications in a country, the greater the increase in CO2 emissions in the short run, suggesting that the ideas developed in these countries have focused on economic growth rather than carbon mitigation. Although carbon mitigation technologies are generally developed by high-income countries (Cheng et al., 2019), middle-income countries should also develop technologies to address climate change because, as mentioned by Cheng et al. (2019), it may be difficult to transfer such technologies from developed to developing countries.

3.2 NPARDL model outcomes

The suspicions raised by the results of the linear analysis, regarding the existence of nonlinear relationships, led to testing for short- and long-run asymmetries. This was done by performing the standard Wald test, a common practise in the literature (see Haug & Ucal, 2019; Rehman et al., 2021a, b, c; Yirong, 2022). The short-run symmetry was tested, based on the null hypothesis: \({{\beta }_{1}}_{2it}={{\beta }_{1}}_{3it}\). The null hypothesis of long-run symmetry is: \(-\frac{{{\delta }_{1}}_{5it}}{{{\delta }_{1}}_{4it}}=-\frac{{{\delta }_{1}}_{6it}}{{{\delta }_{1}}_{4it}}\). Rejection of the null hypotheses means that asymmetries exist for the corresponding variables.

The results, shown in Table 4, revealed asymmetries in FDI, Energy Consumption, Trade Openness, Patents, and Environmental Regulation, both in the short and the long run, underlining the need for nonlinear analysis using a NPARDL model. The results of the diagnostic tests (see Table 5) indicated that a DK estimator was suitable. Potential structural breaks and outlier eventsFootnote 3 were also checked in nonlinear analyses, following steps similar to those taken for the PARDL models (see Appendix Tables 15, 16, 17).

Table 4 Short- and long-run symmetries
Table 5 NPARDL outcomes

Gross Fixed Capital Formation is a driver of environmental degradation, as an increase in capital may intensify Energy Consumption and consequently pollution (Sapkota & Bastola, 2017), depending on the goods produced and energy sources involved (Södersten et al., 2018). The nonlinear analysis adds by revealing that Investment+ becomes non-statistically significant for GHG emissions in high-income countries in the short run. Södersten et al. (2018) found that investments tend to become less polluting as countries develop, perhaps as they are investing in cleaner assets and energy sources, or transfer polluting production to other countries, a phenomenon known as carbon leakage. In fact, in both the short and long run, Investment in middle-income countries appears to increase CO2 emissions, being therefore considered the predominant air pollutant of their production processes. However, the nonlinear analysis also suggests that simply reducing GFCF is not an effective option for preserving the environment.

The positive and negative changes in Energy Consumption (Energy Consumption+, Energy Consumption, respectively) appears to harm the environment, which could explain the pollutant impact of Investment in its ascendant (Investment+) and descendant moments (Investment). These nonlinear outcomes suggest that the countries under analysis should improve their energy production structures, increase their use of Renewable Energy Sources (RES), and switch investments to cleaner and more energy-efficient assets. To make climate action affordable for middle-income countries, it is vital to remove the obstacles identified by Cheng et al. (2019) to the transfer of carbon mitigation technologies from developed to developing countries.

The nonlinear analysis allowed to capture that Trade Openness+ worsens pollution in middle-income countries, while Trade Openness increases pollution in high-income countries but reduces it in middle-income countries. This provides evidence that high-income countries may be outsourcing polluting production process to middle-income countries through GVC. As stated by López et al. (2013), without international trade or trade liberalisation, each country would have to domestically produce what it now imports. This may explain the harmful increase in pollution caused by Trade Openness in high-income countries in the short-run, and demonstrate the potential negative effect of greater international economic participation for less developed countries if it results in them hosting polluting industries (Ma & Wang, 2021).

High-income countries seem to be developing patents aimed at reducing N2O emissions. However, this is only statistically significant in the long run, because reducing pollution does not just require the development of patents, but also their adoption by industries, people, and countries in general. With respect to middle-income countries, a falling number of patent applications (PAT) tends to worsen environmental degradation in the short and long run. Therefore, these countries should reduce their dependence on external technology and invest in Research & Development (R&D) to develop their own patents to counter environmental degradation.

Increased Environmental Regulation (Environmental Regulation+) appears to reduce CO2 emissions in high-income countries. Environmental regulations may be divided into two types: market-based and non-market-based. Environmental taxes are a non-market-based form of regulation. This result (and the lack of statistical significance of environmental regulation for the other pollutants) might suggest that environmental regulation is more geared towards mitigating CO2 emissions in high-income countries. In a deregulated market, economic agents tend not to adopt environmentally-friendly behaviour or investment decisions as this normally implies higher costs (Huang et al., 2021). This is further supported by the finding that REG boosts pollution in high-income countries (known as highly polluting countries). It is worth noting that some economic agents may change their behaviour even without stricter environmental regulations due to their own beliefs, but this is better explained by behavioural economics, which is not the focus of this study.

Although relaxing Environmental Regulations (Environmental Regulation) appears to reduce N2O emissions in the long run, this does not mean that high-income countries should relax their environmental standards. Where environmental taxes are perceived by firms as a sunk cost, they may tend to invest in cleaner production methods (such as increased use of RES), invest in another economic sector (such as agriculture) or, less desirably, resort to carbon leakage by switching industrial production from high- to middle-income countries. Nevertheless, more relaxed regulation, while increasing industrialisation and CO2 emissions, may slow down other sectors such as agriculture and reduce their associated emissions, such as N2O. Policymakers must therefore consider all GHG emissions when formulating environmental policies.

Increased FDI (FDI+) reduces GHG and CO2 emissions in high-income countries, but increases them in middle-income countries, therefore supporting the PHlH for high-income countries and the PHH for middle-income countries. However, a slowdown in FDI (FDI) appears to boost GHG and CO2 emissions in both groups of countries. To avoid the undesirable effects of FDI without losing its benefits, FDI should be channelled into cleaner investments. Tax incentives should be set up for foreign investors, and environmental regulations in both high- and middle-income countries should converge to avoid disparities between national environmental regulations (a major cause of carbon leakage). Moreover, to discourage corruption, regulators in both the source and host country should be involved in cross-country transactions to analyse the purpose of investments and check they are not being made to circumvent stricter environmental restrictions.

Focusing on the models for N2O emissions, FDI+ appears to reduce N2O emissions in both high- and middle-income countries, corroborating the findings of Nguyen et al. (2021), and supporting the PHlH. As N2O emissions mostly arise from agricultural activities and fossil fuel combustion (Van Tran, 2020), this effect might suggest that FDI reduces fossil fuel combustion. This may be due to the introduction into the agricultural sector of more energy-efficient processes and renewable energy technologies, such as solar-powered water pumping systems.

3.3 The impacts of foreign investment on PM2.5

Given that high concentrations of PM2.5 are a threat to human health and can be connected to trade-related events (Wang et al., 2018a, b) and industrial activities (Yan et al., 2022), one of this study’s aims was to understand how the transfer of polluting industries from developed to developing countries would affect this pollutant and, thus, provide guidance to policymakers on affordable measures to reduce PM2.5 concentrations. Because data on PM2.5 emissions was not available for the entire period studied in this paper, an analysis of the impacts of FDI on PM2.5 emissions was undertaken for a shorter period from 2010 to 2019. This implied recalculating the preliminary tests and the ZA testsFootnote 4 for all the variables under analysis for this period, and not just those for PM2.5 emissions. Therefore, all the tests were redone and analysed but, to save space, it was decided not to present the tables with all these results, although they are available upon request to the authors. The results of the Robust Hausman and diagnostic tests are presented in Table 6, along with the results of PARDL and NPARDL models.

Table 6 PARDL and NPARDL outcomes

Industrial production still mostly relies on fossil fuels according to Xie and Sun (2020), and fossil fuel combustion increases PM2.5 concentrations. The results expose that Investment and Energy Consumption drive PM2.5 emissions, in accordance with Zhang et al. (2020). The nonlinear analysis confirms that Investment continues to be a driver of this type of pollution even when capital formation is slowing down (Investment). Thus, instead of reducing GFCF, countries should invest in cleaner assets, energy-efficient processes, and machines, and make greater use of RES. REG seem able to reduce PM2.5 concentrations in high-income countries in the short term. Although lower levels of environmental regulations (REG) seem to reduce PM2.5 emissions in high-income countries, it is worth comparing this outcome with the findings in this paper regarding the effect of REG reducing N2O emissions. Briefly, stricter environmental regulations may cause high-income countries to deindustrialize, whereas relaxing environmental restrictions may encourage reindustrialization, boosting CO2 emissions but diminishing PM2.5 concentrations. Therefore, policymakers should consider these potential unintended consequences when designing policies for climate action.

The detrimental environmental impact of an increase in patent applications in middle-income countries remains for PM2.5 concentrations, reinforcing the conclusion that R&D in these countries is focused on economic growth rather than environmental concerns. It is critical to change this focus not only to counter climate change, but also to avoid jeopardizing human health. Increased rates of mortality and cancer, and reduced atmospheric visibility are some of the major problems associated with high PM2.5 concentrations referenced by Zhou et al. (2018). This paper’s results show that slowdowns in the development of patents reduce PM2.5 concentrations in high-income countries. This does not mean that patents should be discouraged, but rather, that they should take greater account of environmental factors. One way to develop new ideas beneficial to all parties would be to create clusters for joint climate action by both high- and middle-income countries.

Trade Openness drives PM2.5 emissions in high-income countries, as Wang et al., (2018a, b) found in a study of G20 countries. The authors consider that trade liberalisation is increasing the production of goods and services directly related to energy, thus increasing pollution through the scale effect (see, e.g., Hassan & Nosheen, 2019; Van Tran, 2020). Despite using innovation to chart a path to more renewable and efficient energy use, high-income countries continue to be highly polluting. Given the intermittent generation of renewable sources and occurrence of peak loads, renewable energy may not be sufficient to meet increased energy demands. With respect to middle-income countries, although Trade Openness has somewhat reduced fine particle pollution, perhaps due to technological spill-overs from the international market, as mentioned by Xie and Sun (2020), they are still heavily reliant on fossil fuels, so any increase in efficiency or RES use could significantly reduce PM2.5 emissions.

The nonlinear analysis showed that, in high-income countries, FDI+ appears to increase PM2.5 emissions in the short run but reduce them in the long run. Following the rationale of Wang et al., (2018a, b), PM2.5 concentrations in countries with higher emissions (generally high-income/developed countries) depend on their level of GDP, mainly through the indirect effect of Energy Consumption. Indeed, FDI+ may increase PM2.5 concentrations because of the positive effect FDI has on economic growth, at least in the short run. Conversely, a slowdown in FDI (FDI) may reduce PM2.5 emissions in the long-run, due to an otherwise undesirable slowdown in economic growth. These contrasting impacts of FDI increasing PM2.5 concentrations in middle-income countries but reducing them in high-income countries are, most likely, further evidence of the transfer of polluting production from developed to developing countries. This supports the findings of Wang et al., (2018a, b), that the trade in intermediate goods (produced by polluting industries relocated to countries with more relaxed environmental regulations) tends to increase PM2.5 emissions in host countries.

Unexpectedly, increased Energy Consumption (Energy Consumption+) appears to reduce PM2.5 concentrations in both high- and middle-income countries. Given that this study analyses a period from 2010 to 2019, and that electricity consumption is included in overall Energy Consumption, this effect might be related to the growing electrification and use of RES by these countries. Conversely, a slowdown in Energy Consumption (Energy Consumption) appears to increase fine pollution in both high- and middle-income countries. These periods of lower Energy Consumption (which were only revealed by the nonlinear analysis) may also be associated with periods of reduced renewable energy production, and increased use of fossil fuels, such as coal, as a baseload to meet energy demand. Once more, the nonlinear analysis in this study was crucial for revealing that electrification, particularly in middle-income countries, is crucial for reducing PM2.5 emissions and their consequent threat to human health.

4 Conclusion

Foreign Direct Investment has been used by some countries to circumvent international agreements on climate action by transferring their polluting industries to countries with lower environmental standards. This transfer is mainly analysed through linear relationships and primarily focused on CO2 emissions. This study adds new understanding to this field by examining both the linear and nonlinear impacts of FDI on a range of emissions responsible for climate change, namely total GHG, CO2, and N2O. Furthermore, it extends this study to another cause of environmental degradation, which is considered a threat to human health, and analyses whether FDI is also increasing PM2.5 concentrations. The main findings of this study reveal that the detrimental environmental impacts of increased Energy Consumption drive the harmful impacts of Investment, Trade Openness, and FDI due to the scale effect. Therefore, increasing the share of RES in the energy mix is crucial to reduce the polluting effect that may come through the scale effect.

Although the linear analysis exposed that Investment has been a driver of environmental degradation in the countries studied, the nonlinear analysis revealed that reducing Investment is not a solution, as it keeps increasing pollution. Instead, countries should shift Investment towards cleaner and more efficient assets and increase their use of RES, which would reduce the harmful environmental impact of Investment found in the empirical analysis. This process could be done by imposing regulations that encourage firms to switch to more efficient machinery (taking into account its depreciation rate).

Private investment (domestic and foreign) should be sought for renewable energy infrastructure, particularly in middle-income countries. Developing countries should take advantage of their unexploited characteristics to develop a new comparative advantage by exploiting the available land space and/or the roofs of buildings and houses to increase the installed generation capacity of renewable energy, given that this can benefit both high-income and middle-income countries. This development could be ensured by collaborative international clusters through which middle-income countries could increase the share of RES in their energy mix, and high-income countries could employ capital, earn profits, and import the resulting clean energy. Another key strategy for reducing pollution is electrification. Matching renewable energy production to consumption is one of the biggest challenges of energy transition. As mentioned above, investing in the creation of international clusters could also address this by facilitating the importing and exporting of renewable energy and thereby avoiding energy losses. Another recommendation is to provide subsidies/tax benefits for firms that use renewable energy to encourage them to become more self-sufficient so as to reduce the demand on national energy systems.

Middle-income countries seem to be developing new patents aimed at economic growth rather than addressing environmental concerns, as the empirical results show that such patents increase environmental degradation. Therefore, governments of middle-income countries should invest in R&D and education to develop environmentally-friendly technologies (especially in the agricultural sector) and reduce the cost of adjusting to incoming technologies. Environmental regulations are crucial to reducing CO2 emissions in middle-income countries, but it has not proven to have the desired effect of reducing other types of pollution, namely GHG and N2O emissions. Therefore, strengthening policies on GHG and N2O emissions is also recommended.

The nonlinear impacts of Trade Openness and FDI provide evidence of polluting production transfer from developed to developing countries, but the results also suggest that trade liberalisation can facilitate technological spill-overs and reduce N2O emissions since Trade Openness and FDI have been proven to be effective in reducing this type of emissions. Nonetheless, greater use of RES is vital to prevent increasing pollution via the scale effect (as the empirical results show that FDI and Trade Openness increase PM2.5 and CO2 emissions). Therefore, countries should incorporate fiscal benefits for firms with a higher share of RES use so they will attract clean FDI. Moreover, countries should increase the attractiveness of the primary sector for FDI (particularly agricultural activities), as the empirical results proved that FDI is a promising way of reducing N2O emissions, possibly through the transfer of technology such as solar-powered water systems. Increasing the efficiency of electricity generation through improved power plants’ wastewater and biomass burning is also vital to reduce N2O emissions.

Since the 21st United Nations (UN) Climate Change Conference of the Parties (COP21), when the Paris Agreement was reached, there has been much debate on the vital role of developed countries in financing climate action in developing countries to contain climate change (mitigation) and to cope with its effects (adaptation). Coase’s theorem postulates that a developed country will only pay to reduce pollution in another country if the outcome also benefits the developed country. This theorem might explain why climate finance targets were not met and were subsequently amended, especially at COP26. However, climate agreements are too important to depend on purely selfish interests. Self-interest will always override climate urgency if the benefits do not outweigh the costs leading to climate chaos. Thus, solutions that benefit all parties are needed.

Developed countries should be encouraged to increase the share of renewables in developing countries through green financing, perhaps through investment in renewable energy infrastructure. In fact, the results demonstrate that FDI might be increasing pollution via the scale effect, which suggests that increasing renewable energy could soften the polluting impact of FDI. The potential polluting impact of FDI can also be mitigated if it is used to transfer green technologies to developing countries. Developing countries that receive these technologies would benefit both economically and environmentally. In turn, developed countries making this type of investment in developing countries could benefit from cheaper labour and lower production costs without contributing to environmental degradation, potentially reducing overall pollution; a genuine win–win outcome.

The pollution level of a country is widely thought to be directly influenced by its income level, usually measured through GDP. In this study, domestic investment capacity was used to indicate a country’s macroeconomic status, but income levels may still significantly influence estimations of causal effects. However, given the current climate and energy crises, Green GDP may be a more appropriate indicator for future studies. It reflects economic growth that does not deplete the environment or compromise the availability of resources for future generations. The conclusions of this study suggest that other promising areas for subsequent study include more detailed analyses of countries undergoing energy transition and the role of climate/green finance in reducing the environmental impact of FDI and Trade Openness.