Академический Документы
Профессиональный Документы
Культура Документы
Chapter 17
Correlation
Copyright 2010 McGraw-Hill Australia Pty Ltd PowerPoint slides to accompany Croucher, Introductory Mathematics and Statistics, 5e
17-1
Learning Objectives
Understand correlation analysis and relationships between variables Draw and interpret a scatter diagram Understand and calculate the product-moment correlation coefficient Understand and calculate the rank correlation coefficient Recognise spurious correlation Test a correlation coefficient for significance
Copyright 2010 McGraw-Hill Australia Pty Ltd PowerPoint slides to accompany Croucher, Introductory Mathematics and Statistics, 5e
17-2
17.1 Introduction
The consideration of whether there is any relationship or association between two variables is called correlation analysis The correlation coefficient is the index which defines the strength of association between two variables There are many instances where you may want to test whether there is a relationship between two variables Examples the number of CDs sold in a district and the number of teenagers who live in that district the number of breakdowns of a certain type of machine and the age of the machine the level of education obtained by an individual and his or her income in later working life
If there is a relationship between any two variables, it may be possible to predict the value of one of the variables from the value of the other
17-3
Copyright 2010 McGraw-Hill Australia Pty Ltd PowerPoint slides to accompany Croucher, Introductory Mathematics and Statistics, 5e
Copyright 2010 McGraw-Hill Australia Pty Ltd PowerPoint slides to accompany Croucher, Introductory Mathematics and Statistics, 5e
17-4
In this form the ordered pairs resemble points on a graph In doing so, it is possible to get a feel for what the actual relationship between the variables may be, even before any calculations are undertaken
Copyright 2010 McGraw-Hill Australia Pty Ltd PowerPoint slides to accompany Croucher, Introductory Mathematics and Statistics, 5e
17-5
The points representing the data are usually plotted either by dots or crosses
Copyright 2010 McGraw-Hill Australia Pty Ltd PowerPoint slides to accompany Croucher, Introductory Mathematics and Statistics, 5e
17-6
Copyright 2010 McGraw-Hill Australia Pty Ltd PowerPoint slides to accompany Croucher, Introductory Mathematics and Statistics, 5e
17-7
Copyright 2010 McGraw-Hill Australia Pty Ltd PowerPoint slides to accompany Croucher, Introductory Mathematics and Statistics, 5e
17-8
17-9
Sxx Syy
Sxy
Where
Sxx Syy Sxy
2 2 x x n 1 S x 2 2 y y n 1 S y
x x y y
17-10
Copyright 2010 McGraw-Hill Australia Pty Ltd PowerPoint slides to accompany Croucher, Introductory Mathematics and Statistics, 5e
n 1S x S y
or
S xy
xy nx y r
n 1S x S y
Copyright 2010 McGraw-Hill Australia Pty Ltd PowerPoint slides to accompany Croucher, Introductory Mathematics and Statistics, 5e
17-11
Copyright 2010 McGraw-Hill Australia Pty Ltd PowerPoint slides to accompany Croucher, Introductory Mathematics and Statistics, 5e
17-12
Copyright 2010 McGraw-Hill Australia Pty Ltd PowerPoint slides to accompany Croucher, Introductory Mathematics and Statistics, 5e
17-13
Copyright 2010 McGraw-Hill Australia Pty Ltd PowerPoint slides to accompany Croucher, Introductory Mathematics and Statistics, 5e
17-14
Copyright 2010 McGraw-Hill Australia Pty Ltd PowerPoint slides to accompany Croucher, Introductory Mathematics and Statistics, 5e
17-15
Copyright 2010 McGraw-Hill Australia Pty Ltd PowerPoint slides to accompany Croucher, Introductory Mathematics and Statistics, 5e
17-16
206.68337.44
216.62
0.82
Copyright 2010 McGraw-Hill Australia Pty Ltd PowerPoint slides to accompany Croucher, Introductory Mathematics and Statistics, 5e
17-17
rs 1
d2
n3 n
Copyright 2010 McGraw-Hill Australia Pty Ltd PowerPoint slides to accompany Croucher, Introductory Mathematics and Statistics, 5e
17-18
n3 n d 3
2
The subscript s in rs stands for Spearman and is used to distinguish it from the Pearson product-moment correlation coefficient
Copyright 2010 McGraw-Hill Australia Pty Ltd PowerPoint slides to accompany Croucher, Introductory Mathematics and Statistics, 5e
17-19
17-20
n2 t r 1 r 2
4. Calculate the value of y, where v = n2 5. Use Table 7 to find the critical value. This is the value in the 0.05 column If | t| < critical value, there is no correlation between the two variables If |t| > critical value, there is correlation between the two variables The risk that we are incorrect in our conclusion is 5%
Copyright 2010 McGraw-Hill Australia Pty Ltd PowerPoint slides to accompany Croucher, Introductory Mathematics and Statistics, 5e
17-21
Copyright 2010 McGraw-Hill Australia Pty Ltd PowerPoint slides to accompany Croucher, Introductory Mathematics and Statistics, 5e
17-22
Copyright 2010 McGraw-Hill Australia Pty Ltd PowerPoint slides to accompany Croucher, Introductory Mathematics and Statistics, 5e
Summary
We understood correlation analysis and relationships between variables We drew and interpreted a scatter diagram We understood and calculated the product-moment correlation coefficient We understood and calculated the rank correlation coefficient We recognised spurious correlation We tested a correlation coefficient for significance
Copyright 2010 McGraw-Hill Australia Pty Ltd PowerPoint slides to accompany Croucher, Introductory Mathematics and Statistics, 5e
17-24