correlation. in this lesson you will cover: how to measure and interpret correlation about the...

12
Correlation

Upload: jesse-welch

Post on 28-Dec-2015

221 views

Category:

Documents


1 download

TRANSCRIPT

Page 1: Correlation. In this lesson you will cover: How to measure and interpret correlation About the effects of scaling data on correlation

Correlation

Page 2: Correlation. In this lesson you will cover: How to measure and interpret correlation About the effects of scaling data on correlation

In this lesson you will cover:

How to measure and interpretcorrelation

About the effects of scaling data on correlation

Page 3: Correlation. In this lesson you will cover: How to measure and interpret correlation About the effects of scaling data on correlation

( When two sets of random variables bivariate) ; data are displayed on a scatter graph we

are used to describing the correlation but how

?do you measure it

Page 4: Correlation. In this lesson you will cover: How to measure and interpret correlation About the effects of scaling data on correlation

( ) Two sets of random variables bivariate data we can describe correlation but how do you

?measure it x - = -y - = +- x + = +

x - = +

y - = +

+ x + = +

x

x

y

x - = -

y - = -

- x - = +

yx

xy

x - = +y - = - + x - = +yx

Page 5: Correlation. In this lesson you will cover: How to measure and interpret correlation About the effects of scaling data on correlation

– ?Covariance how do you interpret it

When the covariance is positive it suggests positive correlation

When covariance is negative it suggests negative correlation

When the covariance is close to zero .it suggests no correlation

covariance

xySn

yyxx

Page 6: Correlation. In this lesson you will cover: How to measure and interpret correlation About the effects of scaling data on correlation

– Covariance can you see any potential ?problems with this method alone

– When the covariance is positive it suggest positive correlation

– When covariance is negative it suggest negativecorrelation

– When the covariance is close to zero it suggests no.correlation

:You guessed it– ( ’ )you don t know the range

covariance

xySn

yyxx

Page 7: Correlation. In this lesson you will cover: How to measure and interpret correlation About the effects of scaling data on correlation

Pearson Moment Correlation Coefficient

Karl Pearson

1857 - 1936

Is to standardise the covariance so that it can interpreted easily. It converts the covariance to a number between -1 to 1, where:

• -1 is a perfect negative correlation

• 1 is a perfect positive correlation

• 0 is no correlation

2 2

x x y y

nrx x y y

n n

Page 8: Correlation. In this lesson you will cover: How to measure and interpret correlation About the effects of scaling data on correlation

Pearson Moment Correlation :Coefficient can be simplified to

yxSS

yyxxnr

1

This is thecovariance

This is the standard deviation

of x

This is the standard deviation

of y

Page 9: Correlation. In this lesson you will cover: How to measure and interpret correlation About the effects of scaling data on correlation

Task

Exercise A• 140Page

Page 10: Correlation. In this lesson you will cover: How to measure and interpret correlation About the effects of scaling data on correlation

The effect of scaling

If you work out the correlation coefficient for

- & ( ) sales of ice cream temperature t in

. Fahrenheit Would you expect the correlation to

change if you worked on the same data but in

?Celsius

– . No scaling has no effect on correlation

Page 11: Correlation. In this lesson you will cover: How to measure and interpret correlation About the effects of scaling data on correlation

Be aware of correlationclaims

Some things may look like they are connected :but they are not

– :General knowledge and height 7 13 Children in a school from year to year are asked . general knowledge questions The correlation is worked

. out using height and their score In your opinion does ? height have any effect on their score If not can you suggest what is the explanatory factor that is connected

?to both

Outliners– As all data items are used outliners will effect the

. correlation coefficient When outliners are obvious it is .worth ignoring them altogether

- .Non linear relationships– . . . . Pearson's p m c c is only suitable for linear

relationships

Page 12: Correlation. In this lesson you will cover: How to measure and interpret correlation About the effects of scaling data on correlation

Task

Exercise C •Page 144

Test yourself •Page 145

HOMEWORK!!!!!!!!!!!!– Past papers– Past papers– Past papers

Go through each of the chapters:– PowerPoint's – revision notes– Unanswered questions