A Tractable State-Space Model for Symmetric Positive-Definite - - PowerPoint PPT Presentation

a tractable state space model for symmetric positive
SMART_READER_LITE
LIVE PREVIEW

A Tractable State-Space Model for Symmetric Positive-Definite - - PowerPoint PPT Presentation

A Tractable State-Space Model for Symmetric Positive-Definite Matrices Jesse Windle 1 Carlos Carvalho 2 August 9, 2015 1 Hi Fidelity Genetics 2 The University of Texas at Austin 1 The Basic Story 1. The Bayesian analysis of


slide-1
SLIDE 1

A Tractable State-Space Model for Symmetric Positive-Definite Matrices

Jesse Windle1 Carlos Carvalho2 August 9, 2015

1 Hi Fidelity Genetics 2 The University of Texas at Austin 1

slide-2
SLIDE 2

The Basic Story

  • 1. The Bayesian analysis of covariance-matrix-valued state-space

models can be difficult.

  • 2. The subsequent model is computationally tractable, but it

comes at a cost.

2

slide-3
SLIDE 3

State-Space Models

Latent States: xt−1 xt xt+1 Observations: yt−1 yt yt+1 System’s parameters, θ

3

slide-4
SLIDE 4

State-Space Models

Latent States: xt−1 xt xt+1 Observations: yt−1 yt yt+1 System’s parameters, θ

T

  • i=1

p(yt|xt, θ) T

  • i=2

p(xt|xt−1, θ)

  • p(x1|θ)

3

slide-5
SLIDE 5

State-Space Models

Latent States: xt−1 xt xt+1 Observations: yt−1 yt yt+1 System’s parameters, θ

Filter: p(xt|y1:t).

3

slide-6
SLIDE 6

State-Space Models

Latent States: xt−1 xt xt+1 Observations: yt−1 yt yt+1 System’s parameters, θ

Smooth: p(x1:T|y1:T).

3

slide-7
SLIDE 7

State-Space Models

Latent States: xt−1 xt xt+1 Observations: yt−1 yt yt+1 System’s parameters, θ

Infer: p(θ|y1:T).

3

slide-8
SLIDE 8

State-Space Models in Finance

Rt ∼ N(0, Vt), Vt ∼ P(Vt−1).

4

slide-9
SLIDE 9

State-Space Models in Finance

Rt ∼ N(0, Vt), Vt ∼ P(Vt−1).

4

slide-10
SLIDE 10

State-Space Models in Finance

Rt ∼ N(0, Vt), Vt ∼ P(Vt−1).

5

slide-11
SLIDE 11

State-Space Models in Finance

Rt,i ∼ N(0, Vt/k), i = 1, . . . , k, Vt ∼ P(Vt−1).

5

slide-12
SLIDE 12

State-Space Models in Finance

Yt ∼ Wm(k, Vt/k), Yt =

k

  • i=1

Rt,iR′

t,i

Vt ∼ P(Vt−1).

5

slide-13
SLIDE 13

State-Space Models in Finance

Yt ∼ Wm(k, X −1

t

/k), Yt =

k

  • i=1

Rt,iR′

t,i

Xt ∼ P(Xt−1).

5

slide-14
SLIDE 14

Our hands are now tied

T

  • i=1

p(Yt|Xt, θ)

  • Wishart

T

  • i=2

p(Xt|Xt−1, θ)

  • p(X1|θ)

Problem: Moving around the state-space. xt = Lower(Xt) ∼ GP ?

  • d1

c c d2

  • 6
slide-15
SLIDE 15

Pick a new set of coordinates?

Matrix logarithm [Bauer and Vorkink, 2011]: Xt = Ut exp(Dt)U′

t,

log Xt = UtDtU′

t,

Zt = Lower(log Xt). T

  • i=1

p(Yt|Xt, θ)

  • Wishart

T

  • i=1

p(Xt|Xt−1, θ)

  • p(X0|θ)

p(X1:T|Y1:T, θ) → Gibbs + Metropolis-Hastings. p(Xt|X−t, Y1:T, θ).

7

slide-16
SLIDE 16

Pick a new set of coordinates?

LDL decomposition [Chiriac and Voev, 2010, Loddo et al., 2011]: Xt = Lt exp(Dt)L′

t,

Zt = ( StrictLower(Lt), Diag(Dt) ). T

  • i=1

p(Yt|Xt, θ)

  • Wishart

T

  • i=1

p(Xt|Xt−1, θ)

  • p(X0|θ)

p(X1:T|Y1:T, θ) → Gibbs + Metropolis-Hastings. p(Xt|X−t, Y1:T, θ).

7

slide-17
SLIDE 17

Use the original coordinates?

Xt = StΨtS′

t, StS′ t = f (Xt−1)

Source f (Xt−1) Ψt p(X1:T|Y1:T, θ) (1) λ−1Xt−1 Wm(ρ, Im/ρ) (2) λ−1Xt−1 βm

  • n

2, 1 2

  • (1) Philipov and Glickman [2006], Asai and McAleer [2009]

(2) Uhlig [1997], Rank m=1 Case Only Other relevant work: Gourieroux et al. [2009], Fox and West [2011]; Prado and West [2010], Jin and Maheu [2013], Shirota et al. [2015]. GARCH literature... Bauwens et al. [2006].

8

slide-18
SLIDE 18

Use the original coordinates?

Xt = StΨtS′

t, StS′ t = f (Xt−1)

Source f (Xt−1) Ψt p(X1:T|Y1:T, θ) (1) λ−1Xt−1 Wm(ρ, Im/ρ) Gibbs + MH (2) λ−1Xt−1 βm

  • n

2, 1 2

  • p(Xt|Y1:t, θ)

(1) Philipov and Glickman [2006], Asai and McAleer [2009] (2) Uhlig [1997], Rank m=1 Case Only Other relevant work: Gourieroux et al. [2009], Fox and West [2011]; Prado and West [2010], Jin and Maheu [2013], Shirota et al. [2015]. GARCH literature... Bauwens et al. [2006].

8

slide-19
SLIDE 19

Use the original coordinates?

Xt = StΨtS′

t, StS′ t = f (Xt−1)

Source f (Xt−1) Ψt p(X1:T|Y1:T, θ) (1) λ−1Xt−1 Wm(ρ, Im/ρ) Gibbs + MH (2) λ−1Xt−1 βm

  • n

2, 1 2

  • p(Xt|Y1:t, θ)

(1) Philipov and Glickman [2006], Asai and McAleer [2009] (2) Uhlig [1997], Rank m=1 Case Only Other relevant work: Gourieroux et al. [2009], Fox and West [2011]; Prado and West [2010], Jin and Maheu [2013], Shirota et al. [2015]. GARCH literature... Bauwens et al. [2006].

8

slide-20
SLIDE 20

Uhlig Extension

Xt = StΨtS′

t, StS′ t = λ−1 Xt−1

Ψt ∼ βm n 2, k 2

  • , k ∈ N;

Easy to compute:

◮ p(Xt|Y1:t, θ) Wishart ◮ p(Xt|Y1:t, Xt+1, θ) Shifted Wishart ◮ p(X1:T|Y1:T, θ) 9

slide-21
SLIDE 21

Uhlig Extension

Xt = StΨtS′

t, StS′ t = λ−1 Xt−1

Ψt ∼ βm n 2, k 2

  • , k ∈ N;

Easy to compute:

◮ p(Xt|Y1:t, θ) Wishart ◮ p(Xt|Y1:t, Xt+1, θ) Shifted Wishart ◮ p(X1:T|Y1:T, θ) ◮ p(Yt|Yt−1, θ) Multivariate compound gamma

= ⇒ p(Y1:T|θ).

9

slide-22
SLIDE 22

Uhlig Extension

Xt = StΨtS′

t, StS′ t = λ−1 Xt−1

Ψt ∼ βm n 2, k 2

  • , k ∈ N;

Easy to compute:

◮ p(Xt|Y1:t, θ) Wishart ◮ p(Xt|Y1:t, Xt+1, θ) Shifted Wishart ◮ p(X1:T|Y1:T, θ) ◮ p(Yt|Yt−1, θ) Multivariate compound gamma

= ⇒ p(Y1:T|θ). Only need to record: Σt = λΣt−1 + Yt.

9

slide-23
SLIDE 23

How does this work? Key Transformation

Muirhead [1982], Uhlig [1997], D´ ıaz-Garc´ ıa and J´ aimez [1997]: Wishart

  • Mult. Beta

Xt−1 Ψt ⊥ Wishart Wishart λXt Zt ⊥ g

10

slide-24
SLIDE 24

How does this work? Key Transformation

Muirhead [1982], Uhlig [1997], D´ ıaz-Garc´ ıa and J´ aimez [1997]: Wishart

  • Mult. Beta

Xt−1 Ψt ⊥ Wishart Wishart λXt Zt ⊥ g Density of rank-deficient Wishart π−(mk−k2)/2|L|(k−m−1)/2 2mk/2Γk k

2

  • |V |k/2

exp

  • tr − 1

2V −1Y

  • (dY ) = 2−k

k

  • i=1

lm−k

i k

  • i<j

(li − lj)(H′

1d H1) ∧ k

  • i=1

dli. (Introductory text: Mikusi´ nski and Taylor [2002])

10

slide-25
SLIDE 25

Example

◮ 30 stocks from DJIA as of Oct. 2010. ◮ Feb. 27, 2007 to Oct. 29, 2010. ◮ Yt: Realized kernels (e.g. Barndorff-Nielsen et al. [2009]) 11

slide-26
SLIDE 26

Prediction Exercise

  • Predictive portfolios:

π∗

t = argmin π′1=1

π′ ˆ Vtπ ˆ Vt = E[Vt|Y1:t−1].

  • Performance:

portfolio variation = var(π∗

t ′rt).

root mean variation FSV Extension 0.00977 Uhlig Extension 0.00936.

12

slide-27
SLIDE 27

Prediction Exercise

13

slide-28
SLIDE 28

Drawbacks

Discussion:

◮ Roberto Casarin ◮ Catherine Scipione Forbes ◮ Enrique ter Horst, German Molina 14

slide-29
SLIDE 29

Drawback: Xt is not stationary (realism)

15

slide-30
SLIDE 30

Drawback: Xt is not stationary (predictions)

16

slide-31
SLIDE 31

Drawback: Xt is not stationary (predictions)

16

slide-32
SLIDE 32

Drawback: Xt is not stationary (predictions)

Predictions of future variance: Mh = E[X −1

t+h | X −1 t

], h > 0. Konno [1988]: Mh = n + k − m − 1 n − m − 1 λ Mh−1 where M0 = X −1

t

.

17

slide-33
SLIDE 33

What does this work at all?

18

slide-34
SLIDE 34

What does this work at all?

18

slide-35
SLIDE 35

Volatility models: think in terms of forecasts

◮ Uhlig extension :

E[X −1

t+1|Y1:t, θ] =

λk n − m − 1 t−1

  • i=0

λiYt−i + λtΣ0

  • .

19

slide-36
SLIDE 36

Volatility models: think in terms of forecasts

◮ Uhlig extension (EWMA):

E[X −1

t+1|Y1:t, θ] =

λk n − m − 1 t−1

  • i=0

λiYt−i + λtΣ0

  • .

n + k − m − 1 n − m − 1 λ = 1 = ⇒ E[X −1

t+1|Y1:t, θ] = (1 − λ)

t−1

  • i=0

λiYt−i + λtΣ0

  • .

19

slide-37
SLIDE 37

Volatility models: think in terms of forecasts (continued)

◮ “GARCH” (EWMA-MR):

E[X −1

t+1|Y1:t, θ] ≃ (1 − γ)C + γ (1 − λ)

  • t
  • i=0

λiYt−i

  • .

◮ Univariate stochastic volatility:

EWMA-MR of the log squared returns

◮ Leverage effects:

asymmetrically weight past observations depending on market movements.

20

slide-38
SLIDE 38

Estimating θ = (n, k, λ, Σ0)

The model: Yt = Wm(k, (kXt)−1), Xt = StΨtS′

t, StS′ t = λ−1 Xt−1,

Ψt ∼ βm n 2, k 2

  • , k ∈ N.

Conjugate prior: X1 ∼ Wm(n, (λ k Σ0)−1). Y−τ, . . . , Y0,Y1, . . . , YT. Σt =

t−1

  • i=0

λiYt−i + λtΣ0 → Σ0(λ) =

−τ

  • i=0

λiY−i + 0.

21

slide-39
SLIDE 39

Estimating θ = (n, k, λ, Σ0)

The model: Yt = Wm(k, (kXt)−1), Xt = StΨtS′

t, StS′ t = λ−1 Xt−1,

Ψt ∼ βm n 2, k 2

  • , k ∈ N.

Conjugate prior: X1 ∼ Wm(n, (λ k Σ0)−1). Y−τ, . . . , Y0,Y1, . . . , YT. Σt =

t−1

  • i=0

λiYt−i + λtΣ0 → Σ0(λ) =

−τ

  • i=0

λiY−i + 0.

21

slide-40
SLIDE 40

Recapitulation

  • 1. Given our specific observation distribution, it isn’t easy to

construct tractable matrix-valued state-space models.

  • 2. Uhlig essentially provides a way to do this, but it comes with

a cost. Slides with references: http://www.jessewindle.com/

22

slide-41
SLIDE 41

Thank you for your attention. http://www.jessewindle.com/

23

slide-42
SLIDE 42
  • M. Asai and M. McAleer. The structure of dynamic correlations in multivariate stochastic volatility models.

Journal of Econometrics, 150:182–192, 2009.

  • O. E. Barndorff-Nielsen, P. R. Hansen, A. Lunde, and N. Shephard. Realized kernels in practice: Trades and
  • quotes. Econometrics Journal, 12(3):C1–C32, 2009.
  • G. H. Bauer and K. Vorkink. Forecasting multivariate realized stock market volatility. Journal of Econometrics,

160:93–101, 2011.

  • L. Bauwens, S. Laurent, and J. V. K. Rombouts. Multivariate GARCH models: a survey. Journal of Applied

Econometrics, 21:7109, 2006.

  • R. Chiriac and V. Voev. Modelling and forecasting multivariate realized volatility. Journal of Applied Econometrics,

26:922–947, 2010.

  • J. A. D´

ıaz-Garc´ ıa and R. G. J´

  • aimez. Proof of the conjectures of H. Uhlig on the singular multivariate beta and the

Jacobian of a certain matrix transformation. The Annals of Statistics, 25:2018–2023, 1997.

  • E. B. Fox and M. West. Autoregressive models for variance matrices: Stationary inverse Wishart processes.

Technical report, Duke University, July 2011.

  • C. Gourieroux, J. Jasiak, and R. Sufana. The Wishart autoregressive process of multivariate stochastic volatility.

Journal of Econometrics, 150:167–181, 2009.

  • X. Jin and J. M. Maheu. Modeling realized covariances and returns. Journal of Financial Econometrics, 11(2):

335–369, 2013.

  • Y. Konno. Exact moments of the multivariate F and beta distributions. Journal of the Japanese Statistical Society,

18:123–130, 1988.

  • A. Loddo, S. Ni, and D. Sun. Selection of multivariate stochastic volatility models via bayesian stochastic search.

Journal of Business and Economic Statistics, 29:342–355, 2011.

  • P. Mikusi´

nski and M. D. Taylor. An Introduction to Multivariate Analysis. Birkh¨ auser, 2002.

  • R. J. Muirhead. Aspects of Multivariate Statistical Theory. Wiley, 1982.
  • A. Philipov and M. E. Glickman. Multivariate stochastic volatility via Wishart processes. Journal of Business and

Economic Statistics, 24:313–328, July 2006.

  • R. Prado and M. West. Time Series: Modeling, Computation, and Inference, chapter Multivariate DLMs and

Covariance Models, pages 263–319. Chapman & Hall/CRC, 2010.

  • S. Shirota, Y. Omori, H. F. Lopes, and H. Piao. Cholesky realized stochastic volatility, July 2015. URL

http://econpapers.repec.org/paper/tkyfseres/2015cf979.htm. Shirota attends Duke University.

  • H. Uhlig. Bayesian vector autoregressions with stochastic volatility. Econometrica, 65(1):59–73, Jan. 1997.

24