Covariance, in the field of Applied Probability, represents the joint variability of two random variables. It indicates the direction of the linear relationship between the variables. A positive covariance means that as one variable increases, the other tends to increase as well, while a negative covariance indicates that as one variable increases, the other tends to decrease.
We can honestly just think of this as the proportion operator associated with two variables.
General Form
Where:
- is the covariance between variables and
- and are the respective values and at data point
- and are the respective means of and
- is the number of data values we are iterating over