Xaviers - 6 - Correlation
Xaviers - 6 - Correlation
Session – 5
Pradeep krishnatray
correlation
• Statistical technique to measure and describe relationship between 2
variables
That is,
Covariability of X and Y
Variability of X and Y separately
Sum of products
r = √SSXSSY How to calculate Sum of Products (SP) and Sum of Squares (SS)?
Correlation: Hypothesis testing procedure
• STEP 1
• Sketch a scatterplot
• STEP 2
• Obtain the value of SS and SP
• STEP 3
• Compute the Pearson correlation
• STEP 4
• Evaluate and conclude
• STEP 1
Pearson correlation: Procedure
Calculating Sum of Products Calculating SSx
X Y XY X X – x̄ (X – X)2
SP=ΣXY- - -
1 3 3
ΣXΣY
1 -2 4
n 2 6 12
2 -1 1
4 4 16
4 1 1
5 7 35
5 2 4
SP = 66 – 12(20) 12 20 66
4 12/4 10 SS for X
66 - 60
SP = 6
r = SP/√ssxssy Calculating Ssy
10
= 6/ √10 (10)
Pearson correlation
Sketch a scatterplot
Calculate SS and SP
Find the correlation
Evaluate and conclude