On Trades, Volume, and the Martingale Estimating Function Approach - - PowerPoint PPT Presentation

on trades volume and the martingale estimating function
SMART_READER_LITE
LIVE PREVIEW

On Trades, Volume, and the Martingale Estimating Function Approach - - PowerPoint PPT Presentation

On Trades, Volume, and the Martingale Estimating Function Approach for Stochastic Volatility Models with Jumps Friedrich Hubalek (Joint work with Petra Posedel) Johann Radon Institute for Computational and Applied Mathematics (RICAM) Special


slide-1
SLIDE 1

On Trades, Volume, and the Martingale Estimating Function Approach for Stochastic Volatility Models with Jumps

Friedrich Hubalek (Joint work with Petra Posedel) Johann Radon Institute for Computational and Applied Mathematics (RICAM) Special Semester on Stochastics with Emphasis on Finance Concluding Workshop Linz, December 2–4, 2008.

slide-2
SLIDE 2

Our papers

◮ Friedrich Hubalek and Petra Posedel, Joint analysis and

estimation of stock prices and trading volume in Barndorff-Nielsen and Shephard stochastic volatility models, arXiv:0807.3464 (July 2008)

◮ Friedrich Hubalek and Petra Posedel, Asymptotic analysis for

a simple explicit estimator in Barndorff-Nielsen and Shephard stochastic volatility models, arXiv:0807.3479 (July 2008)

◮ Friedrich Hubalek and Petra Posedel, Asymptotic analysis for

an optimal estimating function for Barndorff-Nielsen-Shephard stochastic volatility models, Work in progress.

slide-3
SLIDE 3

The Barndorff-Nielsen and Shephard stochastic volatility models with jumps

◮ Logarithmic returns (discounted)

dX(t) = (µ + βV (t−))dt +

  • V (t−)dW (t) + ρdZλ(t)

◮ Instantaneous variance

dV (t) = −λV (t−)dt + dZλ(t) W . . . Brownian motion, Z. . . subordinator, Zλ(t) = Z(λt) [. . . ]

◮ Parameters: µ ∈ R. . . linear drift, β ∈ R. . . Itˆ

  • drift,

ρ ∈ R. . . leverage, λ > 0. . . acf parameter.

slide-4
SLIDE 4

Analytical tractability

◮ (X(t), V (t), t ≥ 0). . . Markov, affine model (in continuous

time)

◮ simple Riccati-type equations for characteristic resp. moment

generating function

◮ general solution (up to one integral) ◮ Γ-OU and IG-OU completely explicitly in terms of elementary

functions Exploited in

◮ Option pricing (Nicolato and Venardos) ◮ Portfolio optimization (Benth et al.) ◮ Minimum entropy martingale measure (Benth et al.,

Rheinl¨ ander and Steiger)

◮ Semimartingal Esscher transform (Hubalek and Sgarra) ◮ . . .

slide-5
SLIDE 5

But statistical inference seems difficult! Bayesian, MCMC — computer intensive approaches!

◮ Barndorff-Nielsen O.E., Shephard N. (2001), Non-Gaussian

Ornstein-Uhlenbeck-based models and some of their uses in financial economics.

◮ Roberts G.O., Papaspiliopoulos O., Dellaportas P. (2004),

Bayesian inference for non-Gaussian Ornstein-Uhlenbeck stochastic volatility processes,

◮ J.E. Griffin, M.F.J. Steel (2006), Inference with non-Gaussian

Ornstein-Uhlenbeck processes for stochastic volatility

◮ Matthew P.S. Gandera and David A. Stephens (2007),

Stochastic volatility modelling in continuous time with general marginal distributions: Inference, prediction and model selection

◮ Sylvia Fr¨

uhwirth-Schnatter and Leopold S¨

  • gner (2007?),

Bayesian estimation of stochastic volatility models based on OU processes with marginal Gamma laws.

slide-6
SLIDE 6

Discrete observations

Grid ti = iδ, i ≥ 0, fixed width ∆ > 0, discrete time observations Xi = X(ti) − X(ti−1), Vi = V (ti) Discrete dynamics Xi = µ∆ + βYi +

  • YiWi + ρZi,

Vi = eλ∆Vi−1 + Ui Auxiliary quantities (no discretization error!) Zi = Zλ(ti) − Zλ(ti−1), Ui = ti

ti−1

e−λ(ti−s)dZλ(s) and Yi = ti

ti−1

V (s−)ds, Wi = 1 √Yi ti

ti−1

  • V (s−)dW (s).

(Xi, Vi, i ∈ N). . . Markov affine model (in discrete time)

slide-7
SLIDE 7

Construction and moments

Two starting points

◮ L . . . infinitely divisible distribution on R+ ⇒ subordinator Z

with Z(1) d = L ⇒ (OU-L)

◮ D . . . self-decomposable distribution on R+ ⇒ stationary

Ornstein-Uhlenbeck process V with V (t) d = D ⇒ (D-OU) Moments of D resp. L → all (mixed, conditional, unconditional) integer moments by simple algebra (multivariate Faa di Bruno formula resp. Bell polynomials, practical calculations best by recursions!) E[X n

i ], E[V n i ], E[X m i V n i ], E[X ℓ i V m i V n i−1],

E[X n

i |Vi−1], E[V n i |Vi−1], E[X m i V n i |Vi−1], . . .

⇒ method of moments estimation

slide-8
SLIDE 8

Various methods of moments

◮ Method of moments — MM (Pearson 1893) ◮ Generalized method of moments — GMM (Hansen 1982) ◮ Simulated method of moments — SMM (. . . ) ◮ Efficient method of moments — EMM (Gallant and Tauchen

1996),

◮ . . . ◮ [Methods of moments for weak convergence]

slide-9
SLIDE 9

Estimation: Setting and problems

Grid, fixed width, horizon (number of observations) going to Infinity for asymptotics! (Several other possibilities. . . )

◮ Rich, well-informed financial institutions and traders observe

and trade in continous-time

◮ Poor, academic statisticians and econometers do inference

with daily (or less frequent!) observations

◮ [But: High-frequence analyses . . . ]

Discrete time observations ⇒ Vi not observed, BNS becomes non-Markovian, (a hidden Markov model)!

slide-10
SLIDE 10

Remedies

◮ Substitute unobserved Vi → model-implied ˆ

Vi from option data, i.e., joint analysis of P and Q. Cf.

◮ Jun Pan, The Jump-Risk Premia Implicit in Options: Evidence

from an Integrated Time-Series Study (2002).

(GMM, realistic, complicated, many assumptions.) Also our long term goal!

◮ Ignore the problem. Purely theoretical study, exhibits

methodology, provides an upper bound for the accuracy for this type of methods. See our first paper!

◮ NOW: Substitute unobserved Vi by an observable proxy,

volume or number of trades.

slide-11
SLIDE 11

Prices, volatility, trading intensity

Our incentive

◮ Carl Lindberg, The estimation of the Barndorff-Nielsen and

Shephard model from daily data based on measures of trading

  • intensity. Applied Stochastic Models in Business and Industry

24 (4), 2008. Some earlier/classical references

◮ J. M. Karpoff, The relation between price changes and trading

volume: a survey. JFQA 22, 1987.

◮ R.P.E. Gallant, A.R. and G. Tauchen, Stock prices and

volume, Rev.Fin.Stud. 5:199–242, 1992.

◮ K.G. Jones, C. and M.L. Lipson, Transactions, volume and

  • volatility. Rev.Fin.Stud. 7:631–651, 1994.

◮ G.E. Tauchen and M.Pitts, The Price Variability-Volume

Relationship on Speculative Markets Econometrica 51,(1983).

slide-12
SLIDE 12

The new variant/interpretation of the BNS models

Bold simplification/assumption: Instantaneous variance IS a (constant) multiple of the trading volume resp. number of trades. Introduce a proportionality parameter σ > 0. [. . . ]

◮ Logarithmic returns

dX(t) = (µ + βV (t−))dt + σ

  • V (t−)dW (t) + ρdZλ(t)

◮ Trading volume (or number of trades)

dV (t) = −λV (t−)dt + dZλ(t) W . . . Brownian motion, Z. . . subordinator, Zλ(t) = Z(λt) [. . . ]

◮ Parameters: µ ∈ R. . . linear drift, β ∈ R. . . Itˆ

  • drift,

σ > 0. . . proportionality, ρ ∈ R. . . leverage, λ > 0. . . acf parameter.

slide-13
SLIDE 13

What about maximum likelihood ?

◮ Practical issue: Bivariate Markov, known transition probability

(in terms of characteristic resp. cumulant function) ⇒ invert for each observation in each iterations [Possible remedies, approximate inversions, LeCam’s trick,. . . ]

◮ Theoretical issue: For infinite activity BDLP (e.g., IG-OU)

fine, for finite activity (e.g., Γ-OU with exponential compound Poisson BDLP) Pλ[V1 = ve−λ∆|V0 = v] = e−λ∆ (no jump) ⇒ No dominating sigma-finite measure! ⇒ Usual ML framework does not apply!

◮ Generalized ML (Kiefer and Wolfowitz 1956) [. . . ] ◮ Much better than √n by ad hoc (?) methods! [. . . ]

slide-14
SLIDE 14

Martingale estimating functions

E.g., Γ(ν, α)-OU: Parameter vector (3 + 4 = 7) θ = (λ, ν, α, µ, β, σ, ρ) Moments Ξi = (Vi, ViVi−1, V 2

i , Xi, XiVi−1, XiVi, X 2 i ),

Υi = (Vi−1, V 2

i−1)

Martingale estimating function Gn(θ) = 1 n

n

  • i=1

[Ξi − f (Vi−1, θ)] , f (v, θ) = Eθ[Ξ1|V0 = v] Estimator: Solve Gn(θ) = 0 ! Sample moments ξn = 1 n

n

  • i=1

Ξi, υn = 1 n

n

  • i=1

Υi,

slide-15
SLIDE 15

The explicit estimator

Unique solution exists on Cn =

  • ξ2

n − ξ1 nυ1 n > 0, υ2 n − (υ1 n)2 > 0

  • and is given by

γn = (ξ2

n − ξ1 nυ1 n)/(υ2 n − (υ1 n)2);

ζn = γnυ1

n − ξ1 n

−1 + γn λn = − log(γn)/∆; ηn = −(−1 + γ2

n)(υ1 n)2 − γ2 nυ2 n + ξ3 n

−1 + γ2

n

ǫn = (1 − γn)/λn; βn = (ξ5

n − υ1 nξ4 n)

ǫn(υ2

n − (υ1 n)2);

ρn =

  • − βnǫn(−(υ1

n)2 + ǫnλn(ηn + (υ1 n)2 − υ2 n) + υ2 n) − ξ1 nξ4 n + ξ6 n

  • /(2ǫnηnλn);

µn =

  • − ∆λnρnζn − βn(∆ζn + ǫn(−ζn + υ1

n)) + ξ4 n

  • /∆;

σn =

  • an/bn;

bn = ∆ζn + ǫn(−ζn + υ1

n);

an = λ−1

n

  • 4βn(−∆ + ǫn)ηnλnρn + β2

n(−2∆ηn + ǫn(ηn(2 + ǫnλn)

+ǫnλn((υ1

n)2 − υ2 n))) + λn(−2∆ηnλnρ2 n − (ξ4 n)2 + ξ7 n)

  • ;

Structure: First λn, νn, αn are simple AR(1) estimators, then µn, βn, ρn from a simple linear system, finally σn from a quadratic equation.

slide-16
SLIDE 16

Consistency

The basic (and only!) assumption: V0 self-decomposable rv on R+ with E[V n

0 ] < ∞

∀n ∈ N. The basic convergence result 1 n

n

  • i=1

X p

i V q i V r i−1 a.s.

− → E[X p

1 V q 1 V r 0 ]

∀p, q, r ∈ N. Remark: Ergodicity vs. simple proof. Martingale differences ⇒ uncorreclated ⇒ elementary convergence result.

Theorem

We have P(Cn) → 1 and the estimator ˆ θn is consistent on Cn, namely ˆ θnICn

a.s.

− → θ0 as n → ∞.

slide-17
SLIDE 17

Asymptotic normality — delta method

◮ Explicit estimator ⇒ Delta-Method applies: Sample moments

(ξn, υn)

D

− → N(0, Σ) estimator θn = h(ξn, υn) result √n(θn − θ0)

D

− → N(0, T) T = JΣJ⊤ Jacobian J = ∇h. Messy.

◮ Better: General framework (implicit function theorem)

◮ Michael Sørensen, Statistical inference for discretely observed

diffusions, Lecture Notes, Berlin, 1997.

◮ Michael Sørensen, On asymptotics of estimating functions,

  • Brazil. J. Prob. Stat. (1999).

Also when estimating functions Gn(θ) explicit, but estimator θn is not [. . . optimal estimating functions].

slide-18
SLIDE 18

Asymptotic normality — general framework

Basic result: asymptotic normality of estimating functions 1 √nGn(θ0)

D

− → N(0, Λ), Λ = E[Var[Ξ1]|V0] Proof by multivariate martingale central limit theorem.

Theorem

The estimator θnICn is asymptotically normal, namely √n ˆ θn − θ0

  • D

− → N(0, T), T = A−1Λ(A−1)⊤ as n → ∞, with Jacobian A = E[∇f (V0, θ0)].

◮ Recall f (v, θ) = Eθ[Ξ1|V0 = v] and E = Eθ0. ◮ Matrices A and Λ simple, explicit, (slightly lengthy).

slide-19
SLIDE 19

Finite sample performance — the controlled simulation experiment

Γ-OU: Volume V (t) ∼ Γ(ν, α) stationary, BDLP Z compound Poisson, intensity λ exponential jumps with mean 1/α.

◮ Parameter values (annual, 250 trading days)

ν = 6.17, α = 1.42, λ = 177.95, β = −0.015, ρ = −0.00056, µ = 0.435, σ = 0.087.

◮ BDLP: 4.4 jumps per day (interesting pieces of news

arriving?), each jump with mean and stddev 0.704.

◮ Volume (in Mio): Stationary mean 4.35, variance 0.033 ⇒

Volatility ≈ 18%. ACF half-life ≈1 day.

◮ Log returns: Mean -6.5%, volatility 18%. ◮ Experiments: n=2500 (10 years), n = 8000 (32 years,

theoretical check).

slide-20
SLIDE 20

Simulated paths 1

Volume

500 1000 1500 2000 2500 5 10 15 τ

t

Volatility

500 1000 1500 2000 2500 0.05 0.1 0.15 0.2 0.25 0.3 0.35 Volatility

t

slide-21
SLIDE 21

Simulated paths 2

Returns

500 1000 1500 2000 2500 −0.04 −0.03 −0.02 −0.01 0.01 0.02 0.03 0.04 0.05 X

t

slide-22
SLIDE 22

Asymptotic performance

◮ True values θ = (ν, α, λ, β, ρ, µ, σ)

θ = (6.17, 1.42, 177.95, −0.015, −0.00056, 0.435, 0.087)

◮ Asymptotic stddev s/√n

s = (12.0, 2.8, 440, 9.0, 2.6, 0.066, 0.007)

◮ Asymptotic correlation r

r =           1 0.9 0.6 0.007 0.05 0.006 −0.003 0.9 1 0.6 0.007 0.05 0.01 −0.004 0.6 0.6 1 0.01 0.09 −0.0006 0.00 0.007 0.008 0.01 1 −0.8 −0.01 0.03 0.05 0.05 0.09 −0.8 1 0.01 −0.5 0.006 0.01 −0.0006 −0.01 0.01 1 −0.005 −0.003 −0.004 0.00 0.03 −0.5 −0.005 1          

◮ Big r in AR(1)-part! ⇒ Optimal estimating function.

slide-23
SLIDE 23

Histograms: m = 1000 replications, each n = 2500

  • bservations, volume parameters

5.5 6 6.5 7 0.2 0.4 0.6 0.8 1 1.2 1.4 1.6 1.8 nu 1.2 1.3 1.4 1.5 1.6 1.7 1 2 3 4 5 6 7 8 alpha 150 160 170 180 190 200 210 0.005 0.01 0.015 0.02 0.025 0.03 0.035 0.04 0.045 0.05 lambda

slide-24
SLIDE 24

Histograms : m = 1000 replications, each n = 2500

  • bservations, return parameters

−0.25 −0.2 −0.15 −0.1 −0.05 0.05 0.1 0.15 0.2 1 2 3 4 5 6 7 8 beta −10 −8 −6 −4 −2 x 10

−4

500 1000 1500 2000 2500 3000 3500 rho −0.4 −0.2 0.2 0.4 0.6 0.8 1 1.2 0.5 1 1.5 2 mu 0.082 0.084 0.086 0.088 0.09 0.092 0.094 50 100 150 200 250 300 sigma

slide-25
SLIDE 25

A first empirical analysis — data

Closing price and volume

◮ IBM: March 23, 2003 – March 23, 2008 [NYSE], 1259

  • bservations

◮ MSFT: April 11, 2003 – Feb 4, 2008 [Nasdaq], 1212

  • bservations
slide-26
SLIDE 26

IBM data

Price

2004 2005 2006 2007 2008 70 80 90 100 110 120 130

Volume

2004 2005 2006 2007 2008 2 4 6 8 10 12 14 16 18 20

slide-27
SLIDE 27

MSFT data

Price

2004 2005 2006 2007 2008 20 22 24 26 28 30 32 34 36 38

Volume

2004 2005 2006 2007 2008 0.1 0.2 0.3 0.4 0.5 0.6 0.7

slide-28
SLIDE 28

Estimation results

IBM stddev ˆ ν 6.17 0.339 ˆ α 1.42 0.079 ˆ λ 177.95 12.509 ˆ µ 0.435 0.254 ˆ β

  • 0.015

0.072 ˆ σ 0.087 0.002 ˆ ρ

  • 0.00056

0.0002 MSFT stddev ˆ ν 4.496 0.247 ˆ α 67.895 3.773 ˆ λ 201.99 14.420 ˆ µ 0.4162 0.265 ˆ β

  • 0.464

5.059 ˆ σ 0.81 0.018 ˆ ρ

  • 0.025

0.013 Interpretation: [. . . ]

slide-29
SLIDE 29

Unconditional return distributions

Theoretical BNS (dashed) versus kernel estimates (solid)

−0.1 −0.08 −0.06 −0.04 −0.02 0.02 0.04 0.06 5 10 15 20 25 30 35 40 45 −0.15 −0.1 −0.05 0.05 0.1 5 10 15 20 25 30 35 40 45

Log densities

−8 −6 −4 −2 2 4 6 −25 −20 −15 −10 −5 −8 −6 −4 −2 2 4 6 −35 −30 −25 −20 −15 −10 −5

slide-30
SLIDE 30

Autocorrelation function (volume)

5 10 15 20 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1 Autocorrelation for variance ACF IBM estimated theoretical ACF 5 10 15 20 0.2 0.4 0.6 0.8 1 1.2 Autocorrelation for variance ACF MSFT estimated theoretical ACF

⇒ BNS with Superposition of OU-processes [. . . ]

slide-31
SLIDE 31

Model fit — residual analysis

◮ Volume: Usual (and exact) AR(1) analysis, though with funny

innovations (Ui) iid, Vi − e−λ∆ = Ui, Ui = ti

ti−1

e−λ(ti−s)dZλ(s)

◮ Returns: Not exact (?), Euler approximation

. . .

slide-32
SLIDE 32

Further developments and directions 1

Superposition V (t) = w1V1(t)+· · ·+wmVm(t), dVi(t) = −λiVi(t−)dt+dZi(λit) (X, V1, . . . , Vm) Markov affine ⇒ Observations?

◮ V1. . . common factor (market volume,. . . ) ◮ V2. . . idiosyncratic factor (asset volume,. . . ) ◮ V3. . . ? (similar asset? . . . ?)

slide-33
SLIDE 33

Further developments and directions 2

◮ Number of trades (Lindberg!) ◮ Optimal martingale estimating functions

Gn(θ) =

n

  • i=1

B(θ, Vi−1) [Ξi − f (θ, Vi−1)) f (θ, v) = Eθ[Ξi|Vi−1 = v]

◮ Comparison with ML and related methods (for infinite activity) ◮ Comparison with GMM ◮ Hybrid approaches ◮ Other moments (trigonometric, c.f., Singleton, . . . ) ◮ Other time-scales (!!!) ◮ Integrated analysis for asset and derivatives