Chapters 8 Linear Regression. Correlation and Regression Correlation = linear relationship between two variables. Summarize relationship with line. Called.

Slides:



Advertisements
Similar presentations
Chapter 3 Examining Relationships Lindsey Van Cleave AP Statistics September 24, 2006.
Advertisements

AP Statistics Section 3.2 C Coefficient of Determination
Least Squares Regression
AP Statistics.  Least Squares regression is a way of finding a line that summarizes the relationship between two variables.
Scatter Diagrams and Linear Correlation
CHAPTER 3 Describing Relationships
Regression, Residuals, and Coefficient of Determination Section 3.2.
AP STATISTICS LESSON 3 – 3 LEAST – SQUARES REGRESSION.
Copyright © 2014, 2011 Pearson Education, Inc. 1 Chapter 19 Linear Patterns.
Chapters 8 & 9 Linear Regression & Regression Wisdom.
The Practice of Statistics, 5th Edition Starnes, Tabor, Yates, Moore Bedford Freeman Worth Publishers CHAPTER 3 Describing Relationships 3.2 Least-Squares.
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 3! 1. UNIT 7 VOCABULARY – CHAPTERS 3 & 14 2.
POD 09/19/ B #5P a)Describe the relationship between speed and pulse as shown in the scatterplot to the right. b)The correlation coefficient, r,
Linear Regression Day 1 – (pg )
Copyright © 2013, 2009, and 2007, Pearson Education, Inc. Chapter 3 Association: Contingency, Correlation, and Regression Section 3.3 Predicting the Outcome.
^ y = a + bx Stats Chapter 5 - Least Squares Regression
LEAST-SQUARES REGRESSION 3.2 Least Squares Regression Line and Residuals.
Statistics: Unlocking the Power of Data Lock 5 STAT 250 Dr. Kari Lock Morgan Simple Linear Regression SECTION 2.6 Least squares line Interpreting coefficients.
STATISTICS 12.0 Correlation and Linear Regression “Correlation and Linear Regression -”Causal Forecasting Method.
Chapter 8 Linear Regression. Fat Versus Protein: An Example 30 items on the Burger King menu:
Chapter 5 Lesson 5.2 Summarizing Bivariate Data 5.2: LSRL.
Describing Bivariate Relationships. Bivariate Relationships When exploring/describing a bivariate (x,y) relationship: Determine the Explanatory and Response.
CHAPTER 3 Describing Relationships
CHAPTER 3 Describing Relationships
LSRL.
Least Squares Regression Line.
LEAST – SQUARES REGRESSION
Statistics 101 Chapter 3 Section 3.
CHAPTER 3 Describing Relationships
Linear Regression Special Topics.
CHAPTER 3 Describing Relationships
CHAPTER 3 Describing Relationships
Chapter 5 LSRL.
Chapter 3.2 LSRL.
Data Analysis and Statistical Software I ( ) Quarter: Autumn 02/03
AP Stats: 3.3 Least-Squares Regression Line
Ice Cream Sales vs Temperature
Least Squares Regression Line LSRL Chapter 7-continued
Chapter 3: Describing Relationships
CHAPTER 3 Describing Relationships
^ y = a + bx Stats Chapter 5 - Least Squares Regression
Chapter 3: Describing Relationships
CHAPTER 3 Describing Relationships
Unit 4 Vocabulary.
Least-Squares Regression
Chapter 3 Describing Relationships Section 3.2
Chapter 3: Describing Relationships
Chapter 3: Describing Relationships
Chapter 5 LSRL.
Chapter 5 LSRL.
Chapter 5 LSRL.
Least-Squares Regression
Chapter 3: Describing Relationships
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
3.2 – Least Squares Regression
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.
Least Squares Regression Chapter 3.2
9/27/ A Least-Squares Regression.
Correlation/Regression - part 2
CHAPTER 3 Describing Relationships
Presentation transcript:

Chapters 8 Linear Regression

Correlation and Regression Correlation = linear relationship between two variables. Summarize relationship with line. Called Regression line. Explanatory variable (x) Response variable (y)

Regression line Explains how response variable (y) changes in relation to explanatory variable (x). Use line to predict value of y for given value of x.

Regression line Need mathematical formula. Different lines by sight. Predict y from x. The _________ values are called _______  ___________________________________ The _________ values are called _______  ___________________________________

Regression line Look at vertical distance Error in regression line. Place line to make these errors as small as possible.

Least squares regression Most commonly used regression line. Puts line where sum of the squared errors as small as possible. Minimizes ______________ Based on statistics

Regression line equation where

Regression line equation - slope b 1 = _________________. Interpretation: ________________________________ ________________________________ ________________________________ Very important for interpreting data.

Regression line equation – intercept b 0 = _________________________ Interpretation: _______________________________________ Usually not important for interpreting data.  Values of x are usually not close to 0.

Calculating the regression line. Degree Days vs. Gas Usage

Calculating the regression line. Don’t forget to write the equation.

Interpretations Interpretation: Slope Interpretation: Intercept

Prediction Use regression equation to predict y from x. Ex. Predicted gas consumption when degree days = 43? Ex. Predicted gas consumption when degree days = 24?

Residuals Calculate Ex. when degree days = 43? Ex. when degree days = 24?

Residuals Variation in y not measured by regression line. Residual for each data point. Mean of residuals _________________ _________________

Residual Plot Special Scatterplot Explanatory variable (x) on horizontal axis. Residuals (e) on vertical axis. Horizontal line at residual = 0. Good Residual Plot _________________

Example of Other Residual Plots

Properties of regression line Regression line always goes through point r is connected to the value of b 1.

Properties of R 2 Any value from _________________ ________________________________ Higher values of R 2 mean regression line ________________________________ Lower values of R 2 mean regression line ________________________________

Degree Days vs. Gas Usage r = , R 2 = _______________ Interpretation:

Cautions about regression Extrapolation is risky Strong association between explanatory and response variables does not mean that explanatory variable causes response variable. Ex: High positive correlation between number of TV sets per person and average life expectancy.