SECTION 01From Independent Sums to General Functions

We have derived bounds for sums of independent random variables. Many problems instead require bounds for more general functions of random variables.

Setting · Control a Function’s Deviation from Its Mean

Let X₁, …, Xₙ be independent random variables, and consider f(X) = f(X₁, …, Xₙ), where f: ℝⁿ → ℝ and E[|f(X)|] < ∞. Our goal is to control f(X) − E[f(X)].

Definition · Doob Martingale

Reveal the inputs one at a time. After observing X₁, …, Xₖ, define

Yk=E[f(X)|X1k],k=1,…,n−1

where we write X1k=(X1,…,Xk).

The endpoints are

Y0=E[f(X)],Yn=f(X)

The sequence {Yₖ} is called the Doob martingale.

f(X)−E[f(X)]=Yn−Y0=∑k=1n(Yk−Yk−1)⏟Dk

The increments {Dₖ} form a martingale difference sequence.[1] Since their sum equals f(X) − E[f(X)], we can control the deviation of f(X) from its mean by controlling the fluctuations of {Dₖ}.

Claim · Zero Conditional Mean

The Doob increments satisfy

E[Dk|X1k−1]=0

Proof of the Claim

By definition,

Yk=E[f(X)|X1k],Dk=Yk−Yk−1

Given X₁ᵏ⁻¹, the previous prediction Yₖ₋₁ is already known. Therefore,

E[Dk|X1k−1]=E[Yk|X1k−1]−Yk−1
E[Dk|X1k−1]=Yk−1−Yk−1=0

The second equality uses the tower property: averaging the updated prediction over the unseen next input recovers the previous prediction.[2]