Chapter 5: 02/17/2004 1 Chapter 5 Regression. 2 Chapter 5: 02/17/2004 Objective: To quantify the linear relationship between an explanatory variable (x)

Slides:



Advertisements
Similar presentations
AP Statistics Chapters 3 & 4 Measuring Relationships Between 2 Variables.
Advertisements

Looking at Data-Relationships 2.1 –Scatter plots.
BPS - 5th Ed. Chapter 51 Regression. BPS - 5th Ed. Chapter 52 u Objective: To quantify the linear relationship between an explanatory variable (x) and.
Basic Practice of Statistics - 3rd Edition
Haroon Alam, Mitchell Sanders, Chuck McAllister- Ashley, and Arjun Patel.
Chapter 5 Regression. Chapter 51 u Objective: To quantify the linear relationship between an explanatory variable (x) and response variable (y). u We.
Chapter 5 Regression. Chapter outline The least-squares regression line Facts about least-squares regression Residuals Influential observations Cautions.
2.4: Cautions about Regression and Correlation. Cautions: Regression & Correlation Correlation measures only linear association. Extrapolation often produces.
BPS - 3rd Ed. Chapter 41 Scatterplots and Correlation.
Lecture PowerPoint Slides Basic Practice of Statistics 7 th Edition.
Chapter 15 Describing Relationships: Regression, Prediction, and Causation Chapter 151.
Essential Statistics Chapter 41 Scatterplots and Correlation.
Chapter 151 Describing Relationships: Regression, Prediction, and Causation.
BPS - 3rd Ed. Chapter 51 Regression. BPS - 3rd Ed. Chapter 52 u Objective: To quantify the linear relationship between an explanatory variable (x) and.
Chapter 5 Regression BPS - 5th Ed. Chapter 51. Linear Regression  Objective: To quantify the linear relationship between an explanatory variable (x)
BPS - 5th Ed. Chapter 51 Regression. BPS - 5th Ed. Chapter 52 u Objective: To quantify the linear relationship between an explanatory variable (x) and.
Lecture Presentation Slides SEVENTH EDITION STATISTICS Moore / McCabe / Craig Introduction to the Practice of Chapter 2 Looking at Data: Relationships.
CHAPTER 5 Regression BPS - 5TH ED.CHAPTER 5 1. PREDICTION VIA REGRESSION LINE NUMBER OF NEW BIRDS AND PERCENT RETURNING BPS - 5TH ED.CHAPTER 5 2.
Chapter 5 Regression. u Objective: To quantify the linear relationship between an explanatory variable (x) and response variable (y). u We can then predict.
AP STATISTICS LESSON 4 – 2 ( DAY 1 ) Cautions About Correlation and Regression.
Lecture 5 Chapter 4. Relationships: Regression Student version.
^ y = a + bx Stats Chapter 5 - Least Squares Regression
Describing Relationships
Simple Linear Regression The Coefficients of Correlation and Determination Two Quantitative Variables x variable – independent variable or explanatory.
BPS - 3rd Ed. Chapter 51 Regression. BPS - 3rd Ed. Chapter 52 u To describe the change in Y per unit X u To predict the average level of Y at a given.
Stat 1510: Statistical Thinking and Concepts REGRESSION.
Lecture PowerPoint Slides Basic Practice of Statistics 7 th Edition.
Get out p. 193 HW and notes. LEAST-SQUARES REGRESSION 3.2 Interpreting Computer Regression Output.
Chapters 8 Linear Regression. Correlation and Regression Correlation = linear relationship between two variables. Summarize relationship with line. Called.
Lecture PowerPoint Slides Basic Practice of Statistics 7 th Edition.
CHAPTER 5: Regression ESSENTIAL STATISTICS Second Edition David S. Moore, William I. Notz, and Michael A. Fligner Lecture Presentation.
Describing Relationships. Least-Squares Regression  A method for finding a line that summarizes the relationship between two variables Only in a specific.
Essential Statistics Chapter 41 Scatterplots and Correlation.
Chapter 3 Association: Contingency, Correlation, and Regression Section 3.1 How Can We Explore the Association between Two Categorical Variables?
4. Relationships: Regression
2.7 The Question of Causation
4. Relationships: Regression
CHAPTER 3 Describing Relationships
Chapter 4.2 Notes LSRL.
Statistics 101 Chapter 3 Section 3.
Essential Statistics Regression
CHAPTER 3 Describing Relationships
Cautions About Correlation and Regression
Cautions about Correlation and Regression
Basic Practice of Statistics - 3rd Edition Lecture PowerPoint Slides
Chapter 2 Looking at Data— Relationships
Chapter 2: Looking at Data — Relationships
Daniela Stan Raicu School of CTI, DePaul University
Chapter 2 Looking at Data— Relationships
AP Stats: 3.3 Least-Squares Regression Line
Chapter 3: Describing Relationships
^ y = a + bx Stats Chapter 5 - Least Squares Regression
Cautions about Correlation and Regression
Least-Squares Regression
Chapter 2 Looking at Data— Relationships
Examining Relationships
Basic Practice of Statistics - 5th Edition Regression
HS 67 (Intro Health Stat) Regression
Daniela Stan Raicu School of CTI, DePaul University
Basic Practice of Statistics - 3rd Edition Regression
Least-Squares Regression
CHAPTER 3 Describing Relationships
Warmup A study was done comparing the number of registered automatic weapons (in thousands) along with the murder rate (in murders per 100,000) for 8.
CHAPTER 3 Describing Relationships
CHAPTER 3 Describing Relationships
CHAPTER 3 Describing Relationships
Warm-up: Pg 197 #79-80 Get ready for homework questions
Basic Practice of Statistics - 3rd Edition Lecture Powerpoint
Homework: PG. 204 #30, 31 pg. 212 #35,36 30.) a. Reading scores are predicted to increase by for each one-point increase in IQ. For x=90: 45.98;
Honors Statistics Review Chapters 7 & 8
Presentation transcript:

Chapter 5: 02/17/ Chapter 5 Regression

2 Chapter 5: 02/17/2004 Objective: To quantify the linear relationship between an explanatory variable (x) and response variable (y). We can then predict the average response for all subjects with a given value of the explanatory variable. Linear Regression

3 Chapter 5: 02/17/2004 Prediction via Regression Line Number of New Birds and Percent Returning Example: predicting number (y) of new adult birds that join the colony based on the percent (x) of adult birds that return to the colony from the previous year.

4 Chapter 5: 02/17/2004 Line of Least Squares Used to determine the “best” line We want the line to be as close as possible to all data points in the vertical (y) direction (since that is what we are trying to predict) Least Squares: use the line that minimizes the sum of the squares of the vertical distances of the data points from the line

5 Chapter 5: 02/17/2004 Line of Least Squares

6 Chapter 5: 02/17/2004 Least Squares Regression Line Regression equation:  x is the value of the explanatory variable  “y-hat” is the predicted response for a value of x  note that a and b are just the intercept and slope of a straight line  note that r (correlation) and b (slope) are not the same thing, but their signs will agree

7 Chapter 5: 02/17/2004 Prediction via Regression Line Number of new birds and Percent returning u The regression equation is y-hat is the average number of new birds for all colonies with percent x returning u For all colonies with 60% returning, we predict the average number of new birds to be 13.69:  (0.3040)(60) = birds u Suppose we know that an individual colony has 60% returning. What would we predict the number of new birds to be for just that colony?

8 Chapter 5: 02/17/2004 Regression Line Calculations Regression equation: where s x and s y are the standard deviations of the two variables, and r is their correlation. We will use our calculators or computer!!

9 Chapter 5: 02/17/2004 Regression Calculation Case Study Per Capita Gross Domestic Product and Average Life Expectancy for Countries in Western Europe

10 Chapter 5: 02/17/2004 CountryPer Capita GDP (x)Life Expectancy (y) Austria Belgium Finland France Germany Ireland Italy Netherlands Switzerland United Kingdom Regression Calculation A Case Study

11 Chapter 5: 02/17/2004 Linear regression equation: Regression Calculation A Case Study

12 Chapter 5: 02/17/2004 Coefficient of Determination (R 2 ) Measures usefulness of regression prediction R 2 (or r 2, the square of the correlation): measures what fraction of the variation in the values of the response variable (y) is explained by the regression line  r=1: R 2 =1:regression line explains all (100%) of the variation in y  r=.7: R 2 =.49:regression line explains almost half (50%) of the variation in y

13 Chapter 5: 02/17/2004 Residuals A residual is the difference between an observed value of the response variable and the value predicted by the regression line: residual = y  y ^ actual data valuepredicted value

14 Chapter 5: 02/17/2004 Cautions about Correlation and Regression 1)only describe linear relationships 2)are both affected by outliers 3)always plot the data before interpreting 4)beware of extrapolation  predicting outside of the range of x 5)beware of lurking variables  have important effect on the relationship among the variables in a study, but are not included in the study 6) association does not imply causation

15 Chapter 5: 02/17/2004 (2) Effects of Outliers An outlier is an observation that lies far away from the other observations  outliers in the y direction have large residuals  outliers in the x direction are often influential for the least-squares regression line, meaning that the removal of such points would markedly change the equation of the line

16 Chapter 5: 02/17/2004 Gesell Adaptive Score and Age at First Word From all the data r 2 = 41% r 2 = 11% After removing child 18 (2) Effects of Outliers: An Example

17 Chapter 5: 02/17/2004 (3) Always plot data first!

18 Chapter 5: 02/17/2004 (3) Always plot data first!

19 Chapter 5: 02/17/2004 (4) Beware of Extrapolation Sarah’s height was plotted against her age Can you predict her height at age 42 months? Can you predict her height at age 30 years (360 months)?

20 Chapter 5: 02/17/2004 (4) Beware of Extrapolation Regression line: height at age 42 months? height at age 30 years?  She is predicted to be 6’ 10.5” at age age (months) height (cm)

21 Chapter 5: 02/17/2004 (5) Beware of Lurking Variables Do Left-handers Die Earlier? Example 5.7: Magic Mozart

22 Chapter 5: 02/17/2004 Even very strong correlations may not correspond to a real causal relationship (changes in x actually causing changes in y). correlation may be explained by a lurking variable (6) Correlation Does Not Imply Causation

23 Chapter 5: 02/17/2004 (6) Correlation Does Not Imply Causation Chapter 4: HW #4.27 Chapter 5: HW #5.25, #5.27 Example 5.8 and Chapter 5 Worksheet

24 Chapter 5: 02/17/2004 Real Evidence of Causation A properly conducted experiment establishes the connection (chapter 8) Other considerations:  The association is strong  The association is consistent The connection happens in repeated trials The connection happens under varying conditions  Higher doses are associated with stronger responses  Alleged cause precedes the effect in time  Alleged cause is plausible (reasonable explanation)