BernsteinUngleichung
The Bernstein inequality is a fundamental result in probability theory that provides an upper bound on the probability that the sum of independent and identically distributed random variables deviates from its expected value. More specifically, for a sum of independent random variables $X_1, X_2, \dots, X_n$ with $E[X_i] = 0$ for all $i$, the Bernstein inequality states that for any $\epsilon > 0$,
$P(\sum_{i=1}^n X_i \ge \epsilon) \le \exp\left(-\frac{\epsilon^2/2}{\text{Var}(S_n) + \frac{\epsilon}{3} M}\right)$
where $S_n = \sum_{i=1}^n X_i$, $\text{Var}(S_n)$ is the variance of the sum, and $M$ is a constant related
The Bernstein inequality is particularly useful in scenarios where one needs strong concentration bounds, such as