For the given two sets of values, the calculator will find the covariance between them (either sample or population), with steps shown.
Related calculator:
Correlation Coefficient Calculator
Solution
The sample covariance of data is given by the formula cov(x,y)=n−1∑i=1n(xi−μx)⋅(yi−μy), where n is the number of values, xi,i=1..n and yi,i=1..n are the values themselves, μx is the mean of the x-values, and μy is the mean of the y-values.
The mean of the x-values is μx=516 (for calculating it, see mean calculator).
The mean of the y-values is μy=3 (for calculating it, see mean calculator).
Since we have n points, n=5.
The sum of (xi−μx)⋅(yi−μy) is (4−516)⋅(1−3)+(6−516)⋅(4−3)+(1−516)⋅(5−3)+(2−516)⋅(3−3)+(3−516)⋅(2−3)=−3.
Thus, cov(x,y)=n−1∑i=1n(xi−μx)⋅(yi−μy)=4−3=−43.
Answer
The sample covariance is cov(x,y)=−43=−0.75A.