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.

Slides:



Advertisements
Similar presentations
Chapter 3 Bivariate Data
Advertisements

Scatter Diagrams and Linear Correlation
AP Statistics Chapters 3 & 4 Measuring Relationships Between 2 Variables.
5/17/2015Chapter 41 Scatterplots and Correlation.
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.
September In Chapter 14: 14.1 Data 14.2 Scatterplots 14.3 Correlation 14.4 Regression.
BPS - 3rd Ed. Chapter 41 Scatterplots and Correlation.
BPS - 3rd Ed. Chapter 41 Scatterplots and Correlation.
Notes Bivariate Data Chapters Bivariate Data Explores relationships between two quantitative variables.
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.
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 4 SCATTERPLOTS AND CORRELATION BPS - 5th Ed. Chapter 4 1.
Chapter 4 Scatterplots and Correlation. Explanatory and Response Variables u Interested in studying the relationship between two variables by measuring.
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.
Lesson Correlation and Regression Wisdom. Knowledge Objectives Recall the three limitations on the use of correlation and regression. Explain what.
^ y = a + bx Stats Chapter 5 - Least Squares Regression
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)
Essential Statistics Chapter 41 Scatterplots and Correlation.
Chapter 4.2 Notes LSRL.
Essential Statistics Regression
Basic Practice of Statistics - 3rd Edition
Cautions about Correlation and Regression
Basic Practice of Statistics - 3rd Edition Lecture PowerPoint Slides
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
Least-Squares Regression
Basic Practice of Statistics - 3rd Edition Regression
Least-Squares Regression
CHAPTER 3 Describing Relationships
CHAPTER 3 Describing Relationships
CHAPTER 3 Describing Relationships
CHAPTER 3 Describing Relationships
CHAPTER 3 Describing Relationships
CHAPTER 3 Describing Relationships
Algebra Review The equation of a straight line y = mx + b
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
Basic Practice of Statistics - 3rd Edition
Presentation transcript:

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 level of X Objectives of Regression

BPS - 3rd Ed. Chapter 53 “Returning Birds” Example Plot data first to see if relation can be described by straight line (important!) Illustrative data from Exercise 4.4 Y = adult birds joining colony X = percent of birds returning, prior year

BPS - 3rd Ed. Chapter 54 If data can be described by straight line u … describe relationship with equation Y = (intercept) + (slope)(X) u May also be written: Y = (slope)(X) + (intercept) Intercept  where line crosses Y axis Slope  “angle” of line

BPS - 3rd Ed. Chapter 55 Linear Regression u Algebraic line  every point falls on line: exact y = intercept + (slope)(X) u Statistical line  scatter cloud suggests a linear trend: “predicted y” = intercept + (slope)(X)

BPS - 3rd Ed. Chapter 56 Regression Equation ŷ = a + bx, where –ŷ (“y-hat”) is the predicted value of Y –a is the intercept –b is the slope –x is a value for X u Determine a & b for “best fitting line” The TI calculators reverse a & b!

BPS - 3rd Ed. Chapter 57 What Line Fits Best? If we try to draw the line by eye, different people will draw different lines We need a method to draw the “best line” This method is called “least squares”

BPS - 3rd Ed. Chapter 58 The “least squares” regression line Each point has: Residual = observed y – predicted y = distance of point from prediction line The least squares line minimizes the sum of the square residuals

BPS - 3rd Ed. Chapter 59 Calculating Least Squares Regression Coefficients u Formula (next slide) u Technology –TI-30XIIS –Two variable Applet –Other

BPS - 3rd Ed. Chapter 510 u b = slope coefficient u a = intercept coefficient Formulas where s x and s y are the standard deviations of the two variables, and r is their correlation

BPS - 3rd Ed. Chapter 511 Technology: Calculator BEWARE! TI calculators label the slope and intercept backwards!

BPS - 3rd Ed. Chapter 512 Regression Line u For the “bird data”: u a = u b =  u The linear regression equation is: ŷ =  x The slope ( ) represents the average change in Y per unit X

BPS - 3rd Ed. Chapter 513 Use of Regression for Prediction Suppose an individual colony has 60% returning (x = 60). What is the predicted number of new birds for this colony? Answer: ŷ = a + bx =  (0.3040)(60) = Interpretation: the regression model predicts new birds (ŷ) for a colony with x = 60.

BPS - 3rd Ed. Chapter 514 Prediction via Regression Line Number of new birds and Percent returning When X = 60, the regression model predicts Y = 13.69

BPS - 3rd Ed. Chapter 515 Case Study Per Capita Gross Domestic Product and Average Life Expectancy for Countries in Western Europe

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

BPS - 3rd Ed. Chapter 517 Life Expectancy and GDP (Europe)

BPS - 3rd Ed. Chapter 518 Calculations: ŷ = x Regression Calculation by Hand (Life Expectancy Study)

BPS - 3rd Ed. Chapter 519 BPS/3e Two Variable Applet

BPS - 3rd Ed. Chapter 520 Applet: Data Entry

BPS - 3rd Ed. Chapter 521 Applet: Calculations

BPS - 3rd Ed. Chapter 522 Applet: Scatterplot

BPS - 3rd Ed. Chapter 523 Applet: least squares line

BPS - 3rd Ed. Chapter 524 Interpretation Life Expectancy Case Study u Model: ŷ = (0.420)X u Slope: For each increase in GDP  years increase in life expectancy u Prediction example: What is the life expectancy in a country with a GDP of 20.0? ANSWER: ŷ = (0.420)(20.0) = 77.12

BPS - 3rd Ed. Chapter 525 Coefficient of Determination (R 2 ) (Fact 4 on p. 111) u “Coefficient of determination, (R 2 ) Quantifies the fraction of the Y “mathematically explained” by X Examples: 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 (49%) of the variation in Y

BPS - 3rd Ed. Chapter 526 We are NOT going to cover the analysis of residual plots (pp )

BPS - 3rd Ed. Chapter 527 Outliers and Influential Points u An outlier is an observation that lies far from the regression line u Outliers in the y direction have large residuals u Outliers in the x direction are influential –removal of influential point would markedly change the regression and correlation values

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

BPS - 3rd Ed. Chapter 529 Cautions About Correlation and Regression u Describe only linear relationships u Are influenced by outliers u Cannot be used to predict beyond the range of X (do not extrapolate) u Beware of lurking variables (variables other than X and Y) –Association does not always equal causation!

BPS - 3rd Ed. Chapter 530 Do not extrapolate (Sarah’s height) u Sarah’s height is plotted against her age u Can you predict her height at age 42 months? u Can you predict her height at age 30 years (360 months)?

BPS - 3rd Ed. Chapter 531 Do not extrapolate (Sarah’s height) u Regression equation: ŷ = (X) u At age 42 months: ŷ = (42) = 88 (Reasonable) u At age 360 months: ŷ = (360) = (That’s over 17 feet tall!)

BPS - 3rd Ed. Chapter 532 Even very strong correlations may not correspond to a causal relationship between x and y (Beware of the lurking variable!) Caution: C orrelation does not always mean causation

BPS - 3rd Ed. Chapter 533 House, J., Landis, K., and Umberson, D. “Social Relationships and Health,” Science, Vol. 241 (1988), pp Social Relationships and Health u Strong correlation between lack of social relationships and illness u Does lack of social relationships cause people to become ill? u Maybe(?) –but perhaps unhealthy people are less likely to establish and maintain social relationships (reversed relationship) –Or, some other factor (lurking variable) predisposes people both to have lower social activity and become ill? Caution: Correlation Does Not Imply Causation

BPS - 3rd Ed. Chapter 534 Criteria for causation (skip) u Do not rely on statistical evidence alone for causal inference u Here are some criteria to consider when trying to determine causality –Strong relationships more likely to be causal –Properly executed experiments needed (chapter 8) –Replication under varying conditions needed –Dose-response relationship found –Cause precedes effect in time –Plausible biological explanations needed