We will find the the following notation convenient:
NOTE: Observe that . Using the notation above, we can define the sample variance of the X's and Y's as
respectively, and a quantity called the sample covariance as