Introduction

Resource and environmental problems have become increasingly serious in the past few decades and are now threatening sustainable socio-economic development (Fan et al. 2021; Ouyang et al. 2020; Song et al. 2020). As the largest developing country in the world, China is still ongoing urbanization and industrialization transformations (Song et al. 2018; Wu et al. 2021b). Therefore, how to coordinate the relationship between economic growth and resource and environmental constraints to achieve high-quality economic development has aroused more and more thoughts. Innovation is the fundamental driving force for long-term economic growth (Aghion et al. 2015a). Green innovation adds environmental protection elements on the basis of traditional innovation, which can meet the needs of sustainable economic development (Li et al. 2021; Song et al. 2018). Therefore, green innovation has been attached importance as the key to solve the conflict between economic growth and resources and environment (Demirel and Kesidou 2011).

Green innovation has “double externalities” (Hall and Helmers 2013; Horbach et al. 2013; Rennings 2000); one is the knowledge spillover externality, that is, the implementing subject of green innovation bears a high innovation cost, but other subjects can obtain green technology at a low cost through imitation and replication, thus reducing the enthusiasm of the green innovation subject. The other is the environmental protection externality, that is, the social benefits brought by environmental protection are greater than the private benefits, resulting in the lack of motivation for green innovation in the private sector. Therefore, it is necessary not only for market demand to stimulate enterprises to provide green products and services but also for environmental regulation to remedy market failure and promote green innovation (Fan et al. 2021). In addition, spatial agglomeration and the spread of environmental pollution may lead to spatial correlation and heterogeneity (Feng et al. 2020; Li et al. 2020; Liu et al. 2020). In open economic environments, different regions can realize innovation through cooperation and resource sharing (Lundberg and Andresen 2012). However, traditional econometric analysis, which is based on spatial irrelevance and homogeneity, can lead to errors in the analysis of regional problems and instability in the results (Su and Yu 2020). Therefore, the impact of environmental regulation and market demand on regional green innovation needs to be examined in a spatial perspective.

There are four main contributions of this study. First, unlike previous studies that have mostly examined the drivers of green innovation at the firm level, this study investigates the impact of both environmental regulation and market demand on green innovation at the regional level, which also provides the possibility to consider spatial spillover effects. Second, the mechanisms by which environmental regulation and market demand affect regional green innovation by changing innovation inputs are assessed. Thirdly, a comprehensive measure of market demand is constructed and calculated using the entropy method to reveal the relationship between market demand and green innovation more accurately. Finally, heterogeneity analysis is performed based on different regions and time periods to propose differentiated green innovation-driven policy insights.

The remainder of this paper is organized as follows: “Literature review” section reviews previous studies; “Theoretical framework and research hypothesis” section details the theory and presents the research hypotheses; “Model setting, variable descriptions, and data sources” section establishes the model and explains the variables and data to be used in the model; “Empirical results and discussion” section empirically examines the influence of environmental regulations and market demand on regional green innovation and the associated mechanisms, conducts a robustness test, and reviews the endogeneity treatment; “Further study” section provides a further analysis by region and time respectively; and “Policy implications and limitations” section gives the conclusions and the possible policy implications.

Literature review

Green innovation driving factors

Green innovation research, which was first proposed in the 1990s, mainly refers to green technology innovation, which refers to technologies, processes, or products that can reduce environmental pollution and the use of resources and energy (Braun and Wield 1994). Green innovation has been seen as similar to environmental innovation, ecological innovation, and sustainability innovation. As the driving factors of green innovation, especially regulatory and market factors, are the focus and core of the study, the existing relevant literatures were vertically combined (Table 1) to visually display the research process and side confirm the marginal contribution of this study.

Table 1 Literature review of green innovation driving factors

From the literature review, it can be seen that besides the technology push and market or demand pull factors that influence general innovation, regulations that emphasize the development of new environmentally sound products and processes may also be important green innovation determinants (Horbach 2008). Green innovation driving factors can be summarized using two main approaches, the first of which is to divide it into supply side, demand side, and regulatory factors (Horbach 2008; Triguero et al. 2013). The supply side includes technological capabilities and the ability to cooperate with other innovation subjects to obtain external information and knowledge, the demand side includes market demand and environmental consciousness, and the regulatory factors include policies and subsidies. The second approach is to divide the green innovation factors into internal drivers and external drivers. The internal factors include corporate social responsibility and technological and organizational capabilities, and the external factors include environmental regulations, green customer demand, and the competitive pressures (Cai and Zhou 2014; Kiefer et al. 2019).

The role of environmental regulation on green innovation

There are three main views on the impact of environmental regulations. First, there is a “cost compliance” effect. Traditional neoclassical economic theory claims that environmental regulation increases enterprise production costs, reduce their profit space, and crowd outs green innovation investment, which inevitably leads to a decline in green innovation efforts (Clarkson et al. 2004; Jaffe and Stavins 1995; Kemp and Pontoglio 2011; Palmer et al. 1995; Testa et al. 2011). The second view is the “innovation compensation” effect. Porter and van der Linde (1995) believed that environmental regulations could force enterprises to actively carry out production technology innovations to reduce costs, improve production efficiency, gain competitive advantage, and offset the negative cost impacts of the environmental regulations (Brunnermeier and Cohen 2003; Feichtinger et al. 2005; Hamamoto 2006). The third view is the “pollution heaven” hypothesis. Due to regional economic development, institutional environment, and factor endowment differences, the effects of environmental regulation policies are not the same (Lin and Du 2015). Furthermore, to attract investment and develop their local economies, some opportunistic and short-sighted local governments tend to relax their environmental regulations, which form policy depressions (Konisky 2007; Zhao et al. 2020). Consequently, higher polluting industries/enterprises move from areas with stricter environmental regulations to areas with weaker environmental regulations, which results in a pollution heaven in the target area (Cai et al. 2016; Wu et al. 2017).

Some studies have shown that environmental regulations and green innovation policies can have variable impacts on green innovation because of environmental regulation tool heterogeneity (Acemoglu et al. 2012), industry heterogeneity (Aghion et al. 2015b), regional heterogeneity (Chen et al. 2017), and green innovation technology heterogeneity (del Río et al. 2017; Triguero et al. 2013). Other studies have examined the effects of specific environmental regulations, such as renewable energy and carbon market policies, on green innovation (Calel and Dechezleprêtre 2016; Johnstone et al. 2010).

The role of market demand on green innovation

There has been an ongoing debate as to the effect market demand has on green innovation. Some studies have found that market demand can promote green innovation. For example, using the German Community Innovation Survey data set, Horbach et al. (2012) found that customer requirements were an important eco-innovation source, especially for products that improved environmental performances and process innovations that improve material efficiencies and reduced energy consumption, waste, and hazardous substance use. The personal benefits of green products (such as energy saving) can generate strong consumer demand and incentivize companies to implement green innovations (Kammerer 2009). For example, Veugelers (2012) used data from a Flemish CIS eco-innovation survey, and found that demand-pull was one of the most important motives for eco-innovations.

However, some studies have disagreed with these conclusions. For example, del Río et al. (2017) analyzed the main influencing determinants for different types of eco-innovations in Spain, finding that the market demand-pull had no effect on either process or product eco-innovation, which was seen to be due to the relatively low degree of consumer environmental consciousness and/or the willingness to pay for the higher priced eco-products. Jové-Llopis and Segarra-Blasco (2018) also came to the same conclusion.

From what has been discussed above, existing studies on green innovation driving factors have mostly been focused on more developed countries, such as Spain (del Río et al. 2017; Jové-Llopis and Segarra-Blasco 2018), Germany, and other European countries (Horbach 2016; Triguero et al. 2013), with relatively few studies having been conducted in developing countries. Due to the specific characteristics of each country, such as the national innovation system, income, and environmental awareness, the green innovation determinants vary widely, which means that the results from one specific country cannot be easily extrapolated to other countries (del Río et al. 2016). In addition, as most studies on the green innovation driving factors have been focused on the enterprise level (Cai and Zhou 2014; Ma et al. 2018), there have been few studies focused on the regional level. Due to the “double externality,” the spatial spillover of green innovation and its driving factors differentially affect regional green innovation levels. Chen et al. (2017) examined regional ecological innovation and its influencing factors in China, and specifically studied the impact of technological, market, and environmental regulation on ecological innovation; however, the influencing mechanisms and regional spatial spillovers were not considered. What’s more, although existing literatures have studied the spatial spillover effects of environmental regulations, it still lacks of the simultaneous consideration of the spatial effects of policy and market factors on green innovation. Therefore, on the basis of existing research, this study empirically studied the impact of environmental regulations and market demand on green innovation at the regional level, tested the associated mechanisms, and examined the regional spatial spillover effects.

Theoretical framework and research hypothesis

Environmental regulations

First, the formula to determine the environmental regulation influence on green innovation was derived. The market demand for green products is assumed to be \(d\), the price is \(P\), and the output is equal to the demand; therefore, the total revenue is \(dp\). The green innovation level is assumed to be \(\alpha\), and the pollutant emissions related to the green innovation level and product output are expressed as \(e(\alpha ,d)\), where \(e^{\prime}(\alpha ) < 0,e^{\prime}(d) > 0\). The unit pollutant environmental costs, such as the pollutant charges and the environmental pollution control investment, are \(k\); therefore, the total environmental costs are \(ke(\alpha ,d)\). The green technology innovation cost is expressed as \(I(\alpha )\)\(\left( {I^{\prime}(\alpha ) > 0} \right)\); therefore, the profit can be expressed as:

$$\pi = TR - TC = dp - ke(\alpha ,d) - I(\alpha )$$
(1)

Taking the derivative of Eq. (1) and setting it to 0, then:

$$k = - \frac{I^{\prime}(\alpha )}{{e^{\prime}(\alpha ,d)}}$$
(2)

It is assumed that the green technology in region \(i\) is upgraded, and the green innovation level increases to \(\alpha_{i}\), if the profit increases after the green innovation, the region would choose to upgrade their technology.

The original profit in region \(i\) would be:

$$\pi_{0} = dp - ke_{0} (d)$$
(3)

and the profit after the green technology upgrade would be:

$$\pi_{i} = dp - ke_{i} (\alpha_{i} ,d) - I(\alpha_{i} )$$
(4)

Therefore, the change in the profit would be:

$$\Delta \pi = k\left( {e_{0} (d) - e_{i} (\alpha_{i} ,d)} \right) - I(\alpha_{i} )$$
(5)

This profit change depends on two parts; if the environmental costs saved by the pollution reductions from the green technology upgrade are no less than the cost of the investment required for the green technology upgrade, the green innovation is implemented.

Taking the partial derivative of \(k\) with respect to Eq. (5):

$$\frac{\partial \Delta \pi }{{\partial k}} = e_{0} (d) - e_{i} (\alpha_{i} ,d) - I^{\prime}(\alpha_{i} )\frac{{\partial \alpha_{i} }}{\partial k}$$
(6)

and then setting Eq. (6) to 0, then:

$$\frac{{\partial \alpha_{i} }}{\partial k}{ = }\frac{{e_{0} (d) - e_{i} (\alpha_{i} ,d)}}{{I^{\prime}(\alpha_{i} )}}$$
(7)

When combined with Eq. (2), when \(e_{0} (d) > e_{i} (\alpha_{i} ,d)\)\((k_{i} > - \frac{I^{\prime}(\alpha )}{{e^{\prime}(\alpha ,d)}})\), \(\frac{\partial \alpha }{{\partial k}} > 0\), when \(e_{0} (d) < e_{i} (\alpha_{i} ,d)\)\((k < - \frac{I^{\prime}(\alpha )}{{e^{\prime}(\alpha ,d)}})\), \(\frac{{\partial \alpha_{i} }}{\partial k} < 0\), and when \(e_{0} (d){ = }e_{i} (\alpha_{i} ,d)\), \(\frac{{\partial \alpha_{i} }}{\partial k}{ = }0\). The critical value for the per unit pollutant environmental costs in region \(i\) is assumed to be \(\hat{k}\). When \(k < \hat{k}\), the green innovation level \(\alpha_{i}\) decreases with an increase in \(k\), and when \(k > \hat{k}\), the green innovation level \(\alpha_{i}\) increases with an increase in \(k\).

Studies have shown that the environmental regulation impact on technological innovation is a result of both positive and negative effects. The “cost compliance” effect usually occurs in the current period, while the “innovation compensation” effect has a time lag and can only emerge over the long term (Horváthová 2012; Lanoie et al. 2008). In other words, when the environmental regulation policy intensity is weak, because of the “cost compliance” effect, the increased costs crowd out the innovation input, which is not conducive to enterprise green innovation. As the environmental regulation policy intensity increases, because of the “innovation compensation” effect, enterprises gradually obtain greater benefits from the green innovation to offset the increased environmental costs (Ouyang et al. 2020). Therefore, based on this discussion, the following hypothesis is proposed.

  • Hypothesis 1. There is a U-shaped relationship between environmental regulation and green innovation, that is, at a low-level initial period, an increase in the environmental regulation policy intensity reduces the green innovation ability; however, when it reaches a certain level, an increase in the environmental regulation policy intensity promotes an improvement in the green innovation ability.

The environmental regulation effects on surrounding areas need to be analyzed from a local government behavior perspective, which has been identified as a “race to the bottom” or a “race to the top.” Bu and Wagner (2016) analyzed the American multinational foreign direct investment in China and found that some companies had the ability to invest in areas with stricter environmental regulations, but companies that were unable to cope with the environmental pollution penalties were less likely to target these areas, with this impact being found to be moderated by enterprise scale, that is, there was a “race to the bottom” based on a “pollution heaven” and a “race to the top” based on innovation induction theory. On a more practical level, to attract investment, some local governments relax the environmental regulations, that is, they encourage a “race to the bottom” based on a “pollution heaven.” Other local officials may seek fame or promotion because of their environmental governance achievements, that is, they encourage a “race to the top” by improving their environmental regulations. Holzinger and Sommerer (2011) studied 24 European countries and found that local governments had “race to the top” environmental regulation features. Therefore, both a “race to the bottom” and a “race to the top” can result in environmental regulation changes and affect the regional green innovation levels. Based on this discussion, the following hypothesis is proposed:

  • Hypothesis 2. Local environmental regulations have a significant impact on the green innovation level in surrounding areas.

Market demand

The formula for the market demand influence on green innovation is then derived. Taking the partial derivative for \(d_{i}\) with respect to Eq. (5):

$$\frac{\partial \Delta \pi }{{\partial d}} = k(e_{0} ^{\prime}(d) - e_{i} ^{\prime}(\alpha_{i} ,d)) - I^{\prime}(\alpha_{i} )\frac{{\partial \alpha_{i} }}{\partial d}$$
(8)

Then setting Eq. (8) to 0;

$$\frac{{\partial \alpha_{i} }}{\partial d}{ = }\frac{{k(e_{0} ^{\prime}(d) - e_{i1} ^{\prime}(\alpha_{i} ,d))}}{{I^{\prime}(\alpha_{i} )}}$$
(9)

When \(e_{0} ^{\prime}(d) - e_{i} ^{\prime}(\alpha_{i} ,d) > 0\) and \(k > 0\), \(I^{\prime}(\alpha_{i} ) > 0\) and \(\frac{{\partial \alpha_{i} }}{\partial d} > 0\), that is, with an increase in the green market demand \(d\), the green innovation level \(\alpha_{i}\) also increases.

Theoretically, market demand provides clear goals for green innovation and reduces uncertainty because enterprises pay closer attention to their consumers’ needs and innovate new products and services accordingly to gain competitive advantage (Varadarajan 2020). Market demand can also improve the expected returns from green products and services and provide the internal impetus for green innovation. As economies develop, public consumption and environmental protection awareness increases, which means that they are more inclined to buy green products and services (Albort-Morant et al. 2016). As the market demand for green technologies has been increasing, the level of green innovation has also been increasing; therefore, the following hypothesis is proposed:

  • Hypothesis 3. Green innovation is influenced by market demand; therefore, as the market demand for green technology increases, the level of green innovation also increases.

Market demand refers to the demand by consumers that have both the desire and the ability to buy, that is, market demand depends on people. Because of major developments in transportation, communication, and other infrastructure, the time distance between regions has become shorter, communication deeper, and consumer mobility enhanced (Tang et al. 2021). Therefore, because of this population mobility, the increased regional market demand can enhance the consumption and green consumption awareness of consumers in surrounding areas, which is known as the “ripple” effect (Dong et al. 2020; Zhu and Lee 2021), which then motivates green innovation in the surrounding areas. However, an increase in the regional market demand could also lead to many green innovations, which would need resources from the surrounding area, which in turn would reduce the green innovation and result in a “siphon” effect (Su et al. 2021). As any changes in the regional market demand impact surrounding areas because of the prevalence of agglomeration and diffusion effects, the following hypothesis is proposed:

  • Hypothesis 4. Local market demand has a significant impact on the green innovation in the surrounding areas.

Mechanism analysis

The environmental regulation “compliance cost” and “innovation compensation” effects on the environmental regulation mechanism and green innovation is analyzed in this section. First, environmental regulations inhibit regional innovation input, that is, neoclassical economic theory claims that environmental regulations increase enterprise environmental costs, which can result in product price increases and a decline in product competitiveness, and if the product price is not increased, the profit is significantly reduced, which also negatively impacts market competitiveness. Any weakening of competitiveness reduces cash flow, and any increase in enterprise costs reduces the availability of new product research and development funds and make it difficult to finance innovation activities through other channels. In a study on European chemical industry enterprises, Arduini and Cesaroni (2001) found that excessive environmental regulations were negatively correlated with technological innovation input. Gray and Shadbegian (2003) found that the legal regulations in the USA that required enterprise pollution control investment almost completely crowded out any productive investment in the pulp and paper industry. Kneller and Manderson (2012) found that environmental regulation had no significant impact on total R&D and total capital accumulation based on the British manufacturing industry. Rubashkina et al. (2015) found that environmental regulations had an insignificant crowding out effect on R&D investment. Second, environmental regulations can promote regional innovation input. The “Porter hypothesis” claims that companies will actively invest in innovation activities to offset the additional environmental regulation compliance costs and enhance competitiveness. Chakraborty and Chatterjee (2017) found that environmental regulation significantly increased innovation spending in India’s leather and textile industries. Costa-Campi et al. (2017) studied Spanish manufacturing industry and found that environmental regulation had an incentive effect on environmental R&D investment. Yu and Cheng (2021) studied listed textile companies in China and found that environmental taxes effectively promoted enterprise innovation investment.

Similarly, the increased market demand for new products or services also affects regional innovation investment. In a study on China’s home appliance industry, Lv and Huang (2021) found that the expansion in the home appliance market significantly improved innovation input. Garcia-Quevedo et al. (2017) study the innovation data of Spanish enterprises and find that lack of demand not only has a significant negative impact on the amount of R&D investment but also on the possibility of enterprises engaging in R&D activities. Positive expectations of adequate market demand are a necessary condition for deciding to invest in R&D (Barge-Gil and López 2014, 2015; García-Quevedo et al. 2014). Large market demand scale can reduce green innovation uncertainty and generate profit expectations, which then motivate internal green innovation. Therefore, enterprises, universities, research institutions, and other innovation subjects tend to increase their green innovation investments to obtain green innovation results and enhance their green innovation levels.

The increase in regional innovation inputs can improve green innovation levels. Studies have shown that environmental R&D investment directly promotes environmental technology innovation (Li et al. 2019). Specifically, Hashi and Stojčić (2013) found that investment in innovative activities could increase sales of new products. By studying energy industry, food and beverage industry in Spain and manufacturing industry in France and the Netherlands, Costa-Campi et al. (2014), Acosta et al. (2015), and Raymond et al. (2015) respectively found that R&D intensity and expenditure have a significant effect on process innovation, product innovation, and organizational innovation. Frank et al. (2016) believed that market-oriented R&D activities had a positive impact on innovation output. Therefore, based on this discussion, the following hypothesis is proposed:

  • Hypothesis 5. Environmental regulation affects regional green innovation through changes in the innovation input.

  • Hypothesis 6. An increase in market demand leads to a corresponding increase in innovation input, which then promotes regional green innovation.

Therefore, environmental regulations and market demand affect green innovation in the local and neighboring regions, with this local green innovation being influenced by innovation input. The conceptual model for this supposition is shown in Fig. 1.

Fig. 1
figure 1

Conceptual model

Model setting, variable descriptions, and data sources

Model building

Griliches (1979) proposed a knowledge production function based on the Cobb–Douglas production function to describe the relationship between a certain combination of production factors that were invested in knowledge production and output, which has been widely used and improved in subsequent technological innovation studies (Griliches 1984; Jaffe 1986). The mathematical expression for this knowledge production function is:

$$Y = AK^{a} L^{b}$$
(10)

where \(Y\) is the knowledge output level, which is usually represented by the number of patents, \(K\) and \(L\) are the capital and labor force inputs in the technological innovation activities, and \(A\) is the other factors affecting the knowledge production. To eliminate the data stability influence of heteroscedasticity and extreme values, natural logarithms are taken from both the left and right sides of the formula to obtain:

$$\ln Y = C + a\ln K + b\ln L + u$$
(11)

For the empirical model in this study, environmental regulations, market demand, and the environmental regulation quadratic were introduced into the formula, with the related explanatory variables being controlled. As green innovation output is largely dependent on the output in the previous period because of path dependence and cumulative effects (Aghion et al. 2012), a first-order green innovation lag, \(GI_{i,t - 1}\), was introduced into Eq. (12) as an explanatory variable, which also resolved the endogeneity problem caused by the missing variables.

$$\begin{gathered} \ln GI_{it} = \alpha_{0} + \alpha_{1} \ln GI_{i,t - 1} + \alpha_{2} \ln ER_{it} + \alpha_{3} \ln MD_{it} \hfill \\ + \alpha_{4} \ln ER_{it}^{2} + \lambda \ln X_{it} + u_{i} + \nu_{t} + \varepsilon_{it} \hfill \\ \end{gathered}$$
(12)

where \(ER\) is the environmental regulations, \(MD\) is the market demand, \(ER^{2}\) is the environmental regulation quadratic used to test whether there is a U-shaped relationship between environmental regulation and green innovation, \(X\) is the control variable that represents the other factors that affect green innovation, \(\alpha\) and \(\lambda\) are the estimated parameters, \(u_{i}\) and \(\nu_{t}\) are individual and time effects, \(\varepsilon_{it}\) is the random error, \(i\) represents the regions, and \(t\) represents the year.

The above model only considers the environmental policy impact, market demand, and other factors on local green innovation. As green innovation has obvious agglomeration and spillover effects, the correlation effects between regions should also be considered. Therefore, following Elhorst (2012), the model was further expanded to a dynamic spatial econometric model. As the variables were all ratios, the logarithm was not taken.

$$\begin{gathered} GI_{it} = \alpha_{0} + \delta W \cdot GI_{i,t} { + }\alpha_{1} GI_{i,t - 1} + \sigma_{1} W \cdot GI_{i,t - 1} + \alpha_{2} ER_{it} + \alpha_{3} MD_{it} + \alpha_{4} ER_{it}^{2} \hfill \\ + \sigma_{2} W \cdot ER_{it} + \sigma_{3} W \cdot MD_{it} + \sigma_{4} W \cdot ER_{it}^{2} + \lambda X_{it} + \gamma W \cdot X_{it} + u_{i} + \nu_{t} + \xi_{it} \hfill \\ \end{gathered}$$
(13)

where \(W\) represents the spatial weight matrix. The geographical distance space weight matrix \(W_{1}\), the economic distance space weight matrix \(W_{2}\), and the nesting geographic and economic distance matrix \(W_{3}\) were used. The geographical distance space weight matrix was \(W_{1} = 1/d_{ij}\), in which \(d_{ij}\) was the longitude and latitude distances between capital cities. The economic distance space weight matrix was \(W_{2} = 1/\left| {\overline{G}_{i} - \overline{G}_{j} } \right|\), \(\overline{G}_{i}\), and \(\overline{G}_{j}\) respectively represented the average GDP per capita from 2006 to 2020 of provinces \(i\) and \(j\). The nesting geographic and economic distance matrix was \(W_{3} = \varphi W_{1} + (1 - \varphi )W_{2}\) (Case et al. 1993). To simplify the analysis, \(\varphi\) was set to 0.5. All three matrixes were row standardized.

To test the environmental regulation and market demand mechanism affecting green innovation, based on Baron and Kenny (1986), first, the effects of the environmental regulation and market demand on green innovation were analyzed. Then, the effects of the environmental regulation and market demand on the innovation input were considered. Finally, the effects of the innovation input, environmental regulation, and market demand on the green innovation were tested. The model constructed in the first step was the same as the basic regression in Eq. (13), and the second and third steps are expressed in Eqs. (14) and (15).

$$\begin{gathered} RD_{it} = \eta_{0} + \lambda W \cdot RD_{i,t} { + }\eta_{1} RD_{i,t - 1} + \theta_{1} W \cdot RD_{i,t - 1} + \eta_{2} ER_{it} + \eta_{3} MD_{it} + \eta_{4} ER_{it}^{2} { + } \hfill \\ \theta_{2} W \cdot ER_{it} + \theta_{3} W \cdot MD_{it} + \theta_{4} W \cdot ER_{it}^{2} + \omega X_{it} + \psi W \cdot X_{it} + u_{i} + \nu_{t} { + }\tau_{it} \hfill \\ \end{gathered}$$
(14)
$$\begin{gathered} GI_{it} = \beta_{0} + \zeta W \cdot GI_{i,t} + \beta_{1} GI_{i,t - 1} + \rho_{1} W \cdot GI_{i,t - 1} + \beta_{2} ER_{it} + \beta_{3} MD_{it} + \beta_{4} ER_{it}^{2} \hfill \\ { + }\beta_{5} RD_{it} + \rho_{2} W \cdot ER_{it} + \rho_{3} W \cdot MD_{it} + \rho_{4} W \cdot ER_{it}^{2} + \rho_{5} W \cdot RD_{it} \hfill \\ + \kappa X_{it} + \chi W \cdot X_{it} + u_{i} + \nu_{t} + \varepsilon_{it} \hfill \\ \end{gathered}$$
(15)

Where \(RD\) refers to the innovation input, which was measured by the ratio of actual R&D internal expenditure and regional GDP (Chen et al. 2021). The actual R&D internal expenditure needed to be deflated by the R&D expenditure price index. \(\eta\), \(\theta\), \(\omega\), \(\psi\), \(\beta\), \(\rho\), \(\kappa\), and \(\chi\) were the parameters to be estimated, and \(\tau_{it}\) and \(\varepsilon_{it}\) were the random errors.

Variable selection and processing

Dependent variable: green innovation (\(GI\))

Regional innovation is often measured by the number of patents and the revenue from new product sales. As it was difficult to obtain the sales income for the regional green products, the “IPC Green Inventory” published by the World Intellectual Property Organization (WIPO) in 2010 was consulted to provide the green patent data. The international patent classification numbers on the list were searched on the Patent Information Service platform of the Intellectual Property Office of the People’s Republic of China and sorted by address and grant date. The reason the number of green patent grants was used instead of the number of applications was that the number of examined patent grants better reflects the true innovation level. Regional green innovation was finally measured based on the number of green granted patents per 10,000 people. The per capita number of green patents was used as it excludes the influence of the regional populations.

Independent variables

Environmental regulation (\(ER\))

Environmental regulation intensity can be measured based on pollution control investment (Becker 2005), pollutant emissions (Smarzynska and Wei 2004), natural policy experiments (Greenstone 2002), and a comprehensive evaluation method. Based on data availability, the ratio of total waste water discharge to industrial output value, the ratio of sulfur dioxide discharge to industrial output value, and the comprehensive utilization rate of industrial solid waste were selected. The entropy method was used to construct comprehensive indicators to measure the environmental regulation, with the first two being negative indicators and the third being positive. The scientific characteristics of this measure were as follows. Three industrial pollutants, waste water, waste gas, and solid waste, were chosen to comprehensively reflect the discharge/use of each pollutant, and the ratio of the pollutant discharges to the total industrial output value adopted to account for the regional industrial production scale and ensure comparability. The gross industrial output value was deflated using the industrial producer price index, with 2006 being the base period. The entropy method steps to construct the comprehensive environmental regulation indicators were as follows:

First, the data were positively normalized:

$$E_{ij}^{*} = \frac{{E_{ij} - min(E_{j} )}}{{max(E_{j} ) - min(E_{j} )}}$$
(16)

where \(E_{ij}\) was the measurement for pollutant \(j\) in region \(i\) in the year, \(min(E_{j} )\) and \(max(E_{j} )\) were the minimum and maximum values for \(j\) pollutant in all regions, and \(E_{ij}^{*}\) was the normalized value.

Second, the entropy value for pollutant \(j\) was calculated as follows:

$$g_{j} = - \frac{1}{\ln n}\sum\nolimits_{i = 1}^{n} {f_{ij} \ln f_{ij} } ,f_{ij} = \frac{{E_{ij}^{*} }}{{\sum\nolimits_{i}^{n} {E_{ij}^{*} } }}$$
(17)

Third, the index weight was determined:

$$h_{j} = {{\left( {1 - g_{j} } \right)} \mathord{\left/ {\vphantom {{\left( {1 - g_{j} } \right)} {\sum\nolimits_{j = 1}^{3} {\left( {1 - g_{j} } \right)} }}} \right. \kern-\nulldelimiterspace} {\sum\nolimits_{j = 1}^{3} {\left( {1 - g_{j} } \right)} }}$$
(18)

Finally, the environmental regulation intensity was obtained using weighting:

$$ER_{i} = \sum\nolimits_{j = 1}^{3} {h_{j} f_{ij} }$$
(19)

Market demand (\(MD\))

To measure market demand, existing studies have mostly use Community Innovation Survey data, obtained data from questionnaires, telephone surveys, or interviews, or used single indicators such as per capita income (Cai and Zhou 2014; Chen et al. 2017; Horbach et al. 2012; Kammerer 2009; Ziegler 2015), which are relatively single and difficult to accurately reflect the “green” elements.

Considering the expected market demand, the public awareness of environmental protection, and the public preference for environmentally friendly products (Horbach 2008), based on the availability of data, the green technology market demand measurement index system was constructed using per capita domestic energy consumption, per capita domestic carbon dioxide emissions, per capita domestic water consumption, per capita domestic garbage delivery quantity, per capita public transport times, per capita disposable income, and public environmental awareness, with the first four being negative indicators and the last three being positive indicators.

The original domestic energy consumption data were taken from the domestic consumption sections of the regional energy balance tables and were converted into standard coal and summed. The domestic carbon dioxide emissions were calculated using the IPCC greenhouse gas emissions calculation method (Wu et al. 2021b). Similarly, the entropy value method was used to calculate the index weight, which was then used to determine the market demand.

Control variables

Four indicators, government support, trade openness, infrastructure construction, and intellectual property protection, were selected as the control variables.

Government support (\(GS\)): environmental policies that affect green innovation such as the various incentives offered in addition to the regulatory measures. Horbach (2008) found that subsidies had a significant positive impact on environmental product innovation; therefore, it was necessary to control the influence of this factor.

Trade openness (\(TO\)): opening to the outside world is conducive to attracting foreign-funded enterprises with higher energy saving and emissions reduction technologies to conduct green production activities, which improves the regional green innovation levels. However, in developing countries with lower environmental standards, higher polluting enterprises may enter, thus causing a “pollution heaven” effect, which is not conducive to regional green innovation.

Infrastructure construction (\(IC\)): regional green innovation relies on high-quality talent and complete transportation infrastructure with fast commuting speeds, which save time and costs. As talent is also an important carrier of knowledge and technology spillover, improvements in communication, the internet, and other infrastructure can significantly increase the frequency and efficiency of communication and promote further regional green innovation improvements.

Intellectual property protection (\(IPR\)): the intellectual property protection level reflects the legal protection given to green technology innovation and therefore plays an important role in green innovation. As the green innovation subjects are rational people, they implement green innovation only when they can get guaranteed returns (Horbach 2008). As the creator of the asset usually does not receive all or even most of the social returns generated (Jaffe et al. 2002), innovation agents tend to minimize spillovers as much as possible. Therefore, green innovation can be affected by the degree of intellectual property protection being offered.

The specific measurement methods for the dependent, independent, and control variables are shown in Table 2.

Table 2 Variable measurements

Data sources

Panel data for 30 provinces/autonomous regions/municipalities (Tibet was not included due to missing data) in mainland China from 2006 to 2020 were used. The green patent data were obtained by manually searching and summarizing the information from the China National Intellectual Property Administration and referring to the “IPC Green Inventory.” Other data came from the China Statistical Yearbooks, the China City Statistical Yearbooks, the China Energy Statistical Yearbooks, and the China Environment Statistical Yearbooks. Data for all currency values were at 2006 constant prices. The descriptive statistics for each variable are shown in Table 3.

Table 3 Descriptive variable statistics

Empirical results and discussion

Spatio-temporal green innovation evolution

  1. (1)

    Changes at the time level

It can be seen from Fig. 2 that, from 2006 to 2013, the number of green patent grants in various regions of China increased significantly, and in some regions, it increased significantly from nearly 0. The fifth Plenary Session of the 16th Central Committee of the Communist Party of China (held in October 2005) and the 17th National Congress of the Communist Party of China (held in October 2007) proposed to accelerate the transformation of the economic growth mode, from the “extensive” mode with high consumption and cost to the “intensive” mode with low consumption and cost (Tang et al. 2020). Therefore, most regions began to improve the utilization efficiency of resources through technological innovation.

Fig. 2
figure 2

Green innovation levels in 2006, 2013, and 2017

From 2013 to 2020, the level of green innovation in all regions of China has further improved, with the number of green patents granted per 10,000 people in Beijing, Tianjin, Shanghai, Jiangsu, and Guangdong exceeding 0.6. The Kyoto Protocol stipulated those developing countries undertake emission reduction obligations from 2012, and the fifth Plenary Session of the 18th CPC Central Committee (held in October 2015) proposed the concept of green development (Pan et al. 2019), which was not only the inheritance of sustainable development theory but also the theoretical innovation of sustainable development in China. Under such policies, the level of green innovation in all regions of China has significantly improved.

  1. (2)

    Changes at the spatial level

In order to analyze the spatial distribution and evolution characteristics of regional green innovation, the green innovation level in 2006, 2013, and 2020 were presented by quantile method, as shown in Fig. 3. In 2006, the level of green innovation in Beijing was the highest. As the capital of China, Beijing is the center of scientific and technological innovation, bringing together a large amount of knowledge and talents, thus leading the development of green innovation in China. As a result of the opening up, most eastern regions experienced rapid economic development, so they started green innovation exploration earlier. However, due to the remote geographical location, most inland regions in central and western China still adopt extensive economic development mode, so the level of green innovation was close to 0.

Fig. 3
figure 3

Spatio-temporal green innovation distribution

In 2013, the classification characteristics of regional green innovation were obvious, and The Beijing-Tianjin region and Yangtze River Delta region took the lead in green innovation level. As the two major economic circles in China, they have a high level of economic development, so they can take the lead in transforming the economic development mode and making more efficient use of resources, and the green innovation level be improved accordingly. Then, it was followed by green innovation in Guangdong, Liaoning, Shandong, and Chongqing. The Pearl River Delta in Guangdong province is the third largest economic circle in China, and Liaoning and Shandong belong to the Bohai Rim economic region, and Chongqing is one of the four municipalities directly under the central government in China. Their geographical location and administrative level make them also have a relatively rapid speed of green innovation development. All provinces except Hainan got rid of the lowest level of green innovation, which is because Hainan, an island, mainly develops tourism due to its unique natural landscape and climatic conditions, and therefore has a low level of green innovation which is closely related to manufacturing.

In 2020, the green innovation level of most provinces has been upgraded to the top two levels, with only Guizhou, Yunnan, and Guangxi in the west lagging behind. The reason might be that these provinces were remote and poor, which were difficult to attract high-quality talents and lacked innovation resources, resulting in low green innovation level.

Spatial correlation test and econometric model selection

First, a spatial correlation test for the explained green innovation variable was conducted to verify the need to adopt the spatial econometric model. In empirical studies, Moran’s I index has been more commonly used to investigate the spatial correlation of variables, with its value being between − 1 and 1, with a significantly positive value indicating a spatial positive correlation and a significant negative value indicating a spatial negative correlation. The Moran’ I of green innovation from 2006 to 2020 under three spatial weight matrixes is shown in Table 4, with the results showing that the Moran’s I index was significant from 2006 to 2020, which indicated that the explained variables had obvious spatial positive correlations and it was necessary to establish a spatial econometric model to investigate the problem. Compared with geographical distance weight matrix, the correlation under economic distance weight matrix is stronger, indicating that economic proximity is more conducive to the spatial spillover of green innovation.

Table 4 Spatial correlation test results for the explained variable

As there are many spatial econometric models, it was necessary to select the most appropriate. The (Robust) LM test, Wald test, and LR test were therefore successively conducted, and the results from which are shown in Table 5. First, the OLS estimation was carried out on the non-spatial panel data model, from which it was found that the LM test and robust LM test results significantly rejected the null hypothesis for the explained variable without any spatial lag and spatial autocorrelation error regardless of whether the temporal and spatial fixed effects were included. Second, a likelihood ratio (LR) test was conducted to judge whether there were any time fixed or spatial fixed effects, and the test results rejected the joint non-significant null hypothesis for time and spatial fixed effects, the model with time and spatial fixed effects should have been be adopted; however, LeSage and Pace (2009) pointed out that the Wald and LR tests should still be used to determine whether the spatial Durbin model could be reduced to a spatial lag model and a spatial error model. The results showed that the Wald test and LR test rejected the null hypothesis, and the spatial Durbin model better fit the data. Therefore, the spatial Durbin model (SDM) with both time and spatial fixed effects was finally chosen as the estimation model, and mainly focused on the estimation results under the economic distance weight matrix.

Table 5 Selection of spatial econometric model

Basic regression results and discussion

To compare and test the necessity and reliability of introducing the dynamic spatial econometric model, the estimation results for the non-spatial fixed effects model and the static and dynamic SDM with time and space fixed effects under three spatial weight matrixes are given in Table 6.

Table 6 Estimates from the three models from 2006 to 2020

The R2 and log-likelihood values indicated that compared with non-spatial fixed effects model and static SDM model, the dynamic SDM had stronger explanatory power, and the dynamic SDM under the economic distance weight matrix was the strongest, which was used as the benchmark model for the empirical analysis. In the dynamic SDM estimation, the spatial lag parameter green innovation estimations were all significantly positive, which indicated that green innovation had a positive interaction or correlation effect in space, and that a large number of regions with high level green innovation were clustered around the regions with rapid green innovation developments. The parameter estimations for the phase 1 green innovation lag were all significantly positive, indicating that there was a significant cumulative effect of green innovation over time, and the green innovation in the last phase had a co-acting effect on the current phase (Jové-Llopis and Segarra-Blasco 2018). The spatial lag parameter estimations of the phase 1 green innovation lag were all significantly negative, indicating that the local green innovation in the last phase had a negative spatial correlation effect on the neighborhood green innovation. Many green innovation resources were in the regions with higher green innovation levels in the last phase, indicating that there had been “siphonic effect” on current green innovation in the surrounding areas. It should be noted that the impacts of market demand on green innovation in non-spatial FE model and static SDM model were opposite to that in dynamic SDM model. Without considering the development level of the previous phase, the overall market demand presents a downward trend, while the level of green innovation keeps improving, so the effect of market demand on green innovation was negative. However, the dynamic SDM model took the time path dependence into account, so its results can show the real relationship between market demand and green innovation, that is, market demand could promote the improvement of local green innovation level, which was also the reason why the dynamic SDM model was adopted.

The spatial spillover effect of the dynamic SDM showed a global effect, and the point estimation results for which did not represent the marginal impact of the explanatory variables. Therefore, because of the point estimation results, the direct effect, indirect effect, and total effect of each explanatory variable needed to be further measured (Elhorst 2014; LeSage and Pace 2009). The results are shown in Table 7.

  1. (1)

    Environmental regulation

Table 7 Effect decomposition of the dynamic SDM

The direct effects of environmental regulation were significantly negative under three spatial weight matrixes, while the direct effects of its quadratic were significantly positive which indicated that the environmental regulation effect on local green innovation satisfied the positive U-shaped relationship, confirming H1. In the short term, the environmental regulations mean that the enterprises need to pay extra costs for pollution, which squeezes the funds available for green innovation and is not conducive to the development of regional green innovation. As the environmental regulations are strengthened, the cost of meeting the environmental protection requirements increases, which means that the enterprises can obtain greater benefits through green innovation, which reduces the pollution emissions and environmental costs and enhances competitive advantage through the differentiated green products and services.

Our results were consistent with Tian and Feng (2021), Duan and Xia (2022), (Song et al. 2020), Fan et al. (2021), and Li and Du (2021), which respectively studied the impact of environmental regulation on green scale economy, green product innovation, environmental innovation and green innovation efficiency, and confirmed Porter’s hypothesis. However, other studies have drawn different conclusions. Based on the data of Xi’an City (China) from 2003 to 2016, Zhang et al. (2020) showed that there was an inverted U-shaped relationship between environmental regulation and green innovation efficiency. By studying 27 OECD countries, Wang et al. (2019) believed that within a certain degree of strictness, environmental policies had a positive impact on green productivity growth, and when environmental regulation policies were strictness to a certain degree, the compliance cost was greater than the innovation offset effect.

The indirect environmental regulation effects and its quadratic were both significantly positive, indicating that there was always a positive spatial spillover effect in the surrounding regions. The possible reasons are as follows: First, the increase in the intensity of local environmental regulation encourages industries to flow to surrounding areas, which increases the income level of undertaking areas and the investment in green innovation R&D, thus improving the level of green innovation (Hille et al. 2019; Omri and Kahouli 2014). Second, the increase in the intensity of environmental regulations increases the cost of environmental protection, prompting enterprises to reduce production, close down high-pollution businesses, or reduce wages (Berman and Bui 2001; Liu et al. 2017; Sheng et al. 2019). Therefore, the released and lost human capital flows to the surrounding areas, which is conducive to the green innovation. Third, because the adjacent areas were likely to have similar development levels and geographical locations, the environmental regulations had strong reference significance. Therefore, the local environmental policies influenced the neighborhood environmental regulations through the “demonstration-imitation” mechanism, that is, as they had “race to the top” characteristics, they had a positive spatial interaction effect on the neighborhood green innovation developments.

There are some differences between our results and existing studies. Guo et al. (2019) found that environmental regulations have no significant impact on green innovation in surrounding areas, which believed that the development of local environmental regulations would increase the financing difficulty of polluting enterprises, thus stimulating some enterprises to migrate to surrounding areas, which may not promote green technology innovation in surrounding areas. Peng (2020) and Cai and Ye (2022) found that environmental regulations inhibited green innovation in surrounding areas, which argued that environmental regulations in surrounding areas exacerbate local pollution emissions and produce pollution refuge effect. However, Dong et al. (2020) and Li and Du (2021) believed that the neighborhood effect of environmental regulation on green innovation was a U-shaped impact. The reason for the divergence of results may be that, in terms of explained variables, green innovation (green patent data) was intensively discussed in this paper, while Peng (2020) focused on green productivity and Li and Du (2021) paid attention to green innovation efficiency. In addition, Cai and Ye (2022) conducted an empirical analysis based on data of city-level units in China from 2008 to 2015, Guo et al. (2019) and Dong et al. (2020) based on data of provincial units from 2007 to 2016. However, this paper examined the impact of environmental regulation and market demand on green innovation simultaneously, which made an empirical analysis based on the data of provincial units from 2006 to 2020 due to the limitation of the availability of market demand data. To sum up, different research results may be caused by different explained variables, research periods, and research objects.

  1. (2)

    Market demand

The direct effects of green market demand were significantly positive under three spatial weight matrixes, indicating that market demand could promote local green innovation improvements, and confirmed H3. The green technology supply and demand mechanism is the fundamental driving force behind green innovation. As some green products can bring added value to customers, they are willing to pay a premium for them (Horbach et al. 2013; Kammerer 2009). With the improvement in green consumption awareness and consumption levels (Cai and Li 2018), green market demand increases. Therefore, enterprises that pay attention to market conditions are more willing to implement green innovation activities to increase their competitive advantage and obtain greater benefits (Demirel and Kesidou 2019), which improves the overall regional green innovation level.

The research results were similar to most existing studies, differently, the existing studies mostly focused on empirical results at the enterprise level in European countries (Cainelli et al. 2020; Horbach et al. 2012; Kiefer et al. 2019; Triguero et al. 2013). Cai and Li (2018) confirmed the promoting effect of consumers’ green demand on ecological innovation from the Chinese firm level, and our study further found evidence that market demand promoted green innovation at the regional level of China. However, the results were at odds with del Río et al. (2017) and Jové-Llopis and Segarra-Blasco (2018). Based on the data of Spanish enterprise-level innovation from 2009 and 2008 to 2014 respectively, their research showed that market factors were not the main driving factor of ecological innovation, which might be because Spanish consumers’ environmental awareness was relatively weak at that time and their willingness to pay for ecological products was relatively low.

The indirect effects of market demand were significantly positive, indicating that the local green technology market demand had significant positive spillover effects on the neighboring regions. As changes in market demand depend mainly on consumers, with the continuous development of transportation and communication, inter-regional population mobility and communication are being constantly enhanced (Tang et al. 2020), which means that areas with high green market demand can subtly influence the level and awareness of green consumption in the surrounding areas, which in turn improves their green innovation levels through this “ripple effect” (Dong et al. 2020; Zhu and Lee 2021).

  1. (3)

    Control variables

The direct effects of government support under three spatial weight matrixes were significantly positive; however, the indirect effects were not significant, which indicated that government support for scientific and technological innovation can promote and enhance the subjective initiatives of local green innovation, which would improve the local innovation level (Chen et al. 2019; Zeng et al. 2021; Zhao and Li 2021; Zhou et al. 2021). Government support reflects the government’s attitude towards innovation, reduces the uncertainty of enterprise innovation, and enhances innovation confidence, and government investment can also reduce the financial pressures on enterprises and encourage innovative enterprises to implement innovative activities.

The direct effects of trade openness were significantly positive, which indicated that the foreign investment brought by open trade can promote local green technology innovation and development. Open trade can enable foreign enterprises to increase their investment, which gives Chinese enterprises sufficient funds for green product research and development. Therefore, trade opening could directly encourage green enterprises to conduct green innovation activities in China.

The direct effects of the infrastructure construction level were not significant, but the indirect effect was significantly positive, indicating that the local infrastructure construction improvements had a significant positive spatial correlation effect on the surrounding areas. Transportation, communication, and other infrastructure construction can reduce the costs of inter-regional talent exchanges and increase efficiency. Therefore, the infrastructure construction improvements in lagging areas could allow for the building of communication bridges with surrounding areas, fill the vacancies in the regional communication network, and significantly promote green innovation improvements in the neighborhood.

The direct effects of intellectual property protection were significantly positive, but the indirect effects were not significant, which indicated that intellectual property protection improvements could inhibit local green innovation development. As enterprises need to invest a great deal of manpower, materials, and financial resources in green innovation, knowledge has a diffusion and spillover effect, which means that intellectual property protection is very important. However, only when this protection reaches a certain level would enterprises choose self-green innovation; otherwise, they would be more inclined to imitate pioneering green technology enterprises. Since most of China’s green innovation is still in the imitative innovation stage, the enhancement of intellectual property protection will increase in the cost of implementing green innovation, thus having a significant negative impact on local green innovation.

Robustness test

In basic regression, environmental regulation was measured by constructing comprehensive index of discharge/utilization of three types of pollutants by entropy method. As environmental regulation has a variety of measurement methods, the robustness test was conducted by changing the environmental regulation measurement methods. On the one hand, industrial pollution control investment per unit output value was used to measure the intensity of investment-type environmental regulation. On the other hand, the amount of sewage charge was used to measure the implementation cost-based environmental regulation. The estimation results for the dynamic SDM model under economic distance weight matrix after replacing the environmental regulation measurements are shown in Table 8.

Table 8 Robustness test results

The results showed that the estimation results for the direct effects of environmental regulation were all significantly negative, the quadratic terms and the indirect effects were all significantly positive, and the direct and indirect market demand effects were significantly positive. Their direction and significance were the same as the basic regression results, so the results were considered robust.

Endogeneity problem

However, the dynamic SDM cannot solve the simultaneous endogeneity problem caused by the interaction between the explanatory variables and the explained variables. While environmental regulation and market demand affect regional green innovation, green innovation in turn influences the formulation of environmental policy and the changes in market demand. As green innovation improves, environmental policies are accordingly adjusted to raise the environmental regulation thresholds. Furthermore, the presence of more green products and services inevitably increases market demand, which leads to greater green innovation production to balance supply and demand. Therefore, following (Halleck Vega and Elhorst 2017), the first-order lag term for the environmental regulation and market demand endogenous explanatory variables and the explained green innovation variable were first selected as the instrumental variables. Second, to further control the environmental regulation endogeneity, the ventilation coefficient (\(VC\)) was taken as the environmental regulation instrumental variable for the time lag terms (Hering and Poncet 2014).

The ventilation coefficient, which is equal to the product of wind speed and boundary layer height (Jacobson 2002), was chosen as the instrumental environmental regulation variable because, first of all, when considering the same amount of air pollutants, regions with low ventilation coefficients have more stringent environmental regulations. As the ventilation coefficient only depends on natural phenomena such as the climate conditions, it only affects the regional green innovation by influencing the environmental policies. The data were derived from the ERA-Interim database of the European Center for Medium-Range Weather Forecasts (ECMWF). As only raster data was obtained, it was still necessary to match this with the longitude and latitude of the capital cities to obtain the regional annual ventilation coefficients. The system GMM estimation for the SDM was conducted under three spatial weight matrixes, and the results for which are shown in Table 9.

Table 9 System GMM estimation results based on SDM

The results showed that the adjoint probabilities for the Sargan test statistics were all greater than 0.1, indicating that there was no over recognition. The adjoint probabilities of the AR (1) test statistics were all less than 0.1, and those for the AR (2) test statistics were all more than 0.1, indicating that there was no second-order autocorrelation and the instrumental variable was valid. Regardless of using the first-order lag term or using both the first-order lag term and the air circulation coefficient as instrumental variables, the environmental regulation parameter estimation results were significantly negative, and the second-order term and spatial term were significantly positive. The parameter estimation results for the market factor were significantly positive. These results showed that the environmental regulation effect on regional green innovation had a U-shaped relationship, there was a positive spatial spillover effect, and the market demand promoted green innovation. As the system GMM estimation results for the dynamic SDM were similar to the basic regression results, and the regression results were proven robust.

Mechanism test

The theoretical analysis showed that the environmental policies and market demand may not play direct roles in green innovation, but affected the regional green innovation by changing the innovation input. When the environmental regulation intensity is weak, because of the “cost compliance” effect, the cost increases lead to a decrease in the innovation input, which is not conducive to green innovation development. As the environmental policy intensity increases, the innovation investment increases because of the “innovation compensation” effect, which improves the green innovation. However, an increase in green market demand can reduce green innovation uncertainty, significantly increase the expected profit, and enhance enterprise green innovation motivation, and an increase in innovation input can improve the green innovation level. The regression results under the economic distance weight matrix are shown in Table 10.

Table 10 Mediating effect test for \(RD\)

As shown in Table 10, when the dependent variable was innovation input, the total environmental regulation effect was significantly negative after adding the environmental regulation quadratic term. While all the quadratic term effects were not significant, there was no “U” shaped effect for the impact of environmental regulation on innovation input. When the environmental regulation quadratic term was removed, the results showed that the direct effect of environmental regulation was significantly negative, and the indirect effect was significantly positive, which implied that environmental regulation increases environmental costs and squeezes out local innovation input. The conclusion was consistent with Yuan and Xiang (2018), who believed that environmental regulation had a crowding out effect on R&D investment, and innovation initiatives were usually hindered by compliance costs of environmental regulation. However, some studies suggested that environmental regulation can promote R&D spending. Using a quasi-natural experiment, Chakraborty and Chatterjee (2017) found that environmental regulations significantly promoted innovation expenditures of dye manufacturers in India. Costa-Campi et al. (2017) showed that the rigor of regulations, R&D subsidies and environmental taxes had a positive impact on the level of environmental R&D investment. At the same time, due to the “pollution heaven” effect (Copeland and Taylor 2004), the surrounding areas that have weak environmental regulations attract more investment, and the innovation input increases accordingly. The direct effect of market demand was significantly positive, indicating that under the market mechanism, an increase in market demand provides the impetus for green innovation and accordingly results in an increase in innovation input (Barge-Gil and López 2014; Garcia-Quevedo et al. 2017).

When the innovation input was added to the basic regression model, the direct effect of innovation input was significantly positive, indicating that an increase in innovation input can significantly improve regional green innovation levels (Li et al. 2019). The significance and direction of the estimated direct and indirect effects of environmental regulation and market demand were similar to the basic regression results. Specifically, each additional environmental regulation unit reduces green innovation by 9.8%, while in the basic regression model, each environmental regulation change resulted in a green innovation change of 10.7%. When focused on the innovation input, the environmental regulation impact on green innovation was slightly reduced, which indicated that environmental regulation partly affects regional green innovation by influencing innovation input. However, when the market demand increased by one unit, the green innovation increased by 8.7%, while in the basic regression model, the per unit change in market demand resulted in a 12.0% green innovation change. When focused on the innovation input, the market demand impact on green innovation was significantly reduced, which indicated that market demand partly affects regional green innovation through innovation input, and the proportion of such an effect is significantly higher than that of environmental regulation. Environmental regulation inhibits regional innovation input through the “cost compliance” effect, which is also unfavorable to regional green innovation, but market demand plays an incentive role in innovation input, thus promoting the improvement of the green innovation level.

Further study

Study by region

The spatial and temporal evolutionary analysis of green innovation showed that there were significant differences in the regional green innovation, with a “step-down” characteristic in the eastern, central, and western regions.Footnote 1 Therefore, it was necessary to examine whether there was regional heterogeneity in the green innovation driving factors (Wu et al. 2021a). The estimation results of the dynamic SDM under economic distance weight matrix are shown in Table 11.

Table 11 Estimation results for the dynamic SDM by region

As shown in Table 11, the estimated results for environmental regulation and market demand showed obvious spatial heterogeneity. First, while the environmental regulation direct and indirect effects were not significant in the eastern region, the total effect was positively significant, and while the direct effect was not significant in the central region, the indirect effect was negatively significant; however, no effects were significant in the western region. Because of the rapid economic development in eastern China, there was an early implementation of environmental policies, and many enterprises have attained the established policy standards (Chen et al. 2017). Therefore, as the environmental regulations no longer motivate them to conduct further green innovation, they only play a small role in China’s overall green innovation. Different from the full sample estimation results, the environmental regulation in the central region had significant negative green innovation spillover effects in the neighborhood, which indicated that the environmental regulation “demonstration-imitation” mechanism was no longer applicable, leading to a “pollution heaven” situation (Cai and Ye 2022; Peng 2020). The “pollution paradise” hypothesis was proposed by Copeland and Taylor (2004) which held that strict environmental policies led to increased environmental spending, which could accelerate the transfer of the polluting enterprises to nearby areas that had less environmental regulations and the forming of a “pollution heaven.” The research results were similar to Li and Wu (2017), who believed that environmental regulations in areas with low political attributes had significant negative spatial spillover effects. Because the central region is experiencing rapid development, the local governments are lowering environmental standards to achieve “nesting to attract phoenix” and promote their economic development, that is, there is a competitive “race to the bottom.” This “high pollution” development mode has therefore significantly reduced the green innovation level. However, in western China, on the one hand, due to the low degree of environmental regulation, it is difficult to impose a green innovation supervisory role on the enterprises, and the environmental cost is relatively low compared with the cost of implementing green innovation (Chen et al. 2017). Therefore, as rational people, enterprises choose to continue to use “dirty technology” and lack the motivation for green innovation. On the other hand, as the saying goes, “even a clever housewife cannot cook a meal without rice.” Due to remote geographical location, backward economic development, and lack of green innovation resources such as capital and talents, it is difficult for environmental regulations to promote green innovation development.

The direct, indirect, and total effects of market demand were significantly positive in the eastern region, and the indirect and total effects were significantly positive in the central region, but again, no effects were significant in the western region, which was similar to the research results in Chen et al. (2017), who believed that while the market demand in the eastern, central, and western Chinese regions had a significant positive impact on ecological innovation, there was a smaller impact in the western region. These results showed that the higher green market demand in the eastern region promoted the overall green innovation activities in the region, the green technology market demand in the central region had a radiation effect that promoted the green innovation levels in the surrounding areas, but due to western China’s remote geographical location and backward opening-up policies, it has been difficult to garner the needed material and human resources. Furthermore, as the western region’s average income and education levels are relatively low, the demand for a favorable ecological environment, energy conservation, and environmental protection products is relatively low, which means that increasing the green market demand and promoting green innovation development is difficult.

The direct effect and total effect of government support were significantly positive in the eastern region, all effects were significantly positive in the central region, and none in the western region. The possible reason lied in the low government support for innovation and the lack of innovation resources in western China, and it has been difficult to stimulate green innovation vitality in the enterprises. The correlation coefficient of government support in central region was significantly higher than that in eastern region, indicating that government innovation input in central region could better promote the improvement of green innovation level. The indirect and total effects of trade opening were significantly positive in the eastern region, and the direct effect was significantly negative in the western region, while none were significant in the central region. This indicates that the opening up of the eastern developed region was able to attract foreign-funded enterprises to implement green innovation activities in a large area around the region, which led to a loss of capital, talent, and other resources in the less developed western region, which was not conducive to green innovation improvements. The indirect and total effects of infrastructure construction were significantly positive in the eastern region, and the direct effect was significantly positive in the central region, but all effects are not significant in the western region, which indicated that the improvement of infrastructure construction level in eastern China could enhance the communication capacities in the surrounding areas and provide the impetus to promote green innovation, and the enhancement of communication capacity in central China could help it better absorb knowledge and improve the level of green innovation. The intellectual property protection direct effect in the eastern region was significantly positive, while all the effects were not significant in the central and western regions, which was different from the regression results of the full sample. It indicated that the intellectual property protection and green innovation in eastern China have reached a certain level, and the higher intellectual property protection levels in eastern China have been able to improve the expected local green innovation output income, enhance enterprise green innovation confidence, and thus promote green innovation implementation.

Study by time

The spatial and temporal green innovation evolution analysis showed that the overall level and spatial–temporal distribution of regional green innovation keep changing from 2006 to 2020. Therefore, the effect of environmental regulation and market demand on green innovation may also change over time. Based on the above reasons, the study period was divided into two stages, 2006–2013 and 2013–2020, for the further analysis, the results of which are shown in Table 12.

Table 12 Estimation results for the dynamic SDM by time

As can be seen from Table 12, the estimated environmental regulation and market demand results revealed significant temporal heterogeneity. From 2006 to 2013, the direct effect of environmental regulation was significantly positive, the indirect effect and the direct effect of the quadratic term were significantly negative, which indicated that there was an inverted U-shaped relationship between environmental regulation and green innovation, and environmental regulation had “pollution paradise” effect. At this time, China had proposed a series of guiding policies to accelerate the economic growth mode transformation to energy conservation, environmental protection, and independent innovation capacity (Li et al. 2019). The just proposed environmental regulation policies made enterprises overwhelm and could only meet the policy requirements by increasing environmental protection expenditure. The increased environmental protection cost squeezed out innovation input and stifled any regional green innovation improvement. From 2013 to 2020, the direct environmental regulation effect was significantly negative, the indirect effect was significantly positive, the direct quadratic term effect was significantly positive, and the indirect effect was significantly negative, which indicated that the environmental regulation had both a positive “U” shaped effect on local green innovation and an inverted “U” shaped effect on the green innovation in surrounding areas.

From 2006 to 2013, the direct effect of market demand was not significant, while the indirect effect was significantly negative. At the fifth Plenary Session of the 16th CPC Central Committee in 2005 and the 17th CPC National Congress in 2007, environmental protection issues began to be widely promoted, after which the green market demand gradually increased. The increasing local green market demand made the green innovation resources of surrounding areas gather to it, resulting in the “siphon” effect and led to the decline of the green innovation level of surrounding areas. From 2013 to 2020, the awareness of green consumption was further enhanced, and the improvement of transportation and communication facilities led to more frequent inter-regional communications. Therefore, the increase of local market demand promotes the green innovation development in surrounding areas.

From 2006 to 2013, the indirect effect of the government support control variable was significantly negative, and from 2013 to 2020, the direct effect was significantly positive. These results showed that from 2006 to 2013, areas with high government support gained a greater share of the innovation resources, which had a negative spillover effect on the surrounding areas. From 2013 to 2020, the government’s innovation incentive policies realized an improvement in local regional green innovation. From 2006 to 2013, the indirect effect of trade opening was significantly negative, and the direct effect was significantly positive from 2013 to 2020. It indicated that from 2006 to 2013, the regional opening to the outside world attracted an inflow of foreign capital and the flow of resources and talents in surrounding areas, thus inhibiting the improvement of green innovation in surrounding areas. Due to increasing international attention on environmental and climate issues and stricter environmental policies in foreign countries, from 2013 to 2020 the opening up to the outside world provided the space for foreign polluting enterprises to move their production activities to China, which was not conducive to the development of local green innovation. The direct effect and indirect effect of infrastructure construction from 2006 to 2013 were significantly positive, indicating that the level of infrastructure construction in China increased rapidly during this period, which promoted the knowledge flow between regions and further promoted the development of overall green innovation. From 2006 to 2013, the direct effect of intellectual property protection was significantly negative, indicating that green innovation in this period was still in its infancy, and most innovations were imitation. The improvement of intellectual property protection was not conducive to regional green innovation activities.

Policy implications and limitations

This study employed a dynamic spatial Durbin model to empirically test Chinese provincial panel data and examined the impact of environmental regulations, market demand, and their spatial effects on regional green innovation. The main conclusions were as follows:

  1. (1)

    Environmental regulation had a positive “U-shaped” effect on local green innovation and a positive spillover effect on neighborhoods, and market demand was found to have a significant positive effect on local green innovation and had a “ripple effect.”

  2. (2)

    The mechanism analysis showed that environmental regulation inhibited regional innovation input through the “cost compliance” effect, which was unfavorable to regional green innovation; however, the “innovation compensation” effect of environmental regulation was not realized by changing the innovation inputs. Market demand had a stronger incentive effect on innovation input than environmental regulation, which promoted green innovation improvements.

  3. (3)

    The environmental regulation and market demand effects on green innovation had obvious spatial and temporal heterogeneity. In eastern China, both environmental regulation and market demand promoted green innovation activities, the environmental regulation in the central region had a “race to bottom” mechanism, and the market demand had radiation effects, and environmental regulation and market demand had little effect on green innovation development in western China. From 2006 to 2013, there was an inverted U-shaped relationship between environmental regulation and local green innovation, and also a “pollution paradise” effect, and market demand showed a negative spillover effect on surrounding areas. From 2013 to 2020, environmental regulation had a positive “U” effect on local green innovation and an inverted “U” effect on the surrounding areas, and the increase of local market demand promoted green innovation in surrounding areas.

Based on these findings, the following policy recommendations are given. First, suitable environmental regulations need to be formulated. Local governments need to make comprehensive use of the various environmental regulation measures to maximize their effectiveness. At the same time, a “race to the top” mentality should be promoted to drive overall green innovation. Second, green consumption should be stimulated to enhance the market vitality of green products. The green consumption concept must be integrated into all aspects of people’s lives, and then, green consumption encouraged by providing subsidies to customers who buy green products. Third, differentiated green innovation-driven policies should be implemented to achieve regional collaborative green innovation. The spatial spillover effect of green innovation should also be given full play to enhance the exchange of green innovation between the provinces and build a green innovation cooperation platform to realize effective regional collaborative green innovation.

However, the following limitations exist in this study. Considering the availability of market demand data, this study empirically analyzed the data at the provincial level in China. However, as discussed in the results, the effects of environmental regulation and market demand on green innovation in local and surrounding areas might be different due to the selection of data scales. Therefore, the next step of the study aims to address the data issue and conduct the analysis at the city level. In addition, the effects of different industries, as well as the impacts of environmental regulation and market demand on various types of green innovation, such as green product innovation and green process innovation, can be further considered to make more nuanced recommendations.