- Research
- Open access
- Published:

# Government intervention model based on behavioral heterogeneity for China’s stock market

*Financial Innovation*
**volume 8**, Article number: 95 (2022)

## Abstract

Active government intervention is a striking characteristic of the Chinese stock market. This study develops a behavioral heterogeneous agent model (HAM) comprising fundamentalists, chartists, and stabilizers to investigate investors’ dynamic switching mechanisms under government intervention. The model introduces a new player, the stabilizer, into the HAM as a proxy for the government. We use the model to examine government programs during the 2015 China stock market crash and find that it can replicate the dynamics of investor sentiment and asset prices. In addition, our analysis of two simulations, specifically the data-generating processes and shock response analysis, further corroborates the key conclusion that our intervention model not only maintains market stability but also promotes the return of risk asset prices to their fundamental values. The study concludes that government interventions guided by the new HAM can alleviate the dilemma between reducing price volatility and improving price efficiency in future intervention programs.

## Introduction

Among the major stock markets in the world, the Chinese stock market has the highest turnover rate and relatively high price volatility (Hu et al. 2018). Government intervention in maintaining market stability is a striking feature of the stock market. The Chinese government implements this through administrative bans (e.g., bans on short selling), monetary policies (e.g., changes in interest rates and deposit reserves), and direct trading in the asset market (e.g., purchases of underlying stocks). For instance, during the 2015 stock market crash, the Chinese government organized a “National Team” fund to buy stocks directly to backstop the stock market meltdown (Huang et al. 2019). Since the 2008 Global Financial Crisis, governments in the Organisation for Economic Co-operation and Development countries have intervened in the market after episodes of large fluctuations or severe market dysfunction. Government intervention in the stock market is becoming increasingly common.

Although government intervention can reduce excess price volatility in financial markets, such interventions should be organized and implemented to achieve the objective of maintaining market stability without distorting financial markets. Answering this question requires intensive research on investors behavioral patterns under government intervention and the development of corresponding theoretical models to guide the intervention. Although several empirical studies have investigated the effects of government intervention,^{Footnote 1} to the best of our knowledge, research on a theoretical model to characterize direct government intervention is scarce. The goal of our study is to address this gap in the extant literature.

Government intervention faces a dilemma between reducing price volatility and improving price efficiency, because investors may ignore economic fundamentals and instead follow the trading behaviors of government intervention (Brunnermeier et al. 2021). This study developed a theoretical model to address this dilemma. This model focuses on government intervention through direct trading against heterogeneous investors in the stock market. We built on the heterogeneous agent asset pricing framework proposed by Brock and Hommes (1997, 1998).

Brock and Hommes (1997, 1998) assumed that conventional agents adapt their beliefs over time by choosing from a finite set of expectations of future prices, and revise their beliefs in each period with bounded rationality according to past realized profits. The introduction of the heterogeneous agent asset pricing framework has contributed to expanding the literature on HAMs.^{Footnote 2} For example, Boswijk et al. (2007) estimated a behavioral HAM for the stock market using annual US stock market data from 1871 to 2003. de Jong et al. (2009) estimated a dynamic HAM with fundamentalists, chartists, and internationalists for the Asian equity market during the Asian crisis. Chiarella et al. (2012) proposed a simple Markov-switching HAM with fundamentalists, chartists, and noise traders and demonstrate that the estimation results match the excess volatility of the S &P 500 index fairly well. HAMs display strong explanatory power for bubbles, crashes, and excess volatility in the stock market (see He and Li (2012), Chiarella et al. (2014), Lof (2015), He and Li (2015a), Hommes and in ’t Veld (2017), and Zhang et al. (2019)).^{Footnote 3} The above-mentioned empirical literature employs two types of traditional heterogeneous agents in HAMs: fundamentalists and chartists.^{Footnote 4} Fundamentalists believe that asset prices will mean-revert to the fundamental value determined by economic fundamentals such as supply and demand and money supply, and hence, trade based on a mean-reversion strategy. In contrast, chartists believe that asset prices are not determined by fundamentals alone and that the trend of prices will continue in the next period according to the simple predictions of technical trading rules, and therefore, trade based on a trend-following strategy. Chen et al. (2012) indicated that these two types of HAMs have an approximate explanatory power for the stylized facts compared with multi-type HAMs. In our model, fundamentalists and chartists illustrate the basic behavior of investors in the stock market.

Fundamentalists provide negative feedback to asset prices, whereas chartists offer positive feedback. Negative feedback causes asset prices to converge to their fundamental values, whereas positive feedback extrapolates prices and causes persistent price deviations from fundamental values. Akerlof and Shiller (2009) considered positive feedback as one of the primary factors for market fluctuations. De Grauwe (2012) defined an animal spirits index measured by the fraction of optimistic extrapolators in an economic activity, and argued that Keynesian animal spirits provide an endogenous explanation of business cycle movements (booms and busts in economic activity).^{Footnote 5}
Brock and Hommes (1998) believed that the interaction between fundamentalists (stabilizing force) and chartists (destabilizing force) causes asset price fluctuations. When the destabilizing force is far stronger than the stabilizing force, the market booms or busts. Admittedly, these large fluctuations are detrimental to the fundamentals of an economy. An intuitive way to prevent excess volatility is to introduce an external force, such as the government, that can balance the destabilizing force.^{Footnote 6} Therefore, we introduce a government proxy into the traditional HAM and use the new HAM to examine investors behavioral characteristics under government intervention.

The new HAM comprises two conventional heterogeneous agents (fundamentalists and chartists) and a government agent (stabilizer). The behavioral pattern of conventional heterogeneous agents is in line with the framework proposed by Brock and Hommes (1997, 1998) which introduced a simple present discounted value asset-pricing model with heterogeneous beliefs. The stabilizer, as a proxy for the government, trades based on the belief that market participants should be guided by the government during periods of booms and busts. This perspective is motivated by Keynes (1936), who argued that most booms and busts of economic activities are induced by participants’ animal spirits and insisted that the government should moderately intervene in these activities. The novel player, the stabilizer, together with fundamentalists and chartists, constitutes the new HAM. We estimated the HAM using China Securities Index (CSI) 300 daily data via nonlinear least squares and compared the HAM to a benchmark model without a stabilizer through data-generating processes and shock response analysis.^{Footnote 7} The estimation results indicate that the main parameters of our HAM are statistically and economically significant under multiple intervention scenarios; that is, the HAM can appropriately characterize the main features of government intervention. Furthermore, the results of the data-generating processes and shock response analysis illustrate that the stabilizer can significantly reduce excess volatility and promote the return of asset prices to their fundamental values.

The remainder of this study is organized as follows. In "Behavioral HAM" section builds a behavioral HAM using a government agent. In "Model estimation" section estimates the HAM using CSI 300 daily data. In "Simulations" section compares the HAM with a fundamentalist–chartist benchmark model through data-generating processes and shock response analysis. Finally, "Conclusions" section concludes the paper.

## Behavioral HAM

In this section, we built an asset pricing model with heterogeneous agents, following the frameworks of Brock and Hommes (1998), Boswijk et al. (2007), and Hommes and in ’t Veld (2017). The model considers a market with three types of heterogeneous agents: fundamentalists, chartists, and stabilizers, and assumes that all agents have perfect knowledge of the fundamental value but disagree on how the next period’s price will deviate from the fundamental price. Fundamentalists believe that the trend of deviation from the fundamental value is not persistent and the deviation will shrink, whereas chartists are generally positive feedback traders who believe that the trend of deviation from the fundamental value is persistent and the deviation will increase. Prior studies on heterogeneous agents have frequently introduced fundamentalists and chartists; however, we are the first to introduce a novel type of agent, the stabilizer. To simplify the model and focus on dynamic switching among these three types of agents, we ignored the cost of government intervention.^{Footnote 8}

### Model

The asset pricing model comprises three types of investors, all of whom have perfect knowledge of the fundamental value of the risk asset. The pricing equation is specified in a standard manner:^{Footnote 9}

where \(x_{t}\) is the deviation of the price-dividend (PD) ratio from its fundamental value, \(1/R^*\) is the expected discount factor that we assume is common to all agents in the market and determined by economic fundamentals, \(n_{i,t}\) is the fraction of agents having belief \(E_{i,t}\), and *E* is the mathematical expectations operator. \(E_{f,t}\), \(E_{c,t}\), and \(E_{s,t}\) denote the beliefs of fundamentalists, chartists, and stabilizers, respectively. Subsequently, we specify the variables.

### Fundamentalists

Fundamentalists are assumed to have full knowledge of their fundamental value, which is determined by their real economic activity. They trade on the expectation that the trend of deviation from the fundamental value is not persistent and that stock prices will converge to their fundamental values. Consistent with Hommes and in ’t Veld (2017) and Zhang et al. (2019), we used the simplest rule to forecast future deviation, which is linear in the last observation:

where \(\phi _{f}\) is the belief parameter of the fundamentalists and measures the speed of the mean reversion of the deviation *x* from the fundamental value. However, this forecasting rule has a timing problem. Investors do not know the present value \(x_{t}\) in period *t*, which is the period in which they predict period \(t+1\). In fact, agents cannot use \(x_{t}\) to forecast the next period value \(x_{t+1}\) in period *t*. This rule and its explanation are also applicable to chartists and stabilizers.

### Chartists

Chartists believe that prices will continue into the next period. Let \(\phi _{c}\) be the belief parameter of chartists that measures the strength of the trend. We can write the belief of chartists as

where \(\phi _{c}\) denotes the belief parameter of chartists and implies a positive feedback dynamic process. In other words, chartists play a destabilizing role in the heterogeneous asset pricing model. De Grauwe (2012) considers the fraction of chartists in the market as the indicator variable of animal spirits and finds that the variations in animal spirits correspond fairly well with the booms and busts in economic activity. Motivated by De Grauwe (2012), we developed a new type of agent that can induce investors’ animal spirits in the financial market, which we call a stabilizer.

### Stabilizers

Chartists play a destabilizing role in the market, whereas stabilizers act as a steadying force. Stabilizers can induce animal spirits when chartists are strong enough to contribute to a sharp rise or fall in the market. Thus, stabilizers enter the market and attempt to maintain market stability through negative feedback on price deviations. We obtain their expectations as follows:

where \(\phi _{s}\) is the belief parameter of the stabilizers and takes a value between 0 and 1 like \(\phi _{f}\). However, while stabilizers are akin to fundamentalists in their expectations for \(x_{t+1}\), their motivations for trading decisions differ. The stabilizer, as a proxy for the government, is an external factor in the financial market. In contrast, the fundamentalist, as the basic investor in the financial market, is an internal factor. These two types of agents have different effects on price dynamics because of their different trading motivations and strategies. In "Trading strategies and switching mechanism" section, we present the trading strategies of all agents.

### Trading strategies and switching mechanism

Brock and Hommes (1998) argue that switching between the stabilizing and destabilizing forces causes asset price fluctuations. In our model, the fundamentalists and stabilizers are stabilizing forces, whereas the chartist is the destabilizing force. Both fundamentalists and stabilizers work to reduce the price deviation from (or drive the price close to) its fundamental value, whereas chartists serve to increase the price deviation (or drive the price away) from its fundamental value. Corresponding to their expectations, the fundamentalist and stabilizer apply a “centripetal force” of “near-fundamental” to asset pricing, whereas the chartist applies the “centrifugal force” of “far-from-fundamental”. In other words, fundamentalists and stabilizers present two types of negative feedback, whereas chartists provide positive feedback in asset pricing. Brock and Hommes (1997) considered negative and positive feedback as an intuitive behavioral interpretation of the agents’ interaction mechanism.

Figure 1 presents the switching among fundamentalists, chartists, and stabilizers. The most basic switching in stock markets is the interaction between fundamentalists and chartists, which several studies, such as Boswijk et al. (2007), Franke and Westerhoff (2012), Chiarella et al. (2014), He and Li (2015b), and Hommes and in ’t Veld (2017) have investigated. We illustrate this switching using the heterogeneous strategy-switching framework of Brock and Hommes (1997, 1998). The key idea of the Brock–Hommes model is that agents learn through reinforcement learning or evolutionary selection, and tend to switch to strategies that perform better based on the realized profits of their forecasting rules.^{Footnote 10} Unlike the two basic agents, stabilizers, which aim to maintain market stability, enter the market when it fluctuates highly (big \(|x_t|\)). The larger the price deviation, the larger the percentage of stabilizers in the market. Stabilizers do not interact separately with fundamentalists or chartists. The change in the overall percentage of basic investors is related to the percentage of stabilizers.

According to the switching mechanism discussed above, we can formulate the agents’ switching strategies as

The first multiplier in Eqs. (5)–(6) is the same as Boswijk et al. (2007) and Hommes and in ’t Veld (2017), which is obtained according to discrete choice theory (Brock and Hommes 1997).^{Footnote 11} This means that the fraction of fundamentalists or chartists is updated using a multinomial logit model with the intensity of choice \(\beta\) and the performance (utility) of beliefs \(U_{f,t}\) and \(U_{c,t}\).^{Footnote 12} According to Hommes and in ’t Veld (2017), fundamentalists and chartists compute the performance of beliefs as follows:

Equation (8) shows that the realized profit is proportional to the fundamentalists’ demand, which depends on the expectation \((E_{f,t-1}[x_{t}]-R^{*}x_{t-1})\) times the realized excess return, which, in turn, depends on the realization \((x_{t}-R^{*}x_{t-1})\). Equation (9) has a similar interpretation.

Examining Eqs. (5)–(6), the second multiplier \((1-n_{s,t})\) introduces the influence of stabilizers on the fraction of fundamentalists and chartists, which reflects the switching between stabilizers, fundamentalists, and chartists. Here, the formula \(n_{f,t}+n_{c,t}+n_{s,t}=1\) is satisfied.

As a key contribution of this study, Eq. (7) reveals the nature of the stabilizers, which differs markedly from standard agents’ beliefs. Intuitively, a financial market should not be dominated by stabilizers, implying that a fraction of stabilizers should have a limited maximum value of \(n_{s,max}\) and satisfy \(n_{s,max}<1\). In "Fraction of stabilizers" section presents more details of Eq. (7).

### Fraction of stabilizers

To obtain the formula for the fraction of stabilizers, we need to understand their motivations. As agents of the government, stabilizers aim to maintain market stability. Based on the above analysis of trading strategies and the switching mechanism, we can intuitively depict the fraction of stabilizers as a Gaussian curve (see Fig. 2).^{Footnote 13}

Figure 2 illustrates that more stabilizers participate in the financial market to guide investors when the deviation from fundamental value goes beyond the limit of \(x_{s}\). The larger the absolute value of *x*, the greater the number of stabilizers in the market. In contrast, stabilizers leave the market gradually when the deviation is smaller than the threshold value \(x_{s}\); that is, the smaller the absolute value of *x*, the fewer the number of stabilizers in the market. Given that stabilizers behave symmetrically, we considered identical amplitudes for their entry and exit behaviors.

Because \(n_{s,t}\) satisfies the Gaussian distribution, it follows a general pattern:

In line with Fig. 2, we have:

After solving the above equations, we obtained \(\alpha =n_{s,max}\), \(\eta =-n_{s,max}\), \(\mu =0\), and \(\sigma ^2=\frac{x_{s}^2}{2\ln 2}\). We can then rewrite Eq. (10) as

Clearly, we have \(n_{s,t}\in [0,n_{s,max}]\).

### Fundamental value and deviations

The models used to calculate the fundamental value include the Gordon model based on dividends and the Campbell–Cochrane model based on consumption habits. The former is commonly employed to examine the fundamental value of stocks.^{Footnote 14} Following the approach in Fama and French (2002), let \(P_{t}^*\) be the fundamental value, \(D_{t}\) the dividend flow, \(g_{t}\) the growth rate of dividends, and \(r_{t}\) the expected return.^{Footnote 15} According to the Gordon model, we have:

where \(c_{g}\) and \(c_{r}\) are the first-order autocorrelation coefficients of the time series \(g_{t}\) and \(r_{t}\), respectively, and *g* and *r* are their average values.^{Footnote 16} Therefore, we can obtain the fundamental PD ratios as

Based on the fundamental PD ratios \(\delta _{t}^*\), we calculated the deviation \(x_{t}\) in Eq. (1) as follows:

Here, \(\delta _{t}\) denotes the realized PD ratio at time *t*, obtained by dividing the realized price \(P_{t}\) by dividend \(D_{t}\).

Thus far, we have defined all of the main parameters in our heterogeneous beliefs model. We can rewrite the HAM in Eq. (1) as an econometric model, after adding the error term:

Here, we defined the time-varying coefficient \(\Phi _{t}\) as the average market sentiment calculated as \(\Phi _{t}=\frac{1}{R^{*}}(n_{f,t}\phi _{f}+n_{c,t}\phi _{c}+n_{s,t}\phi _{s})\).^{Footnote 17} The error term \(\epsilon _{t}\) captures the unobserved exogenous fundamental shocks. We calculated the expected discount rate \(R^*\) as \(\frac{1+r}{1+g}\) following Hommes and in ’t Veld (2017).

The key parameters in the HAM include three belief parameters: \(\phi _{f}\), \(\phi _{c}\), and \(\phi _{s}\), the intensity of choice \(\beta\), the threshold value \(x_{s}\), and the maximum fraction \(n_{s,max}\) for stabilizers. In "Model estimation" section, we estimated HAM using daily CSI 300 data from the Chinese stock market.

## Model estimation

To estimate our model, we used daily CSI 300 price and dividend data from July 1, 2015, to December 31, 2017, which we collected from the China Stock Market and Accounting Research database. Our sample included 613 daily observations.^{Footnote 18} This database (or others) does not provide daily but annual dividend data for CSI 300. Considering that the increase in dividends is a smooth process, we obtained the daily dividends through linear interpolation.^{Footnote 19} The fundamental PD ratio \(\delta _{t}^*\) was calculated using Eq. (17) remains close to the static value of \(\delta _{t}^*=39.1\), which can be explained by the almost constant economic fundamentals during our sample period. Thus, we used the static value of \(\delta _{t}^*=39.1\) to calculate \(x_{t}\). Figure 3 depicts the CSI 300 with its fundamental values, corrected for inflation (top panel), and the deviations from its fundamental values (bottom panel). Table 1 presents the descriptive statistics.

To obtain the key parameters, we used nonlinear least squares to estimate the HAM using time series \(x_{t}\) of price deviations from the Gordon benchmark. Here, we focused on the belief coefficients of fundamentalists, chartists, and stabilizers, that is, \(\phi _{f}\), \(\phi _{c}\), and \(\phi _{s}\), respectively. We also needed to investigate other parameters, such as the intensity of choice \(\beta\), threshold value \(x_{s}\), and maximum fraction \(n_{s,max}\) of stabilizers.

Admittedly, we do not know the exact values of \(x_{s}\) and \(n_{s,max}\) in the sample period. According to the definition of the threshold value \(x_{s}\), this is an indicator of large deviation from the fundamental value. Obviously, the period in which the deviations \(x_{t}\) exceed the threshold value \(x_{s}\) should be short, and we consider the maximum \(x_{s}\) to be no more than *q*(0.3), that is, the period with large deviations accounts for no more than 30% of the sample period. Intuitively, the maximum fraction \(n_{s,max}\) of stabilizers cannot exceed 0.5, because the stabilizer cannot be a major agent in the market. To investigate the effect of \(x_{s}\) and \(n_{s,max}\) on the estimation results, we estimated 15 specifications: three values of \(x_{s}\) (*q*(0.1), *q*(0.2), and *q*(0.3)) and five values of \(n_{s,max}\) (0.1, 0.2, 0.3, 0.4, and 0.5).

Table 2 presents the estimation results for different model specifications. In all estimations, the belief coefficients \(\phi _{f}\), \(\phi _{c}\), and \(\phi _{s}\) and the intensity of choice \(\beta\) are highly significant. This means that our HAM is robust to parameters \(x_{s}\) and \(n_{s,max}\). Panels A, B, and C illustrate that the estimation results vary slightly according to the value of \(x_{s}\), whereas they vary significantly according to the value of \(n_{s,max}\). For example, given a certain value of \(x_{s}\), \(\phi _{f}\) decreases (\(\phi _{c}\) increases) as \(n_{s,max}\) increases. In other words, an increase in the fraction of stabilizers causes the fraction of fundamentalists and chartists to decrease; hence, the strengths of the beliefs of these two agents measured through the distance from 1 (\(|\phi _{f}-1|\) and \(|\phi _{c}-1|\)) increase to satisfy the unchanged sample in the different model specifications. In contrast, the strength of the beliefs of stabilizers (\(|\phi _{s}-1|\)) decreases as \(n_{s,max}\) increases for the same sample in different model specifications.

To investigate price dynamics, we calculated the average market sentiment according to Eq. (19). The time-varying market sentiment combines the fractions and belief coefficients of all heterogeneous agents. Figure 4 illustrates the realized price and the corresponding market sentiment for the model specification \(x_{s}=q(0.2)\), \(n_{s,max}=0.3\).^{Footnote 20} We shaded the five fluctuations in the top panel and found the corresponding changes in sentiment in the bottom panel. The time-varying market sentiment based on our model duly matches the realized price. Our model can accurately reproduce the price dynamics during the sample period.

Figure 5 demonstrates the realized deviation and the corresponding market fraction of traders. We focused on the fraction \(n_{s,t}\) of stabilizers (second panel). When the deviation \(x_{t}\) (top panel) is close to the fundamental value, \(n_{s,t}\) is close to 0 ( shaded area). \(n_{s,t}\) increases as \(|x_{t}|\) increases and vice versa. This is consistent with the trading motivation of stabilizers. In Fig. 5, the fraction \(n_{f,t}\) of fundamentalists (third panel) and the fraction \(n_{c,t}\) of chartists (bottom panel) present completely opposite changes, which is in line with Eqs. (5)–(6).

## Simulations

This section attempts to determine whether the government can reduce excess volatility and maintain market stability. In "Comparing the HAM to a fundamentalist–chartist benchmark model" section, we compared the simulation results based on behavioral HAMs with and without stabilizers. Second, in "Response to a fundamental shock" section, we investigated the responses to positive and negative shocks corresponding to overvalued and undervalued assets compared to fundamentals. To focus more on the impact of the government on the market, we discussed only one version of the model (\(x_{s}=q(0.2)\), \(n_{s,max}=0.3\)).

### Comparing the HAM to a fundamentalist–chartist benchmark model

We compared the simulation results for HAM2 and HAM3. Here, HAM2 includes two types of agents: fundamentalists and chartists, whereas HAM3 includes fundamentalists, chartists, and stabilizers. For these two HAMs, we generated innovations using the estimated residual \(s^2\) in "Model estimation" section. The data-generating equation is as follows:

where \(n_{f,t}\), \(n_{c,t}\), and \(n_{s,t}\) are updated according to Eqs. (5–7), with \(\beta =7.552\). We obtained the HAM2 data-generating equation by setting \(n_{s,t}=0\) in the HAM3 equation.

We ran these two data-generating equations for a certain number of periods *T* and compared the outcomes of these processes. Table 3 illustrates the average variances used to measure the excess volatility of the stock market for over 10,000 simulations. Evidently, the average variances of HAM3 in all period specifications are significantly smaller than the corresponding variances of HAM2. In other words, government intervention can significantly reduce excess stock market volatility. Figure 6 provides a visual explanation.

Our simulations exhibit an interesting phenomenon: when the number of periods exceeds 80 in HAM2, the generated data display extreme instability with increasing probability. Extremely unstable simulations produced invalid average variances. In Table 3, we denoted the number of invalid simulations in the parentheses. HAM3 does not even exhibit a single extremely unstable simulation for all period specifications.

### Response to a fundamental shock

In this section, we investigated the market response to good news with HAM2 and HAM3.^{Footnote 21} Assume that at \(T=1\), the deviation value is \(x=0\) and good news at \(T=3\) drives *x* to 5. The threshold value is \(x_{s}=3\) and the maximum fraction is \(n_{s,max}=0.3\) for HAM3. Figure 7 depicts the deviation value dynamics in response to the positive shock for HAM2 and HAM3 and indicates a clear difference between the two. For HAM3, the positive shock exceeds the threshold value, and more stabilizers enter the market, which reduces the shock below the threshold value and maintains stability. In contrast, in the HAM2 case, the positive shock drives the deviation from fundamentals to increasing values and contributes to instability.

To determine the dynamic responses to the exogenous positive shock based on HAM2 and HAM3, we investigated the variability in the fractions of heterogeneous agents and the average market sentiment corresponding to the change in deviation \(x_{t}\). Figure 8 illustrates that the fraction of chartists increases quickly from the initial value of 0.5 to near 1, and the market is dominated by chartists as the deviation rises suddenly from 0 to 5 in the HAM2 case. The deviation thereafter increases exponentially because extrapolation belief dominates the market, and the exponential growth rate is equal to \(\phi _{c}\) (\(0\times \phi _{f}+1\times \phi _{c}=\phi _{c}>1\)). Thus, without an agent guiding or balancing the extrapolation belief, a large deviation contributes to high excess volatility.

In contrast, for HAM3, Fig. 9 indicates that the stabilizers can bring the deviation back to a relatively stable value below the threshold value of 3 by guiding the extrapolation belief. When the deviation from fundamentals exceeds the threshold \(x_{s}\), as soon as the stabilizers enter the market, according to Eq. (7), chartists switch to fundamentalists, and the deviation is pushed back toward fundamentals. The stabilizers then exit the market as the deviation decreases and remain in a relatively steady proportion in the market.

The discussion above demonstrates that stabilizers can reduce excess volatility in the stock market by guiding heterogeneous beliefs. On the one hand, the average variance of HAM3 is significantly smaller than the corresponding variance of HAM2 based on the data-generating processes. We also noted an increasing probability of extreme deviations as the data-generating period increased. In contrast, HAM3 can promote the return of asset prices to their fundamental values.

## Conclusions

In this study, we developed a behavioral HAM to investigate the behavioral characteristics of investors under government intervention in the Chinese stock market. Our study contributes to the literature on government intervention and behavioral asset pricing in three ways.

First, this study can be viewed as the first attempt to introduce a government agent into behavioral HAMs. We developed a HAM with three types of agents by defining a government agent called a stabilizer, which plays a stabilizing role in financial markets. Second, we formulated the behavioral pattern of government intervention and the interaction of stabilizers with investors, which allows us to analyze the trading behaviors of investors and stock price fluctuations under government intervention. Finally, our model provides important insight by describing how the government can effectively intervene in a dysfunctional market, which has practical implications not only for government intervention in China but also for intervention programs in other countries.

However, this study is deficient in its design of investors’ belief parameters. Government intervention in the stock market inevitably affects investor expectations. Does a change in investors’ expectations affect their belief parameters? If so, how should this be considered in modeling? This is not discussed in this study, and to simplify the model, all investors’ belief parameters are set as constants.

Finally, our results raise an interesting question. In the process of direct intervention in the stock market, the government needs to trade the underlying assets with investors. What is the minimum amount of capital the government needs to invest in a given intervention program to achieve the goal of maintaining market stability? Future research should be able to confirm this.

## Availability of data and materials

The authors confirm that data will be made available on reasonable request.

## Notes

Zeeman (1974) is the first to build a theoretical HAM with fundamentalists and chartists for analyzing financial market dynamics. HAMs are used not only in the stock market but also in other financial markets, including foreign exchange markets (de Jong et al. 2010; ter Ellen et al. 2013), options markets (Frijns et al. 2010), oil markets (ter Ellen and Zwinkels 2010), commodity markets (Chavas 2000), and CDS markets (Chiarella et al. 2015); see Hommes (2006) and Dieci and He (2018) for overviews.

See Akerlof and Shiller (2009) for a discussion of animal spirits. Akerlof and Shiller reasserted the necessity of an active government role in economic policymaking by recovering the idea of animal spirits, a term in Keynes (1936) that describes the gloom and despondence that led to the Great Depression and the changing psychology that accompanied the recovery.

Brunnermeier et al. (2021) developed a theoretical framework of China’s model of managing the financial system and contend that the government’s direct intervention can reduce asset price volatility but may exacerbate the information efficiency of asset prices.

The CSI 300 consists of the 300 largest and most liquid A-share stocks and reflects the overall performance of the Chinese A-share market.

We argue that the stabilizer focuses more on maintaining market stability—as its goal is to stabilize the market—than on the cost of intervention. Moreover, stabilizers have huge amounts of funds—for example, the Ministry of Finance and the Central Bank promised enormous funds for the “National Team” to stabilize the Chinese stock market in 2015.

See Hommes (2013) for more details about the Brock–Hommes model and more discussions of behavioral rationality and heterogeneous expectations.

Discrete choice theory considers agents as boundedly rational and illustrates how agents decide between different alternatives.

We can interpret the intensity of choice \(\beta\) as the willingness to learn from past performance. When \(\beta =0\), the fractions of fundamentalists and chartists are constant and equal, and they never switch strategy. In contrast, when \(\beta =\infty\), all investors use the same strategy in each period (Hommes 2013).

Gaussian curves, also known as normal distribution curves, are often used to characterize the properties of variables with a probability of occurrence that is “large in the middle and small at the ends”. In this study, the price deviation \(x_t\) logically obeys the normal distribution, and the distribution of the fraction of stabilizers \(n_{s,t}\) should be consistent with \(x_t\). Intuitively, the larger the price deviation \(x_t\), the larger the fraction of stabilizers \(n_{s,t}\).

Fama and French (2002) estimated expected stock returns using the dividends and earnings growth model. The dividend growth model implies that the expected return \(r_{t}\) is equal to the dividend yield \(D_{t}/P_{t-1}\) plus the dividend growth rate \(g_{t}\).

See Appendix B in Boswijk et al. (2007) for details.

To stabilize the stock market, the “National Team” publicly entered the market in July 2015. In 2017, after the market stabilized, the “National Team” gradually exited the market in an orderly manner. Therefore, the sample interval used in this study was selected from July 2015 to December 2017, when government intervention was more frequent.

The impact of bad news on the model is commensurate with the good news and the conclusions are consistent.

## References

Akerlof GA, Shiller RJ (2009) Animal spirits: how human psychology drives the economy, and why it matters for global capitalism. Princeton University Press, Princeton

Bhanot K, Kadapakkam P (2006) Anatomy of a government intervention in index stocks: Price pressure or information effects? J Bus 79(2):963–986

Boswijk HP, Hommes CH, Manzan S (2007) Behavioral heterogeneity in stock prices. J Econ Dyn Control 31(6):1938–1970

Brock WA, Hommes CH (1997) A rational route to randomness. Econometrica 65(5):1059–1095

Brock WA, Hommes CH (1998) Heterogeneous beliefs and routes to chaos in a simple asset pricing model. J Econ Dyn Control 22(8–9):1235–1274

Brunnermeier MK, Sockin M, Xiong W (2021) China’s model of managing the financial system. Rev Econ Stud 89(6):3115–3153

Campbell JY, Shiller RJ (1988) The dividend-price ratio and expectations of future dividends and discount factors. Rev Financ Stud 1(3):195–228

Chavas J-P (2000) On information and market dynamics: the case of the U.S. beef market. J Econ Dyn Control 24:833–853

Chen S-H, Chang C-L, Du Y-R (2012) Agent-based economic models and econometrics. Knowl Eng Rev 27(2):187–219

Chiarella C, He X-Z, Huang W, Zheng H (2012) Estimating behavioural heterogeneity under regime switching. J Econ Behav Organ 83(3):446–460

Chiarella C, He X-Z, Zwinkels RC (2014) Heterogeneous expectations in asset pricing: empirical evidence from the S&P500. J Econ Behav Organ 105:1–16

Chiarella C, ter Ellen S, He X-Z, Wu E (2015) Fear or fundamentals? Heterogeneous beliefs in the European sovereign CDS market. J Empir Financ 32:19–34

De Grauwe P (2012) Booms and busts in economic activity: a behavioral explanation. J Econ Behav Organ 83(3):484–501

de Jong E, Verschoor WF, Zwinkels RC (2009) Behavioural heterogeneity and shift-contagion: evidence from the Asian crisis. J Econ Dyn Control 33(11):1929–1944

de Jong E, Verschoor WF, Zwinkels RC (2010) Heterogeneity of agents and exchange rate dynamics: evidence from the EMS. J Int Money Financ 29(8):1652–1669

Dieci R, He X-Z (2018) Heterogeneous agent models in finance. In: Hommes C, LeBaron B (eds) Handbook of computational economics, vol 4. Elsevier, pp 257–328

Fama EF, French KR (2002) The equity premium. J Financ 57(2):637–659

Franke R, Westerhoff F (2012) Structural stochastic volatility in asset pricing dynamics: estimation and model contest. J Econ Dyn Control 36(8):1193–1211

Frijns B, Lehnert T, Zwinkels RC (2010) Behavioral heterogeneity in the option market. J Econ Dyn Control 34(11):2273–2287

Grace MF, Rauch J, Wende S (2017) The effect of monetary policy announcements and government interventions on the US insurance industry during the 2007–2009 crisis. J Risk Financ 18(5):500–522

Haritha PH, Rishad A (2020) An empirical examination of investor sentiment and stock market volatility: evidence from India. Financ Innov 6(1):34

He X-Z, Li K (2012) Heterogeneous beliefs and adaptive behaviour in a continuous-time asset price model. J Econ Dyn Control 36(7):973–987

He X-Z, Li K (2015) Profitability of time series momentum. J Bank Financ 53:140–157

He X-Z, Li Y (2015) Testing of a market fraction model and power-law behaviour in the dax 30. J Empir Financ 31:1–17

Heemeijer P, Hommes C, Sonnemans J, Tuinstra J (2009) Price stability and volatility in markets with positive and negative expectations feedback: an experimental investigation. J Econ Dyn Control 33(5):1052–1072

Hommes C (2017) Booms, busts and behavioural heterogeneity in stock prices. J Econ Dyn Control 80:101–124

Hommes C, Sonnemans J, Tuinstra J, van de Velden H (2005) Coordination of expectations in asset pricing experiments. Rev Financ Stud 18(3):955–980

Hommes CH (2006) Heterogeneous agent models in economics and finance. in: Tesfatsion L, Judd KL (Eds), Handbook of computational economics. vol. 2. Elsevier, pp. 1109–1186

Hommes CH (2013) Behavioral rationality and heterogeneous expectations in complex economic systems. Cambridge University Press, Cambridge

Hu GX, Pan J, Wang J (2018) Chinese capital market: an empirical overview. National Bureau of Economic Research, Cambridge

Huang Y, Miao J, Wang P (2019) Saving China’s stock market? IMF Econ Rev 67(2):349–394

Keynes JM (1936) The general theory of employment, interest and money. Macmillan and Co, London

Li Z, Jin L (2019) The “National Team” bailout, stock price volatility and idiosyncratic risk. J Manag Sci China 22(9):67–81

Li Z, Jin L, Zhang Z (2019) Direct government intervention and systemic tail risk: evidence from the “National Team” stock rescue during the 2015 crash. Econ Res J 4:67–83

Lof M (2015) Rational speculators, contrarians, and excess volatility. Manag Sci 61(8):1889–1901

Lux T (2009) Stochastic behavioral asset-pricing models and the stylized facts. in: Hens T, SchenkHoppe KR (Eds), Handbook of financial markets: dynamics and evolution. Elsevier, pp. 161–215

Lux T (2012) Estimation of an agent-based model of investor sentiment formation in financial markets. J Econ Dyn Control 36(8):1284–1302

Menkhoff L (2010) The use of technical analysis by fund managers: international evidence. J Bank Financ 34(11):2573–2586

Menkhoff L, Taylor MP (2007) The obstinate passion of foreign exchange professionals: technical analysis. J Econ Lit 45(4):936–972

Su Y, Yip Y, Wong RW (2002) The impact of government intervention on stock returns. Int Rev Econ Financ 11(3):277–297

ter Ellen S, Verschoor WF, Zwinkels RC (2013) Dynamic expectation formation in the foreign exchange market. J Int Money Financ 37:75–97

ter Ellen S, Zwinkels RC (2010) Oil price dynamics: a behavioral finance approach with heterogeneous agents. Energy Econ 32(6):1427–1434

Zeeman EC (1974) On the unstable behaviour of stock exchanges. J Math Econ 1(1):39–49

Zhang W, Yan K, Shen D (2021) Can the Baidu index predict realized volatility in the Chinese stock market? Financ Innov 7(1):7

Zhang W, Zhou Z-Q, Xiong X (2019) Behavioral heterogeneity and excess stock price volatility in China. Financ Res Lett 28:348–354

## Acknowledgements

We are grateful to Cars Hommes and Daan in’t Veld for sharing their R code for nonlinear least-squares estimation. We also thank Xue-Zhong He, Kai Li, Rui Chen, and the participants of numerous seminars and workshops for their helpful discussions and comments. This work was supported by the National Natural Science Foundation of China (Grant Nos. 72261002, 72201132 and 71790594), the Youth Foundation for Humanities and Social Sciences Research of the Ministry of Education (No. 22YJC790190), the Guizhou Provincial Science and Technology Projects (No. [2019]5103), the Guizhou Key Laboratory of Big Data Statistical Analysis (No. BDSA20200105) and the Open Project of Jiangsu Key Laboratory of Financial Engineering (NSK2021-18).

## Funding

This article is funded by the National Natural Science Foundation of China (Grant Nos. 72261002, 72201132 and 71790594), the Youth Foundation for Humanities and Social Sciences Research of the Ministry of Education (No. 22YJC790190), the Guizhou Provincial Science and Technology Projects (No. [2019]5103), the Guizhou Key Laboratory of Big Data Statistical Analysis (No. BDSA20200105), and the Open Project of Jiangsu Key Laboratory of Financial Engineering (NSK2021-18).

## Author information

### Authors and Affiliations

### Contributions

Z-QZ: Conceptualization, Methodology, Data curation, Software. JL: Visualization, Writing—Review & Editing, Validation. WZ: Supervision, Project administration. XX: Investigation, Writing—Original draft preparation. All authors read and approved the final version of the manuscript.

### Corresponding author

## Ethics declarations

### Competing interests

We declare that we have no known competing financial interests or personal relationships that could have appeared to influence the work reported in this paper.

## Additional information

### Publisher's Note

Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.

## Rights and permissions

**Open Access** This article is licensed under a Creative Commons Attribution 4.0 International License, which permits use, sharing, adaptation, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons licence, and indicate if changes were made. The images or other third party material in this article are included in the article's Creative Commons licence, unless indicated otherwise in a credit line to the material. If material is not included in the article's Creative Commons licence and your intended use is not permitted by statutory regulation or exceeds the permitted use, you will need to obtain permission directly from the copyright holder. To view a copy of this licence, visit http://creativecommons.org/licenses/by/4.0/.

## About this article

### Cite this article

Zhou, ZQ., Li, J., Zhang, W. *et al.* Government intervention model based on behavioral heterogeneity for China’s stock market.
*Financ Innov* **8**, 95 (2022). https://doi.org/10.1186/s40854-022-00408-8

Received:

Accepted:

Published:

DOI: https://doi.org/10.1186/s40854-022-00408-8