A11 Probability, statistics and noise · Practice
Tail bounds
Problems dealt one at a time, with new numbers every time. The kinds you miss come back more often, and you can keep going as long as you like.
0 solved
0 in a row
0 of 7 kinds solid
Check
A nonnegative quantity has mean 2. What's the most the chance it reaches 10 can be, knowing nothing else?
Check
Knowing only the mean and standard deviation, what is the largest possible chance of landing 2 or more standard deviations from the mean, in either direction?
Check
What does Chernoff's bound give for the chance a Gaussian lands at least 3 standard deviations above its mean?
Check
You estimate a probability by the fraction of successes in independent trials.
(a)
By Hoeffding's bound, how many trials guarantee an error under 0.01 with probability at least ?
(b)
How many for half that error?
Check
For the average of n = 100 Bernoulli trials with = 0.1, compute the exact chance for e = 0.05 from the binomial distribution (sum the probabilities of the counts with , using math.comb or logs to avoid overflow). Set exact, cheb to Chebyshev's bound (capped at 1), and hoeff to Hoeffding's (capped at 1).
Python 3.14 with numpy and matplotlib, running in your browser. Tab indents; press Esc and then Tab to move on.
Check
A quantity has mean 3 and standard deviation 1. By Chebyshev, at most what's the chance it reaches 15 or more (counting both tails as the bound does)?
Check
How many trials does Hoeffding's bound need for an estimate within 0.01 with confidence ?
A kind of problem counts as solid once you've got it right on the first try twice in a row. Back to the lesson · Practice every topic in A11