Jump to content

Cross-covariance: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
No edit summary
Sidebar template Correlation and covariance.
Line 1: Line 1:
{{Correlation and covariance}}
{{See also|Cross-correlation}}
{{See also|Cross-correlation}}
{{refimprove|date=December 2016}}
{{refimprove|date=December 2016}}

Revision as of 18:14, 28 December 2018

In probability and statistics, given two stochastic processes and , the cross-covariance is a function that gives the covariance of one process with the other at pairs of time points. With the usual notation ; 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 matrix (often denoted ) with entries Thus the term cross-covariance is used in order to distinguish this concept from the covariance of a random vector , which is understood to be the matrix of covariances between the scalar components of 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.

Cross-covariance of random vectors

Definition

For random vectors and , each containing random elements whose expected value and variance exist, the cross-covariance matrix of and is defined by

(Eq.1)

where and are vectors containing the expected values of and . The vectors and 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 and are random vectors, then is a matrix whose -th entry is .

Properties of cross-covariance matrix

For the cross-covariance matrix, the following basic properties apply:[1]

  1. If and are independent (or somewhat less restrictedly, if every random variable in is uncorrelated with every random variable in ), then

where , and are random vectors, is a random vector, is a vector, is a vector, and are matrices of constants, and is a matrix of zeroes.

Definition for complex random vectors

If and are complex random vectors, the definition of the cross-covariance matrix is slightly changed. Transposition is replaced by hermitan transposition:

For complex random vectors, another matrix called the pseudo-cross-covariance matrix is defined as follows:

Uncorrelatedness

Two random vectors and are called uncorrelated if their covariance matrix matrix is zero.

Complex random vectors and are called uncorrelated if their covariance matrix and pseudo-covariance matrix is zero, i.e. if .

Cross-covariance of stochastic processes

The definition of cross-covariance of random vector may be generalized to stochastic processes as follows:

Definition

Let and denote stochastic processes. Then the cross-covariance function of the processes is defined by:

(Eq.2)

where and .

Definition for jointly WSS processes

If and are a jointly wide-sense stationary, then the following are true:

for all ,
for all

and

for all

By setting (the time lag, or the amount of time by which the signal has been shifted), we may define

.

The autocovariance function of a WSS process is therefore given by:

(Eq.3)

which is equivalent to

.

Cross-covariance of deterministic signals

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-time signals and the cross-covariance is defined as

where the line indicates that the complex conjugate is taken when the signals are complex-valued.

For continuous functions and the (deterministic) cross-covariance is defined as

.

Properties

The (deterministic) cross-covariance of two continuous signals is related to the convolution by

and the (deterministic) cross-covariance of two discrete-time signals is related to the discrete convolution by

.

See also

References

  1. ^ Taboga, Marco (2010). "Lectures on probability theory and mathematical statistics".