Markov and Chebyshev Bounds for Algorithms

Apply first-moment and variance bounds to random processing costs and see why a mean alone does not imply concentration.

Source
Anbloq
Language
English
Created
Updated
Chapters
2
Reading time
1 min
In this article2 chapters
  1. Compare the threshold to the expected contribution
  2. Apply the first argument to squared deviation

Compare the threshold to the expected contribution

For a nonnegative random variable \(X\), the threshold event \(X\ge a\) contributes at least \(a\) times its probability to the mean. Thus \(\Pr[X\ge a]\le \mathbb E[X]/a\) for \(a>0\). A randomized job taking expected work 20 has probability at most one tenth of reaching work 200. The estimate can be tight when positive work nearly always comes in a single rare expensive event.

Apply the first argument to squared deviation

Using Markov on \((X-\mathbb E X)^2\) gives Chebyshev’s bound \(\operatorname{Var}(X)/t^2\) on deviation at least \(t\) from the mean. For \(100\) independent fair bits, their sum has mean \(50\) and variance \(25\). A departure of at least \(10\) has probability at most \(1/4\). Independence makes the variances add. Limited independence can suffice for that calculation. Chernoff and Hoeffding bounds use bounded independent terms to obtain stronger tails.[1][2]

References

  1. MIT OpenCourseWare, Design and Analysis of Algorithms: Lecture Notes ↩
  2. Michael Mitzenmacher and Eli Upfal, Probability and Computing ↩