covariance

The covariance of two random variables is a measure of joint dispersion, and indicates the strength of their relationship.

Formally,
the covariance of random variables X,Y is given by

Cov(X,Y)=E[(XμX)(YμY)]

where E is the expected value and μZ is the is the mean E[Z].

This can be simplified to

Cov(X,Y)=E[XY]μXμY
Powered by Forestry.md