Question: what is the formula for correlation in statistics?
Answer: Find the standard deviation of all the x-values (call it sx) and the standard deviation of all the y-values (call it sy). Add up the n results from Step 3. Divide the sum by sx ∗ sy. Divide the result by n – 1, where n is the number of (x, y) pairs.