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

Este conteúdo é licenciado de acordo com a Licença Creative Commons de Atribuição/CompartilhaIgual 3.0 (Unported). Isso significa que você pode redistribuir ou modificar livremente este conteúdo sob as mesmas condições de licença e precisa atribuir ao autor original colocando um hyperlink para este trabalho no seu site. Além disto, favor não modificar qualquer referência ao trabalho original (caso houver) que estiverem contidas neste conteúdo.
Covariance between two discrete random variables
,
where E(X) is the mean of X, and E(Y) is the mean of Y.
Note that we only know sample means for both variables, that's why we have n-1 in the denominator
If the covariance is positive, then increasing one variable results in the increase of another variable. If the covariance is negative, then increasing one variable results in the decrease of another variable. The absolute value of covariance is usually normalized by dividing by the product of the variables' standard deviations. This is the so-called Pearson correlation coefficient.
Comentários