# Covariance Calculator

## Covariance Calculation

 Result: No.of Inputs X Mean Y Mean Covariance(X,Y) Calculation

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.

### Formulas

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

### Solved Example Problem

By using the above mathematical formulas, the following example problem for covariance calculation have been solved.
Example Problem
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.

Solution
Sum(X) = 65.21 + 64.75 + 65.26 + 65.76 + 65.96
= 326.93
μx = 326.93 / 5
= 65.38

Sum(Y) =67.25 + 66.39 + 66.12 + 65.70 + 66.64 = 332.09
μy = 332.09 / 5
= 66.42

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
= -0.058

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.

Related Calculators
 Standard Deviation Calculator Population Standard Deviation Calculator Coefficient of Variance Calculator Z Score Calculator Correlation Coefficient Calculator Frequency Standard Deviation Calculator
Related Calculators
 Factorial Calculator Permutation & Combination Calculator Standard Error Calculator Geometric Mean Calculator Linear Regression Calculator Mean Value Calculator