lesson 4 - 1 scatter diagrams and correlation. objectives draw and interpret scatter diagrams...

13
Lesson 4 - 1 Scatter Diagrams and Correlation

Upload: amos-watkins

Post on 17-Jan-2016

215 views

Category:

Documents


3 download

TRANSCRIPT

Page 1: Lesson 4 - 1 Scatter Diagrams and Correlation. Objectives Draw and interpret scatter diagrams Understand the properties of the linear correlation coefficient

Lesson 4 - 1

Scatter Diagrams and Correlation

Page 2: Lesson 4 - 1 Scatter Diagrams and Correlation. Objectives Draw and interpret scatter diagrams Understand the properties of the linear correlation coefficient

Objectives

• Draw and interpret scatter diagrams

• Understand the properties of the linear correlation coefficient

• Compute and interpret the linear correlation coefficient

Page 3: Lesson 4 - 1 Scatter Diagrams and Correlation. Objectives Draw and interpret scatter diagrams Understand the properties of the linear correlation coefficient

Vocabulary

• Response Variable – variable whose value can be explained by the value of the explanatory or predictor variable

• Predictor Variable – independent variable; explains the response variable variability

• Lurking Variable – variable that may affect the response variable, but is excluded from the analysis

• Positively Associated – if predictor variable goes up, then the response variable goes up (or vice versa)

• Negatively Associated – if predictor variable goes up, then the response variable goes down (or vice versa)

Page 4: Lesson 4 - 1 Scatter Diagrams and Correlation. Objectives Draw and interpret scatter diagrams Understand the properties of the linear correlation coefficient

Scatter Diagram

• Shows relationship between two quantitative variables measured on the same individual.

• Each individual in the data set is represented by a point in the scatter diagram.

• Explanatory variable plotted on horizontal axis and the response variable plotted on vertical axis.

• Do not connect the points when drawing a scatter diagram.

Page 5: Lesson 4 - 1 Scatter Diagrams and Correlation. Objectives Draw and interpret scatter diagrams Understand the properties of the linear correlation coefficient

TI-83 Instructions for Scatter Plots

• Enter explanatory variable in L1• Enter response variable in L2• Press 2nd y= for StatPlot, select 1: Plot1• Turn plot1 on by highlighting ON and enter• Highlight the scatter plot icon and enter• Press ZOOM and select 9: ZoomStat

Page 6: Lesson 4 - 1 Scatter Diagrams and Correlation. Objectives Draw and interpret scatter diagrams Understand the properties of the linear correlation coefficient

Resp

on

se

Explanatory

Resp

on

se

Explanatory

Resp

on

se

Explanatory

Resp

on

se

Explanatory

Resp

on

se

Explanatory

Nonlinear Nonlinear

No RelationPositivelyAssociated

NegativelyAssociated

Scatter Diagrams

Page 7: Lesson 4 - 1 Scatter Diagrams and Correlation. Objectives Draw and interpret scatter diagrams Understand the properties of the linear correlation coefficient

Where x is the sample mean of the explanatory variable sx is the sample standard deviation for x y is the sample mean of the response variable sy is the sample standard deviation for y n is the number of individuals in the sample

Equivalent Formula for r

(xi – x)---------- sx

(yi – y)---------- sy

n – 1 r = Σ

r =

xi yixiyi – ----------- nΣ Σ Σ

√ xi xi

2 – -------- nΣ

(Σ )2 yi yi

2 – -------- nΣ

(Σ )2

=sxy

√sxx √syy

Linear Correlation Coefficient, r

Page 8: Lesson 4 - 1 Scatter Diagrams and Correlation. Objectives Draw and interpret scatter diagrams Understand the properties of the linear correlation coefficient

Properties of the Linear Correlation Coefficient

• The linear correlation coefficient is always between -1 and 1

• If r = 1, then the variables have a perfect positive linear relation

• If r = -1, then the variables have a perfect negative linear relation

• The closer r is to 1, then the stronger the evidence for a positive linear relation

• The closer r is to -1, then the stronger the evidence for a negative linear relation

• If r is close to zero, then there is little evidence of a linear relation between the two variables. R close to zero does not mean that there is no relation between the two variables

• The linear correlation coefficient is a unitless measure of association

Page 9: Lesson 4 - 1 Scatter Diagrams and Correlation. Objectives Draw and interpret scatter diagrams Understand the properties of the linear correlation coefficient

TI-83 Instructions for Correlation Coefficient

• With explanatory variable in L1 and response variable in L2

• Turn diagnostics on by – Go to catalog (2nd 0)– Scroll down and when diagnosticOn is

highlighted, hit enter twice

• Press STAT, highlight CALC and select 4: LinReg (ax + b) and hit enter twice

• Read r value (last line)

Page 10: Lesson 4 - 1 Scatter Diagrams and Correlation. Objectives Draw and interpret scatter diagrams Understand the properties of the linear correlation coefficient

Example

• Draw a scatter plot of the above data

• Compute the correlation coefficient

1 2 3 4 5 6 7 8 9 10 11 12

x 3 2 2 4 5 15 22 13 6 5 4 1

y 0 1 2 1 2 9 16 5 3 3 1 0

r = 0.9613

y

x

Page 11: Lesson 4 - 1 Scatter Diagrams and Correlation. Objectives Draw and interpret scatter diagrams Understand the properties of the linear correlation coefficient

Observational Data

• If bivariate (two variable) data are observational, then we cannot conclude that any relation between the explanatory and response variable are due to cause and effect

• Observational versus Experimental Data

Page 12: Lesson 4 - 1 Scatter Diagrams and Correlation. Objectives Draw and interpret scatter diagrams Understand the properties of the linear correlation coefficient

Summary and Homework

• Summary– Correlation between two variables can be

described with both visual and numeric methods– Visual methods

• Scatter diagrams• Analogous to histograms for single variables

– Numeric methods• Linear correlation coefficient• Analogous to mean and variance for single variables

– Care should be taken in the interpretation of linear correlation (nonlinearity and causation)

• Homework– pg 203 – 211; 4, 5, 11-16, 27, 38, 42

Page 13: Lesson 4 - 1 Scatter Diagrams and Correlation. Objectives Draw and interpret scatter diagrams Understand the properties of the linear correlation coefficient

Homework Answers

• 12: Linear, negative• 14: nonlinear (power function perhaps)• 16 a) IV

b) III c) I d) II

• 38: Example problem• 42: No linear relationship, but not no releationship.

Power function relationship (negative parabola)