# Law of the iterated logarithm

In probability theory, the **law of the iterated logarithm** describes the magnitude of the fluctuations of a random walk. The original statement of the law of the iterated logarithm is due to A. Ya. Khinchin (1924).^{[1]} Another statement was given by A. N. Kolmogorov in 1929.^{[2]}

## Statement

Let {*Y*_{n}} be independent, identically distributed random variables with means zero and unit variances. Let *S*_{n} = *Y*_{1} + ... + *Y*_{n}. Then

- [math]\displaystyle{ \limsup_{n \to \infty} \frac{|S_n|}{\sqrt{2n \log\log n}} = 1 \quad \text{a.s.}, }[/math]

where “log” is the natural logarithm, “lim sup” denotes the limit superior, and “a.s.” stands for “almost surely”.^{[3]}^{[4]}

## Discussion

The law of iterated logarithms operates “in between” the law of large numbers and the central limit theorem. There are two versions of the law of large numbers — the weak and the strong — and they both state that the sums *S*_{n}, scaled by *n*^{−1}, converge to zero, respectively in probability and almost surely:

- [math]\displaystyle{ \frac{S_n}{n} \ \xrightarrow{p}\ 0, \qquad \frac{S_n}{n} \ \xrightarrow{a.s.} 0, \qquad \text{as}\ \ n\to\infty. }[/math]

On the other hand, the central limit theorem states that the sums *S*_{n} scaled by the factor *n*^{−½} converge in distribution to a standard normal distribution. By Kolmogorov's zero–one law, for any fixed *M*, the probability that the event
[math]\displaystyle{ \limsup_n \frac{S_n}{\sqrt{n}} \geq M }[/math]
occurs is 0 or 1.
Then

- [math]\displaystyle{ \Pr\left( \limsup_n \frac{S_n}{\sqrt{n}} \geq M \right) \geqslant \limsup_n \Pr\left( \frac{S_n}{\sqrt{n}} \geq M \right) = \Pr\left( \mathcal{N}(0, 1) \geq M \right) \gt 0 }[/math]

so

- [math]\displaystyle{ \limsup_n \frac{S_n}{\sqrt{n}}=\infty \qquad \text{with probability 1.} }[/math]

An identical argument shows that

- [math]\displaystyle{ \liminf_n \frac{S_n}{\sqrt{n}}=-\infty \qquad \text{with probability 1.} }[/math]

This implies that these quantities cannot converge almost surely. In fact, they cannot even converge in probability, which follows from the equality

- [math]\displaystyle{ \frac{S_{2n}}{\sqrt{2n}}-\frac{S_n}{\sqrt{n}} = \frac1{\sqrt2}\frac{S_{2n}-S_n}{\sqrt{n}} - \left (1-\frac1\sqrt2 \right )\frac{S_n}{\sqrt{n}} }[/math]

and the fact that the random variables

- [math]\displaystyle{ \frac{S_n}{\sqrt{n}}\quad \text{and} \quad \frac{S_{2n}-S_n}{\sqrt{n}} }[/math]

are independent and both converge in distribution to [math]\displaystyle{ \mathcal{N}(0, 1). }[/math]

The *law of the iterated logarithm* provides the scaling factor where the two limits become different:

- [math]\displaystyle{ \frac{S_n}{\sqrt{2n\log\log n}} \ \xrightarrow{p}\ 0, \qquad \frac{S_n}{\sqrt{2n\log\log n}} \ \stackrel{a.s.}{\nrightarrow}\ 0, \qquad \text{as}\ \ n\to\infty. }[/math]

Thus, although the absolute value of the quantity [math]\displaystyle{ S_n/\sqrt{2n\log\log n} }[/math] is less than any predefined *ε* > 0 with probability approaching one, it will nevertheless almost surely be greater than *ε* infinitely often; in fact, the quantity will be visiting the neighborhoods of any point in the interval (-1,1) almost surely.

## Generalizations and variants

The law of the iterated logarithm (LIL) for a sum of independent and identically distributed (i.i.d.) random variables with zero mean and bounded increment dates back to Khinchin and Kolmogorov in the 1920s.

Since then, there has been a tremendous amount of work on the LIL for various kinds of dependent structures and for stochastic processes. The following is a small sample of notable developments.

Hartman–Wintner (1940) generalized LIL to random walks with increments with zero mean and finite variance. De Acosta (1983) gave a simple proof of the Hartman–Wintner version of the LIL.^{[5]}

Strassen (1964) studied the LIL from the point of view of invariance principles.^{[6]}

Stout (1970) generalized the LIL to stationary ergodic martingales.^{[7]}

Wittmann (1985) generalized Hartman–Wintner version of LIL to random walks satisfying milder conditions.^{[8]}

Vovk (1987) derived a version of LIL valid for a single chaotic sequence (Kolmogorov random sequence).^{[9]} This is notable, as it is outside the realm of classical probability theory.

Yongge Wang (1996) showed that the law of the iterated logarithm holds for polynomial time pseudorandom sequences also.^{[10]}^{[11]} The Java-based software testing tool tests whether a pseudorandom generator outputs sequences that satisfy the LIL.

Balsubramani (2014) proved a non-asymptotic LIL that holds over finite-time martingale sample paths.^{[12]} This subsumes the martingale LIL as it provides matching finite-sample concentration and anti-concentration bounds, and enables sequential testing^{[13]} and other applications.^{[14]}

## See also

## Notes

- ↑ A. Khinchine. "Über einen Satz der Wahrscheinlichkeitsrechnung",
*Fundamenta Mathematicae*6 (1924): pp. 9–20*(The author's name is shown here in an alternate transliteration.)* - ↑ A. Kolmogoroff. "Über das Gesetz des iterierten Logarithmus".
*Mathematische Annalen*, 101: 126–135, 1929.*(At the Göttinger DigitalisierungsZentrum web site)* - ↑ Leo Breiman.
*Probability*. Original edition published by Addison-Wesley, 1968; reprinted by Society for Industrial and Applied Mathematics, 1992. (See Sections 3.9, 12.9, and 12.10; Theorem 3.52 specifically.) - ↑ Varadhan, S. R. S.
*Stochastic Processes*. Courant Lecture Notes in Mathematics, 16. Courant Institute of Mathematical Sciences, New York; American Mathematical Society, Providence, RI, 2007. - ↑ A. de Acosta: "A New Proof of the Hartman-Wintner Law of the Iterated Logarithm". Ann. Probab., 1983.
- ↑ V. Strassen: "An invariance principle for the law of the iterated logarithm". Zeitschrift für Wahrscheinlichkeitstheorie und Verwandte Gebiete, 1964.
- ↑ W. F. Stout: "The Hartman-Wintner Law of the Iterated Logarithm for Martingales". Ann. Math. Statist., 1970.
- ↑ R. Wittmann: "A general law of iterated logarithm". Zeitschrift für Wahrscheinlichkeitstheorie und Verwandte Gebiete, 1985.
- ↑ V. Vovk: "The Law of the Iterated Logarithm for Random Kolmogorov, or Chaotic, Sequences". Theory Probab. Appl., 1987.
- ↑ Y. Wang: "The law of the iterated logarithm for
*p*-random sequences". In: Proc. 11th IEEE Conference on Computational Complexity (CCC), pages 180–189. IEEE Computer Society Press, 1996. - ↑ Y. Wang:
*Randomness and Complexity*. PhD thesis, 1996. - ↑ A. Balsubramani: "Sharp finite-time iterated-logarithm martingale concentration". arXiv:1405.2639.
- ↑ A. Balsubramani and A. Ramdas: "Sequential nonparametric testing with the law of the iterated logarithm". 32nd Conference on Uncertainty in Artificial Intelligence (UAI).
- ↑ C. Daskalakis and Y. Kawase: "Optimal Stopping Rules for Sequential Hypothesis Testing". In 25th Annual European Symposium on Algorithms (ESA 2017). Schloss Dagstuhl-Leibniz-Zentrum fuer Informatik.

Original source: https://en.wikipedia.org/wiki/Law of the iterated logarithm.
Read more |