lecture 8-cs648-2013 randomized algorithms

7
Randomized Algorithms CS648 Lecture 8 Tools for bounding deviation of a random variable Markov’s Inequality Chernoff Bound 1

Upload: anshul-yadav

Post on 26-Jun-2015

36 views

Category:

Technology


0 download

TRANSCRIPT

Page 1: Lecture 8-cs648-2013 Randomized Algorithms

Randomized AlgorithmsCS648

Lecture 8Tools for bounding deviation of a random variable• Markov’s Inequality • Chernoff Bound

1

Page 2: Lecture 8-cs648-2013 Randomized Algorithms

Markov’s Inequality and Chernoff bound were stated and proved in this lecture class in an interactive manner providing all intuition and reasoning for each step of the proof.

Page 3: Lecture 8-cs648-2013 Randomized Algorithms

Markov’s Inequality

Theorem: Suppose is a random variable defined over a probability space (,P) such ≥ 0 for each ϵ . Then for any positive real number ,then

P() ≤ Important points:• Applied only for a nonnegative random variable.• Makes sense only for .• Applied only for getting a bound of the probability of “” , (can’t be used for “”)• gives very large bound and so not useful most of the times.• Plays a key role in proving other stronger inequalities (Chernoff bound,

Chebyshev’s Inequality)

3

Page 4: Lecture 8-cs648-2013 Randomized Algorithms

Chernoff’s BoundTheorem (a): Suppose be independent Bernoulli random variables with parameters , that is, takes value 1 with probability and 0 with probability . Let and .

For any ,

Alternate and more usable forms:If then If , then

Page 5: Lecture 8-cs648-2013 Randomized Algorithms

Chernoff’s BoundTheorem (b): Suppose be independent Bernoulli random variables with parameters , that is, takes value 1 with probability and 0 with probability . Let and .

For any ,

Page 6: Lecture 8-cs648-2013 Randomized Algorithms

Chernoff’s BoundWhere to use:

If given random variable X can be expressed as a sum of n mutually independent Bernoulli random variables.

Page 7: Lecture 8-cs648-2013 Randomized Algorithms

Homework

For various problems till now, we used our knowledge of binomial coefficients, elementary probability theory and Stirling’s approximation for getting a bound on the probability of error or probability of deviation from average running time. Try to use Chernoff’s bound to analyze these problems.