Discrete Dynamics in Nature and Society

Volume 2010 (2010), Article ID 676317, 27 pages

http://dx.doi.org/10.1155/2010/676317

## Updating Wealth in an Asset Pricing Model with Heterogeneous Agents

Department of Economic and Financial Institutions, University of Macerata, 62100 Macerata, Italy

Received 21 January 2010; Revised 18 June 2010; Accepted 20 September 2010

Academic Editor: Xue He

Copyright © 2010 Serena Brianzoni et al. 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 consider an asset-pricing model with wealth dynamics in a market populated by heterogeneous agents. By assuming that all agents belonging to the same group agree to share their wealth whenever an agent joins the group (or leaves it), we develop an adaptive model which characterizes the evolution of wealth distribution when agents switch between different trading strategies. Two groups with heterogeneous beliefs are considered: fundamentalists and chartists. The model results in a nonlinear three-dimensional dynamical system, which we have studied in order to investigate complicated dynamics and to explain wealth distribution among agents in the long run.

#### 1. Introduction

The traditional approach in economics and finance is based on a representative rational agent who knows the market equilibrium equations and is able to solve the model. Simon [1] documents that knowledge of the economic environment is an extreme assumption. Moreover, it would be difficult to compute the rational expectations equilibrium in nonlinear market equilibrium models, even if the agent knew all the equilibrium equations.

As a consequence, many recent studies model agents as boundedly rational (see, e.g., Conlisk [2] for a survey on bounded rationality) and assume that they are heterogeneous (see [3, 4] for an extensive survey of heterogeneous agent models).

Many authors have introduced heterogeneous agent models in order to investigate some important facts in financial markets, see, for example, Brock and Hommes [5], Hommes [6]), Chiarella and He [7–9], Chiarella et al. [10], Anufriev et al. [11], Anufriev [12], and Anufriev and Dindo [13]. Examples of the impetus behind these kinds of models are (i) the question of whether the behavior of agents can be described *as if* they are rational (claimed by Friedman [14]) and (ii) some stylized empirical findings such as the excess volatility exhibited by markets (difficult to explain by means of a representative agent model).

The key aspect of these models is that they consider expectations feedback and the adaptiveness of agents (see, e.g., Brock and Hommes [5, 15]). To be more specific, at each time agents choose from a set of different types of trading strategies by looking at their past performance (measured by the profits they have made). Brock and Hommes [5] introduce adaptive beliefs to the present discounted value asset-pricing model and observe endogenous price fluctuations similar to those observed in financial markets. Chiarella and He [7] extend the model of Brock and Hommes [5] by assuming that agents have different risk attitudes and different expectations for both the first and second moments of price distribution.

A common feature of this kind of heterogeneous agent model in asset-pricing theory is the independence of optimal demand for the risky asset from agents' wealth, as a result of the assumption of the constant absolute risk aversion (CARA) utility function (such as the exponential one). Nevertheless, some authors document that a framework in which investors' optimal decisions depend on their wealth is more realistic, see, for example, Levy et al. [16–18], and Campbell and Viceira [19]. This framework is in line with the assumption of a constant relative risk aversion (CRRA) utility function. The only utility function with CRRA property is the power utility function, of which the logarithmic utility function is a special case. The use of CRRA utility functions in financial markets is important in capturing the interdependence of price and wealth dynamics.

For this reason, in recent years, several models have focused on the study of the market equilibrium price and wealth distribution when the economy is populated by boundedly rational heterogeneous agents with CRRA preferences. Chiarella and He [8] study an asset-pricing model with heterogeneous agents having logarithmic utility functions. In the case with two groups of agents, that is, fundamentalists and chartists, the authors prove the existence of multiple equilibria and the convergence of the return and wealth proportions to the steady state with the higher return under the same variance. The model shows volatility clustering as well as other anomalies observed in financial market data. Nevertheless, the authors focus on the case with fixed population fractions. In order to obtain a more appealing framework, Chiarella and He [9] allow agents to switch between different trading strategies and show the profitability of momentum trading strategies over short-time intervals and of contrarian trading strategies over long-time intervals. Chiarella and He [20] develop a model able to characterise asset price dynamics, the evolution of population proportions and wealth dynamics. In order to describe the evolution of wealth, the authors investigate the framework of heterogeneous agents using a selection of numerical simulations.

Chiarella et al. [10] consider a market-maker model of asset price and wealth dynamics and introduce a growing dividend process and a trend in the fundamental price of the risky asset. The authors consider explicitly the interdependence between price dynamics and the evolution of wealth distribution among agents and show that fundamentalists do not accumulate more wealth than chartists.

Other examples of the analytical exploration of the CRRA framework with heterogeneous agents are Anufriev et al. [11] and Anufriev [12]. More recently, Anufriev and Dindo [13] provides an analytical derivation of the results of the Levy et al. model. This work incorporates the feedback of past prices with investment strategies.

Our paper follows on this wide stream of research by introducing a switching mechanism and studying its effects on wealth distribution. We observe that many contributions to the development and analysis of financial models with heterogeneous agents and CRRA utility consider fixed proportions of agents. Moreover, models which allow agents to switch between different trading strategies (such as Chiarella and He [9]) make the following assumption: when agents switch from an old strategy to a new strategy, they agree to accept the average wealth level of agents using the new strategy. More precisely, the switching agent leaves his wealth to the group of origin.

Motivated by such considerations, we develop a model based upon a new switching mechanism. We assume that all agents belonging to the same group agree to share their wealth whenever an agent joins the group (or leaves it). When agents switch between different prediction strategies, the wealth of the new group takes into account the wealth coming from the group of origin. In other words, agents who change group bring their wealth to the new group. As a consequence, the wealth of each group is updated from period to not only as a consequence of portfolio growth of agents adopting the relative strategy, but also due to the flow of agents coming from the other group.

In line with the *evolutionary finance* literature (see, e.g., [21–25]) we analyze the survival of agents in a financial market. In contrast with the evolutionary finance approach, we incorporate the feedback on past prices with the investment strategies, as in the recent contribution of Anufriev and Dindo [13].

As in many interacting agent models, we focus on the case where there are two groups of agents: fundamentalists and chartists. Among others, Chiarella et al. [10], Chiarella and He [8], Brock and Hommes [5] distinguish between fundamentalists and chartists in order to explain excess of volatility and to analyze the agent survival. Fundamentalists believe that the price of an asset is determined by its fundamental value. The fundamental price is completely determined by economic fundamentals. Fundamental traders sell (buy) assets when their prices are above (below) the market fundamental value. In contrast, chartists, or technical analysts, do not take the fundamental value into account, rather they look for trends in past prices and prediction is based upon simple trading rules. For a long-time, chartists have been viewed as irrational and, according to the Friedman hypothesis, they would be driven out of the market by rational traders. We will see that both types of agents can survive in the market in the long-run.

The new switching mechanism we have introduced leads the final system to a particular form in which the wealth of agents is defined by a continuous piecewise function and the phase space is divided into two regions. Nevertheless, our final dynamical system is three dimensional and all the equilibria are present. We will prove that it admits two kinds of steady state, fundamental steady states (with the price being at the fundamental value) and nonfundamental steady states. In performing the stability analysis, we are limited by the atypical form of our system, but we prove the existence of a trapping set which allows us to study the stability of the fundamental steady state. Several numerical simulations supplement the analysis and show complexity, which is mainly due to wealth dynamics.

In Section 2, we present our general framework describing an asset-pricing model where agents use different beliefs about future price. We obtain a three-dimensional dynamical system where wealth distribution can be explicitly considered. In Section 3, we focus on the case in which the market is populated by fundamentalists and chartists. The resulting map has a particular structure, being piecewise smooth, although we analytically find the steady states and we prove the existence of a trapping set in which all the wealth is owned by fundamentalists. In order to consider the possibility of complex dynamics to be exhibited. In Section 4 we perform a series of numerical simulations showing the great variety of qualitative behaviors which our model can present and their relation to a number of parameter values. As in the related literaure, our heterogeneous agent model leads the market to periodic or even chaotic fluctuations in prices. In addition, the new switching mechanism involves complexity in the long-run wealth distribution. Section 5 concludes.

#### 2. The Model

Consider an economy composed of one risky asset paying a random dividend at time and one risk free asset with constant risk free rate . We denote by the price (exdividend) per share of the risky asset at time . In order to describe the wealth dynamics, we assume that all agents belonging to the same group agree to share their wealth whenever an agent joins the group (or leaves it). (This assumption was introduced by Chiarella and He [9], the main motivation is that the model would not otherwise be tractable.) According to such an assumption, the wealth of agent type at time , denoted by , is given by the total wealth of group in the fraction of agents belonging to this group. Generally speaking, we are assuming homogeneity between agents within the same group, while heterogeneity is introduced between agents belonging to different groups. As a consequence, the wealth dynamics of investor is described by where is the fraction of wealth that agent-type invests in the risky asset and is the return on the risky asset at period . Observe that represents the wealth earned by agent at time later on the investment made at time .

The individual demand function is derived from the maximization problem of the expected utility of , that is, , where is the belief of investor-type about the conditional expectation, based on the available information set of past prices and dividends. Since each agent is assumed to have a CRRA utility function, investors' optimal decisions depend on their wealth. In line with Chiarella and He [8], the optimal (approximated) solution is given by where is the relative risk aversion coefficient and is the belief of investor about the conditional variance of excess returns.

In our model, different types of agents have different beliefs about future variables and prediction selection is based upon a performance measure . Let be the fraction of agents using strategy at time . Hence, as in Brock and Hommes [5], the adaptation of beliefs, that is, the dynamics of the fractions of different trader types, is given by
where the parameter is the *intensity of choice* measuring how fast agents choose between different predictors and are the costs for strategy . When increases, more and more agents use the predictor with the highest fitness. In the extreme case , all agents choose the strategy with the highest fitness, while in the other extreme case , no switching at all takes place and both fractions are equal to .

Let us define the performance measure . To this end we observe that at time agent measures the performance he has achieved and then chooses whether to stay in group or to switch to another one. With this consideration, we measure past performance as the personal wealth coming from the investment in the risky asset with respect to : In this framework, at any time the wealth represents the initial endowment of agent Agents revise their beliefs in a boundedly rational way in the sense that, at any time, most agents choose the predictor which generates the best past performance. In other words, the fraction of traders using strategy at time will be updated according to .

In this work, we focus on the case of a market populated by two groups of agents, that is, . In order to ensure that the model remains tractable, we assume that agents can move from group to group at any time, with and , while both movements are not simultaneously possible. The simplified assumption that switching is unilateral is in line with our framework, in which agents can only switch to the group which generates the best past performance.

We define as the difference in the fraction of agents of type from time to time . Note that, in a market with two groups of agents, it follows that . As a consequence, we can have two different cases: (1), if fraction of agents moves from group 2 to group 1 at time , (2), if fraction of agents moves from group 1 to group 2 at time .

Following Brock and Hommes [5], we define the difference in fractions at time , that is, , so that and . As a consequence Conditions and can be replaced by and , respectively.

In order to describe the wealth dynamics of each group, we define as the share of the wealth produced by group to the total wealth:
which represents the *wealth of group *.

Hence, we have to distinguish two different cases to define the wealth of group 1 at time : (1)if fraction of agents moves from group 2 to group 1, the wealth is given by the wealth coming from group 2 and the wealth generated by traders of type 1, otherwise, (2)if fraction of agents moves from group 1 to group 2, the wealth is simply given by the wealth of agents which do not leave the group.

Summarizing, the wealth of group 1 is defined as

In a similar way we can derive the wealth of group 2:
Note that, in this way, we ensure that the wealth of both groups is updated at all times. More precisely, when (i.e., strategy performs better) then some agents switch to the first group. In such a case, at time new agents joining the group bring the wealth *made in group 2* to group 1. Differently, the wealth of the second class is simply given by the wealth generated by type-2 agents who do not leave the group. A similar reasoning applies when .

In order to summarize how the wealth distribution changes as a consequence of the switching mechanism, let us focus on the *timing* of the model. (i)*At time ***:** the market is made up of () fraction of traders belonging to the first (second) group. Agents have different expectations about the returns on the risky asset and, hence, different demand functions. (ii)*At time ***:** type- agent generates his personal wealth . At the same time, the new fractions of agents and are determined according to the performance measures generated by the investment in the risky asset. Hence, from time to switching occurs and some traders move from one group to the other. Agents leaving group bring the wealth they have generated () to class and the wealth of group is determined. Finally, as all agents agree to share their wealth whenever an agent joins the group, is the wealth of agent at time . Then, the story repeates.

Finally, we define as the wealth of group in the total wealth, that is, (where and ), then represents the relative wealth of group . In the following, we will consider the dynamics of the state variable , that is, the difference in the relative wealths. To this end, we recall (2.7) and (2.8) and analyze both the cases and .

*Case 1 (). *From (2.7) and (2.8) and after some algebra we obtain
where we have made use of relation .

Considering (2.1), it follows
Remembering that and , hence , we divide both numerator and denominator for to obtain
Finally, recalling that , and , , we have

*Case 2 (). *Following the same steps as in the previous case, we arrive at
and by using (2.1),
Dividing both numerator and denominator for and recalling that , we obtain
Finally, we have

As a consequence, the dynamics of the state variable can be described by where Notice that the function defining is continuous.

##### 2.1. Price-Setting Rule

In this work, we assume that price adjustments are operated by a market-maker who knows the fundamental price. The price-setting rule of the market-maker is given by (see [10]) Under the assumption of an i.i.d. dividend process the fundamental value is constant and given by so that we obtain , where is the total number of shares demanded at time and denotes the supply of shares at time .

Let be the number of shares of the asset that investor purchases at price , that is, so that the total demand is given by Moreover we focus on the case with zero supply: .

Notice that is a strictly increasing function such that . Following Chiarella et al. [10], we consider that the agents' total demand can be rewritten as and that the market-maker rule is not affected by the level of . Consequently, we obtain .

After introducing the form with , we can rewrite (2.19) as hence:

Recalling that and (consequently and ) the price-setting rule of the market-maker becomes:

Observe that prices today influence prices tomorrow through agent demand.

The final dynamical system is obtained by using (2.5), (2.17), and (2.24) as stated in the following proposition.

Proposition 2.1. *Under the assumption of an i.i.d. dividend process such that for all , the dynamics of the deterministic skeleton of the model is described by the following three-dimensional system:
**
where
*

*Proof. *From (2.24), we immediately obtain (2.25) and
where we have assumed that dividends evolve in a deterministic way according to their expected value .

Putting (2.29) in equations of and and , we rewrite such functions as in

Consider now the dynamics of the difference in fractions of agents, that is, (2.5). Equation (2.26) is trivially derived putting and recalling (2.4) and (2.29). Moreover:
where we have made use of relations and . Finally, introducing (2.31) into the expressions of , we arrive at (2.27).

Notice that in the previous proposition we have introduced the difference between costs, that is, .

In order to study the system defined by Proposition 2.1, we have to specify the individual demand functions where we have assumed that beliefs about variance and risk aversion coefficients are constant and equal for all traders, that is, and , for all . In making this assumption we follow Brock and Hommes [5]. Notice that is the fundamental solution, that is, the long-run market clearing price path when homogeneous beliefs about expected excess return are considered. Under the assumption of an i.i.d. dividend process with , the fundamental solution is constant and given by . Brock and Hommes [5] derive endogenously the fundamental solution satisfying the no-bubbles condition, in the particular case of zero net supply of shares.

As in many interacting agent models (see, e.g., [5, 8, 10]), in order to explain why prices deviate from their fundamental values for a long-time and to analyze agent survival, in the following section, we assume that agents of type 1 are fundamentalists while agents of type 2 are chartists.

#### 3. Fundamentalists versus Chartists

##### 3.1. The Map

Let us move on to analyze the case in which agents of type 1 are fundamentalists, believing that prices return to their fundamental value, while traders of type 2 are chartists, who do not take into account the fundamental value but base their prediction selection upon a simple linear trading rule. In other words, we assume that and with . Trivially, for () agents of group 2 believe that the price will increase (decrease) in the next period, while they expect the same price in the next period when (in this last case naive expectations are considered).

Therefore, the demand functions are given by:

Following the framework of Chiarella et al. [10], we introduce a new state variable, given by the fundamental price ratio: . Consequently: .

The final nonlinear dynamical system is written in terms of the state variables , and : with where denotes and we have made use of

Notice that the function defined by (3.4) is continuous and piecewise smooth. In particular, being defined by (3.3), the phase space is divided into two regions by the surface of equation . Observe that all the equlibria must belong to the border surface for any range of the parameter values.

Finally, we wish to underline that our model is characterized by two different *success indicators*: the difference in the fractions of agents, , and the difference in the relative wealths, . More precisely, a strategy can be successful both in terms of the number of agents using it or in terms of the wealth of group .

##### 3.2. Steady States

In order to find the steady states owned by the system, we put for all . Recalling that and under the assumption of i.i.d. dividend process, we already know that any equilibrium fundamental price ratio is different from zero. Afterwards, we have: (see (3.2)) and it trivially follows that .

Consequently, (3.4) shows that must solve: where has been rewritten as with that is, . Hence, we obtain that is,

It follows that the steady state values and must satisfy
and we can identify two types of steady states:(i)*fundamental steady states* characterized by , that is, by the price being at the fundamental value, (ii)*nonfundamental steady states* for which .

More precisely, for the fundamental steady state of the system is such that and there exists a nonfundamental steady state such that , . Notice that the equilibrium exists for (i.e., ). In fact, though such a steady state has been derived analytically for any , for it is outside the economic meaning of and numerical evidence confirms that it is nonattracting. Observe that the equilibria and are characterized by and respectively. In other words, at the fundamental (nonfundamental) equilibrium the total wealth is owned by fundamentalists (chartists).

Otherwise, when the fixed point becomes a fundamental steady state. Moreover, every point is a fundamental equilibrium, that is, the long-run wealth distribution at a fundamental steady state is given by any constant . In other words, a *continuum of steady states* exists: they are located in a one-dimensional subset (a straight line) of the phase space. Notice that this is a natural result, as for , the expectations schemes are equivalent at the fundamental price.

Summarizing, the following lemma deals with the existence of the steady states.

Lemma 3.1. *The number of the steady states of the system depends on the parameter . *(1)*Let , then (a) for there exist two steady states: the fundamental equilibrium:
and the nonfundamental equilibrium:
(b)for the fundamental steady state is unique.*(2)

*Let , then: (a)*

*Every point is a fundamental equilibrium.*The basin of attraction in Figure 1 shows that for the steady state wealth distribution which is reached in the long-run by the system depends on the initial condition. More precisely, for different initial conditions in the gray region, the system converges to different equilibria with , providing that relative wealths converge to some mixture.

##### 3.3. Trapping Set and Stability Analysis

Given the atypical form of our three-dimensional system, in which the function defining is piecewise smooth, so that the phase space is divided into two regions, we look for appropriate restrictions of our map. We recall that a set is trapping for a map if . The following proposition proves the existence of a trapping set characterized by , for all .

Proposition 3.2. *For all with , there exists such that for all the set is trapping for any initial condition with and ( small enough).*

*Proof. *Looking at (3.4) for , we find that implies for all . Therefore we require for all . From (3.2) and (3.3) it is easy to obtain and for , so that condition becomes and it must be verified if is a decreasing function and . Function is decreasing if and only if is decreasing, that is, if and only if (). Notice that is increasing if and upper bounded for all with , then it must exists such that for all .

Our second requirement, that is, , can be rewritten as or equivalently:
which must hold if . Finally, looking at (3.2) for and , it follows that implies for all .

Notice that functions and do not depend on , thus both conditions “ *decreasing*” and “” satisfy for all , as a consequence it is necessary to consider an i.c. small enough to obtain for all . Similarly, we require such that .

Observe that the previous proposition defines parameter values and initial conditions such that for all , that is, at any time the system uses the first equation defining (see (3.4)) which leads to: . Following the same steps of Proposition 3.2, it is possible to see that there are no parameter values such that for all . In other words, for any parameter values and initial conditions the system sooner or later will use the first equation defining . This means that a movement from class (chartists) to class (fundamentalists) always occurs.

The trapping set defined by Proposition 3.2 allows us to study the local asymptotic stability of the fundamental steady state in the case in which the dynamical system is restricted to the subspace . Then, the map is defined by:

The Jacobian matrix evaluated at the fundamental steady state is: which implies that one eigenvalue is 0 (and thus smaller than one in modulus), while the other eigenvalue is . Under the hypothesis of Proposition 3.2, this eigenvalue is smaller than one in modulus as well. In other words, if , the fundamental equilibrium , , is locally asymptotically stable for high values of and for any initial condition such that , ( small enough) and . Summarizing, in the case in which, at the initial time, the price is below the fundamental value and the market is dominated by chartists while fundamentalists own the total wealth, the system converges to the fundamental steady state .

#### 4. Numerical Simulations

In this section we move to the study of the asymptotic dynamics by using numerical simulations.

Firstly, we consider the case in which Proposition 3.2 holds. In Figure 2(a) we present a diagram of the state variable with respect to . We choose parameter values such that the condition of Proposition 3.2 holds, hence, if is great enough, our system admits the trapping set . Furthermore, we consider an initial condition belonging to , that is, at the initial time, the market is dominated by chartists while all the wealth is owned by fundamentalists and also, being , the price is below the fundamental value. The diagram confirms the convergence to the fundamental value . Notice that if is low enough, the figure is dominated by the black region in which the trajectory does not converge to a cycle of period () nor to a complex attractor, but we observe a *long transient* ( where with we indicate the case in which the trajectory converges to a fixed point after a very high number of iterations). In fact, if is low enough, the state variable tends to the fundamental steady state very slowly and, after a large number of iterations, the attractor has not yet been reached.

In Figure 2(b) we observe the trajectory with , starting from the same initial condition. After 20000 iterations, the fundamental steady state has not yet been reached ( is still far from ), however numerical computations show that it will be approached very, very slowly (as ).

Let us go on to consider parameter values such that the set is nontrapping and, at the initial time, the market is dominated by one class of agents owning the greater fraction of the total wealth. We first consider the case in which, at the initial time, the market is dominated by fundamentalists, while the initial price is above its fundamental value. In Figure 3, we present some bifurcation diagrams of the state variable with respect to (the intensity of choice) for different values of . We found an a-typical bifurcation sequence due to the particular form of our system (piecewise smooth) which admits high period cycles or complex dynamics. Notice that, as increases, the final dynamics becomes simpler. In fact, in panel (d) the state variable converges to the value , such that the total wealth is owned by chartists.

A similar feature is also observed by considering the state variable . The graphs presented in Figure 4 show the evolution of versus time. Being constant, if fluctuates then also fluctuates (i.e., the qualitative dynamics of completely describes that of prices). As for the relative wealth, prices show fluctuations for low values of . In panel (a), a 10-period cycle is observed while in panel (b) the period of the attracting cycle is 23. However, if is great enough, the final dynamics becomes simpler (in panel (c) prices convrge to the fundamental value). Numerical simulations show a similar feature also in the opposite case, that is, and are close to −1.

Such evidence confirms the main results of the relevant literature. In fact, models with heterogeneous agents and a switching mechanism are able to reproduce the stylized facts observable in real markets, that is, periodic or even chaotic fluctuations in prices, excess of volatility, bubbles and crashes.

In order to better investigate the previous feature, we move towards the extreme case in which, at the initial time, all agents are fundamentalists and they own the total wealth. Moreover, in the following, we focus on the more interesting range of values, that is, .

In Figure 5(a), we present the trajectory of the state variable while assuming that, at the initial time, and the price is above its fundamental value. We choose two different values of and observe that if is low enough the system fluctuates (a 12-period cycle is observed) while, as increases, the long-run dynamics becomes simpler ( after a ).

Numerical simulations show the existence of a value such that for all the state variables converge to , while more complex dynamics are exhibited if , that is, for low enough (see Figure 6). Notice that the system preserves similar features, that is, the stabilizing effect of in the long-run, also in the extreme case , that is, at the initial time, the market is dominated by chartists who own all the wealth.

In Figure 6 we observe a succession of periodic windows which occur at border collision bifurcations. These noncanonical bifurcations have mainly been studied in the context of piecewise linear maps. Hommes and Nusse [26] showed, for instance, that a “period three to period two” bifurcation occurs for a class of piecewise linear maps. More recent interesting contributions on this topic are from Jain and Banerjee [27], Avrutin et al. [28–30]. These periodic windows have the following properties: (i)the width of the periodic window reduces monotonically as the parameter increases (ii)the windows are characterized by the same periodicity (iii)for , the periodic windows terminate in convergence.

Notice how complexity is mainly due to border collision bifurcations which are involved by wealth dynamics. This means that the new mechanism which explains the evolution of wealth plays an important role in the qualitative dynamics observed in the long-run.

In order to consider also the role of the parameter , in Figure 7 we present a two-dimensional bifurcation diagram in the parameter plane in the extreme case (at the initial time, all agents are fundamentalists and they own all the wealth) and the price is above the fundamental value. Rich dynamics is exhibited and the final behavior increases in complexity as increases (according to what happens in asset-pricing models with heterogeneous agents and adaptiveness).

A similar behavior is observed in Figures 8 and 9. In such cases, we consider two different i.c., that is, and (all agents are chartists but all the wealth is owned by fundamentalists) and and (all agents are fundamentalists but all the wealth is owned by chartists). Observe that, also in these cases our system may exhibit fluctuations or aperiodic patterns and the final dynamics strictly depends on the parameter value. This study confirms the evidence that the system is more complicated for high values of and low values of .

By comparing Figures 7, 8 and 9, we also observe that the final dynamics is affected by the choice of the initial conditions. In order to focus on the role of the initial condition, we fix low enough. In Figure 10, we present the basins of attraction in the plane , where the initial price is below the fundamental. Observe that, if we move parameter , the structure of the basin also undergoes a change. More precisely, it seems to become more complex as increases, confirming the evidence previously obtained. In fact, the structure of the basin becomes fractal providing the strong dependence of the final dynamics w.r.t. the initial conditions (in panel (b) outside the stability region the system may converge to a 10-period cycle or to a more complex attractor).

Finally, the basins of attraction in the plane are presented for an initial condition , that is, at the initial time, the wealth is equally shared between the two groups. Again, the structure seems to increase in complexity as increases. Observe that the stability region (the blue one) reduces as increases and that outside this region different attractors coexist (i.e., a 10-cycle or a 11-cycle and a more complex attractor).

In contrast with the existing models in the CRRA framework, which suggest that wealth dynamics will lead to a *monomorphic behavior* in the long-run, our simulations show complexity in long-run wealth evolution. A possible explanation is based on the key new concept of this paper, that is, our assumption about wealth redistribution. In fact, a great number of simulations with constant proportions of agents (i.e., the model without switching) shows that the relative wealths converge to 0 and 1, in other terms some classes survive, some classes do not. We obtain the same result by simulating the model for high values of the intensity of choice : the relative wealths still converge to 0 and 1. In other terms, wealth-driven selection works for the simulation without switching or for high , differently from the previous simulations of the general model (with switching). This suggests that the outcome wealth dynamics, able to exhibit complexity, strictly depends on the new switching mechanism introduced, hence it is responsible for the discrepancy with the literature concerning heterogeneous agent models.

#### 5. Conclusions and Further Developments

Motivated by recent developments in the class of heterogeneous agent models of asset price and wealth dynamics, we developed an analytical adaptive model with two types of heterogeneous agents.

The model is developed in the discrete time setting of standard portfolio theory, in that agents are allowed to revise their portfolios over any time interval.

Both expectation feedback and adaptiveness are common features of recent heterogeneous asset-pricing models. In addition, our model is able to characterize the evolution of the distribution of wealth when agents switch from an old strategy to a new strategy, according to their past performances.

The new contribution of our model comes from the assumption that all agents belonging to the same group agree to share their wealth whenever an agent joins the group (or leaves it). This assumption allows us to characterize equilibrium price and wealth evolution among heterogeneous agents. Moreover, it leads to different *success indicators* of each strategy, the difference in the fraction of agents and the difference in the relative wealths of the groups. In other words, a certain strategy can be successful in terms of the number of agents using it or in terms of the wealth of the respective group.

In performing the analysis, we focus on the case with fundamentalist and chartist agents. The final system is defined by a three-dimensional piecewise map which is not easily tractable. Nevertheless, we are able to derive all the steady states analytically, proving the existence of two kinds of equilibria: fundamental steady states and nonfundamental steady states. Moreover, we prove the existence of a continuum of fundamental steady states for some parameter values. We also show that the system admits a trapping region. The map restricted to this subset of the phase space is tractable and allows us to perform the stability analysis of the fundamental equilibrium.

The asymptotic dynamics is studied by using numerical simulations which show the great variety of qualitative behavior presented by our model and their relation to a number of parameter values. Several border collision phenomena are observed, which are due to the new mechanism introduced into wealth dynamics. To examine this in greater detail, numerical simulations suggest that wealth-driven selection (some classes survive, some classes do not) works for the model without switching or for high , in contrast with our general framework (with switching). In this last case, the wealth dynamics shows complexity in the long-run, mainly due to the key new concept of this paper, namely the assumption about wealth redistribution.

In line with existing heterogeneous agent models, our framework is able to explain some economic issues such as: the survival of *irrational* agents, the role of market forces (wealth-driven selection) and some stylized facts (fluctuations, excess of volatility, bubbles and crashes).

An interesting further contribution would be to consider the possibility of a mutual switch between strategies.

#### Acknowledgment

The authors would like to thank the anonymous referees for their helpful comments and suggestions.

#### References

- H. A. Simon,
*Models of Man, Social and Rational. Mathematical Essays on Rational Human Behavior in a Social Setting*, John Wiley & Sons, New York, NY, USA, 1957. - J. Conlisk, “Why bounded rationality?”
*Journal of Economic Literature*, vol. 34, pp. 669–700, 1996. View at Google Scholar - C. H. Hommes,
*Handbook of Computational Economics*, vol. 2 of*Handbooks in Economics*, Elsevier, Amsterdam, The Netherlands, 2006. - B. LeBaron, “Agent based model in finance,” in
*Handbook of Computational Economics*, L. Tesfatsion and K. L. Judd, Eds., vol. 2 of*Handbooks in Economics*, p. i–xxxii and 831–1698, Elsevier, Amsterdam, The Netherlands, 2006. View at Google Scholar - W. A. Brock and C. H. Hommes, “Heterogeneous beliefs and routes to chaos in a simple asset pricing model,”
*Journal of Economic Dynamics & Control*, vol. 22, no. 8-9, pp. 1235–1274, 1998. View at Publisher · View at Google Scholar · View at Zentralblatt MATH · View at MathSciNet - C. H. Hommes, “Financial markets as nonlinear adaptive evolutionary systems,”
*Quantitative Finance*, vol. 1, no. 1, pp. 149–167, 2001. View at Publisher · View at Google Scholar · View at MathSciNet - C. Chiarella and X.-Z. He, “Heterogeneous beliefs, risk and learning in a simple asset pricing model,”
*Computational Economics*, vol. 19, no. 1, pp. 95–132, 2002. View at Publisher · View at Google Scholar · View at Zentralblatt MATH - C. Chiarella and X.-Z. He, “Asset price and wealth dynamics under heterogeneous expectations,”
*Quantitative Finance*, vol. 1, no. 5, pp. 509–526, 2001. View at Publisher · View at Google Scholar · View at MathSciNet - C. Chiarella and X. He, “An adaptive model on asset pricing and wealth dynamics with heterogeneous trading strategies,” School of Finance and Economics, University of Techonology Sydney. Working Paper No. 84.
- C. Chiarella, R. Dieci, and L. Gardini, “Asset price and wealth dynamics in a financial market with heterogeneous agents,”
*Journal of Economic Dynamics & Control*, vol. 30, no. 9-10, pp. 1755–1786, 2006. View at Publisher · View at Google Scholar · View at Zentralblatt MATH · View at MathSciNet - M. Anufriev, G. Bottazzi, and F. Pancotto, “Equilibria, stability and asymptotic dominance in a speculative market with heterogeneous traders,”
*Journal of Economic Dynamics & Control*, vol. 30, no. 9-10, pp. 1787–1835, 2006. View at Publisher · View at Google Scholar · View at Zentralblatt MATH · View at MathSciNet - M. Anufriev, “Wealth-driven competition in a speculative financial market: examples with maximizing agents,”
*Quantitative Finance*, vol. 8, no. 4, pp. 363–380, 2008. View at Publisher · View at Google Scholar · View at Zentralblatt MATH - M. Anufriev and P. Dindo, “Wealth-driven selection in a financial market with heterogeneous agents,”
*Journal of Economic Behavior and Organization*, vol. 73, no. 3, pp. 327–358, 2010. View at Publisher · View at Google Scholar - M. Friedman,
*Essay in Positive Economics*, University of Chicago Press, Chicago, Ill, USA, 1953. - W. A. Brock and C. H. Hommes, “A rational route to randomness,”
*Econometrica*, vol. 65, no. 5, pp. 1059–1095, 1997. View at Publisher · View at Google Scholar · View at Zentralblatt MATH · View at MathSciNet - M. Levy, H. Levy, and S. Solomon, “A microscopic model of the stock market,”
*Economics Letters*, vol. 45, no. 1, pp. 103–111, 1994. View at Publisher · View at Google Scholar · View at Zentralblatt MATH - M. Levy, H. Levy, and S. Solomon, “Microscopic simulation of the stock market: the effect of microscopic diversity,”
*Journal de Physique I, France*, vol. 5, pp. 1087–1107, 1995. View at Publisher · View at Google Scholar - M. Levy, H. Levy, and S. Solomon,
*Microscopic Simulation of Financial Markets—from Investor Behavior to Market Phenomena*, Academic Press, Sydney, Australia, 2000. - J. Y. Campbell and L. M. Viceira,
*Strategic Asset Allocation: Portfolio Choice for Long-Term Investors*, Clarendon Lectures in Economics, Oxford University Press, Oxford, UK, 2002. - C. Chiarella and X. He, “An asset pricing model with adaptive heterogeneous agents and wealth effects,” in
*Nonlinear Dynamics and Heterogeneous Interacting Agents*, T. Lux, S. Reitz, and E. Samanidou, Eds., pp. 269–287, Springer, Berlin, Germany, 2005. View at Google Scholar · View at Zentralblatt MATH - I. V. Evstigneev, T. Hens, and K. R. Schenk-Hoppé, “Globally evolutionarily stable portfolio rules,”
*Journal of Economic Theory*, vol. 140, no. 1, pp. 197–228, 2008. View at Publisher · View at Google Scholar · View at Zentralblatt MATH - I. Evstigneev, T. Hens, and K. Schenk-Hoppé, “Evolutionary finance,” in
*Handbook of Financial Markets: Synamics and Evolution*, T. Hens and K. Schenk-Hoppé, Eds., Handbooks in Finance Series, pp. 507–566, North-Holland, Amsterdam, The Netherlands, 2009. View at Google Scholar - L. Blume and D. Easley, “Evolution and market behavior,”
*Journal of Economic Theory*, vol. 58, no. 1, pp. 9–40, 1992. View at Publisher · View at Google Scholar · View at Zentralblatt MATH · View at MathSciNet - L. Blume and D. Easley, “The market organism: long-run survival in markets with heterogeneous traders,”
*Journal of Economic Dynamics & Control*, vol. 33, no. 5, pp. 1023–1035, 2009. View at Publisher · View at Google Scholar · View at Zentralblatt MATH - T. Hens and K. R. Schenk-Hoppé, “Evolutionary stability of portfolio rules in incomplete markets,”
*Journal of Mathematical Economics*, vol. 41, no. 1-2, pp. 43–66, 2005. View at Publisher · View at Google Scholar · View at Zentralblatt MATH · View at MathSciNet - C. H. Hommes and H. E. Nusse, ““Period three to period two” bifurcation for piecewise linear models,”
*Journal of Economics*, vol. 54, no. 2, pp. 157–169, 1991. View at Publisher · View at Google Scholar · View at Zentralblatt MATH - P. Jain and S. Banerjee, “Border-collision bifurcations in one-dimensional discontinuous maps,”
*International Journal of Bifurcation and Chaos in Applied Sciences and Engineering*, vol. 13, no. 11, pp. 3341–3351, 2003. View at Publisher · View at Google Scholar · View at Zentralblatt MATH · View at MathSciNet - V. Avrutin, B. Eckstein, and M. Schanz, “The bandcount increment scenario. I. Basic structures,”
*Proceedings of The Royal Society of London. Series A*, vol. 464, no. 2095, pp. 1867–1883, 2008. View at Publisher · View at Google Scholar · View at Zentralblatt MATH - V. Avrutin, B. Eckstein, and M. Schanz, “The bandcount increment scenario. II. Interior structures,”
*Proceedings of The Royal Society of London. Series A*, vol. 464, no. 2097, pp. 2247–2263, 2008. View at Publisher · View at Google Scholar · View at Zentralblatt MATH - V. Avrutin, B. Eckstein, and M. Schanz, “The bandcount increment scenario. III. Deformed structures,”
*Proceedings of The Royal Society of London. Series A*, vol. 465, no. 2101, pp. 41–57, 2009. View at Publisher · View at Google Scholar · View at Zentralblatt MATH