To obtain the sample covariance, does one divide by $n$ or by $n-1$?
I have seen both being used. What is the advantage of using $n-1$? Does it make
the covariance unbiased?
Or is it so that in the formula for the sample correlation the $n-1$ cancels with the $n-1$ used in the formula for the unbiased variance?