02.12.2012 Views

Applications of state space models in finance

Applications of state space models in finance

Applications of state space models in finance

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

26 3 L<strong>in</strong>ear Gaussian <strong>state</strong> <strong>space</strong> <strong>models</strong> and the Kalman filter<br />

The first is to employ a diffuse prior that fixes a1 at an arbitrary value and allows<br />

the diagonal elements <strong>of</strong> P 1 to go to <strong>in</strong>f<strong>in</strong>ity. Follow<strong>in</strong>g Durb<strong>in</strong> and Koopman (2001,<br />

¢ 5.1) a general specification for the <strong>in</strong>itial <strong>state</strong> vector is given by<br />

ξ 1 = a + Aδ + R0η 0, δ ∼ N(0, κIq), η 0 ∼ N(0, Q 0), (3.49)<br />

where the m × 1 vector a can be treated as a zero vector whenever none <strong>of</strong> the elements<br />

<strong>of</strong> <strong>of</strong> ξ 1 are known constants. The m × q matrix A and the m × (m − q) matrix R0 are<br />

fixed and known selection matrices with A ′ R0 = 0. The <strong>in</strong>itial covariance matrix Q 0 is<br />

assumed to be known and positive def<strong>in</strong>ite. The q × 1 vector δ is treated as a random<br />

variable with <strong>in</strong>f<strong>in</strong>ite variance and is called the diffuse vector as κ → ∞. This leads to<br />

P 1 = P ∗ + κP ∞, (3.50)<br />

with P ∗ = R0Q 0 R ′ 0 and P ∞ = AA ′ . With some elements <strong>of</strong> ξ 1 be<strong>in</strong>g diffuse, the<br />

<strong>in</strong>itialization <strong>of</strong> the Kalman filter is referred to as diffuse <strong>in</strong>itialization. However, <strong>in</strong><br />

cases where P ∞ is a nonzero matrix, the standard Kalman filter cannot be employed<br />

as no real value can represent κ as κ → ∞. It is necessary to f<strong>in</strong>d an approximation<br />

or to modify the Kalman filter <strong>in</strong> an appropriate way. The technique that will be<br />

used throughout this thesis is based on Harvey and Phillips (1979). The two authors<br />

propose to replace κ by a large but f<strong>in</strong>ite numerical value, which enables the use <strong>of</strong> the<br />

standard Kalman filter. They showed that this will yield a good approximation, where<br />

the rema<strong>in</strong><strong>in</strong>g round<strong>in</strong>g errors are small.<br />

As an alternative to the large κ approximation, exact <strong>in</strong>itialization techniques have<br />

been developed for κ → ∞. However, exact treatments turn out to be difficult to<br />

implement and cannot deal with the general multivariate l<strong>in</strong>ear Gaussian <strong>state</strong> <strong>space</strong><br />

model directly. They will not f<strong>in</strong>d any consideration hereafter. For details on alternative<br />

exact treatments <strong>of</strong> the <strong>in</strong>itial Kalman filter, see, for example, Ansley and Kohn (1985),<br />

de Jong (1988b, 1991) and Koopman (1997).<br />

The assumption <strong>of</strong> an <strong>in</strong>f<strong>in</strong>ite variance might be regarded unnatural as all observed<br />

time series have a f<strong>in</strong>ite variance. This leads to the third way <strong>of</strong> <strong>in</strong>itialization: Rosenberg<br />

(1973) considers ξ 1 to be an unknown constant that can be estimated from the first<br />

observation y 1 by maximum likelihood. It can be shown that by this procedure, the<br />

same <strong>in</strong>itialization <strong>of</strong> the filter is obta<strong>in</strong>ed as by assum<strong>in</strong>g that ξ 1 is a random variable<br />

with <strong>in</strong>f<strong>in</strong>ite variance (cf. Durb<strong>in</strong> and Koopman 2001, ¢ 2.9).<br />

In the follow<strong>in</strong>g, unless genu<strong>in</strong>e prior <strong>in</strong>formation on a1 and P 1 is available, a diffuse<br />

prior with a = 0, P ∗ = 0 and P ∞ = I will be used such that ξ 1 ∼ N(0, κI). Follow<strong>in</strong>g<br />

the recommendation <strong>of</strong> Koopman et al. (1999), κ is first set to 10 6 and then multiplied<br />

by the maximum diagonal value <strong>of</strong> the residual covariances to adjust for scale:<br />

κ = 10 6 � �<br />

Qt 0<br />

× max 1,<br />

0 Ht<br />

��<br />

. (3.51)<br />

It should be noted that the <strong>in</strong>itialization is not trivial for the multivariate case. It is<br />

possible that the part <strong>of</strong> F −1<br />

t that is l<strong>in</strong>ked to P ∞ is sometimes s<strong>in</strong>gular with different<br />

cannot simply be expanded <strong>in</strong> powers <strong>of</strong> κ−1 for the first few<br />

ranks. In these cases F −1<br />

t

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!