1 / 19

S1: Chapter 6 Correlation

S1: Chapter 6 Correlation. Dr J Frost (jfrost@tiffin.kingston.sch.uk). Last modified : 21 st November 2013. Recap of correlation. Weak negative correlation. ?. ?. Type of correlation: Weak positive correlation. ?. ?. strength. type. No correlation. ?. ?.

zorana
Download Presentation

S1: Chapter 6 Correlation

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. S1: Chapter 6Correlation Dr J Frost (jfrost@tiffin.kingston.sch.uk) Last modified: 21st November 2013

  2. Recap of correlation Weak negative correlation ? ? Type of correlation: Weak positive correlation ? ? strength type No correlation ? ? Strong positive correlation ?

  3. Recap If we let then the variance is: Variance Recall that variance gives the extent to which the variable ‘varies’!

  4. Covariance We can extend variance to two variables. We might be interested in how one variable varies with another. We can say that as distance (say ) increases, the cost (say ) increases. Thus the covariance of and is positive.

  5. Covariance Comment on the covariance between the variables. As increases, doesn’t change very much. So the covariance is small (but positive) As increases, doesn’t change very much. So the covariance is small (but positive) ? ?

  6. Covariance Comment on the covariance between the variables. As varies, doesn’t vary at all. So we say that variables are independent, and the covariance is 0. ? ? As increases, decreases. So the covariance is negative.

  7. Covariance where Notice that if we replace with , we have , which we saw earlier is the variance of . i.e.

  8. Simpler formulae for , You’re given these in the formula booklet, but it’s worth memorising them. Notice that the first is just the same formula as for variance, except we’ve just multiplied everything by , since

  9. Product Moment Correlation Coefficient (PMCC) While the sign (i.e. positive or negative) of the covariance is helpful, the magnitude (i.e. size) is hard to interpret. We can turn our covariance into a correlation coefficient… Dividing by this forces our covariance to be between -1 and 1. We’ll interpret what that means in a second. is known as the Product Moment Correlation Coefficient (PMCC).

  10. Product Moment Correlation Coefficient (PMCC) ? ? ? ? ? ? ? ? ? ?

  11. Product Moment Correlation Coefficient (PMCC) Quite often the values are given to you in an exam. ? ? ? ? ? ? ? ?

  12. Let’s do it on our calculators! • Put in Stats mode: MODE • Select for (i.e. calculations to do with linear relationships) • Insert the data into your table. Use the arrow keys and ‘=‘ to add the values. • Once done, press the button. This ‘accepts’ your table of values. • Press , and choose for REGRESSION. • Select for . is now in your calculation, so press =.

  13. Interpreting the PMCC We’ve seen the PMCC varies between -1 and 1. means ? Perfect positive correlation. means No correlation ? means Perfect negative correlation. ?

  14. Interpreting the PMCC

  15. Exercises Page 122 Exercise 6B Q1, 4, 5, 7, 9

  16. Limitations of correlation Often there’s a 3rd variable that explains two others, but the two variables themselves are not connected. Q1: The number of cars on the road has increased, and the number of DVD recorders bought has decreased. Is there a correlation between the two variables? Buying a car does not necessarily mean that you will not buy a DVD recorder, so we cannot say there is a correlation between the two. ? Q2: Over the past 10 years the memory capacity of personal computers has increased, and so has the average life expectancy of people in the western world. Is there are correlation between these two variables? The two are not connected, but both are due to scientific development over time (i.e. a third variable!) ?

  17. Effects of coding We know that and Therefore, if all our data values get k times bigger in size and values become times bigger, what happens to… ? (Recap) The variance of : times as big ? times as big : ? : times as big : times as big ? ? : Unaffected!

  18. Effects of coding • For the purposes of the S1 exam, you just need to remember that: • Coding affects in the same way that the variance is affected. i.e. If the variance becomes 9 times larger, so does . • If and/or are coded, the PMCC is unaffected.

  19. Example We can now just find the PMCC of this new data set, and no further adjustment is needed. ?

More Related