Computation of Covariance
Ungrouped Data
For a population consisting of paired ungrouped data points {X, Y}
where,
mx is the arithmetic mean of {X}
mY is the arithmetic mean of {Y}
N is the number of observations in each population.
For a paired sample {X,Y}
is the arithmetic mean of sample {Y}