Least Square Regression Line. Line of Best Fit Our objective is to fit a line in the scatterplot that fits the data the best As just seen, the best fit.

Slides:



Advertisements
Similar presentations
AP Statistics.  Least Squares regression is a way of finding a line that summarizes the relationship between two variables.
Advertisements

A student wonders if tall women tend to date taller men than do short women. She measures herself, her dormitory roommate, and the women in the adjoining.
LSRL Least Squares Regression Line
1 The Basics of Regression. 2 Remember back in your prior school daze some algebra? You might recall the equation for a line as being y = mx + b. Or maybe.
Stat 217 – Day 26 Regression, cont.. Last Time – Two quantitative variables Graphical summary  Scatterplot: direction, form (linear?), strength Numerical.
1 Relationships We have examined how to measure relationships between two categorical variables (chi-square) one categorical variable and one measurement.
Chapter 2 – Simple Linear Regression - How. Here is a perfect scenario of what we want reality to look like for simple linear regression. Our two variables.
Chapter 6 (cont.) Regression Estimation. Simple Linear Regression: review of least squares procedure 2.
Least Squares Regression Line (LSRL)
LSRL Chapter 4.
Statistics for Business and Economics 8 th Edition Chapter 11 Simple Regression Copyright © 2013 Pearson Education, Inc. Publishing as Prentice Hall Ch.
Copyright © 2013, 2009, and 2007, Pearson Education, Inc. Chapter 13 Multiple Regression Section 13.1 Using Several Variables to Predict a Response.
A student wonders if tall women tend to date taller men than do short women. She measures herself, her dormitory roommate, and the women in the adjoining.
Section 5.2: Linear Regression: Fitting a Line to Bivariate Data.
3.2 Least Squares Regression Line. Regression Line Describes how a response variable changes as an explanatory variable changes Formula sheet: Calculator.
Simple Linear Regression. The term linear regression implies that  Y|x is linearly related to x by the population regression equation  Y|x =  +  x.
Objective: Understanding and using linear regression Answer the following questions: (c) If one house is larger in size than another, do you think it affects.
Graphing Lines Section 4.6.
Business Statistics: A Decision-Making Approach, 6e © 2005 Prentice-Hall, Inc. Chap 13-1 Introduction to Regression Analysis Regression analysis is used.
Chapter 11 Correlation and Simple Linear Regression Statistics for Business (Econ) 1.
A medical researcher wishes to determine how the dosage (in mg) of a drug affects the heart rate of the patient. DosageHeart rate
Chapter 8 Linear Regression *The Linear Model *Residuals *Best Fit Line *Correlation and the Line *Predicated Values *Regression.
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,
LEAST-SQUARES REGRESSION 3.2 Least Squares Regression Line and Residuals.
Least Squares Regression Lines Text: Chapter 3.3 Unit 4: Notes page 58.
1 Simple Linear Regression and Correlation Least Squares Method The Model Estimating the Coefficients EXAMPLE 1: USED CAR SALES.
Unit 4 Lesson 3 (5.3) Summarizing Bivariate Data 5.3: LSRL.
3.2 - Residuals and Least Squares Regression Line.
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 12 Simple Regression Statistika.  Analisis regresi adalah analisis hubungan linear antar 2 variabel random yang mempunyai hub linear,  Variabel.
1 Linear Regression Model. 2 Types of Regression Models.
Describing Bivariate Relationships. Bivariate Relationships When exploring/describing a bivariate (x,y) relationship: Determine the Explanatory and Response.
Chapter 3 LSRL. Bivariate data x – variable: is the independent or explanatory variable y- variable: is the dependent or response variable Use x to predict.
Chapter 5 LSRL. Bivariate data x – variable: is the independent or explanatory variable y- variable: is the dependent or response variable Use x to predict.
Warm-up Get a sheet of computer paper/construction paper from the front of the room, and create your very own paper airplane. Try to create planes with.
CHAPTER 3 Describing Relationships
Unit 4 LSRL.
LSRL.
Least Squares Regression Line.
CHAPTER 3 Describing Relationships
Least-Squares Regression
Chapter 5 LSRL.
LSRL Least Squares Regression Line
Chapter 3.2 LSRL.
The Least-Squares Regression Line
Describe the association’s Form, Direction, and Strength
Finding the Best Fit Line
Chapter 13 Multiple Regression
Regression Computer Print Out
Least Squares Regression Line LSRL Chapter 7-continued
Least-Squares Regression
^ y = a + bx Stats Chapter 5 - Least Squares Regression
GET OUT p.161 HW!.
Chapter 3 Describing Relationships Section 3.2
Least-Squares Regression
7.4 – The Method of Least-Squares
Chapter 5 LSRL.
Chapter 5 LSRL.
Chapter 5 LSRL.
Least-Squares Regression
Least-Squares Regression
Write the equation for the following slope and y-intercept:
Ch 4.1 & 4.2 Two dimensions concept
3.2 – Least Squares Regression
R = R Squared
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.
Find the y-intercept and slope
9/27/ A Least-Squares Regression.
Introductory Statistics Introductory Statistics
Presentation transcript:

Least Square Regression Line

Line of Best Fit Our objective is to fit a line in the scatterplot that fits the data the best As just seen, the best fit would minimize the sum of squares. Line of best fit looks like: That’s a hat on the y, meaning that it is a prediction not the actual y values. VERY IMPORTANT!!! Need a slope and y-intercept

Need a point and slope An obvious point is the mean of the x and the mean of the y. This point is the middle of both variables.

Slope in the z’s If we look at the scatterplot of the z-scores we find that the line of best fit must go through (0,0) The slope of the line that minimizes the sum of squares in the z-scores will always be r. This tells you that for each increase of 1 standard deviation in x there is a change of r standard deviations in y.

Example: Square Foot vs. Selling Price for Houses in Boulder, CO (Table 2.3)

Here is the scatterplot of the z-scores with the line that minimizes the sum of squares.

Slope in the actual scatterplot Since the slope of the line in the z-scores compares the standard deviations we include these back to get the slope of the line in the scatterplot of the data. Thus the slope of the line in the regular scatterplot becomes Interpretation of the slope: For every increase of 1 unit in x, there is an increase/decrease of b 1 units in y

House sales Interpretation: For every increase of 1 square foot the selling price increases by $47.73.

Finding intercept, b 0 Now that we have the slope, we only need a point that the line runs through to get the intercept. We have one: So the equation for intercept becomes: Interpretation of the intercept is generally meaningless. So be careful!

House Sales