Unimodality Explained

In mathematics, unimodality means possessing a unique mode. More generally, unimodality means there is only a single highest value, somehow defined, of some mathematical object.

Unimodal probability distribution

In statistics, a unimodal probability distribution or unimodal distribution is a probability distribution which has a single peak. The term "mode" in this context refers to any peak of the distribution, not just to the strict definition of mode which is usual in statistics.

If there is a single mode, the distribution function is called "unimodal". If it has more modes it is "bimodal" (2), "trimodal" (3), etc., or in general, "multimodal". Figure 1 illustrates normal distributions, which are unimodal. Other examples of unimodal distributions include Cauchy distribution, Student's t-distribution, chi-squared distribution and exponential distribution. Among discrete distributions, the binomial distribution and Poisson distribution can be seen as unimodal, though for some parameters they can have two adjacent values with the same probability.

Figure 2 and Figure 3 illustrate bimodal distributions.

Other definitions

Other definitions of unimodality in distribution functions also exist.

In continuous distributions, unimodality can be defined through the behavior of the cumulative distribution function (cdf).[1] If the cdf is convex for x < m and concave for x > m, then the distribution is unimodal, m being the mode. Note that under this definition the uniform distribution is unimodal, as well as any other distribution in which the maximum distribution is achieved for a range of values, e.g. trapezoidal distribution. Usually this definition allows for a discontinuity at the mode; usually in a continuous distribution the probability of any single value is zero, while this definition allows for a non-zero probability, or an "atom of probability", at the mode.

Criteria for unimodality can also be defined through the characteristic function of the distribution[1] or through its Laplace–Stieltjes transform.[2]

Another way to define a unimodal discrete distribution is by the occurrence of sign changes in the sequence of differences of the probabilities.[3] A discrete distribution with a probability mass function,

\{pn:n=...,-1,0,1,...\}

, is called unimodal if the sequence

...,p-2-p-1,p-1-p0,p0-p1,p1-p2,...

has exactly one sign change (when zeroes don't count).

Uses and results

One reason for the importance of distribution unimodality is that it allows for several important results. Several inequalities are given below which are only valid for unimodal distributions. Thus, it is important to assess whether or not a given data set comes from a unimodal distribution. Several tests for unimodality are given in the article on multimodal distribution.

Inequalities

Gauss's inequality

A first important result is Gauss's inequality.[4] Gauss's inequality gives an upper bound on the probability that a value lies more than any given distance from its mode. This inequality depends on unimodality.

Vysochanskiï–Petunin inequality

A second is the Vysochanskiï–Petunin inequality,[5] a refinement of the Chebyshev inequality. The Chebyshev inequality guarantees that in any probability distribution, "nearly all" the values are "close to" the mean value. The Vysochanskiï–Petunin inequality refines this to even nearer values, provided that the distribution function is continuous and unimodal. Further results were shown by Sellke and Sellke.[6]

Mode, median and mean

Gauss also showed in 1823 that for a unimodal distribution[7]

\sigma\le\omega\le2\sigma

and

|\nu-\mu|\le\sqrt{

3
4
} \omega,

where the median is ν, the mean is μ and ω is the root mean square deviation from the mode.

It can be shown for a unimodal distribution that the median ν and the mean μ lie within (3/5)1/2 ≈ 0.7746 standard deviations of each other.[8] In symbols,

|\nu-\mu|
\sigma

\le\sqrt{

3
5
}

where | . | is the absolute value.

In 2020, Bernard, Kazzi, and Vanduffel generalized the previous inequality by deriving the maximum distance between the symmetric quantile average

q\alpha+q(1-\alpha)
2

and the mean,[9]
\left|
q\alpha+q(1-\alpha)
2
-\mu\right|
\sigma

\le\left\{ \begin{array}{cl}

\sqrt[]{4-1
9(1-\alpha)

+\sqrt[]{

1-\alpha
1/3+\alpha
}} & \text\alpha \in \left[\frac{5}{6},1\right)\!, \\ \frac{\sqrt[] \text + \text \sqrt[]} & \text\alpha \in \left(\frac,\frac\right)\!,\\ \frac & \text\alpha \in \left(0,\frac\right]\!. \end \right.

It is worth noting that the maximum distance is minimized at

\alpha=0.5

(i.e., when the symmetric quantile average is equal to

q0.5=\nu

), which indeed motivates the common choice of the median as a robust estimator for the mean. Moreover, when

\alpha=0.5

, the bound is equal to

\sqrt{3/5}

, which is the maximum distance between the median and the mean of a unimodal distribution.

A similar relation holds between the median and the mode θ: they lie within 31/2 ≈ 1.732 standard deviations of each other:

|\nu-\theta|
\sigma

\le\sqrt{3}.

It can also be shown that the mean and the mode lie within 31/2 of each other:

|\mu-\theta|
\sigma

\le\sqrt{3}.

Skewness and kurtosis

Rohatgi and Szekely claimed that the skewness and kurtosis of a unimodal distribution are related by the inequality:[10]

\gamma2-\kappa\le

6
5

=1.2

where κ is the kurtosis and γ is the skewness. Klaassen, Mokveld, and van Es showed that this only applies in certain settings, such as the set of unimodal distributions where the mode and mean coincide.[11]

They derived a weaker inequality which applies to all unimodal distributions:

\gamma2-\kappa\le

186
125

=1.488

This bound is sharp, as it is reached by the equal-weights mixture of the uniform distribution on [0,1] and the discrete distribution at .

Unimodal function

As the term "modal" applies to data sets and probability distribution, and not in general to functions, the definitions above do not apply. The definition of "unimodal" was extended to functions of real numbers as well.

A common definition is as follows: a function f(x) is a unimodal function if for some value m, it is monotonically increasing for x ≤ m and monotonically decreasing for x ≥ m. In that case, the maximum value of f(x) is f(m) and there are no other local maxima.

Proving unimodality is often hard. One way consists in using the definition of that property, but it turns out to be suitable for simple functions only. A general method based on derivatives exists,[12] but it does not succeed for every function despite its simplicity.

Examples of unimodal functions include quadratic polynomial functions with a negative quadratic coefficient, tent map functions, and more.

The above is sometimes related to as , from the fact that the monotonicity implied is strong monotonicity. A function f(x) is a weakly unimodal function if there exists a value m for which it is weakly monotonically increasing for x ≤ m and weakly monotonically decreasing for x ≥ m. In that case, the maximum value f(m) can be reached for a continuous range of values of x. An example of a weakly unimodal function which is not strongly unimodal is every other row in Pascal's triangle.

Depending on context, unimodal function may also refer to a function that has only one local minimum, rather than maximum.[13] For example, local unimodal sampling, a method for doing numerical optimization, is often demonstrated with such a function. It can be said that a unimodal function under this extension is a function with a single local extremum.

One important property of unimodal functions is that the extremum can be found using search algorithms such as golden section search, ternary search or successive parabolic interpolation.[14]

Other extensions

A function f(x) is "S-unimodal" (often referred to as "S-unimodal map") if its Schwarzian derivative is negative for all

x\nec

, where

c

is the critical point.[15]

In computational geometry if a function is unimodal it permits the design of efficient algorithms for finding the extrema of the function.[16]

A more general definition, applicable to a function f(X) of a vector variable X is that f is unimodal if there is a one-to-one differentiable mapping X = G(Z) such that f(G(Z)) is convex. Usually one would want G(Z) to be continuously differentiable with nonsingular Jacobian matrix.

Quasiconvex functions and quasiconcave functions extend the concept of unimodality to functions whose arguments belong to higher-dimensional Euclidean spaces.

See also

Notes and References

  1. A.Ya. Khinchin. On unimodal distributions. Trams. Res. Inst. Math. Mech.. University of Tomsk. 2. 2. 1938. 1–7. ru.
  2. Book: Random summation: limit theorems and applications. Vladimirovich Gnedenko and Victor Yu Korolev. 0-8493-2875-6. CRC-Press. 1996. p. 31
  3. On the unimodality of discrete distributions . Periodica Mathematica Hungarica. P. . Medgyessy. 2. 1–4 . 245–257. March 1972. 10.1007/bf02018665. 119817256 .
  4. Gauss. C. F.. Carl Friedrich Gauss. 1823. Theoria Combinationis Observationum Erroribus Minimis Obnoxiae, Pars Prior. Commentationes Societatis Regiae Scientiarum Gottingensis Recentiores. 5.
  5. D. F. Vysochanskij, Y. I. Petunin . 1980 . Justification of the 3σ rule for unimodal distributions . Theory of Probability and Mathematical Statistics . 21 . 25–36.
  6. Sellke . T.M. . Sellke . S.H. . Chebyshev inequalities for unimodal distributions . 2684690 . 1997 . . 51 . 1 . 34–40 . American Statistical Association . 10.2307/2684690.
  7. 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
  8. The Mean, Median, and Mode of Unimodal Distributions: A Characterization . 10.1137/S0040585X97975447 . 1997 . Basu . S. . Dasgupta . A. . Theory of Probability & Its Applications . 41 . 2 . 210–223 .
  9. 10.1016/j.insmatheco.2020.05.013 . Range Value-at-Risk bounds for unimodal distributions under partial information . 2020 . Bernard . Carole . Kazzi . Rodrigue . Vanduffel . Steven . Insurance: Mathematics and Economics . 94 . 9–24 . free .
  10. 10.1016/0167-7152(89)90035-7 . Sharp inequalities between skewness and kurtosis . 1989 . Rohatgi . Vijay K. . Székely . Gábor J. . Statistics & Probability Letters . 8 . 4 . 297–299 .
  11. 10.1016/S0167-7152(00)00090-0 . Squared skewness minus kurtosis bounded by 186/125 for unimodal distributions . 2000 . Klaassen . Chris A.J. . Mokveld . Philip J. . Van Es . Bert . Statistics & Probability Letters . 50 . 2 . 131–135 .
  12. Web site: On the unimodality of METRIC Approximation subject to normally distributed demands.. Method in appendix D, Example in theorem 2 page 5. 2013-08-28.
  13. Web site: Mathematical Programming Glossary.. 2020-03-29.
  14. Book: Demaine . Erik D. . Langerman . Stefan . Algorithms – ESA 2005 . Optimizing a 2D Function Satisfying Unimodality Properties . Lecture Notes in Computer Science . 2005 . 3669 . Brodal . Gerth Stølting . Leonardi . Stefano . https://link.springer.com/chapter/10.1007/11561071_78 . en . Berlin, Heidelberg . Springer . 887–898 . 10.1007/11561071_78 . 978-3-540-31951-1.
  15. See e.g. Distortion of S-Unimodal Maps. John Guckenheimer . Stewart Johnson . Annals of Mathematics . Second Series. 132. 1. July 1990. 71–130. 10.2307/1971501. 1971501 .
  16. Godfried T. Toussaint. Complexity, convexity, and unimodality. International Journal of Computer and Information Sciences. 13. 3. June 1984. 197–217. 10.1007/bf00979872. 11577312 .