Correlated spectral residuals from a shared subtraction scale arise when one uncertain coefficient multiplies many spectral channels. Let a fixed reference profile be and let the estimated scale differ from its mean by , with variance . Its contribution to the subtracted spectrum is , giving
This covariance has rank one when . It describes a coherent spectral pattern, not independent noise added separately at each wavelength. The parent noise remaining after scaled Raman subtraction treats a single channel and an uncertain scale.
For an original reference vector and , the covariance is
The sum of the three residuals has standard uncertainty in the chosen count units. Incorrectly treating the channel errors as independent gives and understates the uncertainty of that sum.
A weighted spectral contrast receives scale-error variance
For this contribution vanishes in the example. This projection of shared-scale uncertainty onto a spectral contrast also warns that a contrast insensitive to the reference shape can suppress a genuine signal with that same shape. Removing one error direction is not universal denoising.
Independent detector noise adds its own covariance matrix. If the reference profile is itself noisy or the scale is estimated from the same spectra, their correlations must be included too. The measurement propagation rule keeps common influences rather than discarding off-diagonal terms.[ref] Matching a reference spectrum's mean therefore does not establish independent residuals or a reliable weak-band detection limit.
A minimum-variance spectral contrast orthogonal to a reference shape estimates a desired signal amplitude while exactly rejecting one fixed nuisance shape. Let , with known shapes and a positive-definite noise covariance matrix . Choose to minimize , subject to
The constraints retain unit signal response and reject the reference amplitude, as in projection of shared-scale uncertainty onto a spectral contrast. The quadratic variance includes the full noise covariance.[ref]
Remove the reference component in the inverse-covariance geometry:
For nonzero and , the minimizing contrast and its variance are
For a short proof, every other feasible contrast is with . Since is a linear combination of those shapes, the cross term vanishes, leaving the added nonnegative variance . This is a constrained best linear unbiased estimator.
In an original three-channel example, take , and . The optimum is , with variance . Equal subtraction of the two reference channels, , has variance . The quieter third channel receives more of the subtraction.
If the desired and reference shapes are proportional, and no unit-response rejecting contrast exists. The noise penalty from nearly parallel signal and reference shapes already becomes large as approaches zero. This construction assumes fixed known shapes and covariance; estimating them from the same noisy spectra requires additional uncertainty terms.