Put and . Use the scan statistic and the statistical hypothesis testing rule
The union bound and the Hoeffding inequality give , since . Conditional on index , accepting the null hypothesis implies . The assumed separation gives , so this threshold lies more than below the alternative expected value . The lower-tail Hoeffding inequality therefore gives . Averaging the conditional error over the mixture model gives as well.
For a kernel for density estimation with integral one and a smoothing bandwidth , the univariate kernel density estimator is
Its expected value is
This is the convolution identity. It holds wherever the integral is defined, in particular everywhere for the bounded kernel used below. For a nonnegative kernel for density estimation, Tonelli theorem also gives the identity as an extended nonnegative integral. A signed kernel for density estimation instead requires absolute integrability for this interchange.
For the centred unit-width uniform kernel, substitute :
Put . The Taylor theorem with Lagrange remainder gives
The odd function term integrates to zero, while . Hence the bias of a kernel density estimator obeys
This is a second-order pointwise bias bound for kernel density estimation. Existence and boundedness of the second derivative suffice for the stated remainder; continuity of that derivative is not an extra assumption.
For concentration, write
The are independent and identically distributed random variables with a Bernoulli distribution, and . The required concentration bound follows from the Hoeffding lemma. We prove its Bernoulli case directly. With
we have and , where is the exponentially tilted success probability. Therefore for every real . If or , the centred variable is identically zero and the same bound holds directly.
Independence and the exponential form of the Markov inequality now give, for ,
Choose . Applying the same argument to the lower tail and adding the probabilities proves the Hoeffding inequality
To obtain the requested variance constant, use the additional bound that a probability is at most one. Set and . The tail integral formula for moments, justified by Tonelli theorem, yields
Thus
The clipping at one is essential for this integration argument to give that constant. It is an instance of a second moment bound from a clipped Gaussian tail. The exact Bernoulli distribution calculation also gives , an even stronger bound.
Let and . To prove the Hoeffding lemma, take a centered random variable and its cumulant-generating function . Under exponential tilting, is the variance of . The Popoviciu inequality on variances gives
since under any such tilt the support remains , and . Because , integrating twice gives for ; applying the same argument to handles the opposite tail.
The independence of the gives . The Markov inequality, in the Chernoff bound argument, yields
where the minimum is at when . Apply the same argument to and add the bounds to obtain the Hoeffding inequality:
If , every centered is identically zero and the tail probability is zero; the displayed exponential is interpreted by its zero-variance limit.
For the Bennett inequality, write , and first assume and . For , boundedness and centering give
For , expanding the moment-generating function and using the permitted interchange of sum and expected value,
Negative odd moments cause no difficulty because the estimate is an upper bound term by term. The independence of the and the Chernoff bound then give
The derivative vanishes at , and substitution gives with the Bennett rate function . The same absolute bounds apply to , so
If , all centered are zero almost surely; if , the same is immediate. Handle those cases directly rather than divide by zero. Both derived concentration inequalities also hold with , by the same Markov inequality argument or by letting a smaller positive threshold increase to .
For the binomial distribution, write with independent and identically distributed random variables having the Bernoulli distribution with parameter . Then has range , width one, and variance . For large , , so and . Set .
The Hoeffding inequality gives
After truncation at one, this is asymptotically the trivial probability bound. The Bennett inequality instead gives
Since and by a Taylor expansion,
Thus the Bennett bounds for sparse binomial fluctuations yield
The Bennett inequality supplies the smaller raw exponential bound for every fixed and all sufficiently large . If , clipping probability upper bounds at one makes both eventually trivial; for , the Bennett inequality retains a nontrivial limiting bound. This distinction avoids claiming a probability improvement after clipping when both raw bounds exceed one.
Assume first that , set , and replace the last observations by . Among the remaining observations, let
The contaminated median exceeds whenever
The right-hand threshold divided by tends to
Therefore, for all sufficiently large , it is at most for some . The Hoeffding inequality gives
The supremum over adversarial perturbations is at least this explicit construction, proving the claim. When , replacing at least half the sample makes the conclusion immediate.
On a grid with mesh proportional to , Hoeffding inequality and a union bound give
The density of has exponential tails. A Chernoff bound therefore shows that is bounded by an absolute constant except on an event of probability . On that event, both the empirical kernel and are uniformly Lipschitz, so every pair is approximated by its nearest grid pair with total error at most . Enlarging constants and using yields
Put . Applying part (b) after possibly replacing by gives . If , then, because , this is less than , contradicting the assumption. Thus .
The centered variables
are independent and have mean zero. Their two possible values differ by
Applying Hoeffding inequality to gives