Question: how to calculate correlation with example?
Answer: Do the same for the y-variable (let's call this variable “b”). Multiply each a-value by the corresponding b-value and find the sum of these multiplications (the final value is the numerator in the formula). Square each a-value and calculate the sum of the result.