08.10.2016 Views

Foundations of Data Science

2dLYwbK

2dLYwbK

SHOW MORE
SHOW LESS

Create successful ePaper yourself

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

is another situation in which we can derive a tighter bound than that given by the Chebyshev<br />

inequality. We consider the case where the n independent variables are binomial but<br />

similar results can be shown for independent random variables from any distribution that<br />

has a finite variance.<br />

Let x 1 , x 2 , . . . , x n be independent random variables where<br />

x i =<br />

{ 0 Prob 1 − p<br />

1 Prob p<br />

.<br />

∑<br />

Consider the sum s = n x i . Here the expected value <strong>of</strong> each x i is p and by linearity <strong>of</strong><br />

i=1<br />

expectation, the expected value <strong>of</strong> the sum is m=np. Theorem 12.5 bounds the probability<br />

that the sum s exceeds (1 + δ) m.<br />

Theorem 12.3 For any δ > 0, Prob ( s > (1 + δ)m ) (<br />

<<br />

Pro<strong>of</strong>: For any λ > 0, the function e λx is monotone. Thus,<br />

) m<br />

e δ<br />

(1+δ) (1+δ)<br />

Prob ( s > (1 + δ)m ) = Prob ( e λs > e λ(1+δ)m) .<br />

e λx is nonnegative for all x, so we can apply Markov’s inequality to get<br />

Since the x i are independent,<br />

Prob ( e λs > e λ(1+δ)m) ≤ e −λ(1+δ)m E ( e λs) .<br />

E ( e λs) = E<br />

=<br />

(<br />

)<br />

e λ ∑ n x i<br />

i=1<br />

= E<br />

n∏ (<br />

e λ p + 1 − p ) =<br />

i=1<br />

( n<br />

∏<br />

i=1<br />

e λx i<br />

Using the inequality 1 + x < e x with x = p(e λ − 1) yields<br />

)<br />

=<br />

n∏<br />

E ( e ) λx i<br />

i=1<br />

n∏ (<br />

p(e λ − 1) + 1 ) .<br />

i=1<br />

Thus, for all λ > 0<br />

E ( e λs) n∏<br />

< e p(eλ−1) .<br />

i=1<br />

Prob ( s > (1 + δ)m ) ≤ Prob ( e λs > e λ(1+δ)m)<br />

≤ e −λ(1+δ)m E ( e λs)<br />

≤ e −λ(1+δ)m<br />

n<br />

∏<br />

i=1<br />

e p(eλ −1) .<br />

398

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

Saved successfully!

Ooh no, something went wrong!