Covariance calculator - step by step calculation to measure the statistical relationship (linear dependence) between the two sets of population data, provided along with formula & solved example problems. In probability & statistics theory for data analysis, the calculation of covariance is important in many experiments to find the statistical relationship between two sets of data. The solved example problem helps user to understand how to calculate covariance to find the linear dependence between the data sets. Along with the results, user can also get the complete step by step calculation for the given values of input data.
The below formulas are used to find the covariance and the solved example problem underneath illustrates how the values are being used in the formulae
By using the above mathematical formulas, the following example problem for covariance calculation have been solved.
For the data sets X = 65.21, 64.75, 65.26, 65.76, 65.96 and Y = 67.25, 66.39, 66.12, 65.70, 66.64, find the covariance to estimate the linear relationship between the two data sets X & Y.
Sum(X) = 65.21 + 64.75 + 65.26 + 65.76 + 65.96
μx = 326.93 / 5
Sum(Y) =67.25 + 66.39 + 66.12 + 65.70 + 66.64 = 332.09
μy = 332.09 / 5
cov(X,Y) = (SUM(xi - μx) * SUM (yi - μy)) / (n - 1)
= (65.21 - 65.38) * (67.25 - 66.42) + (64.75 - 65.38) * (66.39 - 66.42) + (65.26 - 65.38) * (66.12 - 66.42) + (65.76 - 65.38) * (65.7 - 66.42) + (65.96 - 65.38) * (66.64 - 66.42))/4
In probability & statistics for data analysis, the covariance plays vital role in various applications. When it comes to verify or perform such calculations online, this covariance calculator may help users to make the calculations simple as possible. Also, it provides the complete step by step calculation for the given values to find the linear dependency (statistical relationship) between the two data sets.