Chapter 7 Scatterplots, Association, and Correlation.

Slides:



Advertisements
Similar presentations
Correlation and Linear Regression
Advertisements

 Objective: To look for relationships between two quantitative variables.
Scatterplots, Association, and Correlation
Correlation Data collected from students in Statistics classes included their heights (in inches) and weights (in pounds): Here we see a positive association.
CHAPTER 4: Scatterplots and Correlation
Scatterplots, Association, and Correlation 60 min.
CHAPTER 3 Describing Relationships
Scatterplots, Association, and Correlation Copyright © 2010, 2007, 2004 Pearson Education, Inc.
Copyright © 2010, 2007, 2004 Pearson Education, Inc. Chapter 7 Scatterplots, Association, and Correlation.
1-1 Copyright © 2015, 2010, 2007 Pearson Education, Inc. Chapter 6, Slide 1 Chapter 6 Scatterplots, Association and Correlation.
Copyright © 2010, 2007, 2004 Pearson Education, Inc. Chapter 7 Scatterplots, Association, and Correlation.
CHAPTER 4: Scatterplots and Correlation ESSENTIAL STATISTICS Second Edition David S. Moore, William I. Notz, and Michael A. Fligner Lecture Presentation.
Copyright © 2010 Pearson Education, Inc. Unit 2: Chapter 7 Scatterplots, Association, and Correlation.
Examining Relationships
Scatterplots, Association,
Examining Relationships Prob. And Stat. 2.2 Correlation.
Scatterplots, Associations, and Correlation
 Chapter 7 Scatterplots, Association, and Correlation.
Slide 7-1 Copyright © 2004 Pearson Education, Inc.
1 Chapter 7 Scatterplots, Association, and Correlation.
Copyright © 2010 Pearson Education, Inc. Slide Lauren is enrolled in a very large college calculus class. On the first exam, the class mean was a.
Copyright © 2010 Pearson Education, Inc. Slide Lauren is enrolled in a very large college calculus class. On the first exam, the class mean was a.
The Practice of Statistics, 5th Edition Starnes, Tabor, Yates, Moore Bedford Freeman Worth Publishers CHAPTER 3 Describing Relationships 3.1 Scatterplots.
Correlation.  It should come as no great surprise that there is an association between height and weight  Yes, as you would expect, taller students.
CHAPTER 4: Scatterplots and Correlation ESSENTIAL STATISTICS Second Edition David S. Moore, William I. Notz, and Michael A. Fligner Lecture Presentation.
The Practice of Statistics, 5th Edition Starnes, Tabor, Yates, Moore Bedford Freeman Worth Publishers CHAPTER 3 Describing Relationships 3.1 Scatterplots.
Relationships If we are doing a study which involves more than one variable, how can we tell if there is a relationship between two (or more) of the.
Chapter 7 Scatterplots, Association, and Correlation
Chapter 8 Linear Regression. Slide 8- 2 Fat Versus Protein: An Example The following is a scatterplot of total fat versus protein for 30 items on the.
Copyright © 2008 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Chapter 7 Scatterplots, Association, and Correlation.
Copyright © 2010 Pearson Education, Inc. Chapter 7 Scatterplots, Association, and Correlation.
DO NOW 1.Given the scatterplot below, what are the key elements that make up a scatterplot? 2.List as many facts / conclusions that you can draw from this.
Copyright © 2007 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Slide 8- 1.
CP Prob & Stats Unit 4 – Chapter 7 A Tale of Two Variables.
Scatterplots Association and Correlation Chapter 7.
The Practice of Statistics for Business and Economics Third Edition David S. Moore George P. McCabe Layth C. Alwan Bruce A. Craig William M. Duckworth.
Chapter 7 Scatterplots, association, and correlation math2200.
Module 11 Scatterplots, Association, and Correlation.
Copyright © 2010 Pearson Education, Inc. Chapter 3 Scatterplots, Correlation and Least Squares Regression Slide
Copyright © 2010, 2007, 2004 Pearson Education, Inc. Chapter 7 Scatterplots, Association, and Correlation.
Chapter 5 Lesson 5.1a Summarizing Bivariate Data 5.1a: Correlation.
Copyright © 2007 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Chapter 7 Scatterplots, Association, and Correlation.
Honors Statistics Chapter 7 Scatterplots, Association, and Correlation.
Statistics 7 Scatterplots, Association, and Correlation.
Scatterplots, Association, and Correlation. Scatterplots are the best way to start observing the relationship and picturing the association between two.
+ The Practice of Statistics, 4 th edition – For AP* STARNES, YATES, MOORE Chapter 3: Describing Relationships Section 3.1 Scatterplots and Correlation.
+ The Practice of Statistics, 4 th edition – For AP* STARNES, YATES, MOORE Chapter 3: Describing Relationships Section 3.1 Scatterplots and Correlation.
Copyright © 2007 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Slide 7- 1.
Part II Exploring Relationships Between Variables.
Scatterplots, Association, and Correlation
Chapter 3: Describing Relationships
CHAPTER 7 LINEAR RELATIONSHIPS
Chapter 7: Scatterplots, Association, and Correlation
Chapter 7 Scatterplots, Association, and Correlation
Scatterplots, Association and Correlation
Chapter 7: Scatterplots, Association, and Correlation
Chapter 7 Scatterplots, Association, and Correlation
Chapter 7 Scatterplots, Association, and Correlation
Chapter 7 Part 1 Scatterplots, Association, and Correlation
Chapter 7 Part 2 Scatterplots, Association, and Correlation
Looking at Scatterplots
Scatterplots, Association, and Correlation
Scatterplots, Association, and Correlation
Scatterplots, Association, and Correlation
Chi-square Test for Goodness of Fit (GOF)
Scatterplots, Association and Correlation
Examining Relationships
Scatterplots Scatterplots may be the most common and most effective display for data. In a scatterplot, you can see patterns, trends, relationships, and.
Correlation r Explained
Scatterplots, Association, and Correlation
Presentation transcript:

Chapter 7 Scatterplots, Association, and Correlation

Slide 7- 2 Looking at Scatterplots Scatterplots may be the most common and most effective display for data. Look for patterns, trends, relationships, and possible outliers Best way to picture between two variables

Slide 7- 3 Looking at Scatterplots (cont.) When looking at scatterplots, we will look for direction, form,, and unusual features Direction: A pattern that runs from the upper left to the lower right is said to have a direction A trend running the other way has a direction

Slide 7- 4 Looking at Scatterplots (cont.) This example shows a negative association between central pressure and maximum hurricane wind speed As the central pressure, the maximum wind speed

Slide 7- 5 Looking at Scatterplots (cont.) Form: If there is a straight line () relationship, it will appear as a cloud or swarm of points stretched out in a generally consistent, straight form.

Slide 7- 6 Looking at Scatterplots (cont.) Form: If the relationship isn’t straight while still increasing or decreasing steadily we can usually find ways to make it more straight

Slide 7- 7 Looking at Scatterplots (cont.) Form: If the relationship curves sharply, the methods of this book cannot really help us

Slide 7- 8 Looking at Scatterplots (cont.) Strength: At one extreme, the points appear to follow a stream At the other extreme, the points appear as a vague cloud with no discernable trend or

Slide 7- 9 Looking at Scatterplots (cont.) Unusual features: Look for the unexpected Look for any outliers standing away from the overall pattern of the scatterplot Clusters or subgroups should also raise questions

Slide Roles for Variables Need to determine which of the two quantitative variables goes on the x-axis and which on the y- axis This determination is made based on the roles played by the variables When the roles are clear, the explanatory or variable goes on the x-axis, and the variable goes on the y-axis

Slide Data collected from students in Statistics classes included their heights (in inches) and weights (in pounds): There is a positive association Fairly straight form Seems to be a high outlier Correlation

Slide How strong is the association between weight and height of Statistics students? Units should not matter when quantifying strength A scatterplot of heights (in centimeters) and weights (in kilograms) doesn’t change the Correlation (cont.)

Slide Correlation (cont.) both variables and write the coordinates of a point as (z x, z y ) Removes the units from the data Here is a scatterplot of the standardized weights and heights:

Slide Correlation (cont.) The linear pattern seems steeper in the plot than in the scatterplot That’s because we made the scales of the axes the Equal scaling gives a neutral way of drawing the scatterplot and a fairer impression of the

Slide Correlation (cont.) A numerical measurement of the strength of the linear relationship between the explanatory and response variables For the students’ heights and weights, the correlation is Formula:

Slide Correlation Conditions Correlation measures the strength of the linear association between two quantitative variables. Before you use correlation, you must check several conditions: Quantitative Variables Condition Straight Enough Condition Outlier Condition

Slide Correlation Conditions (cont.) Quantitative Variables Condition: Correlation applies only to variables Don’t apply correlation to categorical data Need to know the variables’ units and what they measure

Slide Correlation Conditions (cont.) Straight Enough Condition: You can calculate a correlation coefficient for any pair of variables Correlation measures the strength only of the linear association Results will be misleading if the relationship is not linear

Slide Correlation Conditions (cont.) Outlier Condition: Outliers can distort the correlation It can even change the direction of the correlation coefficient Switch from negative to positive, or When you see an outlier report the correlations with and without that point

Slide Correlation Properties The sign of a correlation coefficient gives the direction of the association Correlation is always between Correlation close or equal to -1 or +1 indicates a linear relationship A correlation near zero corresponds to a linear association.

Slide Correlation Properties (cont.) Correlation treats x and y The correlation of x with y is the same as the correlation of y with x Correlation has Correlation is not affected by changes in the center or scale of either variable Correlations depend only on

Slide Correlation Properties (cont.) Correlation measures the strength of the linear association between the two variables Variables can have a strong association but still have a small correlation if the association isn’t linear Correlation is sensitive to

Slide Correlation ≠ Causation Whenever we have a strong correlation, it is tempting to explain it by imagining that the predictor variable has the response Scatterplots and correlation coefficients prove causation Watch out for A hidden variable that stands behind a relationship and determines it by simultaneously affecting the other two variables

Slide Correlation Tables Compute the correlations between every pair of variables in a dataset and arrange these correlations in a table

Slide Straightening Scatterplots If a scatterplot shows a bent form that consistently increases or decreases, we can often straighten the form of the plot by one or both variables Transforming the data can straighten the scatterplot’s form

Slide What Can Go Wrong? Don’t say “correlation” when you mean “association” Don’t confuse “correlation” with “causation” Don’t correlate variables Be sure the association is linear Beware of outliers

Slide What Can Go Wrong? (cont.) Don’t assume the relationship is linear just because the correlation coefficient is high R = 0.979, but the relationship is actually bent

Slide What have we learned? We examine scatterplots for direction, form, strength, and unusual features Although not every relationship is linear, when the scatterplot is straight enough, the is a useful numerical summary The sign of the correlation tells us the of the association The magnitude of the correlation tells us the of a linear association Shifting, or scaling the data, standardizing, or swapping the variables has no effect on the numerical value

Exercise 7.38 Fast food is often considered unhealthy because much of it is high in both fat and calories. But are the two related? Here are the fat contents and calories of several brands of burgers. Analyze the association between fat content and calories. Slide Fat (g) Calories

Exercise 7.38 (cont.) Let us first plot the data Y-axis? X-axis? Slide 7- 30

Slide Exercise 7.38 (cont.)

Slide 7- 32

Exercise 7.38 (cont.) Slide 7- 33

Exercise 7.38 (cont.) Slide From what we learned in Chapter 4:

Slide Exercise 7.38 (cont.)

Slide Exercise 7.38 (cont.)

Slide Exercise 7.38 (cont.)

Slide 7- 38