Chapter 5 Regression BPS - 5th Ed. Chapter 51. Linear Regression  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

Chapter 2: Looking at Data - Relationships /true-fact-the-lack-of-pirates-is-causing-global-warming/
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.
CHAPTER 3 Describing Relationships
Ch 2 and 9.1 Relationships Between 2 Variables
Basic Practice of Statistics - 3rd Edition
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.
 Pg : 3b, 6b (form and strength)  Page : 10b, 12a, 16c, 16e.
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.
BPS - 3rd Ed. Chapter 41 Scatterplots and Correlation.
Chapter 3 concepts/objectives Define and describe density curves Measure position using percentiles Measure position using z-scores Describe Normal distributions.
Notes Bivariate Data Chapters Bivariate Data Explores relationships between two quantitative variables.
AP Statistics Chapter 8 & 9 Day 3
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.
Notes Bivariate Data Chapters Bivariate Data Explores relationships between two quantitative variables.
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.
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 4 SCATTERPLOTS AND CORRELATION BPS - 5th Ed. Chapter 4 1.
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.
The Practice of Statistics, 5th Edition Starnes, Tabor, Yates, Moore Bedford Freeman Worth Publishers CHAPTER 3 Describing Relationships 3.2 Least-Squares.
Examining Bivariate Data Unit 3 – Statistics. Some Vocabulary Response aka Dependent Variable –Measures an outcome of a study Explanatory aka Independent.
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.
Lesson Correlation and Regression Wisdom. Knowledge Objectives Recall the three limitations on the use of correlation and regression. Explain what.
Lecture 5 Chapter 4. Relationships: Regression Student version.
Chapter 2 Examining Relationships.  Response variable measures outcome of a study (dependent variable)  Explanatory variable explains or influences.
^ y = a + bx Stats Chapter 5 - Least Squares Regression
CHAPTER 3 Describing Relationships
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.
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.
Chapter 5: 02/17/ Chapter 5 Regression. 2 Chapter 5: 02/17/2004 Objective: To quantify the linear relationship between an explanatory variable (x)
Chapter 4.2 Notes LSRL.
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
Chapter 3: Describing Relationships
^ y = a + bx Stats Chapter 5 - Least Squares Regression
Least-Squares Regression
Chapter 2 Looking at Data— 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
Basic Practice of Statistics - 3rd Edition Lecture Powerpoint
Presentation transcript:

Chapter 5 Regression BPS - 5th Ed. Chapter 51

Linear Regression  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. BPS - 5th Ed. Chapter 5 2

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. BPS - 5th Ed.Chapter 53

Least Squares  Used to determine the “best” line  We want the line to be as close as possible to the 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 BPS - 5th Ed. Chapter 5 4

Least Squares Regression Line  Regression equation: y = a + bx BPS - 5th Ed. Chapter 5 5 ^ –x is the value of the explanatory variable –“y-hat” is the average value of the response variable (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 and b are not the same thing, but their signs will agree

Prediction via Regression Line Number of new birds and Percent returning BPS - 5th Ed. Chapter 5 6 u The regression equation is y-hat =  x –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?

Regression Line Calculation BPS - 5th Ed.Chapter 57 ^ u Regression equation: y = a + bx where s x and s y are the standard deviations of the two variables, and r is their correlation

Regression Calculation Case Study BPS - 5th Ed. Chapter 5 8 Per Capita Gross Domestic Product and Average Life Expectancy for Countries in Western Europe

Regression Calculation Case Study CountryPer Capita GDP (x)Life Expectancy (y) Austria Belgium Finland France Germany Ireland Italy Netherlands Switzerland United Kingdom BPS - 5th Ed.Chapter 59

Regression Calculation Case Study BPS - 5th Ed.Chapter 510 Linear regression equation: y = x ^

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 v r=1: R 2 =1:regression line explains all (100%) of the variation in y v r=.7: R 2 =.49:regression line explains almost half (50%) of the variation in y BPS - 5th Ed. Chapter 5 11

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 BPS - 5th Ed. Chapter 5 12 ^

Residuals  A residual plot is a scatterplot of the regression residuals against the explanatory variable  used to assess the fit of a regression line  look for a “random” scatter around zero BPS - 5th Ed. Chapter 5 13

Case Study BPS - 5th Ed. Chapter 5 14 Gesell Adaptive Score and Age at First Word Draper, N. R. and John, J. A. “Influential observations and outliers in regression,” Technometrics, Vol. 23 (1981), pp

Residual Plot: Case Study BPS - 5th Ed. Chapter 5 15 Gesell Adaptive Score and Age at First Word

Outliers and Influential Points  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 BPS - 5th Ed. Chapter 5 16

Outliers: Case Study BPS - 5th Ed. Chapter 5 17 Gesell Adaptive Score and Age at First Word From all the data r 2 = 41% r 2 = 11% After removing child 18

Cautions about Correlation and Regression  only describe linear relationships  are both affected by outliers  always plot the data before interpreting  beware of extrapolation  predicting outside of the range of x  beware of lurking variables  have important effect on the relationship among the variables in a study, but are not included in the study  association does not imply causation BPS - 5th Ed. Chapter 5 18

Caution: 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)? BPS - 5th Ed.Chapter 519

Caution: Beware of Extrapolation  Regression line: y-hat = x  height at age 42 months? y-hat = 88  height at age 30 years? y-hat =  She is predicted to be 6’ 10.5” at age 30. BPS - 5th Ed.Chapter 520

Meditation and Aging (Noetic Sciences Review, Summer 1993, p. 28)  Explanatory variable: observed meditation practice (yes/no)  Response: level of age-related enzyme BPS - 5th Ed. Chapter 5 21 u general concern for one’s well being may also be affecting the response (and the decision to try meditation) Caution: Beware of Lurking Variables

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) BPS - 5th Ed. Chapter 5 22 Caution: Correlation Does Not Imply Causation

 Does lack of social relationships cause people to become ill? (there was a strong correlation)  Or, are unhealthy people less likely to establish and maintain social relationships? (reversed relationship)  Or, is there some other factor that predisposes people both to have lower social activity and become ill? BPS - 5th Ed. Chapter 5 23 House, J., Landis, K., and Umberson, D. “Social Relationships and Health,” Science, Vol. 241 (1988), pp Social Relationships and Health Caution: Correlation Does Not Imply Causation

Evidence of Causation  A properly conducted experiment establishes the connection (chapter 9)  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) BPS - 5th Ed. Chapter 5 24

Variable Association FFor each of the following studies, determine if you believe the association would be positive, negative, or none. TThen decide if the relationship would most likely be (a) causation, (b) common response, or (c) confounding. CCausation CCommon Response CConfounding IIf it is common response, identify lurking variable(s) affecting both. IIf it is confounding, identify the lurking variable(s) affecting the response variable. BPS - 5th Ed. Chapter 5 25

What’s happening?  The amount of recycle bins in the school and the amount of trash collected (in pounds).  The quantity of Chromebooks distributed and the amount of textbooks purchased.  The amount of money in your bank account and the number of years working.  Days spent practicing by the soccer team and the number of wins.  The amount of money spent on car repairs and the age of the car. BPS - 5th Ed. Chapter 5 26