Docsity

Calculating Correlation Coefficients: Formula, Properties, and Interpretation, Study notes of Statistics

Partial preview of the text

Download Calculating Correlation Coefficients: Formula, Properties, and Interpretation and more Study notes Statistics in PDF only on Docsity!

STAT 2

Lecture 10:

Correlation

Recall: scatter plot

โ— Put dependent variable on y - axis, indep. on x -axis โ— May have linear or nonlinear relationship

Today

โ— Calculating correlations โ— Properties of the correlation โ— Correlation is not (necessarily) causation

Tuesday to Friday

โ— Chapters 9 to 11: correlation, prediction, regression โ— Quiz 3, Thursday: everything up to chapter 10 (intro to regression)

Step 0

โ— Calculate the mean and SD of X โ— Calculate the mean and SD of Y

Step 0

X X squared Y Y squared 1 1 5 25 3 9 9 81 4 16 7 49 5 25 1 1 7 49 13 169 Mean 4 20 7 65 Var(X) 20-(44)=4 Var(Y) 65-(77)= SD(X) 2 SD(Y) 4

X Standard X Y

Step 2

โ— Change Y into standard units by subtracting mean and dividing by SD

Step 3

โ— Multiply each value of standard X by the corresponding value of standard Y

X Standard X Y Standard YStd X * Std Y

X Standard X Y Standard YStd X * Std Y

  • Step - 1 -1.5 - 3 -0.5 - 5 0.5 - 7 1.5
    • Mean
      • SD
  • Step - 1 -1.5 5 -0. - 3 -0.5 9 0. - 5 0.5 1 -1. - 7 1.5 13 1.
    • Mean
      • SD
  • Step - 1 -1.5 5 -0.5 0. - 3 -0.5 9 0.5 -0. - 5 0.5 1 -1.5 -0. - 7 1.5 13 1.5 2.
    • Mean
      • SD
  • Step - 1 -1.5 5 -0.5 0. - 3 -0.5 9 0.5 -0. - 5 0.5 1 -1.5 -0. - 7 1.5 13 1.5 2. - Mean 4 0 7 0 0. - SD
    • Correlation is 0.

The correlation formula

โ— Correlation is mean of

[X โ€“ mean(X)]/SD(X) * [Y โ€“ mean(Y)]/SD(Y)

โ— Recall SD(x) is the square root of: {mean [X

] - [mean(X)]

}

Possibly easier formula

[mean(XY) โ€“ mean(X)mean(Y)]/[SD(X)*SD(Y)]

X Y X times Y
Mean 4 7 31.
SD 2 4

Correlation =

[31.2-47]/[24]

II Properties of the correlation