Autocovariance Created 2026-09-28 Updated 2026-10-14
The autocovariance measures how two observations of the same stochastic process vary together. For a real weakly stationary process of mean , it is
Weak stationarity removes dependence on the absolute time . Without it, the covariance function generally needs two time arguments. Lag zero is the variance, ; symmetry of real covariance gives . Positive values favor deviations from the mean in the same direction; negative values favor opposite directions. The units are the square of the observation units. See Bartlett, lecture 2: autocovariance examples.
For example, if with centered unit-variance white noise, expanding the product leaves only matching noise times. Thus , , and for . This MA(1) has a positive lag-one autocovariance because adjacent observations share one disturbance. Rescaling every observation by multiplies every autocovariance by , while leaving autocorrelation unchanged.
The autocovariance is useful beyond comparing pairs: it determines the variance of any finite linear combination of observations. For the sample mean ,
Each separation occurs in pairs. For the preceding MA(1) and , this is , compared with for four uncorrelated random variables of the same variance. This is the finite-record counterpart of the long-run variance of a stationary process.
Brownian snake Created 2026-09-28 Updated 2026-11-05
For a nonnegative continuous function on that vanishes at both endpoints, the head of the Brownian snake driven by is the centered Gaussian process with covariance function
Consequently , the pseudometric used by the real tree encoded by an excursion.
Canonical pseudometric of a Gaussian process Created 2026-10-06 Updated 2026-11-05
The canonical distance is the L2 norm of an increment of a Gaussian process. It is a pseudometric, since distinct parameters may represent equal random variables almost surely. Its metric covering number appears in the Dudley entropy integral. For standard fractional Brownian motion, ; a normalization with twice the covariance function multiplies this distance by .
Covariance of a squared random field Created 2026-10-06 Updated 2026-11-05
For , the covariance function is . It involves fourth moments and is not determined by the two-point correlation of in general. For a centered Gaussian pair the fourth-moment identity reduces it to . This extra Gaussian hypothesis must be stated before using that reduction.
For a centered Gaussian process with covariance function , twice continuous differentiability of and differentiability of at zero imply a differentiable modification of a stochastic process on compact intervals. The even function satisfies , so the mean-square derivative has variance of increments . A normal distribution has fourth absolute moment three times the square of its variance, so Kolmogorov continuity theorem gives a continuous modification of . The mean-square fundamental theorem of calculus identifies its path integral with a modification of a stochastic process of . This argument does not require integrability of or continuity of .
Explicit Ornstein-Uhlenbeck solution Created 2026-09-28 Updated 2026-11-05
For deterministic and real , the Ornstein-Uhlenbeck stochastic differential equation has solution
Multiply by the integrating factor and apply the Itô product rule to obtain it. The stochastic integral is centered Gaussian and its variance, by the Itô isometry, is
Thus the apparent zero-denominator case is ordinary Brownian motion, and negative gives growing rather than mean-reverting fluctuations.
For , take an independent initial value . Adding its variance contribution gives the time-independent variance and covariance function , making the process stationary. A deterministic zero start instead has the transient variance in the display. These are different initial ensembles, so their variances should not be interchanged.
For , set and . This is a Brownian motion in the new filtration; its independent Gaussian increments have variance equal to elapsed time. The Itô product rule gives . Its initial value is , independent of future W increments, and its covariance function is . Consequently it is a stationary Ornstein-Uhlenbeck process. The quadratic variation of the unscaled time change is , not .
Exponential covariance function Created 2026-09-24 Updated 2026-11-05
The exponential covariance function on the real line is
Here is the marginal variance and the correlation time. For , the centered stationary Gaussian process with this covariance function is the Ornstein-Uhlenbeck process solving
with the initial value independent of future Brownian motion increments. The explicit stochastic-integral solution gives . Its conditional future equals the exponentially decayed present plus independent Gaussian noise, giving the Markov property.
The cusp at zero determines its roughness. For ,
which diverges. Thus a continuous version exists, but it has no mean-square derivative of a Gaussian process. A smooth-looking covariance away from the diagonal does not imply differentiable paths.[ref]
Fractional Brownian motion Created 2026-10-06 Updated 2026-11-05
A fractional Brownian motion with Hurst exponent is a centered Gaussian process with the displayed standard covariance function and a continuous modification. Its increment variance is . Some sources omit the factor , multiplying the process by ; the corresponding increment variance is then . Its canonical pseudometric of a Gaussian process is proportional to , which gives finite expected value of its absolute supremum on compact intervals through the Dudley entropy integral.
Gaussian process Created 2026-09-24 Updated 2026-11-05
Gaussian-process marginal likelihood Created 2026-10-03 Updated 2026-11-05
Let latent values have a multivariate normal distribution , and observe with independent Gaussian noise . Integrating over gives , where . If is positive-definite, its log-marginal likelihood is
The first term measures the residual under the proposed covariance matrix; the determinant term accounts for the volume of the proposed observation law. Both matter when comparing covariance function parameters. With a single observation, and , this reduces to .[ref]
A positive-definite observation-noise covariance matrix makes positive-definite even when is singular; mutually independent errors with strictly positive variances are one sufficient case. If is singular, a Gaussian observation law still exists but has no ordinary density on the full observation space; the inverse-and-determinant formula above is then not valid. This is a likelihood for kernel and mean parameters after latent-value integration, rather than an assertion that estimated parameters have no further uncertainty.
Gaussian process regression Created 2026-10-14 Updated 2026-11-05
Gaussian process regression estimates an unknown function by assigning its values a Gaussian process law, then conditioning on observed values, often with independent Gaussian noise. The covariance function expresses the proposed relation between nearby inputs; the conditional multivariate normal distribution gives the resulting Gaussian process regression posterior. Its conditional mean provides a prediction and its conditional variance quantifies uncertainty under the chosen model. The index set can represent spatial locations or other inputs as well as time.
Kriging Created 2026-10-05 Updated 2026-10-18
Kriging predicts an unobserved value of a spatial random field by combining observations according to their covariances. Nearest-neighbor interpolation uses the closest sample; kriging also asks how strongly each sample is related to the target and how much information the samples share with one another. Two nearby, highly correlated samples need not provide twice the information of one. The different forms of kriging depend on whether the mean is known, an unknown constant, or an unknown regression drift.
Write for the observation random vector, for its realized values, and for the prediction target. Assume finite second moments, and define
Here is the observation covariance matrix, assumed to be a positive-definite matrix in the formulas below. A covariance function supplies its entries and the target covariance vector . For a second-order stationary random field, the covariogram depends on displacement, and the semivariogram satisfies . The intrinsically stationary random field formulation permits kriging using a semivariogram even when a stationary covariogram is unavailable; the finite covariance formulation below is a convenient important case.
For a linear combination predicting with zero bias, the error variance equals its mean squared error:
Ordinary kriging and universal kriging minimize this quadratic form subject to their mean constraints. Their optimality is among the specified linear predictors with zero bias under the chosen statistical model; covariance information alone does not establish optimality among arbitrary nonlinear predictors. The Gaussian random field interpretation supplies additional conclusions in simple kriging.
The reported error variance assumes a chosen covariance function, its statistical parameters, observation locations, and a mean structure. It omits uncertainty in fitted covariance parameters and does not validate the trend. A repeated-sampling mean squared error need not equal the error variance conditional on each realized data vector.[ref]
In 1963, Georges Matheron presented kriging for estimating average ore grades in mining panels from weighted samples taken inside and outside a panel. This setting in geostatistics explains why prediction targets can be averages over regions as well as values at points.[ref]
Mathematical model Created 2026-09-24 Updated 2026-10-13
A mathematical model represents selected features of a system with mathematical objects and relations so that its behavior can be analyzed or predicted. Choosing the representation is part of the work: specify the quantities tracked, the equations or probability distributions connecting them, and the conditions under which those connections are expected to apply. A mathematical proof can establish a consequence of the model; comparing that consequence with observations tests its suitability for the intended use.
For a simple pendulum, the angle and gravitational acceleration give the ideal equation . Its assumptions include a point mass, fixed length , uniform gravitational acceleration, and no damping. The small-angle approximation gives the simpler harmonic oscillator equation and oscillation period . A larger amplitude changes the full model's period; drag requires a damped pendulum. The simpler model remains useful when its omitted effects are small for the question being asked.
A model need not track every detail. A Bernoulli process models repeated success/failure observations using one probability and an independence assumption; a Gaussian process specifies a mean and a covariance function to model related measurements. Each representation enables calculations by retaining some distinctions and omitting others. Useful simplification therefore comes with a stated domain of use and quantities against which its predictions can be checked.
Mean-square derivative of a Gaussian process Created 2026-10-06 Updated 2026-11-05
A Gaussian process has a mean-square derivative at when its difference quotients converge in L2 space. The mean-square convergence need not give differentiable sample paths. For a centered stationary process with twice continuously differentiable covariance function , the difference quotients are Cauchy in L2 space, since their covariance is a rectangular average of . Their limits form a Gaussian process with covariance function .
Multivariate Ornstein-Uhlenbeck process Created 2026-09-24 Updated 2026-11-05
A multivariate Ornstein-Uhlenbeck process obeys . If every eigenvalue of has positive real part, its stationary covariance is the unique solution of .
Ordinary kriging Created 2026-10-05 Updated 2026-10-18
Ordinary kriging assumes for an unknown constant . A predictor has zero bias for every precisely when , where is the all-ones vector. Ordinary kriging minimizes the error variance subject to this constraint, giving the best linear unbiased predictor. Its explicit system is
The sign of the last term follows from the displayed convention . To derive the system, differentiate . To prove the minimum, let solve it and let be another feasible choice. Then , so
A positive-definite matrix makes equality possible only for . This argument uses second moments, not a normal distribution assumption. Ordinary kriging is the special case of universal kriging with and .
For an original one-dimensional teaching example, observe at , and predict at . Choose unit marginal variance, exact observations without measurement noise, an unknown constant mean, and the exponential covariance function
The exponential covariance function corresponds to a stationary Ornstein-Uhlenbeck process, so it gives a valid covariance model. Its semivariogram is . The resulting matrix and vector are
Solving the displayed system gives
These values can be checked directly: the weights sum to one and . Substitution into gives . Nearest-neighbor interpolation must choose between the two equally close samples at one and three, returning either three or two; their error variances under this model are both . Thus the benefit is quantified under the chosen model, without knowing the unobserved target value.
Figure 1.
Ordinary kriging combines three samples and reports uncertainty under a fixed exponential covariance model
. Details.
The upper panel applies the same ordinary kriging calculation at each target location. The lower panel shows the square root of its error variance, in the units of the observations. It is zero at the exact observation locations and rises between and beyond them. No confidence interval is inferred from a variance alone; a probability distribution assumption is needed to attach a coverage level.
The weights are not required to be positive. Keep the same observations and target, but replace the covariogram by the smoother Gaussian kernel . Then
The negative coefficient compensates for dependence between samples; the constraint eliminating bias still holds. Kriging is not generally a convex combination, and its prediction need not stay between the observed values. A smaller model-based error variance does not establish that one covariance function is better supported by these three observations.
Figure 2.
Changing the covariance model changes the ordinary kriging weights and can make a weight negative
. Details.
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.
Condition throughout on the training inputs and . Interpret here as the fixed covariance function and noise hyperparameters. Assume observation errors are independent standard normal random variables, independent of the Gaussian process , and write
The independent-error assumption is the standard Gaussian process regression interpretation of the observation model; the single-observation marginal noise law alone would not specify cross-observation noise correlations. We take so that is a positive-definite matrix. More generally the inverse formulas below apply whenever the indicated noisy covariance matrices are invertible.
The Gaussian process prior makes a Gaussian random vector. Adding the independent Gaussian noise vector to preserves a multivariate normal distribution. Its mean is zero, its observation covariance matrix is , and because the noise is independent of . Therefore
A degenerate latent variance is allowed; the displayed multivariate normal distribution then denotes a Gaussian law even if it has no full-dimensional probability density.
Additional observations weakly decrease the posterior variance at every fixed prediction input. Apply part (ii) repeatedly to add observations one at a time. An observation whose remaining conditional covariance with is nonzero strictly decreases that posterior variance; one with zero remaining conditional covariance leaves it unchanged. Large observation noise reduces the information gained through the denominator .
For fixed Gaussian process hyperparameters and a Gaussian likelihood, the posterior variance depends on the observation locations and noise level, but not on the observed numerical outputs. Hence the reduction holds for each possible new output, rather than only on average. The predictive variance of a future noisy observation also decreases by the same amount because its extra independent noise variance is fixed. Refitting the hyperparameters after adding data can change the covariance function; the monotonicity statement compares conditioning under one fixed model.