1 Introduction

Since the industrial revolution, new technologies have radically transformed sectors/industries, emphasizing the role of countries’ economic structures on enhancing modernization of production. Structural transformation—the process by which economies diversify from agriculture to more sophisticated industries and services [23, 74, 80, 84, 108]—directly affects the environment, by promoting for example the rapid growth of fossil fuel consumption and by producing significant levels of carbon dioxide (CO\(_2\)) emissions [86]. Although it is easy to highlight positive and negative impacts in particular sectors, it is much more difficult to analyze and measure the overall environmental footprint of the reallocation of activities throughout the economy.

On the one hand, the transformation of the productive structure and the process of industrialization increase energy consumption and carbon emissions [88, 94, 143]. Some new production technologies developed in recent decades have had a far greater environmental impact than the ones they replaced. For example, in the agricultural sector, the traditional fertilizing system on farms, where animals provided the manure to fertilize the land, has been substituted by chemical fertilizers that have led to severe pollution problems (e.g., increase in nitrate and phosphate in drinking water and rivers, deterioration of soil fertility) because they contain heavy metals (e.g., cadmium and chromium) and high concentrations of radionuclides [21, 114].

On the other hand, the reallocation of factors of production from traditional to modern economic activities can also have positive effects by developing new means of reducing pollution and producing cleaner energy (e.g., solar panels, wind turbines, hydroelectricity, etc). Green technology and eco-innovation are decisively geared at lessening, if not reversing, the negative impacts of pollution by creating new products/services and business methods. These include among others, innovations in renewable energy, recycling, wastewater treatment, and eco-friendly food processing and packaging. The world market of environmental products and services is growing and policy makers are now paying more attention to the environmental goods and services (EGS) industry which is seen as a key ingredient of industrial competitiveness, trade advantage and social stability [40, 70, 79, 120].

In 2020, the EU is adopting an industrial strategy that will support the green transformation (the European Green Deal) by stimulating the development of new markets for climate-neutral and circular products and helping industries to modernize and exploit opportunities globally. The European Commission aims to present a ‘sustainable products’ policy which, among other priorities, will set minimum requirements to prevent environmentally harmful products from being placed on the EU market.Footnote 1

From the above discussion, it becomes clear that structural changes of the economy can affect the environment in a number of ways. To disentangle the net effect of the process of structural transformation on environmental performance we employ the Economic Complexity Index (ECI), which quantifies the ‘product space’ of countries, i.e., the network representation of the products traded internationally.

The measure of economic complexity—which is explained in Appendix—quantifies a country’s productive structure taking into account the sophistication of its exported goods relative to the sophistication of exported goods of the other countries and capturing differences in countries’ industrial structures [1, 8, 18, 19, 30, 31, 44, 58, 60, 61, 63, 64, 110, 115, 129].

In recent years, the ECI has received widespread attention throughout the scientific community, mainly because it is a robust predictor of economic growth [59, 63]. Furthermore, [58] have recently shown that countries exporting complex products tend to be more inclusive and have lower levels of income inequality than countries exporting simpler products. The authors attribute part of their finding to industrialization which played a major role in the rise of a new middle class by creating new jobs and training/education opportunities for workers.

Industrialization has also resulted in higher levels of pollution [11, 24, 102]. The relationship between industrialization and pollution has been investigated in numerous papers. Most of these use cross-country data and find a positive coefficient. A typical example is the work of York et al. [140], who show that in 146 countries, industrialization (measured as % GDP from industry) monotonically increases energy use and CO\(_2\) emissions. Another example is Shafiei and Salim [116], who also find a positive relationship in 29 OECD countries for the period of 1980-2011. Asane-Otoo [13] shows that the industrialization process of middle-income African countries had a significant positive effect on their CO\(_2\) emissions. A positive and statistically significant relationship between industrialization and pollution is also found by Al-Mulali and Ozturk [6] in 14 Middle East and North African (MENA) countries for the period of 1996-2012. The positive relationship between the proportion of GDP from industry and air pollution is also verified by Martínez-Zarzoso et al. [96] for European Union member states during the period of 1975-1999. Extensive research also exists regarding the relationship between structural change and environmental degradation in China. Studies such as [85, 90, 133, 138, 141] show that a country’s structural transformation from agricultural to industrial production influences environmental quality in a negative way.

On the other hand, according to the ‘three-sector analysis’ [26, 46], as incomes rise and countries become more prosperous, the economy moves towards the tertiary sector (service-based) and the level of pollution decreases [34]. Then, demand for health, education, security and well-being increases, as well as the level of environmental awareness. The interest on the Environmental Kuznets Curve (EKC) has recently been revived [3, 5, 29, 33, 35, 50, 83, 97]. Empirical studies on EKC have revisited the implications of structural transformations on the nexus between economic development and environmental performance [95].

Recent advancements in information and communication technologies (ICT) have raised concerns about ‘technological pollution’. A priori, ICT seems to be harmful for the environment because its use implies higher energy consumption. Contrary to this perception, Romm [111] argues that ICT supports sustainable development as the growth of ICT is linked to reductions in energy intensity. According to Hilty et al. [65], ICT’s impacts on environmental sustainability take the following three forms: primary effects, such as increasing electronic waste; secondary effects, such as improving the energy-efficiency of production; tertiary effects, such as inducing a product-to-service shift in consumption and/or activating structural changes in economies’ productive structures. Ollo-López and Aramendía-Muneta [104] show that the use of some ICT helps to reduce emissions, whereas others increase them. In general, there are no consistent results regarding the impact that ICT has on the environment, and the literature investigating this issue is scarce.

The above-mentioned studies show a clear relationship between structural transformations of the economy and the environment. In this work, we contribute to these two strands of literature by documenting a strong and robust relationship between the sophistication of a country’s productive structure and its environmental performance. We find that higher levels of economic complexity are associated with better environmental performance, i.e., better health, higher life expectancy at birth and lower mortality rate under 5, improved access to drinking water and sanitation, more terrestrial and marine protected areas, lower consumption of fossil fuels. On the other hand, higher complexity of exported products leads to lower air quality (i.e., higher exposure to PM2.5, higher CO\(_2\), methane and nitrous oxide emissions), higher energy use and lower renewable energy consumption. This result is consistent across various specifications in a global sample that includes 88 developed and developing countries over the period of 2002-2012.

The remainder of the paper is structured as follows. Section 2 provides a review of the relevant literature and discusses the connection between environmental performance and economic complexity. Section 3 describes the datasets used in the paper. Section 4 describes the econometric analysis for studying the effect of economic complexity on environmental outcomes and discusses the control and instrumental variables included in the econometric model. Section 5 presents the results and their robustness analysis. In Section 6, we draw our conclusions.

2 Linking Economic Complexity and Environmental Performance

According to Kaufmann et al. [78] the composition of the goods that a country produces is an important determinant of its environmental performance. High economic complexity implies a shift from a low-productivity agricultural economy to higher-productivity sectors and to the production of more sophisticated products. This shift requires increased consumption of energy resources, which in turn contributes to elevated CO\(_2\) emissions and environmental degradation. On the other hand, the ECI is related to structural transformations in the economy, and reflects the amount of knowledge and advanced capabilities embedded in the production process. Hence more complex countries offer better conditions for developing technological solutions that benefit the environment [99].

Green innovations stemming from more ‘personbytes’ in the economy, replace the old and environmentally harmful technologies and the production process becomes cleaner and energy efficient.Footnote 2 Gala et al. [48] suggest that economic complexity enhances the uptake of innovations while Gramkow and Anger-Kraavi [52] argue that the determinants of green innovations are similar to non-green innovations. Therefore, it is possible that economic complexity contributes to the absorption of green innovations, thus, improving the overall environmental performance.

Despite its potential importance, the relationship between economic complexity and the environment remains relatively unexplored.Footnote 3 Only a few papers identify the ECI as a predictor of environmental outcomes, and most of them use carbon emissions to represent environmental quality.

Can and Gozgor [20] were the first to introduce ECI in a model that tests the EKC validity in the French economy for the period from 1964 to 2014. Their results illustrate that higher economic complexity suppresses the level of CO\(_2\) emissions in the long run. Neagu and Teodoru [101] examine the relationship between the ECI and environmental pollution within a panel of 25 European Union countries spanning the period from 1995 to 2016. Their findings show that economic complexity is positively associated with greenhouse gas emissions. Dogan et al. [36] use 55 countries over the period 1971 to 2014, which they divide into three different income groups. Their results indicate that the ECI affects CO\(_2\) emissions differently at the various stages of development and income, increasing the environmental degradation in lower and higher middle-income countries and abating CO\(_2\) emissions in high-income countries.

Instead of using pollutant emissions as dependent variable, Yilanci and Pata [139] adopt the ecological footprint (EF) to study the impact of ECI on the environment during the period 1965-2016, and show that China produces and exports environmentally unfriendly goods. Neagu [100] using a panel of 25 European Union countries from 1995 to 2017, suggests a nonlinear impact of economic complexity on the environment and describes this relationship as an inverted U-shaped curve, similar to the EKC for income. This result implies that a country’s environment tends to degrade until a certain level of economic complexity is reached. Above this level of complexity, the quality of the environment begins to improve. In addition, Chu [25] confirms the EKC hypothesis for economic complexity using a wider dataset covering 118 countries for the period 2002 to 2014.

Finally, Swart and Brinkmann [126] focus on a single country, i.e. Brazil, to examine the relationship between the ECI and four environmental variables during the period 2002–2014. They show that forest fires increase linearly with ECI while waste generation decreases. However, they find no evidence of correlation between the ECI and deforestation or air pollution.

Considering our discussion so far, it is clear that the ECI, as a major indicator of structural transformations and proxy for a country’s innovative output [127], is an important determinant of environmental performance. Building upon this intuition we empirically test the hypothesis that two countries that differ in economic complexity— everything else being constant across countries—manifest differences in their environmental performance. That is, if a country moves to a higher level of economic complexity its environmental performance will be better. Furthermore, moving away from using carbon emissions to represent environmental pollution, to the best of our knowledge, this is the first work that uses a synthetic measure such as the Environmental Performance Index (EPI) to represent environmental quality.

In the following sections, we provide an analytical description of the used data, and we formally set the equation to be tested.

3 Data

Dataset 1: environmental performance We utilize the EPI which is a composite index of environmental quality developed by Yale University and Columbia University in collaboration with the World Economic Forum and the European Commission’s Joint Research Centre. The EPI includes (i) emissions indicators for different pollutants, (ii) the effects of pollution on human health and environmental degradation, (iii) the existence and effectiveness of environmental policies.Footnote 4

The EPI ranks how well countries perform on environmental policy outcomes (larger values mean better environmental performance) in two broad objectives including protection of human health from environmental degradation and maintaining ecosystem vitality. National performance on each objective is measured in nine policy categories including twenty proximity-to-target indicators using weights derived from principal component analysis and expert judgment (see Fig. 7 in EPI [39]).

Each of the two broad and inextricably linked objectives encompasses specific environmental policy issues. The environmental health objective includes health impacts (weight: 33%), air quality (33%) and water and sanitation (33%). The ecosystem vitality objective includes water resources (25%), agriculture (5%), forests (10%), fisheries (10%), biodiversity and habitat (25%), climate and energy (25%). The nine policy categories are calculated as the weighted average of twenty underlying proximity-to-target indicators (i.e. they measure how close countries are to meeting internationally established targets or how they perform with respect to the best performing countries).

We analyze the sensitivity of our baseline results using two alternative dependent variables: (a) \(CO_2\) emissions from fuel consumption obtained from the World Bank [15], and (b) average exposure to PM2.5, which is one of the EPI’s components. Among the different pollutants, \(CO_2\) and PM2.5 are emitted from anthropogenic sources, are directly linked to economic activities and are considered to be two of the most serious hazards to human health at the global level [22, 37, 112]. As an alternative dependent variable, we have also used the World Bank’s sum of energy consumption index. In this way, we additionally study the economic complexity and energy consumption nexus, as \(CO_2\) emissions are mostly generated by the use of fossil fuels. Table 1 summarizes the definitions of the variables, the sources, and presents some descriptive statistics.

Dataset 2: exports by product We use freely available international trade data from MIT’s Observatory of Economic Complexity (http://atlas.media.mit.edu). We choose the SITC-4 rev.2 dataset, which provides the longest time series, combining information from a dataset compiled by Feenstra et al. [43] for the years 1962 to 2000 and the U.N. Comtrade dataset from 2001 to 2008 (https://comtrade.un.org), and which provides details about the products exported by each country.

Dataset 3: economic complexity The sophistication of a country’s productive structure is measured by its economic complexity. We measure the economic complexity of countries using the Economic Complexity Index (ECI). The ECI quantifies the diversity and sophistication of a country’s export structure, estimated from data connecting countries to the products they export, and is freely available from MIT’s Observatory of Economic Complexity (http://atlas.media.mit.ed). The index is calculated by applying the methodology described in [60] on dataset 2.

To check the robustness of our baseline results, we also use the improved Economic Complexity Index (ECI+). The ECI+ also measures the diversity and sophistication of a country’s export structure, but is corrected for how difficult it is to export each product. The ECI+ is also freely available from MIT’s Observatory of Economic Complexity. The index is calculated by applying the methodology described in [8] on dataset 2. Albeaik et al. [8] show that the ECI+ outperforms the original ECI in its ability to predict economic growth and in the consistency of its estimators across different econometric specifications. The ECI+ is calculated with simple linear algebra techniques that determine the knowledge intensity of economies endogenously (from the data) [8], recognizing that institutions, knowledge and technology are prerequisites for economic growth. In a very recent working paper, Albeaik et al. [7] show that the ECI+ is equivalent to the fitness complexity metric proposed by Tacchella et al. [128].

4 Regression Analysis

We study the effect of economic complexity on environmental performance using datasets 1 and 3 (see Section 3). Given the availability of controls, the sample covers 88 developed and developing countries over the period of 2002-2012.Footnote 5

For the estimation, in order to control for potential endogeneity problems, we follow a fixed-effects two-stage least squares/instrumental variables (FE 2SLS/IV) strategy.

4.1 Econometric Model

We regress the baseline specification described by the following equation:

$$\begin{aligned} \mathrm {EPI}_{i,t} = \alpha _{0} + \beta _{1} \mathrm {ECI}_{i,t}+ \beta _{2} \log (GDP)_{i,t}+ \beta _{3} [log(GDP)_{i,t}]^2 + \beta _{k} controls_{i,t} + \gamma _{i} + \delta _{t} + u_{i,t}. \end{aligned}$$
(1)

Here, the environmental performance of country i in period t (\(\mathrm{EPI}_\mathrm{i,t}\)) depends on a country’s economic complexity (\(\mathrm{ECI}_\mathrm{i,t}\)), which is the key regressor of our analysis, as well as the level of economic development in per capita terms, \(\log (GDP)_{i,t}\) (taking also into account the Environmental Kuznets Curve empirical findings when considering the squared term of the \(\log (GDP)_{i,t}\) per capita [27, 57, 92, 123, 124, 131]), a set of control variables described in the next subsection, time \(\delta _{t}\) and country \(\gamma _{i}\) fixed effects, and a stochastic term \(u_{i,t}\). To examine the robustness of our results and to generalize our findings, we also replicate our analysis for (a) energy consumption and renewable resources, (b) health impacts, water and sanitation, biodiversity and (c) air quality and emissions. In addition, we substitute the ECI with the ECI+, finding qualitatively similar results. In Section 5, we present and discuss our findings.

Table 1 Variable definitions, sources and summary statistics

4.2 Control Variables

Based on previous literature, we include in the estimated equation a number of control variables that are likely related to environmental performance. First, in order to account for different stages of economic development, we use the logarithm of \(GDP\ per\ capita\) (PPP in constant 2011 international dollars) from the World Bank’s World Development Indicators (WDI). According to the EKC hypothesis, there is an inverted U-shaped relationship between pollution indicators and economic development. To control for this, we add as an explanatory variable the quadratic specification of GDP per capita, \(GDP\ per\ capita^2\). Since the variable \(GDP\ per\ capita\) is highly correlated with its squared term, it has been demeaned to have a zero sample mean in order to reduce the collinearity problem (i.e., we center the linear term around its sample mean before taking the square) [4, 92, 109].

In addition, a nation’s openness to international trade may have a significant impact on environmental quality. Studies on the relationship between trade and the environment give evidence of ambiguous effects [12, 28, 42, 47, 55, 71, 72, 76]. In order to investigate whether openness to trade influences environmental performance, we use the proportion of exports and imports in GDP, denoted as trade. Moreover, we control for the proportions of both agriculture and industry’s value added in GDP to capture the composition of a country’s output, denoted as agriculture and industry, respectively. We also include two demographic variables: population density (number of people per square kilometer of land area) and urban population (the proportion of urban population) to identify the consequences of demographic changes on the environment [66, 73, 87, 106, 119, 132]. Poor air and water quality, insufficient water availability, waste-disposal problems, and high energy consumption are exacerbated by the increasing population density and demands of urban areas. In many countries, most cities are growing at a faster rate than the national average, which puts pressure on urban resources and the environment. In developing countries, workers are migrating from rural to urban areas for better services and this could be considered an additional source of pollution [76]. On the other hand, urbanization may increase environmental awareness and lead to a more efficient exploitation of energy and natural resources. It is therefore possible for more densely populated areas to be less polluted [68, 118, 130].

We also control for the level of human capital by employing the number of enrolled people in secondary education. This variable is expected to affect environmental sustainability because people with more education are more aware of and concerned about environmental hazards. They also tend to engage in actions that promote and support political decisions that protect the environment [16, 17, 107]. Finally, we include data on the control of corruption. The relevant literature distinguishes two partial effects that corruption may have on environmental pollution. On the one hand, corruption directly increases pollution by reducing the stringency of environmental regulations [32, 93] and/or the effectiveness with which they are enforced [54, 91].Footnote 6 On the other hand, corruption affects pollution indirectly by reducing output [56, 77, 98], which in turn may lead to lower pollution at some income levels [53, 77, 117]. This implies that at the aggregate level, the size of the indirect effect could dominate the direct effect, leading to overall pollution going down [27, 51]. In other words, the total effect of corruption on environmental quality cannot be determined a priori [136]. We adopt the measure of control of corruption provided by the World Bank’s Worldwide Governance Indicators (WGI). The index has been re-scaled to range from 0 to 5.0, with higher scores corresponding to better institutions.

In Subsection 5.2, we verify the robustness of our results by adopting further control variables and/or using alternative measures for some of the above-mentioned controls.

4.3 Instrumental Variables

We estimate equation (1) using different econometric methods. First, we use pooled-OLS and then, fixed-effects-OLS. However, fixed effects estimators do not necessarily identify the effect of economic complexity on environmental performance. The estimation of the effect requires exogenous sources of variation. While we do not have an ideal source of exogenous variation recognized by previous studies, there are two promising potential instruments of ECI that we adopt in our fixed-effects 2SLS/IV analysis.

Firstly, we use the measure of the (log) number of journal articles published in scientific and technical journals in a given year. This index calculates the total number of papers in the fields of physics, biology, chemistry, mathematics, clinical medicine, biomedical research, engineering and technology, and earth and space sciences. Higher values are associated with a higher level of scientific effort and output, which is directly related to the intensity of process and product innovation in the economy i.e. to the sophistication of its productive structure.

The second instrument considered is the (log) number of patents granted per year from the US Patent and Trademark Office. There are works such as [135] showing that green patents significantly contribute to the environmental cleanup; however, our hypothesis here is that patents (and articles) impact environmental performance only indirectly, through the enhanced sophistication of products and means of production. In other words, both variables are expected to be correlated with economic complexity—we expect articles and patents to increase technological capabilities which, in turn, influence industrialization and products’ sophistication (see [81])—without having a direct effect on environmental performance and this is validated by our estimations and the relevant statistical tests on the significance and relevance of the instruments (see the discussion in the next section).

5 Empirical Results

5.1 The Effect of Economic Complexity on Environmental Performance

In this section, we discuss our baseline findings, i.e., the results when estimating equation (1) with different econometric techniques. Table 2 reports the results of pooled-OLS, adding additional variables from the set of controls in each step (column). In all specifications, we consider time fixed effects. In all columns except (1), we adopt a set of regional dummies for geographical heterogeneity, which is related to latitude, climatic conditions, and ecological awareness. Namely, we use the following dummies: Europe, Asia, Oceania, North America, South America. In column (8), we also adopt the dummy variable OECD to isolate the effect of high levels of economic development on environmental quality [49, 89, 92]. As expected, the sign of the estimated coefficient is positive because of the higher environmental awareness in developed countries. In all specifications, economic complexity has a positive relationship with environmental performance and the control variables enter with the expected sign. The education coefficient is negative, though its magnitude is negligible.

Table 2 The effect of economic complexity on environmental performance: pooled OLS

In columns (1)-(5) of Table 3, we estimate equation (1) with fixed-effects OLS panel regressions. We use time dummies and robust standard errors (in parentheses). In all cases, the ECI is a positive and statistically significant predictor of environmental performance. The statistically significant and positive squared term of the (log) \(GDP\ per\ capita\) predicts that environmental quality improves at higher incomes, which is in accordance with the EKC hypothesis that the relationship between pollution and economic development follows an inverse U-shaped form [53, 67, 117]. Notably, when we control for economic complexity, the declining part of the EKC is even more pronounced than when we do not (column 5). In addition, the role of industry in terms of value added as % of GDP seems to be statistically important for environmental quality. Together, all variables explain 57.6% of the variance in environmental performance among countries and across time (column 4), but ECI is the most significant variable in the regression analysis, and it is also the variable that explains the largest percentage of the variance in environmental performance after the effects of all other variables have been taken into account. The semi-partial correlation of ECI (the difference in R-squared between the full model and one in which only ECI was removed) is 8.2%, meaning that 8.2% of the variance in environmental performance—which is not accounted for by the other macroeconomic variables—is explained by ECI. This in turn implies that ECI contains information about environmental performance that cannot be explained by these other variables.

The fixed-effects 2SLS/IV results in column (6) verify that the effect of a country’s economic complexity on its environmental performance is positive. In fact, we find that an increase in economic complexity of one standard deviation is associated with an improvement of 5.5 in the EPI (standard deviation: 16.5). This positive effect of economic complexity on environmental performance is robust to the inclusion of measures of \(GDP\ per\ capita\), population density (people per square kilometer of land area), agriculture value added (% of GDP), industry value added (% of GDP), control of corruption, trade (% of GDP), urban population (% of total), and enrollment in secondary education. In the fixed-effects 2SLS/IV estimation we report (a) the F-test for the joint significance of the instruments in the first stage: the rule of thumb is to exceed 10 [125]; (b) the Durbin-Wu-Hausman (DWH) test of endogeneity of regressors: the null hypothesis that the IV regression is not required is rejected; (c) the Cragg–Donald F-statistic (Weak-id) that tests the relevance of the instruments in the first-stage regression: no evidence of instruments having a low correlation with the endogenous regressor after controlling for the exogenous regressors; (d) the Kleibergen-Paap Wald test (LM-weakid) of weak identification: the null hypothesis that the model is weakly identified is rejected; (e) the p value of Hansen’s test of overidentification: the acceptance of the null indicates that the overidentifying restrictions cannot be rejected.

Table 3 The effect of economic complexity on environmental performance: baseline results

Concluding this section, the above analysis suggests that countries with more sophisticated productive structures, tend to have significantly higher environmental performance than countries exporting simple products. Furthermore, exploiting the temporal variation in the data, the fixed-effects panel regression and the fixed-effects 2SLS/IV analysis reveal a positive, statistically significant and robust effect of economic complexity on environmental performance. This suggests that the ECI must be taken into consideration by the policy makers when designing environmental policies as complex products can incorporate green industrial technologies. Producing and exporting complex goods that are associated with better environmental performance must be a priority when economic policies are shaped and national energy and environmental targets are set out by the countries. Our results imply that one mechanism by which a country can improve its environmental quality is to change its economic structure towards the production of goods that have, on average, a higher level of sophistication. Using fiscal and financial incentives, policy makers can promote investments in innovative/sophisticated activities which in turn develop the countries’ ability to upgrade the quality of their environment.

5.2 The Effect of Economic Complexity on Environmental Performance: Sensitivity Analysis

In this subsection, we investigate the robustness of our baseline findings. First, we use an alternative measure of economic complexity, namely the improved Economic Complexity Index (ECI+) developed by MIT’s Observatory of Economic Complexity. The ECI+ outperforms the original ECI in its ability to capture the difficulty of exporting each product. Second, we investigate whether the effect of economic complexity on environmental performance survives under additional and/or alternative control measures. Third, we consider the effect of economic complexity on energy consumption and renewable resources. This is by itself a substantially interesting issue, and as discussed in Section 1, an increasing number of empirical studies investigate the relationship between industrialization and energy use, typically finding a positive effect. Fourth, we check the robustness of our results with the EPI-subcategories related to health impacts (considering also measures for mortality and life expectancy), access to water/sanitation and biodiversity. Fifth, considering the EPI’s component of air quality as the dependent variable, which accounts equally for household air quality, average exposure to PM2.5 and PM2.5 exceedance, we replicate our baseline analysis studying the effect of economic complexity on this measure of air pollution. However, since CO\(_2\) emissions is the most widely used measure of pollutant emissions in the literature, we also estimate the main specification using this measure as the dependent variable, backing up our previous results. Additionally, we test the sensitivity of our model considering emissions such as methane and nitrous oxide.

Table 4 The effect of economic complexity on environmental performance: robustness checks
Table 5 The effect of economic complexity on environmental performance: energy consumption and renewable resources
Table 6 The effect of economic complexity on environmental performance: health impacts, water and sanitation, biodiversity
Table 7 The effect of economic complexity on environmental performance: air quality and emissions

5.2.1 Improved Measure of Economic Complexity (ECI+)

Column (1) in Table 4 reports the estimates using the baseline fixed-effects 2SLS/IV specification and ECI+ as an alternative measure of economic complexity (the regression includes the set of controls used in the benchmark specification and time dummies). The baseline results remain qualitatively intact. Particularly, the coefficient of ECI+ is positive and statistically significant in the instrumented regression. On average, keeping all other variables constant at their mean values, an increase of 1 point in the ECI+ increases the EPI by 9.4 points. The level of development, measured by (log) GDP per capita, again shows a non-linear impact on environmental performance. The EKC hypothesis also appears to be affirmed with the ECI+ as explanatory variable. The negative coefficient of the \(GDP\ per\ capita\) variable combined with the positive sign of its squared term confirms the inverse U-shaped relationship between pollution and economic development.

5.2.2 Alternative/Additional Controls

Columns (2)-(10) in Table 4 start from the benchmark specification with the full set of controls (column (6) of Table 3) and introduce additional variables or alternative measures for some of the previous controls. Specifically, in column (2) we substitute the population density variable with population growth (%), popgrow. Another alternative measure of population density that also captures differences in countries’ demographic characteristics is employed in column (3), namely the proportion of the total population aged 65 and above, popold. In column (4) the corruption variable was substituted by the \(political \ corruption\) index found in the ‘Varieties of Democracy Dataset’, version 6.2. In column (5), we use rural population (% of total) instead of urban population, finding the opposite sign (a positive effect), as expected. Columns (6) and (7) employ two measures of globalization, namely \(economic\ globalization\) and \(political\ globalization\) (from the KOF index of globalization) to control for countries’ openness instead of trade. Column (8) introduces the International Country Risk Guide (ICRG) index of \(quality\ of\ government\), establishing the robustness of our findings to the use of institutional quality measures. The coefficient has a negative sign, but when the control variables are considered all together (column (11)), it has no statistical significance. In column (9), we adopt a measure of the level of shadow economy, which seems to have a negative relationship with environmental performance. In column (10), the \(executive\ constraints\) variable, from the Polity IV Project, is an alternative measure of institutional quality. Finally, in column (11) we estimate the baseline model (a) considering all of the control variables together and (b) substituting the number of people enrolled in secondary education with the gross enrollment ratio (%) in \(tertiary\ education\). Adding these controls in our estimations leaves the findings qualitatively and quantitatively intact.

5.2.3 Energy Consumption and Renewable Resources

The relationship between economic growth, environmental pollution and energy consumption has been studied thoroughly in recent decades, using data from different countries and regions. Most studies are for single countries [9, 10, 55, 121, 122, 134, 142] and only a few papers have used multi-country data to investigate this relationship, producing ambiguous results [2, 42, 76, 105, 113].

Table 5 reports the estimation results of the benchmark specification but using (log) energy consumption (kg of oil equivalent per capita) as the dependent variable in column (1); (log) renewable electricity output (% of total electricity output), renew electricity, in column (2); (log) renewable energy consumption (% of total final energy consumption), renewenergy, in column (3); (log) renewable internal freshwater resources per capita (cubic meters), renew water, in column (4); (log) fossil fuel energy consumption (% of total), fossil fuel cons, in column (5). Economic complexity has a positive effect on energy use and the same effect stands for the level of income. However, for higher stages of economic development, it seems that energy consumption is less intensive (the squared term of \(GDP\ per\ capita\) has a negative coefficient). Both agriculture and industry sectors seem to be energy demanding, and as expected, a higher proportion of urban population is associated with higher energy consumption.

For the variables linked to renewable resources only the coefficient of renew energy is statistically significant, while the negative sign implies a negative effect of economic complexity on renewable energy consumption. Income has the same effect but for higher income levels the consumption of renewable energy increases. In addition, agriculture, industry and corruption have a negative effect on renew energy but trade increases the consumption of renewable energy. However, the negative sign of the fossil fuel cons coefficient in column (5) (statistically significant at the 10% level) provides evidence that complex economies tend to rely less on fossil fuels.

Nevertheless, environmental performance is not only influenced by production practices, but, by the consumption of goods as well. For instance, food and energy consumption account for a large part of the environmental impact. This leads to complex interactions between consumption patterns, production activities and environmental impacts [45]. Therefore, the signs and significance of ECI can vary with the dependent variable, not always in what would be the expected direction. For example, in the specifications (columns) 2–4 of Table 5, higher economic complexity is expected to have a positive effect in promoting renewable resources e.g. through the development of innovative renewable-based infrastructures. However, this effect is counterbalanced by the cost of renewable technologies, which is still high compared to traditional energy sources, and for many developing countries this high cost is a substantial obstacle in expanding their production and use of renewable energy.

5.2.4 Health Impacts, Water and Sanitation, Biodiversity

As discussed in Section 3, the EPI is a composite index that ranks countries’ performance in the following two broad policy areas: (a) protection of human health from environmental harm and (b) vitality of ecosystems. The first component accounts for 40% of the EPI’s total score and includes health impacts (33%), air quality (33%) and water and sanitation (33%).

In Table 6, we check the robustness of our results by re-running the benchmark fixed-effects 2SLS/IV regression with the following EPI issue categories: health impacts (column 1), access to water/sanitation (column 4) and biodiversity (column 5). Furthermore, in columns 2 and 3 we test our model using the (log) mortality rate under 5 per 1000 live births and (log) total life expectancy at birth (years) respectively.

Our results show that economic complexity has an improving effect on all the above measures: higher economic complexity leads to (a) better health, higher life expectancy at birth and lower mortality rate under 5; (b) improved access to water and sanitation; (c) higher biodiversity and habitat (more protected terrestrial biome areas, marine protected areas, critical habitat protection).

5.2.5 Air Quality and Emissions (\(CO_2\), Methane and Nitrous Oxide)

In this subsection, we check the sensitivity of our model by adopting the air quality component of the EPI and various measures of emissions as dependent variables. In this way, we focus on the effect of economic sophistication on air quality, leaving out of the equation the human well-being factors and the other “non-emission” variables. Column (1) of Table 7 shows that the effect of economic complexity on air quality is negative (at the 10% level of statistical significance). The EKC hypothesis is verified again by the statistically significant positive coefficient of the squared \(GDP\ per\ capita\). Regarding the rest of the control variables, population, agriculture and corruption enter the equation with a negative sign, while trade seems to have a positive effect.

Columns (2), (3) and (4) compare the finding above with the results when the (log) CO\(_2\) (the most commonly used indicator of air pollution in the literature), (log) methane and (log) nitrous oxide emissions are used. The effect of economic complexity on these emissions is positive and statistically significant. The squared term of \(GDP\ per\ capita\) is negative and population, agriculture, industry and corruption all have a statistically significant positive sign for the case of CO\(_2\) emissions. Our results also show that trade and urban population have a negative effect on methane and nitrous oxide emissions.

The above results verify that although economic complexity has a positive effect on the composite and comprehensive measure of a country’s environmental performance, this is not the case for air quality. Explicitly, it seems that when an economy accelerates from an agricultural productive structure to a more sophisticated one with industrial and technological sectors, the effect on overall environmental performance is positive but the particular effect on air quality is negative.

The result that economic complexity decreases air quality is consistent with the findings of Dogan et al. [36] for CO\(_2\) emissions in lower- and higher-middle-income countries and [101] for greenhouse gas emissions in EU.

Furthermore, this result combined with our finding of a negative effect of economic complexity on renewable energy consumption suggests the following policy implication to suppress the level of emissions: Policymakers should focus on promoting investments in eco-friendly renewable energy such as solar, wind, hydro, tidal, geothermal and biomass sectors. For the EU, the ‘sustainable products’ policy of the European Commission’s Green Deal strategy must provide incentives for developing renewable energy technologies and sophisticated green inputs, processes and products. And of course, speeding-up the transition from coal to renewable resources is important for the EU’s commitment to reach carbon neutrality by 2050 and for the global effort to implement the Paris Agreement.

6 Conclusions

Our analysis illustrates that the environmental performance of a country is highly correlated with the mix of products that it exports. In a panel data setting, we have verified that there is a robust positive (resp. negative) relationship between environmental performance (resp. air quality) and product sophistication. Moreover, the effect of economic complexity on environmental performance has been verified with fixed-effects instrumental variables estimation techniques. Thus, the evidence presented in the paper suggests that the countries that produce sophisticated products are associated with improved environmental performance but also with inferior air quality (higher exposure to PM2.5, higher CO\(_2\), methane and nitrous oxide emissions). Explicitly, it seems that when an economy accelerates from an agricultural productive structure to a more sophisticated one which includes industrial and technological sectors, the effect on overall environmental performance is positive but the particular effect on air quality is negative.

Hence, the ECI could be a valuable tool for monitoring and assessing policies promoting and ensuring more sustainable and more environmentally-respectful production cycles, such as the European Green Deal, and/or evaluating smart specialization strategies and sectoral reallocation policies towards economic activities that are associated with better environmental performance and lower air pollution. Furthermore, according to WHO [137], exposure to air pollution has been found to have both direct and indirect detrimental effects on human health. The direct effects include respiratory irritation, chronic respiratory symptoms, heart diseases, lung cancer, premature mortality and reduced life expectancy [41, 75, 103]. The indirect mechanisms relate to pulmonary oxidative stress and inflammatory responses. Hence, our results about the effect of economic sophistication on air quality should also be considered valuable to policy makers.

In sum, this study identifies economic complexity as an explanatory variable of the observed differences in environmental footprints across countries. However, we do not attempt to address the questions of why some countries have a higher level of economic complexity than others and what are the particular economic capabilities that are linked to greener production. Nevertheles, even though addressing these questions is beyond the scope of this paper, we do believe that they pose an interesting way forward.