Quickly calculate the covariance between two datasets (X and Y) with our free online tool. Understand how variables move together. Essential for statistics, finance, and data science, our calculator provides instant results to analyze linear relationships and data trends. Simplify complex statistical analysis now!
Formula:
The formula for Sample Covariance is:
Cov(X, Y) = Σ[(Xi - X̄)(Yi - Ȳ)] / (n - 1)
The formula for Population Covariance is:
Cov(X, Y) = Σ[(Xi - μX)(Yi - μY)] / n
Where:
- Xi, Yi: Individual data points for series X and Y
- X̄, Ȳ: The sample mean (average) of series X and Y, respectively
- μX, μY: The population mean (average) of series X and Y, respectively
- n: The total number of data points (pairs)
- Σ: Summation