3 4 Chapter Describing the Relation between Two Variables

Slides:



Advertisements
Similar presentations
Regresi Linear Sederhana Pertemuan 01 Matakuliah: I0174 – Analisis Regresi Tahun: Ganjil 2007/2008.
Advertisements

Chapter 4 Describing the Relation Between Two Variables 4.3 Diagnostics on the Least-squares Regression Line.
Chapter Describing the Relation between Two Variables © 2010 Pearson Prentice Hall. All rights reserved 3 4.
Chapter 4 Describing the Relation Between Two Variables
© 2010 Pearson Prentice Hall. All rights reserved Scatterplots and Correlation Coefficient.
© 2010 Pearson Prentice Hall. All rights reserved Regression Interval Estimates.
© 2010 Pearson Prentice Hall. All rights reserved Least Squares Regression Models.
Math 227 Elementary Statistics Math 227 Elementary Statistics Sullivan, 4 th ed.
Copyright © 2014, 2013, 2010 and 2007 Pearson Education, Inc. Chapter Describing the Relation between Two Variables 4.
Business Statistics - QBM117 Least squares regression.
Least Squares Regression
1 1 Slide Simple Linear Regression Chapter 14 BA 303 – Spring 2011.
Copyright © 2010, 2007, 2004 Pearson Education, Inc. All Rights Reserved Section 10-3 Regression.
Chapter 11 Simple Regression
Statistics for Business and Economics 8 th Edition Chapter 11 Simple Regression Copyright © 2013 Pearson Education, Inc. Publishing as Prentice Hall Ch.
Copyright © 2013, 2010 and 2007 Pearson Education, Inc. Chapter Inference on the Least-Squares Regression Model and Multiple Regression 14.
Linear Trend Lines = b 0 + b 1 X t Where is the dependent variable being forecasted X t is the independent variable being used to explain Y. In Linear.
AP STATISTICS LESSON 3 – 3 LEAST – SQUARES REGRESSION.
Statistical Methods Statistical Methods Descriptive Inferential
Sullivan – Fundamentals of Statistics – 2 nd Edition – Chapter 4 Section 2 – Slide 1 of 20 Chapter 4 Section 2 Least-Squares Regression.
Section 4.2: Least-Squares Regression Goal: Fit a straight line to a set of points as a way to describe the relationship between the X and Y variables.
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.
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 12 Analyzing the Association Between Quantitative Variables: Regression Analysis Section.
Least Squares Regression.   If we have two variables X and Y, we often would like to model the relation as a line  Draw a line through the scatter.
Copyright © 2013, 2009, and 2007, Pearson Education, Inc. Chapter 3 Association: Contingency, Correlation, and Regression Section 3.3 Predicting the Outcome.
© 2001 Prentice-Hall, Inc.Chap 13-1 BA 201 Lecture 18 Introduction to Simple Linear Regression (Data)Data.
LESSON 6: REGRESSION 2/21/12 EDUC 502: Introduction to Statistics.
Chapter Describing the Relation between Two Variables © 2010 Pearson Prentice Hall. All rights reserved 3 4.
Copyright © 2013, 2010 and 2007 Pearson Education, Inc. Chapter Describing the Relation between Two Variables 4.
Copyright © 2013, 2010 and 2007 Pearson Education, Inc. Chapter Describing the Relation between Two Variables 4.
AP Statistics Section 15 A. The Regression Model When a scatterplot shows a linear relationship between a quantitative explanatory variable x and a quantitative.
BUSINESS MATHEMATICS & STATISTICS. Module 6 Correlation ( Lecture 28-29) Line Fitting ( Lectures 30-31) Time Series and Exponential Smoothing ( Lectures.
1 Objective Given two linearly correlated variables (x and y), find the linear function (equation) that best describes the trend. Section 10.3 Regression.
Chapter 8 Part I Answers The explanatory variable (x) is initial drop, measured in feet, and the response variable (y) is duration, measured in seconds.
Chapter 8 Linear Regression.
CHAPTER 3 Describing Relationships
CHAPTER 3 Describing Relationships
Statistics 101 Chapter 3 Section 3.
Linear Regression Special Topics.
CHAPTER 3 Describing Relationships
Correlation and Simple Linear Regression
Finding the Best Fit Line
Building Linear Models from Data
Describing the Relation between Two Variables
The Least-Squares Regression Line
STATISTICS INFORMED DECISIONS USING DATA
Correlation and Simple Linear Regression
Describing the Relation between Two Variables
AP Stats: 3.3 Least-Squares Regression Line
3 9 Chapter Describing the Relation between Two Variables
Simple Linear Regression
Simple Linear Regression
No notecard for this quiz!!
Lecture Notes The Relation between Two Variables Q Q
Section 3.3 Linear Regression
Correlation and Simple Linear Regression
3 4 Chapter Describing the Relation between Two Variables
Least-Squares Regression
Simple Linear Regression and Correlation
3 4 Chapter Describing the Relation between Two Variables
Ch 4.1 & 4.2 Two dimensions concept
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.
Lesson 2.2 Linear Regression.
9/27/ A Least-Squares Regression.
MATH 2311 Section 5.3.
Correlation and Simple Linear Regression
Correlation and Simple Linear Regression
Presentation transcript:

3 4 Chapter Describing the Relation between Two Variables © 2010 Pearson Prentice Hall. All rights reserved

Section 4.2 Least-squares Regression © 2010 Pearson Prentice Hall. All rights reserved 2

© 2010 Pearson Prentice Hall. All rights reserved EXAMPLE Finding an Equation the Describes Linearly Related Data Using the following sample data: (a) Find a linear equation that relates x (the explanatory variable) and y (the response variable) by selecting two points and finding the equation of the line containing the points. Using (2, 5.7) and (6, 1.9): © 2010 Pearson Prentice Hall. All rights reserved 3

© 2010 Pearson Prentice Hall. All rights reserved (b) Graph the equation on the scatter diagram. (c) Use the equation to predict y if x = 3. © 2010 Pearson Prentice Hall. All rights reserved 4-4

© 2010 Pearson Prentice Hall. All rights reserved 4-5

© 2010 Pearson Prentice Hall. All rights reserved The difference between the observed value of y and the predicted value of y is the error, or residual. Using the line from the last example, and the predicted value at x = 3: residual = observed y – predicted y = 5.2 – 4.75 = 0.45 (3, 5.2) } residual = observed y – predicted y = 5.2 – 4.75 = 0.45 © 2010 Pearson Prentice Hall. All rights reserved 4-6

© 2010 Pearson Prentice Hall. All rights reserved 4-7

© 2010 Pearson Prentice Hall. All rights reserved 4-8

© 2010 Pearson Prentice Hall. All rights reserved EXAMPLE Finding the Least-squares Regression Line Using the drilling data Find the least-squares regression line. Predict the drilling time if drilling starts at 130 feet. Is the observed drilling time at 130 feet above, or below, average. Draw the least-squares regression line on the scatter diagram of the data. © 2010 Pearson Prentice Hall. All rights reserved 4-9

© 2010 Pearson Prentice Hall. All rights reserved We agree to round the estimates of the slope and intercept to four decimal places. (b) (c) The observed drilling time is 6.93 seconds. The predicted drilling time is 7.035 seconds. The drilling time of 6.93 seconds is below average. © 2010 Pearson Prentice Hall. All rights reserved 4-10

© 2010 Pearson Prentice Hall. All rights reserved 4-11

© 2010 Pearson Prentice Hall. All rights reserved 4-12

© 2010 Pearson Prentice Hall. All rights reserved Interpretation of Slope: The slope of the regression line is 0.0116. For each additional foot of depth we start drilling, the time to drill five feet increases by 0.0116 minutes, on average. Interpretation of the y-Intercept: The y-intercept of the regression line is 5.5273. To interpret the y-intercept, we must first ask two questions: 1. Is 0 a reasonable value for the explanatory variable? 2. Do any observations near x = 0 exist in the data set? A value of 0 is reasonable for the drilling data (this indicates that drilling begins at the surface of Earth. The smallest observation in the data set is x = 35 feet, which is reasonably close to 0. So, interpretation of the y-intercept is reasonable. The time to drill five feet when we begin drilling at the surface of Earth is 5.5273 minutes. © 2010 Pearson Prentice Hall. All rights reserved 4-13

© 2010 Pearson Prentice Hall. All rights reserved If the least-squares regression line is used to make predictions based on values of the explanatory variable that are much larger or much smaller than the observed values, we say the researcher is working outside the scope of the model. Never use a least-squares regression line to make predictions outside the scope of the model because we can’t be sure the linear relation continues to exist. © 2010 Pearson Prentice Hall. All rights reserved 4-14

© 2010 Pearson Prentice Hall. All rights reserved 4-15

© 2010 Pearson Prentice Hall. All rights reserved To illustrate the fact that the sum of squared residuals for a least-squares regression line is less than the sum of squared residuals for any other line, use the “regression by eye” applet. © 2010 Pearson Prentice Hall. All rights reserved 4-16