Cross-covariance
In probability and statistics, given two stochastic processes and , the cross-covariance is a function that gives the covariance of the one process with the other at pairs of time points. With the usual notation E for the expectation operator, if the processes have the mean functions and , then the cross-covariance is given by
Cross-covariance is related to the more commonly used cross-correlation of the processes in question.
In the case of two random vectors and , the cross-covariance would be a square n by n matrix with entries Thus the term cross-covariance is used in order to distinguish this concept from the "covariance" of a random vector X, which is understood to be the matrix of covariances between the scalar components of X itself.
In signal processing, the cross-covariance is often called cross-correlation and is a measure of similarity of two signals, commonly used to find features in an unknown signal by comparing it to a known one. It is a function of the relative time between the signals, is sometimes called the sliding dot product, and has applications in pattern recognition and cryptanalysis.
Statistics
For random vectors X and Y, each containing random elements whose expected value and variance exist, the cross-covariance matrix of X and Y is defined by
where μX and μY are vectors containing the expected values of X and Y. The vectors X and Y need not have the same dimension, and either might be a scalar value. Any element of the cross-covariance matrix is itself a "cross-covariance".
Example
For example, if X=(X1, X2, X3) and Y=(Y1, Y2) are random vectors, then Cov(X, Y) is a 3 x 2 matrix whose ij-th entry is Cov(Xi, Yj).
Signal Processing
The cross-covariance is also relevant in signal processing where the cross-covariance between two wide-sense stationary random processes can be estimated by averaging the product of samples measured from one process and samples measured from the other (and its time shifts). The samples included in the average can be an arbitrary subset of all the samples in the signal (e.g., samples within a finite time window or a sub-sampling of one of the signals). For a large number of samples, the average converges to the true covariance.
Cross-covariance may also refer to a "deterministic" cross-covariance between two signals. This consists of summing over all time indices. For example, for discrete signals fi and gi the cross-covariance is defined as
where the asterisk indicates that the complex conjugate is taken when the signals are complex-valued.
For continuous functions f (x) and g (x) the (deterministic) cross-covariance is defined as
Properties
The cross-covariance of two signals is related to the convolution by:
See also
- Autocovariance
- Cross-correlation
- Autocorrelation
- Covariance and Correlation
- Covariance mapping
- Convolution
External links
- Cross Correlation from Mathworld
- http://scribblethink.org/Work/nvisionInterface/nip.html
- http://www.phys.ufl.edu/LIGO/stochastic/sign05.pdf
- http://www.staff.ncl.ac.uk/oliver.hinton/eee305/Chapter6.pdf