Introduction

Resource-based cities are cities where the extraction and processing of minerals, forests, and other natural resources are the main industry in the region, and are divided into four categories: growth, maturity, decline, and regeneration. China now has 262 resource-based cities (Li and Zou 2018), accounting for about 40% of the total number of China’s total number of cities. For a long time, the high energy consumption and high emission development methods adopted by various resource-based cities have put the environment and ecology under serious threat. A substantial number of resource-based cities have reached maturity and decline, with some cities even undergoing “mine depletion and city decline.” How to deal with the contradiction between resources and the environment in resource-based cities is an urgent issue to be resolved. Green technology innovation can steadily promote economic development based on the rational use of resources using green technology. Therefore, the advancement of green technology is crucial to the growth of resource-based cities.

It is possible to promote green technology innovation over the long term by directing R&D capital investment in that direction (Karakaya et al. 2014), but environmental problems cannot be solved solely through market mechanisms, and environmental regulation is an important means of addressing environmental market failures (Zhao 2013). However, environmental regulation can have both innovation disincentive and incentive effects: the former is that environmental regulation causes firms to raise the cost of their products, which in turn may crowd out their green technology development inputs. The latter argues that effective environmental regulation will stimulate firms to innovate in order to improve their competitive path. As a result, it is critical to understand how external environmental regulation affects both innovation incentives and cost increases. When governments impose environmental regulations, how do they affect the progress of regional green technologies? Do environmental regulatory policies affect green technology innovation differently in different cities? How do governments determine which policies are appropriate for which regions?

On this basis, this paper makes the following contributions: (1) there are opposing two-sided effects of environmental regulations, and the net effect under the combined effect can be obtained by decomposing the bilateral effects using bilateral stochastic frontier, which can provide a more comprehensive and three-dimensional understanding of the impact of environmental regulations on green technology innovation. (2) Considering that resource-based cities are facing severe resource and environmental problems, we study for resource-based cities and consider the heterogeneity of green technology innovation in cities with different life cycles.

Literature review

Traditional technical innovation, through improving productivity, producing capacity, and creating economies of scale, is inherently problematic in supporting environmental protection and economic synergy since it increases pollution. In response to major environmental challenges, the government has tightened environmental controls. It is unrealistic to rely just on market mechanisms to address environmental issues, and green technology innovation has emerged as a crucial means of addressing environmental issues through actively investing in green technologies. It is a critical tool for dealing with market failure in the environmental sector. scholars have picked the number of patents, green R&D expenditures, and environmental patent applications as indices of overall innovation or green technology innovation at the national, industry, and business levels (Liu et al. 2022; Tao et al. 2021; Zhang 2015; Fan et al. 2021). They have also investigated the influence of environmental legislation on overall innovation or green technology innovation and reached a variety of results.

In terms of research methodology: scholars confirm the unilateral effects of environmental regulatory policies, either positive or negative, using specific regulatory policies as quasi-natural experiments or spatial Durbin models (Kneller and Manderson 2012; Fan and Sun 2020; Tan and Shang 2018; Zhao et al. 2021; Gao et al. 2022b; Li et al. 2021b; Yang et al. 2021), but sever the combined effects of the two effects on green technology innovation and do not allow quantitative estimation of the combined effects of the two. Deng investigated the dual influence of environmental policy implementation on firms’ innovation capacities using a quasi-natural experiment involving energy-saving and low-carbon policy measures and a twofold difference model (Deng et al. 2021). However, in the real situation, local governments’ environmental regulations have an impact on green technology innovation, and there is a certain spatial variability in environmental policies, technology innovation, and economic development across regions, which makes it more important to study green technology innovation at the regional spatial level.

From a research perspective, some scholars have conducted studies using panel data of overall prefecture-level cities in China as a sample (Li et al. 2021a; Gao et al. 2021). Gao, for example, explores how heterogeneous environmental regulations affect the impact of FDI on green total factor energy efficiency (Gao et al. 2022a). The relationship between FDI-based environmental regulation intensity and green total factor energy efficiency is verified, but it does not subdivide the sample into resource-based cities, where environmental resource problems are particularly prominent in comparison.

In conclusion, prior research have been unable to provide an united opinion on the unilateral effects of environmental legislation on the invention of green technologies. The key reasons are that the bilateral effects of environmental regulation have not been well investigated and that utilizing models to describe and quantify the bilateral effects has two problems: on the one hand, the estimation methods of traditional models are unable to estimate the exact magnitude of the dual effects; on the other hand, environmental regulation that produces dual effects at. On the other hand, environmental regulation may be affected by both effects in reverse (He and Qu 2015; Deng and Zhang 2020). On the other hand, most existing studies select an overall sample of cities or select resource-based cities within a region for an overall study, without taking into account the heterogeneity of resource-based cities at different development stages. In this paper, we make the following improvements to our previous studies. (1) We address the inevitable endogeneity problem of OLS regressions by using bilateral stochastic frontiers that allow variables to be included in one framework at a time for analysis to investigate the incentives, disincentives, and net effects of environmental regulations in resource-based cities to effectively control for endogeneity due to inter-sample consistency. After that, they are grouped into a complete sample of cases. (2) We focus on a sample of resource-based cities from the overall city sample to analyze the heterogeneity of resource-based cities over different life cycles. (3) In terms of indicator selection, entropy value method is chosen to compensate for the possible shortcomings of single indicator exaggerating the effect of environmental regulation and related variable substitution method; green patent is chosen as a measure of green technology innovation to compensate for the possible subjectivity defects of using keyword collection and the shortcomings of patent grant not reflecting the impact of environmental regulation on performance.

This paper investigates the mechanisms of environmental regulations and how they affect green technology innovation. From 2010 to 2019, we analyze the effects of environmental regulations on green technology innovation in 115 resource-based provincial cities in China. We use bilateral stochastic frontier models to measure disincentives, incentives, and net effects, including the spatial and temporal distribution of these effects and heterogeneity across life-cycle cities.

Mechanism of environmental regulation on green technology innovation

Environmental regulation refers to the restriction and regulation of enterprises’ polluting behavior by the government or regulatory agencies in response to the negative externalities of economic activities. In the process of environmental regulation, the government will produce two effects: “compliance cost” and “innovation compensation,” i.e., neoclassical economics “inhibition theory” and Porter’s hypothesis.

The neoclassical economics “disincentive theory” suggests that enterprises choose to solve the pollution problem by improving their own green technology innovation capacity to achieve green production, which requires a large amount of investment in research and development, while the compliance cost brought by government environmental regulation will squeeze out the funds originally used by enterprises for research and development, and will restrain the management behavior of enterprises. Therefore, environmental regulations may be detrimental to the green technology innovation of enterprises, thus creating a “compliance cost” effect. The cost of compliance effect is mainly manifested in the following three aspects: First, the capital crowding out effect, the implementation of environmental regulations specifies the environmental conditions that enterprises need to meet in order to produce, such as sewage standards, enterprises to meet the development of regulations, it is necessary to improve production and facilities, thereby increasing the investment in production, enterprises often invest in environmental protection than in other areas of investment. The returns obtained are much lower than in other areas. That is, with limited costs, increased investment in environmental protection can squeeze out investment in green technology innovation and research and development. Second, management constraints, environmental regulation will be proposed to make all types of enterprises in product investment decisions and business management activities more subject to environmental constraints, all types of enterprises in making product investment decisions and changes in business management activities, must fully consider the negative impact of these activities on the environment the impact of these activities on the environment will have a binding effect on the behavior of enterprises. The third is the uncertainty of innovation. When the implementation of regulatory policies makes the business environment more uncertain, enterprises will suspend their investment activities and wait for more information to be disclosed before making decisions on whether to invest, resulting in lower R&D investment and lower level of green technology innovation.

The Porter hypothesis suggests that when enterprises choose to increase R&D investment in green technology innovation based on long-term development requirements, and achieve energy-saving and emission-reducing business models and improved production efficiency through technological innovation, the “innovation compensation” effect, which brings additional innovation benefits to enterprises and thus excites them to carry out green technology innovation, will be generated. The “innovation compensation” effect is mainly manifested in the following three aspects: First, environmental regulations increase the emission costs of enterprises, while enterprises must improve their production processes and improve the efficiency of resource allocation through green technology in order to maximize profits, so as to offset or reduce the environmental costs added by the restrictions of government environmental regulation policies. Second, the increase in regulation, public awareness of environmental protection will be enhanced, and companies with green technology have advantages in many aspects, such as easier or government green support, easier to obtain public attention, and companies will take the initiative to develop clean production processes in order to improve market competitiveness. Third, the government green tax-free subsidies, on the one hand, subsidies compensate the cost of following regulations, so that enterprises can invest a lot of money in research and development activities, to stimulate enterprises to carry out green innovation; on the other hand, green subsidies in response to green barriers have an important role, for the failure to meet the environmental and economic standards of developed countries and can not expand foreign markets, green subsidies both to promote environmental energy conservation, but also help enterprises to break through the green subsidies play an important role in addressing green barriers (Fig. 1).

Fig. 1
figure 1

Bilateral impact of environmental regulation on green technology innovation

Thus, environmental regulations show inhibiting effects when the “compliance cost” effect dominates and promoting effects when the “innovation compensation” effect dominates.”

Model construction and variable selection

Model setting

The bilateral stochastic frontier model proposed by Kumbhakar and Analysis (2008) improves on the traditional stochastic frontier to overcome the defect that the actual output is always smaller than the theoretical output in the traditional stochastic frontier model. The variables in the bilateral stochastic frontier model can be above or below the theoretical frontier value. In recent years, bilateral stochastic frontier models have also been widely used: Lu et al. (2011) study the impact of information asymmetry between doctors and patients in the medical service market on medical prices; Li (2015) studies the assumption of bank risk in the context of interest rate marketization; Tang and Li (2016) study the financing constraints and government subsidies on the investment efficiency of new energy enterprises bilateral and net effects; Shi and Yang (2018) study whether foreign direct investment can have either a spillover or a crowding-out effect on the innovation of firms.

To examine the dual effects of innovation incentives and disincentives of environmental regulation on green technology innovation, and to handle their endogeneity, this study presents a bilateral stochastic frontier model. As both innovation incentives and disincentives of environmental regulation may affect green technology innovation simultaneously, this paper introduces a bilateral stochastic frontier model:

$$ g t i_{i t}=\mu\left( x_{i t}\right)+\xi_{i t}, \xi_{i t}=\omega_{i t}-u_{i t}+v_{i t} $$
(1)

The gtiit is chosen to represent the amount of green patents granted. \(\mu \left (x_{i t}\right )\) represents the level of frontier green technology innovation. xit is the vector of characteristics of each city, and control variables that reflect the characteristics of cities and can influence green technology innovation are used in this paper, including industrial structure (ind), level of economic development (eco), government intervention (gov), level of information technology (inf), financial development (fin), and level of human capital (edu). ξit is a compound disturbance term. ωit represents the upper deviation and indicates the magnitude of the incentive effect. uit represents the lower deviation and indicates the magnitude of the disincentive effect. ωit ≥ 0 and uit ≥ 0 are satisfied. vit is a random disturbance term, and OLS is valid based on the classical assumptions of the econometric model. If the expected mean is not zero, there are “deviations” of the residuals: when uit = 0, it indicates the presence of incentive effects only; when ωit = 0, it indicates the presence of disincentive effects only; when ωit≠ 0 and uit≠ 0, it indicates the presence of both incentive and disincentive effects.

In (1), \(\mu \left (x_{i t}\right )=x_{i t}^{\prime } \beta \). To measure both the β parameter vector and bilateral effects, the maximum likelihood estimation (MLE) method is used to estimate them. From the previous analysis, it is known that the disturbance terms ωit and uit both have the characteristics of unilateral distribution, so it is assumed that both of them obey exponential distribution, i.e., \(u_{i t} \sim \) i.i.d.exp \(\left (\sigma _{u}, {\sigma _{u}^{2}}\right ),\omega _{i t} \sim i . i . d \exp \left (\sigma _{\omega }, \sigma _{\omega }^{2}\right )\). For the disturbance term vit, it is assumed that obeys normal distribution, i.e., \(v_{i t} \sim \) i.i.d.N \(\left (0, {\sigma _{v}^{2}}\right )\). vit,uit, and ωit are independent of each other and all of them are independent of the urban characteristic variable. The density function of the composite interferer term ξit can be calculated as follows:

$$ \begin{array}{@{}rcl@{}} f\left( \xi_{i t}\right)&{=}&\frac{\exp \left( a_{i t}\right)}{\sigma_{u}+\sigma_{\omega}} {\Phi}\left( \gamma_{i t}\right){+}\frac{\exp \left( b_{i t}\right)}{\sigma_{u}+\sigma_{\omega}} {\int}_{-\eta_{i t}}^{\infty} \phi(z) d z{=}\frac{\exp \left( a_{i t}\right)}{\sigma_{u}+\sigma_{\omega}} {\Phi}\left( \gamma_{i t}\right)\\ &&+\frac{\exp \left( b_{i t}\right)}{\sigma_{u}+\sigma_{\omega}} \phi\left( \eta_{i t}\right) \end{array} $$
(2)

where Φ(∙) denotes the standard normal distribution’s cumulative distribution function, ϕ(∙) denotes the standard normal distribution’s probability density function, and the remaining parameters are specified as follows:

$$ a_{i t}=\frac{{\sigma_{v}^{2}}}{2 {\sigma_{u}^{2}}}+\frac{\xi_{i t}}{\sigma_{u}} ; b_{i t}=\frac{{\sigma_{v}^{2}}}{2 \sigma_{\omega}^{2}}-\frac{\xi_{i t}}{\sigma_{\omega}} ; \eta_{i}=\frac{\xi_{i t}}{\sigma_{v}}-\frac{\sigma_{v}}{\sigma_{\omega}} ; \gamma_{i t}=-\frac{\xi_{i t}}{\sigma_{v}}-\frac{\sigma_{v}}{\sigma_{u}} $$
(3)

Construct the log-likelihood function as follows to acquire the above parameter estimations for the collection of n observations:

$$ \ln L(X ; \theta){=-}n \ln \left( \sigma_{u}+\sigma_{\omega}\right)+\sum\limits_{i=1}^{n} \ln \left[\mathrm{e}^{a_{i t}} {\Phi}\left( \gamma_{i t}\right)+\mathrm{e}^{b_{i t}} {\Phi}\left( \eta_{i t}\right)\right] $$
(4)

In (4), \(\theta =\left [\beta , \sigma _{v}, \sigma _{\omega }, \sigma _{u}\right ]^{\prime }\). This paper focuses on the disincentive and incentive effects, so we further derive the conditional density functions of uit and ωit denoted as \(f\left (u_{i t} \mid \xi _{i t}\right )\) and \(f\left (\omega _{i t} \mid \xi _{i t}\right )\) respectively as follows:

$$ f\left( u_{i t} \mid \xi_{i t}\right)=\frac{\lambda \exp \left( -\lambda u_{i t}\right) {\Phi}\left( u_{i t} / \sigma_{v}+\eta_{i t}\right)}{\Phi\left( \eta_{i t}\right)+\exp \left( a_{i t}-b_{i t}\right) {\Phi}\left( \gamma_{i t}\right)}\\ $$
(5)
$$ f\left( \omega_{i t} \mid \xi_{i t}\right)=\frac{\lambda \exp \left( -\lambda \omega_{i t}\right) {\Phi}\left( \omega_{i t} / \sigma_{v}+\gamma_{i t}\right)}{\exp \left( b_{i t}-a_{i t}\right)\left[{\Phi}\left( \eta_{i t}\right)+\exp \left( a_{i t}-b_{i t}\right) {\Phi}\left( \gamma_{i t}\right)\right]} $$
(6)

In (5) and (6), \(\lambda =\frac {1}{\sigma _{u}}+\frac {1}{\sigma _{\omega }}\). Based on the above mentioned conditional distribution, the conditional expectations of uit and ωit are obtained as follows:

$$ \begin{array}{@{}rcl@{}} &&{}E\left( 1-e^{-u_{i t}} \mid \xi_{i t}\right)\\ &=&1-\frac{\lambda}{1+\lambda} \frac{\left[{\Phi}\left( \eta_{i t}\right)+\exp \left( a_{i t}-b_{i t}\right) \exp \left( {\sigma_{v}^{2}} / 2-\sigma_{v} \gamma_{i t}\right) {\Phi}\left( \gamma_{i t}-\sigma_{v}\right)\right]}{\Phi\left( \eta_{i t}\right)+\exp \left( a_{i t}-b_{i t}\right) {\Phi}\left( \gamma_{i t}\right)} \end{array} $$
(7)
$$ \begin{array}{@{}rcl@{}} &&{}E\left( 1-e^{-\omega_{i t}} \mid \xi_{i t}\right)\\ &=&1-\frac{\lambda}{1+\lambda} \frac{\left[{\Phi}\left( \gamma_{i t}\right)+\exp \left( b_{i t}-a_{i t}\right) \exp \left( \sigma_{v} / 2-\sigma_{v} \eta_{i t}\right) {\Phi}\left( \eta_{i t}-\sigma_{v}\right)\right]}{\exp \left( b_{i t}-a_{i t}\right)\left[{\Phi}\left( \eta_{i t}\right)+\exp \left( a_{i t}-b_{i t}\right) {\Phi}\left( \gamma_{i t}\right)\right]} \end{array} $$
(8)

With the above equation, the net effect can be obtained by comparing the incentive effect with the disincentive effect.

$$ N S=E\left( 1-e^{-\omega_{i t}} \mid \tilde{\zeta}_{i t}\right)-E\left( 1-e^{-u_{i t}} \mid \tilde{\xi}_{i t}\right)=E\left( e^{-u_{i t}}-e^{-\omega_{i t}} \mid \tilde{\zeta}_{i t}\right)^{\prime} $$
(9)

Since the parameter σu appears only in ait and γit, while σω appears only in bit and ηit, both 141 are identifiable. Therefore, there is no need to assume the relative magnitude of the two effects in the follow-up test, and the effect size is entirely determined by the measurement results, which is more objective compared to the traditional regression analysis method.

Data sources

There are 262 resource-based cities in China, including 126 prefecture-level administrative regions (including prefecture-level cities, regions, autonomous prefectures, leagues), 62 county-level cities, 58 counties (including autonomous counties, forest areas), and 16 municipal districts (development zones, management zones). In this paper, 126 prefecture-level administrative regions are selected as research samples; firstly, to ensure data availability and comparability, all prefecture-level cities are selected; secondly, for the purpose of type analysis, the samples are selected to include growth, mature, declining, and regenerative resource-based cities. However, due to the serious lack of data in some cities, the sample was finally determined to be 115 prefecture-level administrative regions in order to ensure the completeness and availability of data. The planning period of China’s National Resource-based City Development Plan 2013–2020 is 2013–2020, and to incorporate the changes in the sample before as well as after the plan, this paper selects the sample period as 2010–2019, with a total of 1150 observations. The indicator data were obtained from the China Environment Yearbook, the China Urban Statistical Yearbook, and the China Urban Database. For the missing data of resource-based cities in individual years, they were complemented by linear interpolation.

Variable selection

Explanatory variable: green technological innovation (gti)

This paper adopts the number of green invention patent applications as its evaluation index, matched according to the green list of WIPO’s international patent classification. The reasons for this mainly include the following two points: firstly, the declaration of green invention patents has a higher technological threshold, which better reflects high-level green innovation (Amore and Bennedsen 2016). Second, compared with the number of patents granted, the patented technology may have an impact on the development of enterprises during the application process, and the number of patent applications can be selected for a more effective (Qi et al. 2018) and comprehensive measurement.

Core explanatory variable: environmental regulation (er)

In choosing the specific measurement method and indicator system of environmental regulation, the specific characteristics and requirements of urban environmental regulation implementation should be fully considered first. In this paper, drawing on the practice of Fu and Lisa (2010), in order to solve the one-sidedness arising from the evaluation with a single index or a single alternative variable (Li and Zou 2018), the entropy value method is used to construct the environmental regulation intensity of 115 cities in China based on the actual pollution indicators of each industry, and the indicators used are listed in Table 1 below,The higher the value of environmental regulation, the higher the intensity of environmental regulation in that city.

Table 1 Environmental regulation entropy method variables

The measurement method is manifested by first standardizing the data. For positive indicators:

$$ \left.X_{i j}^{\prime}=\left( X_{i j}-\min \left\{X_{i}\right\}\right) / \max \left\{X_{i}\right\}-\min \left\{X_{i}\right\}\right) $$
(10)

For negative indicators:

$$ \left.X_{i i}^{\prime}=\left( \max \left\{X_{i}\right\}-X_{i i}\right) / \max \left\{X_{i}\right\}-\min \left\{X_{i}\right\}\right) $$
(11)

Calculate the weight of the index value:

$$ Y_{i j}=X_{i j}^{\prime} / \sum\limits_{i=1}^{m} X_{i j}^{\prime} $$
(12)

Calculate index information entropy:

$$ e_{j}=-k \sum\limits_{i=1}^{m}\left( Y_{i j} \times \ln Y_{i j}\right) $$
(13)

In (13), \(k=\frac {1}{\ln m}, 0 \leq e_{j} \leq 1\), and calculate the redundancy of information entropy:

$$ d_{j}=1-e_{j} $$
(14)

Indicator weights:

$$ w_{i}=d_{i} / \sum\limits_{j=1}^{n} d_{j} $$
(15)

Overall Score:

$$ S_{i}={\sum\limits_{j}^{n}} w_{i} X_{i j}^{\prime} $$
(16)

Control variables

Besides being affected by environmental regulations, green technology innovation is also influenced by industrial structure, economic development level, and government intervention, etc. Based on the actual situation of this paper and previous research results, and drawing on existing practices (Wu et al. 2021), the following control variables are selected.

  1. (1)

    Industrial structure (ind). As industrial structure changes, it affects production efficiency, human resources, and capital allocation, along with the development of green technology. We utilize the rise in tertiary industry as a share of GDP for each prefecture-level city in this article (Liu and Yuan 2018; Fan and Sun 2020).

  2. (2)

    The level of economic development (eco). Green technology innovation necessitates a significant amount of cash and expertise, and the more developed the economy, the more it may encourage the use of diverse production variables for green technology innovation. The GDP per capita of each prefecture-level city is used to express in this article.

  3. (3)

    Government intervention (gov). Due to the potential for technological spillover in green technology innovation, enterprises are responsible for all of the costs, but they cannot monopolize the results. This identifies a market failure, and direct government intervention averts it. In this study, we express the percentage of general budget spending to regional GDP (Liu and Yuan 2018; Fan and Sun 2020; Liu et al. 2017).

  4. (4)

    Information level (inf). The construction of information infrastructure can achieve an efficient level of informatization and influence technology diffusion and innovation. In this paper, we use the number of Internet users in each municipality to express it.

  5. (5)

    Financial development (fin). Financial development provides financial assurance for green technology innovation. The year-end loan balance of financial institutions in each prefecture-level city is used to represent it in this study.

  6. (6)

    Human capital level (edu). Technical innovation is carried by people, and expanding green technology innovation capacity requires human capital to be engaged in innovation support services. This paper uses the ratio of the number of general undergraduate and above population to the number of resident population in the city to measure human capital (He et al. 2020).

The variables are treated as logarithms to remove the influence of heteroskedasticity on data smoothness, but negative values or a small number of zero values would be generated as a result, and the relative magnitudes between data did not change, and a small amount of data was not processed manually to ensure data integrity and objectivity. Table 2 displays statistical descriptions of the pertinent variables.

Table 2 Descriptive statistics

Empirical results and analysis

Model setting and influencing factors of green technology innovation

This part of the model estimation is divided into two steps: Using the bilateral stochastic frontier model developed in Chapter 3, first, the effects of city characteristics, such as economic development and government intervention, on green technology innovation are estimated, then the two-way effects of environmental regulation on green technology innovation are estimated. The estimation results are shown in Table 3.

Table 3 Bilateral stochastic frontier estimation results

As shown in Table 3: model m1 is the result of OLS estimation, models m2 to m5 are all estimated using MLE under bilateral stochastic frontier, and model m2 is the result under constraints \(\ln \sigma _{u}=\ln \sigma _{\omega }=0\). Models m3 and m4 include environmental regulation to identify the suppression effect and incentive effect, respectively, and model m5 includes both effects of environmental regulation. Based on the results of our statistical analysis, OLS regression methods indicate that government intervention level negatively affects the level of green technologies innovation, whereas economic development, information technology, finance, industrial structure, and human capital positively affect the level of green technologies innovation. Among them, the level of information technology and financial development are one of the main factors that cause green technology innovation. The higher the level of information technology of enterprises, the more efficient technology platform provided can lay the foundation for the development of green technologies and products of enterprises. Due to the innovation spillover effect existing in information technology itself can prompt enterprises to obtain technical knowledge with higher efficiency or lower cost, which can more easily promote the development of green technology innovation. The higher the level of financial development is, the more it is able to bring large-scale financing to innovative subjects, thus providing long-term incentives and risk diversification functions for green technology innovators and promoting the long-term effectiveness of green technology innovation. The above results are similar to those estimated in the existing literature, indicating that the use of bilateral stochastic frontier estimation does not lead to large bias in the results. The robustness of the model is shown in the fact that the regression results of model m2 and model m5 of the bilateral stochastic frontier model are quite close to one another. The effect of model fitting steadily increases with the addition of environmental control variables, and model m5 outperforms other models. The subsequent variance decomposition and accompanying statistical analysis are mostly based on model m5, as well. From model m5, we can see that both the disincentive and incentive effects of environmental regulation are significant. Taking these results into account, we can conclude that the positive and negative effects of environmental regulations in the area of green technology innovation are present simultaneously. It is possible for the model design to be biased if the one-sided estimating approach is utilized; that is, if only the incentive effect or only the disincentive impact is taken into consideration.

Variance decomposition

The results of the analysis are presented in Table 4, where the bilateral effect of environmental regulation accounts for 53.32% of the total utility, indicating that 53.32% of the total variance is determined by disincentives and incentives. E(ω −u) = − 0.087. This indicates that the disincentives are dominant, thus indicating that the level of green technology innovation in resource-based cities is lower than the optimal level, i.e., the neoclassical economics “disincentive theory” is verified in this sample. In terms of the ratio of the inhibitory and incentive effects of environmental regulation, the inhibitory effect is 61.91% and the incentive effect is 38.09%, which explains the total variance. This indicates that the level of green technology innovation in China basically depends on environmental regulation, and the inhibitory effect dominates the combined effect.

Table 4 Incentive and disincentive effects of environmental regulation

Further analyzing the specific magnitudes of the bilateral and net effects of environmental regulations that deviate green technological innovation from the optimal level, the magnitudes of the inhibitory and incentive effects are calculated by Eqs. 7 and 8, respectively, and the estimated results are presented in Table 5, which yield the inhibitory effect of environmental regulations in resource-based cities as 28.63%, the incentive effect as 23.83%, and the net effect as − 4.8%. This indicates that the inhibitory effect of environmental regulation makes the level of green technology innovation lower than the optimal level of 28.63%, the incentive effect of environmental regulation makes the level of green technology innovation lower than the optimal level of 23.83%, and the combined effect of the two offsetting effects makes the level of green technology innovation lower than the optimal level of 4.8%. This indicates that due to the simultaneous existence of bilateral effects and the different magnitudes of the effects, environmental regulations show inhibitory effects on green technology innovation. Overall environmental regulation incentivizes firms to develop technology and grow revenues to balance the cost of environmental regulation, resulting in a level of green technology innovation that is 23.83% above the optimal level in resource-based cities. Environmental regulation makes resource-based cities face many constraints not only to strengthen their manufacturing facilities and diversify their inputs. The environmental pollution initially borne by the public internalizes the external environmental costs, and the increase in costs will directly lead to a reduction in output and weaken market competitiveness, making the level of green technology innovation 28.63% below the optimal level. Regulatory regulations have a negative cost inhibiting effect, but environmental regulations also have a positive incentive effect which somewhat mitigates this negative effect. This cost-inhibiting effect cannot be removed completely, and green technology innovation in resource-based cities in China is not very high.

Table 5 Estimation of bilateral effects

Table 5 shows the incentives and disincentive effects of environmental restrictions on green technology innovation at the first quartile, second quartile, and third quartile of the distribution, respectively. Furthermore, the net effect at the 75th percentile is positive 7.54, suggesting that the positive effect from environmental regulation can be found in more than a quarter of resource-based cities. Accordingly, the innovation of green technologies in resource-based cities is 7.54% higher than the frontier level.There has been a reduction in green technology innovation compared to the frontier level at the 25th and 50th percentiles. In cities with a heavy reliance on natural resources, environmental regulations have a stronger disincentive effect than an incentive effect. This results in a negative net effect on green technology innovation. In many resource-based cities, environmental regulations actually inhibit the development of green technologies. This means that environmental regulations negatively affect the level of green technology innovation in these communities. However, there are some resource-based cities that are able to reduce the negative impact of regulation or even positively promote green technology innovation.

Figures 23, and 4 summarize the frequency distribution of disincentive, incentives for innovation, and the net impact of environmental regulations on the development of green technologies in a more direct manner. Regardless of whether environmental regulation inhibits or encourages green technology innovation, as shown in Figs. 2 and 3, a noticeable trend can be observed to the right, as shown in Fig. 2. The trailing effect is caused by a direct cost disincentive effect caused by environmental regulation. It can be seen that green technology innovation is still trailing in 80% of the locations, while innovation incentive effects mostly disappear at 60% of the locations. It is noted in Fig. 4 that about one-third of the resource-based cities receive positive incentives for green innovation activities, while the net effect of the remaining cities is less than zero, i.e., the degree of technology innovation is much lower than the frontier level, which also shows that most resource-based cities have stricter rules that make it harder for green innovation to happen.

Fig. 2
figure 2

Incentive

Fig. 3
figure 3

Disincentive

Fig. 4
figure 4

Net

Temporal characteristics of environmental regulation affecting green technology innovation

Table 6 shows the statistical analysis of environmental regulations on green technology innovation by year. Within the sample years, the incentive effect shows an overall upward trend and the inhibitory effect shows an overall downward trend, with fluctuations in the opposite direction during 2013–2014. Although there are two opposing effects of environmental regulation, the dominant effect differs from period to period. From a static perspective, before the implementation of the regulation policy, enterprises themselves used effective resource allocation to maximize their profits, while the emergence of regulation made enterprises increase the “compliance cost” to meet the policy requirements; in the long run, the regulation policy was continuously improved to induce enterprises to green innovation more clearly. From a dynamic point of view, enterprises will be less competitive at the beginning of the regulation because of the temporary increase in costs, but as time develops, enterprises find that the “cost of compliance” is high and unsatisfactory, and they will actively seek to improve their production methods and carry out green technology innovation to enhance their competitiveness in the market. Starting from the sample period chosen in this paper: on the one hand, 2011 was the beginning of China’s 12th Five-Year Plan, and the 12th Five-Year Comprehensive Work Plan for Energy Conservation and Emission Reduction was issued, which will have an impact on the development of resource-based cities; on the other hand, the National Sustainable Development Plan for Resource-based Cities The National Sustainable Development Plan for Resource-based Cities was released in 2013. The implementation of such regulatory policies has a tendency to inhibit and then promote the effect of resource-based green technology innovation, which is exactly in line with the findings of some scholars. The nonlinear effect of environmental regulation on urban sustainable development efficiency (He and Hu 2022). Overall, the net effect of environmental regulation shows an overall slow upward trend.

Table 6 Annual distribution of bilateral effects of environmental regulation

Taking into account the quantile perspective, the disincentive effect of environmental regulation stands out in the first quantile and demonstrates a significant downward trend; the net effect shifts from negative to positive over time in the second quantile and demonstrates an upward trend; and in the third quantile, the positive incentive effect stands out and demonstrates an overall upward trend. In general, this indicates that environmental regulation is reducing the disincentive effect on innovation, and that the predicted results over time are consistent with the previous predictions, thus proving that the findings presented in this paper are reliable (Figs. 567, and 8).

Fig. 5
figure 5

Net effect in 2010

Fig. 6
figure 6

Net effect in 2013

Fig. 7
figure 7

Net effect in 2016

Fig. 8
figure 8

Net effect in 2019

Regional characteristics of environmental regulation affecting green technology innovation

The mean values of the net effect of green technology innovation in resource-based cities are, in descending order, declining, mature, regenerative, and growing. Figure 9 shows that more than half of the declining cities have a positive net effect of environmental regulation, and the green innovation incentive of environmental regulation is significant. It indicates that these cities are nearing resource depletion and the share of resource industries is decreasing, and for facing the urgent problem of transforming the economic development mode, it is difficult to achieve self-transformation without external help. However, in recent years, with the support of policies such as the “Planning” for the layout of major national industrial projects, which explicitly proposes “one city, one policy” for such cities to develop alternative industry cultivation programs, and the National Development and Reform Commission’s cumulative arrangement of central budget investment of about 17 billion yuan to support resource-depleted cities, the industrial structure has been continuously optimized and upgraded. Promote the level of green technology innovation in cities (Sun et al. 2020). Figure 10 shows that environmental regulation makes the level of green technology innovation in a small number of mature cities higher than the frontier level, and the net effect of individual mature cities is much higher than that of the other three types of cities. However, there are still a larger proportion of cities where the innovation incentive effect cannot compensate for the cost inhibiting effect, and the net effect is negative. This category has many years of mining experience and mature transportation and processing systems, but their backward production capacity and the accumulation of long-term social as well as environmental problems have brought them into the dilemma of stagnant green technology innovation development. Figure 11 shows that most of the growing cities still have negative green technology innovation efficiency, indicating that the innovation incentive effect brought by environmental regulations in this part of the city has not yet been highlighted and is in the early stage of resource development and utilization. These cities have large reserves of various resources and can be exploited for a long period of time; the low returns of green technology innovation in the short term cannot attract such enterprises to shift from expanding resource development to green technology innovation. Figure 12 shows that environmental regulations make the level of green technology innovation in most regenerative cities lower than the frontier level; these cities have stopped most of the resource exploitation, and the development of green technology industry still lags behind due to the low correlation between traditional industries and green industries, which are also not suitable to be transformed into green industries.

Fig. 9
figure 9

Growing cities

Fig. 10
figure 10

Mature cities

Fig. 11
figure 11

Declining cities

Fig. 12
figure 12

Regenerating cities

Robustness test

In addition, this paper conducts a robustness test by replacing the explanatory variables and choosing the number of green utility model patents filed to measure green technology innovation to determine how reliable the findings presented in this work really are. Due to the limited space of the article, the corresponding regression results are not presented, and only the results of the variance decomposition of the corresponding inhibitory and incentive effects, as well as the distribution of the effects, are presented.

The results of the analysis are presented in Table 7, where the bilateral effect of environmental regulation accounts for 53.32% of the total utility, indicating that 60.74% of the total variance is determined by disincentives and incentives. E(ω −u) = − 0.1917; This indicates that the disincentives are dominant, thus indicating that the level of green technology innovation in resource-based cities is lower than the optimal level. In terms of the ratio of the inhibitory and incentive effects of environmental regulation, the inhibitory effect is 74.01% and the incentive effect is 25.99%, which explains the total variance. This indicates that the level of green technology innovation in China basically depends on environmental regulation, and the inhibitory effect dominates the combined effect. This is consistent with the previous estimation results.

Table 7 Incentive and disincentive effects of environmental regulation
Table 8 Estimation of bilateral effects

Further analyzing the specific magnitudes of the bilateral and net effects of environmental regulations that deviate green technological innovation from the optimal level, and the estimated results are presented in Table 8, which yield the inhibitory effect of environmental regulations in resource-based cities as 31.89%, the incentive effect as 21.58%, and the net effect as − 10.31%. This indicates that the inhibitory effect of environmental regulation makes the level of green technology innovation lower than the optimal level of 28.63%, the incentive effect of environmental regulation makes the level of green technology innovation lower than the optimal level of 21.58%, and the combined effect of the two offsetting effects makes the level of green technology innovation lower than the optimal level of 10.31%. Table 8 shows the incentives and disincentive effects of environmental restrictions on green technology innovation at the first quartile, second quartile, and third quartile of the distribution, respectively. Furthermore, the net effect at the 75th percentile is positive 3.75, There has been a reduction in green technology innovation compared to the frontier level at the 25th and 50th percentiles. Figures 1314, and 15 show that both the spillover effect and the crowding-out effect show the right trailing phenomenon, and the suppression effect still exists around 95% of the trailing effect, while the spillover effect disappears around 60%. Numerically, the magnitude of the bilateral effect differs somewhat from the previous paper, but the difference is not significant. Overall, the inhibitory and incentive effects of environmental regulation co-exist, and the inhibitory effect dominates, which is consistent with the previous results and indicates the robustness of this paper’s study.

Fig. 13
figure 13

Incentive

Fig. 14
figure 14

Disincentive

Fig. 15
figure 15

Net

Conclusion

There are two opposing views on the impact of environmental regulation on green technology innovation. The fundamental problem is that environmental regulation has two opposing effects at the same time, and the findings cannot be agreed upon by conducting unilateral studies. In this paper, we use a bilateral stochastic frontier model to decompose the bilateral effects based on dynamic panel data of 115 prefecture-level resource-based cities in China, and empirically analyze their temporal characteristics as well as the differences in the effects of different life-cycle resource-based cities. The results of the study show that:

  1. (1)

    Green technology innovation in resource-based cities is subject to both innovation incentives and cost inhibiting effects of environmental regulations, and the cost inhibiting effect is dominant. In terms of the ratio of the inhibitory and incentive effects of environmental regulation, the inhibitory effect is 61.91% and the incentive effect is 38.09%, which explains the total variance. The inhibitory effect of environmental regulation in resource-based cities is 28.63%, the incentive effect is 23.83%, and the net effect is − 4.8%. This indicates that the inhibitory effect of environmental regulation makes the level of green technology innovation lower than the optimal level of 28.63%, the incentive effect of environmental regulation makes the level of green technology innovation lower than the optimal level of 23.83%, and the combined effect of the two offsetting effects makes the level of green technology innovation lower than the optimal level of 4.8%.

  2. (2)

    The temporal characteristics of the bilateral effects show that the dominant effects are different in different periods, and the net effect shows a “suppression-promotion” process. In the sample years, the net effect shows a decreasing trend during 2013–2014 and an increasing trend after 2015.

  3. (3)

    For resource-based cities with different life cycles, the effect of environmental regulation on green technology innovation differs, and the mean value of the net effect of green technology innovation in resource-based cities is declining, mature, regenerating, and growing, in descending order.

This study proposes the following policy recommendations based on the research findings:

  1. (1)

    In order to accelerate the formation of green development and achieve the dual carbon goal, the government should take the initiative to promote environmental governance and formulate reasonable environmental regulation policies to make up for the deficiencies of the market in promoting green development. Traditional non-clean technology areas of product production and technology research and development have a profit advantage, green technology innovation after the obvious disadvantage, the market alone is difficult to achieve technological progress in the green direction, so the government needs to play a guiding, regulatory role, through the introduction of relevant environmental protection policies using administrative means to make up for the lack of market in regulating the progress of green technology.

  2. (2)

    The implementation of differentiated environmental regulatory policies by region, not “one size fits all.” The effect of regulation differs for resource-based cities with different life cycles, and the benefits generated are different, so the key is to grasp the balance between efficiency improvement and environmental governance. First, for declining cities, the regulation should focus on promoting the green development of successive industries, establishing deep processing of resources on the basis of extending the existing industrial chain, actively supporting the construction of green technology development projects in resource-based cities, and setting up special funds to help declining cities solve the environmental, employment, and other problems left by history. Secondly, for mature cities, the regulation policy should maintain the existing resource industries on the basis of the existing state of increasing returns to scale, avoid neglecting green technology input and development, appropriately increase the scale effect, give full play to the innovative incentive effect of regulation, overall coordinate the industrial layout, and explore green development mode. Thirdly, for regenerative cities, the regulation should focus on promoting this type of cities to get rid of the dependence on the original resources and develop competitive alternative green industry clusters. Attracting foreign investment is an effective way to do this, and foreign investment will be accompanied by the introduction of green innovative technologies. Fourthly, for growth-oriented cities, they should give play to the advantages of their resource-led industries, reasonably determine the intensity of resource development, extend their life cycle, expand their resource advantages, and promote the internalization of their environmental costs through strict cost suppression to promote the development of green technology in their industries and obtain transformational development.