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.

58 CHAPTER 3. DISCRETE RANDOM VARIABLES<br />

This is indeed true, which we will now derive. First we’ll need some facts (which you should file<br />

mentally for future use as well):<br />

Properties <strong>of</strong> Geometric Series:<br />

(a) For any t = 1 and any nonnegative integers r ≤ s,<br />

s<br />

i=r<br />

t i r 1 − ts−r+1<br />

= t<br />

1 − t<br />

(3.81)<br />

This is easy <strong>to</strong> derive for the case r = 0, using mathematical induction. For the general case,<br />

just fac<strong>to</strong>r out t s−r .<br />

(b) For |t| < 1,<br />

∞<br />

i=0<br />

t i = 1<br />

1 − t<br />

To prove this, just take r = 0 and let s → ∞ in (3.81).<br />

(c) For |t| < 1,<br />

This is derived by applying d<br />

dt<br />

Deriving (3.80) is then easy, using (3.83):<br />

∞<br />

it i−1 =<br />

i=1<br />

<strong>to</strong> (3.82).5<br />

EW =<br />

= p<br />

1<br />

(1 − t) 2<br />

(3.82)<br />

(3.83)<br />

∞<br />

i(1 − p) i−1 p (3.84)<br />

i=1<br />

= p ·<br />

= 1<br />

p<br />

∞<br />

i(1 − p) i−1<br />

i=1<br />

1<br />

[1 − (1 − p)] 2<br />

5 To be more careful, we should differentiate (3.81) and take limits.<br />

(3.85)<br />

(3.86)<br />

(3.87)

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

Saved successfully!

Ooh no, something went wrong!