06.03.2017 Views

Mathematics for Computer Science

e9ck2Ar

e9ck2Ar

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.

“mcs” — 2017/3/3 — 11:21 — page 890 — #898<br />

890<br />

Chapter 20<br />

Deviation from the Mean<br />

Hint: Suppose the sample space outcomes are ! 1 ; ! 2 ; : : : ; ! n , and let<br />

p WWD .p 1 ; p 2 ; : : : ; p n / where p i D p PrŒ! i ;<br />

r WWD .r 1 ; r 2 ; : : : ; r n / where r i D jR.! i / j p PrŒ! i :<br />

As usual, let v w WWD P n<br />

iD1 v iu i denote the dot product of n-vectors v; w, and let<br />

jvj be the norm of v, namely, p v v.<br />

Then verify that<br />

jpj D 1; jrj D ; and ExΠjR j D r p:<br />

Problem 20.17.<br />

Prove the following “one-sided” version of the Chebyshev bound <strong>for</strong> deviation<br />

above the mean:<br />

Lemma (One-sided Chebyshev bound).<br />

PrŒR<br />

ExŒR x <br />

VarŒR<br />

x 2 C VarŒR :<br />

Hint: Let S a WWD .R ExŒR C a/ 2 , <strong>for</strong> 0 a 2 R. So R ExŒR x<br />

implies S a .x C a/ 2 . Apply Markov’s bound to PrŒS a .x C a/ 2 . Choose a to<br />

minimize this last bound.<br />

Problem 20.18.<br />

Prove the pairwise independent additivity of variance Theorem 20.3.8: If R 1 ; R 2 ; : : : ; R n<br />

are pairwise independent random variables, then<br />

VarŒR 1 C R 2 C C R n D VarŒR 1 C VarŒR 2 C C VarŒR n : (*)<br />

Hint: Why is it OK to assume ExŒR i D 0?<br />

Exam Problems<br />

Problem 20.19.<br />

You are playing a game where you get n turns. Each of your turns involves flipping<br />

a coin a number of times. On the first turn, you have 1 flip, on the second turn you<br />

have two flips, and so on until your nth turn when you flip the coin n times. All the<br />

flips are mutually independent.<br />

The coin you are using is biased to flip Heads with probability p. You win a turn<br />

if you flip all Heads. Let W be the number of winning turns.

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

Saved successfully!

Ooh no, something went wrong!