Indirect Estimation of the Parameters of Agent Based Models of

Download Report

Transcript Indirect Estimation of the Parameters of Agent Based Models of

Indirect Estimation of the
Parameters of Agent Based
Models of Financial Markets
Peter Winker
Manfred Gilli
1
Outline






Background Information.
Introduction.
Method.
Result.
Conclusion of the Paper.
Further Improvement.
2
Standard Models

Assumptions


Agents are fully rational.
Markets are efficient.
3
Rational Behaviour

Agent is rational if





He is aware of his alternatives.
Form expectations about any unknowns.
Has clear preferences.
Chooses his action deliberately after some
process of optimization.
Taking into account their knowledge or
expectations of other decision makers’
behaviour.
4
Efficient Market Hypothesis



All market participants receive and act on
all relevant information as soon as it is
available.
Perfect information within the market.
Cannot “beat the market”.
5
Agent Based Models




Agents to be heterogenous.
Agents with limited rational behaviour.
Market does not need to be efficient.
Interaction between agents.
6
Parameters



Not directly observable.
Compare with empirical data.
DM/US-$ exchange rate.
7
Characteristic of DM/US-$
Daily Returns DM/US-$
8
Characteristic of DM/US-$


Excess kurtosis.
4
 E X  X
Volatility varies over time.




AR(1) process with ARCH(1) effect.
2
rt   0  1rt 1   t where V  t    0   1 t 1
9
Model (Kirman 1990)







Two prevalent views of the world.
Each agent holds one view.
N agents.
State: number of agents, k, for first view.
Two agents, A and B, meet at random.
P(A’s view → B’s view) = 1   .
P(A changed his view independently) =  .
10
Model (Kirman 1990)

N k
Pk , k  1 
N
k
Pk , k  1 
N

k 

  1    N  1
N k

  1    N  1 
1

N 1
If
, large shares of first type of
agents and second type of agents,
respectively, with high probability.
11
Fundamentalist / Chartists

There are two types of agents:

Fundamentalist:


Chartist:


E f S t 1   v S  S t

E St 1   St  St 1
c
12
Advantages


Complicated non-stationary dynamics.
Non-fundamentalist behaviour.
13
Simulation

Objective function.





f  k d  k demp   1  1emp
1
estimated ARCH(1)-effect.
k d emp empirical kurtosis.
k d and  1 mean values from 1000
simulations.
emp
First and last 10% results deleted.
14
Monte Carlo Simulation
200 Monte Carlo simulation
15
Monte Carlo Simulation
10000 Monte Carlo simulation
16
Monte Carlo Simulation
10000 Monte Carlo simulation
17
Threshold Accepting





Initial: Choose threshold sequence
Ti , i  0,, I max , set i  0
c
and generate an initial x .
n
c
Step 1: Choose some x  N x .
n
c
Step 2: Calculate f  f x   f x  .
c
n
Step 3: If f  Ti , set x  x .
Step 4: If i  I max , set i  i  1 and go to 1.
c
Otherwise, output x .
18
 
Simulation
19
Simulation
20
Result


Optimal values are   0.0008571 and
  0.3250
1

N  1 , market is better characterized by
switching moods of the investors than by
assuming that the mix of fundamentalists
and chartists remains rather stable over
time.
21
Conclusion




Agent based models can replicate
empirical data of the financial markets.
Parameters may be difficult to estimate.
Indirect method can be used.
Optimization heuristic may need to be
used.
22
Further Improvement



First and last 10% simulation results
removed. Too much?
Number of parameters to be estimated.
Only two types of agents?
23
Reference



Fama, E.F. 1970, “Efficient capital markets: a review of theory and empirical
work”, Journal of Finance, V25, Issue 2, p383-417.
Gilli, M., Winker, P. 2003, “A global optimization heuristic for estimating
agent based models”, Computational Statistics & Data Analysis, 42, p299312.
Kirman, A. 1990, “Epidemics of opinion and speculative bubbles in financial
markets”, in Taylor M.P.(eds), Money and financial markets, Basil Blackwell
Ltd, Oxford, p354-368.

Tsay, R.S. 2002, Analysis of financial time series, John Wiley & Sons, Inc.

Winker, P. 2001, “Application of the optimization heuristic threshold
accepting in statistics”.
24