+ All Categories
Home > Documents > and Scatterplots Correlation Chapter 4 -...

and Scatterplots Correlation Chapter 4 -...

Date post: 20-Oct-2019
Category:
Upload: others
View: 12 times
Download: 0 times
Share this document with a friend
45
Chapter 4 Scatterplots and Correlation
Transcript
Page 1: and Scatterplots Correlation Chapter 4 - mrbuda.weebly.commrbuda.weebly.com/uploads/1/1/3/4/113432521/chapters_4___5__stats_.pdf · Chapter 4 Scatterplots and Correlation. Explanatory

Chapter 4 Scatterplots

and Correlation

Page 2: and Scatterplots Correlation Chapter 4 - mrbuda.weebly.commrbuda.weebly.com/uploads/1/1/3/4/113432521/chapters_4___5__stats_.pdf · Chapter 4 Scatterplots and Correlation. Explanatory

Explanatory and Response Variables● A response variable measures an outcome of a study (Dependent Variable)

● An explanatory variable may explain or influence changes in a response variable (Independent variable)

Page 3: and Scatterplots Correlation Chapter 4 - mrbuda.weebly.commrbuda.weebly.com/uploads/1/1/3/4/113432521/chapters_4___5__stats_.pdf · Chapter 4 Scatterplots and Correlation. Explanatory

Scatterplots● Shows the

relationship between two quantitative variables measured on the same individuals

● Always plot the explanatory variable on the x-axis and response variable on the y-axis

Page 4: and Scatterplots Correlation Chapter 4 - mrbuda.weebly.commrbuda.weebly.com/uploads/1/1/3/4/113432521/chapters_4___5__stats_.pdf · Chapter 4 Scatterplots and Correlation. Explanatory

Associations● We can say two variables are positively associated when above-average values

of one tend to accompany above-average values of the other and below-average values of one tend to accompany above below-values of the other

● We can say two variables are negatively associated when above-average

values of one tend to accompany below-average values of the other and vice versa

Page 5: and Scatterplots Correlation Chapter 4 - mrbuda.weebly.commrbuda.weebly.com/uploads/1/1/3/4/113432521/chapters_4___5__stats_.pdf · Chapter 4 Scatterplots and Correlation. Explanatory

Examples of Different Types of Association

Page 6: and Scatterplots Correlation Chapter 4 - mrbuda.weebly.commrbuda.weebly.com/uploads/1/1/3/4/113432521/chapters_4___5__stats_.pdf · Chapter 4 Scatterplots and Correlation. Explanatory

Scatterplot Example #1Use the given data to make a scatter plot of the weight and height of each member of a basketball team.

Page 7: and Scatterplots Correlation Chapter 4 - mrbuda.weebly.commrbuda.weebly.com/uploads/1/1/3/4/113432521/chapters_4___5__stats_.pdf · Chapter 4 Scatterplots and Correlation. Explanatory

Scatterplot Example #1 (Answer)

Page 8: and Scatterplots Correlation Chapter 4 - mrbuda.weebly.commrbuda.weebly.com/uploads/1/1/3/4/113432521/chapters_4___5__stats_.pdf · Chapter 4 Scatterplots and Correlation. Explanatory

Scatterplot Example #2Use the given data to make a table of the weight and height of each member of a soccer team.

Page 9: and Scatterplots Correlation Chapter 4 - mrbuda.weebly.commrbuda.weebly.com/uploads/1/1/3/4/113432521/chapters_4___5__stats_.pdf · Chapter 4 Scatterplots and Correlation. Explanatory

Scatterplot Example #2 (Answer)

Page 10: and Scatterplots Correlation Chapter 4 - mrbuda.weebly.commrbuda.weebly.com/uploads/1/1/3/4/113432521/chapters_4___5__stats_.pdf · Chapter 4 Scatterplots and Correlation. Explanatory

Strength of a Correlation

Page 11: and Scatterplots Correlation Chapter 4 - mrbuda.weebly.commrbuda.weebly.com/uploads/1/1/3/4/113432521/chapters_4___5__stats_.pdf · Chapter 4 Scatterplots and Correlation. Explanatory

Association VS Correlation● Technically, association refers to any relationship between

two variables, whereas correlation is often used to refer only to a linear relationship between two variables.

Page 12: and Scatterplots Correlation Chapter 4 - mrbuda.weebly.commrbuda.weebly.com/uploads/1/1/3/4/113432521/chapters_4___5__stats_.pdf · Chapter 4 Scatterplots and Correlation. Explanatory

Scatterplot StationsGet into groups of 5.

At each station, describe whether the situation is positively, negatively, or not associated and why. Then, make a conclusion about the data.

Page 13: and Scatterplots Correlation Chapter 4 - mrbuda.weebly.commrbuda.weebly.com/uploads/1/1/3/4/113432521/chapters_4___5__stats_.pdf · Chapter 4 Scatterplots and Correlation. Explanatory

Warm-Up 09/28Which types of variables do scatterplots compare?

Page 14: and Scatterplots Correlation Chapter 4 - mrbuda.weebly.commrbuda.weebly.com/uploads/1/1/3/4/113432521/chapters_4___5__stats_.pdf · Chapter 4 Scatterplots and Correlation. Explanatory

How To Add Categorical Variables to a Scatterplot

Page 15: and Scatterplots Correlation Chapter 4 - mrbuda.weebly.commrbuda.weebly.com/uploads/1/1/3/4/113432521/chapters_4___5__stats_.pdf · Chapter 4 Scatterplots and Correlation. Explanatory

More Examples

Page 16: and Scatterplots Correlation Chapter 4 - mrbuda.weebly.commrbuda.weebly.com/uploads/1/1/3/4/113432521/chapters_4___5__stats_.pdf · Chapter 4 Scatterplots and Correlation. Explanatory

Correlation (AKA Regression Coefficient)● The correlation of a graph measures the direction and strength of the linear

relationship between two quantitative variables● We denote correlation as r

Page 17: and Scatterplots Correlation Chapter 4 - mrbuda.weebly.commrbuda.weebly.com/uploads/1/1/3/4/113432521/chapters_4___5__stats_.pdf · Chapter 4 Scatterplots and Correlation. Explanatory

Interpreting Correlation ● For calculating r, it makes no difference which variable you use for x and y● Changing the units of x or y also makes no difference when calculating r● Correlation Coefficient, r is between -1 and 1

­1 ≤ r ≤ 1● r > 0 Best-fit (regression) line has positive slope

variables are positively linearly correlated● r < 0 Best-fit (regression) line has negative slope

variables are negatively linearly correlated

Page 18: and Scatterplots Correlation Chapter 4 - mrbuda.weebly.commrbuda.weebly.com/uploads/1/1/3/4/113432521/chapters_4___5__stats_.pdf · Chapter 4 Scatterplots and Correlation. Explanatory

Interpreting Correlation (Cont.)● When r = 0, no correlation● r values near +1 or ­1 indicates strong linear relationship● r values near 0 indicates weak linear relationship

Page 19: and Scatterplots Correlation Chapter 4 - mrbuda.weebly.commrbuda.weebly.com/uploads/1/1/3/4/113432521/chapters_4___5__stats_.pdf · Chapter 4 Scatterplots and Correlation. Explanatory

You Try!

r = 0.85

Were you close?

Page 20: and Scatterplots Correlation Chapter 4 - mrbuda.weebly.commrbuda.weebly.com/uploads/1/1/3/4/113432521/chapters_4___5__stats_.pdf · Chapter 4 Scatterplots and Correlation. Explanatory

Predicting r From Pictures

Page 21: and Scatterplots Correlation Chapter 4 - mrbuda.weebly.commrbuda.weebly.com/uploads/1/1/3/4/113432521/chapters_4___5__stats_.pdf · Chapter 4 Scatterplots and Correlation. Explanatory

Calculating r by HandEX:

Hours Spent

Studying

0.5 0.5 1 1 1.5 2 2 2 3

Test Scores

72 90 88 90 90 87 90 95 95

Page 22: and Scatterplots Correlation Chapter 4 - mrbuda.weebly.commrbuda.weebly.com/uploads/1/1/3/4/113432521/chapters_4___5__stats_.pdf · Chapter 4 Scatterplots and Correlation. Explanatory

How to Calculate r On The Calculator

Page 23: and Scatterplots Correlation Chapter 4 - mrbuda.weebly.commrbuda.weebly.com/uploads/1/1/3/4/113432521/chapters_4___5__stats_.pdf · Chapter 4 Scatterplots and Correlation. Explanatory

Let’s revisit this example...EX:

Hours Spent

Studying

0.5 0.5 1 1 1.5 2 2 2 3

Test Scores

72 90 88 90 90 87 90 95 95

r ≈ 0.61

Page 24: and Scatterplots Correlation Chapter 4 - mrbuda.weebly.commrbuda.weebly.com/uploads/1/1/3/4/113432521/chapters_4___5__stats_.pdf · Chapter 4 Scatterplots and Correlation. Explanatory

Warm-Up 10/03What does an r value of 0.9 mean for a set of data? 0.19? -0.9? -0.19? 0? Provide sketches of each scatterplot.

Page 26: and Scatterplots Correlation Chapter 4 - mrbuda.weebly.commrbuda.weebly.com/uploads/1/1/3/4/113432521/chapters_4___5__stats_.pdf · Chapter 4 Scatterplots and Correlation. Explanatory

Warm-Up 10/04Think about the relationship between the amount of time a student spends studying and the grades they get. Predict what the value of r would be for this situation and what that implies.

Now suppose that I survey 100 students at Peninsula and get r = 0.1. What does this imply for the study, and why might this be surprising? What could explain why r is this value?

Page 27: and Scatterplots Correlation Chapter 4 - mrbuda.weebly.commrbuda.weebly.com/uploads/1/1/3/4/113432521/chapters_4___5__stats_.pdf · Chapter 4 Scatterplots and Correlation. Explanatory

“Whodunnit?”

Page 28: and Scatterplots Correlation Chapter 4 - mrbuda.weebly.commrbuda.weebly.com/uploads/1/1/3/4/113432521/chapters_4___5__stats_.pdf · Chapter 4 Scatterplots and Correlation. Explanatory

Found at the Scene of The Crime“Mr. Buda,

I took something from you when you weren’t looking. I bet you can’t guess who I am.

Sincerely,

Your Favorite Student”

Page 29: and Scatterplots Correlation Chapter 4 - mrbuda.weebly.commrbuda.weebly.com/uploads/1/1/3/4/113432521/chapters_4___5__stats_.pdf · Chapter 4 Scatterplots and Correlation. Explanatory

Stolen ItemsItem Footprint Size (Inches)

Morty Action Figure 9.875

Sora Action Figure 11.125

Panther 10.75

Graphing Calc 9.5

Page 30: and Scatterplots Correlation Chapter 4 - mrbuda.weebly.commrbuda.weebly.com/uploads/1/1/3/4/113432521/chapters_4___5__stats_.pdf · Chapter 4 Scatterplots and Correlation. Explanatory
Page 31: and Scatterplots Correlation Chapter 4 - mrbuda.weebly.commrbuda.weebly.com/uploads/1/1/3/4/113432521/chapters_4___5__stats_.pdf · Chapter 4 Scatterplots and Correlation. Explanatory

Concluding questions...1. What if the person left a footprint of size 9 inches? 9.5 inches? 10 inches?

2. How would you find someone’s shoe size (using our graph) if we knew their height?

3. Do you think this is an accurate way to find the height of suspects? Explain.

Page 32: and Scatterplots Correlation Chapter 4 - mrbuda.weebly.commrbuda.weebly.com/uploads/1/1/3/4/113432521/chapters_4___5__stats_.pdf · Chapter 4 Scatterplots and Correlation. Explanatory

Chapter 5 Regression

Page 33: and Scatterplots Correlation Chapter 4 - mrbuda.weebly.commrbuda.weebly.com/uploads/1/1/3/4/113432521/chapters_4___5__stats_.pdf · Chapter 4 Scatterplots and Correlation. Explanatory

Warm-Up 10/08

Given: x̄ = 6.3, ȳ= 40.8, sx= 0.87, s

y=12.8,

r = -0.4

Find: a and b

Page 34: and Scatterplots Correlation Chapter 4 - mrbuda.weebly.commrbuda.weebly.com/uploads/1/1/3/4/113432521/chapters_4___5__stats_.pdf · Chapter 4 Scatterplots and Correlation. Explanatory

Pirate Lab

Page 35: and Scatterplots Correlation Chapter 4 - mrbuda.weebly.commrbuda.weebly.com/uploads/1/1/3/4/113432521/chapters_4___5__stats_.pdf · Chapter 4 Scatterplots and Correlation. Explanatory

Additional Instructions● Next door is testing

● Finish #1 by the end of class

● Class ends at 1:47

Page 36: and Scatterplots Correlation Chapter 4 - mrbuda.weebly.commrbuda.weebly.com/uploads/1/1/3/4/113432521/chapters_4___5__stats_.pdf · Chapter 4 Scatterplots and Correlation. Explanatory

Beware of extrapolation● (Avoid) extrapolation- The use of a regression line to

predict far outside the range of values of the explanatory variable

● Example: Suppose you have data on how children grow

between the ages of 3 and 8. Using your regression line equation, you get that at 25 the child will grow to be 8 ft tall.

Page 37: and Scatterplots Correlation Chapter 4 - mrbuda.weebly.commrbuda.weebly.com/uploads/1/1/3/4/113432521/chapters_4___5__stats_.pdf · Chapter 4 Scatterplots and Correlation. Explanatory

Correlation does NOT imply causation...

● Lurking variables are variables that are not among the explanatory or response variables, yet may influence the interpretation of relationships among those variables

Page 38: and Scatterplots Correlation Chapter 4 - mrbuda.weebly.commrbuda.weebly.com/uploads/1/1/3/4/113432521/chapters_4___5__stats_.pdf · Chapter 4 Scatterplots and Correlation. Explanatory

Find the lurking

variable

Page 39: and Scatterplots Correlation Chapter 4 - mrbuda.weebly.commrbuda.weebly.com/uploads/1/1/3/4/113432521/chapters_4___5__stats_.pdf · Chapter 4 Scatterplots and Correlation. Explanatory

Example #1Cities with more schools have more prisons. Therefore, being educated causes you to go to jail.

Lurking Variable: Cities with more schools have a higher population.

Page 40: and Scatterplots Correlation Chapter 4 - mrbuda.weebly.commrbuda.weebly.com/uploads/1/1/3/4/113432521/chapters_4___5__stats_.pdf · Chapter 4 Scatterplots and Correlation. Explanatory

Example #2Students who eat Cheetos die. Therefore, Cheetos kill.

Lurking Variable: All people eventually pass away.

Page 41: and Scatterplots Correlation Chapter 4 - mrbuda.weebly.commrbuda.weebly.com/uploads/1/1/3/4/113432521/chapters_4___5__stats_.pdf · Chapter 4 Scatterplots and Correlation. Explanatory

Example #3Students failed their exams the year Mr. Kuykendall became principal. Therefore, having Mr. Kuykendall as principal causes students to fail.

Lurking Variable: Perhaps the students did not study as much as they should have or the material was tough, etc.

Page 42: and Scatterplots Correlation Chapter 4 - mrbuda.weebly.commrbuda.weebly.com/uploads/1/1/3/4/113432521/chapters_4___5__stats_.pdf · Chapter 4 Scatterplots and Correlation. Explanatory

Example #4Students scored highly on their exams the year Mr. Kuykendall became principal. Therefore, having Mr. Kuykendall as principal causes students to succeed.

Lurking Variable: Perhaps the students studied or the material was not as challenging, etc.

Page 43: and Scatterplots Correlation Chapter 4 - mrbuda.weebly.commrbuda.weebly.com/uploads/1/1/3/4/113432521/chapters_4___5__stats_.pdf · Chapter 4 Scatterplots and Correlation. Explanatory

Warm-Up 10/12Jimmy notices every time the seatbelt sign turns on during his flight, the plane begins to shake violently. He sure would like the pilot to stop doing that. What lurking variable could explain what is happening?

Page 44: and Scatterplots Correlation Chapter 4 - mrbuda.weebly.commrbuda.weebly.com/uploads/1/1/3/4/113432521/chapters_4___5__stats_.pdf · Chapter 4 Scatterplots and Correlation. Explanatory

R2

● The fraction of the variation in the values of y covered by the regression line

● For example, a scatterplot with r = -0.7786 has a strong negative correlation. Then, r2 = (-0.7786)2 = 0.6062. Therefore, 61% of the data is “covered” by the regression line

Page 45: and Scatterplots Correlation Chapter 4 - mrbuda.weebly.commrbuda.weebly.com/uploads/1/1/3/4/113432521/chapters_4___5__stats_.pdf · Chapter 4 Scatterplots and Correlation. Explanatory

Influential Observations● An observation is influential if removing it would markedly change the result of

a calculation. In scatterplots, outliers are influential and greatly influence the regression line


Recommended