20.03.2013 Views

From Algorithms to Z-Scores - matloff - University of California, Davis

From Algorithms to Z-Scores - matloff - University of California, Davis

From Algorithms to Z-Scores - matloff - University of California, Davis

SHOW MORE
SHOW LESS

Create successful ePaper yourself

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

20.1. DISCRETE-TIME MARKOV CHAINS 407<br />

ɛ = lim<br />

n→∞ P (En) (20.21)<br />

= lim<br />

n→∞ P (Bn = 1 and Dn) (20.22)<br />

= lim<br />

n→∞ P (Bn = 1)P (Dn) (20.23)<br />

= 0.5(π1 + π2 + π3 + π4) (20.24)<br />

Here we used the fact that Bn and the receiver state are independent.<br />

Note that with the interpretation <strong>of</strong> π as the stationary distribution <strong>of</strong> the process, in Equations<br />

(20.21) above, we do not even need <strong>to</strong> take limits.<br />

Equations (20.21) follow a pattern we’ll use repeatedly in this chapter. In subsequent<br />

examples we will not show the steps with the limits, but the limits are indeed there.<br />

Make sure <strong>to</strong> mentally go through these steps yourself. 3<br />

Now <strong>to</strong> get µ in terms <strong>of</strong> the πi note that since µ is the long-run average number <strong>of</strong> bits between<br />

receiver replacements, it is then the reciprocal <strong>of</strong> η, the long-run fraction <strong>of</strong> bits that result in<br />

replacements. For example, say we replace the receiver on average every 20 bits. Over a period<br />

<strong>of</strong> 1000 bits, then (speaking on an intuitive level) that would mean about 50 replacements. Thus<br />

approximately 0.05 (50 out <strong>of</strong> 1000) <strong>of</strong> all bits results in replacements.<br />

µ = 1<br />

η<br />

(20.25)<br />

Again suppose k = 5. A replacement will occur only from states <strong>of</strong> the form (4,j), and even then<br />

only under the condition that the next reported bit is a 0. In other words, there are three possible<br />

ways in which replacement can occur:<br />

(a) We are in state (4,0). Here, since the receiver has failed, the next reported bit will definitely<br />

be a 0, regardless <strong>of</strong> that bit’s true value. We will then have a <strong>to</strong>tal <strong>of</strong> k = 5 consecutive<br />

received 0s, and therefore will replace the receiver.<br />

(b) We are in the state (4,1), and the next bit <strong>to</strong> arrive is a true 0. It then will be reported as a<br />

0, our fifth consecutive 0, and we will replace the receiver, as in (a).<br />

(c) We are in the state (4,1), and the next bit <strong>to</strong> arrive is a true 1, but the receiver fails at that<br />

time, resulting in the reported value being a 0. Again we have five consecutive reported 0s,<br />

so we replace the receiver.<br />

3 The other way <strong>to</strong> work this out rigorously is <strong>to</strong> assume that X0 has the distribution π, as in Section 20.1.2.4.<br />

Then no limits are needed in (20.21. But this may be more difficult <strong>to</strong> understand.

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

Saved successfully!

Ooh no, something went wrong!