Asymptotic equipartition property Created 2026-09-24 Updated 2026-10-14
The asymptotic equipartition property explains why a long message from a source can usually be described using its information entropy per symbol. Individual messages can have very different probabilities, but the messages carrying almost all the total probability have similar logarithmic costs per symbol. The Bernoulli typical-set example makes the distinction between an individual message and a large collection explicit.
For independent and identically distributed random variables on a finite alphabet, let be their probability mass function and . Then
Here means the probability mass of the realized word, evaluated under the source law. The product rule for independent random variables turns its information content into a sum:
The strong law of large numbers gives the limit. Zero-probability symbols do not occur; on the positive-probability support of a finite alphabet, these information costs are finite. The corresponding typical set consists of words whose cost per symbol is within a chosen tolerance of .
For a strictly stationary process with a finite alphabet, the constant-limit extension requires ergodicity. The Shannon-McMillan-Breiman theorem then replaces the one-symbol information entropy with the information rate. Stationarity without ergodicity in an information source shows why stationarity alone is insufficient.[ref]
Conditional entropy rate 2026-10-14
For a strictly stationary process on a finite alphabet, put and for . Each is the average remaining uncertainty in the next symbol after its history is known. More history can improve prediction, so this sequence is nonincreasing:
The inequality uses conditioning reduces entropy; the last equality uses strict stationarity. Nonnegative therefore have a limit. By the chain rule for information entropy,
The Cesàro mean converges to the same limit, proving the equality with the entropy rate. This is a statement about average information entropy. A constant almost-sure limit of the realized information content requires the further hypotheses in the Shannon-McMillan-Breiman theorem; stationarity without ergodicity in an information source explains the distinction.
Entropy rate 2026-10-14
The entropy rate measures average new uncertainty per emitted symbol of a stochastic process. Predictability from earlier symbols can make this much smaller than the information entropy of one symbol. For example, a binary Markov source can emit a fair bit at every time while repeating its previous bit with probability : each individual symbol has one bit of uncertainty, but the entropy rate is only about bits per symbol.
For a finite alphabet source , define
when the limit exists. Base-two logarithms give bits per symbol. Multiplying by a fixed emission frequency gives bits per unit time; the symbol rate and the uncertainty of the sequence are different inputs. A strictly stationary process on a finite alphabet always has an entropy rate, equal to its conditional entropy rate.[ref]
For an independent and identically distributed source, the chain rule for information entropy gives , hence . With dependence, conditioning reduces entropy and makes the past useful. The examples under Markov information source show this benefit using exact finite-block calculations.
Moving-average process of order one Created 2026-09-28 Updated 2026-10-14
A moving-average process of order one has the form
with centered white noise of finite positive variance . Each disturbance enters the current observation with weight and the next observation with weight , then leaves the filter. It is a weakly stationary process for every real : the mean is and the autocovariance of an MA(1) process depends only on lag. Strong white noise additionally makes it a strictly stationary process. No restriction is needed for stationarity.
For a worked observation calculation, take , , and consecutive noise values , , . Then and ; the same disturbance appears in both. If , the variance is , the lag-one autocovariance is , and the lag-one autocorrelation is . All higher-lag autocorrelations vanish, as shown in autocorrelation.
An MA(1) is useful for brief dependence caused by overlapping disturbances or measurements. Its name refers to a weighted moving sum of noise; its weights need not be positive or sum to one, and it differs from the data smoother in seasonal extraction by a centred moving average. Under strong white noise, observations more than one interval apart depend on disjoint independent noise families and are independent. Under weak white noise, the same cutoff establishes only uncorrelated random variables.
Invertibility of a moving-average model is a separate question: can the specified driving noise be recovered by a stable linear filter of present and past observations? For an MA(1) the answer, with the absolutely summable filter convention, is exactly :
Thus gives a stationary MA(1) that is not invertible in this sense. At it is still stationary, but the inverse coefficients are not absolutely summable. The case is simply shifted white noise. See Bartlett, lecture 5: MA(1) and stable invertibility.
Set and draw independently of future Brownian increments. The Ornstein-Uhlenbeck process is then a strictly stationary process, with
Every time has the same normal distribution, and the covariance function depends only on the time lag. For a Gaussian process these properties also make all its finite-dimensional distributions invariant under a common time shift. The stationary distribution balances the continual random forcing against the contracting drift.[ref]
With a fixed , the covariance function instead is
In particular, it is zero when , since the initial value has no uncertainty. The second term records the fixed start; it is the general scaling of the zero-start Ornstein-Uhlenbeck covariance. The pure exponential covariance function displayed above assumes stationary initialization. For a fixed start, that function emerges as the late-time limit at fixed lag, while the one-time probability distributions approach by convergence in distribution.
For the stipulated , , , stationary initialization has variance one from the outset. Its autocorrelation is , so the correlation time is one: a lag of one reduces the autocorrelation to . Its raw second moment includes the squared expected value; it must not be confused with the covariance.
Figure 1.
Simulated stationary Ornstein-Uhlenbeck samples and analytic covariance compared with a fixed start
. Details.
The upper panel shows three simulated sequences with independent stationary initial values and exact transitions at spacing . Joining their points only guides the eye; it does not simulate a continuous sample path between those points. The lower panel shows analytic covariance functions: the stationary curve and, for comparison, for fixed initialization at two different ages . These are simulated samples and model curves, not measured trajectories or empirical covariance estimates.
A noncausal stationary autoregression exists. On the two-sided time axis define
This series converges in the sense of mean-square convergence, and direct subtraction gives . The expected value and autocovariance are
Consequently this is a weakly stationary process and, by Gaussianity, a strictly stationary process. It is an example of noncausal stationary autoregression, since uses future noise. In particular, is correlated with , so the usual causal variance recursion is inapplicable. If an additional assumption required the driving noise to be independent of past observations, this solution would be excluded; that assumption is not stated here.
A stationary causal time series exists. The infinite moving-average representation
converges in the sense of mean-square convergence because the driving variables are independent random variables and . Shifting the series gives . Its expected value is zero and its autocovariance is
Thus it is a weakly stationary process; since the driving variables have a normal distribution, it is also a Gaussian process and a strictly stationary process. Throughout the stationarity discussion, take ; degenerate zero noise permits trivial constant solutions.
A weakly stationary process has finite second moments, a constant expected value , and covariance depending only on the time difference:
A strictly stationary process, also called strongly stationary, has every finite-dimensional probability distribution invariant under a common shift: for every finite choice of times and every shift , and have the same law. strict stationarity with finite second moments implies weak stationarity. weak stationarity alone does not determine the full joint law, and strict stationarity alone does not guarantee finite moments.
A nonstationary process has a statistical law that changes with the time origin. In the weak sense, this includes a time-dependent mean or variance, or a covariance that depends on the two times separately rather than only on their lag. A strictly stationary process requires invariance of every finite-dimensional distribution under a common time shift.
In the preceding plots, series suggests a stochastic trend or changing level, and series suggests a deterministic seasonal mean. These are the intended nonstationary examples. A plot alone cannot prove either conclusion: in particular, a stationary random-phase sinusoid can have a seasonal-looking trace and an oscillatory ACF. The interpretation of series as nonstationary concerns a seasonal mean tied to calendar time.
Three standard responses are to remove a fitted deterministic trend or seasonal mean; to use regular or seasonal differencing for an appropriate trend or seasonal component; and to stabilize a changing variance by a transformation or explicit seasonal scale model. For example, logarithms or a Box–Cox transformation can address level-dependent variance. The operation should match the source of nonstationarity; differencing a varying variance does not generally make it stationary.
For , set . The candidate invariant probability law of a Markov process is
To prove invariance rather than merely guess a limiting probability distribution, initialize independently of future Brownian increments. Integrating the conditional characteristic function from part (i) against this centered normal distribution gives
because . The uniqueness theorem for characteristic functions implies for every . This proves , as required. The time-homogeneous Markov property then also makes the process with this Ornstein-Uhlenbeck stationary initialization a strictly stationary process.
Sinusoid Created 2026-10-06 Updated 2026-10-07
A sinusoid is a function , where is its amplitude, its angular frequency and its phase. For its period is . A uniformly randomized phase can produce a strictly stationary process even though individual paths look periodic.
Choose one of two regimes once, with equal probability: a source of independent and identically distributed random variables with one-bit probability , or one with one-bit probability . Keep the chosen regime forever. The resulting source is a strictly stationary process, because shifting a block does not change either component law. It is not an ergodic stationary process: its limiting empirical frequency identifies the regime.
The source's information rate is
Conditioning on the single regime bit changes any block's information entropy by at most one bit, so dividing by the block length proves this rate. However, the limiting realized information content per symbol is approximately in the first regime and one in the second. The alternative component's likelihood ratio decays exponentially along a typical path from the chosen component, at a rate given by the positive relative entropy between the two Bernoulli distributions. The mixture therefore has two possible pathwise limits, not one limit equal to the averaged information rate.