Bounded errors with prescribed correlation 2026-11-05
A covariance matrix describes second moments, but does not specify a complete probability distribution. A bounded model can realize a prescribed covariance matrix exactly while keeping every possible error finite. This is useful for checking a nonlinear measurement model without accidentally generating physically impossible inputs; it is a constructed model, not evidence that an actual instrument has that distribution.
For two errors with desired standard deviations and correlation coefficient , let be independent random variables with the Rademacher distribution: each takes and with probability . SetBoth expected values vanish. Since and , direct expansion givesThere are at most four distinct states, each obtained from an equally likely sign pair. Also and . At the second sign has no effect, leaving only two distinct states. If either standard deviation is zero, the corresponding error is zero and its correlation coefficient is undefined; the covariance construction still makes sense.
More generally, a finite-support realization of a covariance matrix exists for every real symmetric positive semidefinite matrix . By the spectral theorem, write using its positive eigenvalues and corresponding orthonormal eigenvectors, and put . Let have independent Rademacher distribution coordinates. The random vector then satisfiesThe identity matrix appears because the signs have unit variance and zero pairwise covariance. There are at most distinct states, with component bounds by the Cauchy-Schwarz inequality. When , take . Thus singular covariance matrices are allowed; a nonsingular Cholesky decomposition is not required.
This full sign model also makes robust linear constraints for bounded covariance models exact. To require for every sign state, choose each sign to minimize its contribution. The result is the necessary and sufficient conditionwhere is the L1 norm. This is a small robust optimization calculation. A physical domain must be checked in the chosen units; clipping inadmissible samples afterwards generally changes both the probability distribution and its covariance matrix.
For example, in correlated threshold and amplitude errors in RC timing, take nominal amplitude , threshold , , and . Use and . Every state has , while the minimum amplitude-minus-threshold isAll four states therefore remain within the RC threshold-crossing time domain. Enumerating them supplies an exact check for this particular bounded error model; it does not establish the instrument's actual tail probabilities.
The nonuniqueness of bounded uncertainty laws with a fixed covariance is visible even in two dimensions. LetFor independent fair signs , both and have covariance matrix because is an orthogonal matrix. Yet the first coordinate of is always , whereas that of is with probability and each of with probability . Hence is respectively zero and one half, despite identical expected values and covariance matrices. A nonlinear risk calculation needs more than those moments.
Two bounded four-state error models with identical covariance and different tail probabilities. All points are constructed, not measured data.
Details. Categorical distribution Created 2026-09-24 Updated 2026-10-14
A categorical distribution describes one trial with one of labelled outcomes and probabilities summing to one. The labels need not be numbers or have an order. It is the single-trial building block of the multinomial distribution: independent draws with the same categorical distribution produce multinomial category counts.
For a trial choosing labels with probabilities , the category-indicator random vector is , , or . Its expected value is ; its components are dependent because exactly one is one. A numerical encoding of is a separate modelling choice: the category labels themselves do not define an arithmetic mean.
Chain rule for information entropy Created 2026-09-24 Updated 2026-10-18
For finite discrete random variables, the chain rule counts uncertainty in two stages:The joint entropy equals the first variable's information entropy plus the average conditional entropy left in the second. All logarithms here have base two, so the unit is the bit; zero-probability terms contribute zero. The identity holds without assuming independence.[ref]
A Mathematical Theory of Communication by Claude Shannon. section 6, property 5, reprint p. 12: joint entropy as first entropy plus average conditional entropy
Iterating gives . The first summand means , with no earlier observations. Each later summand counts only the new uncertainty after the preceding random variables are known. For independent random variables, every term is its ordinary information entropy; for dependent ones, adding those ordinary information entropies can count shared uncertainty repeatedly. This is the reason the chain rule for information entropy is useful in lossless source coding and in calculating an entropy rate.
A short proof starts from the factorization of the joint probability mass function into a marginal distribution and a conditional probability:Use this only where , then average with those joint probabilities. Summing over in the first term gives ; the second is precisely . Repeating the same step with a longer random vector proves the iterated identity. Reversing the order also gives : the two contributions can change with the order, but their total cannot.
Change-of-variables formula for a probability density Created 2026-09-28 Updated 2026-11-05
Let a random vector have probability density function on an open set . If is a continuously differentiable diffeomorphism onto an open set , with nonsingular Jacobian matrix, then has probability density functionand zero off . A diffeomorphism includes differentiability of the inverse; a merely differentiable bijection is not the full hypothesis needed for this density formula. The determinant corrects local volume, and its absolute value accounts for an orientation reversal.
Indeed, for a Borel set , apply the change of variables formula to . The resulting integral over identifies the probability density function.
For example, if has an exponential distribution of rate and , use the diffeomorphism . It gives for . Its integrable singularity at zero does not create a point mass. A map with several inverse branches requires summing their density contributions rather than choosing a single inverse.
Common-gain cancellation in heterodyne overlap uncertainty is the exact invariance of the normalized beat amplitudewhen the corrected peak beat current and both separately measured arm currents are multiplied by the same factor . The factor occurs once in the numerator and once in the denominator. This is scale invariance: the ratio is a homogeneous function of degree zero. The cancellation holds for every realization of a random common factor, without requiring it to be independent of the currents.
More generally, take and let their residual multiplicative measurement calibration factors be . The observed normalization satisfiesThus the gain-matching condition for heterodyne normalization is ; the three factors need not all be equal. For example, , and leave the ratio unchanged. The denominator depends on the geometric mean of its two factors.
Writing the natural logarithms of the factors as a random vector makes the remaining uncertainty particularly clear. With ,This identity is exact for the logarithmic error. The relative variance of the original ratio is only approximately equal to it when the errors are small, as in the variance of a corrected heterodyne overlap estimate. Keeping the covariance terms follows the general measurement-propagation rule.[ref]
For an original imperfect-sharing model, set . Assume are zero-mean independent random variables. The coefficient of the shared fluctuation is , soTake , , with standard deviations for , for and for each arm's separate error. Then and , giving logarithmic standard uncertainty , approximately relative uncertainty. A large shared fluctuation can leave a small residual, but incomplete matching prevents exact cancellation.
If the log-errors additionally have a normal distribution, then and the normalized readout has a lognormal distribution. Its exact expected value is , not . At , this example gives mean and standard deviation . The lognormal bias of a heterodyne overlap estimate comes from exponentiating the remaining error; the perfectly shared factor still cancels.
The physical calibration paths determine which model applies. NIST's receiver experiment combined two lasers through a beam splitter, polarizer and single-mode optical fiber, while separately correcting electrical loss and impedance mismatch.[ref]
Frequency response metrology for high-speed optical receivers by Paul D. Hale and others. PDF pp. 1–2, Heterodyne measurements and equations 1–4
An electronic gain change confined to the beat-frequency path need not appear in the arm-current measurements. Likewise, adding a current offset is not multiplication by a common factor. Background correction and the sharing of calibration factors must therefore be established before claiming cancellation. Compression of an entropy sum 2026-10-06
A union-intersection compression can only decrease the sum of information entropies for a finite-valued random vector . Each elementary step follows from entropy submodularity; iteration proves the assertion with multiset multiplicities. Uniform coordinate multiplicity gives Shearer inequality by compressing to repeated full sets and empty sets.
Correlation matrix Created 2026-10-14 Updated 2026-11-05
For a random vector with covariance and positive coordinate variances, let . Its correlation matrix is the covariance of , so it is positive semidefinite with unit diagonal. Each entry is the correlation of the corresponding pair of variables. In particular , explaining why an eigenvalue in correlation-based principal component analysis represents that eigenvalue divided by of the total variance. The empirical version is the sample correlation matrix.
Covariance matrix Created 2026-09-24 Updated 2026-10-14
For a real random vector with finite second moments, its covariance matrix collects all pairwise covariances:The diagonal entries are variances. The covariance matrix is a symmetric matrix and a positive semidefinite matrix, because for every real vector ,Thus one matrix describes the variance of every linear combination of the coordinates. It is a positive-definite matrix exactly when no nonzero linear combination is constant almost surely. A deterministic linear relation produces a zero eigenvalue.
For example,has unit coordinate variances, covariance , and eigenvalues and . Its unit eigenvectors and describe directions of greatest and least projected variance. For a unit vector , direct multiplication gives : the variation in the sum direction is nine times that in the difference direction.
The spectral theorem supplies an orthonormal basis of these directions. This connects covariance matrices to principal component analysis: its leading eigenvector identifies the unit-direction projection with the largest variance. For a linear transformation , the transformed random vector has covariance matrix , so uncertainties propagate through a linear model by matrix multiplication.
Cramér–Wold theorem Created 2026-09-24 Updated 2026-11-05
random vectors converge weakly to exactly when every linear projection converges weakly to . The reverse implication follows because these one-dimensional limits give pointwise convergence of the multivariate characteristic functions.
Cross-covariance matrix 2026-11-05
For real random vectors and with finite second moments, their cross-covariance matrix collects the covariances between the two sets of coordinates:It has size , and exchanging the two vectors transposes it: . Unlike a covariance matrix of a vector with itself, a cross-covariance matrix need not be square or symmetric.
For an original construction, let centered independent random variables have variances1and4, and putLinearity of covariance givesThe second entry contains a negative contribution from , although the total is positive. Also andThis joint covariance matrix is positive semidefinite. That restriction couples its diagonal and off-diagonal blocks; an arbitrary rectangular matrix cannot be combined with arbitrary within-vector covariances to produce a valid joint model.
For fixed real matrices and constant vectors , direct substitution into the definition givesThis identity propagates shared input fluctuations through two different linear readouts, for example when assessing shared calibration error.
From independent identically distributed paired observations, the usual unbiased estimate isThe pairing must be preserved: independently shuffling the second set changes the estimated association. NIST's multivariate tutorial gives the coordinate sample-covariance formula and its assembly into a covariance matrix; the rectangular formula above is the block joining the two chosen coordinate groups.[ref]
Entropy power 2026-10-14
The entropy power of an -dimensional random vector with finite differential entropy in bits is the variance per coordinate of an isotropic Gaussian distribution with the same differential entropy. The normalization makes when has covariance matrix .
// Target: probability-and-statistics.bigb
Entropy power inequality 2026-10-14
For independent -dimensional random vectors with densities and finite differential entropies, the entropy power inequality statesThe sum's differential entropy is required to be defined; a value makes the inequality immediate. Equality for finite nondegenerate densities occurs for Gaussian distributions with proportional covariance matrices.
// Target: probability-and-statistics.bigb
Finite-dimensional distribution Created 2026-09-24 Updated 2026-10-14
For times , the corresponding finite-dimensional distribution of a stochastic process is the joint probability distribution of the random vector . The collection of these distributions records every finite set of coordinates of the process.
Knowing only the one-time marginal distributions is insufficient. Let be independent standard normal random variables, and let for every , where is one standard normal random variable. Every and has the same standard normal distribution. Nevertheless, for , the difference has a normal distribution with variance two, whereas . The joint probability distribution of is concentrated on the diagonal; that of is spread across the plane. A model for tomorrow's value therefore needs the relation between observations as well as their separate distributions.
For a real-valued stochastic process, its finite-dimensional distributions determine its probability law on the product sigma-algebra. With an uncountable index set, a path property such as continuity need not be measurable in that sigma-algebra; specifying a suitable space of sample paths and a regular modification of a stochastic process is a separate step. This distinction is explained in MIT, The basics of stochastic processes, section 1.1.
Every real symmetric matrix satisfying for every real vector is the covariance matrix of a random vector taking only finitely many values. The stated inequality means that is a positive semidefinite matrix. One does not need a multivariate normal distribution to realize a specified second-moment geometry. Conversely, a proposed covariance matrix must be positive semidefinite, since is the variance of the projection onto any real vector .
Here is an explicit construction. If is the matrix rank of , orthogonal diagonalization gives a real matrix withLet be independent Rademacher random variables, each equal to or with probability , and put . Then and , soThe random vector has at most possible values. Adding any constant vector prescribes its mean without changing its covariance matrix. If , the constant vector alone suffices.
For an original two-dimensional example chooseThe four equally likely values of areTheir coordinate means vanish. Their squared first coordinates average to , their squared second coordinates to , and their coordinate products to . The displayed covariance matrix is therefore realized exactly, without sampling error or an asymptotic argument.
These four values are a complete probability model with masses , not automatically an independent random sample whose population is unknown. Applying the usual divisor-three sample covariance matrix to the same four rows would give . NIST explicitly distinguishes that unbiased sample formula with divisor ; probability-weighted population moments use the assigned masses instead.[ref]
NIST and SEMATECH e-Handbook of Statistical Methods. Section6.5.4.1, Mean Vector and Covariance Matrix, unbiased sample formula
The sign construction need not minimize the number of points. If a distribution has positive-mass support points, the centered points obey one nontrivial weighted relation, so their span has dimension at most . Its covariance matrix consequently has matrix rank at most , requiring when . Matching a covariance matrix also does not match the full probability distribution: this finite model and a continuous Gaussian model can have identical means and covariances while assigning very different probabilities to nonlinear events.
Gaussian autoregressive proposal reversible with respect to a standard normal distribution Created 2026-09-29 Updated 2026-10-05
Let , let , and proposeThe proposal distribution is . If independently of , then is a jointly multivariate normal distribution invariant under exchanging and , because both random vectors have covariance matrix and their cross-covariance matrices are both . Consequently its density satisfieswhere is the standard-normal density. Thus the proposal is reversible with respect to the standard normal distribution.
Gaussian conditional expectation Created 2026-09-24 Updated 2026-11-05
Let the joint random vector have a multivariate normal distribution, with expectations , covariance matrices and cross-covariance matrix . If is invertible, the conditional expectation is the affine functionand the conditional covariance matrix is .
To prove both assertions, define . Direct covariance calculation gives . Since has a multivariate normal distribution, this zero cross-covariance implies independence. The decomposition of into its affine part and therefore gives the conditional expectation and the remaining covariance matrix. This is the conditional multivariate normal distribution calculation.
If is singular, replace by its Moore-Penrose inverse . The formulas hold for in its affine probability support, ; values away from that probability support do not determine a unique version of the conditional expectation. For example, if and for a standard normal random variable , then is the all-ones matrix. Although does not exist, on the probability support .
For a finite-dimensional discounted gain random vector , absence of arbitrage means almost surely only when almost surely. Let and minimize on the orthogonal complement . The Gaussian damping makes finite and differentiable without physical integrability assumptions on . Every nonzero direction in has negative gains on an event of positive probability; compactness of directions proves coercivity. At a minimizer, differentiation gives . Normalizing the positive weight produces an equivalent martingale measure with integrable gains. This is a constructive one-period proof of the fundamental theorem of asset pricing even on an infinite probability space.
Global Markov property for an undirected graph Created 2026-09-24 Updated 2026-11-05
The global Markov property says that graph separation of vertex sets and by implies conditional independence of the corresponding random vectors given the variables at .
Joint entropy Created 2026-10-14 Updated 2026-10-25
Joint entropy is the information entropy of an entire random vector, treating its coordinates together as one outcome. For random variables with finite alphabets and joint probability mass function ,It is measured in bits. The distinction from separate information entropies is whether shared uncertainty is counted once or repeatedly. Two copies of the same fair bit have joint entropy one bit, since only and can occur. Two independent fair bits have joint entropy two bits, since all four pairs are possible and equiprobable.
For a less symmetric example, assign probabilities to respectively. ThenHere is fair, while . Thus and bits, where is binary entropy. Adding the separate information entropies would give approximately bits, overcounting by the mutual information bits.
The chain rule for information entropy makes the shared information explicit:In this example is certain given and fair given , so its average conditional entropy is bit. Sending the first coordinate changes how much uncertainty remains in the second. A prefix code with codewords
0, 10, 11 for the three possible pairs has average length bits, exactly the joint entropy in this stipulated law.For finite alphabets,The lower bound follows because knowing the full random vector determines every coordinate; the upper bound follows from conditioning reduces entropy in the chain rule for information entropy. Equality in the upper bound means joint independence. The difference from that upper bound is total correlation, whose noisy parity total correlation example shows why separate pairwise comparisons need not find all the dependence.
Joint probability distribution Created 2026-09-24 Updated 2026-11-05
The joint probability distribution of random variables is the probability distribution of the random vector . It records both the marginal distributions and their dependence.



