Correlation and Relationship Analysis
Enter two sets of numerical data (X and Y) to calculate the covariance. This helps measure how two variables change together.
Explore these common use cases to see how the covariance calculator works.
As temperature increases, ice cream sales also tend to increase. This shows a positive linear relationship.
X: 20, 25, 30, 35, 40
Y: 150, 200, 250, 300, 350
Type: Sample
As the hours spent studying increase, the hours of free time tend to decrease, indicating a negative linear relationship.
X: 1, 2, 3, 4, 5
Y: 8, 6, 5, 3, 2
Type: Sample
There is no expected linear relationship between a person's IQ and their shoe size. The covariance should be close to zero.
X: 100, 110, 95, 120, 105
Y: 8, 10, 7, 11, 9
Type: Population
Analyzing the covariance of returns between two stocks to understand how they move in relation to each other for portfolio diversification.
X: 1.2, -0.5, 0.8, 1.5, -0.2
Y: 2.0, -1.0, 1.5, 2.5, 0.0
Type: Sample