^ y = a + bx Stats Chapter 5 - Least Squares Regression

Slides:



Advertisements
Similar presentations
AP Statistics Section 3.2 B Residuals
Advertisements

Least Squares Regression
AP Statistics.  Least Squares regression is a way of finding a line that summarizes the relationship between two variables.
Linear Regression (C7-9 BVD). * Explanatory variable goes on x-axis * Response variable goes on y-axis * Don’t forget labels and scale * Statplot 1 st.
Chapter 8 Linear regression
Chapter 6: Exploring Data: Relationships Lesson Plan
Scatter Diagrams and Linear Correlation
AP Statistics Chapters 3 & 4 Measuring Relationships Between 2 Variables.
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
Basic Practice of Statistics - 3rd Edition
Haroon Alam, Mitchell Sanders, Chuck McAllister- Ashley, and Arjun Patel.
C HAPTER 3: E XAMINING R ELATIONSHIPS. S ECTION 3.3: L EAST -S QUARES R EGRESSION Correlation measures the strength and direction of the linear relationship.
Chapter 5 Regression. Chapter 51 u Objective: To quantify the linear relationship between an explanatory variable (x) and response variable (y). u We.
Chapters 8, 9, 10 Least Squares Regression Line Fitting a Line to Bivariate Data.
Chapter 5 Regression. Chapter outline The least-squares regression line Facts about least-squares regression Residuals Influential observations Cautions.
Relationship of two variables
Chapter 6: Exploring Data: Relationships Chi-Kwong Li Displaying Relationships: Scatterplots Regression Lines Correlation Least-Squares Regression Interpreting.
Chapter 6: Exploring Data: Relationships Lesson Plan Displaying Relationships: Scatterplots Making Predictions: Regression Line Correlation Least-Squares.
Lesson Least-Squares Regression. Knowledge Objectives Explain what is meant by a regression line. Explain what is meant by extrapolation. Explain.
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 LESSON 3 – 3 LEAST – SQUARES REGRESSION.
AP Statistics Chapter 8 & 9 Day 3
Section 5.2: Linear Regression: Fitting a Line to Bivariate Data.
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?
3.3 Least-Squares Regression.  Calculate the least squares regression line  Predict data using your LSRL  Determine and interpret the coefficient of.
Notes Bivariate Data Chapters Bivariate Data Explores relationships between two quantitative variables.
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.
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.
Chapter 3-Examining Relationships Scatterplots and Correlation Least-squares Regression.
Chapter 2 Examining Relationships.  Response variable measures outcome of a study (dependent variable)  Explanatory variable explains or influences.
+ The Practice of Statistics, 4 th edition – For AP* STARNES, YATES, MOORE Chapter 3: Describing Relationships Section 3.2 Least-Squares Regression.
 Chapter 3! 1. UNIT 7 VOCABULARY – CHAPTERS 3 & 14 2.
Linear Regression Day 1 – (pg )
Describing Relationships
Stat 1510: Statistical Thinking and Concepts REGRESSION.
Lecture PowerPoint Slides Basic Practice of Statistics 7 th Edition.
Chapter 5 Lesson 5.2 Summarizing Bivariate Data 5.2: LSRL.
Chapters 8 Linear Regression. Correlation and Regression Correlation = linear relationship between two variables. Summarize relationship with line. Called.
CHAPTER 5: Regression ESSENTIAL STATISTICS Second Edition David S. Moore, William I. Notz, and Michael A. Fligner Lecture Presentation.
Describing Bivariate Relationships. Bivariate Relationships When exploring/describing a bivariate (x,y) relationship: Determine the Explanatory and Response.
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 3 Describing Relationships
Chapter 4.2 Notes LSRL.
Statistics 101 Chapter 3 Section 3.
CHAPTER 3 Describing Relationships
Linear Regression Special Topics.
CHAPTER 3 Describing Relationships
CHAPTER 3 Describing Relationships
AP Stats: 3.3 Least-Squares Regression Line
Least-Squares Regression
Chapter 3: Describing Relationships
^ y = a + bx Stats Chapter 5 - Least Squares Regression
Least-Squares Regression
Least-Squares 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
3.2 – Least Squares Regression
CHAPTER 3 Describing Relationships
CHAPTER 3 Describing Relationships
9/27/ A Least-Squares Regression.
Presentation transcript:

^ y = a + bx Stats Chapter 5 - Least Squares Regression Definition of a regression line: A regression line is a straight line that describes how a response variable (y) changes as an explanatory variable (x) changes… Used to predict a y value given an x value. Requires an explanatory and a response variable. Given as an equation of a line in slope intercept form: ^ y = a + bx Read as: “y-hat” a = y-intercept b = slope

How It Works: ^ y = a + bx ^ y x Using the regression line to predict a y-value ^ y = a + bx y ^ x

Vertical Distance = Observed - Predicted Close-Up: We are trying to find a line that minimizes the squares of the vertical distances… Observed y Vertical Distance y = positive Predicted y Vertical Distance = Observed - Predicted y = negative

Least-Squares Regression Line: The least-squares regression line of y on x is the line that makes the sum of the squares of the vertical distances of the data points from the line as small as possible. The slope is the amount of change in y when x increases by one unit. ^ The intercept of the line is the predicted value of y when x = 0. ^

Calculator Procedure 1) Enter Data into lists… List 1 List 2 List 1 List 2

Write regression line from Run Stat > Calc > 8 Write regression line from Calculated a and b values ^ y = a + bx ^ y = 1.089 + .189x y-int = gas used when degree days = 0 slope = increase in gas used when degree days increase by one

Correlation vs. Regression The square of the correlation (r2) is the fraction of the variation in the values of y that is explained by the least squares regression line of y on x. 0 < r2 < 1 When reporting a regression, give r2 as a measure of how successful the regression was in explaining the response. ex: 5.4 pg 134.

Residual = The difference between observed & predicted y-values. Residuals Residual = The difference between observed & predicted y-values. ^ Residual = y - y Residual Plot - plots the residual values on the y-axis vs. the explanatory variable on the x-axis. -1 1 55 Makes patterns easier to see.   Used to assess the fit of a regression line.  

4) Set window values to match data range Calculator Procedure 1) Run regression 2) Go into Stat Plot 1 3) Set Y-List to ‘RESID’ 2nd > STAT > 7 4) Set window values to match data range 5) Graph

Residual Patterns Ideal: Curved: Spread:

Outliers: Vertical Horizontal

CORRELATION DOES NOT IMPLY CAUSATION!!! Cautions About Correlation and Regression Both describe LINEAR relationships Both are affected by outliers Always plot your data before interpreting Beware of EXTRAPOLATION Beware of LUKRING VARIABLES CORRELATION DOES NOT IMPLY CAUSATION!!!