HAL Id: jpa-00247116
https://hal.archives-ouvertes.fr/jpa-00247116
Submitted on 1 Jan 1995
HAL is a multi-disciplinary open access archive for the deposit and dissemination of sci- entific research documents, whether they are pub- lished or not. The documents may come from teaching and research institutions in France or abroad, or from public or private research centers.
L’archive ouverte pluridisciplinaire HAL, est destinée au dépôt et à la diffusion de documents scientifiques de niveau recherche, publiés ou non, émanant des établissements d’enseignement et de recherche français ou étrangers, des laboratoires publics ou privés.
Microscopic Simulation of the Stock Market: the Effect of Microscopic Diversity
Moshe Levy, Haim Levy, Sorin Solomon
To cite this version:
Moshe Levy, Haim Levy, Sorin Solomon. Microscopic Simulation of the Stock Market: the Ef- fect of Microscopic Diversity. Journal de Physique I, EDP Sciences, 1995, 5 (8), pp.1087-1107.
�10.1051/jp1:1995183�. �jpa-00247116�
Classification Physics Abstracts
07.75+n 02.50-r 01.90+g
Microscopic Simulation of trie Stock Market: trie Elfect of Micro-
scopic Diversity
Moshe
Levy,
HaimLevy(*)
and Sorin Solomonllacah Institute of Physics, Hebrew University, Jerusalem, Israel
(Received
10 Marcll 1995, received in final form 3 April 1995, accepted 10 April1995)
Abstract.
Although
trie representative individual framework has been shown to begenerally
illegitimate and erroneous, it continues to be widely used for lack ofa more suitable approach.
In this paper, we present an alternative methodology for economic study trie microscopic
simulation
(MS)
approach. We employ the MS methodology to study a basic model of thestock market formulated at trie microscopic level trie level of the individual investor. We
contrast macroscopic market behavior arising from heterogeneous as opposed to homogeneous
(representative)
investors. We study trie macroscopic effects of different forms of trie microscopic heterogeneity: heterogeneity of preference, expectation, strategy, investor-specific noise, and their combinations. We show thon representative investor models lead to unrealistic market phenomena such as periodic booms and crashes. These penodic booms and crashes persisteven when we relax trie assumption of homogeneous preference. Orly when heterogeneous expectorions are introduced does the market behavior become realistic.
Introduction
Very
few financialanalysts
woulddeny
that agentsoperating
in trie market are diverse in theirpreferences
and in their frameworks offorming expectations. Yen,
in order to obtainanalytical results,
many macroeconomic models assume a"representative" agent.
Thisapproach
is analo- gous to trie mean fieldapproximation
in statisticalphysics.
The"representative"
agent models oftenyield
results that are very diflerent from observed market behavior. For instance, therepresentative
individual framework leads to the unrealistic scenario of no trade in the market.The
implication
of such a result negates the existence of ameaningful
stock market[1-4].
Another erroneous result
emanating
from therepresentative
agentassumption
is reflected in theSharpe-Lintner capital
assetpricing
model(CAPM).
In thismodel,
which derivesequilib-
rium
prices
ofrisky
assets, ail agents are assumed to be risk-averse.Heterogeneous preference
is
allowed,
yen, ail agents are assumed to agree on trieexpected
returns and on trie variance- covariance matrixii-e-, they
havehomogeneous expectations).
Based on theseassumptions
the CAPM is derived where "beta" is trie risk measure of the individual asset.
However,
once(*) Hebrew University aud University of Flonda.
@ Les Editions de Physique 1995
trie agents are diverse with respect to their
expectations
or the information at theirdisposai,
or when
they
incur dilferent transaction costs, the whole modelcollapses,
beta becomes mean-ingless,
and a much morecomplex
measure of risk is called for.Thus,
when theassumption
ofrepresentative
investors(with
respect toexpectation)
isrelaxed,
the derivation of the risk-retum
relationship
leads to a result that is very dilferent toSharpe-Lintner's CAPM(~).
Kirman,
in his review of theproblematic
nature of therepresentative
individual concept, concludes:"In
particular,
I will argue thatheterogeneity
of agents may, infact, help
to save the standard model.. it is clear that the"representative"
agent deserves a decentburial,
as anapproach
toeconomic
analysis
that is nononly primitive
butfundarnentally
erroneous" (9].In this
study,
we suggestmicroscopic
simulation as an alternative to therepresentative
individual frarnework.Microscopic
simulation(MS)
is amethodology
that is used tostudy
the macroscopic behavior of a system
composed
of many basicinteracting
elementsacting according
to a known microscopic rule. Inmicroscopic simulation,
themicroscopic
elements and their actions are simulatedby
computeraccording
to themicroscopic
rule.The simulation con be
thought
of as anacting
ouf ofreality by
the computer. For a concreteexarnple
consider an ideal gas in a box. Themicroscopic
elements are the gas atoms, and themicroscopic
rule states that when an atom collides with another atom, or with thewatt,
it will bounce off like a billiardhall; otherwise,
it willsimply
continue to move at the samevelocity.
One cari write a computer program that will accept as
input
the initialpositions
and velocities of ail the atoms, and will simulate thedevelopment
of the systemthrough
time. In the case of the ideal gas, themacroscopic properties
of the system cari also be derivedanalytically.
However,
if themicroscopic algorithm
is somewhat morecomplex, analytic
methods fait. In contrast, this additionalcomplexity
does non constitute aproblem
in the simulation method.Any
system with any "wild" microscopicalgorithm
cari be simulated. MS is apowerful
tool because it is non restrictedby
the constraints ofanalytical
treatment.MS is
widely
used inphysics
[ID,iii.
Morerecently,
MS has beenimplemented
inbiology (see,
forexample, (12-16])
and insociology Ii?i.
MS has proven ta be a very fruitfulapproach
in these
fields, producing
newunderstanding
andinsight
into the behavior ofcomplex
systems.We believe that MS will be as fruitful in finance and in economics as it has been in
physics, biology
andsociology.
The purpose of this paper is toapply
MS to thestudy
of the stock mar-ket. We construct a microeconomic model of the stock market and we
analyze
theresulting
macroeconomic market behavior via MS. In
particular
weanalyze
and contrast the macroeco-nomic behavior
produced by
two microeconomic models: one withhomogeneous
agents(the
representative
agentapproach),
and the other with diverseagents.
In both models we assumeinvestors to be
expected utility
maximizers.MS allows us to
analyze
the elfects of agentheterogeneity
on the macroeconomic resultsand the errors obtained
by assuming
the unrealisticassumption
of therepresentative
investor.We then go on to
analyze
vanous sources ofheterogeneity,
and show that somehomogeneity assumptions
are non crucial to the macroeconomic results but otherscompletely change
the results relative to thenon-homogeneous
case.Agents
con beheterogenous
in several respects. The mainheterogeneity
factorsanalyzed
in this paper are:1)
Preference(risk
aversionmeasure).
2) Agent-specific
noiseii-e-,
the agent is anexpected utility
maximizer but may deviate from theoptimal
investment strategy due to randomnoise).
(~) For more details on trie effect of agent' heterogeneity on equilibrium results, see references [5-8]
3) Expectation
Even if ail investors have the samepreference (utility function), they
may haveheterogeneous expectations regarding
the future distribution of the random variable(retum
in the stockmarket).
Forexarnple,
ailagents
estimate the future distribution of retumsby looking
ai the historical rates of retum, butthey
areheterogeneous regarding
their memory sparts; some look bock ai trie last rive
years'
retums whereas others may look ai the last tenyears'
retums.4) Strategy Agents
may have dilferent investmentstrategies.
Some mayadjust
theirexpectations
and their investmentpolicies frequently,
whereasothers,
withhigher
trans- action costs, may have alonger
ruaapproach.
The microeconomic model that we present here does non
yield
toanalytical
treatment evenin the most
simple
case where agents arehomogeneous.
MS allows us trotonly
tostudy
theresulting macroscopic
behavior in thehomogeneous
andheterogeneous
cases, but also tostudy
the elfects of each of trie above factors of
heterogeneity separately,
as well as in combination.Like
Kirman,
we come to trie conclusion that the introduction ofheterogeneity
is necessarym order to
produce
results that conform to the stock market's observed behavior.Relying
on
representative
agents leads to the absurd result of a no trade market. Trie introduction ofagent-specific
noise does trot have amitigating
elfect:unacceptable results,
such asSharp
booms and crashes in the stock
market,
areobtained;
moreover, these booms and crashesare
periodic
and thereforepredictable,
whichgrossly
contradicts the concept of an eilicient market.Only
whenheterogeneous expectation
is introduced do we obtain more realistic stockprice
behavior.The structure of the paper is as follows: Section
provides
the model. Section 2provides
the data and the results, and Section 3 concludes the paper.
1. Trie Model
The
microscopic
"element" of our model is trie individual investor. Individual investors interact via thebuying
andselling
of stocks and bonds.The model
presented
here is the most basic model attainable in which ail the crucial elements of the stock market are included. We haveconsciously
made certainsimplifying assumptions
and omitted some of the features of the real market. This was done in order to focus on the main elements of the market and trot because of any limitations of the MS method. Asmentioned
before,
any model cari bemicroscopically
simulated.We
begin by describing
the basic model where investors arehomogeneous
in ail respects.Later we will describe how diflerent forms of
diversity
are introduced.1.1. THE HOMOGENEOUS INVESTOR MODEL. Dur stock market consists of two investment
options:
a stock(or
index ofstocks)
and a bond. The bond is assumed to be a riskless asset, and the stock is arisky
asset. The stock serves as a proxy for the marketportfolio, je-g-,
the Standard & Poors
index).
The extension from onensky
asset to manyrisky
assets isstraightforward. However,
one stock(the index)
is sulficient for our presentanalysis
becausewe restrict ourselves to
global
marketphenomena
and do non deal with distributions across severalrisky
assets. The investors are allowed to revise theirportfolio
atgiven
limepoints,
1-e-, we discuss a discrete lime model.Trie bond is assumed to be a riskless investment
yielding
a constant retum at trie end of each limeperiod.
The bond is exogenous and investors canbuy
from it as much asthey
wish at agiven
rate. We denote this riskless rate of retumby
r. Thus, an investment of W dollars at lime t willyield W(1+ r)
at lime t +1.The return on trie stock is
composed
of two elements:ii) Capital gain (loss):
Theprice
of trie stock is determinedcollectively by
ail investorsby
the law of
supply
and demand. If an investor holds a stock any rise(fait)
in theprice
of the stock contributes to an increase(decrease)
in the investors' wealth.(ii)
Dividends: The company earnsincome1 (a
randomvariable)
and distributes dividends.We assume that the firm pays a dividend of
Dt
Per share at lime t. We will elaborate onDt in the next section.
Thus,
the overall return on stock inperiod
t, denotedby Ht,
isgiven by:
Ht =
~
j~~
~ ~~Il)
t-i
where Pt is the stock puce at lime t.
In order to decide on the
optimal
diversification between therisky
and the riskless asset, oneshould consider the ex-ante returns.
However,
since inpractice
these returns aregenerally
nonavailable,
we assume that the ex-post distribution of retums isemployed
as an estimate of the ex-ante distribution.In our model investors
keep
track of the last k retums on the stock which we call the stock'sHistory.
We assume that investors have a bounded recall in thatthey
believe that each of the last khistory
elements at time tHj,j=t,t-i,...,t-k+i
has anequal probability of1/k
to reoccur in the next timeperiod ii +1)(~).
The bounded recall framework has beenemployed
in othergarne
theory analyses (18-20].
Investors derive "well
being"
or"utility"
from their wealth. Each investor is characterizedby
autility function, U(W), reflecting his/her personal preference.
Theutility
is a monoton-ically increasing
function ofwealth,
denotedby W,
and is alsousually
considered concave:U'(W)
> 0,U"(W)
< 0. In thehomogenic
model we assume the sameutility
function for ail investors, and we take this function to belogw.
Later on, when we introduceheterogeneity,
we allow diverse
preferences.
In a situation withuncertainty
trieobjective
of each investor is to maximize theexpected
value ofhis/her utility.
Investors divide their money between thetwo investment
options
in theoptimal
way which maximizes theirexpected utility.
We will elaborate on thispoint
below.1.1,1. Trie
Dynamics.
To illustrate thedynamics
of our model consider the state of the market at somearbitrary
lime t. We denote the price of the stock at this timeby
Pt. The stock'shistory
at this lime is a set of the last k retums on thestock, Hj,j=t,t-i,...,t-k+1
We denote the wealth of the ith investor at time tby
WtIi),
and the number of shares heldby
thisinvestor
by Nt(1).
Now,
let us see whathappens
at the next tradepoint,
lime t +1.Income Gain
First, note that the investor accumulates wealth in the interval between lime t and time t +1.
He/she
receivesNi(1)Dt
in dividends and(Wi(1) Ni(1)Pi)r
m interest.(Wt(1) Ni(1)Pi
is the money held in bonds as WiIi)
is the total wealth and Ni(1)Pi
is the wealth held instocks).
Thus,
before the trade at time t +1, the wealth of investor1 is:(~) We also consider models where the equal probability expectation is replaced with the expectation of exponentially decaying reoccurrence probability.
wiji)
+Niji)Di
+jwiji) Niji)pi)r j~) During
the interval between time t and time t +1 there is no trade, therefore the share puce does notchange
and there is nocapital gain
or loss.However,
at the nexttrade,
at the lime t + 1,capital gain
or loss can occur, asexplained
below.The Demand Function for Stocks
We denve the aggregate demand function for various
hypothetical
pricesPh,
and then findP[
=Pt+i,
theequihbrium price
at lime t + 1.Suppose
that at the trade at lime t +1, theprice
of the stock is set at ahypothetical price
Ph. How many shares will investor want to hold at thisprice? First,
let us observe thatimmediately
alter the trade the wealth of investor1 willchange by
the amountNt(1)(Ph Pt)
due to
capital gain
or loss. Note that there iscapital gain
or lossonly
on theNt(1)
shares heldbelote
thetrade,
and not on sharesbought
or sold at the time t +1 trade.Thus,
if thehypothetical
puce isPh,
thehypothetical
wealth of investor1 after the t +1 trade, WhIi),
will be:Whli)
=
Wzli)
+Nli)Di
+lwili) Nili)Pi)T
+Nili)lPh Pi),
13)where the first three terms are from
equation (2).
The investor has to decide at time t +1 how to invest this wealth.
He/she
will attempt to maximizehis/her expected utility
at the nextperiod,
lime t + 2. Asexplained before,
the ex- post distribution of returns isemployed
as an estimate for the ez-ante distribution. If investorinvests at time t +1 a
proportion Xii)
ofhis/her
wealth in thestock, his/her expected utility
at titre t + 2 will be given
by:
t-~+i
Eujxji))
=
i/k fl iog iii xj))w~ji)ji
+r)
+xji)w~j)ji
+a~ )j, j4)
j=t
where the first term in the square brackets is the bond's contribution to
his/her
wealth and tbe second term is the stock's contribution.The investor will choose the investment
proportion, Xii),
that maximizeshis/her expected utility(~)
As the optimum investmentproportion
isgenerally dependent
onPh, (through Wh),
[et us denote this
proportion by
XhIi).
The amount of wealth that investor will froid in stocks at trie
hypothetical
pricePh
isgiven by Xh(1)Wh(1). Therefore,
the number of shares that investor will want to hold at thehypothetical price Ph
will be:Xhii)Whli)
~hi~>~h)
15)"
Ph
This constitutes the
personal
demand curve of investor 1.Summing
thepersonal
demand functions of ail investors, we obtain thefollowing
collective demand function:(~)As no borrowing or shortselling is allowed, we have 0 < X < 1. However, we introduce a constraint asserting thon 0 < a < X, < b < where b is very close to 1, le-g-, 0.99) and a is very close to zero.
Thus, the assuption is thon, even if the pure mathematical solution advocates 100% investment in stocks, to guarantee some money for emergency needs, investors will Dot invest more thon b in stock,
and they will keep some money m
(riskless)
bonds. If we were to introduce borrowing, we would stillhave a upper bound on X, set by the bank. In this case we would have b > 1.
Nh(Ph)
"~ Nh(1, Ph). (6)
z
Equilibrium
As the number of shares in the
market,
denotedby N,
is assumed to befixed,
the collective demand function determines theequilibrium
priceP[. P[
isgiven by
the intersection point of the aggregate demand function and thesupply function,
which is a verticalfine(~). Thus,
theequflibrium price
of the stock at lime t +1, denotedby Pi+i,
will beP[.
History Update
The new stock price,
Pi+i
and dividendDi+i, give
us a new retum on the stock,Hi+1
~
~t+1
~t +Dt+1
t+Î p
t
We
update
the stock'shistory by including
finis most recent retum, andeliminating
the oldestretum
Ht-k+i
from thehistory.
This
completes
one limecycle. By repeating
thiscycle,
we simulate the evolution of the stock marketthrough
time.l.1.2. Noise. The model described so far is deterministic. The decision
making
process isconducted
by maximizing
theexpected utility
it is a boundedrational, predictable
decisionmaking (18-20].
In more reahsticsituations,
investors are influencedby
many factors other than rationalutility
maximization (21]. The net eflect of alarge
number of uncorrelated randominfluences is a
normally
distributed random influence or "noise".Hence,
we take into account ail the unknown factorsinfluencing
decisionmaking by adding
a normal random variable to theoptimal
investmentproportion(~).
To be morespecific,
wereplace Xii)
with X*ii)
whereX*li)
=
Xli)
+Eli)
17)and
e(1)
is drawn at random from a normal distribution with standard deviationa(6).
We shouldemphasize
thatXii)
is the same for ail investors, but X*ii)
is trot becausee(1)
is drawnseparately
for each investor.Thus,
the noise, which isinvestor-specific,
is the first factor introduced to induce investorheterogeneity.
1.2. HETEROGENEOUS INVESTOR MODELS. We contrast the
homogeneous
investor modelto models in which the investors may be diverse.
First,
westudy
the case where investors difler in their expectations. We consider investors with diflerent memory sparts of past retumsleading
to diflerentexpectations regarding
future retums. Next we considerdiversity
with respect topreference.
We take investors with thefollowing utility
function:(~) The model cari easily be modified to incorporate new stock issues. Note that aise it is assumed that accumulated dividends and interest is reinvested. This is net necessary and the model con be easily modified to allow consumption or additioual saving which is invested in trie market.
(~) Investor-specific noise con be introduced into the system in a vanety of other ways. One possibility
is to assume asymmetric information in the market,
Ii,e.,
a diflerent interpretations of the stock's history by diflerent
individuals).
(~)If X*(1)
< a orX*(1)
> b, we disregard this choice of e(1), and we draw another e(1) instead.Thus
X*(1)
is normally distributed aroundX(1)
with standard deviation a, but ii is truncated ai a and ai b.wl-o,
~~~~~'~ ~
l Oz ~~~
where the i~~ investor is characterized
by
the risk aversion measure a~. Thisfunction,
as well as thelog function,
aremyopic utility
functions which would dictate a fixed investment proportion in stocks for agiven
distribution of rates of retum. This is non the case in our model as thedistribution
(or History) changes
everytrading round,
hence the investmentproportion
alsochanges.
We also consider trie case of diflerences in the
strategies employed by
investors. The investors considered so forupdate
theirexpectations
and investments at every trade point. We nowintroduce investors who go for the
long
run anddisregard
trends. We take the extreme caseof the investors who
keep
their investmentproportion
in the stock constant,regardless
of thehistory.
In the next section we describe the results of our
simulations,
and the eflects of these diflerent types ofheterogeneity
on marketdynamics.
2. Data and Results
In the simulations described in this paper, we choose the lime
period
between each trade to beone year.
Accordingly,
we chose the rest of the parametersrealistically.
We take the annual interest rate to be 4%. The initialHistory,
consists of a discrete distribution of returns witha rnean of 4.15% and a standard deviation of 0.3%. With these pararneters, trie investment
proportion
in therisky
asset in trie first round is about50%,
thus trie bond and stock are moreor less
compatible
in the initial stage.Trie number of investors is 100 and the number of
outstanding
shares is10,000.
The initial wealth of each investor isSl,000.
The initial shareprice
is$4.00(~).
The initial divide~ld is taken to be $0.20(dividend yield 5%).
We increase the dividendby
5%annually(~).
This is close to thelong
rua average dividendgrowth
rate of the STOP.We should stress that our results are
general
and that there was nofine-tuning
of the pa-rameters. The initial conditions do non affect the main features of the
dynamics.
Let us first examine the
dynamics
of thehomogeneous
investor market.Figure
1plots
the
price
of the stock as a function of time(in years)
in a market ofhomogeneous
investors with memory spart k= 15 and
logarithmic utility
functions. Two cases are shown: one withperfectly
rational investorsii-e-,
nonoise,
a =0)
and the other with a moderatedegree
of noise orirrationality ii-e-,
a =0.2).
Webegm by discussing
the no-noisedynamics.
In this case ail investors are
completely homogeneous
and will therefore have identical de- mand functions. As aresult,
the shares willalways
be dividedequally
between ail investors.Investors
always
end upholding
the same number of shares: the total number of shares in the (~) In the initial stage we ensure thon trie total wealth is greater than the market value of the stock.As we do trot allow borrowmg, we preclude a situation where the market value of the stocks
lai
54.00 pershare)
is greater thatn trie total wealth of ail investors which would contradict equibbrium. Theinitial price is determined arbitranly as if there were
no history at ail to determine the puce,
as in the
case of an initial public oflenng. However, we con reach the same results by assuming that the initial puce is determined by some history, and then induce some initial shock in the system. Trie shock con take the form of
a change in the wealth, a change in trie interest rate, etc. After trie shock, a new history is created and the process is exactly
as given in this paper.
(~) We aise studied the effects of fluctuating dividends. We do trot report these results in this paper for trie sake of brevity.
MEMORYSPAN 15
~~i
io~
a=oo
10~ à=0 2
S
g g Î
8
10~~
10'
'~o
0 50 100 150 200
TIME (YEARS)
Fig. 1. Stock price as a function of time with and without investor-specific noise
(100
investors with logarithmic utility furetions and memory span 15).market divided
by
the number of investors.Thus,
shares do notchange hands,
and we have ano trade market.
We see that the stock
price
increasessharply
at firstand, thereafter,
it increases at asteady exponential
rate(a straight
fine on thesemi-logarithmic scale).
Let us first focus on thesharp
initial increase. The rate of retum on the stock from the first trade is
relatively high.
This creates a distribution of returns that is "better" than the initialHistory,
where "better" means that investors arewilling
to increase their investment proportion mequity. Changes
in theinvestment proportions,
especially
near the maximum investment proportionallowed,
induce dramaticchanges
in the stockprice,
as demonstrated inAppendix A(9).
After this
Sharp
initial increase, the stock'sHistory
of returns becomes very attractive, and the investmentproportions
in thensky
asset are fixed at the maximum. As shown inAppendix
B, under the condition ofhomogeneous
investors and fixed investmentproportions,
thelong
run
capital appreciation
becomes:Î~
=
11
19)where g is the constant
growth
rate of the dividend. Thisexplains
the constantslope
of theexponential
climb. In our case g=
5%,
r = 4% and theslope
becomes 1.05. The 5% annualgrowth
rate of the stock puce that we obtain is realistic. Thecompound
annualgrowth
rate of the STOP due tocapital appreciation during
the years 1925-1992 was 5.4$io(source:
Ibbotson(9) If the rate of retum on the stock from the first trade is low, the process is opposite and we observe
on a Sharp initial decrese m stock puce. As will become evident, the initial behavior is irrelevant to the long run dynamics (see reference [22])
Associates).
The reason we reach veryhigh
stockprices
is that we arelooking
at a verylong
time horizon
(200 years).
See alsoFigure
13.Now let us tutu to the case with noise.
Again
we see asharp
initial increase in the stockprice.
However,
now thesharp
mcrease stops at a lowerprice(~°).
After thesharp
increase theprice
mcreases at the same
steady exponential
rate as in the zero noise case.However,
asopposed
to the smooth increase of the zero noise case, now the
price
fluctuates around the trend. This is a result of the noise. The noise induces fluctuations m the investment proportions which in tutu induce theseprice
fluctuations. These fluctuations are also the cause of the crash thatoccurs around time 60. In order to understand this crash we must first note that one of the
consequences of the results of
Appendix
Bis,
that in the no noise case theHistory
of returns on the stock becomeshomogeneous:
Ht =
~
j~~
~~~
- g +il
+g) (°
= g +(~ (g
>r) (10)
t-i o o
where Dl is the first year dividend. When a moderate
degree
of noise is introduced thereturns will fluctuate around this value, but will remain
relatively homogeneous.
Because ofthis
homogeneity,
a smallchange
in one of the returns can induce a dramaticchange
in the investment proportions.Let us elaborate. The investor's terminal
wealth,
W, isgiven by:
W=X(1+É)+(1-X)(1+r)=1+X(H-r)+r iii)
where
jÎ
is the random returnon the stock. The
expected utility
isgiven by:
EU(W)
= EU
il
+X(jÎ r)
+rj (12)
Expand EU(W) by
theTaylor
series around the meanil
+X(E(ù) r)
+r)
a EW to obtain:
EU(W)
= U
il
+X(E(jÎ) r)
+rj
+
U'(EW)E (W E(W)]
~,,
+
-(EW)a$
+(13)
Because the second term
vanishes,
we have:EU(W)
= U
il
+ r +X(E(jÎ) r)j
+~"a$
+..(14)
We have seen that Ht - g +
Il
+g)
~°la
constantnumber).
ThereforejÎ
-
E(jÎ)
anda$
Po
(not
to mentionhigher moments),
willapproach
zero. Thus, ifE(jÎ)
>r the
optimum
solution will be X= 1
(or
in our case X=
b), and,
forE(jÎ)
<r, the optimum solution will be X = 0
(or
X=
a).
To see this"discontinuity"
property, consider thefollowing example:
r=
10%,
(~°)When
there is no noise, the Sharp initial increase stops when the investment proportions m the stock reach themaximum ii-e-, X
=
0.99).
The noise generally widens the distribution of investmentproportions. When the investment proportions are near the maximum, the noise con only drive them down
(see
footnote(6)).
Thus, when optimal diversification advocates maximal investment in stocks,the noise has the efiect of lowering the average investment proportion. This is the reason trie sharp
initial increase stops at a lower puce when noise is introduced.
WEALTH DISTRIBUTION
20.0
MEMORY 15
ce ce O
lime
~ O à
time 20
~'~0.0 50.0 100.0 150.0
200.0
OF AVERAGE WEALTH
Fig. 2. Wealth distributions at difiereut times. This data corresponds to trie simulation depicted
in Figure 1
(100
investors with logarithmic utility furetions and memory spart 15. a=
0.2).
and the retum on trie stock has two
possible values,
8% and12%,
withequal probability.
In this case, maximization of theexpected logarithmic utility yields
X= 0. A
slight
increase inone of the
possible
retums on the stock from 12% to 12.1% isenough
topush
theproportion
of investment to the other extreme, X = 1.
Thus,
a smallchange
in the investmentproportion (due
to thenoise)
may create a smallchange
in the return on the stock which willchange
thehistory
so thatE(jÎ)
becomes smaller thanr. This will cause a
sharp
decrease in Xresulting
in a crash. This is similar to the market
discontinuity
described in reference (23]. This resultis robust and does not
depend
on the assumedpreference.
Fluctuations in the investment
proportions
induceprice fluctuations,
and in tum, fluctua- tions in the return on the stock. One of the fluctuations isbig enough
to cause a discontinuous crash. Thishappens
first at around time 60. Once theprice
isdown,
the dividends becomesignificant again
in their contribution to the returns on the stock, and the retums arehigh.
After 15
periods,
when thecatastrophic
returnresulting
from the crash isbeyond
the memoryspart of the investors, the stock
price jumps
back up. Thiscycle
repeats itself veryregularly
with a
period
of 30 tradesils highs,
15lows).
Due to the
investor-specific
nature of the noise, trot ail investors behave in the same way inspite of the
homogeneity
ofpreference,
memory spart, and strategy. Hence, there will be trade in the market and investors will become diverse in respect to their wealth.How is the wealth distributed across investors
throughout
the run? The answer to this question is shown inFigure
2. The horizontal axisdepicts
the wealth as a percentage of the average wealth(for
agiven
timeperiod),
and the vertical axisdepicts
the number of investors with that wealth. As cari be seen, at time 1, the distribution is very narrow almost ailinvestors have the same wealth the average wealth. Over
time,
the distribution widensthe random element in the decision
making
process, e, affects individual investorsdilferently
MEMORY SPAN 5
io~
io~
io~
W
à
10~fi
8
~ 10~~
io'
g
0 50 100 150 200
TIME(YEARS)
Fig. 3. Stock price as a function of time
(100
investors with logarithmic utifity furetions aud memory spart 5, a =0.2).
and
they
become richer or poorer than the average(see
time20).
Some investors are"lucky"
they happen
tobuy
stocks before the booms and self before the crashes whereas the"unlucky"
investors do trie
opposite.
As would beexpected,
the wealth distribution in this case assumes the form of a normal distribution with a standard deviation that increases over time.How is the behavior of the market affected
by
the memory spart of the investors? Thedynamics
of a market ofhomogeneous
investors withlogarithmic utility
functions and memory spart 5 is shown inFigure
3. Thedynamics
is very similar to thatdepicted
inFigure
1, except that thecycle
is reduced to 10 timeperiods
because of the shorter memory span(5 highs,
5lows).
We have also studied the case where the investors'
expectation,
that each of the last k retumson the stock has an
equal probility of1/k
to reoccur, isreplaced
with theexpectation
that theprobability
of reoccurrence isexponentially decaying
with lime, 1-e-:P(Ht+i=Hj)oee~@~ j=t,t-1,. ,t-k+1. ils)
where T is a time scale constant. Trie results of this simulation with T
= 4.0 are
depicted
inFigure
4. Triecycles
are shorter because of the shorter effective memory,however,
thecyclic
booms and crashes
persist.
What can we learn from
Figures
1, 3 and 4?First,
withperfectly
rationalhomogeneous
investors, we obtain very unrealistic results: the stockprice
increasescontinuously
at a constant rate(the straight
fine inFig. l). Furthermore,
as ail investors are assumed to be identical in ail respects,they
ail have identical demand functions and we have a no trade market.When we introduce
investor-specific
noise, there will be trade but we still obtain unrealistic results: booms and crashes withcyclical regularity
occur, bercethey
arefully,
or almostfully,
predictable.
This is incomplete
contradiction to marketefliciency. Moreover, changing
theMEMORY SPAN 15
lÙ~'
io~
OE
fl io~
ce
8
lo~~
io~
io'
io°
o 50 100 lso zoo
TIME (YEARS)
Fig. 4. Stock puce as a function of time with exponentially decaying reoccurrence probability,
r = 4.0 (100 investors with logarithmic utility functions and memory span 15).
memory spart to rive
periods (k
=5)
does trotchange anything
except for trielength
of triecycle.
Trie introduction ofexponentially decaying
reoccurrence of returnsprobability
leads to shortercycles
of booms andcrashes,
but does trot make triedynamics
more realistic.Thus,
trieassumption
of arepresentative
investor leads from reasonable microfoundations tototally
unreasonable macroeconomic results. Trie introduction ofinvestor-specific
noise does nothelp (for
further details on trie elfects of varyingdegrees
of noise see(22]).
We now tum toanalyze
trie elfects of other sources ofheterogeneity.
The first case of
non-homogeneous
investors studied was that of a market with two types of investors: investors with memory span 15 and investors with memory span 5. Ail investorswere assumed to have
loganthmic utility
functions and are dividedequally
between these two groups. The results are shown inFigure
5. As can be seen, what we have here isclearly
not asimple superposition
ofFigure
andFigure
3. Thedynamics resulting
from the interactionbetween these two investor types is very
complex, perhaps
even chaotic. We still see booms and crashes, however,they
are much lesspredictable.
Thus,heterogeneous
memory spansinduce more realistic results thon those observed in
Figures
1 and 3. It isinteresting
to note that around lime 100, there is a transition fromcycles
of about 10 periods(corresponding
to a5-penod
memoryspan)
tolonger cycles
of about 30periods (corresponding
to a15-period
memory
spart).
This can bepartially
understood fromFigure
6. InFigure
6 we see thatalthough
the two investor groups start with the same wealthdistribution,
after a number of timeperiods they
form two distinct wealth classes. Thepopulation
with thelarger
memoryspan dominates most of the money m the market. This is
probably
the reason for the transition tolonger cycles.
We continued to make investors more
heterogeneous
and for each investor in the market, we chose a random memory span between 1 and 20(utility
functions are still aillogarithrnic).
The5D% MEMORY 5, 5D% MEMORY 15
io~
io~
ii'
§
8
io'ce
o io3
ÉO
io~
io'
g
o 50 loo lso zoo
TIME (YEARS)
Fig. 5. Stock puce as a function of time resulting from two equal investor groups: one of investors with memory spart 5 and the other investors with memory spart 15 (A total of 100 investors ail with loganthmic furetions, a
=
0.2).
WEALTH DISTRIBUTION
20.0
time
~- memo~ 5
_ memo~ 15
ce ce
ÉO
~
Z lime 80
~
memo~ 5à
z
~
lime 80
*' memo~ 15
O.O
0 0 50.0 100.0 150.0 200.0
% OF AVERAGE WEALTH
Fig. 6. Wealth distribution of two investor groups
(k
= 5, k=