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

Slides:



Advertisements
Similar presentations
Scatter Diagrams and Linear Correlation
Advertisements

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.
^ y = a + bx Stats Chapter 5 - Least Squares Regression
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.
CHAPTER 3 Describing Relationships
Chapter 4.2 Notes LSRL.
Sections Review.
Statistics 101 Chapter 3 Section 3.
CHAPTER 3 Describing Relationships
Essential Statistics Regression
CHAPTER 3 Describing Relationships
CHAPTER 3 Describing Relationships
Chapter 3: Describing Relationships
Chapter 6: Exploring Data: Relationships Lesson Plan
Regression and Residual Plots
Chapter 6: Exploring Data: Relationships Lesson Plan
AP Stats: 3.3 Least-Squares Regression Line
Ice Cream Sales vs Temperature
Least-Squares Regression
Chapter 3: Describing Relationships
CHAPTER 3 Describing Relationships
Chapter 3: Describing Relationships
CHAPTER 3 Describing Relationships
Chapter 3: Describing Relationships
Unit 4 Vocabulary.
Least-Squares Regression
Chapter 3 Describing Relationships Section 3.2
Least Squares Regression
Basic Practice of Statistics - 5th Edition Regression
Chapter 3: Describing Relationships
Chapter 3: Describing Relationships
Chapter 3: Describing Relationships
Least-Squares Regression
Basic Practice of Statistics - 3rd Edition Regression
Chapter 3: Describing Relationships
Least-Squares Regression
CHAPTER 3 Describing Relationships
CHAPTER 3 Describing Relationships
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
CHAPTER 3 Describing Relationships
3.2 – Least Squares Regression
Chapter 3: Describing Relationships
CHAPTER 3 Describing Relationships
Section 3.2: Least Squares Regressions
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
A medical researcher wishes to determine how the dosage (in mg) of a drug affects the heart rate of the patient. Find the correlation coefficient & interpret.
Chapter 3: Describing Relationships
Chapter 3: Describing Relationships
Basic Practice of Statistics - 3rd Edition Lecture Powerpoint
Chapters Important Concepts and Terms
Chapter 3: Describing Relationships
9/27/ A Least-Squares Regression.
Chapter 3: Describing Relationships
Chapter 3: Describing Relationships
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;
Chapter 14 Multiple Regression
Review of Chapter 3 Examining Relationships
Chapter 3: Describing Relationships
CHAPTER 3 Describing Relationships
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!!!