homechevron_rightProfessionalchevron_rightStatistics

Covariance Calculator

This online calculator computes covariance between two discrete random variables

Creative Commons Attribution/Share-Alike License 3.0 (Unported)

This content is licensed under Creative Commons Attribution/Share-Alike License 3.0 (Unported). That means you may freely redistribute or modify this content under the same license conditions and must attribute the original author by placing a hyperlink from your site to this work https://planetcalc.com/8125/. Also, please do not modify any references to the original work (if any) contained in this content.

This online calculator computes covariance between two discrete random variables. It also shows the expected value (mean) of each random variable. You can find formula used for calculation of covariance below the calculator.

PLANETCALC, Covariance Calculator

Covariance Calculator

Digits after the decimal point: 2
Expected Value of X / Mean of X
 
Expected Value of Y / Mean of Y
 
Covariance, cov(X,Y)
 

Covariance between two discrete random variables

\operatorname {cov} (X,Y)=\frac {1}{n}\sum _{i=1}^{n}(x_{i}-E(X))(y_{i}-E(Y)),
where E(X) is the mean of X, and E(Y) is the mean of Y.

If covariance is positive, then increase of one variable results in increase of another variable. If covariance is negative then increase of one variable results in decrease of another variable. Absolute value of covariance is usually normalized by dividing by the product of variables' standard deviations. This is so-called Pearson correlation coefficient.

Comments