Introduction

Over the past 40 years of reform and opening up, China’s rapid economic growth has attracted global attention. Currently, China’s economy continues to grow at astonishing rates, and its GDP is the second largest in the world. However, high economic growth has resulted in resource depletion and environmental pollution, thereby limiting China’s regional coordination and sustainable development. In particular, greenhouse gas emissions have resulted in global warming (Tang et al. 2019; Tang and Hailu 2020; Tang et al. 2022). Figure 1 illustrates that besides economic growth, carbon emission (hereafter, the “CE”) has been increasing year by year. Currently, the world is faced with a challenging situation of reducing carbon (CO2), the main greenhouse gas. As the largest CO2 emitter, China has been facing increasing pressure and challenges (Chen and Santos 2013; Tang et al. 2022). As a responsible developing country, China has been making constant efforts to reduce CE intensity (Wang et al. 2020). At the United Nations General Assembly held on September 2020, China proposed to “strive to reach the peak of CE before 2030 and to achieve carbon neutrality by 2060” (hereafter, the “dual carbon goals”). However, achieving “dual carbon goals” is difficult for China, as the country is undergoing a rapid urbanization and industrialization process characterized by high energy consumption (Miao et al. 2019). This implies that China needs to do everything in its power to reduce CE while maintaining a steady rate of economic growth (Shi et al. 2018).

Fig. 1
figure 1

Source: World Bank Database and China Statistical Yearbook

Per capita real GDP and CE in China, 2003–2017.

With the rapid development of China’s economy, urban transportation infrastructure has expanded rapidly (Li et al. 2019). China’s highway mileage increased from 1.15 million kilometers to 5.01 million kilometers from 1995 to 2019. The positive effect of transportation infrastructure on economic growth is irrefutable. Modern transportation infrastructure can shorten travel distances and times, save transportation costs, and promote business exchanges between regions, thereby achieving economic growth (Lin and Chen 2020). Notably, transportation infrastructure is closely related to the environment. However, no consistent response exists concerning the effects of transportation infrastructure on CE. Some scholars have opined that transportation infrastructure increases CE (Akerman 2011; Jiang et al. 2017; Fan et al. 2018). Others have claimed that advanced transportation infrastructure can effectively mitigate CE (Jia et al. 2021). Thus, the exact role of transportation infrastructure in increasing CE and how transportation infrastructure affects CE remain unclear. Accordingly, conducting an empirical study on the effects of transportation infrastructure on CE would help understand the relation between the two, thereby helping formulate effective policies aimed at energy saving and emission reduction goals.

The environmental effects of transportation infrastructure have gradually received considerable emphasis with the increasing prominence of the economic benefits of transportation infrastructure. Transportation infrastructure affects CE in two main ways: On the one hand, the construction and operation of transportation infrastructure directly result in CO2 emission. Raw materials such as steel and cement used in the construction of transportation infrastructure may increase energy consumption and CE (Lin and Chen 2020). On the other hand, transportation infrastructure affects economic activities, thus indirectly affecting CE. Related studies are usually based on an empirical analysis to determine the factors affecting CE, thus exploring the overall effect of transportation (Dietz and Rosa 1997; Wang et al. 2019). Specifically, transportation infrastructure can promote technological progress, facilitate economic agglomeration, reduce costs, and improve energy efficiency (Achtymichuk and Checkel 2010). Furthermore, transportation infrastructure may affect CE by restructuring industries (Jia et al. 2021).

A few scholars have begun to focus on the association between transportation infrastructure and CE. However, there still exists room for improvement in existing research. Numerous existing studies have used the ordinary panel model for discussion, largely overlooking the externalization of local transportation infrastructure in the neighboring regions. Moreover, some studies have indicated a significant spatial correlation in CE between countries or regions (Rios and Gianmoena 2018; You and Lv 2018; Lv and Li 2021). In other words, neighboring countries can affect a country’s CE. Likewise, CE between provinces and cities within a country should also be inter-connected (Kang et al. 2016). Furthermore, researchers have demonstrated a positive spatial correlation of CE across Chinese cities (Tang et al. 2021b). Getis (2007) documented that a conventional OLS regression could not overcome the problem of correlation between individuals through the fixed effect model approach on account of a spatial dependence between regions. Accordingly, spatial econometric models should be used to avoid biased estimated results. With regard to the transmission mechanism issue, some studies have mentioned that transportation infrastructure may affect CE through economic agglomeration (Wu et al. 2021a, b). More importantly, few scholars have considered whether the effect of transportation infrastructure on CE differs based on different levels of economic development.

Accordingly, in this study, 281 prefecture-level cities in China during the period 2003–17 were considered to analyze the effects of urban transportation infrastructure on CE. A spatial Durbin model (SDM) was used to examine the local and neighboring effects of transportation infrastructure on CE. Furthermore, economic agglomeration was used as an intermediate transmission mechanism to effectively understand the effects of transportation infrastructure on CE. The potential contributions of this paper include the following aspects: (1) An analytical framework has been constructed concerning the effects of transportation infrastructure on CE. The “local effect” and “spillover effect” of transportation infrastructure on CE have been comprehensively explored using the SDM. (2) Considering economic agglomeration as a breakthrough, the mechanism of the role of transportation infrastructure in CE has been examined from a new perspective. (3) The heterogeneous effect of transportation infrastructure on CE has been further explained by differentiating the samples based on the levels of economic agglomeration.

The rest of this paper is organized as follows. The “Literature review and research hypotheses” section reviews the literature and elaborates the hypotheses. The “Model, variables, and data” section presents the model and data. The “Empirical results” section presents and discusses the empirical results. The last section concludes with some policy recommendations.

Literature review and research hypotheses

Transportation infrastructure and CE

In the past few decades, although transportation infrastructure has been the main determinant of economic growth, it has considerably affected the natural environment with the rising CE (Li and Tang 2017). A large amount of asphalt is consumed during the construction of transportation infrastructure. Road maintenance during operation also consumes energy (Lee et al. 2013). More importantly, the improvement of transportation infrastructure may result in vehicle operation, thereby increasing air pollution. In addition to the direct effects of transportation activities on CE, the interaction between transportation infrastructure and other economic factors may affect CE in the local and neighboring areas (Xie et al. 2019). For instance, urban transportation infrastructure can reduce population movement and cargo transportation costs. With low transportation costs, people and firms may be concentrated to meet the needs of urban development. Finally, citizens may be concentrated in urban centers (Fujita and Thisse 2003), leading to the so-called scale effect of population on CE (Zhu and Peng 2012; Wang et al. 2014). In addition, transportation infrastructure improves accessibility between regions, strengthens trade exchanges and cooperation between regions, and contributes to market expansion (Xie et al. 2017). Notably, the emission of pollutants will also be affected by the increases in the scale of production (Liu et al. 2017). However, the expansion of economic scale will inevitably increase CE. Based on this discussion, the first hypothesis is proposed as follows:

  • H1: A positive correlation exists between transportation infrastructure and CE.

Transportation infrastructure, economic agglomeration, and CE

Transportation infrastructure may directly and indirectly aggravate CE through intermediate effects. According to the theory of agglomeration and economic development, although the importance of nearby natural resources may decline over time, firms and households can make optimal decisions to locate in their preferred cities owing to the development of transportation infrastructure (Fujita and Thisse 2003). In particular, advanced transportation infrastructure can shorten the travel time between regions, reduce the cost of cross-regional communication, and help attract business investment and population clustering (Ahlfeldt and Feddersen 2015). First, advanced transportation infrastructure enables search for suppliers and customers at a lower cost and helps enterprises and employees in making two-way choices in a larger spatial area, thereby helping them search for a more suitable workforce and enjoy higher knowledge spillover effects. This benefit increases productivity, and cities with good transportation infrastructure become the optimal choice for some enterprises to locate (Holl 2004). Second, the externality of transportation infrastructure is mainly reflected in the construction system of transportation infrastructure. In addition to affecting the local economy, the externality can affect the economic development of the surrounding areas, reflecting a spatial spillover effect. The spatial spillover effect of transportation infrastructure will attract more resources to the areas with better transportation infrastructure and enhance economic agglomeration. Empirical findings suggest that expressways affect the spatial distribution of economic activities, and the construction of local intercontinental highways promotes the flow of economic activities from adjacent areas to the areas of concern (Thompson 2000). Firms are more willing to build manufacturing sites in areas adjacent to the newly built highways, thereby positively affecting economic gatherings in other neighboring areas (Holl 2004). The lack of transportation barriers help workers more freely choose their employment areas as well as living locations (Meijers et al. 2012). Moreover, Shao et al. (2017) confirmed that the higher the service intensity of transportation infrastructure, the greater is its effect on urban agglomeration. Overall, a well-developed transportation infrastructure can increase the degree of local economic agglomeration.

Several studies have indicated a significant association between economic agglomeration and CE. On the one hand, economic agglomeration has positive externalities on CE. Economic agglomeration reduces the distance between elements and enhances resource sharing, resulting in technology spillover effects (Duranton and Puga 2004) and thereby reducing CE. On the other hand, economic agglomeration may have negative externalities on CE. Furthermore, the “congestion effect” caused by excessive agglomeration may lead to population and production expansion, resulting in increased energy consumption and CE (Cheng 2016; Wang et al. 2018). In addition, claims regarding the effects of economic agglomeration on CE are mixed. Agglomeration can affect carbon emissions through scale effect, technology effect, and structural effect, but the strength of these three effects varies in different regions (Wu et al. 2021a, b). In general, the effect of economic agglomeration on CE depends on the strength of its technical effect, as well as its scale effect.

However, some scholars have observed that the technology spillover effect of economic agglomeration is more likely to appear in the more developed cities. Cities with high levels of economic development are more likely to contribute to low carbon development (Jia et al. 2018). Most companies focus more on economic efficiency than on environmental protection in cities with poorer economic development. Furthermore, the level of technology and the level of human capital are also not high at that point. Accordingly, the effect of economic agglomeration on knowledge spillover may be minimal. In highly developed cities, the specialized division of labor and the “learning effect” are more conducive to the proliferation of environmental protection and energy-saving technologies, thereby resulting in energy saving and reduction of CE (Glaeser et al. 1992). In addition to this, factors such as environmental conditions, regional development policies, city size, and city-level environmental policies can contribute to city-level heterogeneity (Wu et al. 2019; Wu et al. 2021a, b). In other words, cities may experience varying effects of economic agglomeration on CE. Thus, the second hypothesis is proposed as follows:

  • H2: Economic agglomeration mediates the effect of transportation infrastructure on CE, and different levels of economic agglomeration may differently affect CE.

Combined with the above discussion, a theoretical framework based on the two hypotheses is presented in Fig. 2.

Fig. 2
figure 2

A logical framework of the relation among transportation infrastructure, economic agglomeration, and carbon emissions

Model, variables, and data

Model

According to the Stochastic Impacts by Regression on Population, Affluence, and Technology (STIRPAT) model developed by Dietz and Rosa (1997), the present study considers the traditional demographic variables, level of economic development, and technological progress as the basic explanatory variables for CE. Furthermore, urban transportation infrastructure is considered as the main explanatory variable. The basic empirical model is defined in Eq. (1) as follows:

$$\mathrm{ln}{I}_{it}={\alpha }_{0}+{\alpha }_{1}\mathrm{ln}T{I}_{it}+{\alpha }_{2}\mathrm{ln}{P}_{it}+{\alpha }_{3}\mathrm{ln}{A}_{it}+{\alpha }_{4}\mathrm{ln}{T}_{it}+{u}_{i}+{v}_{t}+{\epsilon }_{it}$$
(1)

where i and t denote the city and year, respectively; α0 denotes the constant term; ui and vt denote the city and time fixed effects, respectively; ɛit is an error term; Iit denotes the amount of CE; P denotes population; A denotes the level of economic development; T denotes the technological level; and TI denotes transportation infrastructure. Although the model considers the effects of population, the level of economic development, and the technological change on the environment, it may overlook other relevant variables. Moreover, the environmental Kuznets curve (EKC) hypothesis mentions a functional relation of environmental quality with GDP and its squared term. Considering the aforementioned issues, the improved STIRPAT model is redefined in Eq. (2).

$$\mathrm{ln}C{E}_{it}={\alpha }_{0}+{\alpha }_{1}\mathrm{ln}T{I}_{it}+{\alpha }_{2}\mathrm{ln}{Y}_{it}+{\alpha }_{3}{\left(\mathrm{ln}Y\right)}^{2}+{\alpha }_{4}\mathrm{ln}P{D}_{it}+{\alpha }_{5}\mathrm{ln}{T}_{it}+{\alpha }_{6}\mathrm{ln}I{S}_{it}+{\alpha }_{7}\mathrm{ln}E{R}_{it}+{\alpha }_{8}\mathrm{ln}{U}_{it}+{u}_{i}+{v}_{t}+{\epsilon }_{it}$$
(2)

where Y denotes per capita GDP measuring the level of economic development, PD denotes population density, T denotes technological progress, IS denotes industrial structure, ER denotes environmental regulations, and U denotes the level of urbanization.

Urban transportation infrastructure and CE may have economic externalities, which are referred to as the spatial spillover effect (Xie et al. 2019). The positive externalities of transportation infrastructure and the negative externalities of CE may lead to an “infrastructure race” or even a “CE race” between neighboring cities. More importantly, existing studies have revealed a spatial correlation between urban transportation infrastructure and CE. Getis (2007) revealed that the conventional OLS regression could not overcome the correlation problem between individuals through the fixed effect model when regions were spatially dependent on others. Consequently, spatial econometric models would be more appropriate to avoid spurious regression results.

Examining whether the variables have spatial dependence and correlation is crucial before determining the spatial measurement method to be used. Several methods have been used for testing spatial autocorrelation, including the Moran’s I, the Geary, and the Getis-Ord indexes. The Geary index is not influenced by sample size and spatial weights. The Getis-Ord index requires that the statistical sample I should not equal to sample j. Moran’s I index is more robust than the Geary index. Furthermore, compared with the Getis-Ord index, Moran’s I index is highly applicable (Moran 1950; Getis and Ord 1992; Anselin 1995). Accordingly, the present study uses Moran’s I index to assess the spatial correlation of variables. Before calculating the Moran’s I value, a spatial weight matrix needs to be constructed. The geographical adjacency weight matrix is used to determine the matrix elements: geographical adjacency spatial weight matrix Wij; if cities i and j are geographically adjacent, Wij = 1, and Wij = 0 otherwise. The Moran’s I index is defined as follows:

$$I=\frac{{\sum }_{i=1}^{n}{\sum }_{j=1}^{n}{w}_{ij}(\mathrm{ln}{Y}_{i}-\mathrm{ln}\overline{Y })(\mathrm{ln}{Y}_{j}-\mathrm{ln}\overline{Y })}{{S}^{2}{\sum }_{i=1}^{n}{\sum }_{j=1}^{n}{w}_{ij}}$$
(3)
$${S}^{2}=\frac{1}{n}{\sum }_{i=1}^{n}{\left(\mathrm{ln}{Y}_{i}-\mathrm{ln}\overline{Y }\right)}^{2}$$
(4)

where lnYi denotes CE or transportation infrastructure of the ith city, n denotes the number of cities, and wij denotes the spatial weight matrix. The value of Moran’s I is between − 1 and 1. If I > 0, a positive spatial correlation exists; if I < 0, a negative spatial correlation exists; and if I = 0, no spatial correlation exists.

The spatial autocorrelation model (SLM), spatial error model (SEM), and SDM are the commonly used spatial measurement models. The SLM assumes that all the explanatory variables in the model have a spatial transmission mechanism. The SEM assumes that only the error term has the spatial interaction effect, and the spatial spillover effect between regions is caused by random shocks (Anselin 1988). The SDM simultaneously includes both the assumptions, more comprehensively reflecting the effects of transportation infrastructure on CE. Thus, the SDM is used in this study. Combined with Eq. (2) with reference to some existent studies (Zhao et al. 2014), Eq. (5) is defined to include the spatial spillover effect, as follows:

$$\begin{array}{c}ln\;CE_{it}=\rho\sum\nolimits_{j=1}^Nw_{ij}\ln\;CE_{it}+\alpha_0+\alpha_1ln\;TI_{it}+\alpha_2ln\;Y_{it}+\alpha_3\left(\ln\;Y\right)^2+\alpha_4ln\;PD_{it}+\alpha_5ln\;T_{it}+\alpha_6ln\;IS_{it}\\+\alpha_7ln\;ER_{it}+\alpha_8ln\;U_{it}+\beta_1\sum\nolimits_{j=1}^Nw_{ij}ln\;TI_{it}+\beta_2\sum\nolimits_{j=1}^Nw_{ij}ln\;Y_{it}+\beta_3\sum\nolimits_{j=1}^Nw_{ij}\left(\ln\;Y\right)^2\\+\beta_4\sum\nolimits_{j=1}^Nw_{ij}ln\;PD_{it}+\beta_5\sum\nolimits_{j=1}^Nw_{ij}\ln\;T_{it}+\beta_6\sum\nolimits_{j=1}^Nw_{ij}\ln\;IS_{it}+\beta_7\sum\nolimits_{j=1}^Nw_{ij}\ln\;ER_{it}\\+\beta_8\sum\nolimits_{j=1}^Nw_{ij}\ln\;U_{it}+u_i+v_t+\epsilon_{it}\end{array}$$
(5)

where ρ denotes the spatial autocorrelation coefficient of the explained variable, wij denotes the spatial weight matrix, and β denotes the spatial lag coefficient. The other variables have been defined previously.

Based on H2, transportation infrastructure may affect CE through economic agglomeration. A standardized mediating effect model is adopted, and further empirical investigations are conducted based on the spatial measurement methods to assess whether economic agglomeration acts as a mediating variable. The stepwise method proposed by Baron and Kenny (1986) is widely used to assess the mediation effect (Zhou et al. 2020; Tang et al. 2021a). The test process is mainly based on whether the following two conditions are met: (1) if the explanatory variable significantly affects the explained variable and for any variable in the causal chain, after controlling the previous variables (including the explained variables), it will significantly affect its subsequent variables; (2) if the aforementioned conditions are true, it means that the mediation effect is significant. The mediation effect corresponds to the partial mediation effect and the complete mediation effect according to the significant/insignificant coefficients of the explanatory variables after the mediation variable is added. To test H2, CE is treated as the explained variable Y, economic agglomeration as the mediating variable M, and transportation infrastructure as the explanatory variable X, controlling for all the other variables.

The specific mediating effect test model is set out as follows. First, it evaluates whether transportation infrastructure significantly affects CE by estimating Eq. (5). Equation (6) is used to assess whether transportation infrastructure affects economic agglomeration.

$$\begin{array}{c}ln\;EA_{{}_{it}}=\rho\sum\nolimits_{j=1}^Nw_{ij}\ln\;EA_{it}+\alpha_0+\alpha_1ln\;TI_{it}+\alpha_2ln\;Y_{it}+\alpha_3ln\;PD_{it}+\alpha_4ln\;T_{it}+\alpha_5ln\;IS_{it}+\alpha_6ln\;ER_{it}+\alpha_7ln\;U_{it}\\+\beta_1\sum\nolimits_{j=1}^Nw_{ij}ln\;TI_{it}+\beta_2\sum\nolimits_{j=1}^Nw_{ij}ln\;Y_{it}+\beta_3\sum\nolimits_{j=1}^Nw_{ij}ln\;PD_{it}+\beta_4\sum\nolimits_{j=1}^Nw_{ij}\ln\;T_{it}+\beta_5\sum\nolimits_{j=1}^Nw_{ij}\ln\;IS_{it}\\+\beta_6\sum\nolimits_{j=1}^Nw_{ij}\ln\;ER_{it}+\beta_7\sum\nolimits_{j=1}^Nw_{ij}\ln\;U_{it}+u_i+v_t+\epsilon_{it}\end{array}$$
(6)

Second, transportation infrastructure and economic agglomeration are included in the spatial measurement model as in Eq. (7) to assess whether the mediating effect of economic agglomeration is upheld.

$$\begin{array}{c}ln\;CE_{it}=\rho\sum\nolimits_{j=1}^Nw_{ij}\ln\;CE_{it}+\alpha_0+\alpha_1ln\;TI_{it}+\alpha_2ln\;EA_{it}+\alpha_3ln\;Y_{it}+\alpha_4\left(\ln\;Y\right)^2+\alpha_5ln\;PD_{it}+\alpha_6ln\;T_{it}+\alpha_7ln\;IS_{it}\\+\alpha_8ln\;ER_{it}+\alpha_9ln\;U_{it}+\beta_1\sum\nolimits_{j=1}^Nw_{ij}ln\;TI_{it}+\beta_2\sum\nolimits_{j=1}^Nw_{ij}ln\;EA_{it}+\beta_3\sum\nolimits_{j=1}^Nw_{ij}ln\;Y_{it}+\beta_4\sum\nolimits_{j=1}^Nw_{ij}\left(\ln\;Y\right)^2\\+\beta_5\sum\nolimits_{j=1}^Nw_{ij}ln\;PD_{it}+\beta_6\sum\nolimits_{j=1}^Nw_{ij}\ln\;T_{it}+\beta_7\sum\nolimits_{j=1}^Nw_{ij}\ln\;IS_{it}+\beta_8\sum\nolimits_{j=1}^Nw_{ij}\ln\;ER_{it}\\+\beta_9\sum\nolimits_{j=1}^Nw_{ij}\ln\;U_{it}+u_i+v_t+\epsilon_{it}\end{array}$$
(7)

Specifically, Eq. (6) does not include the squared term of economic growth as in Eq. (5), although all the other control variables remain constant. The control variables in Eqs. (5) and (7) are exactly the same. If α1 in Eq. (5) is significantly positive, it implies that transportation infrastructure will significantly increase CE. If α1 in Eq. (6) is significantly positive, it implies that the transportation infrastructure will promote economic agglomeration. If both α1 and α2 are significant in Eq. (7), it implies a partial mediating role of economic agglomeration in the relation between transportation infrastructure and CE. If α1 in Eq. (7) is significant but α2 is not, it implies a fully mediating role of economic agglomeration in the relation between transportation infrastructure and CE.

Definitions of variables

  1. (1)

    Per capita CE. The data are obtained from the CEADs database, which uses the particle swarm optimization-backpropagation algorithm to unify the scale of DMSP/OLS and NPP/VIIRS satellite images to estimate CE from 2735 counties in China from 1997 to 2017. Notably, due to limited data updates for some sample cities, we could only calculate as far back as 2017. If the update time is extended, more samples would be missed.

  2. (2)

    Urban Transportation Infrastructure (TI). China’s transportation infrastructure mainly includes railways, roads, waterways, and airports. Among these, railways, waterways, and airports are mainly planned by the central government. It is difficult for local governments to participate in the decision-making of the central government. This study examines the effect of infrastructure on urban CE. Airports, railways, and waterways are intercity transportation facilities, the CE of which is difficult to define within any city boundary (Huang et al. 2020). Figure 3 presents the freight volumes by rail, road, water, and air of the sample cities in China during 2003–2017. As far as the absolute freight volumes are concerned without considering travel distances, road transportation is the most important form of transport at the city level, constituting approximately 80% of the total freight volumes. Accordingly, this study mainly discusses the effects of urban roads on CE, excluding the CE caused by air, rail, and water transport. Currently, no unified standard is available to measure urban transportation infrastructure. The present study uses the method proposed by Xie et al. (2017) to represent TI based on the road surface area per capita. Following Huang et al. (2020), this study uses road density (TII), defined as road surface area per square kilometer of land area, as an alternative measurement for transportation infrastructure to assess the robustness of regression results.

  3. (3)

    Economic agglomeration (EA). The measurement methods of economic agglomeration mainly consider employment density and economic density as indicators. Ciccone and Hall (1995) suggested that economic density could effectively reflect the degree of economic agglomeration. Following their suggestion, the GDP/area ratio is used to denote economic agglomeration in this study. Urban output mainly depends on secondary and tertiary industries rather than the primary industry. Therefore, the ratio of the total value added of the secondary and tertiary industries to the urban construction area is used as an alternative measurement to reflect economic agglomeration for the robustness test.

  4. (4)

    Control variables. The level of economic development (Y) is defined as real per capita GDP. Population density (PD) is defined as the number of permanent residents per square kilometer. Population density may affect CE through the scale and agglomeration effects (Jia et al. 2021). The increase in population density may increase the size of the economy and thereby CE. The agglomeration of the population may also lead to cost savings and technology spillovers, consequently reducing CE. Technological progress (T) is defined as the number of patents per 10,000 people. Industrial structure (IS) is defined as the manufacturing industry’s value added as a proportion of GDP. Several industries with high energy consumption and high pollution exist in the manufacturing sector. Numerous studies have suggested that the manufacturing industry causes more pollution than the other industries in the national economy (Hao and Liu 2016). Environmental regulation (ER) is defined as the utilization rate of industrial solid waste to measure the intensity of environmental regulations as suggested by Jia et al. (2021). Strict environmental regulations may reduce energy consumption and CE. Urbanization (U) is defined as a proportion of the total population in a particular city to indicate the level of urbanization. Some studies have indicated that urbanization may increase energy demand and thereby CE (York et al. 2003). Other studies have suggested that urbanization increases resource utilization and reduces CE (Cairnes and Lorraine 1996; Burton 2000). The positive or negative effects of the level of urbanization on CE will depend on the relative strengths of the two counteractive forces.

Fig. 3
figure 3

Source: China Statistical Yearbook

Freight volumes of the sample cities in China (100 million tons).

Data

After excluding cities with missing data, a total of 281 prefecture-level cities in China during 2003–2017 are selected. Relevant data are collected from China Statistical Yearbook, China City Yearbook, China Energy Statistical Yearbook, and China Environmental Statistical Yearbook. For consistency, the values of all the economic variables are calculated using the constant prices in 2003 and expressed in natural logarithms. Table 1 presents the basic statistics of the variables.

Table 1 Descriptive statistics of variables

Empirical results

Spatial autocorrelation test

Table 2 presents the test results of the Moran’s I index. The index measures CE and transportation infrastructure during 2003–2017. All the values are significantly greater than 0 and appear to have risen over time. This suggests that CE and transportation infrastructure of the sample cities have a positive and rising spatial relevance with clear characteristics of spatial agglomeration.

Table 2 Tests of spatial autocorrelation between transportation infrastructure and CE by Moran’s I

Two representative years, 2003 and 2017, are selected to produce the Moran’s I index scatter plots (Fig. 4) in the forms of lnTI and lnCE, to effectively reflect the spatial characteristics of transportation infrastructure and CE. The abscissa of the Moran’s I index scatter plot is z, indicating the observation value of the space unit after standardization. The ordinate is Wz, denoting the average value of the average observation value of the adjacent unit after standardization. The results suggest that most cities are located in the first quadrant (high–high) and third quadrant (low–low), and only a few cities have points in the second quadrant (low–high) and fourth quadrant (high–low). Additionally, cities with high CE (or transportation infrastructure) are surrounded by the cities with high CE (or transportation infrastructure). Furthermore, cities with low CE (or transportation infrastructure) are surrounded by the cities with low CE (or transportation infrastructure).

Fig. 4
figure 4

Moran’s I index scatter plots of lnTI and lnCE

Spatial spillover effect of transportation infrastructure on CE

Prior to a spatial econometric analysis, this study examines the association between transportation infrastructure and CE using the traditional panel data model. The LM (robust) test results (Table 3) reject the hypothesis that no spatial lag and spatial autocorrelation exist at 1% significance level. This finding implies that a SAR or SEM can be used to evaluate the spatial spillover effect of transportation infrastructure on CE. Based on the uniqueness principle of the model, the Wald and LR tests show that the SDM cannot be reduced to a spatial autocorrelation (SAR) model or a SEM. This implies that the use of the spatial autocorrelation or spatial lag model may lead to biased results. The Hausman test result rejects the null hypothesis at 1% significance level. In short, for the most robust consideration, this study uses the SDM with time and city fixed effects to analyze the spatial spillover effects of transportation infrastructure on CE. Table 3 presents the test results.

Table 3 Test results of the ordinary panel model

The estimated results of the OLS, SAR, SEM, and SDM models with time and city fixed effects are presented in Table 4. These results are used to compare and assess the robustness of the parameter estimation of each variable. The spatial autocorrelation coefficient (ρ) of the SDM model is positive at 1% significance level, verifying the spatial correlation of CE. In addition, CE in the neighboring cities positively affects the level of CE in the city under concern. In the SDM model, the coefficient of urban transportation infrastructure and its spatial lag coefficient are significantly positive.

Table 4 Estimation results of transportation infrastructure and CE (carbon emissions, lnCE)

Lesage and Pace (2009) documented that analyzing the spillover effects in regions through simple point estimation may lead to inaccurate conclusions. They recommended using the partial differential method to calculate the direct, indirect, and total effects of the explanatory variables on the explained variables. This implies that the direct effect accounts for the effects of a regional independent variable on the dependent variable of the region, and the indirect effect accounts for the effects of a regional independent variable on the dependent variable of other regions. The total effect is the sum of the direct and indirect effects. Accordingly, the Lesage and Pace (2009) methods are used to further decompose the direct and indirect effects of the SDM model under the geographic matrix to objectively and accurately explore the effects of transportation infrastructure on CE (Table 5).

Table 5 Estimated results of direct, indirect, and total effects (DV = lnCE)

With regard to the total effect, the effect of transportation infrastructure on CE is significantly positive. This result implies that transportation infrastructure increases CE, thus verifying H1. The construction of transportation infrastructure requires more energy and thereby produces more CE. The improvement of transportation infrastructure can increase car ownership, resulting in more energy consumption. The significant direct effect indicates that for every 1% increase in transportation infrastructure, CE increases by 0.059%. Furthermore, the significant spillover effect indicates that the increase in transportation infrastructure in the neighboring areas increases CE in the region under concern. This may be because an improvement of transportation infrastructure in surrounding areas may promote business exchanges between regions, expand the market scale, increase population mobility, and thereby increase CE across regions. More importantly, the spillover effect of transportation infrastructure on CE exceeded the direct effect. This implies that the positive effect of transportation infrastructure on CE in the surrounding neighboring areas (“neighboring effect”) is greater than that of the local transportation infrastructure (“local effect”). This finding suggests that the effects of neighboring areas should be considered in addition to the effects of transportation infrastructure in the region when examining the effects of urban transportation infrastructure on CE. It also highlights the importance of spatial measurement methods in assessing the effects of transportation infrastructure on CE.

The results for other control variables are also noteworthy. The coefficients of lnY and (lnY)2 are significantly positive and negative, respectively. This finding verifies the EKC hypothesis between economic development and CE based on the Chinese city-level panel data. Scholars have excessively discussed the EKC. Most countries such as the USA, Italy, and Turkey have been shown to have an inverted U-shaped relation between economic growth and environmental pollution (Al-Rawashdeh et al. 2015; Mazzanti et al. 2007). Further, some developing countries have not yet witnessed the inflection point of the inverted U-shaped curve (Marzio et al. 2006). In this study, the direct effect is significantly negative for population density. Its indirect and total effects are significantly positive. This finding implies that a high population density reduces CE; however, the rising population density in the neighboring areas increases CE in the region under concern. When the total effect of population density is positive, population agglomeration may lead to cost-saving knowledge spillovers and may increase energy consumption in the surrounding areas. The direct effect of technological progress is significantly positive; however, the spillover effect and the total effect are insignificant. This finding indicates that technological progress increases CE but does not significantly affect the neighboring regions. The effect of technological progress on CE is two-fold. On the one hand, technological progress may lead to economic expansion, which may increase CE. On the other hand, technological progress may reduce energy consumption intensity, thereby improving energy efficiency and reducing CE (Yao and Zhang 2021). The net impact of technological progress on CE depends on the combination of the two counteractive effects. The significant and positive direct effect of the industrial structure indicates the inclusion of more energy-intensive industries in the secondary industry. However, the nonsignificant indirect and total effects imply that industrial structure only affects CE of the local area. The nonsignificant direct, indirect, and total effects of environmental regulations imply that environmental regulations do not affect CE in the sample. Only the spillover effect of urbanization is significantly negative, suggesting that urbanization in the neighboring areas affects the level of CE in the region under concern. The overall effect of urbanization is nonsignificant possibly because the levels of urbanization in Chinese cities do not significantly differ as all the cities had experienced rapid expansion in the sample period.

Transportation infrastructure and CE: importance of economic agglomeration

Theoretical and empirical analyses have indicated that transportation infrastructure significantly aggravates CE. However, the impact transmission path remains unknown. Thus, this study assesses the mediating effect of economic agglomeration on the relation between infrastructure development and CE to identify the transmission mechanism. At different levels of economic agglomeration, the effect of infrastructure development on CE may differ. Therefore, the ranking of cities in terms of levels of economic agglomeration in 2017 is used as the benchmark to categorize the sample data into high-level and low-level groups based on economic agglomeration. The number of cities in the high-level and low-level groups is 140 and 141, respectively. Determining whether transportation infrastructure can affect economic agglomeration is essential for determining whether economic agglomeration is a mediating variable. The test results are presented in Table 6.

Table 6 Effects of transportation infrastructure on economic agglomeration (DV = lnEA)

Due to space limitation, this article reports only the results of the total effects. The results in columns (1) and (2) indicate a significant association between transportation infrastructure and economic agglomeration; however, the differences in coefficients imply that the transportation infrastructure differently affects economic agglomeration based on the levels of economic agglomeration. The promotion effect of transportation infrastructure on high levels of economic agglomeration is lower than that on low levels of economic agglomeration. This is because economic agglomeration depends on transportation infrastructure and the contribution of high-tech industries and talents. Under low levels of economic agglomeration, infrastructure can shorten the physical distance between elements, reduce transportation costs, and attract enterprises and talents, thus becoming the main determinant of economic agglomeration.

Further, transportation infrastructure, economic agglomeration, and CE are included in the same model to verify the mediating role of economic agglomeration. The results are presented in Table 7, showing that the total effects of transportation infrastructure and economic agglomeration on CE are significant at 1% level. This result indicates a significant mediating role of economic agglomeration in the relation between transportation infrastructure and CE. Furthermore, it verifies that economic agglomeration is a valid transmission path between transportation infrastructure and CE, thereby verifying H2 put forward in this paper.

Table 7 Regression on the meditation effect: economic agglomeration (DV = lnCE)

The mediating effect of economic agglomeration differs depending on the level of economic agglomeration. Cities with a relatively high level of economic agglomeration do not significantly directly affect CE; however, the indirect and total effects are significant and positive. The direct, indirect, and total effects of cities with lower levels of economic agglomeration on CE are also significant and positive. A comparison of the two indicates that although their coefficients are positive, the impact coefficients of cities with low levels of economic agglomeration on CE exceed those of cities with high levels of economic agglomeration. Regardless of whether it is a high-level group or a low-level group, the economic agglomeration positively affects CE. This may be explained by the fact that the effect of economic agglomeration on the scale of output exceeds its cost-saving effect. The impact coefficient of the low-level group being higher than that of the high-level group may be explained by the fact that most cities with high levels of economic agglomeration are developed areas with a higher level of urbanization, whereas most cities with lower levels of economic agglomeration are still at a relatively low level of industrialization. The latter cities are more likely to depend on labor-intensive and energy-intensive industries for economic development and/or be located at the lower end of the industrial value chains. The agglomeration of such enterprises will consume high energy and produce a large amount of CO2. In the urbanization process, cities with high levels of economic agglomeration may also bring about production-scale economies with more high-tech enterprises. Thus, the economic agglomeration of such enterprises may result in knowledge spillover, thereby alleviating the effect of economic agglomeration on CE.

Robustness test

Following Huang et al. (2020), road area per capita (lnTI) is replaced by the urban road density (lnTII), which is measured by the road surface area per square kilometer of the territorial area. The estimation results are presented in Table 8.

Table 8 Robustness test results replacing core explanatory variables (DV = lnCE)

High-speed rail is a new mode of modern transportation. Several studies have suggested that high-speed rail has a substitution effect on road transportation, with important implications on CE. Thus, a new dummy variable for high-speed rail is added to the regression model. Its value is 1 if the city is connected by a high-speed rail in a particular year and 0 otherwise. Table 9 presents the estimation results.

Table 9 Robustness test results after controlling for other variables (DV = lnCE)

After replacing the core explanatory variables or controlling for other variables, the significance and direction of the main explanatory variables were similar to those from the basic regression model. This result suggests that conclusions drawn from the previous regressions remain unchanged and that the basic models are robust. The robustness test results reinforce that the transportation infrastructure aggravates CE and that the “neighboring effect” is greater than the “local effect” in the same direction. Furthermore, the results indicate a partial mediating effect of economic agglomeration on the relation between transportation infrastructure and CE. This implies that economic agglomeration is a significant transmission channel through which transportation infrastructure affects CE. However, its mediating effect differs at different levels of economic agglomeration between cities. Most interestingly, a low level of economic agglomeration has a greater mediating effect than a high level of economic agglomeration.

Conclusions and policy recommendations

This study considers 281 prefecture-level cities in China during 2003–2017 as the research sample and uses the Moran’s I index to measure the spatial distribution of China’s transportation infrastructure and CE. It further uses the SDM to explore the mechanism underlying the effect of transportation infrastructure on CE. The findings indicate a partial mediating role of economic agglomeration. The study also uses some robustness tests to reaffirm the basic regression results.

Based on the theoretical and empirical analyses, the following conclusions are derived. First, a positive spatial correlation exists between urban transportation infrastructure and CE. Second, transportation infrastructure aggravates CE, and the “neighboring effect” is greater than the “local effect.” Third, The partial mediating effect of economic agglomeration is greater in cities with low economic agglomeration than in cities with high economic agglomeration.

The research findings and conclusions have important policy implications. First, policymakers should focus on the development of local transportation, as well as on their neighboring cities. The central/provincial governments should facilitate and strengthen the joint efforts of city governments to plan for the development of local transportation infrastructure with respect to the overall CE reduction. Second, the implementation of green transportation and smart transportation should be accelerated. Furthermore, greener energy should be used in transportation. Third, cities should introduce more low-carbon and environmentally friendly enterprises, attract talents, and maximize the benefits of knowledge spillovers to effectively alleviate CE when cities attract companies to invest and move in.