Discrete Dynamics in Nature and Society

Volume 2012, Article ID 504840, 21 pages

http://dx.doi.org/10.1155/2012/504840

## Interactions between the Real Economy and the Stock Market: A Simple Agent-Based Approach

Department of Economics, University of Bamberg, Feldkirchenstrasse 21, 96045 Bamberg, Germany

Received 12 March 2012; Accepted 15 May 2012

Academic Editor: Aura Reggiani

Copyright © 2012 Frank Westerhoff. This is an open access article distributed under the Creative Commons Attribution License, which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.

#### Abstract

We develop a simple behavioral macromodel to study interactions between the real economy and the stock market. The real economy is represented by a Keynesian-type goods market approach while the setup for the stock market includes heterogeneous speculators. Using a mixture of analytical and numerical tools we find, for instance, that speculators may create endogenous boom-bust dynamics in the stock market which, by spilling over into the real economy, can cause lasting fluctuations in economic activity. However, fluctuations in economic activity may, by shaping the firms' fundamental values, also have an impact on the dynamics of the stock market.

#### 1. Introduction

Over the last 20 years, many interesting agent-based financial market models have been proposed to study the dynamics of financial markets (for recent surveys, see [1–4]). As revealed by these models, it is the trading activity of heterogeneous interacting speculators that accounts for a large part of the dynamics of financial markets. Even in the absence of stochastic shocks, intricate asset price dynamics may emerge in these models, for instance, due to the speculators’ use of nonlinear trading rules. Buffeted by stochastic shocks, however, these models are able to replicate some important statistical properties of financial markets remarkably well. Thanks to these models, phenomena such as bubbles and crashes, excess volatility, and volatility clustering are now much better understood.

Overall, this line of research may be regarded as quite successful. Surprisingly, however, the attention of these models is typically restricted to the dynamics of financial markets. Put differently, the impact financial markets may have on other subsystems of the economy, such as the goods market, is widely neglected. And, of course, the impact other subsystems of the economy may have on financial markets is equally neglected. In this paper, we therefore develop a model in which a goods market is connected with a stock market, which we hope will improve our understanding of interactions between the real economy and the stock market. Given that there are a number of prominent historical examples (a deeper empirical investigation into this issue is provided by Kindleberger and Aliber [5]; however, see also Galbraith [6], Minsky [7], Akerlof and Shiller [8], or Reinhart and Rogoff [9]) in which stock market crises have triggered severe macroeconomic problems—the Great Depression, the so-called Lost Decade in Japan and the recent Global Financial and Economic Crisis, to name just a few—this seems to us to be a worthwhile and important endeavor.

To be able to understand how our model functions, we keep it rather simple. Moreover, we place greater emphasis on the model’s financial part than on its real part. One reason is that we can readily apply some basic insight from the field of agent-based financial market models here. Another reason is that the recent financial market turmoil has made it clear that financial market crashes may be quite harmful to the real economy. In a nutshell, the structure of our model is thus as follows. We represent the real economy with a simple Keynesian goods market model for a closed economy; our formulation of the stock market recognizes the trading activity of heterogeneous speculators. Ultimately, the goods market is linked to the stock market since both consumption and investment expenditures depend on the performance of the stock market. The stock market, in turn, is linked to the goods market since the stock market’s fundamental value depends on national income.

As it turns out, national income and stock prices are jointly driven by a two-dimensional nonlinear map and thus there is a bidirectional feedback relation between both variables. Based on analytical and numerical insights, we conclude that interactions between the real economy and the stock market may be harmful to the economy. Speculators may generate complex bull and bear stock market dynamics, leading to fluctuations in economic activity. In addition, fluctuations in economic activity affect the firms’ fundamental values and may amplify stock market dynamics. However, speculative activity may not always be welfare decreasing. Under some conditions, a permanent stock market boom may create a permanent economic boom.

The remainder of our paper is organized as follows. In Section 2, we introduce our model and relate it to the literature. In Section 3, we present our analytical results, for both isolated and interacting goods and stock markets. In Section 4, we extend our analysis using numerical methods and explain what drives the dynamics of our model. In Section 5, we conclude and point out some extensions for future work.

#### 2. A Simple Behavioral Macromodel

We now develop a simple behavioral macromodel which allows us to study interactions between the real economy and the stock market. In Section 2.1, we present a Keynesian type goods market setup which represents the model’s real economy. In Section 2.2, we introduce a financial market framework with heterogeneous interacting speculators. Some references to the literature, along with a brief discussion of the model’s main building blocks and some comments, are provided in Section 2.3.

##### 2.1. The Goods Market

Our setup for the real economy is as follows. We apply a simple Keynesian goods market approach of a closed economy in which production adjusts with respect to aggregate demand. For simplicity, neither the central bank nor the government seeks to stabilize the economy, that is, the interest rate and governmental expenditure are constant, though such an extension would be straightforward. To establish a link between the real economy and the stock market, private expenditures depend on national income and on the performance of the stock market. Finally, all relations on the goods market are linear.

To be precise, national income adjusts to aggregate demand with a one-period production lag. If aggregate demand exceeds (falls short of) production, production increases (decreases). Therefore, we write where captures the goods market adjustment speed. To keep matters as simple as possible, we set . Accordingly, national income in period equals aggregate demand in period .

In a closed economy, aggregate demand is defined as where , , and stand for consumption, investment, and government expenditure, respectively.

As previously mentioned, government expenditure and the interest rate are constant. Private expenditure increases with national income. Since the financial situation of households and firms depends furthermore on the performance of the stock market, private expenditure also increases with the stock price, which we denote by (since we only consider one stock market, may also be interpreted as a stock market index). Based on these considerations, the relation between consumption, investment, and government expenditure and national income and the stock price is specified as where comprises all autonomous expenditure, is the marginal propensity to consume and invest from current income, and is the marginal propensity to consume and invest from current stock market wealth.

##### 2.2. The Stock Market

With respect to the stock market, we explicitly model the trading behavior of a market maker and two types of speculators: chartists and fundamentalists. The market maker determines excess demand, clears the market by taking an offsetting long or short position, and adjusts the stock price for the next period. Chartists are either optimistic or pessimistic, depending on market circumstances. In a bull market, chartists optimistically buy stocks. In a bear market, they pessimistically sell stocks. Fundamentalists behave in exactly the opposite way to chartists. Believing that stock prices return towards their fundamental value, they buy stocks in undervalued markets and sell stocks in overvalued markets. Finally, there is also a nonspeculative demand for stocks.

The formal apparatus of our stock market approach is as follows. The market maker uses a linear price adjustment rule and quotes the stock price for period as where is a positive price adjustment parameter, and are the speculative demands of chartists and fundamentalists, respectively, is the non-speculative demand, and is the supply of stocks. Since is a scaling parameter, we set, without loss of generality, . Since we are primarily interested in the impact of speculative behavior, the non-speculative demand is assumed to be equal to the supply of stocks, that is, . Accordingly, the market maker increases the stock price if (speculative) excess demand is positive, and vice versa.

The stock market’s fundamental value responds, of course, to developments in the real economy. In general, the fundamental value of a firm may be represented by the present value of its current and expected future profits. Assuming, for simplicity, that a firm’s profits per production unit are constant and recalling that the interest rate is also constant, the fundamental value of the stock market is proportional to national income, if the economy is in a steady state. Following this line of thought, speculators perceive the fundamental value within our model to be where is a positive parameter (capturing the true steady-state relation between the fundamental value and national income). In doing so, speculators use the current level of national income as a proxy for expected future levels of national income. In a steady state, speculators’ guess of future levels of national income is correct, and such is their perception of the fundamental value. If the economy is not in a steady state, speculators (may) misperceive the fundamental value. Broadly speaking, they tend to overestimate the fundamental value in good times and underestimate it in bad times.

Chartists believe in the persistence of bull and bear markets. Their demand is written as where is a positive reaction parameter. If the stock price is above its (perceived) fundamental value, chartists optimistically take a long position. However, should such a bull market turn into a bear market, chartists’ sentiment switches to pessimism and they enter a short position.

In contrast, fundamentalists expect stock prices to return towards their fundamental value over time. Their demand is formalized as where is a positive reaction parameter. Fundamentalists’ demand is positive if the market is perceived as undervalued and negative if perceived as overvalued. The motivation for the nonlinear shape of trading rule (2.7) is twofold. Suppose that the perceived mispricing increases. Then, the chance that a fundamental price correction will set in increases as does the potential gain from such a price change—at least in the fundamentalists’ opinion. The aggressiveness of fundamentalists thus increases with the (perceived) mispricing.

##### 2.3. Related Literature and Discussion

The literature on financial market models with heterogeneous interacting agents is very rich, as documented by Chiarella et al. [1], Hommes and Wagener [2], Lux [3], and Westerhoff [4]. Our setup for the stock market is inspired by the seminal contribution of Day and Huang [10], who basically started this line of research. In their model, nonlinear interactions between a market maker, chartists, and fundamentalists result in complex bull and bear market dynamics which is quite similar to ours.

Empirical evidence for a chartist trading rule such as (2.6) can be found in Boswijk et al. [11]. The functional form of the fundamental trading rule (2.7) is borrowed from Tramontana et al. [12]. However, complex bull and bear market dynamics may also be generated by models in which speculators switch between linear trading rules. For an example in this direction see, for instance, Dieci and Westerhoff [13]. Empirical support for the opinion that financial market participants indeed rely on technical and fundamental analysis is broad and overwhelming: Menkhoff and Taylor [14] summarize evidence obtained from survey studies conducted among market professionals; Hommes [15] reports observations obtained from financial market experiments within controlled laboratory environments; Franke and Westerhoff [16] successfully estimate various models with heterogeneous interacting speculators.

In our model, trading rules (2.6) and (2.7) give the positions of chartists and fundamentalists, respectively, and the market maker adjusts prices with respect to the aggregate net positions of speculators. Such a view has also been applied by Hommes et al. [17], for instance. Alternatively, it could be assumed that (2.6) and (2.7) stand for the actual order submission process of chartists and fundamentalists, such as in Lux [18], and that the market maker adjusts stock prices with respect to the resulting net order flow. Of course both approaches have their merits. Here we favor the first view since, in a steady state, in which the stock price does not mirror its (perceived) fundamental value, the speculators’ positions remain constant whereas, with the alternative view, they grow over time (speculators continue submitting orders, which turn their positions increasingly more extreme).

Note that both types of speculator believe in the same fundamental value. De Grauwe and Kaltwasser [19] provide an interesting example where speculators disagree about the fundamental value. Such a feature could easily be added to our model. For instance, instead of (2.5) it could be assumed that chartists and fundamentalists use their own rules to compute the fundamental value. In particular, chartists’ mood could bias their perception of the fundamental value (e.g., they may optimistically perceive higher fundamental values if prices increase). Note, furthermore, that speculators use in (2.5) only the last observed value of national income as a proxy for the future level of national income. Alternatively, it could be assumed that they use a smoothed measure of past observations of national income to enhance their prediction of the course of the economy. However, since we found that this does not affect our main results, we abstain from such a setup.

A central feature of our model is the relation between the real economy and the stock market. On the one hand, the stock market’s fundamental value evolves, as in reality, with respect to developments in the real economy (our approach is essentially adopted from [20] textbook). Via this channel, the real economy is connected with the stock market and economic booms and recessions have an impact on the stock market. On the other hand, the performance of the stock market influences consumption and investment expenditures (see again [20] textbook). Via this channel, the stock market is connected with the real economy and stock market bubbles and crashes have an impact on national income. Due to this bidirectional feedback structure, there is a potential for coevolving stock market and national income dynamics. As will become clear, one may change the details of the model but as long as this bidirectional feedback structure remains present in the model, the main result of the paper, namely that stock market bubbles and crashes stimulate macroeconomic booms and recessions and that macroeconomic booms and recessions stimulate stock market bubbles and crashes, will survive.

Otherwise, our goods market model is rather standard and corresponds to a basic multiplier model. Instead of (2.1), in which production in time step depends on the goods market’s excess demand in period *t*, it could alternatively be assumed that the goods market clears at every time step and that current consumption and investment expenditure depend on national income and the stock price of the previous period. Exactly the same dynamical system would then be obtained. In addition, an accelerator term could be added to the investment function, as in Samuelson [21]. Preliminary numerical investigations reveal that the model dynamics may become even more interesting, but that also the main results of our paper could become blurred and less easy to grasp.

There are only a few related models to ours. In a more computationally oriented framework, Lengnick and Wohltmann [22] combine a New Keynesian macromodel with a stochastic agent-based financial market model and explore the consequences of transaction taxes. For a related approach, see also Scheffknecht and Geiger [23]. Simpler, yet also very attractive models have been proposed by Asada et al. [24], Bask [25], and Charpe et al. [26], who are particularly concerned with the effectiveness of monetary and fiscal policy rules in the presence of heterogeneous stock market speculators. Despite these recent efforts, this field seems to be widely under-researched. Our setup is even simpler than the aforementioned contributions. As we will see in the remainder of the paper, this allows us a more or less complete investigation of the impact of speculative stock market dynamics on the real economy.

#### 3. Analytical Results

We are now able to derive our analytical results. To establish a benchmark model, we first explore the case in which the goods market and the stock market are decoupled. Then, we are ready to study the complete model. Finally, we compare some properties of the steady states of the benchmark model with those of the complete model. These properties include the levels of the steady states, their stability and, in case of the stock prices, potential mispricings.

Our results with respect to isolated goods and stock markets are summarized in Proposition 3.1 (proofs are given in Appendix A).

Proposition 3.1 (isolated goods and stock markets). * Suppose first that . National income is then driven by the one-dimensional linear map . Its unique steady state is positive, globally stable, and, after an exogenous shock, always monotonically approached. Suppose now that . The stock price is then determined by the one-dimensional nonlinear map . There are three coexisting steady states and . Steady state is positive, yet unstable. Steady states are positive for and locally stable for .*

Let us briefly discuss Proposition 3.1. To decouple the goods market from the stock market, we hold the stock price constant, that is, we set . According to Proposition 3.1, the goods market dynamics is then trivial. National income is due to a one-dimensional linear map and its unique steady state is positive and reminiscent of the classical Keynesian multiplier solution, with as the multiplier and as the autonomous expenditure. In addition, the steady state is globally stable. After an exogenous shock, national income always converges monotonically towards . Since isolated goods markets are unable to produce endogenous business cycles, the real economy may be regarded as a stable system.

The stock market is separated from the goods market by fixing the level of national income, that is, . As a result, the stock price evolves according to a one-dimensional nonlinear map and possesses three coexisting steady states. Steady state is obviously positive. To satisfy that steady states , has to be sufficiently large, that is,. Note that the distance between and increases with the chartists’ reaction parameter and decreases with the fundamentalists’ reaction parameter. Moreover, the inner steady state is unstable while the stability of the two outer steady states depends solely on chartists’ aggressiveness. For , all steady states are unstable. The impact of chartists and fundamentalists on market efficiency will be discussed in more detail in connection with Propositions 3.2 and 3.3 and the numerical evidence presented in Section 4.

Our results with respect to interacting goods and stock markets are presented in Proposition 3.2 (proofs are given in Appendix B).

Proposition 3.2 (interacting goods and stock markets). * The dynamics of the complete model is due to a two-dimensional nonlinear map, given by and . This map has three coexisting steady states−−, and , . All steady states of the model are positive if and if is sufficiently large. Given these requirements, steady state is unstable whereas steady states are locally stable for .*

As stated in Proposition 3.2, national income and stock prices are simultaneously determined by the iteration of a two-dimensional nonlinear map. This map has three steady states. To ensure that all steady states of the model are positive, we assume that and that is sufficiently large. One steady state, , is always unstable. The other two steady states, , are locally stable if . Hence, the upper limit for parameter , which still ensures the local stability of , increases with parameter and decreases with parameters and . Note also that the distance between and , as well as the distance between and , increases with parameters , , , and , and decreases with parameter .

The latter observations have some important consequences. Suppose, for ease of exposition, that . Then it is easy to see that a decrease in and a simultaneous increase in of the same magnitude (say and ) drives the outer steady-state values farther away from the (constant) inner steady-state values . Via this chain, the strength of the bidirectional feedback relation between the real economy and the stock market can thus be calibrated. Clearly, the mutual relation between the real economy and the stock market may be turned weaker or stronger by adjusting and .

Finally, we compare some properties of the steady states of the benchmark model with those of the complete model.

Proposition 3.3 (comparison of steady state properties). *Suppose that and that . The steady state of the isolated goods market is then given by and the steady states of the isolated stock market are and . Ordering the steady states’ levels reveals that and that . With respect to the steady states’ stability, is globally stable while is unstable. Moreover, local stability of requires , but are only stable for . Since the true fundamental values result in and , the steady states’ mispricings are −− and −−.*

Let us first clarify what lies behind the assumptions and . As we will see, these assumptions allow us to compare the steady states of the benchmark model with those of the complete model. Economically, may be interpreted in the sense that speculators in the benchmark stock market model use the steady state value of the benchmark goods market model to compute the (constant) value of the fundamental value. As a result, the inner steady state value of the benchmark stock market model is transformed into . In combination with the assumption , which relates part of the autonomous consumption and investment expenditures to the inner steady-state value of the benchmark stock market model, the steady-state value of the benchmark goods market model can be expressed as , and, therefore, the inner steady state of the benchmark stock market model can be written as . Accordingly, we have and , which seems to be a reasonable starting point for comparing Propositions 3.1 and 3.2.

A complete ordering of the steady-state values reveals that the unique steady state of national income of the benchmark model is equal to the inner steady state of the complete model and that the other two national income steady states of the complete model are located around them. For the stock market, the inner steady state of the benchmark model corresponds with the inner steady state of the complete model. However, the outer steady states of the complete model are further away from the inner steady state than is the case for the benchmark model. Put differently, interactions between the goods market and the stock market make the model’s steady-state levels more extreme (as discussed in connection with Proposition 3.2).

What about the stability domain of these steady states? The unique national income steady state of the benchmark model is globally stable. By contrast, the inner national income steady state of the complete model is unstable. The inner stock market steady states of the benchmark model and the complete model are both unstable. However, the stability condition for the outer two steady states of the complete model is stricter than that for the benchmark model. Overall, interactions between the goods market and the stock market decrease the stability domain of the model’s steady states.

Note that the steady states for the fundamental value follow directly from . Therefore, we have for the benchmark model and for the complete model. It becomes immediately apparent that the inner stock market steady states of the benchmark model and the complete model are unbiased, that is they are equal to the true fundamental value. This is not the case in the outer stock market steady states. However, mispricings in the outer steady states of the benchmark model are not different to those in the complete model.

From this perspective, the role played by interactions between the goods market and the stock market for the efficiency of the economy is not completely clear. Instead of having a unique and globally attracting goods market steady state, national income has three steady states. One of these steady states, corresponding to the unique steady state of the benchmark model, is unstable. The other two steady states are locally stable, as long as the chartists’ reaction parameter is not too high. In addition, the local stability of the stock market steady states decreases in the presence of market interactions, that is, the critical threshold which ensures local stability is lower with market interactions than without them. However, the realized mispricings in the two outer stock market steady states of the complete model are identical to those in the benchmark model, although stock prices are further away from the inner stock market steady state. The reason is that the multiple steady states of national income of the complete model imply also multiple steady states for the fundamental value. Note also that a distorted stock market steady state located above the unbiased stock market steady state might be beneficial for the national income steady state. However, the fate of the economy is decided by its initial conditions, that is the economy may also end up in the lower stock market steady state, and national income would then be permanently lower.

#### 4. Numerical Results

In this section, we turn to the simulation part of our analysis to illustrate and extend our analytical results. Before exploring the complete model, we first inspect the benchmark model. Unless otherwise stated, all of our simulations are based on following parameter setting: In addition, we set and for the benchmark model, implying and . Note that this corresponds to the scenario of Proposition 3.3, enabling us to undertake a closer comparison of the dynamics of the benchmark model with that of the complete model.

Let us start with Figure 1, which contains the dynamics of isolated goods and stock markets. The top left panel depicts the development of national income, after an exogenous shock in the first period. As already stated in Proposition 3.1, national income converges monotonically towards its steady-state value. The underlying economic story behind the dynamics is that of the well-known Keynesian multiplier model. After a shock to national income of, say, plus 1 percent, private expenditure and thus national income are percent above their steady-state values, followed by a positive deviation of percent, and so on, until the shock is completely digested. The top right panel shows the dynamics of national income at time step *t* versus national income at time step . After a transient phase only a single point remains: the steady-state value of national income. Clearly, without exogenous shocks the goods market dynamics dies out.

The center left panel of Figure 1 shows the evolution of the stock price (the selected initial condition is close to the fundamental steady state and a longer transient has been erased. However, also other initial conditions, that is, prices between, say, 97 to 103, lead to the same qualitative results). Since , all steady states of the stock market model are unstable. Instead of a price explosion, however, intricate bull and bear market dynamics emerge, that is, erratic up and down fluctuations in the bull market irregularly alternate with erratic up and down fluctuations in the bear market. In -space, an S-shaped strange attractor can be detected, indicating that the stock market dynamics is chaotic.

The dynamics of the isolated stock market may be understood as follows. Suppose that the stock market is slightly overvalued. In such a situation, chartists go long and fundamentalists go short. Due to our parameter setting and the fundamentalists’ nonlinear trading rule, excess demand is positive and, as a result, the market maker increases the stock price. Should excess demand still be positive in the next trading period, the market maker quotes an even higher price. Eventually, however, the nonlinearity of the fundamental trading rule kicks in and initiates a change in market powers. Increasingly aggressive fundamentalists render excess demand negative, causing a drop in the stock market. Afterwards, chartists dominate the market again and the stock price starts to recover. As it turns out, these up and down movements are repeated, albeit in a complex manner.

Occasionally, a bull market turns into bear market. Note that if the stock price is very high, fundamentalists take significant short positions. Excess demand may then be so negative that, due to the market maker’s price adjustment rule, the stock price falls below its fundamental value. In such a situation, chartists turn pessimistic and a period of bear market dynamics sets in. By analogous arguments, a bear market may turn into a bull market if the stock price falls very low. Fundamentalists then enter massive long positions, causing a substantial positive excess demand, and thus the market maker is prompted to increase the stock price sharply. Once the stock price exceeds the (perceived) fundamental value, chartists turn optimistic, and their buying behavior starts the next bull market.

The bottom two panels of Figure 1 display two bifurcation diagrams. Here the dynamics of the stock market is plotted for the chartists’ reaction parameter, ranging from 0 to 2, and two sets of initial conditions. As indicated by Proposition 3.1, there are three coexisting steady states and, for , two of them are locally stable. Initial conditions then decide whether the stock market is permanently undervalued or overvalued. Our analytical results end at , yet the bifurcation diagrams show what happens if the chartists’ reaction parameter increases further. As can be seen, two period-two cycles emerge—one located in the bull market and the other in the bear market—each followed by a period-four cycle. A finer resolution would furthermore indicate a sequence of period-doubling bifurcations, leading eventually to complex dynamics, again either located above or below the fundamental value. At around , these separated bull and bear market dynamics dissolve and we observe fluctuations similar to those depicted in the central line of panels. From this point of view, it seems that increasingly aggressive chartists destabilize the underlying economic system.

We now investigate the dynamics of the complete model of which Figure 2 provides an example. The first two panels show the course of national income and the stock price, respectively. The dynamics are depicted after a longer transient period, and initial conditions have been selected close to the fundamental steady state (obviously, initial conditions matter in the presence of multiple attractors (see, e.g, Figure 3), but they do play (almost) no role for the current parameter setting. As long as the initial conditions are selected from the range where the dynamics depicted in Figure 2 actually takes place, they have, after a transient has been erased, no qualitative impact on the model dynamics). Irregular fluctuations in economic activity, resembling at least to some degree actual business cycles, coevolve with complex bull and bear market dynamics (recall that the fluctuations of isolated goods market die out over time and that the fluctuations of isolated stock markets range between 97 and 103 (see Figure 1). In the complete model, however, national income fluctuates between 99 and 101 while stock price fluctuate between 96 and 104. As mentioned in connection with Proposition 3.2, the strength of the bidirectional feedback relation between the real economy and the stock market may be increased by changing *b* and . For instance, for and , national income fluctuates already between 96 and 104 and stock prices between 93 and 107). The bottom two panels of Figure 2 illustrate the complexity involved in the dynamics. In the bottom right panel, we plot the stock price at time step *t* versus the stock price at time step . This panel can be compared with the centre right panel of Figure 1. As we see, the previously S-shaped strange attractor turns into a more complicated, yet still S-shaped object. The bottom right panel of Figure 2 shows the stock price at time step versus national income at time step . As to be expected, a strange attractor emerges for the model’s two state variables, also indicating a positive relation between stock prices and national income.

What drives these dynamics? First of all, the stock price is determined as in the benchmark model, with one crucial exception. Now the (perceived) fundamental value changes over time. Suppose again that the stock price is slightly above the fundamental value so that interactions between chartists and fundamentalists initiate a period of complex bull market dynamics. In contrast to the benchmark model, in which these fluctuations are contained within a certain (constant) range, the range of price fluctuations now shifts gradually upwards. Due to the bull market, private expenditure increases and thus there is an economic expansion. Consequently, speculators perceive a higher fundamental value and therefore the range of the bullish price fluctuations increases. If the stock market eventually crashes, consumption and investment expenditure start to shrink again, sending the economy to a recession. Now speculators perceive comparably lower levels of the fundamental value, which drags the stock market even further down—till a major price correction takes place and the stock market enters the next (temporary) bull regime.

In Figure 3, we explore how the chartists’ and fundamentalists’ reaction parameters affect the dynamics. The left-hand panels show bifurcation diagrams for the stock price and the right-hand panels for national income. The chartists’ reaction parameter varies, as in Figure 1 for the benchmark model, from 0 to 2. Due to multistability, two bifurcation diagrams are given for different sets of initial conditions. As stated in Proposition 3.2, there are three coexisting steady states, two of which are locally stable for , as can be seen in Figure 3. Afterwards, a sequence of period-doubling bifurcations emerges, followed first by complex motion restricted to either the bull or the bear market and then ranging across both regions.

A few aspects deserve our attention. First, the steady-state values of the stock prices are further from than they are in the benchmark model to , as reported in Proposition 3.3. However, the same is true for the subsequent regular and irregular dynamics, as long as they are restricted to the bull or bear market regions. Second, for , stock prices visit less extreme regions. Of course, stock prices are still highly volatile, but it may be argued that chartists’ high reaction parameters prevent stock prices at least from reaching extreme values. Third, all these phenomena carry over to the goods market. In the benchmark model, there is always a monotonic convergence towards the steady state. In the complete model, there are locally stable steady states, coexisting regular or irregular motions either above or below , and complex dynamics fluctuating across bull and bear market regions (this is different to Figure 1, bottom panels, where an increase in chartists’ aggressiveness always increases the amplitude of stock price fluctuations).

Assessing the effect of stock market speculation on national income is not trivial. Market interactions clearly render the goods market steady state unstable, but national income may, due to a persistent stock market boom, remain permanently above . In addition, for the evolution of national income is more balanced (i.e., centered around ) than before. The explanation is rather simple. Most importantly, the adjustment process on the goods market takes time. After the start of a stock market boom, national income improves. However, the adjustment process may be interrupted by a stock market collapse, preventing national income from reaching high values. This is, of course, different to situations where the stock market remains permanently in a bull market. National income and the (perceived) fundamental value then have sufficient time to settle at higher values. In this sense, it is not entirely straightforward whether the economy really benefits from more or less speculative activity.

The bottom two panels of Figure 3 present the consequences of an increase in fundamentalists’ aggressiveness. Since there is no evidence of multi-stability, only one set of initial conditions is used. As can be seen, the greater the aggressiveness of fundamentalists, the lower the amplitude of business cycles and stock market fluctuations. In this sense, more aggressive fundamentalists stabilize the dynamics. Nonetheless, fundamentalists are unable to bring the dynamics to a complete rest since the stability of the model’s steady states is independent of parameter .

Figure 4 contains bifurcation diagrams for the remaining model parameters. On the left we see results for the stock market and on the right for the goods market. An increase in autonomous expenditures increases and , as evident from Proposition 3.2, pushing the dynamics upwards. A similar effect is observed for parameters and , caused here by a larger multiplier. Finally, an increase in also stimulates and , leading to fluctuations at a higher level. Overall, the dynamics presented in Figure 2 seem to be rather robust since neither a change in , , , or in the selected parameter space of Figure 4 destroys the emergence of endogenous dynamics.

#### 5. Conclusions

So far, the main focus of agent-based financial market models is on the dynamics of financial markets and (virtually) nothing is said about how the dynamics of financial markets impacts on the real economy and, likewise, how changes in the real economy affect financial markets. In this paper, we therefore propose a simple behavioral macromodel, enabling us to explore at least some feedback causalities between the real economy and the stock market. The real economy is approximated by a Keynesian type goods market model in which consumption and investment expenditure depend on national income and the performance of the stock market—which links the stock market with the real economy. Our nonlinear stock market approach explicitly recognizes the trading activity of heterogeneous speculators, chartists, and fundamentalists. Since the fundamental value of the stock market is related to national income, the real economy is linked to the stock market. Ultimately, this establishes a bidirectional feedback structure between the real economy and the stock market and a first starting point for studying interactions between these two economic subsystems.

As it turns out, national income and stock prices are jointly determined by a two-dimensional nonlinear map. The model has three coexisting steady states. The inner steady state, in which national income corresponds to the well-known Keynesian multiplier solution and the stock price to its true fundamental value, is unstable. The two other steady states, located around the inner steady state, are locally stable as long as the chartists’ trading intensity is not too high. Initial conditions then decide whether the economy will enter a permanent boom or a permanent recession. The first scenario is associated with a stock market boom in which stock prices exceed their fundamental value. In the second scenario, the stock market is in a crisis and stock prices fall below the fundamental value. If the local stability of the steady states is destroyed by too aggressive chartists, we observe the emergence of two coexisting period-two cycles, followed by two coexisting period-four cycles, and so on, until there are two coexisting regimes with complex dynamics, either located at a low or high national income and stock price level. If chartists become even more aggressive, we observe intricate switches between bull and bear stock market dynamics, which may then trigger fluctuations in economic activity. Overall, interactions between the real economy and the stock market appear to be destabilizing. This becomes particularly clear if our model is compared which a benchmark model in which interactions are ruled out. Then the unique steady state of the real economy is globally stable, and the stability condition for the two locally stable stock market steady states is less strict.

Given that our model is extremely simple, it may be extended in various directions. For instance, the case may be considered that the central bank conducts active monetary policy by adjusting the interest rate to influence private expenditure, national income, and, more indirectly, the stock market. Similarly, the case could be considered that the government relies on countercyclical-fiscal policy rules to stabilize the economy. Another direction to extend our model could be to enrich the goods market. For instance, an accelerator term could be added to the investment function. Preliminary numerical evidence reveals that the goods market may then, at least temporarily, decouple from the evolution of the stock market. Alternatively, one may assume that consumer and investor expenditure are subject to their sentiments. Then one would obtain a model with animal spirits in the goods market and stock market, and both economic subsystems would possess a nonlinearity. Moreover, a time step in the goods market part of our model currently corresponds to a time step in the stock market part of the model. One extension of our model could be to allow for a higher trading frequency in the stock market. Note also that speculators in our model do not switch between trading strategies. This may be modified by introducing switching dynamics into the model. For instance, a speculator’s choice of a trading rule may depend on the rules’ past fitness. Of course, our model could be developed in various other dimensions.

Here we have proposed a rather simple model to improve our basic understanding of interactions between the real economy and the stock market. Changes to our model will, as usual, have an impact on its properties. However, as long as the (quite natural) bidirectional feedback structure between the real economy and the stock market prevails in the model, stock market bubbles and crashes will stimulate macroeconomic booms and recessions and macroeconomic booms and recessions will stimulate stock market bubbles and crashes. We hope that our paper will motivate others to undertake more work in this important research direction.

#### Appendices

#### A. Isolated Goods and Stock Markets

Let us start with the goods market. From (2.1) to (2.3) we have To isolate the goods market from the stock market, we keep the stock price constant, that is, we set . National income is then due to a one-dimensional linear map Next, inserting into (A.2) reveals that (A.2) has the unique steady state Since , steady state (A.3) is obviously positive and globally stable. Moreover, only monotonic adjustment paths are possible.

Let us now turn to the stock market. Combining (2.4) to (2.7) yields The stock market is decoupled from the goods market by fixing . We then obtain the one-dimensional nonlinear map Setting reveals that that is, (A.5) has three coexisting steady states. Note that requires , which can always be fulfilled by shifting sufficiently upwards.

A steady state of a one-dimensional nonlinear map is locally stable if the slope of the map, evaluated at the steady state, is smaller than one in modulus. Since the slope of the map at is equal to , steady state is unstable. The slope of the map at steady states is . Hence, steady states are locally stable for For a deeper analysis of map (A.5) see Tramontana et al. [12].

#### B. Interacting Goods and Stock Markets

From (A.1) and (A.4) it follows directly that the dynamics of the complete model is due to the two-dimensional nonlinear map Plugging and into (B.1), we find that the model has three coexisting steady states Obviously, requires . Moreover, and need and , respectively. To ensure that the model’s steady states are positive, we thus assume that and that is sufficiently large.

The Jacobian matrix at steady state is given by with determinant and trace . Local stability of the steady state would necessitate that

Since , inequality (B.4b) is never true, that is, the steady state is unstable.

The Jacobian matrix at steady states reads with determinant and trace . Hence, local stability of steady states is guaranteed if

While inequalities (B.6b) and (B.6c) always hold, inequality (B.6a) is only satisfied if

An introduction to nonlinear dynamical systems, including a stability analysis of their steady states, can be found in Gandolfo [27] and Medio and Lines [28], for instance.

#### Acknowledgments

This paper was presented at the International Conference on Rethinking Economic Policies in a Landscape of Heterogeneous Agents, Milan 2011, at the International Conference of the Society for Computational Economics on Computing in Economics and Finance, London, 2010, at the Workshop on Interacting Agents and Nonlinear Dynamics in Macroeconomics, Udine, 2010, and at the Workshop on Optimal Control, Dynamic Games and Nonlinear Dynamics, Amsterdam, 2010. Thanks to Carl Chiarella, Reiner Franke, Tony He, Cars Hommes, Blake LeBaron, Matthias Lemgnick, Alfredo Medio, and Valentyn Panchenko for their many useful comments and suggestions. The author also thanks two anonymous referees and Aura Reggiani, the managing editor of this paper, for encouraging feedback.

#### References

- C. Chiarella, R. Dieci, and X.-Z. He, “Heterogeneity, market mechanisms, and asset price dynamics,” in
*Handbook of Financial Markets: Dynamics and Evolution*, T. Hens and K. R. Schenk-Hoppé, Eds., pp. 277–344, North-Holland, Amsterdam, The Netherlands, 2009. View at Google Scholar - C. Hommes and F. Wagener, “Complex evolutionary systems in behavioral finance,” in
*Handbook of Financial Markets: Dynamics and Evolution*, T. Hens and K. R. Schenk-Hoppé, Eds., pp. 217–276, North-Holland, Amsterdam, The Netherlands, 2009. View at Google Scholar - T. Lux, “Stochastic behavioural asset-pricing models and the stylized facts,” in
*Handbook of Financial Markets: Dynamics and Evolution*, T. Hens and K. R. Schenk-Hoppé, Eds., pp. 161–216, North-Holland, Amsterdam, The Netherlands, 2009. View at Google Scholar - F. Westerhoff, “Exchange rate dynamics: a nonlinear survey,” in
*Handbook of Research on Complexity*, J. B. Rosser Jr, Ed., pp. 287–325, Edward Elgar, Cheltenham, UK, 2009. View at Google Scholar - C. Kindleberger and R. Aliber,
*Manias, Panics, and Crashes: A History of Financial Crises*, John Wiley & Sons, Hoboken, NJ, USA, 5th edition, 2005. - J. Galbraith,
*The Great Crash*, Houghton Mifflin, New York, NY, USA, 1929. - H. Minsky,
*Stabilizing an Unstable Economy*, McGraw-Hill, New York, NY, USA, 2008. - G. Akerlof and R. Shiller,
*Animal Spirits*, Princeton University Press, Princeton, NJ, USA, 2008. - C. Reinhart and K. Rogoff,
*This Time Is Different: Eight Centuries of Financial Folly*, Princeton University Press, Princeton, NJ, USA, 2009. - R. H. Day and W. Huang, “Bulls, bears and market sheep,”
*Journal of Economic Behavior and Organization*, vol. 14, no. 3, pp. 299–329, 1990. View at Publisher · View at Google Scholar · View at Scopus - H. P. Boswijk, C. H. Hommes, and S. Manzan, “Behavioral heterogeneity in stock prices,”
*Journal of Economic Dynamics and Control*, vol. 31, no. 6, pp. 1938–1970, 2007. View at Publisher · View at Google Scholar · View at Zentralblatt MATH - F. Tramontana, L. Gardini, R. Dieci, and F. Westerhoff, “The emergence of “bull and bear” dynamics in a nonlinear model of interacting markets,”
*Discrete Dynamics in Nature and Society*, vol. 2009, Article ID 310471, 30 pages, 2009. View at Publisher · View at Google Scholar · View at Zentralblatt MATH - R. Dieci and F. Westerhoff, “Heterogeneous speculators, endogenous fluctuations and interacting markets: a model of stock prices and exchange rates,”
*Journal of Economic Dynamics and Control*, vol. 34, no. 4, pp. 743–764, 2010. View at Publisher · View at Google Scholar · View at Zentralblatt MATH - L. Menkhoff and M. P. Taylor, “The obstinate passion of foreign exchange professionals: technical analysis,”
*Journal of Economic Literature*, vol. 45, no. 4, pp. 936–972, 2007. View at Publisher · View at Google Scholar · View at Scopus - C. Hommes, “The heterogeneous expectations hypothesis: some evidence from the lab,”
*Journal of Economic Dynamics and Control*, vol. 35, no. 1, pp. 1–24, 2011. View at Publisher · View at Google Scholar · View at Zentralblatt MATH - R. Franke and F. Westerhoff, “Structural stochastic volatility in asset pricing dynamics: estimation and model contest,”
*Journal of Economic Dynamics and Control*, vol. 36, pp. 1193–1211, 2012. View at Publisher · View at Google Scholar - C. Hommes, H. Huang, and D. Wang, “A robust rational route to randomness in a simple asset pricing model,”
*Journal of Economic Dynamics and Control*, vol. 29, no. 6, pp. 1043–1072, 2005. View at Publisher · View at Google Scholar · View at Zentralblatt MATH - T. Lux, “Herd behavior, bubbles and crashes,”
*Economic Journal*, vol. 105, pp. 881–896, 1995. View at Publisher · View at Google Scholar - P. de Grauwe and P. Kaltwasser, “Animal spirits in the foreign exchange market,”
*Working Paper*, University of Leuven, 2011. View at Google Scholar - O. J. Blanchard,
*Macroeconomics*, Prentice Hall, New Jersey, NJ, USA, 5th edition, 2009. - P. Samuelson, “Interactions between the multiplier analysis and the principle of acceleration,”
*Review of Economic Statistics*, vol. 21, pp. 75–78, 1939. View at Publisher · View at Google Scholar - M. Lengnick and H. W. Wohltmann, “Agent-based financial markets and New Keynesian macroeconomics: a synthesis (updated version),”
*Economics Working Paper*2011-09, University of Kiel, 2011. View at Google Scholar - L. Scheffknecht and F. Geiger, “A behavioral macroeconomic model with endogenous boom-bust cycles and leverage dynamics,”
*Discussion Paper*37-2011, University of Hohenheim, 2011. View at Google Scholar - T. Asada, C. Chiarella, P. Flaschel, T. Mouakil, C. R. Proaño, and W. Semmler, “Stabilizing an unstable economy: on the choice of proper policy measures,”
*Economics*, vol. 4, pp. 2010–2021, 2010. View at Google Scholar - M. Bask, “Asset price misalignments and monetary policy,”
*International Journal of Finance and Economics*, vol. 17, pp. 221–241, 2012. View at Publisher · View at Google Scholar - M. Charpe, P. Flaschel, F. Hartmann, and C. Proaño, “Stabilizing an unstable economy: fiscal and monetary policy, stocks, and the term structure of interest rates,”
*Economic Modelling*, vol. 28, no. 5, pp. 2129–2136, 2011. View at Publisher · View at Google Scholar · View at Scopus - G. Gandolfo,
*Economic Dynamics*, Springer, Berlin, Germany, 4th edition, 2009. View at Publisher · View at Google Scholar - A. Medio and M. Lines,
*Nonlinear Dynamics: A Primer*, Cambridge University Press, Cambridge, UK, 2001. View at Publisher · View at Google Scholar