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

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

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

( y1, y2, y<br />

3)<br />

( y 1, , )<br />

1− y2 y3<br />

y1 y2 y3<br />

( −1, − 1, )<br />

( y1−1, y2, y3−<br />

1)<br />

( y 2, y , y )<br />

( −2, − 1, ) ( y1− 2, y2, y3− 1) ( y1− 2, y2− 2, y3)<br />

( y1− 2, y2−1, y3− 1) ( y1−2, y2, y3−<br />

2)<br />

1− 2 3 y1 y2 y3<br />

Figure 5.1: Flat algorithm (stage 1)<br />

Using the Flat algorithm, one can move along a plane until the minimum coordinate<br />

equal to zero (stage 2). For example, consider the calculation <strong>of</strong> probability p (2,2,2).<br />

Figure 5.2 and Figure 5.4 illustrate how the Flat algorithm works.<br />

(2,2,2)<br />

(1,2,2) (1,1,2) (1,2,1)<br />

(0,2,2) (0,1,2) (0,2,1) (0,0,2) (0,1,1) (0,2,0)<br />

Figure 5.2: Calculating p (2,2,2) using the Flat algorithm<br />

When you come to this stage, you can use the Flat algorithm <strong>for</strong> py (<br />

1, y<br />

2)<br />

or py ( 1, y 3)<br />

or py ( 2, y 3)<br />

according to Figure 5.3. Thus, starting from ( y1, y2, y 3)<br />

and applying the<br />

76

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

Saved successfully!

Ooh no, something went wrong!