Markov's inequality: Difference between revisions

From testwiki
Jump to navigation Jump to search
imported>Citation bot
Added date. Removed URL that duplicated identifier. | Use this bot. Report bugs. | Suggested by Dominic3203 | Linked from User:Mathbot/Possible_redirects | #UCB_webform_linked 443/972
 
(No difference)

Latest revision as of 06:23, 13 December 2024

Template:Short description

Markov's inequality gives an upper bound for the measure of the set (indicated in red) where f(x) exceeds a given level ε. The bound combines the level ε with the average value of f.

In probability theory, Markov's inequality gives an upper bound on the probability that a non-negative random variable is greater than or equal to some positive constant. Markov's inequality is tight in the sense that for each chosen positive constant, there exists a random variable such that the inequality is in fact an equality.[1]

It is named after the Russian mathematician Andrey Markov, although it appeared earlier in the work of Pafnuty Chebyshev (Markov's teacher), and many sources, especially in analysis, refer to it as Chebyshev's inequality (sometimes, calling it the first Chebyshev inequality, while referring to Chebyshev's inequality as the second Chebyshev inequality) or Bienaymé's inequality.

Markov's inequality (and other similar inequalities) relate probabilities to expectations, and provide (frequently loose but still useful) bounds for the cumulative distribution function of a random variable. Markov's inequality can also be used to upper bound the expectation of a non-negative random variable in terms of its distribution function.

Statement

If Template:Mvar is a nonnegative random variable and Template:Math, then the probability that Template:Mvar is at least Template:Mvar is at most the expectation of Template:Mvar divided by Template:Mvar:[1]

P(Xa)E(X)a.

When E(X)>0, we can take a=a~E(X) for a~>0 to rewrite the previous inequality as

P(Xa~E(X))1a~.

In the language of measure theory, Markov's inequality states that if Template:Math is a measure space, f is a measurable extended real-valued function, and Template:Math, then

μ({xX:|f(x)|ε})1εX|f|dμ.

This measure-theoretic definition is sometimes referred to as Chebyshev's inequality.[2]


Extended version for nondecreasing functions

If Template:Mvar is a nondecreasing nonnegative function, Template:Mvar is a (not necessarily nonnegative) random variable, and Template:Math, then[3]

P(Xa)E(φ(X))φ(a).

An immediate corollary, using higher moments of Template:Mvar supported on values larger than 0, is

P(|X|a)E(|X|n)an.


The uniformly randomized Markov's inequality

If Template:Mvar is a nonnegative random variable and Template:Math, and Template:Mvar is a uniformly distributed random variable on [0,1] that is independent of Template:Mvar, then[4]

P(XUa)E(X)a.

Since Template:Mvar is almost surely smaller than one, this bound is strictly stronger than Markov's inequality. Remarkably, Template:Mvar cannot be replaced by any constant smaller than one, meaning that deterministic improvements to Markov's inequality cannot exist in general. While Markov's inequality holds with equality for distributions supported on {0,a}, the above randomized variant holds with equality for any distribution that is bounded on [0,a].


Proofs

We separate the case in which the measure space is a probability space from the more general case because the probability case is more accessible for the general reader.

Intuition

E(X)=P(X<a)E(X|X<a)+P(Xa)E(X|Xa) where E(X|X<a) is larger than or equal to 0 as the random variable X is non-negative and E(X|Xa) is larger than or equal to a because the conditional expectation only takes into account of values larger than or equal to a which r.v. X can take.

Property 1: P(X<a)E(XX<a)0

Given a non-negative random variable X, the conditional expectation E(XX<a)0 because X0. Also, probabilities are always non-negative, i.e., P(X<a)0. Thus, the product:

P(X<a)E(XX<a)0.

This is intuitive since conditioning on X<a still results in non-negative values, ensuring the product remains non-negative.

Property 2: P(Xa)E(XXa)aP(Xa)

For Xa, the expected value given Xa is at least a.E(XXa)a. Multiplying both sides by P(Xa), we get:

P(Xa)E(XXa)aP(Xa).

This is intuitive since all values considered are at least a, making their average also greater than or equal to a.

Hence intuitively, E(X)P(Xa)E(X|Xa)aP(Xa), which directly leads to P(Xa)E(X)a.

Probability-theoretic proof

Method 1: From the definition of expectation:

E(X)=xf(x)dx

However, X is a non-negative random variable thus,

E(X)=xf(x)dx=0xf(x)dx

From this we can derive,

E(X)=0axf(x)dx+axf(x)dxaxf(x)dxaaf(x)dx=aaf(x)dx=aPr(Xa)

From here, dividing through by a allows us to see that

Pr(Xa)E(X)/a

Method 2: For any event E, let IE be the indicator random variable of E, that is, IE=1 if E occurs and IE=0 otherwise.

Using this notation, we have I(Xa)=1 if the event Xa occurs, and I(Xa)=0 if X<a. Then, given a>0,

aI(Xa)X

which is clear if we consider the two possible values of Xa. If X<a, then I(Xa)=0, and so aI(Xa)=0X. Otherwise, we have Xa, for which IXa=1 and so aIXa=aX.

Since E is a monotonically increasing function, taking expectation of both sides of an inequality cannot reverse it. Therefore,

E(aI(Xa))E(X).

Now, using linearity of expectations, the left side of this inequality is the same as

aE(I(Xa))=a(1P(Xa)+0P(X<a))=aP(Xa).

Thus we have

aP(Xa)E(X)

and since a > 0, we can divide both sides by a.

Measure-theoretic proof

We may assume that the function f is non-negative, since only its absolute value enters in the equation. Now, consider the real-valued function s on X given by

s(x)={ε,if f(x)ε0,if f(x)<ε

Then 0s(x)f(x). By the definition of the Lebesgue integral

Xf(x)dμXs(x)dμ=εμ({xX:f(x)ε})

and since ε>0, both sides can be divided by ε, obtaining

μ({xX:f(x)ε})1εXfdμ.

Discrete case

We now provide a proof for the special case when X is a discrete random variable which only takes on non-negative integer values.

Let a be a positive integer. By definition aPr(X>a) =aPr(X=a+1)+aPr(X=a+2)+aPr(X=a+3)+... aPr(X=a)+(a+1)Pr(X=a+1)+(a+2)Pr(X=a+2)+... Pr(X=1)+2Pr(X=2)+3Pr(X=3)+... +aPr(X=a)+(a+1)Pr(X=a+1)+(a+2)Pr(X=a+2)+... =E(X)

Dividing by a yields the desired result.

Corollaries

Chebyshev's inequality

Chebyshev's inequality uses the variance to bound the probability that a random variable deviates far from the mean. Specifically,

P(|XE(X)|a)Var(X)a2,

for any Template:Math.[3] Here Template:Math is the variance of X, defined as:

Var(X)=E[(XE(X))2].

Chebyshev's inequality follows from Markov's inequality by considering the random variable

(XE(X))2

and the constant a2, for which Markov's inequality reads

P((XE(X))2a2)Var(X)a2.

This argument can be summarized (where "MI" indicates use of Markov's inequality):

P(|XE(X)|a)=P((XE(X))2a2)MIE((XE(X))2)a2=Var(X)a2.

Other corollaries

  1. The "monotonic" result can be demonstrated by:
    P(|X|a)=P(φ(|X|)φ(a))MIE(φ(|X|))φ(a)
  2. The result that, for a nonnegative random variable Template:Mvar, the quantile function of Template:Mvar satisfies:
    QX(1p)E(X)p,
    the proof using
    pP(XQX(1p))MIE(X)QX(1p).
  3. Let M0 be a self-adjoint matrix-valued random variable and A0. Then
    P(MA)tr(E(X)A1)
    which can be proved similarly.[5]

Examples

Assuming no income is negative, Markov's inequality shows that no more than 10% (1/10) of the population can have more than 10 times the average income.[6]

Another simple example is as follows: Andrew makes 4 mistakes on average on his Statistics course tests. The best upper bound on the probability that Andrew will do at least 10 mistakes is 0.4 as P(X10)E(X)α=410. Note that Andrew might do exactly 10 mistakes with probability 0.4 and make no mistakes with probability 0.6; the expectation is exactly 4 mistakes.

See also

References

Template:Reflist

Template:Navbox Template:Refimprove