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. Let be independent and identically distributed random variables taking and with equal probabilities, the Rademacher distribution. The two opposite complex exponentials give . Their expected value is zero and their variance is one. For , the characteristic functions of its sample mean and its variance normalization are respectivelyFor each fixed , the bases are positive for all sufficiently large . The Taylor expansion at zero then givesExponentiating proves the two displayed pointwise limits. The first limit is the characteristic function of the constant zero; the second is that of the standard normal distribution. The Lévy continuity theorem gives the corresponding convergence in distribution statements. Averaging has variance , whereas dividing the sum by preserves variance one. This sign calculation illustrates why the law of large numbers and the central limit theorem use different scales; it is not a proof for arbitrary probability distributions.
Covariance changes RC timing uncertainty, while gain and offset cancellation depend on the full measurement model
. Original calculation for a 1 V high level, 0.5 V threshold and 1 µs time constant. Exact four-state bounded-error checks are compared with first-order propagation. The right panel distinguishes common gain, a two-level offset with fixed baseline, and a common offset of all three levels. Its common perturbation sets gain or offset . No measured uncertainty data are used. Details. Difference of independent Poisson processes Created 2026-10-07 Updated 2026-11-05
For independent Poisson processes with rates , their difference is a Lévy process with characteristic function . When the combined rate is positive, its jumps occur at rate , with direction probabilities proportional to the two rates. Equal unit rates give and a rate-two Compound Poisson process with Rademacher distribution jumps. Its paths are integer-valued, càdlàg, and of finite variation on compact intervals.
Past exam of the mathematics course of the University of Cambridge 2004 iii Paper 28 6 b Solution Created 2026-10-03 Updated 2026-10-14
Take a random variable with the Rademacher distribution, and setBoth marginal distributions equal the law of for every . Hence and each have weak convergence of random variables to ; one may take on this probability space. But their sums alternate:Indeed, at their characteristic functions are for even and for odd , so the sums have no weak limit at all. Separate marginal weak convergence does not imply convergence of the sum. The marginal weak convergence does not control sums counterexample changes the dependence while leaving the marginals fixed. Unlike convergence in probability, separate marginal weak convergence of random variables contains no information about the joint coupling.
Past exam of the mathematics course of the University of Cambridge 2005 iii Paper 5 5 Solution Created 2026-10-03 Updated 2026-10-14
First use independent fair signs , the Rademacher distribution convention for Bernoulli random variables in this setting. Let with uniform probability, write and . We prove the sharp Rademacher second-moment inequality by a complete finite-cube calculation.
For a function on this cube define the coordinate-flip generator on a hypercubewhere flips just coordinate . The Walsh characters form an orthonormal basis: distinct characters have expectation-zero product, and there are of them. Flipping a coordinate in changes its sign and other flips leave it unchanged, so . Expand the real function as . Since , changing variables shows that whenever is odd. ThusThis derives the even-function spectral gap on a hypercube, rather than assuming it.
At each vertex with , choose a norming functional of norm one satisfying , supplied by the Hahn-Banach theorem. For complex take real parts in the following inequalities. At a vertex with , use the zero functional. The supporting inequality for the norm givesBut , since every coefficient is a degree-one Walsh character. Summing the preceding inequalities with factor therefore proves . As ,Rearranging and taking square roots yieldsNo completeness of is needed. The constant is sharp: with two identical nonzero scalar coefficients, the absolute sum is zero with probability and twice the coefficient magnitude with probability .
If Bernoulli instead means fair variables , write and . Add an independent fair sign and apply the proved estimate to . Conditional on either sign of , has the same distribution as , by symmetry of the sign sum. Hence for , proving the same bound in that convention.
The constant is documented in the primary sharp-constant study.
Fairness is essential. For a general Bernoulli random variable with success probability , a single nonzero scalar coefficient gives . Thus the printed term cannot be read as permitting arbitrary Bernoulli probabilities.
Past exam of the mathematics course of the University of Cambridge 2013 iii Paper 24 2 d Solution Created 2026-10-03 Updated 2026-10-07
Take two independent rate-one Poisson processes and , and letThe difference of independent Poisson processes starts at zero and has stationary increments and independent increments. Its paths are càdlàg. For an interval of length , the probability of any jump is , proving stochastic continuity. Thus is a Lévy process. The characteristic function of a Poisson distribution with mean is , so independence givesThe sample paths are integer-valued step functions with jumps or . On every bounded interval there are only finitely many jumps, and independent Poisson arrival times coincide with probability zero. The combined arrival rate is two: holding times are independent exponentials of rate two, and each jump direction has probability , independently of the holding times. This is equivalently a Compound Poisson process of rate two with Rademacher distribution jump sizes. Its paths have finite variation on compact time intervals, although there are infinitely many jumps over the whole half-line almost surely.
Past exam of the mathematics course of the University of Cambridge 2016 iii Paper 124 2 c Solution Created 2026-10-03 Updated 2026-10-06
For the simple symmetric random walk, independence and the Rademacher distribution give the moment-generating functionThe function is even; for its derivative is , since the derivative of is at most one and . Here and are the hyperbolic cosine and hyperbolic tangent. Hence the exponential-moment estimate is
The supplied exponential maximal bound for a symmetric random walk now gives . For , choose ; for , use the elementary bound by one. Thus
Fix , choose , and set . For large these form an increasing sequence. Apply the preceding exponential maximal bound for a symmetric random walk at with threshold . The resulting probability is at mostWe have and . Choose strictly between and ; the displayed probabilities are . By the Borel-Cantelli first lemma, almost surely, eventually . For every , monotonicity of for large therefore givesIntersect the probability-one events for to obtain the upper law of the iterated logarithm:
No, not from the stated assumptions alone. The centered slope is a weighted sum,and the weighted errors need not be identically distributed. The ordinary central limit theorem therefore does not apply directly.
For a concrete counterexample, for every chooseThese satisfy all three centring and orthogonality assumptions, and both explanatory columns are nonzero. Let the errors be independent with Rademacher distribution, taking values with equal probability. Thenwhich takes values with probabilities for every . Increasing the sample size adds no information about this slope, and the standardized estimator does not approach a normal distribution.
A useful additional assumption for asymptotic normality of a weighted regression slope is that no single design value dominates:Under this condition and the given finite error variance, the Lindeberg-Feller central limit theorem yieldsjustifying the approximation for the slope as well.
Positive covariance 2026-11-05
Two random variables have positive covariance when their centered product has positive expected value:Assume throughout that their second moments are finite. Outcomes where the centered values have the same sign contribute positively; opposite signs contribute negatively. The sign describes their average balance, rather than requiring every outcome to have matching signs.[ref]
Covariance and Correlation by Jeremy Orloff and Jonathan Bloom. §§2–2.1, definition and properties of covariance
A shared group effect can produce positive covariance even when the relation inside each group runs in the opposite direction. For an exact original example, let and be independent random variables with the Rademacher distribution: each takes the values with equal probability. Define and . Both expected values vanish, and independence givesTheir Pearson correlation coefficient is consequently . The four equiprobable outcomes are , , and .
For either fixed value , however, . Thus the conditional covariance is , and the conditional Pearson correlation coefficient is : the two points inside each group lie on a descending line. The law of total covariance identifies exactly where the positive pooled value comes from:The first term averages the conditional covariances; the second measures how the two conditional expectations move together across groups. Here the between-group contribution outweighs the negative within-group contribution. This is a covariance form of Simpson's paradox.
The dashed linear regression line has slope , but that slope does not give the direction of the relation at fixed . Nor does positive covariance by itself establish a causal effect: in the specified model the common variable supplies the positive component. Choosing which variables to condition on is a question about the model and the intended comparison, beyond computing one number.
Positive covariance is also weaker than requiring one variable to be an increasing function of the other. Under appropriate integrability assumptions, strict positive covariance with an increasing payoff supplies a useful sufficient condition; the grouping example shows a different route to the same sign.
Scalar Gaussian Kalman recursion 2026-10-14
For the state-space model , , assume independent Gaussian process noise and measurement noise of variances , independent of the prior state and previous observations. A normal distribution for the filtered state, with mean and variance , predicts mean and variance . Here denotes predicted state variance, rather than the observation-noise covariance notation used in the vector equations above. Gaussian conditional expectation then gives posterior mean and posterior variance , where the Kalman gain is .
Mere weak white noise assumptions do not imply normal posterior distributions: independent process noise with a Rademacher distribution makes the next state a mixture of two shifted normal distributions. The Kalman filter can still describe a best affine state estimate under appropriate second-order assumptions, but that is distinct from an exact Gaussian conditional law.
Simple random walk Created 2026-09-24 Updated 2026-10-14
A simple random walk on a locally finite graph chooses each vertex in the current vertex's graph neighbourhood with equal probability, assuming there is at least one available neighbour. On the integer line there are two choices, one unit left or right, so each has probability . This is the one-dimensional simple symmetric random walk. Terminology varies: a simple random walk on the integer line is also often allowed unequal step probabilities, with “symmetric” specifying the fair case.
For a simple symmetric random walk starting at , each increment has the Rademacher distribution, with expected value zero and variance one. Thus linearity of expectation and the variance of a sum of independent random variables giveFor example, after steps the expected value is zero, the variance is , and the standard deviation is . Doubling the typical distance scale takes four times as many steps. This square-root growth explains why a random walk can wander far even when there is no preferred direction.
Four fair and two biased unit-step random-walk paths, with their expected values and bands one standard deviation wide on either side.
Details. The colored curves are illustrative sample paths, not averages over all possible walks. The dashed curves show the expected values; the shaded bands show the expected value plus or minus one standard deviation at each time. These bands are a scale of spread, not confidence intervals, and give no guarantee that an entire sample path stays inside them.
Zero expected value does not make this a stationary process: its one-time probability distribution changes with , as the increasing variance already proves. It does have stationary increments and independent increments, because blocks of fresh steps have the same probability distribution at any starting time and disjoint blocks use independent random variables. This separation of position from increment is one reason the random walk is such a useful first example of a stochastic process.
Sub-Gaussian distribution Created 2026-10-13 Updated 2026-11-05
A real centered random variable is sub-Gaussian random variable with parameter if its moment-generating function satisfiesThe parameter is an upper bound on fluctuation size, not necessarily the standard deviation. For and , exponential Markov inequality gives . Choosing and applying the same argument to yields the Chernoff boundA centered normal distribution of variance attains equality in the moment-generating-function condition. A Rademacher distribution also satisfies it with , since . Products of moment-generating functions show that a sum of independent centered sub-Gaussian random variables with parameters is sub-Gaussian with parameter . Hence the sample mean of independent variables with a common parameter has tail bound . This gives normal-like concentration without assuming a normal distribution. For an uncentered variable, the convention is to apply the condition to .
Weakly stationary process Created 2026-09-28 Updated 2026-10-14
A real stochastic process is a weakly stationary process if it has finite second moments, a constant expected value , and an autocovariance depending only on the lag of a time series:In particular its variance is the same at every time, . This is often called second-order stationarity. It makes observations from different parts of a record comparable through the same autocorrelation function. Bartlett uses this second-order meaning of stationarity in Introduction to Time Series Analysis, lecture 2: mean, covariance, and stationarity.
For a worked contrast, let be centered white noise of variance . The process has mean , variance , and zero autocovariance at nonzero lags, so it is weakly stationary. The process has exactly the same covariance structure, but its mean is , so it is not weakly stationary. Constant variance alone is insufficient.
Weak stationarity need not imply strict stationarity. For example, choose independent random variables at all integer times, using a standard normal distribution at even times and a Rademacher distribution at odd times. Every coordinate has zero mean and unit variance, and distinct coordinates have zero covariance. Nevertheless a shift by one changes the marginal probability distribution from continuous to two-point. This also illustrates why weak white noise need not be identically distributed.



