06.03.2017 Views

Mathematics for Computer Science

e9ck2Ar

e9ck2Ar

SHOW MORE
SHOW LESS

Create successful ePaper yourself

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

“mcs” — 2017/3/3 — 11:21 — page 896 — #904<br />

896<br />

Chapter 20<br />

Deviation from the Mean<br />

Problem 20.26.<br />

The proof of the Pairwise Independent Sampling Theorem 20.4.1 was given <strong>for</strong><br />

a sequence R 1 ; R 2 ; : : : of pairwise independent random variables with the same<br />

mean and variance.<br />

The theorem generalizes straigh<strong>for</strong>wardly to sequences of pairwise independent<br />

random variables, possibly with different distributions, as long as all their variances<br />

are bounded by some constant.<br />

Theorem (Generalized Pairwise Independent Sampling). Let X 1 ; X 2 ; : : : be a sequence<br />

of pairwise independent random variables such that VarŒX i b <strong>for</strong> some<br />

b 0 and all i 1. Let<br />

A n WWD X 1 C X 2 C C X n<br />

;<br />

n<br />

n WWD ExŒA n :<br />

Then <strong>for</strong> every > 0,<br />

PrŒjA n n j b 2 1 n : (20.28)<br />

(a) Prove the Generalized Pairwise Independent Sampling Theorem.<br />

(b) Conclude that the following holds:<br />

Corollary (Generalized Weak Law of Large Numbers). For every > 0,<br />

Exam Problems<br />

lim<br />

n!1 PrŒjA n n j D 1:<br />

Problem 20.27.<br />

You work <strong>for</strong> the president and you want to estimate the fraction p of voters in the<br />

entire nation that will prefer him in the upcoming elections. You do this by random<br />

sampling. Specifically, you select a random voter and ask them who they are going<br />

to vote <strong>for</strong>. You do this n times, with each voter selected with uni<strong>for</strong>m probability<br />

and independently of other selections. Finally, you use the fraction P of voters<br />

who said they will vote <strong>for</strong> the President as an estimate <strong>for</strong> p.<br />

(a) Our theorems about sampling and distributions allow us to calculate how confident<br />

we can be that the random variable P takes a value near the constant p. This<br />

calculation uses some facts about voters and the way they are chosen. Indicate the<br />

true facts among the following:<br />

1. Given a particular voter, the probability of that voter preferring the President<br />

is p.

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

Saved successfully!

Ooh no, something went wrong!