Close Ad

Population covariance Formula:

$$Cov (X,Y) =\frac{\sum (X_i - \overline X)(Y_i - \overline Y)}{n}$$

Sample covariance:

$$Cov (X,Y) =\frac{\sum (X_i - \overline X)(Y_i - \overline Y)}{n-1}$$