Docsity

Probability Inequalities, Lecture Notes - Mathematics, Study notes of Probability and Statistics

Toggle sidebar
bg1
Lecture Notes 2
1 Probability Inequalities
Inequalities are useful for bounding quantities that might otherwise be hard to compute.
They will also be used in the theory of convergence.
Theorem 1 (The Gaussian Tail Inequality) Let X∼N(0,1). Then
P(|X|> )≤2e−2/2
.
If X1, . . . , Xn∼N(0,1) then
P(|Xn|> )≤1
√ne−n2/2.
Proof. The density of Xis φ(x) = (2π)−1/2e−x2/2. Hence,
P(X > ) = Z∞
φ(s)ds ≤1
Z∞
s φ(s)ds
=−1
Z∞
φ0(s)ds =φ()
≤e−2/2
.
By symmetry,
P(|X|> )≤2e−2/2
.
Now let X1, . . . , Xn∼N(0,1). Then Xn=n−1Pn
i=1 Xi∼N(0,1/n). Thus, Xn
d
=n−1/2Z
where Z∼N(0,1) and
P(|Xn|> ) = P(n−1/2|Z|> ) = P(|Z|>√n )≤1
√ne−n2/2.
1
pf3
pf4
pf5
pf8
pf9

Partial preview of the text

Download Probability Inequalities, Lecture Notes - Mathematics and more Study notes Probability and Statistics in PDF only on Docsity!

Lecture Notes 2

1 Probability Inequalities

Inequalities are useful for bounding quantities that might otherwise be hard to compute. They will also be used in the theory of convergence.

Theorem 1 (The Gaussian Tail Inequality) Let X ∼ N (0, 1). Then

P(|X| > ) ≤

2 e− (^2) / 2



If X 1 ,... , Xn ∼ N (0, 1) then

P(|Xn| > ) ≤

n

e−n

(^2) / 2 .

Proof. The density of X is φ(x) = (2π)−^1 /^2 e−x (^2) / 2

. Hence,

P(X > ) =



φ(s)ds ≤



s φ(s)ds



φ′(s)ds =

φ() 

e− (^2) / 2



By symmetry,

P(|X| > ) ≤

2 e− (^2) / 2



Now let X 1 ,... , Xn ∼ N (0, 1). Then Xn = n−^1

∑n i=1 Xi^ ∼^ N^ (0,^1 /n). Thus,^ Xn

d = n−^1 /^2 Z where Z ∼ N (0, 1) and

P(|Xn| > ) = P(n−^1 /^2 |Z| > ) = P(|Z| >

n ) ≤

n

e−n

(^2) / 2 .

Theorem 2 (Markov’s inequality) Let X be a non-negative random variable and suppose that E(X) exists. For any t > 0 ,

P(X > t) ≤

E(X)

t

Proof. Since X > 0,

E(X) =

0

x p(x)dx =

∫ (^) t

0

x p(x)dx +

t

xp(x)dx

t

x p(x)dx ≥ t

t

p(x)dx = t P(X > t).

Theorem 3 (Chebyshev’s inequality) Let μ = E(X) and σ^2 = Var(X). Then,

P(|X − μ| ≥ t) ≤

σ^2 t^2

and P(|Z| ≥ k) ≤

k^2

where Z = (X − μ)/σ. In particular, P(|Z| > 2) ≤ 1 / 4 and P(|Z| > 3) ≤ 1 / 9.

Proof. We use Markov’s inequality to conclude that

P(|X − μ| ≥ t) = P(|X − μ|^2 ≥ t^2 ) ≤

E(X − μ)^2 t^2

σ^2 t^2

The second part follows by setting t = kσ. 

If X 1 ,... , Xn ∼ Bernoulli(p) then and Xn = n−^1

∑n i=1 Xi^ Then,^ Var(Xn) =^ Var(X^1 )/n^ = p(1 − p)/n and

P(|Xn − p| > ) ≤

Var(Xn) ^2

p(1 − p) n^2

4 n^2

since p(1 − p) ≤ 14 for all p.

2 Hoeffding’s Inequality

Hoeffding’s inequality is similar in spirit to Markov’s inequality but it is a sharper inequality. We begin with the following important result.

Lemma 4 Supppose that E(X) = 0 and that a ≤ X ≤ b. Then

E(etX^ ) ≤ et

(^2) (b−a) (^2) / 8 .

Next we use Chernoff’s method. For any t > 0, we have, from Markov’s inequality, that

P(Y (^) n ≥ ) = P

( (^) n ∑

i=

Yi ≥ n

= P

e

Pn i=1 Yi^ ≥ en

= P

et^

Pn i=1 Yi^ ≥ etn

≤ e−tnE

et^

Pn i=1 Yi

= e−tn^

i

E(etYi^ ) = e−tn(E(etYi^ ))n.

From Lemma 4, E(etYi^ ) ≤ et (^2) (b−a) (^2) / 8

. So

P(Y (^) n ≥ ) ≤ e−tnet

(^2) n(b−a) (^2) / 8 .

This is minimized by setting t = 4/(b − a)^2 giving

P(Y (^) n ≥ ) ≤ e−^2 n

(^2) /(b−a) 2 .

Applying the same argument to P(−Y (^) n ≥ ) yields the result. 

Example 7 Let X 1 ,... , Xn ∼ Bernoulli(p). Chebyshev’s inequality yields

P(|Xn − p| > ) ≤

4 n^2

According to Hoeffding’s inequality,

P(|Xn − p| > ) ≤ 2 e−^2 n

2

which decreases much faster.

Corollary 8 If X 1 , X 2 ,... , Xn are independent with P(a ≤ Xi ≤ b) = 1 and common mean μ, then, with probability at least 1 − δ,

|Xn − μ| ≤

c 2 n

log

δ

where c = (b − a)^2.

3 The Bounded Difference Inequality

So far we have focused on sums of random variables. The following result extends Hoeffding’s inequality to more general functions g(x 1 ,... , xn). Here we consider McDiarmid’s inequality, also known as the Bounded Difference inequality.

Theorem 9 (McDiarmid) Let X 1 ,... , Xn be independent random variables. Suppose that

sup x 1 ,...,xn,x′ i

g(x 1 ,... , xi− 1 , xi, xi+1,... , xn) − g(x 1 ,... , xi− 1 , x′ i, xi+1,... , xn)

≤ ci (6)

for i = 1,... , n. Then

P

g(X 1 ,... , Xn) − E(g(X 1 ,... , Xn)) ≥ 

≤ exp

2 ^2

∑n i=1 c

2 i

∑^ Proof.^ Let^ Vi^ =^ E(g|X^1 ,... , Xi)−E(g|X^1 ,... , Xi−^1 ).^ Then^ g(X^1 ,... , Xn)−E(g(X^1 ,... , Xn)) = n i=1 Vi^ and^ E(Vi|X^1 ,... , Xi−^1 ) = 0.^ Using a similar argument as in Hoeffding’s Lemma we have, E(etVi^ |X 1 ,... , Xi− 1 ) ≤ et (^2) c (^2) i / 8

. (8)

Now, for any t > 0,

P (g(X 1 ,... , Xn) − E(g(X 1 ,... , Xn)) ≥ ) = P

( (^) n ∑

i=

Vi ≥ 

= P

et^

Pn i=1 Vi^ ≥ et

≤ e−tE

et^

Pn i=1 Vi

= e−tE

et^

Pn− 1 i=1 Vi^ E

etVn

X 1 ,... , Xn− 1

≤ e−tet

(^2) c (^2) n/ 8 E

et^

Pn− 1 i=1 Vi

≤ e−tet

2 Pni=1 c (^2) i .

The result follows by taking t = 4/

∑n i=1 c

2 i.^ 

Example 10 If we take g(x 1 ,... , xn) = n−^1

∑n i=1 xi^ then we get back Hoeffding’s inequality.

Example 11 Suppose we throw m balls into n bins. What fraction of bins are empty? Let Z be the number of empty bins and let F = Z/n be the fraction of empty bins. We can write Z =

∑n i=1 Zi^ where^ Zi^ = 1^ of bin^ i^ is empty and^ Zi^ = 0^ otherwise. Then

μ = E(Z) =

∑^ n

i=

E(Zi) = n(1 − 1 /n)m^ = nem^ log(1−^1 /n)^ ≈ ne−m/n

and θ = E(F ) = μ/n ≈ e−m/n. How close is Z to μ? Note that the Zi’s are not independent so we cannot just apply Hoeffding. Instead, we proceed as follows.

Example 15 (Kullback Leibler Distance) Define the Kullback-Leibler distance between two densities p and q by

D(p, q) =

p(x) log

p(x) q(x)

dx.

Note that D(p, p) = 0. We will use Jensen to show that D(p, q) ≥ 0. Let X ∼ f. Then

−D(p, q) = E log

q(X) p(X)

≤ log E

q(X) p(X)

= log

p(x)

q(x) p(x)

dx = log

q(x)dx = log(1) = 0.

So, −D(p, q) ≤ 0 and hence D(p, q) ≥ 0.

Example 16 It follows from Jensen’s inequality that 3 types of means can be ordered. As- sume that a 1 ,... , an are positive numbers and define the arithmetic, geometric and harmonic means as

aA =

n

(a 1 +... + an)

aG = (a 1 ×... × an)^1 /n

aH =

1 n (^

1 a 1 +^...^ +^

1 an )

Then aH ≤ aG ≤ aA.

Suppose we have an exponential bound on P(Xn > ). In that case we can bound E(Xn) as follows.

Theorem 17 Suppose that Xn ≥ 0 and that for every  > 0 ,

P(Xn > ) ≤ c 1 e−c^2 n 2 (12)

for some c 2 > 0 and c 1 > 1 /e. Then,

E(Xn) ≤

C

n

where C = (1 + log(c 1 ))/c 2.

Proof. Recall that for any nonnegative random variable Y , E(Y ) =

0 P(Y^ ≥^ t)dt. Hence, for any a > 0,

E(X n^2 ) =

0

P(X n^2 ≥ t)dt =

∫ (^) a

0

P(X n^2 ≥ t)dt +

a

P(X n^2 ≥ t)dt ≤ a +

a

P(X^2 n ≥ t)dt.

Equation (12) implies that P(Xn >

t) ≤ c 1 e−c^2 nt. Hence,

E(X n^2 ) ≤ a +

a

P(X n^2 ≥ t)dt = a +

a

P(Xn ≥

t)dt ≤ a + c 1

a

e−c^2 ntdt = a +

c 1 e−c^2 na c 2 n

Set a = log(c 1 )/(nc 2 ) and conclude that

E(X n^2 ) ≤

log(c 1 ) nc 2

nc 2

1 + log(c 1 ) nc 2

Finally, we have

E(Xn) ≤

E(X n^2 ) ≤

1 + log(c 1 ) nc 2

Now we consider bounding the maximum of a set of random variables.

Theorem 18 Let X 1 ,... , Xn be random variables. Suppose there exists σ > 0 such that E(etXi^ ) ≤ etσ (^2) / 2 for all t > 0. Then

E

max 1 ≤i≤n Xi

≤ σ

2 log n. (14)

Proof. By Jensen’s inequality,

exp

tE

max 1 ≤i≤n

Xi

≤ E

exp

t max 1 ≤i≤n

Xi

= E

max 1 ≤i≤n exp {tXi}

∑^ n

i=

E (exp {tXi}) ≤ net

(^2) σ (^2) / 2 .

Thus,

E

max 1 ≤i≤n

Xi

log n t

tσ^2 2

The result follows by setting t =

2 log n/σ. 

5 OP and oP

In statisics, probability and machine learning, we make use of oP and OP notation. Recall first, that an = o(1) means that an → 0 as n → ∞. an = o(bn) means that an/bn = o(1). an = O(1) means that an is eventually bounded, that is, for all large n, |an| ≤ C for some C > 0. an = O(bn) means that an/bn = O(1). We write an ∼ bn if both an/bn and bn/an are eventually bounded. In computer sicence this s written as an = Θ(bn) but we prefer using an ∼ bn since, in statistics, Θ often denotes a parameter space. Now we move on to the probabilistic versions. Say that Yn = oP (1) if, for every  > 0,

P(|Yn| > ) → 0.