02.09.2014 Views

multivariate poisson hidden markov models for analysis of spatial ...

multivariate poisson hidden markov models for analysis of spatial ...

multivariate poisson hidden markov models for analysis of spatial ...

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

al., 1977) or gradient techniques can be used to estimate the model parameters. We will<br />

describe the solution <strong>for</strong> this problem based on the Baum-Welch method.<br />

Baum-Welch algorithm<br />

To describe the Baum-Welch algorithm (<strong>for</strong>ward-backward algorithm) one needs to<br />

define two other variables in addition to the <strong>for</strong>ward and backward variables defined<br />

previously.<br />

The first variable is defined as the probability <strong>of</strong> being in state i at time t , and in state<br />

j at time t + 1, given the model and the observation sequence<br />

ξ (, i j) = P[ S = i, S = j| Y=<br />

y ; λ]<br />

. (3.12)<br />

t t t+<br />

1<br />

Using Bayes law and the independency assumption, the equation (3.12) can be written<br />

as<br />

PS [<br />

t<br />

= iS ,<br />

t+<br />

1<br />

= j, Y=<br />

y; λ]<br />

ξt<br />

(, i j)<br />

=<br />

P[ Y=<br />

y; λ]<br />

() t () t *() t *() t<br />

t<br />

Y y λ Y y<br />

t+<br />

1 t<br />

PS [ = i, = ; ] P[ = , S = j| S = i; λ]<br />

=<br />

P[ Y=<br />

y; λ]<br />

() t () t *() t *() t<br />

t<br />

Y y λ<br />

t+ 1 t<br />

Y y<br />

t+<br />

1 t<br />

PS [ = i, = ; ] PS [ = j| S = iP ] [ = | S = jS , = i; λ]<br />

=<br />

P[ Y=<br />

y; λ]<br />

() t () t *( t+ 1) *( t+<br />

1)<br />

t<br />

= = λ<br />

t+ 1= t<br />

=<br />

t+ 1= t+ 1 t+<br />

1= λ =<br />

PS [ i, Y y ; ] PS [ j| S iPY ] [ y | S j; ] P[ Y y | St<br />

+ 1<br />

; ]<br />

=<br />

= j λ<br />

P[ Y=<br />

y; λ]<br />

(3.13)<br />

and by the way that <strong>for</strong>ward and backward variables are defined, we can use them to<br />

write ξ ( i,<br />

j)<br />

in the <strong>for</strong>m<br />

t<br />

38

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

Saved successfully!

Ooh no, something went wrong!