Docsity

Pearson's Correlation Coefficient: Measuring the Relationship between Two Variables - Prof, Study notes of Information Technology

Toggle sidebar
bg1
Correlation
● Correlation coefficients measure the strength of the relationship
between two variables.
● There are several different types of correlation coefficients in use.
The one best-suited for business applications is:
Pearson’s correlation coefficient, r.
●Calculating r
r =
))(())((
))((
2
1 1
1
22
1 1
1
2
1 1 1
1
n
i
n
i
i
n
i
n
i
n
i
i
n
i
n
i
n
i
n
i
ii
n
ii
yyxx
yxyx
Example (sales data)
))((
1
yxxy
n
= 197,990 -
15
1
(5465)(550) = -
2393.333
2
1
2
)( xx
n
= 2,000,125 -
15
1
(5465)2 = 9043.333
2
1
2
)( yy
n
= 23,036 -
15
1
(550)2 = 2869.333
So,
r =
)333.2869)(333.9043(
333.2393
= - .46984
pf3
pf4

Partial preview of the text

Download Pearson's Correlation Coefficient: Measuring the Relationship between Two Variables - Prof and more Study notes Information Technology in PDF only on Docsity!

Correlation

● Correlation coefficients measure the strength of the relationship between two variables. ● There are several different types of correlation coefficients in use. The one best-suited for business applications is: Pearson’s correlation coefficient, r. ● Calculating r r = ( ( ) )( ( ) ) ( )( ) 2 1 1 (^221) 1 1 (^21) 1 1 1 1

           n i n i i n i n i n i i n i n i n i n i i i n i i x x y y xy x y Example ( sales data )

 ^ ( )( )

xy^1 x y n = 197,990 -^15 1 (5465)(550) = -

 ^ 

x^2 1 ( x )^2 n = 2,000,125 -^15 1 (5465)^2 = 9043.

 ^ 

y^2 1 ( y )^2 n = 23,036 -^15 1 (550) 2 = 2869. So, r = (^) ( 9043. 333 )( 2869. 333 )  2393. 333 = -.

● Alternate way of calculating r (1) From the formula for r, you can quickly show that r^2 = SST SSR (2) If you have a regression printout available, then you Look up the coefficient of determination, SSR/SST. (3) Taking the square root of SSR/SST gives r, but be careful to affix the correct sign (which always matches the sign of b 1 ) Example ( sales data ): From the regression printout, r^2 = .220748 and the sign of b 1 is “-”, so, r = -.^220748 = -.

Example : r = .80 is 4 times as “strong” a relationship as r = .40. Reason: r 2 = (.80) 2 = .64 ← 64% of variation in one variable is caused by changes in the other variable. r^2 = (.40)^2 = .16 ← 16% of variation in one variable is caused by changes in the other variable. (8) The direction of the correlation (“+” of “-”) will always match (agree with) the sign of b 1.