how is correlation calculated 
correlation is first calculated by finding the covariance of each of the variables then the correlation coefficient is determined by dividing the covariance by the product of the variables standard deviations 