Hoeffding's inequality is a probabilistic inequality that provides an upper bound on the probability that the sum of bounded independent random variables deviates from its expected value by more than a certain amount. It's most often used in the context of statistical learning and hypothesis testing.
Let ( X_1, X_2, ..., X_n ) be independent random variables such that each ( X_i ) is bounded by an interval [( a_i, b_i )]. This means that for all ( i ), ( a_i \leq X_i \leq b_i ). Let ( \overline{X} ) be the sample mean of these variables:
[ \overline{X} = \frac{1}{n} \sum_{i=1}^n X_i ]
Hoeffding's Inequality states that for any ( t > 0 ), the following bounds hold:
[ \mathbb{P} \left( \overline{X} - \mathbb{E}[\overline{X}] \geq t \right) \leq \exp\left( -\frac{2n^2t^2}{\sum_{i=1}^n (b_i - a_i)^2} \right) ]
[ \mathbb{P} \left( \mathbb{E}[\overline{X}] - \overline{X} \geq t \right) \leq \exp\left( -\frac{2n^2t^2}{\sum_{i=1}^n (b_i - a_i)^2} \right) ]
To prove Hoeffding's Inequality, one typically starts with defining the moment generating function (MGF) of a bounded random variable and proceeds with using Markov's inequality and properties of the MGF.
Here is a sketch of the proof:
Step 1: Consider a single bounded random variable
For each bounded random variable ( X_i ), we can shift and scale it to be in the range [0, 1]. The shifted and scaled version of ( X_i ) is:
[ Y_i = \frac{X_i - a_i}{b_i - a_i} ]
Now, ( Y_i ) is a random variable bounded in [0, 1].
Step 2: Use the moment generating function
Define the moment generating function of ( Y_i ) as:
[ M_{Y_i}(s) = \mathbb{E}[e^{sY_i}] ]
For ( s > 0 ), we can show that:
[ M_{Y_i}(s) \leq e^{s\mathbb{E}[Y_i]} \exp\left( \frac{(b_i - a_i)^2 s^2}{8} \right) ]
Step 3: Apply Markov's Inequality
Markov's inequality states for any non-negative random variable ( Z ) and ( a > 0 ), that:
[ \mathbb{P}(Z \geq a) \leq \frac{\mathbb{E}[Z]}{a} ]
We apply Markov's inequality to the exponential of the sum:
[ \mathbb{P} \left( \sum_{i=1}^n Y_i - \mathbb{E}[Y_i] \geq nt \right) \leq \frac{\mathbb{E}\left[ e^{s \sum_{i=1}^n (Y_i - \mathbb{E}[Y_i])} \right]}{e^{nst}} ]
Step 4: Use independence and properties of MGF
Since ( X_i ) (and hence ( Y_i )) are independent, the moment generating function of their sum can be written as the product of the individual MGFs.
Step 5: Optimize over ( s )
Choose ( s ) that minimizes the right side of the inequality.
Step 6: Conclude the proof
After optimizing ( s ) and accounting for the shift and scale back to ( X_i ), we arrive at Hoeffding's inequality.
Note that this is a very high-level sketch of the proof. Each step involves rigorous justification and mathematical derivation. For a full mathematical proof, you would typically find detailed steps with calculus and probability theory in advanced texts on theoretical statistics or concentration inequalities.