# Chebyshev's inequality

{{#invoke:Hatnote|hatnote}}

In probability theory, Chebyshev's inequality (also spelled as Tchebysheff's inequality, Нера́венство Чебышева) guarantees that in any probability distribution, "nearly all" values are close to the mean — the precise statement being that no more than 1/k2 of the distribution's values can be more than k standard deviations away from the mean (or equivalently, at least 1−1/k2 of the distribution's values are within k standard deviations of the mean). The rule is often called Chebyshev's theorem, about the range of standard deviations around the mean, in statistics. The inequality has great utility because it can be applied to completely arbitrary distributions (unknown except for mean and variance), for example it can be used to prove the weak law of large numbers.

In practical usage, in contrast to the empirical rule, which applies to normal distributions, under Chebyshev's inequality a minimum of just 75% of values must lie within two standard deviations of the mean and 89% within three standard deviations.[1][2]

The term Chebyshev's inequality may also refer to the Markov's inequality, especially in the context of analysis.

## History

The theorem is named after Russian mathematician Pafnuty Chebyshev, although it was first formulated by his friend and colleague Irénée-Jules Bienaymé.[3]:98 The theorem was first stated without proof by Bienaymé in 1853[4] and later proved by Chebyshev in 1867.[5] His student Andrey Markov provided another proof in his 1884 Ph.D. thesis.[6]

## Statement

Chebyshev's inequality is usually stated for random variables, but can be generalized to a statement about measure spaces.

### Probabilistic statement

Let X (integrable) be a random variable with finite expected value μ and finite non-zero variance σ2. Then for any real number k > 0,

${\displaystyle \Pr(|X-\mu |\geq k\sigma )\leq {\frac {1}{k^{2}}}.}$

Only the case k > 1 provides useful information. When k < 1 the right-hand side is greater than one, so the inequality becomes vacuous, as the probability of any event cannot be greater than one. When k = 1 it just says the probability is less than or equal to one, which is always true for probabilities.

As an example, using shows that at least half of the values lie in the interval (μTemplate:Sqrtσ, μ + Template:Sqrtσ).

Because it can be applied to completely arbitrary distributions (unknown except for mean and variance), the inequality generally gives a poor bound compared to what might be deduced if more aspects are known about the distribution involved.

k Min % within k standardTemplate:Ns
deviations of mean
Max % beyond k standard
deviations from mean
1 0% 100%
Template:Sqrt 50% 50%
1.5 55.56% 44.44%
2 75% 25%
3 88.8889% 11.1111%
4 93.75% 6.25%
5 96% 4%
6 97.2222% 2.7778%
7 97.9592% 2.0408%
8 98.4375% 1.5625%
9 98.7654% 1.2346%
10 99% 1%

### Measure-theoretic statement

Let (X, Σ, μ) be a measure space, and let f be an extended real-valued measurable function defined on X. Then for any real number t > 0 and 0 < p < ∞, [7]

${\displaystyle \mu (\{x\in X\,:\,\,|f(x)|\geq t\})\leq {1 \over t^{p}}\int _{|f|>t}|f|^{p}\,d\mu .}$

More generally, if g is an extended real-valued measurable function, nonnegative and nondecreasing on the range of f, then{{ safesubst:#invoke:Unsubst||date=__DATE__ |B= {{#invoke:Category handler|main}}{{#invoke:Category handler|main}}[citation needed] }} ${\displaystyle \mu (\{x\in X\,:\,\,f(x)\geq t\})\leq {1 \over g(t)}\int _{X}g\circ f\,d\mu .}$ The previous statement then follows by defining ${\displaystyle g(t)}$ as ${\displaystyle t^{2}}$ if ${\displaystyle t\geq 0}$ and ${\displaystyle 0}$ otherwise, and taking ${\displaystyle |f|}$ instead of ${\displaystyle f}$. ## Example Suppose we randomly select a journal article from a source with an average of 1000 words per article, with a standard deviation of 200 words. We can then infer that the probability that it has between 600 and 1400 words (i.e. within k = 2 SDs of the mean) must be more than 75%, because there is less than chance to be outside that range, by Chebyshev's inequality. But if we additionally know that the distribution is normal, we can say that is a 75% chance the word count is between 770 and 1230 (which is an even tighter bound). Note This example should be treated with caution as the inequality is only stated for probability distributions rather than for finite sample sizes. The inequality has since been extended to apply to finite sample sizes. ## Sharpness of bounds As shown in the example above, the theorem typically provides rather loose bounds. However, these bounds cannot in general (remaining true for arbitrary distributions) be improved upon. The bounds are sharp for the following example: for any k ≥ 1, ${\displaystyle X={\begin{cases}-1,&{\text{with probability }}{\frac {1}{2k^{2}}}\\0,&{\text{with probability }}1-{\frac {1}{k^{2}}}\\1,&{\text{with probability }}{\frac {1}{2k^{2}}}\end{cases}}}$ For this distribution, mean μ = 0 and standard deviation σ = Template:Frac2, so ${\displaystyle \Pr(|X-\mu |\geq k\sigma )=\Pr(|X|\geq 1)={\frac {1}{k^{2}}}.}$ Chebyshev's inequality is an equality for precisely those distributions that are a linear transformation of this example. ## Proof (of the two-sided version) ### Probabilistic proof Markov's inequality states that for any real-valued random variable Y and any positive number a, we have Pr(|Y| > a) ≤ E(|Y|)/a. One way to prove Chebyshev's inequality is to apply Markov's inequality to the random variable Y = (Xμ)2 with a = (σk)2. It can also be proved directly. For any event A, let IA be the indicator random variable of A, i.e. IA equals 1 if A occurs and 0 otherwise. Then {\displaystyle {\begin{aligned}\Pr(|X-\mu |\geq k\sigma )&=\operatorname {E} \left(I_{|X-\mu |\geq k\sigma }\right)\\&=\operatorname {E} \left(I_{\left({\frac {X-\mu }{k\sigma }}\right)^{2}\geq 1}\right)\\[6pt]&\leq \operatorname {E} \left(\left({X-\mu \over k\sigma }\right)^{2}\right)\\[6pt]&={1 \over k^{2}}{\operatorname {E} ((X-\mu )^{2}) \over \sigma ^{2}}\\&={1 \over k^{2}}.\end{aligned}}} The direct proof shows why the bounds are quite loose in typical cases: the number 1 to the right of "≥" is replaced by [(X − μ)/(kσ)]2 to the left of "≥" whenever the latter exceeds 1. In some cases it exceeds 1 by a very wide margin. ### Measure-theoretic proof ${\displaystyle 0\leq g(t)1_{A_{t}}\leq g(f(x))\,1_{A_{t}},}$ since g is nondecreasing on the range of f, and therefore, {\displaystyle {\begin{aligned}g(t)\mu (A_{t})&=\int _{X}g(t)1_{A_{t}}\,d\mu \\&\leq \int _{A_{t}}g\circ f\,d\mu \\&\leq \int _{X}g\circ f\,d\mu .\end{aligned}}} The desired inequality follows from dividing the above inequality by g(t). ## Extensions Several extensions of Chebyshev's inequality have been developed. ### Asymmetric two-sided case An asymmetric two-sided version of this inequality is also known.[8] When the distribution is asymmetric or is unknown ${\displaystyle \Pr(k_{1} where σ2 is the variance and Template:Mvar is the mean. ### Bivariate case A version for the bivariate case is known.[9] Let X1, X2 be two random variables with means μ1, μ2 and finite variances σ1, σ2 respectively. Then ${\displaystyle \Pr(k_{11}\leq X_{1}\leq k_{12},k_{21}\leq X_{2}\leq k_{22})\geq 1-\sum T_{i}}$ where for i = 1, 2, ${\displaystyle T_{i}={\frac {4\sigma _{i}^{2}+[2\mu _{i}-(k_{i1}+k_{i2})]^{2}}{(k_{i2}-k_{i1})}}.}$ ### Two correlated variables Berge derived an inequality for two correlated variables X1, X2.[10] Let Template:Mvar be the correlation coefficient between X1 and X2 and let σi2 be the variance of Template:Mvar. Then ${\displaystyle \Pr \left(\bigcap _{i=1}^{2}\left[{\frac {|X_{i}-\mu _{i}|}{\sigma _{i}}} Lal later obtained an alternative bound[11] ${\displaystyle \Pr \left(\bigcap _{i=1}^{2}\left[{\frac {|X_{i}-\mu _{i}|}{\sigma _{i}}}\leq k_{i}\right]\right)\geq 1-{\frac {k_{1}^{2}+k_{2}^{2}+{\sqrt {(k_{1}^{2}+k_{2}^{2})^{2}-4k_{1}^{2}k_{2}^{2}\rho }}}{2(k_{1}k_{2})^{2}}}}$ Isii derived a further generalisation.[12] Let ${\displaystyle Z=\Pr \left(\left(-k_{1} and define: ${\displaystyle \lambda ={\frac {k_{1}(1+\rho )+{\sqrt {(1-\rho ^{2})(k_{1}^{2}+\rho )}}}{2k_{1}-1+\rho }}}$ There are now three cases. ${\displaystyle Z\leq {\frac {2\lambda ^{2}}{2\lambda ^{2}+1+\rho }}.}$ • Case B: If the conditions in case A are not met but k1k2 ≥ 1 and ${\displaystyle 2(k_{1}k_{2}-1)^{2}\geq 2(1-\rho ^{2})+(1-\rho )(k_{2}-k_{1})^{2}}$ then ${\displaystyle Z\leq {\frac {(k_{2}-k_{1})^{2}+4+{\sqrt {16(1-\rho ^{2})+8(1-\rho )(k_{2}-k_{1})}}}{(k_{1}+k_{2})^{2}}}.}$ • Case C: If none of the conditions in cases A or B are satisfied then there is no universal bound other than 1. ### Multivariate case The general case is known as the Birnbaum–Raymond–Zuckerman inequality after the authors who proved it for two dimensions.[13] ${\displaystyle \Pr \left(\sum _{i=1}^{n}{\frac {(X_{i}-\mu _{i})^{2}}{\sigma _{i}^{2}t_{i}^{2}}}\geq k^{2}\right)\leq {\frac {1}{k^{2}}}\sum _{i=1}^{n}{\frac {1}{t_{i}^{2}}}}$ where Template:Mvar is the Template:Mvar-th random variable, Template:Mvar is the Template:Mvar-th mean and σi2 is the Template:Mvar-th variance. If the variables are independent this inequality can be sharpened.[14] ${\displaystyle \Pr \left(\bigcap _{i=1}^{n}{\frac {|X_{i}-\mu _{i}|}{\sigma _{i}}}\leq k_{i}\right)\geq \prod \left(1-{\frac {1}{k_{i}^{2}}}\right)}$ Olkin and Pratt derived an inequality for Template:Mvar correlated variables.[15] ${\displaystyle \Pr \left(\bigcap _{i=1}^{n}{\frac {|X_{i}-\mu _{i}|}{\sigma _{i}}} where the sum is taken over the n variables and ${\displaystyle u=\sum _{i=1}^{n}{\frac {1}{k_{i}^{2}}}+2\sum _{i=1}^{n}\sum _{j where Template:Mvar is the correlation between Template:Mvar and Template:Mvar. Olkin and Pratt's inequality was subsequently generalised by Godwin.[16] ### Vector version Ferentinos[9] has shown that for a vector X = (x1, x2, ...) with mean μ = (μ1, μ2, ...), variance σ2 = (σ12, σ22, ...) and an arbitrary norm that ${\displaystyle \Pr(\|X-\mu \|\geq k\|\sigma \|)\leq {\frac {1}{k^{2}}}.}$ A second related inequality has also been derived by Chen.[17] Let Template:Mvar be the dimension of the stochastic vector Template:Mvar and let E(X) be the mean of Template:Mvar. Let Template:Mvar be the covariance matrix and k > 0. Then ${\displaystyle \Pr \left((X-\operatorname {E} (X))^{T}S^{-1}(X-\operatorname {E} (X)) where YT is the transpose of Template:Mvar. ### Infinite Dimensions There is a straightforward extension of the vector version of Chebyshev's inequality to infinite dimensional settings. Let Template:Mvar be a random variable which takes values in a Fréchet space ${\displaystyle {\mathcal {X}}}$ (equipped with seminorms ). This includes most common settings of vector-valued random variables, e.g., when ${\displaystyle {\mathcal {X}}}$ is a Banach space (equipped with a single norm), a Hilbert space, or the finite-dimensional setting as described above. Suppose that Template:Mvar is of "strong order two", meaning that ${\displaystyle \operatorname {E} \left(\|X\|_{\alpha }^{2}\right)<\infty }$ for every seminorm . This is a generalization of the requirement that Template:Mvar have finite variance, and is necessary for this strong form of Chebyshev's inequality in infinite dimensions. The terminology "strong order two" is due to Vakhania.[18] Let ${\displaystyle \mu \in {\mathcal {X}}}$ be the Pettis integral of Template:Mvar (i.e., the vector generalization of the mean), and let ${\displaystyle \sigma _{a}:={\sqrt {\operatorname {E} \|X-\mu \|_{\alpha }^{2}}}}$ be the standard deviation with respect to the seminorm . In this setting we can state the following: General Version of Chebyshev's Inequality. ${\displaystyle \forall k>0:\quad \Pr \left(\|X-\mu \|_{\alpha }\geq k\sigma _{\alpha }\right)\leq {\frac {1}{k^{2}}}.}$ Proof. The proof is straightforward, and essentially the same as the finitary version. If σα = 0, then Template:Mvar is constant (and equal to Template:Mvar) almost surely, so the inequality is trivial. If ${\displaystyle \|X-\mu \|_{\alpha }\geq k\sigma _{\alpha }^{2}}$ then Template:!!XμTemplate:!!α > 0, so we may safely divide by . The crucial trick in Chebyshev's inequality is to recognize that ${\displaystyle 1={\tfrac {\|X-\mu \|_{\alpha }^{2}}{\|X-\mu \|_{\alpha }^{2}}}}$. The following calculations complete the proof: {\displaystyle {\begin{aligned}\Pr \left(\|X-\mu \|_{\alpha }\geq k\sigma _{\alpha }\right)&=\int _{\Omega }\mathbf {1} _{\|X-\mu \|_{\alpha }\geq k\sigma _{\alpha }}\,\mathrm {d} \Pr \\&=\int _{\Omega }\left({\frac {\|X-\mu \|_{\alpha }^{2}}{\|X-\mu \|_{\alpha }^{2}}}\right)\cdot \mathbf {1} _{\|X-\mu \|_{\alpha }\geq k\sigma _{\alpha }}\,\mathrm {d} \Pr \\&\leq \int _{\Omega }\left({\frac {\|X-\mu \|_{\alp ### Higher moments An extension to higher moments is also possible: ${\displaystyle \Pr(|X-\operatorname {E} (X)|\geq k)\leq {\frac {\operatorname {E} (|X-\operatorname {E} (X)|^{n})}{k^{n}}},\qquad k>0,n\geq 2.}$ ### Exponential version A related inequality sometimes known as the exponential Chebyshev's inequality[19] is the inequality ${\displaystyle \Pr(X\geq \varepsilon )\leq e^{-t\varepsilon }\operatorname {E} \left(e^{tX}\right),\qquad t>0.}$ Let K(x, t) be the cumulant generating function, ${\displaystyle K(x,t)=\log \left(\operatorname {E} \left(e^{tx}\right)\right).}$ Taking the Legendre–Fenchel transformationTemplate:Clarify of K(x, t) and using the exponential Chebyshev's inequality we have ${\displaystyle -\log(\Pr(X\geq \varepsilon ))\leq \sup _{t}(t\varepsilon -K(x,t)).}$ This inequality may be used to obtain exponential inequalities for unbounded variables.[20] ### Inequalities for bounded variables If P(x) has finite support based on the interval [a, b], let M = max(|a|, |b|) where |x| is the absolute value of Template:Mvar. If the mean of P(x) is zero then for all k > 0[21] ${\displaystyle {\frac {\operatorname {E} (|X|^{r})-k^{r}}{M^{r}}}\leq \Pr(|X|\geq k)\leq {\frac {\operatorname {E} (|X|^{r})}{k^{r}}}.}$ The second of these inequalities with r = 2 is the Chebyshev bound. The first provides a lower bound for the value of P(x). Sharp bounds for a bounded variate have been derived by Niemitalo[22] Let 0 ≤ XM where M > 0. Then • Case 1: ${\displaystyle \Pr(Xk\quad {\text{and}}\quad \operatorname {E} (X^{2}) • Case 2: ${\displaystyle \Pr(Xk\quad {\text{and}}\quad E(X^{2})\geq k\operatorname {E} (X)+M\operatorname {E} (X)-kM\\\qquad \qquad \qquad {\text{or}}\\\operatorname {E} (X)\leq k\quad {\text{and}}\quad \operatorname {E} (X^{2})\geq k\operatorname {E} (X)\end{cases}}}$ • Case 3: ${\displaystyle \Pr(X ## Finite samples Saw et al extended Chebyshev's inequality to cases where the population mean and variance are not known but are instead replaced by their sample estimates.[23] ${\displaystyle P(|X-m|\geq ks)\leq {\frac {g_{N+1}\left({\frac {Nk^{2}}{N-1+k^{2}}}\right)}{N+1}}\left({\frac {N}{N+1}}\right)^{1/2}}$ where N is the sample size, m is the sample mean, k is a constant and s is the sample standard deviation. g(x) is defined as follows: Let x ≥ 1, Q = N + 1, and R be the greatest integer less than Q / x. Let ${\displaystyle a^{2}={\frac {Q(Q-R)}{1+R(Q-R)}}.}$ Now ${\displaystyle g_{Q}(x)=R\quad {\text{if }}R{\text{ is even}}}$ ${\displaystyle g_{Q}(x)=R\quad {\text{if }}R{\text{ is odd and }}x ${\displaystyle g_{Q}(x)=R-1\quad {\text{if }}R{\text{ is odd and }}x\geq a^{2}.}$ This inequality holds when the population moments do not exist and when the sample is weakly exchangeably distributed. Kabán gives a somewhat less complex version of this inequality.[24] ${\displaystyle P(|X-m|\geq ks)\leq {\frac {1}{[N(N+1)]^{1/2}}}\left[\left({\frac {N-1}{k^{2}}}+1\right)\right]}$ If the standard deviation is a multiple of the mean then a further inequality can be derived,[24] ${\displaystyle P(|X-m|\geq ks)\leq {\frac {N-1}{N}}{\frac {1}{k^{2}}}{\frac {s^{2}}{m^{2}}}+{\frac {1}{N}}.}$ A table of values for the Saw–Yang–Mo inequality for finite sample sizes (n < 100) has been determined by Konijn.[25] For fixed N and large m the Saw–Yang–Mo inequality is approximately[26] ${\displaystyle P(|X-m|\geq ks)\leq {\frac {1}{N+1}}.}$ Beasley et al have suggested a modification of this inequality[26] ${\displaystyle P(|X-m|\geq ks)\leq {\frac {1}{k^{2}(N+1)}}.}$ In empirical testing this modification is conservative but appears to have low statistical power. Its theoretical basis currently remains unexplored. ### Dependence of sample size The bounds these inequalities give on a finite sample are less tight than those the Chebyshev inequality gives for a distribution. To illustrate this let the sample size n = 100 and let k = 3. Chebyshev's inequality states that approximately 11.11% of the distribution will lie outside these limits. Kabán's version of the inequality for a finite sample states that approximately 12.05% of the sample lies outside these limits. The dependence of the confidence intervals on sample size is further illustrated below. For N = 10, the 95% confidence interval is approximately ±13.5789 standard deviations. For N = 100 the 95% confidence interval is approximately ±4.9595 standard deviations; the 99% confidence interval is approximately ±140.0 standard deviations. For N = 500 the 95% confidence interval is approximately ±4.5574 standard deviations; the 99% confidence interval is approximately ±11.1620 standard deviations. For N = 1000 the 95% and 99% confidence intervals are approximately ±4.5141 and approximately ±10.5330 standard deviations respectively. The Chebyshev inequality for the distribution gives 95% and 99% confidence intervals of approximately ±4.472 standard deviations and ±10 standard deviations respectively. ### Comparative bounds Although Chebyshev's inequality is the best possible bound for an arbitrary distribution, this is not necessarily true for finite samples. Samuelson's inequality states that all values of a sample will lie within √(N − 1) standard deviations of the mean. Chebyshev's bound improves as the sample size increases. When N = 10, Samuelson's inequality states that all members of the sample lie within 3 standard deviations of the mean: in contrast Chebyshev's states that 95% of the sample lies within 13.5789 standard deviations of the mean. When N = 100, Samuelson's inequality states that all members of the sample lie within approximately 9.9499 standard deviations of the mean: Chebyshev's states that 99% of the sample lies within 140.0 standard deviations of the mean. When N = 500, Samuelson's inequality states that all members of the sample lie within approximately 22.3383 standard deviations of the mean: Chebyshev's states that 99% of the sample lies within 11.1620 standard deviations of the mean. It is likely that better bounds for finite samples than these exist. ## Sharpened bounds Chebyshev's inequality is important because of its applicability to any distribution. As a result of its generality it may not (and usually does not) provide as sharp a bound as alternative methods that can be used if the distribution of the random variable is known. To improve the sharpness of the bounds provided by Chebyshev's inequality a number of methods have been developed. ### Standardised variables Sharpened bounds can be derived by first standardising the random variable.[27] Let X be a random variable with finite variance Var(x). Let Z be the standardised form defined as ${\displaystyle Z={\frac {X-\operatorname {E} (X)}{\operatorname {Var} (X)^{1/2}}}.}$ Cantelli's lemma is then ${\displaystyle P(Z\geq k)\leq {\frac {1}{1+k^{2}}}.}$ This inequality is sharp and is attained by k and −1/k with probability 1/(1 + k2) and k2/(1 + k2) respectively. If k > 1 and the distribution of X is symmetric then we have ${\displaystyle P(Z\geq k)\leq {\frac {1}{2k^{2}}}.}$ Equality holds if and only if Z = −k, 0 or k with probabilities 1 / 2 k2, 1 − 1 / k2 and 1 / 2 k2 respectively.[27] An extension to a two-sided inequality is also possible. Let u, v > 0. Then we have[27] ${\displaystyle P(Z\leq -u{\text{ or }}Z\geq v)\leq {\frac {4+(u-v)^{2}}{(u+v)^{2}}}.}$ ### Semivariances An alternative method of obtaining sharper bounds is through the use of semivariances (partial moments). The upper (σ+2) and lower (σ2) semivariances are defined ${\displaystyle \sigma _{+}^{2}={\frac {\sum (x-m)^{2}}{n-1}}}$ ${\displaystyle \sigma _{-}^{2}={\frac {\sum (m-x)^{2}}{n-1}}}$ where m is the arithmetic mean of the sample, n is the number of elements in the sample and the sum for the upper (lower) semivariance is taken over the elements greater (less) than the mean. The variance of the sample is the sum of the two semivariances ${\displaystyle \sigma ^{2}=\sigma _{+}^{2}+\sigma _{-}^{2}.}$ In terms of the lower semivariance Chebyshev's inequality can be written[28] ${\displaystyle \Pr(x\leq m-a\sigma _{-})\leq {\frac {1}{a^{2}}}.}$ Putting ${\displaystyle a={\frac {k\sigma }{\sigma _{-}}}.}$ Chebyshev's inequality can now be written ${\displaystyle \Pr(x\leq m-k\sigma )\leq {\frac {1}{k^{2}}}{\frac {\sigma _{-}^{2}}{\sigma ^{2}}}.}$ A similar result can also be derived for the upper semivariance. If we put ${\displaystyle \sigma _{u}^{2}=\max(\sigma _{-}^{2},\sigma _{+}^{2}),}$ Chebyshev's inequality can be written ${\displaystyle \Pr(|x\leq m-k\sigma |)\leq {\frac {1}{k^{2}}}{\frac {\sigma _{u}^{2}}{\sigma ^{2}}}.}$ Because σu2σ2, use of the semivariance sharpens the original inequality. If the distribution is known to be symmetric, then ${\displaystyle \sigma _{+}^{2}=\sigma _{-}^{2}={\frac {1}{2}}\sigma ^{2}}$ and ${\displaystyle \Pr(x\leq m-k\sigma )\leq {\frac {1}{2k^{2}}}.}$ This result agrees with that derived using standardised variables. Note The inequality with the lower semivariance has been found to be of use in estimating downside risk in finance and agriculture.[28][29][30] ### Selberg's inequality Selberg derived an inequality for P(x) when axb.[31] To simplify the notation let ${\displaystyle Y=\alpha X+\beta }$ where ${\displaystyle \alpha ={\frac {2k}{b-a}}}$ and ${\displaystyle \beta ={\frac {-(b+a)k}{b-a}}.}$ The result of this linear transformation is to make P(aXb) equal to P(|Y| ≤ k). The mean (μX) and variance (σX) of X are related to the mean (μY) and variance (σY) of Y: ${\displaystyle \mu _{Y}=\alpha \mu _{X}+\beta }$ ${\displaystyle \sigma _{Y}^{2}=\alpha ^{2}\sigma _{X}^{2}.}$ With this notation Selberg's inequality states that ${\displaystyle P(|Y| ${\displaystyle P(|Y| ${\displaystyle P(|Y| These are known to be the best possible bounds.[32] ### Cantelli's inequality Cantelli's inequality[33] due to Francesco Paolo Cantelli states that for a real random variable (X) with mean (μ) and variance (σ2) ${\displaystyle P(X-\mu \geq a)\leq {\frac {\sigma ^{2}}{\sigma ^{2}+a^{2}}}}$ where a ≥ 0. This inequality can be used to prove a one tailed variant of Chebyshev's inequality with k > 0[34] ${\displaystyle \Pr(X-\mu \geq k\sigma )\leq {\frac {1}{1+k^{2}}}.}$ The bound on the one tailed variant is known to be sharp. To see this consider the random variable X that takes the values ${\displaystyle X=1}$ with probability ${\displaystyle {\frac {\sigma ^{2}}{1+\sigma ^{2}}}}$ ${\displaystyle X=-\sigma ^{2}}$ with probability ${\displaystyle {\frac {1}{1+\sigma ^{2}}}.}$ Then E(X) = 0 and E(X2) = σ2 and P(X < 1) = 1 / (1 + σ2). An application – distance between the mean and the median The one-sided variant can be used to prove the proposition that for probability distributions having an expected value and a median, the mean and the median can never differ from each other by more than one standard deviation. To express this in symbols let μ, ν, and σ be respectively the mean, the median, and the standard deviation. Then ${\displaystyle \left|\mu -\nu \right|\leq \sigma .}$ There is no need to assume that the variance is finite because this inequality is trivially true if the variance is infinite. The proof is as follows. Setting k = 1 in the statement for the one-sided inequality gives: ${\displaystyle \Pr(X-\mu \geq \sigma )\leq {\frac {1}{2}}.}$ Changing the sign of X and of μ, we get ${\displaystyle \Pr(X\leq \mu -\sigma )\leq {\frac {1}{2}}.}$ Thus the median is within one standard deviation of the mean. A proof using Jensen's inequality also exists. ### Bhattacharyya's inequality Bhattacharyya[35] extended Cantelli's inequality using the third and fourth moments of the distribution. Let μ = 0 and σ2 be the variance. Let γ = E(X3) / σ3 and κ = E(X4) / σ4. If k2kγ − 1 > 0 then ${\displaystyle P(X>k\sigma )\leq {\frac {\kappa -\gamma ^{2}-1}{(\kappa -\gamma ^{2}-1)(1+k^{2})+(k^{2}-k\gamma -1)}}.}$ The necessity of k2kγ − 1 > 0 requires that k be reasonably large. ### Mitzenmacher and Upfal's inequality Mitzenmacher and Upfal[36] note that ${\displaystyle [X-E(X)]^{2k}>0}$ for any real k > 0 and that ${\displaystyle E([X-E(X)]^{2k})}$ is the kth central moment. They then show that for t > 0 ${\displaystyle P(|X-E(X)|>t[E(X-E(X))^{2k}]^{1/2k})\leq \min \left[1,{\frac {1}{t^{2k}}}\right].}$ For k = 2 we obtain Chebyshev's inequality. For t ≥ 1, k > 2 and assuming that the kth moment exists, this bound is tighter than Chebyshev's inequality. ## Related inequalities Several other related inequalities are also known. ### Zelen's inequality Zelen has shown that[37] ${\displaystyle \Pr(X-\mu \geq k\sigma )\leq \left[1+k^{2}+{\frac {\left(k^{2}-k\theta _{3}-1\right)^{2}}{\theta _{4}-\theta _{3}^{2}-1}}\right]^{-1}}$ with ${\displaystyle k\geq {\frac {\theta _{3}+{\sqrt {\theta _{3}^{2}+4}}}{2}},\qquad \theta _{m}={\frac {M_{m}}{\sigma _{m}}}}$ where Template:Mvar is the Template:Mvar-th moment and Template:Mvar is the standard deviation. ### He, Zhang and Zhang's inequality For any collection of Template:Mvar nonnegative independent random variables Template:Mvar[38] ${\displaystyle \Pr \left({\frac {\sum _{i=1}^{n}X_{i}}{n}}-1\geq {\frac {1}{n}}\right)\leq {\frac {7}{8}}.}$ ### Hoeffding's lemma Let Template:Mvar be a random variable with aXb and E[X] = 0, then for any s > 0, we have ${\displaystyle E\left[e^{sX}\right]\leq e^{{\frac {1}{8}}s^{2}(b-a)^{2}}.}$ ### Van Zuijlen's bound Let Template:Mvar be a set of independent Rademacher random variables: Pr(Xi = 1) = Pr(Xi = −1) = 0.5. Then[39] ${\displaystyle \Pr \left(\left|{\frac {\sum _{i=1}^{n}X_{i}}{\sqrt {n}}}\right|\leq 1\right)\geq 0.5.}$ The bound is sharp and better than that which can be derived from the normal distribution (approximately Pr > 0.31). ## Unimodal distributions A distribution function F is unimodal at ν if its cumulative distribution function is convex on (−∞, ν) and concave on (ν,∞)[40] An empirical distribution can be tested for unimodality with the dip test.[41] In 1823 Gauss showed that for a unimodal distribution with a mode of zero[42] ${\displaystyle P(|X|\geq k)\leq {\frac {4\operatorname {E} (X^{2})}{9k^{2}}}\quad {\text{if}}\quad k^{2}\geq {\frac {4}{3}}\operatorname {E} (X^{2}),}$ ${\displaystyle P(|X|\geq k)\leq 1-{\frac {k^{2}}{3\operatorname {E} (X^{2})}}\quad {\text{if}}\quad k^{2}\leq {\frac {4}{3}}\operatorname {E} (X^{2}).}$ If the second condition holds then the second bound is always less than or equal to the first.{{ safesubst:#invoke:Unsubst||date=__DATE__ |B= {{#invoke:Category handler|main}}{{#invoke:Category handler|main}}[citation needed] }}

If the mode (ν) is not zero and the mean (μ) and standard deviation (σ) are both finite then denoting the root mean square deviation from the mode by ω, we have{{ safesubst:#invoke:Unsubst||date=__DATE__ |\$B= {{#invoke:Category handler|main}}{{#invoke:Category handler|main}}[citation needed] }}

${\displaystyle \sigma \leq \omega \leq 2\sigma ,}$

and

${\displaystyle |\nu -\mu |\leq {\sqrt {\frac {3}{4}}}\omega .}$

Winkler in 1866 extended Gauss' inequality to rth moments [43] where r > 0 and the distribution is unimodal with a mode of zero:

${\displaystyle P(|X|\geq k)\leq \left({\frac {r}{r+1}}\right)^{r}{\frac {\operatorname {E} (|X|)^{r}}{k^{r}}}\quad {\text{if}}\quad k^{r}\geq {\frac {r^{r}}{(r+1)^{r+1}}}\operatorname {E} (|X|^{r}),}$
${\displaystyle P(|X|\geq k)\leq \left(1-\left[{\frac {k^{r}}{(r+1)\operatorname {E} (|X|)^{r}}}\right]^{1/r}\right)\quad {\text{if}}\quad k^{r}\leq {\frac {r^{r}}{(r+1)^{r+1}}}\operatorname {E} (|X|^{r}).}$

Gauss' bound has been subsequently sharpened and extended to apply to departures from the mean rather than the mode due to the Vysochanskiï–Petunin inequality.

The Vysochanskiï–Petunin inequality has been extended by Dharmadhikari and Joag-Dev[44]

${\displaystyle P(|X|>k)\leq \max \left(\left[{\frac {r}{(r+1)k}}\right]^{r}E|X^{r}|,{\frac {s}{(s-1)k^{r}}}E|X^{r}|-{\frac {1}{s-1}}\right)}$

where s is a constant satisfying both s > r + 1 and s(s − r − 1) = rr and r > 0.

It can be shown that these inequalities are the best possible and that further sharpening of the bounds requires that additional restrictions be placed on the distributions.

### Unimodal symmetrical distributions

The bounds on this inequality can also be sharpened if the distribution is both unimodal and symmetrical.[45] An empirical distribution can be tested for symmetry with a number of tests including McWilliam's R*.[46] It is known that the variance of a unimodal symmetrical distribution with finite support [ab] is less than or equal to ( b − a )2 / 12.[47]

Let the distribution be supported on the finite interval [ −NN ] and the variance be finite. Let the mode of the distribution be zero and rescale the variance to 1. Let k > 0 and assume k < 2N/3. Then[45]

${\displaystyle P(X\geq k)\leq {\frac {1}{2}}-{\frac {k}{2{\sqrt {3}}}}\quad {\text{if}}\quad 0\leq k\leq {\frac {2}{\sqrt {3}}},}$
${\displaystyle P(X\geq k)\leq {\frac {2}{9k^{2}}}\quad {\text{if}}\quad {\frac {2}{\sqrt {3}}}\leq k\leq {\frac {2N}{3}}.}$

If 0 < k ≤ 2 / √3 the bounds are reached with the density[45]

${\displaystyle f(x)={\frac {1}{2{\sqrt {3}}}}\quad {\text{if}}\quad |x|<{\sqrt {3}}}$
${\displaystyle f(x)=0\quad {\text{if}}\quad |x|\geq {\sqrt {3}}.}$

If 2 / √3 < k ≤ 2N / 3 the bounds are attained by the distribution

${\displaystyle (1-\beta _{k})\delta _{0}(x)+\beta _{k}f_{k}(x),}$

where βk = 4 / 3k2, δ0 is the Dirac delta function and where

${\displaystyle f_{k}(x)={\frac {1}{3k}}\quad {\text{if}}\quad |x|<{\frac {3k}{2}},}$
${\displaystyle f_{k}(x)=0\quad {\text{if}}\quad |x|\geq {\frac {3k}{2}}.}$

The existence of these densities shows that the bounds are optimal. Since N is arbitrary these bounds apply to any value of N.

The Camp–Meidell's inequality is a related inequality.[48] For an absolutely continuous unimodal and symmetrical distribution

${\displaystyle P(|X-\mu |\geq k\sigma )\leq 1-{\frac {k}{\sqrt {3}}}\quad {\text{if}}\quad k\leq {\frac {2}{\sqrt {3}}}}$
${\displaystyle P(|X-\mu |\geq k\sigma )\leq {\frac {4}{9k^{2}}}\quad {\text{if}}\quad k>{\frac {2}{\sqrt {3}}}}$

The second of these inequality is the same as the Vysochanskiï–Petunin inequality.

DasGupta has shown that if the distribution is known to be normal[49]

${\displaystyle P(|X-\mu |\geq k\sigma )\leq {\frac {1}{3k^{2}}}}$

### Notes

Effects of symmetry and unimodality

Symmetry of the distribution decreases the inequality's bounds by a factor of 2 while unimodality sharpens the bounds by a factor of 4/9.

Unimodal distributions

Because the mean and the mode in a unimodal distribution differ by at most √3 standard deviations[50] at most 5% of a symmetrical unimodal distribution lies outside (2√10 + 3√3)/3 standard deviations of the mean (approximately 3.840 standard deviations). This is sharper than the bounds provided by the Chebyshev inequality (approximately 4.472 standard deviations).

These bounds on the mean are less sharp than those that can be derived from symmetry of the distribution alone which shows that at most 5% of the distribution lies outside approximately 3.162 standard deviations of the mean. The Vysochanskiï–Petunin inequality further sharpens this bound by showing that for such a distribution that at most 5% of the distribution lies outside 4√5/3 (approximately 2.981) standard deviations of the mean.

Symmetrical unimodal distributions

For any symmetrical unimodal distribution:

• approximately 5.784% of the distribution lies outside 1.96 standard deviations of the mode
• 5% of the distribution lies outside 2√10/3 (approximately 2.11) standard deviations of the mode

DasGupta's inequality states that for a normal distribution at least 95% lies within approximately 2.582 standard deviations of the mean. This is less sharp than the true figure (approximately 1.96 standard deviations of the mean).

## Bounds for specific distributions

DasGupta has determined a set of best possible bounds for a normal distribution for this inequality.[49]

Steliga and Szynal have extended these bounds to the Pareto distribution.[8]

## Zero means

When the mean (μ) is zero Chebyshev's inequality takes a simple form. Let σ2 be the variance. Then

${\displaystyle P(|X|\geq 1)\leq \min(1,\sigma ^{2})}$

With the same conditions Cantelli's inequality takes the form

${\displaystyle P(X\geq 1)\leq {\frac {\sigma ^{2}}{1+\sigma ^{2}}}}$

### Unit variance

If in addition E( X2 ) = 1 and E( X4 ) = ψ then for any 0 ≤ ε ≤ 1[51]

${\displaystyle P(|X|>\epsilon )\geq {\frac {(1-\epsilon ^{2})^{2}}{\psi -1+(1-\epsilon ^{2})^{2}}}\geq {\frac {(1-\epsilon ^{2})^{2}}{\psi }}}$

The first inequality is sharp.

It is also known that for a random variable obeying the above conditions that[52]

${\displaystyle P(X\geq \epsilon )\geq {\frac {C_{0}}{\psi }}-{\frac {C_{1}}{\sqrt {\psi }}}\epsilon +{\frac {C_{2}}{\psi {\sqrt {\psi }}}}\epsilon }$

where

${\displaystyle C_{0}=2{\sqrt {3}}-3\quad (\approxeq 0.464)}$
${\displaystyle C_{1}=1.397}$
${\displaystyle C_{2}=0.0231}$

It is also known that[52]

${\displaystyle P(X>0)\geq {\frac {C_{0}}{\psi }}}$

The value of C0 is optimal and the bounds are sharp if

${\displaystyle \psi \geq {\frac {3}{{\sqrt {3}}+1}}\quad (\approxeq 1.098)}$

If

${\displaystyle \psi \leq {\frac {3}{{\sqrt {3}}+1}}}$

then the sharp bound is

${\displaystyle P(X>0)\geq {\frac {2}{3+\psi +{\sqrt {(1+\psi )^{2}-4}}}}}$

## Integral Chebyshev inequality

There is a second (less well known) inequality also named after Chebyshev[53]

If f, g : [a, b] → R are two monotonic functions of the same monotonicity, then

${\displaystyle {\frac {1}{b-a}}\int _{a}^{b}\!f(x)g(x)\,dx\geq \left[{\frac {1}{b-a}}\int _{a}^{b}\!f(x)\,dx\right]\left[{\frac {1}{b-a}}\int _{a}^{b}\!g(x)\,dx\right]}$

If f and g are of opposite monotonicity, then the above inequality works in the reverse way.

This inequality is related to Jensen's inequality,[54] Kantorovich's inequality,[55] the Hermite–Hadamard inequality[55] and Walter's conjecture.[56]

### Other inequalities

There are also a number of other inequalities associated with Chebyshev

## Haldane's transformation

One use of Chebyshev's inequality in applications is to create confidence intervals for variates with an unknown distribution. Haldane noted,[57] using an equation derived by Kendall,[58] that if a variate (x) has a zero mean, unit variance and both finite skewness (γ) and kurtosis (κ) then the variate can be converted to a normally distributed standard score (z):

${\displaystyle z=x-{\frac {\gamma }{6}}(x^{2}-1)+{\frac {x}{72}}[2\gamma ^{2}(4x^{2}-7)-3\kappa (x^{2}-3)]+\cdots }$

This transformation may be useful as an alternative to Chebyshev's inequality or as an adjunct to it for deriving confidence intervals for variates with unknown distributions.

While this transformation may be useful for moderately skewed and/or kurtotic distributions, it performs poorly when the distribution is markedly skewed and/or kurtotic.

## Chernoff bounds

If the random variables may also be assumed to be independently distributed it is possible to obtain sharper bounds. Let δ > 0. Then[59]

${\displaystyle \delta -(1+\delta )\log(1+\delta )<{\frac {-\delta ^{2}}{2+\delta }}.}$

With this inequality it can be shown that

${\displaystyle P(X>(1+\delta )\mu )\leq e^{\frac {-\delta ^{2}\mu }{2+\delta }},}$
${\displaystyle P(X<(1-\delta )\mu )\leq e^{\frac {-\delta ^{2}\mu }{2+\delta }}.}$

where μ is the mean of the distribution. Further discussion may be found in the article on Chernoff bounds

## Notes

The Environmental Protection Agency has suggested best practices for the use of Chebyshev's inequality for estimating confidence intervals.[60] This caution appears to be justified as its use in this context may be seriously misleading [1]

## References

1. {{#invoke:citation/CS1|citation |CitationClass=book }}
2. {{#invoke:citation/CS1|citation |CitationClass=book }}
3. {{#invoke:citation/CS1|citation |CitationClass=book }}
4. Bienaymé I.-J. (1853) Considérations àl'appui de la découverte de Laplace. Comptes Rendus de l'Académie des Sciences 37: 309–324
5. {{#invoke:Citation/CS1|citation |CitationClass=journal }}
6. Markov A. (1884) On certain applications of algebraic continued fractions, Ph.D. thesis, St. Petersburg
7. {{#invoke:citation/CS1|citation |CitationClass=book }}
8. {{#invoke:Citation/CS1|citation |CitationClass=journal }}
9. Ferentinos K. (1982) "On Tchebycheﬀ type inequalities". Trabajos Estadıst Investigacion Oper, 33: 125–132
10. Berge P. O. (1938) A note on a form of Tchebycheff's theorem for two variables. Biometrika 29, 405–406
11. Lal D. N. (1955) A note on a form of Tchebycheﬀ's inequality for two or more variables. Sankhya 15(3):317–320
12. Isii K. (1959) On a method for generalizations of Tchebycheff's inequality. Ann Inst Stat Math 10: 65–88
13. {{#invoke:Citation/CS1|citation |CitationClass=journal }}
14. {{#invoke:citation/CS1|citation |CitationClass=book }}
15. {{#invoke:Citation/CS1|citation |CitationClass=journal }}
16. Godwin H. J. (1964) Inequalities on distribution functions. New York, Hafner Pub. Co.
17. Template:Cite arXiv
18. Vakhania, Nikolai Nikolaevich. Probability distributions on linear spaces. New York: North Holland, 1981.
19. Section 2.1
20. {{#invoke:Citation/CS1|citation |CitationClass=journal }} (the references for this article are corrected by {{#invoke:Citation/CS1|citation |CitationClass=journal }})
21. Dufour (2003) Properties of moments of random variables
22. Niemitalo O. (2012) One-sided Chebyshev-type inequalities for bounded probability distributions.
23. Template:Cite doi/10.2307.2F2683249
24. Template:Cite doi
25. {{#invoke:Citation/CS1|citation |CitationClass=journal }}
26. {{#invoke:Citation/CS1|citation |CitationClass=journal }}
27. {{#invoke:citation/CS1|citation |CitationClass=book }}
28. {{#invoke:Citation/CS1|citation |CitationClass=journal }}
29. {{#invoke:Citation/CS1|citation |CitationClass=journal }}
30. Neave E. H., Ross M. N., Yang J. (2008) Distinguishing upside potential from downside risk. Management Research News. 32(1):26–36
31. {{#invoke:Citation/CS1|citation |CitationClass=journal }}
32. {{#invoke:Citation/CS1|citation |CitationClass=journal }}
33. Cantelli F. (1910)Intorno ad un teorema fondamentale della teoria del rischio. Bolletino dell Associazione degli Attuari Italiani
34. Grimmett and Stirzaker, problem 7.11.9. Several proofs of this result can be found in Chebyshev's Inequalities by A. G. McDowell.
35. {{#invoke:Citation/CS1|citation |CitationClass=journal }}
36. {{#invoke:citation/CS1|citation |CitationClass=book }}
37. Zelen M. (1954) Bounds on a distribution function that are functions of moments to order four. J Res Nat Bur Stand 53:377–381
38. He S., Zhang J., Zhang S. (2010) Bounding probability of small deviation: A fourth moment approach. Mathematics of operations research 35 (1) 208–232. doi: 10.1287/moor.1090.0438
39. Martien C. A. van Zuijlen (2011) On a conjecture concerning the sum of independent Rademacher random variables
40. {{#invoke:citation/CS1|citation |CitationClass=book }}
41. Hartigan J. A., Hartigan P. M. (1985) "The dip test of unimodality". Annals of Statistics 13(1):70–84 Template:Hide in printTemplate:Only in print Template:MR
42. Gauss C. F. Theoria Combinationis Observationum Erroribus Minimis Obnoxiae. Pars Prior. Pars Posterior. Supplementum. Theory of the Combination of Observations Least Subject to Errors. Part One. Part Two. Supplement. 1995. Translated by G. W. Stewart. Classics in Applied Mathematics Series, Society for Industrial and Applied Mathematics, Philadelphia
43. Winkler A. (1886) Math-Natur theorie Kl. Akad. Wiss Wien Zweite Abt 53, 6–41
44. Dharmadhikari S. W., Joag-Dev K.(1985) The Gauss–Tchebyshev inequality for unimodal distributions. Teor Veroyatnost i Primenen 30(4):817–820
45. Template:Cite doi
46. McWilliams T. P. (1990) "A distribution-free test for symmetry based on a runs statistic".Journal of the American Statistical Association 85(412):1130–1133 Template:Jstor
47. {{#invoke:Citation/CS1|citation |CitationClass=journal }}
48. {{#invoke:Citation/CS1|citation |CitationClass=journal }}
49. DasGupta A. (2000) Best constants in Chebychev inequalities with various applications. Metrika 5(1):185–200
50. Template:Cite web
51. Godwin H. J. (1964) Inequalities on distribution functions. (Chapter 3) New York, Hafner Pub. Co.
52. Lesley F. D., Rotar V. I. (2003) Some remarks on lower bounds of Chebyshev's type for half-lines. J Inequalities Pure Appl Math 4(5) Art 96
53. {{#invoke:Citation/CS1|citation |CitationClass=journal }}
54. {{#invoke:Citation/CS1|citation |CitationClass=journal }}
55. {{#invoke:Citation/CS1|citation |CitationClass=journal }}
56. {{#invoke:Citation/CS1|citation |CitationClass=journal }}
57. Haldane J. B. (1952) Simple tests for bimodality and bitangentiality. Annals of Eugenics 16(4):359–364 Template:Hide in printTemplate:Only in print
58. Kendall M. G. (1943) The Advanced Theory of Statistics, 1. London
59. {{#invoke:Citation/CS1|citation |CitationClass=journal }}
60. Template:Cite report