modeling inter-event durations in high-frequency financial ... · durations between events let ˝ t...

38
Modeling Inter-Event Durations in High-Frequency Financial Transactions Data via Estimating Functions Nalini Ravishanker Dept. of Statistics, Univ. of Connecticut, Storrs [email protected] www.stat.uconn.edu/ ~ nalini Joint work with Yaohua Zhang (UConn), Jian Zou (WPI), A. Thavaneswaran (U. Manitoba) Nalini Ravishanker Dept. of Statistics, Univ. of Connecticut, Storrs [email protected] www.stat.uconn.edu/ ~ nalini SAMSI GDRR May 18 2016

Upload: others

Post on 31-Jul-2020

6 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Modeling Inter-Event Durations in High-Frequency Financial ... · Durations Between Events Let ˝ t be the time until the tth event, ˝ 0 being the starting time. The tth duration

Modeling Inter-Event Durations inHigh-Frequency Financial Transactions Data via

Estimating Functions

Nalini RavishankerDept. of Statistics, Univ. of Connecticut, Storrs

[email protected]/~nalini

Joint work withYaohua Zhang (UConn), Jian Zou (WPI),

A. Thavaneswaran (U. Manitoba)

Nalini Ravishanker Dept. of Statistics, Univ. of Connecticut, Storrs [email protected] www.stat.uconn.edu/~nalini

SAMSI GDRR May 18 2016

Page 2: Modeling Inter-Event Durations in High-Frequency Financial ... · Durations Between Events Let ˝ t be the time until the tth event, ˝ 0 being the starting time. The tth duration

Outline

Introduction

Estimating Function (EF) Approach for Time Series

Practical Considerations in using the EF Approach

Applications to High-Frequency Financial Data

Work in Progress

Nalini Ravishanker Dept. of Statistics, Univ. of Connecticut, Storrs [email protected] www.stat.uconn.edu/~nalini

SAMSI GDRR May 18 2016

Page 3: Modeling Inter-Event Durations in High-Frequency Financial ... · Durations Between Events Let ˝ t be the time until the tth event, ˝ 0 being the starting time. The tth duration

Introduction

The EF framework enables modeling linear or nonlinear time seriesallows efficient estimation under minimal distributionalassumptions.Godambe Biometrika 1985; Thavaneswaran and Abraham JTSA1988

Basic idea: Construct suitable unbiased martingale EstimatingFunctions (EFs) and solve the resulting Estimating Equations(EEs) to get optimal parameter estimates.

Nalini Ravishanker Dept. of Statistics, Univ. of Connecticut, Storrs [email protected] www.stat.uconn.edu/~nalini

SAMSI GDRR May 18 2016

Page 4: Modeling Inter-Event Durations in High-Frequency Financial ... · Durations Between Events Let ˝ t be the time until the tth event, ˝ 0 being the starting time. The tth duration

Recursive formulas (over time) can enable online estimation ofparameters.

This talk describes modeling inter-event durations in the EFframework, and about making the EF implementation user-friendly.

Nalini Ravishanker Dept. of Statistics, Univ. of Connecticut, Storrs [email protected] www.stat.uconn.edu/~nalini

SAMSI GDRR May 18 2016

Page 5: Modeling Inter-Event Durations in High-Frequency Financial ... · Durations Between Events Let ˝ t be the time until the tth event, ˝ 0 being the starting time. The tth duration

Durations Between Events

Let τt be the time until the tth event, τ0 being the starting time.

The tth duration is the time interval between two consecutiveoccurrences of an event:

xt = τt − τt−1, t = 1, 2, · · ·

For each event (positive integer) t, xt is a positive-valued randomvariable.

Nalini Ravishanker Dept. of Statistics, Univ. of Connecticut, Storrs [email protected] www.stat.uconn.edu/~nalini

SAMSI GDRR May 18 2016

Page 6: Modeling Inter-Event Durations in High-Frequency Financial ... · Durations Between Events Let ˝ t be the time until the tth event, ˝ 0 being the starting time. The tth duration

Inter-event Durations in Financial Transactions Level Data

High-frequency transaction level stock prices data for several yearsfrom the Trade and Quotes (TAQ) database at Wharton ResearchData Services (WRDS).

For trading days in June 2013, the data set consists of around fourmillion observations.

We selected 3 stocks based on liquidity behavior: BAC (high), IBM(medium), and 3M (low).

We considered transactions between 9:30 AM to 4:00 PM.

Nalini Ravishanker Dept. of Statistics, Univ. of Connecticut, Storrs [email protected] www.stat.uconn.edu/~nalini

SAMSI GDRR May 18 2016

Page 7: Modeling Inter-Event Durations in High-Frequency Financial ... · Durations Between Events Let ˝ t be the time until the tth event, ˝ 0 being the starting time. The tth duration

IBM Raw Transaction Data- a few rows

41438159 20130603 9:24:04.4 100 208.41

41438160 20130603 9:24:22.3 100 208.4

41438161 20130603 9:24:23.5 100 208.4

41438162 20130603 9:29:45.3 100 208.4

41438163 20130603 9:29:45.3 100 208.41

41438164 20130603 9:30:00.0 100 208.4

41438165 20130603 9:30:00.1 100 208.4

41438166 20130603 9:30:00.2 200 208.4

41438167 20130603 9:30:00.2 900 208.4

41438168 20130603 9:30:04.0 100 208.25

Nalini Ravishanker Dept. of Statistics, Univ. of Connecticut, Storrs [email protected] www.stat.uconn.edu/~nalini

SAMSI GDRR May 18 2016

Page 8: Modeling Inter-Event Durations in High-Frequency Financial ... · Durations Between Events Let ˝ t be the time until the tth event, ˝ 0 being the starting time. The tth duration

Event Definition

A practitioner may define an event, based on a certain pricechange, or a certain volume jump, etc., that directs his/herdecision making.

Each event will lead to a different set of durations obtained fromthe raw transaction-level data.

For our analysis, one event is based on a certain percent δ changeover the open price of an asset.

Nalini Ravishanker Dept. of Statistics, Univ. of Connecticut, Storrs [email protected] www.stat.uconn.edu/~nalini

SAMSI GDRR May 18 2016

Page 9: Modeling Inter-Event Durations in High-Frequency Financial ... · Durations Between Events Let ˝ t be the time until the tth event, ˝ 0 being the starting time. The tth duration

BAC-Durations Between Price Change, δ = 0.05/100

BAC 20130603/Mon

Time

BA

C1

0 2000 4000 6000 8000 10000

020

4060

80

BAC 20130604/Tues

TimeB

AC

2

0 1000 3000 5000

020

4060

BAC 20130605/Wed

Time

BA

C3

0 2000 4000 6000 8000

020

4060

BAC 20130606/Thurs

Time

BA

C4

0 2000 4000 6000

020

4060

BAC 20130607/Fri

Time

BA

C5

0 2000 4000 6000

020

4060

Nalini Ravishanker Dept. of Statistics, Univ. of Connecticut, Storrs [email protected] www.stat.uconn.edu/~nalini

SAMSI GDRR May 18 2016

Page 10: Modeling Inter-Event Durations in High-Frequency Financial ... · Durations Between Events Let ˝ t be the time until the tth event, ˝ 0 being the starting time. The tth duration

IBM-Durations Between Price Change, δ = 0.01/100

IBM 20130603/Mon

Time

IBM

1

0 1000 2000 3000

050

100

IBM 20130604/Tues

Time

IBM

20 500 1500 2500

050

100

150

IBM 20130605/Wed

Time

IBM

3

0 1000 2000 3000 4000

020

4060

80

IBM 20130606/Thurs

Time

IBM

4

0 500 1500 2500 3500

040

8012

0

IBM 20130607/Fri

Time

IBM

5

0 500 1000 1500 2000

050

150

250

Nalini Ravishanker Dept. of Statistics, Univ. of Connecticut, Storrs [email protected] www.stat.uconn.edu/~nalini

SAMSI GDRR May 18 2016

Page 11: Modeling Inter-Event Durations in High-Frequency Financial ... · Durations Between Events Let ˝ t be the time until the tth event, ˝ 0 being the starting time. The tth duration

MMM-Durations Between Price Change, δ = 0.005/100

MMM 20130603/Mon

Time

MM

M1

0 3000

020

4060

80

MMM 20130604/Tues

Time

MM

M2

0 2000 5000

020

6010

0

MMM 20130605/Wed

Time

MM

M3

0 3000

020

4060

80

MMM 20130606/Thurs

Time

MM

M4

0 2000 5000

020

4060

MMM 20130607/Fri

Time

MM

M5

0 2000

020

4060

80

Nalini Ravishanker Dept. of Statistics, Univ. of Connecticut, Storrs [email protected] www.stat.uconn.edu/~nalini

SAMSI GDRR May 18 2016

Page 12: Modeling Inter-Event Durations in High-Frequency Financial ... · Durations Between Events Let ˝ t be the time until the tth event, ˝ 0 being the starting time. The tth duration

We would like to fit suitable time series models to such durations.

Use the EF approach to estimate model parameters and domodel fitting.

Results could be one tool in the financial decision-making.

Nalini Ravishanker Dept. of Statistics, Univ. of Connecticut, Storrs [email protected] www.stat.uconn.edu/~nalini

SAMSI GDRR May 18 2016

Page 13: Modeling Inter-Event Durations in High-Frequency Financial ... · Durations Between Events Let ˝ t be the time until the tth event, ˝ 0 being the starting time. The tth duration

Examples of Duration Models

Example 1. Log ACD(1, 1) model

xt = exp(ψt)εt ,

ψt = E [xt |Ft−1] = ω + α log(xt−1) + βψt−1 (1)

where α + β < 1.

We assume εt are i.i.d. non-negative random variables withE (εt) = 1 and moments up to order 4.

Ft−1 is the σ-field generated by x1, x2, · · · , xt−1, assumed to beindependent of εt .

Nalini Ravishanker Dept. of Statistics, Univ. of Connecticut, Storrs [email protected] www.stat.uconn.edu/~nalini

SAMSI GDRR May 18 2016

Page 14: Modeling Inter-Event Durations in High-Frequency Financial ... · Durations Between Events Let ˝ t be the time until the tth event, ˝ 0 being the starting time. The tth duration

Example 2. Log ACD(p, q) model

xt = exp(ψt)εt

ψt = ω +

p∑j=1

αj log(xt−j) +

q∑j=1

βjψt−j (2)

where∑max(p, q)

j=1 (αj + βj) < 1.

Bauwens and Giot 2000 Annales d’ Economie et de Statistique.

Let θ = (ω,α,α), where α = (α1, . . . , αp) and β = (β1, . . . , βq)

Nalini Ravishanker Dept. of Statistics, Univ. of Connecticut, Storrs [email protected] www.stat.uconn.edu/~nalini

SAMSI GDRR May 18 2016

Page 15: Modeling Inter-Event Durations in High-Frequency Financial ... · Durations Between Events Let ˝ t be the time until the tth event, ˝ 0 being the starting time. The tth duration

Estimating Function (EF) Approach for Time Series

Suppose xt , t = 1, · · · , n is a realization of a discrete-time,real-valued stochastic process, whose distribution depends on avector θ ∈ Θ ⊂ Rk .

Let xn = (x1, · · · , xn)′.

Let (Ω,F ,Pθ): underlying probability space.

Let Ft : σ-field generated by x1, · · · , xt , t ≥ 1.

Let ht(xt ,θ), 1 ≤ t ≤ n be specified q-dim. martingale differences(MDs)

Nalini Ravishanker Dept. of Statistics, Univ. of Connecticut, Storrs [email protected] www.stat.uconn.edu/~nalini

SAMSI GDRR May 18 2016

Page 16: Modeling Inter-Event Durations in High-Frequency Financial ... · Durations Between Events Let ˝ t be the time until the tth event, ˝ 0 being the starting time. The tth duration

Let xt , t = 1, 2, . . . have these four conditional moments:

µt(θ) = E [xt |Ft−1] ,

σ2t (θ) = Var (xt |Ft−1) ,

γt(θ) =1

σ3t (θ)E[(xt − µt(θ))3 |Ft−1

],

κt(θ) =1

σ4t (θ)E[(xt − µt(θ))4 |Ft−1

]Goal: estimate the parameter θ based on the dependentobservations x1, . . . , xn.

Nalini Ravishanker Dept. of Statistics, Univ. of Connecticut, Storrs [email protected] www.stat.uconn.edu/~nalini

SAMSI GDRR May 18 2016

Page 17: Modeling Inter-Event Durations in High-Frequency Financial ... · Durations Between Events Let ˝ t be the time until the tth event, ˝ 0 being the starting time. The tth duration

Useful General References on EFs

Godambe Ann. Math. Stat. 1960

Durbin JRSSB 1960

Godambe Biometrika 1985

Lindsay Ann. Stat. 1985

Thavaneswaran and Thompson J. Appl. Prob. 1986

Tjøstheim Stoch. Processes and Appls. 1986

Bera et al : excellent review and historical perspectiveHandbook Econometrics 2006

Nalini Ravishanker Dept. of Statistics, Univ. of Connecticut, Storrs [email protected] www.stat.uconn.edu/~nalini

SAMSI GDRR May 18 2016

Page 18: Modeling Inter-Event Durations in High-Frequency Financial ... · Durations Between Events Let ˝ t be the time until the tth event, ˝ 0 being the starting time. The tth duration

Selected Useful References on EFs for Time Series

Thavaneswaran and Abraham JTSA 1988; Merkouris Ann.Stat. 2007; Ghahramani and Thavaneswaran JSPI 2009,2012; Thavaneswaran et al. SPL 2012: estimation for linearand nonlinear time series models using linear EFs.

Thavaneswaran and Ravishanker 2015, Handbook ofDiscrete-valued Time Series, Chapman & Hall/ CRC, eds. R.A. Davis, S. H. Holan, R. B. Lund, N. Ravishanker:integer-valued time series, esp. counts.

Thavaneswaran, Ravishanker, Liang, AISM 2015: GeneralizedDurations Models

Nalini Ravishanker Dept. of Statistics, Univ. of Connecticut, Storrs [email protected] www.stat.uconn.edu/~nalini

SAMSI GDRR May 18 2016

Page 19: Modeling Inter-Event Durations in High-Frequency Financial ... · Durations Between Events Let ˝ t be the time until the tth event, ˝ 0 being the starting time. The tth duration

No distributional assumptions are required. We only need tospecify the first few conditional moments of xt

Steps:

For each model/data framework,• Construct a suitable class of unbiased martingale EFs (theydepend on both the observations and parameters) - easy to definefor given problems;

• Find the optimal EF in this class which maximizes the Godambeinformation - our AISM paper based on Godambe/Durbin theory;

• Solve the resulting set of nonlinear EEs to obtain parameterestimates - problem specific, and straightforward.

Nalini Ravishanker Dept. of Statistics, Univ. of Connecticut, Storrs [email protected] www.stat.uconn.edu/~nalini

SAMSI GDRR May 18 2016

Page 20: Modeling Inter-Event Durations in High-Frequency Financial ... · Durations Between Events Let ˝ t be the time until the tth event, ˝ 0 being the starting time. The tth duration

Two Classes of Martingale Differences

mt(θ) = xt − µt(θ), t = 1, . . . , n

Mt(θ) = m2t (θ)− σ2t (θ), t = 1, . . . , n.

Obtain Quadratic variations and quadratic covariation

〈m〉t = E[m2

t |Ft−1]

= σ2t ,

〈M〉t = E[M2

t |Ft−1]

= σ4t (κt + 2),

〈m,M〉t = E [mtMt |Ft−1] = σ3t γt .

We describe the form of optimal EFs which maximize Godambeinformation.

Nalini Ravishanker Dept. of Statistics, Univ. of Connecticut, Storrs [email protected] www.stat.uconn.edu/~nalini

SAMSI GDRR May 18 2016

Page 21: Modeling Inter-Event Durations in High-Frequency Financial ... · Durations Between Events Let ˝ t be the time until the tth event, ˝ 0 being the starting time. The tth duration

Class of zero mean, square integrable k-dim. martingale EFs:

M =

g(xn,θ) : g(xn,θ) =

n∑t=1

at−1(θ)ht(xt ,θ)

, (3)

where at−1 is k × q Ft−1-measurable matrix, and ht(xt ,θ) is aMD (such as mt or Mt shown earlier).

Nalini Ravishanker Dept. of Statistics, Univ. of Connecticut, Storrs [email protected] www.stat.uconn.edu/~nalini

SAMSI GDRR May 18 2016

Page 22: Modeling Inter-Event Durations in High-Frequency Financial ... · Durations Between Events Let ˝ t be the time until the tth event, ˝ 0 being the starting time. The tth duration

Optimality Criterion

The optimal EF g∗(θ) maximizes the Godambe information matrix

Ig =

(n∑

t=1

at−1E

[∂ht

∂θ

∣∣∣∣Ft−1

])′( n∑t=1

E [(at−1ht)(at−1ht)′|Ft−1]

)−1

×

(n∑

t=1

at−1E

[∂ht

∂θ

∣∣∣∣Ft−1

])(4)

Assume that EF g(θ) is almost surely differentiable with respect tothe components of θ

Nalini Ravishanker Dept. of Statistics, Univ. of Connecticut, Storrs [email protected] www.stat.uconn.edu/~nalini

SAMSI GDRR May 18 2016

Page 23: Modeling Inter-Event Durations in High-Frequency Financial ... · Durations Between Events Let ˝ t be the time until the tth event, ˝ 0 being the starting time. The tth duration

Optimal EF and Corresponding Information:

g∗(θ) =n∑

t=1

a∗t−1ht =n∑

t=1

(E

[∂ht

∂θ

∣∣∣∣Ft−1

])′(E [hth

′t |Ft−1])−1ht ,

(5)

Ig∗ = E (g∗n(θ)g∗n(θ)′ (6)

Solve the set of nonlinear equations g∗(θ) = 0 to get an estimateof θ. We do this using R and Matlab.

Nalini Ravishanker Dept. of Statistics, Univ. of Connecticut, Storrs [email protected] www.stat.uconn.edu/~nalini

SAMSI GDRR May 18 2016

Page 24: Modeling Inter-Event Durations in High-Frequency Financial ... · Durations Between Events Let ˝ t be the time until the tth event, ˝ 0 being the starting time. The tth duration

Let xt denote the time series of interest. Suppose we fit (a linearor nonlinear) model involving unknown parameters θ.

Linear EF

When the MD is mt(θ) = xt − µt(θ), t = 1, . . . , n:

g∗m(θ) = −n∑

t=1

∂µt(θ)

∂θ

mt

〈m〉t(7)

with optimal information

Ig∗m

(θ) =n∑

t=1

∂µt(θ)

∂θ

∂µt(θ)

∂θ′1

〈m〉t(8)

Solve g∗m(θ) = 0 to get θm.

Nalini Ravishanker Dept. of Statistics, Univ. of Connecticut, Storrs [email protected] www.stat.uconn.edu/~nalini

SAMSI GDRR May 18 2016

Page 25: Modeling Inter-Event Durations in High-Frequency Financial ... · Durations Between Events Let ˝ t be the time until the tth event, ˝ 0 being the starting time. The tth duration

Quadratic EF

When the MD is Mt(θ) = m2t (θ)− σ2t (θ), t = 1, . . . , n:

g∗M(θ) = −n∑

t=1

∂σ2t (θ)

∂θ

Mt

〈M〉t(9)

with optimal information

Ig∗M

(θ) =n∑

t=1

∂σ2t (θ)

∂θ

∂σ2t (θ)

∂θ′1

〈M〉t(10)

Solve g∗M(θ) = 0 to get θM .

We obtain and use a combined optimal EF which is moreinformative.

Nalini Ravishanker Dept. of Statistics, Univ. of Connecticut, Storrs [email protected] www.stat.uconn.edu/~nalini

SAMSI GDRR May 18 2016

Page 26: Modeling Inter-Event Durations in High-Frequency Financial ... · Durations Between Events Let ˝ t be the time until the tth event, ˝ 0 being the starting time. The tth duration

Practical Considerations in using EF Approaches

We use three approaches:

(i) solve the system of nonlinear EEs g∗(θ) = 0 using R andMatlab;(ii) use recursive formulas for θ using R; and(iii) iterate recursive formulas for scalar components of θ using R.

As in most numerical optimization problems, it is important tohave good starting values.

Nalini Ravishanker Dept. of Statistics, Univ. of Connecticut, Storrs [email protected] www.stat.uconn.edu/~nalini

SAMSI GDRR May 18 2016

Page 27: Modeling Inter-Event Durations in High-Frequency Financial ... · Durations Between Events Let ˝ t be the time until the tth event, ˝ 0 being the starting time. The tth duration

Recursive Formulas for Fast, On-line Estimation of θ

θt ' θt−1 − [∂g∗t (θt−1)∂θ ]−1a∗t−1(θt−1)ht(θt−1)

where

K−1t = K−1t−1 − a∗t−1(θt−1)ht(θt−1)

These can be easily coded in R or Matlab.

Nalini Ravishanker Dept. of Statistics, Univ. of Connecticut, Storrs [email protected] www.stat.uconn.edu/~nalini

SAMSI GDRR May 18 2016

Page 28: Modeling Inter-Event Durations in High-Frequency Financial ... · Durations Between Events Let ˝ t be the time until the tth event, ˝ 0 being the starting time. The tth duration

Applications to High-Frequency Financial Data

Steps for Coding the EF Approach for Different Duration Models

Much of the code is the same code for nearly all models, andmay be hard-coded.

For different models, we only need to change θ, ψ, theconditional central moments of xt , viz., µt , σ

2t , γt , and κt and

their derivatives.

Get suitable starting values for the recursions using simpleapproximating time series models that we can fit easily.

Run the recursions, or solve the nonlinear equations.

Need high numerical accuracy routines/functions.

Nalini Ravishanker Dept. of Statistics, Univ. of Connecticut, Storrs [email protected] www.stat.uconn.edu/~nalini

SAMSI GDRR May 18 2016

Page 29: Modeling Inter-Event Durations in High-Frequency Financial ... · Durations Between Events Let ˝ t be the time until the tth event, ˝ 0 being the starting time. The tth duration

Simulation Studies: Log ACD(1, 1) model

We simulate L = 100 sets of durations data, each of lengthn = 2500, from the Log ACD(p, q) model, when εt hasexponential, gamma, or Weibull distributions.

An error distribution is only assumed for the simulation study.

All three EF methods - solving the nonlinear equations, or therecursions on the θ vector, or recursions on scalar components - allconverged to the true values.

Nalini Ravishanker Dept. of Statistics, Univ. of Connecticut, Storrs [email protected] www.stat.uconn.edu/~nalini

SAMSI GDRR May 18 2016

Page 30: Modeling Inter-Event Durations in High-Frequency Financial ... · Durations Between Events Let ˝ t be the time until the tth event, ˝ 0 being the starting time. The tth duration

Table for Log ACD(1,1)

Para True InitialRecursive Matrix Recursive Scalar NLEQN

5th 50th 95th 5th 50th 95th 5th 50th 95thω 0.5 0.438 0.436 0.444 0.453 0.425 0.437 0.446 0.437 0.438 0.438α 0.15 0.140 0.139 0.143 0.146 0.137 0.140 0.143 0.140 0.140 0.144β 0.75 0.738 0.712 0.721 0.730 0.716 0.724 0.730 0.738 0.738 0.739ω 1.5 1.415 1.405 1.441 1.601 1.581 1.581 1.584 1.415 1.415 1.415α 0.1 0.089 0.088 0.090 0.101 0.100 0.101 0.103 0.089 0.089 0.089β 0.8 0.808 0.703 0.922 0.956 0.926 0.926 0.928 0.808 0.808 0.808ω 2.5 2.467 2.407 2.473 2.489 2.459 2.474 2.481 2.467 2.467 2.467α 0.2 0.243 0.236 0.244 0.245 0.242 0.244 0.244 0.243 0.243 0.243β 0.6 0.539 0.532 0.539 0.541 0.537 0.539 0.540 0.538 0.539 0.539ω 3.2 2.967 2.884 2.967 3.099 2.819 2.964 2.987 2.960 2.967 2.974α 0.3 0.272 0.259 0.272 0.295 0.265 0.272 0.304 0.269 0.272 0.273β 0.55 0.576 0.567 0.576 0.591 0.563 0.576 0.576 0.551 0.576 0.576

Nalini Ravishanker Dept. of Statistics, Univ. of Connecticut, Storrs [email protected] www.stat.uconn.edu/~nalini

SAMSI GDRR May 18 2016

Page 31: Modeling Inter-Event Durations in High-Frequency Financial ... · Durations Between Events Let ˝ t be the time until the tth event, ˝ 0 being the starting time. The tth duration

Table for Log ACD(2,1)

Table: Percentiles of parameter estimates for the Log ACD(2,1) model;n = 2500, L = 100.

Para True InitialRecursive Matrix Recursive Scalar NLEQN

5th 50th 95th 5th 50th 95th 5th 50th 95thω 10 9.679 10.66 10.69 10.72 10.29 10.34 10.37 9.67 9.69 13.06α1 0.10 0.081 0.082 0.082 0.082 0.094 0.095 0.098 0.078 0.081 0.392α2 -0.50 -0.501 -0.483 -0.477 -0.472 -0.459 -0.455 -0.454 -0.501 -0.501 0.130β 0.06 0.051 0.051 0.051 0.051 0.054 0.054 0.055 -0.372 0.051 0.051ω 5.0 5.102 5.102 5.102 5.102 5.102 5.102 5.102 3.371 5.061 6.135α1 0.11 0.100 0.100 0.100 0.100 0.100 0.100 0.100 -0.198 0.141 0.422α2 0.50 0.496 0.496 0.496 0.496 0.496 0.496 0.496 0.294 0.535 1.063β 0.20 0.191 0.191 0.191 0.191 0.191 0.191 0.191 -0.254 0.242 0.488

Nalini Ravishanker Dept. of Statistics, Univ. of Connecticut, Storrs [email protected] www.stat.uconn.edu/~nalini

SAMSI GDRR May 18 2016

Page 32: Modeling Inter-Event Durations in High-Frequency Financial ... · Durations Between Events Let ˝ t be the time until the tth event, ˝ 0 being the starting time. The tth duration

Parameter estimates under Log ACD(1,1); IBM, June 2013

DateRecursive Scalar NLEQN

ω α β ω α β20130603 -0.017 0.225 0.521 -0.053 0.188 0.52420130604 0.098 0.279 0.355 0.093 0.117 0.25520130605 -0.017 0.292 0.354 -0.021 0.292 0.35520130606 -0.007 0.282 0.405 -0.025 0.267 0.41020130607 0.083 0.233 0.601 0.082 0.175 0.51220130610 0.137 0.270 0.494 -0.022 0.183 0.49720130611 0.050 0.184 0.658 0.087 0.084 0.68520130612 0.106 0.214 0.477 0.106 0.216 0.47620130613 0.006 0.327 0.373 -0.006 0.320 0.36820130614 0.200 0.279 0.319 0.007 0.182 0.31220130617 0.009 0.221 0.670 0.007 0.218 0.66620130618 0.217 0.255 0.420 -0.081 0.106 0.41820130619 -0.018 0.306 0.402 -0.071 0.255 0.29720130620 -0.059 0.225 0.592 -0.078 0.201 0.58920130621 -0.184 0.270 0.538 -0.230 0.221 0.51020130624 -0.276 0.259 0.408 -0.299 0.118 0.39620130625 -0.163 0.289 0.460 -0.260 0.263 0.34920130626 -0.082 0.250 0.484 -0.077 0.250 0.48120130627 -0.095 0.285 0.460 -0.174 0.181 0.47720130628 -0.201 0.267 0.567 -0.317 0.081 0.353

Nalini Ravishanker Dept. of Statistics, Univ. of Connecticut, Storrs [email protected] www.stat.uconn.edu/~nalini

SAMSI GDRR May 18 2016

Page 33: Modeling Inter-Event Durations in High-Frequency Financial ... · Durations Between Events Let ˝ t be the time until the tth event, ˝ 0 being the starting time. The tth duration

Work in progress

Construct portfolio decisions based on such estimates and fits...

Suppose Xt(d) denotes the tth duration for the d th day;t = 1, . . . , n(d), and d = 1, . . . ,D.

Fit a Log ACD(p, q) model to daily durations.Let Xt(d) = exp ψt(d)µε.

For each day, get average estimated duration

X (d) = 1n(d)

∑n(d)t=1 Xt(d).

Find the empirical percentiles of X (1), . . . , X (D).

Nalini Ravishanker Dept. of Statistics, Univ. of Connecticut, Storrs [email protected] www.stat.uconn.edu/~nalini

SAMSI GDRR May 18 2016

Page 34: Modeling Inter-Event Durations in High-Frequency Financial ... · Durations Between Events Let ˝ t be the time until the tth event, ˝ 0 being the starting time. The tth duration

We can check whether the average observed duration for anew/hold-out day d∗ lies within the 95% empirical limits, say.

We can also study average durations in short diurnal time intervalsof length ` minutes rather than a whole day, and count instancesof whether an average observed duration is in or not thecorresponding limits.

We can construct integer-valued time series based on questions ofinterest.

Nalini Ravishanker Dept. of Statistics, Univ. of Connecticut, Storrs [email protected] www.stat.uconn.edu/~nalini

SAMSI GDRR May 18 2016

Page 35: Modeling Inter-Event Durations in High-Frequency Financial ... · Durations Between Events Let ˝ t be the time until the tth event, ˝ 0 being the starting time. The tth duration

BAC-Hiistograms of Events in 15 minute intervals

20130603/Monday

020

060

010

00

604

1066

590

816

573563450

357273271

192171239

167112120150187

140144221189228243

711

20130604/Tuesday

010

030

050

0

324353

149

234230178168166

125167

136140137107

276251234263

235175199208

315253

592

20130605/Wednesday

020

040

060

080

0

404

535583

341287

352280

232225262206

151211248

168183171234236

321

211309307

254

922

20130606/Thursday

010

030

050

0

352349373

254200

165185163

268293

544

393

329319

240

149160190

249

163218

162207217

561

20130607/Friday

020

040

060

080

0

479456

314370

302

191214252151137

224196147

195145

201

90153161181

313

196205306

1016

Nalini Ravishanker Dept. of Statistics, Univ. of Connecticut, Storrs [email protected] www.stat.uconn.edu/~nalini

SAMSI GDRR May 18 2016

Page 36: Modeling Inter-Event Durations in High-Frequency Financial ... · Durations Between Events Let ˝ t be the time until the tth event, ˝ 0 being the starting time. The tth duration

IBM-Histograms of Events in 15 minute intervals

20130603/Monday

050

100

200

300

328

246

362

208

310

235

175154164

119135

94

127

82869371

85110

48

8883856980

131

20130604/Tuesday

050

100

150

154155

121

67

93

133132126

9585

112

7983

36

94

130125118

124113

86

102

119

165

114

20130605/Wednesday

050

100

150

200 193

155160153

139

201

126

97

179183

114

79

190183

113105

130

151165

124118

91

185

155146

20130606/Thursday

050

100

150

200

250

272

217

127

153134

117

6870

111129

143

171

90

137128

77

137

1049085

102

71

9880

139

20130607/Friday

050

100

150

200

153

200192

153

5974

89100

645848

35312733

5136

48

79

27

52

9883

44

116

Nalini Ravishanker Dept. of Statistics, Univ. of Connecticut, Storrs [email protected] www.stat.uconn.edu/~nalini

SAMSI GDRR May 18 2016

Page 37: Modeling Inter-Event Durations in High-Frequency Financial ... · Durations Between Events Let ˝ t be the time until the tth event, ˝ 0 being the starting time. The tth duration

MMM-Histograms of Events in 15 minute intervals

20130603/Monday

010

030

050

0

298

580

418

552

383352

302257

217193187171148150131162147171

90

179197178193252

361

20130604/Tuesday

010

020

030

040

0

270267

183

132

200174

130122115124137

80

133106

422

184191220

158170178

333307311

378

20130605/Wednesday

010

020

030

040

050

0

234

299339

193202221

158184162

114154

126151150160181

149179169

220228238

339344

508

20130606/Thursday

050

150

250 265251

299

245222212

174

112

303

205228

194205

322

279

165

12613912594

171

123

260276

246

20130607/Friday0

100

300

500

222264253266

170213

180180114108117111

14880 9511290

159138160140147135151

647

Nalini Ravishanker Dept. of Statistics, Univ. of Connecticut, Storrs [email protected] www.stat.uconn.edu/~nalini

SAMSI GDRR May 18 2016

Page 38: Modeling Inter-Event Durations in High-Frequency Financial ... · Durations Between Events Let ˝ t be the time until the tth event, ˝ 0 being the starting time. The tth duration

We are now investigating ways in which these results can beincorporated into financial portfolio analysis?

Thank you!

Nalini Ravishanker Dept. of Statistics, Univ. of Connecticut, Storrs [email protected] www.stat.uconn.edu/~nalini

SAMSI GDRR May 18 2016