©2011 Brooks/Cole, Cengage Learning Elementary Statistics: Looking at the Big Picture 1 Lecture 11: Chapter 5, Section 3 Relationships between Two Quantitative.

Slides:



Advertisements
Similar presentations
Chapter 3 Examining Relationships Lindsey Van Cleave AP Statistics September 24, 2006.
Advertisements

 Objective: To look for relationships between two quantitative variables.
The Practice of Statistics
Describing the Relation Between Two Variables
CHAPTER 3 Describing Relationships
Chapter 3: Describing Relationships
Correlation 10/30. Relationships Between Continuous Variables Some studies measure multiple variables – Any paired-sample experiment – Training & testing.
Scatterplots, Association, and Correlation Copyright © 2010, 2007, 2004 Pearson Education, Inc.
Correlation and regression 1: Correlation Coefficient
+ The Practice of Statistics, 4 th edition – For AP* STARNES, YATES, MOORE Chapter 3: Describing Relationships Section 3.1 Scatterplots and Correlation.
CHAPTER 4: Scatterplots and Correlation ESSENTIAL STATISTICS Second Edition David S. Moore, William I. Notz, and Michael A. Fligner Lecture Presentation.
Scatterplots, Associations, and Correlation
1 Chapter 7 Scatterplots, Association, and Correlation.
4.1 Scatter Diagrams and Correlation. 2 Variables ● In many studies, we measure more than one variable for each individual ● Some examples are  Rainfall.
Chapter 3 Section 3.1 Examining Relationships. Continue to ask the preliminary questions familiar from Chapter 1 and 2 What individuals do the data describe?
The Practice of Statistics, 5th Edition Starnes, Tabor, Yates, Moore Bedford Freeman Worth Publishers CHAPTER 3 Describing Relationships 3.1 Scatterplots.
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.
+ Warm Up Tests 1. + The Practice of Statistics, 4 th edition – For AP* STARNES, YATES, MOORE Chapter 3: Describing Relationships Section 3.1 Scatterplots.
The Practice of Statistics
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.
STA291 Statistical Methods Lecture LINEar Association o r measures “closeness” of data to the “best” line. What line is that? And best in what terms.
3.3 Correlation: The Strength of a Linear Trend Estimating the Correlation Measure strength of a linear trend using: r (between -1 to 1) Positive, Negative.
Unit 3: Describing Relationships
Chapter 2 Examining Relationships.  Response variable measures outcome of a study (dependent variable)  Explanatory variable explains or influences.
Least Squares Regression Remember y = mx + b? It’s time for an upgrade… A regression line is a line that describes how a response variable y changes as.
Copyright © 2013, 2009, and 2007, Pearson Education, Inc. Chapter 3 Association: Contingency, Correlation, and Regression Section 3.3 Predicting the Outcome.
©2011 Brooks/Cole, Cengage Learning Elementary Statistics: Looking at the Big Picture1 Lecture 35: Chapter 13, Section 2 Two Quantitative Variables Interval.
©2011 Brooks/Cole, Cengage Learning Elementary Statistics: Looking at the Big Picture 1 Lecture 12: more Chapter 5, Section 3 Relationships between Two.
Chapter 5 Summarizing Bivariate Data Correlation.
Chapters 8 Linear Regression. Correlation and Regression Correlation = linear relationship between two variables. Summarize relationship with line. Called.
Unit 3 – Association: Contingency, Correlation, and Regression Lesson 3-2 Quantitative Associations.
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.
Correlation.
Scatterplots Chapter 6.1 Notes.
CHAPTER 3 Describing Relationships
Chapter 3: Describing Relationships
Describing Relationships
CHAPTER 7 LINEAR RELATIONSHIPS
Chapter 3: Describing Relationships
Correlation 10/27.
Chapter 3: Describing Relationships
Correlation 10/27.
Chapter 3: Describing Relationships
Chapter 3: Describing Relationships
Chapter 3: Describing Relationships
Elementary Statistics: Looking at the Big Picture
Chapter 3: Describing Relationships
Chapter 3: Describing Relationships
Elementary Statistics: Looking at the Big Picture
Chapter 3: Describing Relationships
Chapter 3 Scatterplots and Correlation.
Chapter 3: Describing Relationships
Chapter 3: Describing Relationships
September 25, 2013 Chapter 3: Describing Relationships Section 3.1
Chapter 3: Describing Relationships
Summarizing Bivariate Data
Chapter 3: Describing Relationships
Chapter 3: Describing Relationships
Chapter 3: Describing Relationships
Chapter 3: Describing Relationships
AP Stats Agenda Text book swap 2nd edition to 3rd Frappy – YAY
Chapter 3: Describing Relationships
9/27/ A Least-Squares Regression.
Chapter 3: Describing Relationships
Chapter 3: Describing Relationships
Chapter 3: Describing Relationships
Chapter 3: Describing Relationships
Chapter 3: Describing Relationships
Presentation transcript:

©2011 Brooks/Cole, Cengage Learning Elementary Statistics: Looking at the Big Picture 1 Lecture 11: Chapter 5, Section 3 Relationships between Two Quantitative Variables; Correlation  Display and Summarize  Correlation for Direction and Strength  Properties of Correlation  Regression Line

©2011 Brooks/Cole, Cengage Learning Elementary Statistics: Looking at the Big Picture L11.2 Example: Two Single Quantitative Variables  Background: Data on male students’ heights and weights:  Question: What do these tell us about the relationship between male height and weight?  Response: Nothing (only about single variables). Practice:5.33 p.192

©2011 Brooks/Cole, Cengage Learning Elementary Statistics: Looking at the Big Picture L11.3 Example: Two Single Quantitative Variables  Background: Data on male students’ heights and weights:  Question: What do these tell us about the relationship between male height and weight?  Response: ______________________________ Practice:5.33 p.192

©2011 Brooks/Cole, Cengage Learning Elementary Statistics: Looking at the Big Picture L11.4 Definition  Scatterplot displays relationship between 2 quantitative variables: Explanatory variable (x) on horizontal axis Response variable (y) on vertical axis

©2011 Brooks/Cole, Cengage Learning Elementary Statistics: Looking at the Big Picture L11.5 Example: Explanatory/Response Roles  Background: We’re interested in the relationship between male students’ heights and weights.  Question: Which variable should be graphed along the horizontal axis of the scatterplot?  Response: Height (explains weight). Practice: 5.60a p.198

©2011 Brooks/Cole, Cengage Learning Elementary Statistics: Looking at the Big Picture L11.6 Example: Explanatory/Response Roles  Background: We’re interested in the relationship between male students’ heights and weights.  Question: Which variable should be graphed along the horizontal axis of the scatterplot?  Response: Practice: 5.60a p.198

©2011 Brooks/Cole, Cengage Learning Elementary Statistics: Looking at the Big Picture L11.7 Definitions  Form: relationship is linear if scatterplot points cluster around some straight line  Direction: relationship is positive if points slope upward left to right negative if points slope downward left to right

©2011 Brooks/Cole, Cengage Learning Elementary Statistics: Looking at the Big Picture L11.8 Example: Form and Direction  Background: Scatterplot displays relationship between male students’ heights and weights.  Question: What are the form and direction of the relationship?  Response: Form is linear, direction is positive. A Closer Look: Points in a positive relationship tend to fall in lower left and upper right quadrants. Practice: 5.36a-c p.193

©2011 Brooks/Cole, Cengage Learning Elementary Statistics: Looking at the Big Picture L11.9 Example: Form and Direction  Background: Scatterplot displays relationship between male students’ heights and weights.  Question: What are the form and direction of the relationship?  Response: Form is ________ direction is ________ Practice: 5.36a-c p.193

©2011 Brooks/Cole, Cengage Learning Elementary Statistics: Looking at the Big Picture L11.10 Strength of a Linear Relationship  Strong: scatterplot points tightly clustered around a line Explanatory value tells us a lot about response  Weak: scatterplot points loosely scattered around a line Explanatory value tells us little about response

©2011 Brooks/Cole, Cengage Learning Elementary Statistics: Looking at the Big Picture L11.11 Example: Relative Strengths  Background: Scatterplots display: mothers’ ht. vs. fathers’ ht. (left) males’ wt. vs. ht. (middle) mothers’ age vs. fathers’ age (right):  Question: How do relationships’ strengths compare? (Which is strongest, which is weakest?)  Response: Strongest is on right, weakest is onleft. Practice: 5.37a p.193

©2011 Brooks/Cole, Cengage Learning Elementary Statistics: Looking at the Big Picture L11.12 Example: Relative Strengths  Background: Scatterplots display: mothers’ ht. vs. fathers’ ht. (left) males’ wt. vs. ht. (middle) mothers’ age vs. fathers’ age (right):  Question: How do relationships’ strengths compare? (Which is strongest, which is weakest?)  Response: Strongest is on_____, weakest is on____ Practice: 5.37a p.193

©2011 Brooks/Cole, Cengage Learning Elementary Statistics: Looking at the Big Picture L11.13 Example: Negative Relationship  Background: Scatterplot displays price vs. age for 14 used Pontiac Grand Am’s.  Questions: Why should we expect the relationship to be negative? Does it appear linear? Is it weak or strong?  Responses: Newer cars cost more, older cars less. Linear, fairly strong. “Fairly strong” is imprecise… Practice: 5.38 p.194

©2011 Brooks/Cole, Cengage Learning Elementary Statistics: Looking at the Big Picture L11.14 Example: Negative Relationship  Background: Scatterplot displays price vs. age for 14 used Pontiac Grand Am’s.  Questions: Why should we expect the relationship to be negative? Does it appear linear? Is it weak or strong?  Responses: __________________________________ Practice: 5.38 p.194

©2011 Brooks/Cole, Cengage Learning Elementary Statistics: Looking at the Big Picture L11.15 Definition  Correlation r: tells direction and strength of linear relation between 2 quantitative variables Direction &Strength: r is between -1 and +1;  close to 1 for strong relationship that is positive  close to 0.5 for moderate relationship (positive)  close to 0 for weak relationship  close to -0.5 for moderate relationship (negative)  close to -1 for strong relationship (negative)

©2011 Brooks/Cole, Cengage Learning Elementary Statistics: Looking at the Big Picture L11.16 Example: Extreme Values of Correlation  Background: Scatterplots show relationships… (left) Price per kilogram vs. price per pound for groceries (middle) Used cars’ age vs. year made (right) Students’ final exam score vs. order handed in  Question: Correlations (scrambled) are -1, 0, +1. Which goes with each scatterplot?  Response: left r = ; middle r = ; right r = Practice: 5.40 p.194

©2011 Brooks/Cole, Cengage Learning Elementary Statistics: Looking at the Big Picture L11.17 Example: Extreme Values of Correlation  Background: Scatterplots show relationships… (left) Price per kilogram vs. price per pound for groceries (middle) Used cars’ age vs. year made (right) Students’ final exam score vs. order handed in  Question: Which goes with each scatterplot?  Response: left r = ; middle r = ; right r =. +10 For that class, order handed in tells us nothing about score. Practice: 5.40 p.194

©2011 Brooks/Cole, Cengage Learning Elementary Statistics: Looking at the Big Picture L11.18 Example: Extreme Values of Correlation  Background: Scatterplots show relationships… (left) Price per kilogram vs. price per pound for groceries (middle) Used cars’ age vs. year made (right) Students’ final exam score vs. order handed in  Question: Correlations (scrambled) are -1, 0, +1. Which goes with each scatterplot?  Response: left r =___; middle r =___; right r =___ Practice: 5.40 p.194

©2011 Brooks/Cole, Cengage Learning Elementary Statistics: Looking at the Big Picture L11.19 Example: Relative Strengths  Background: Scatterplots display: mothers’ ht. vs. fathers’ ht. (left) males’ wt. vs. ht. (middle) mothers’ age vs. fathers’ age (right):  Question: Which graphs go with which correlation: r = 0.23, r = 0.78, r = 0.65?  Response: left r = ; middle r = ; right r = Practice: 5.42 p.195

©2011 Brooks/Cole, Cengage Learning Elementary Statistics: Looking at the Big Picture L11.20 Example: Relative Strengths  Background: Scatterplots display: mothers’ ht. vs. fathers’ ht. (left) males’ wt. vs. ht. (middle) mothers’ age vs. fathers’ age (right):  Question: Which graphs go with which correlation: r = 0.23, r = 0.78, r = 0.65?  Response: left r = _____; middle r = _____; right r = _____ Practice: 5.42 p.195

©2011 Brooks/Cole, Cengage Learning Elementary Statistics: Looking at the Big Picture L11.21 Example: Imperfect Relationships  Background: For 50 states, % voting Republican vs. % Democrat in 2000 presidential election had r =  Questions: Why should we expect the relationship to be negative? Why is it imperfect?  Responses: Negative: more voting Democratic  fewer Republican Imperfect: some voted for neither (due to Ralph Nader) Practice: 5.37b p.193

©2011 Brooks/Cole, Cengage Learning Elementary Statistics: Looking at the Big Picture L11.22 Example: Imperfect Relationships  Background: For 50 states, % voting Republican vs. % Democrat in 2000 presidential election had r =  Questions: Why should we expect the relationship to be negative? Why is it imperfect?  Responses: Negative: Imperfect: Practice: 5.37b p.193

©2011 Brooks/Cole, Cengage Learning Elementary Statistics: Looking at the Big Picture L11.23 More about Correlation r  Tells direction and strength of linear relation between 2 quantitative variables A strong curved relationship may have r close to 0 Correlation not appropriate for categorical data  Unaffected by roles explanatory/response  Unaffected by change of units  Overstates strength if based on averages

©2011 Brooks/Cole, Cengage Learning Elementary Statistics: Looking at the Big Picture L11.24 Example: Correlation when Roles are Switched  Background: Male students’ wt vs ht (left) or ht vs wt (right):  Questions: How do directions and strengths compare, left vs. right? How do correlations r compare, left vs. right?  Responses: Both positive, same strength Same r for both Practice: 5.45 p.195

©2011 Brooks/Cole, Cengage Learning Elementary Statistics: Looking at the Big Picture L11.25 Example: Correlation when Roles are Switched  Background: Male students’ wt vs ht (left) or ht vs wt (right):  Questions: How do directions and strengths compare, left vs. right? How do correlations r compare, left vs. right?  Responses: _____________________ Practice: 5.45 p.195

©2011 Brooks/Cole, Cengage Learning Elementary Statistics: Looking at the Big Picture L11.26 More about Correlation r  Tells direction and strength of linear relation between 2 quantitative variables A strong curved relationship may have r close to 0 Correlation not appropriate for categorical data  Unaffected by roles explanatory/response  Unaffected by change of units  Overstates strength if based on averages

©2011 Brooks/Cole, Cengage Learning Elementary Statistics: Looking at the Big Picture L11.27 Example: Correlation when Units are Changed  Background: For male students plot… Left: wt (lbs) vs. ht (in) or Right: wt (kg) vs. ht (cm)  Question: How do directions, strengths, and r compare, left vs. right?  Response: both positive, same strength, same r for both Practice: 5.47 p.196

©2011 Brooks/Cole, Cengage Learning Elementary Statistics: Looking at the Big Picture L11.28 Example: Correlation when Units are Changed  Background: For male students plot… Left: wt (lbs) vs. ht (in) or Right: wt (kg) vs. ht (cm)  Question: How do directions, strengths, and r compare, left vs. right?  Response: Practice: 5.47 p.196

©2011 Brooks/Cole, Cengage Learning Elementary Statistics: Looking at the Big Picture L11.29 More about Correlation r  Tells direction and strength of linear relation between 2 quantitative variables A strong curved relationship may have r close to 0 Correlation not appropriate for categorical data  Unaffected by roles explanatory/response  Unaffected by change of units  Overstates strength if based on averages

©2011 Brooks/Cole, Cengage Learning Elementary Statistics: Looking at the Big Picture L11.30 Example: Correlation Based on Averages  Background: For male students plot… Left: wt. vs. ht. or Right: average wt. vs. ht.  Question:Which one has r =+0.87? (other r =+0.65)  Response: Plot on right has r = (stronger). Practice: 5.49 p.196

©2011 Brooks/Cole, Cengage Learning Elementary Statistics: Looking at the Big Picture L11.31 Example: Correlation Based on Averages  Background: For male students plot… Left: wt. vs. ht. or Right: average wt. vs. ht.  Question:Which one has r =+0.87? (other r =+0.65)  Response: Plot on ________ has r = (stronger). Practice: 5.49 p.196

©2011 Brooks/Cole, Cengage Learning Elementary Statistics: Looking at the Big Picture L11.32 Example: Correlation Based on Averages In general, correlation based on averages tends to overstate strength because scatter due to individuals has been reduced.

©2011 Brooks/Cole, Cengage Learning Elementary Statistics: Looking at the Big Picture L11.33 Example: CALCULATE r BY HAND  Sum of products of the z-scores divided by n-1  Example (Age vs. value)  x-bar = 4s x =  y-bar = 12s y =  Z-SCORES

©2011 Brooks/Cole, Cengage Learning Elementary Statistics: Looking at the Big Picture L11.34 Least Squares Regression Line If form appears linear, then we picture points clustered around a straight line. Questions (Rhetorical): 1. Is there only one “best” line? 2. If so, how can we find it? 3. If found, how can we use it? Responses: (in reverse order) 3. If found, can use line to make predictions.

©2011 Brooks/Cole, Cengage Learning Elementary Statistics: Looking at the Big Picture L11.35 Least Squares Regression Line Response: 3. If found, can use line to make predictions. Write equation of line :  Explanatory value is  Predicted response is  y-intercept is  Slope is and use the line to predict a response for any given explanatory value.

©2011 Brooks/Cole, Cengage Learning Elementary Statistics: Looking at the Big Picture L11.36 Least Squares Regression Line If form appears linear, then we picture points clustered around a straight line. Questions: 1. Is there only one “best” line? 2. If so, how can we find it? 3. If found, how can we use it? Predictions Response: 2. Find line that makes best predictions.

©2011 Brooks/Cole, Cengage Learning Elementary Statistics: Looking at the Big Picture L11.37 Least Squares Regression Line Response: 2. Find line that makes best predictions: Minimize sum of squared residuals (prediction errors). Resulting line called least squares line or regression line. A Closer Look: The mathematician Sir Francis Galton called it the “regression” line because of the “regression to mediocrity” seen in any imperfect relationship: besides responding to x, we see y tending towards its average value.

©2011 Brooks/Cole, Cengage Learning Elementary Statistics: Looking at the Big Picture L11.38 Least Squares Regression Line If form appears linear, then we picture points clustered around a straight line. Questions: 1. Is there only one “best” line? 2. If so, how can we find it? Minimize errors 3. If found, how can we use it? Predictions Response: 1. Methods of calculus  unique “best” line

©2011 Brooks/Cole, Cengage Learning Elementary Statistics: Looking at the Big Picture L11.39 Least Squares Regression Line If form appears linear, then we picture points clustered around a straight line. Questions: 1. Is there only one “best” line? 2. If so, how can we find it? 3. If found, how can we use it? Response: 1. “Best” line has

©2011 Brooks/Cole, Cengage Learning Elementary Statistics: Looking at the Big Picture L11.40 Example: Least Squares Regression Line  Background: Car-buyer wants to know if $4,000 is a fair price for an 8-yr-old Grand Am; uses software to regress price on age for 14 used Grand Am’s:  Question: How can she use the line?  Response: Predict for x=8, = 4,385; so 4,000 isn’t bad. Price =14, ,287.64Age * * Practice: 5.36d p.193

©2011 Brooks/Cole, Cengage Learning Elementary Statistics: Looking at the Big Picture L11.41 Example: Least Squares Regression Line  Background: Car-buyer wants to know if $4,000 is a fair price for an 8-yr-old Grand Am; uses software to regress price on age for 14 used Grand Am’s:  Question: How can she use the line?  Response: Predict for x=8, ________________________. Price =14, ,287.64Age Practice: 5.36d p.193

©2011 Brooks/Cole, Cengage Learning Elementary Statistics: Looking at the Big Picture L11.42 Lecture Summary (Quantitative Relationships; Correlation)  Display with scatterplot  Summarize with form, direction, strength  Correlation r tells direction and strength  Properties of r Unaffected by explanatory/response roles Unaffected by change of units Overstates strength if based on averages  Least squares regression line for predictions