195. Pearson

Linear relationships

𝑟=𝑖=1𝑛(𝑥𝑖𝑥̄)(𝑦𝑖𝑦̄)𝑖=1𝑛(𝑥𝑖𝑥̄)2×(𝑦𝑖𝑦̄)2

Interpretation:

Example
𝑋:[1,2,3,4,5]𝑌:[2,4,6,8,10]

Step 1: Calculate the Means of X and Y

𝑋̄=3𝑌̄=6

Step 2: Calculate the Differences from the Mean