Skip to main content
QUICK REVIEW

[Paper Review] Practical Realization of Bessel's Correction for a Bias-Free Estimation of the Auto-Covariance and the Cross-Covariance Functions

Holger Nobach|arXiv (Cornell University)|Mar 20, 2023
Fault Detection and Control SystemsEngineering4 citations
TL;DR

This paper presents a practical method to apply Bessel's correction to auto-covariance and cross-covariance estimators when the mean is estimated from the same data, correcting for bias due to sample-based mean subtraction. The approach uses weighted, overlapping data segments and derives bias-corrected estimators via inverse normalization matrices, enabling accurate variance and covariance estimation even for correlated data, with closed-form solutions and open-source code provided.

ABSTRACT

To derive the auto-covariance function from a sampled and time-limited signal or the cross-covariance function from two such signals, the mean values must be estimated and removed from the signals. If no a priori information about the correct mean values is available and the mean values must be derived from the time series themselves, the estimates will be biased. For the estimation of the variance from independent data the appropriate correction is widely known as Bessel's correction. Similar corrections for the auto-covariance and for the cross-covariance functions are shown here, including individual weighting of the samples. The corrected estimates then can be used to correct also the variance estimate in the case of correlated data. The programs used here are available online at http://sigproc.nambis.de/programs.

Motivation & Objective

  • To address the bias in auto-covariance and cross-covariance estimators that arises when the mean is estimated from the same finite data set.
  • To extend Bessel’s correction—commonly used for variance estimation—to the estimation of covariance functions under correlated data conditions.
  • To provide a practical, computationally feasible method for bias-free covariance estimation using weighted data and overlapping segments.
  • To enable accurate variance estimation in the presence of correlated data by correcting the covariance estimator.
  • To offer a complete, open-source implementation of the method for real-world data analysis.

Proposed method

  • Derives the bias in sample-based covariance estimation by modeling the variance of the estimated mean using weighted sums of auto- and cross-covariances.
  • Introduces a normalization matrix that maps the true covariance function to the expectation of the estimated one, based on overlapping data segments and variable weights.
  • Uses the inverse of this normalization matrix to correct the raw covariance estimates, yielding bias-free estimators.
  • Applies the method to both auto-covariance and cross-covariance functions using two-sided, symmetric formulations to enable FFT acceleration.
  • Derives closed-form expressions for the bias-corrected estimators, including a generalized Bessel correction for weighted, correlated data.
  • Provides a complete implementation in code, available online, supporting individual sample weights and variable-length signal pairs.

Experimental results

Research questions

  • RQ1How can Bessel’s correction be extended from variance to auto-covariance and cross-covariance estimation when the mean is estimated from the same data?
  • RQ2What is the analytical form of the bias in covariance estimators due to sample-based mean subtraction under correlated data?
  • RQ3How can weighted data with non-uniform sampling or invalid points be handled in a bias-corrected covariance estimation framework?
  • RQ4Can the bias correction be applied efficiently using FFT-based methods through symmetric, two-sided covariance functions?
  • RQ5What is the relationship between the corrected covariance estimator and the bias-free variance estimate in the presence of data correlation?

Key findings

  • The bias in the sample variance estimate due to mean estimation is exactly equal to the variance of the mean estimator, which is derived from the true auto-covariance function and sample weights.
  • A bias-corrected variance estimator is derived as $ \hat{s}^2 = s^2 + \sigma_{\bar{x}}^2 $, where $ \sigma_{\bar{x}}^2 $ is the estimated variance of the mean, leading to a closed-form correction when the true variance is unknown.
  • For uncorrelated, uniformly weighted data, the method reduces to the classical Bessel’s correction: $ \hat{s}^2 = \frac{1}{N-1}\sum \tilde{x}_i^2 $, confirming consistency with established practice.
  • The bias-corrected auto-covariance and cross-covariance estimators are derived using a normalization matrix approach, with the inverse of this matrix applied to correct raw estimates.
  • The method supports individual sample weights and handles variable-length signal pairs through overlapping segment normalization, enabling robust estimation in real-world data with irregularities.
  • The authors provide a working implementation at http://sigproc.nambis.de/programs, with updates as of 2020 and 2021, ensuring practical usability.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.