Covariance and correlation
From Wikipedia, the free encyclopedia
- Main articles: covariance, correlation.
In probability theory and statistics, the mathematical descriptions of covariance and correlation are very similar. Both describe the degree of similarity between two random variables or sets of random variables.
where σX and σY are the standard deviations of the {Xi} and {Yi} respectively. The correlation and covariance of a variable with itself (i.e. Y = X) is called the autocorrelation and autocovariance, respectively.
In the case of stationarity, the means are constant and the covariance or correlation are functions only of the difference in the indices: