Sample mean and covariance Created 2026-09-24 Updated 2026-11-05
For observations , the sample mean and empirical covariance matrix describe average location and joint variation:Each summand is an outer product, so is positive semidefinite. If the observations are independent and identically distributed random variables with covariance matrix , then . For , replacing the divisor by gives an unbiased estimator.
For the three observations , the sample mean is . The sum of centered outer products isso the -divisor sample covariance matrix is , and the version is . Stating the divisor avoids ambiguity when comparing formulas. The rank of a centered sample covariance matrix also explains why too few observations force singularity in high dimension.
Sandwich covariance matrix Created 2026-09-24 Updated 2026-11-05
Suppose an estimating equation has the expansionwhere is nonsingular and the centered estimating function has covariance matrix . A central limit theorem gives asymptotic covariance for the rescaled error, or approximately for .
The transpose is essential when is not symmetric; the simplified form applies only in the symmetric case. Plugging in consistent estimates gives a sandwich covariance estimate. Regression heteroskedasticity-consistent standard errors and cluster-level generalized estimating equations use instances of this construction.
Scalar rescaling invariance of a tie-line weight matrix means that multiplying every fit weight by the same positive number leaves the fitted phase fraction unchanged. Let endpoint compositions and overall composition be expressed in independent mole fraction coordinates. With , a fixed symmetric positive-definite matrix defines the tie-line phase-fraction fit by minimizingFor , . Multiplication by a positive constant preserves every comparison between objective values, so the sets of minimizers agree. The proof also applies when the same constraint is imposed in both fits.
For distinct endpoints, the unconstrained formula makes the cancellation visible:The differential in sensitivity of a tie-line fit to its weight matrix agrees: for a perturbation , its numerator is by the fit's normal equation. Thus the scalar direction is insensitive even when the residual is nonzero.
In an original example, take , , and . The remaining composition coordinate is fixed by closure. These values giveReplacing by gives the same fraction, although the minimum objective increases from0.00072to0.00504. Changing only the second diagonal weight from4to7 instead changes the fitted fraction to0.640625. Relative weights determine the geometry; their common multiplier does not.
Point-estimate invariance does not by itself establish invariance of physical measurement uncertainty. Merely rewriting the same objective with leaves propagation through the same measured-input covariance matrix unchanged. If instead represents absolute precision and asserts a genuinely different covariance , that is a different noise model. With exact endpoints, the linear-model variance then decreases by a factor . The measurement model and covariance interpretation must be stated.[ref]
Guide to the expression of uncertainty in measurement by JCGM. Sections 5.1.3 and 5.2.2, model sensitivities and covariance propagation; tie-line result derived here
Let be a real symmetric matrix with a positive-definite matrix. Its quadratic form satisfies the completing the square identityFor each fixed vector , the unique minimizing vector is , so the minimized value is . Also, is a positive-definite matrix exactly when is a positive-definite matrix, under the stated assumption on .[ref]
An original scalar example isHere , , , and the Schur complement is . Holding would give , but letting relax to reduces the quadratic form to . At the respective values are and . Eliminating a variable therefore changes the effective cost of the retained variable.
This interpretation supports quadratic optimization and the positive-definite symmetric matrix tests used in Cholesky decomposition. In a multivariate normal distribution, a covariance matrix also gives a conditional covariance through a Schur complement; the required probabilistic hypotheses are supplied by conditional multivariate normal distribution, rather than by the algebra alone.
Sensitivity of a tie-line fit to its weight matrix describes how changing the metric changes an inferred phase fraction, even when the measured compositions are held fixed. For distinct endpoints , define , and the interior unconstrained tie-line phase-fraction fitDifferentiating the normal equation , with fixed, givesThis term supplements the composition and endpoint derivatives in tie-line phase-fraction sensitivity; it is not included in their fixed-metric formulas.
For an original example, use independent mole fraction coordinates , and . With , the fitted fraction is , and . Increasing the second diagonal weight from to predictsDirect refitting gives , a change of . The small difference is the neglected higher-order term.
Two invariances clarify the result. An exactly balanced composition has and the same fraction under every positive-definite metric. Also, replacing by for positive leaves the fraction unchanged: the scalar rescaling invariance of a tie-line weight matrix follows from cancellation in its ratio. The differential agrees because .
If for a composition covariance matrix, its perturbation is to first order. Uncertain fitted weights can therefore add sensitivity, with correlations to the composition measurements retained in the measurement model. This is an application of the guide's general sensitivity-coefficient framework, not a tie-line formula quoted from it.[ref]
Guide to the expression of uncertainty in measurement by JCGM. §5.1.3, derivatives of the measurement model; §5.2.2, correlated inputs
Boundary-constrained fits and coincident endpoints need separate treatment. Sign of the normalized tangency portfolio 2026-10-14
Assume a positive definite covariance matrix and nonzero excess-mean vector . The Cauchy-Schwarz inequality gives , with the positive-premium efficient direction , . If , its normalized risky portfolio has Sharpe ratio . Thus negative normalization reverses the efficient orientation. If , the efficient risky direction is self-funded and cannot be normalized to a unit risky budget.
Simpson baseline integration for pulse-energy correction subtracts a three-point estimate of integrated background from a measured gate integral. For a baseline on , Simpson's rule givesIt is exact for a quadratic or cubic baseline, provided the three values represent background rather than pulse-contaminated samples. For a four-times differentiable baseline, the remainder is for some .[ref]
3.5 Quadrature, subsection (ii) Simpson’s Rule. equation3.5.6, elementary rule and fourth-derivative remainder
For an original chosen quadratic background, take with beginning, midpoint and end values , and . Its integrated baseline is , whereas endpoint averaging would give . A raw gate integral of therefore gives after the three-point correction. Overestimating only the midpoint by would subtract an extra .
The uncertainty of a three-point baseline integral is separate from its quadrature error. With baseline-sample covariance matrix and , its variance is . Independent samples of common standard uncertainty give ; a perfectly shared additive baseline error of the same uncertainty gives instead. Covariance terms cannot be discarded.[ref]
A matched blank acquisition or independently measured background can supply the midpoint. Historical NIST pulse-energy apparatus used before/after baselines for background and thermal-drift compensation.[ref]
Calibration Service for Low-level Pulsed-Laser Radiometers at 1.06 µm: Pulse Energy and Peak Power by Rodney W. Leonhardt. §3.5, reference-standard processing; §7.2, Leakage Effect
The three-point example is an original extension, not a claim about that instrument's processing. Higher polynomial exactness does not compensate for an incorrectly identified baseline.For independent -variate multivariate normal observations with unknown mean and unrestricted positive-definite covariance matrix, the centered scatter has rank at most . If it is singular, choose the mean to be the sample mean and shrink the covariance on a null direction of the scatter. The quadratic likelihood term stays fixed while the determinant tends to zero, so the density likelihood tends to infinity. Thus a nonsingular covariance maximum likelihood estimate exists only when the centered scatter is positive definite; for a nonsingular Gaussian population this occurs almost surely exactly when .
For and centered independent white noise values, the state above has expected value zero and this stationary covariance matrix, where . The cross-covariance with the future white noise value is zero and that with the contemporaneous white noise value is . Direct multiplication verifies .
Stationary process Created 2026-09-28 Updated 2026-10-14
A stationary process, in the strict sense, has the same joint probability distribution after every common shift of its time indices. More precisely, for every positive integer , every choice of times , and every integer shift ,Here equality means equality of probability distributions, not equality of realized observations. A sample path can fluctuate, stay positive for a while, or show accidental runs while its generating law remains stationary. Strong white noise is a basic example: shifting time preserves every joint law of its independent and identically distributed random variables.
The distinction between strict stationarity and weak stationarity is useful. The former preserves all finite joint laws; the latter preserves only the finite mean and covariance structure. Strict stationarity with finite second moments implies weak stationarity, but strict stationarity itself does not require finite variance. A Gaussian process with weak stationarity is also strictly stationary, because each of its finite-dimensional distributions, a joint normal distribution, is determined by its mean vector and covariance matrix.
Stilbene composition consistency residual 2026-11-05
A stilbene composition consistency residual is the difference between an additional optical observation and the value predicted from a fitted stilbene isomer mixture. It tests agreement with the measurement model rather than directly measuring an impurity or proving sample purity.
In a stilbene isomer composition measurement, two calibrated wavelengths can determine modeled concentrations of trans-Stilbene and cis-Stilbene. Let be background-subtracted absorbance divided by path length, and let contain the first two wavelengths' molar absorption coefficients. For nonsingular ,The vector contains the third wavelength's coefficients. That third observation was not used to fit the two concentrations, so it provides an additional consistency condition.
An original example uses coefficient rows , and in consistent scaled units. Observations give and third-channel prediction . An observed gives . These are constructed coefficients, not measured stilbene spectra; the primary identity records establish that the two geometric isomers are chemically distinct despite their shared formula.[ref][ref]
The fitted concentrations also carry reading error. In this example,With and observation covariance matrix , linear uncertainty propagation gives when the coefficients are treated as fixed. Independent readings with equal standard uncertainty give . The residual is then about such standard uncertainties; interpreting that as a probability statement needs an additional distribution model. Calibration-coefficient uncertainty must also be included when material.[ref]
Evaluation of measurement data — Guide to the expression of uncertainty in measurement by JCGM. Sections 5.1–5.2, correlated input quantities
A common additive offset changes this residual by , so it does not cancel automatically. A nonzero residual can reflect background, changing illumination, coefficient errors or an unmodeled absorber. Conversely, an extra component whose responses mimic a combination of the two modeled spectra can remain hidden even when the residual is zero. Consistency is evidence about a stated model, not a unique identification of the sample's full composition.
Sudakov-Fernique inequality Created 2026-10-06 Updated 2026-11-05
For centered multivariate normal distributions, if for every pair, then the displayed comparison holds. For a quick proof, make independent and set . Apply Gaussian integration by parts to . With softmax function weights and , the derivative of is . Since , let . Singular covariance matrices follow by adding identical small independent normal noise to both vectors and taking a limit.
Ternary tie-line consistency residual 2026-11-05
A ternary tie-line consistency residual quantifies how far an overall three-component composition is from the mass balance predicted by specified endpoints of a ternary liquid-liquid tie line. It is a geometric consistency check on a proposed two-phase decomposition. A thermodynamic tie line connects coexisting equilibrium compositions; the calculation below checks the lever rule for those endpoints, rather than independently proving that they are equilibrium phases.[ref]
Tie-line in IUPAC Gold Book. Entry 15367: tie line connects compositions of independent coexisting equilibrium phases
Use mole fraction vectors for the endpoint liquids and for the overall composition, all normalized to sum to one. Put . For a proposed mole-based phase fraction , defineExact mass balance requires every component of to vanish. Closure gives automatically, so this residual has only two independent components. A zero sum alone does not imply that the component balances hold.
When the phase fraction is unknown and the endpoints are distinct, an unweighted least squares tie-line phase-fraction fit minimizes the squared Euclidean norm of . Differentiating givesThis is an orthogonal projection onto the line through the endpoints. A physically admissible phase fraction also lies in ; if the unconstrained fit lies outside that interval, the closest admissible composition is an endpoint of the line segment. Coincident endpoints do not determine a phase fraction through this formula.
For the hypothetical endpoints and , the composition gives and zero residual. Changing the overall composition to preserves closure but givesNo adjustment of a single phase fraction can eliminate that discrepancy under the stipulated exact endpoints. For experimental use, its significance depends on measurement uncertainty in both the overall composition and endpoint compositions. Unweighted distance is a chosen metric, not an automatic statistical rejection threshold; correlated composition errors require their covariance matrix on the independent composition coordinates. Even a tiny residual establishes only compatibility with this mass balance, not equality of chemical potentials or stability of the proposed liquid-liquid equilibrium.
Tetrazolium contrast uncertainty 2026-11-05
Tetrazolium contrast uncertainty quantifies uncertainty in the four-reading cell-free tetrazolium interaction contrast, including correlations between its inputs. In the order reagent/test, no-reagent/test, reagent/vehicle and no-reagent/vehicle, writeFor finite input variances and known covariance matrix , the variance is exactlyThe exactness here follows from linearity of the contrast. JCGM's general uncertainty propagation framework uses sensitivity coefficients and correlated input quantities; this contrast has coefficients independent of the readings.[ref]
An original example gives each reading an independent residual with standard uncertainty and all four readings the same additive offset with standard uncertainty . ThenSince , the common offset cancels, giving . Treating those four appearances of one shared offset as independent would instead give . The distinction concerns the physical source of variation, not the number of numbers in the subtraction.
A shared multiplicative gain does not cancel. If , with independent zero-mean gain error , common offset and independent residuals , thenFor chosen , and , the combined standard uncertainty is approximately . The gain contribution is a relative uncertainty, whereas the residual contribution is in absorbance units.
The input model should distinguish repeated readings of one preparation from independently prepared controls. A small propagated uncertainty does not test whether controls reproduce the sample's chemistry or whether a nonzero optical contrast identifies a particular formazan. Those are separate questions about the measurement model.
Tie-line endpoint covariance 2026-11-05
Tie-line endpoint covariance records how the measurement errors of the two measured liquid-liquid tie line endpoints vary together. Using independent mole fraction coordinates, represent the two endpoint estimates by column vectors . Their cross-covariance matrix isAn individual off-diagonal block need not be symmetric; the full joint covariance matrix must be a symmetric positive semidefinite matrix. The uncertainties of the two endpoint vectors alone do not determine their cross-covariance matrix.
Near an exactly balanced, interior tie-line phase-fraction fit, let be the row-vector sensitivity coefficient defined in tie-line phase-fraction sensitivity. If the overall composition measurement is independent of both endpoints, first-order uncertainty propagation givesThe cross term has a positive coefficient because the two endpoint perturbations enter the phase fraction with the same sign. Correlated endpoints can therefore increase the result. The general rule is to propagate the full joint covariance matrix, rather than assume that correlation always increases or always reduces uncertainty.[ref]
Guide to the expression of uncertainty in measurement by JCGM. §5.2.2, equations13–16, correlated inputs
For a stipulated binary mixture example, use , , , so . Treat as exact and give each endpoint standard uncertainty with correlation coefficient . The lever rule yieldsThis gives for , about for , and for . These are first-order standard uncertainties under the stipulated joint error model, not bounds on all possible errors.
A shared calibration error affecting the overall composition as well changes the calculation. Suppose the same additive error affects identically. ThenThe shared offset cancels exactly. More generally, a common affine map with also cancels in this binary ratio. This common affine calibration cancellation in the lever rule concerns only a truly common contribution; separate sample errors remain. If the shared offset has standard uncertainty , incorrectly treating its three appearances as independent would assign a spurious contribution instead of zero.
In general, stack the inputs as with joint covariance matrix . Let be the corresponding Jacobian matrix row from tie-line phase-fraction sensitivity, including its residual correction when needed. Then automatically includes correlations with the overall composition. The measurement guide specifically identifies common instruments, measurement standards and reference data as sources of such correlations.[ref]
An instructive measurement design analyzes the two equilibrium phases and the overall mixture using one instrument calibration, then repeats the entire procedure with independent instrument calibrations. The within-run contrasts and between-run changes probe different error contributions. Repeated readings under one unchanged instrument calibration cannot by themselves establish the uncertainty of its shared offset. The measurement model must identify which influences are common before the joint covariance matrix can represent them.
Tie-line phase-fraction fit 2026-11-05
A tie-line phase-fraction fit estimates how much of each liquid phase is needed to reproduce an overall composition from specified liquid-liquid tie line endpoints. If are endpoint mole fraction vectors and is the mole-based phase fraction of phase , the mass balance predictsThe endpoints must be supplied by equilibrium measurements or a suitable thermodynamic model; fitting does not establish that an arbitrary pair of compositions is an equilibrium tie line.[ref]
Tie-line in IUPAC Gold Book. Entry15367: endpoints are compositions of coexisting equilibrium phases
For a ternary liquid-liquid tie line, use two independent composition coordinates, such as the first two mole fractions, since the third is fixed by their sum. Let be these two measured coordinates, the corresponding phase- coordinates, the difference between phase- and phase- coordinates, and a positive-definite covariance matrix for . With exact endpoints, generalized least squares minimizesDifferentiation yields the unconstrained estimateThe second expression imposes the physical bounds. It follows because is a convex quadratic when the endpoints differ in the measured coordinates. The ternary tie-line consistency residual then records the remaining failure of the mass balance.
For an original hypothetical example, take endpoint compositions and , with overall measurement . Suppose the first two measured mole fractions have independent standard measurement uncertainties and , so . ThenThe predicted composition is , giving residual . The separate first- and second-component balances would suggest and ; the fit combines them according to their stated measurement uncertainties, rather than averaging those two numbers without regard to precision.
With Gaussian composition errors, fixed endpoints and an interior unconstrained fit, the tie-line phase-fraction uncertainty follows directly from the linear estimator:for this example. Endpoint uncertainty, a fit on a boundary, or a nearly vanishing endpoint difference needs additional treatment. In particular, all three normalized mole fractions must not be treated as independent observations with an invertible three-coordinate covariance matrix: their exact closure creates dependence. A small fitted residual is evidence of consistency with the specified mass balance and error model, not a substitute for testing chemical potential equality or phase stability.
Tie-line phase-fraction sensitivity 2026-11-05
Tie-line phase-fraction sensitivity measures how an inferred phase fraction changes when the overall composition or the measured liquid-liquid tie line endpoints change. A sensitivity coefficient is a local partial derivative of the inference formula, rather than an uncertainty by itself. It becomes an uncertainty contribution only after combination with the input covariance matrix.[ref]
Guide to the expression of uncertainty in measurement by JCGM. §§5.1.3–5.1.4, sensitivity coefficients and their experimental determination
For one composition coordinate of a binary mixture, write the lever rule aswhere are endpoint mole fractions, is the overall mole fraction and is the mole-based amount of phase . Differentiating the mass balance givesThus a measurement error in the overall composition and an equal measurement error in the phase- endpoint have different effects. The conditioning of tie-line phase-fraction inference deteriorates as the endpoint separation becomes small: the same composition measurement error then produces a larger change in the inferred phase fraction.
For an original example, take , , , giving . Increasing only by gives a first-order change . Direct substitution gives , a change of . For the closer endpoints , and balanced composition , the local sensitivity to the same endpoint error is ten times larger. This is a property of the inference geometry; it does not establish whether either hypothetical pair is in liquid-liquid equilibrium.
The multidimensional tie-line phase-fraction fit has an additional detail away from an exactly balanced composition. On independent mole fraction coordinates, hold a symmetric positive-definite matrix fixed and definewith distinct endpoints. Define row vectors and . Differentiating the generalized least squares normal equation givesThe residual correction in tie-line sensitivity vanishes when . Otherwise, moving an endpoint also rotates the fitted line relative to the nonzero ternary tie-line consistency residual. Omitting that contribution is an additional approximation. If itself changes with the measured inputs, its derivative must also enter the calculation.
These formulas describe the unconstrained fit locally. Imposing introduces boundary effects, and coincident endpoints make this inference undefined. A practical sensitivity check recomputes the fit after small positive and negative perturbations of one measured coordinate, keeping composition closure and the stated weight matrix. Agreement as the perturbation shrinks tests the derivative calculation; it does not validate the underlying equilibrium model.
Closer tie-line endpoints amplify composition errors; endpoint correlation changes the inferred phase-fraction uncertainty
. Original binary examples with phase fraction0.40. Left: exact endpoint perturbations at separations0.60 and0.06. Right: first-order standard uncertainty with uncertain endpoints and exact overall composition; common calibration of all three measurements is a different model. Details. Tie-line phase-fraction uncertainty 2026-11-05
Tie-line phase-fraction uncertainty describes the uncertainty of the phase amount inferred from a tie-line phase-fraction fit. It depends on the uncertainties of the overall composition, the endpoint compositions and the model used to fit them. A conditional estimate treating endpoints as exact omits their contribution. All composition vectors below use two independent coordinates of a ternary liquid-liquid tie line; the third mole fraction is fixed by closure.
For fixed endpoints , let and let the overall composition measurement have covariance matrix . With and an interior unconstrained fit,Here denotes standard uncertainty. The variance formula is exact for this linear estimator with fixed endpoints and known covariance; Gaussian errors are needed for a Gaussian sampling distribution, not for the variance identity itself. This is an instance of covariance-based uncertainty propagation.[ref]
Guide to the expression of uncertainty in measurement by JCGM. §§5.1–5.2, sensitivity coefficients, combined variance and correlated input quantities
Endpoint errors enter through tie-line phase-fraction sensitivity. Near an exactly balanced composition , with the weight matrix held fixed, differentiating the fit givesIf overall and endpoint measurements are mutually independent, their combined first-order contribution isShared instruments or common reference data can correlate these measurements; then cross-covariances, including tie-line endpoint covariance, must also be propagated rather than discarded.[ref]
Guide to the expression of uncertainty in measurement by JCGM. §5.2, equation(13), and §§5.2.4–5.2.5, significant covariance from common influences
For an original example, use endpoints and with overall composition , so . Let the first two overall mole fractions have independent standard uncertainties and . Then and , giving with exact endpoints. If each endpoint instead has independent coordinate uncertainties , with all three measurements independent, the endpoint contribution isThe combined value becomes .
When the endpoints approach one another, their difference becomes less informative about phase fraction; at coincident endpoints this inference is undefined. Near the physical bounds, clipping an unconstrained fit to the interval from zero to one changes its sampling distribution, potentially creating a point mass at an endpoint. A symmetric Gaussian error summary can then be misleading. Propagating a joint input model through the actual bounded fit with a Monte Carlo method is one possible analysis; it must retain composition closure and the specified correlations. Neither a small uncertainty nor a small ternary tie-line consistency residual independently verifies chemical potential equality or phase stability.

