Section 9.2 Linear Regression © 2012 Pearson Education, Inc. All rights reserved.

Slides:



Advertisements
Similar presentations
1 Functions and Applications
Advertisements

Statistics Measures of Regression and Prediction Intervals.
Probabilistic & Statistical Techniques Eng. Tamer Eshtawi First Semester Eng. Tamer Eshtawi First Semester
Copyright © 2010 Pearson Education, Inc. All rights reserved Sec Linear Equations in Two Variables.
Regression Regression: Mathematical method for determining the best equation that reproduces a data set Linear Regression: Regression method applied with.
Elementary Statistics Larson Farber 9 Correlation and Regression.
REGRESSION Want to predict one variable (say Y) using the other variable (say X) GOAL: Set up an equation connecting X and Y. Linear regression linear.
Regression and Correlation
SIMPLE LINEAR REGRESSION
Correlation and Regression. Correlation What type of relationship exists between the two variables and is the correlation significant? x y Cigarettes.
Simple Linear Regression Analysis
Chapter 9: Correlation and Regression
Linear Regression Larson/Farber 4th ed. 1 Section 9.2.
Correlation and Regression
C82MCP Diploma Statistics School of Psychology University of Nottingham 1 Linear Regression and Linear Prediction Predicting the score on one variable.
Chapter 21 Correlation. Correlation A measure of the strength of a linear relationship Although there are at least 6 methods for measuring correlation,
Linear Regression.
Measures of Regression and Prediction Intervals
Correlation and Regression
Correlation and Regression
Chapter Correlation and Regression 1 of 84 9 © 2012 Pearson Education, Inc. All rights reserved.
Correlation and Regression
Correlation and Regression
Chapter 13 Statistics © 2008 Pearson Addison-Wesley. All rights reserved.
The Scientific Method Interpreting Data — Correlation and Regression Analysis.
S ECTION 9.1 Correlation Larson/Farber 4th ed. 1.
Biostatistics Unit 9 – Regression and Correlation.
Section 4.2 Regression Equations and Predictions.
© 2008 Pearson Addison-Wesley. All rights reserved Chapter 1 Section 13-6 Regression and Correlation.
Regression Section 10.2 Bluman, Chapter 101. Example 10-1: Car Rental Companies Construct a scatter plot for the data shown for car rental companies in.
© 2010 Pearson Prentice Hall. All rights reserved. CHAPTER 12 Statistics.
Elementary Statistics Correlation and Regression.
Linear Regression Model In regression, x = independent (predictor) variable y= dependent (response) variable regression line (prediction line) ŷ = a +
Regression Regression relationship = trend + scatter
Section 9.2 Linear Regression. Section 9.2 Objectives Find the equation of a regression line Predict y-values using a regression equation.
Section 12.3 Regression Analysis HAWKES LEARNING SYSTEMS math courseware specialists Copyright © 2008 by Hawkes Learning Systems/Quant Systems, Inc. All.
HAWKES LEARNING SYSTEMS Students Matter. Success Counts. Copyright © 2013 by Hawkes Learning Systems/Quant Systems, Inc. All rights reserved. Section 12.3.
Copyright © 2013, 2009, and 2007, Pearson Education, Inc. Chapter 12 Analyzing the Association Between Quantitative Variables: Regression Analysis Section.
Chapter 9 Correlation and Regression.
Creating a Residual Plot and Investigating the Correlation Coefficient.
9.2 Linear Regression Key Concepts: –Residuals –Least Squares Criterion –Regression Line –Using a Regression Equation to Make Predictions.
Linear Regression 1 Section 9.2. Section 9.2 Objectives 2 Find the equation of a regression line Predict y-values using a regression equation.
Copyright © 2015, 2012, and 2009 Pearson Education, Inc. 1 Chapter Correlation and Regression 9.
Unit 3 Sections 9.2 – Day 1.  After we determine that a relationship between two variables exists (correlation), the next step is determine the line.
Chapter 3 Section 4. Objectives 1 Copyright © 2012, 2008, 2004 Pearson Education, Inc. Writing and Graphing Equations of Lines Use the slope-intercept.
1 Data Analysis Linear Regression Data Analysis Linear Regression Ernesto A. Diaz Department of Mathematics Redwood High School.
Copyright © 2013, 2009, and 2007, Pearson Education, Inc. Chapter 3 Association: Contingency, Correlation, and Regression Section 3.3 Predicting the Outcome.
Slide Copyright © 2008 Pearson Education, Inc. Publishing as Pearson Addison-Wesley.
Copyright © 2011 by The McGraw-Hill Companies, Inc. All rights reserved. McGraw-Hill/Irwin Simple Linear Regression Analysis Chapter 13.
Section 1.4 Equations of Lines and Modeling Copyright ©2013, 2009, 2006, 2001 Pearson Education, Inc.
Copyright © 2015, 2012, and 2009 Pearson Education, Inc. 1 Chapter Correlation and Regression 9.
Section 9.4 Multiple Regression. Section 9.4 Objectives Use a multiple regression equation to predict y-values.
Correlation and Regression Chapter 9. § 9.2 Linear Regression.
Unit 3 Section : Regression  Regression – statistical method used to describe the nature of the relationship between variables.  Positive.
Section 9.3 Measures of Regression and Prediction Intervals.
Chapter 5 Lesson 5.2 Summarizing Bivariate Data 5.2: LSRL.
CHAPTER 10 & 13 Correlation and Regression. Regression.
Chapter Correlation and Regression 1 of 84 9 © 2012 Pearson Education, Inc. All rights reserved.
Correlation and Regression. O UTLINE Introduction  10-1 Scatter plots.  10-2 Correlation.  10-3 Correlation Coefficient.  10-4 Regression.
1 Objective Given two linearly correlated variables (x and y), find the linear function (equation) that best describes the trend. Section 10.3 Regression.
Correlation and Regression
CHAPTER 10 & 13 Correlation and Regression
Copyright © Cengage Learning. All rights reserved.
Elementary Statistics: Picturing The World
Correlation and Regression
Elementary Statistics: Picturing The World
Correlation and Regression
Section 10-1 Correlation © 2012 Pearson Education, Inc. All rights reserved.
Measures of Regression Prediction Interval
Correlation and Regression
Presentation transcript:

Section 9.2 Linear Regression © 2012 Pearson Education, Inc. All rights reserved.

Section 9.2 Objectives Find the equation of a regression line Predict y-values using a regression equation © 2012 Pearson Education, Inc. All rights reserved.

Regression lines After verifying that the linear correlation between two variables is significant, next we determine the equation of the line that best models the data (regression line). Can be used to predict the value of y for a given value of x. x y © 2012 Pearson Education, Inc. All rights reserved.

Residuals Residual The difference between the observed y-value and the predicted y-value for a given x-value on the line. For a given x-value, d i = (observed y-value) – (predicted y-value) x y }d1}d1 }d2}d2 d3{d3{ d4{d4{ }d5}d5 d6{d6{ Predicted y-value Observe d y-value © 2012 Pearson Education, Inc. All rights reserved.

Regression line (line of best fit) The line for which the sum of the squares of the residuals is a minimum. The equation of a regression line for an independent variable x and a dependent variable y is ŷ = mx + b Regression Line Predicted y-value for a given x- value Slope y-intercept © 2012 Pearson Education, Inc. All rights reserved.

The Equation of a Regression Line ŷ = mx + b where is the mean of the y-values in the data is the mean of the x-values in the data The regression line always passes through the point © 2012 Pearson Education, Inc. All rights reserved.

Example: Finding the Equation of a Regression Line Find the equation of the regression line for the gross domestic products and carbon dioxide emissions data. GDP (trillions of $), x CO 2 emission (millions of metric tons), y © 2012 Pearson Education, Inc. All rights reserved.

Solution: Finding the Equation of a Regression Line xyxyx2x2 y2y , , ,474, , , , , , , , Σx = 23.1Σy = 5554Σxy = 15,573.71Σx 2 = Σy 2 = 3,775, Recall from section 9.1: © 2012 Pearson Education, Inc. All rights reserved.

Solution: Finding the Equation of a Regression Line Σx = 23.1Σy = 5554 Σxy = 15, Σx 2 = 67.35Σy 2 = 3,775, Equation of the regression line © 2012 Pearson Education, Inc. All rights reserved.

Solution: Finding the Equation of a Regression Line To sketch the regression line, use any two x-values within the range of the data and calculate the corresponding y-values from the regression line. © 2012 Pearson Education, Inc. All rights reserved.

Example: Using Technology to Find a Regression Equation Use a technology tool to find the equation of the regression line for the Old Faithful data. Duration x Time, y Duration x Time, y © 2012 Pearson Education, Inc. All rights reserved.

Solution: Using Technology to Find a Regression Equation © 2012 Pearson Education, Inc. All rights reserved.

Example: Predicting y-Values Using Regression Equations The regression equation for the gross domestic products, x, (in trillions of dollars) and carbon dioxide emissions, y, (in millions of metric tons) data is ŷ = x Use this equation to predict the expected carbon dioxide emissions for the following gross domestic products. (Recall from section 9.1 that x and y have a significant linear correlation.) trillion dollars trillion dollars trillion dollars © 2012 Pearson Education, Inc. All rights reserved.

Solution: Predicting y-Values Using Regression Equations ŷ = x trillion dollars When the gross domestic product is $1.2 trillion, the CO 2 emissions are about million metric tons. ŷ = (1.2) ≈ trillion dollars When the gross domestic product is $2.0 trillion, the CO 2 emissions are million metric tons. ŷ = (2.0) = © 2012 Pearson Education, Inc. All rights reserved.

Solution: Predicting y-Values Using Regression Equations trillion dollars When the gross domestic product is $2.5 trillion, the CO 2 emissions are million metric tons. ŷ = (2.5) = Prediction values are meaningful only for x-values in (or close to) the range of the data. The x-values in the original data set range from 0.9 to 4.9. So, it would not be appropriate to use the regression line to predict carbon dioxide emissions for gross domestic products such as $0.2 or $14.5 trillion dollars. © 2012 Pearson Education, Inc. All rights reserved.

Example The data below are the number of absences and the final grades of 9 randomly selected students from a statistics class. Find the equation of the regression line for the given data and determine if there is a positive linear correlation or a negative linear correlation. # of absences, x Final grade, y Predict the final grade for a student that has 10 absences.

Section 9.2 Summary Found the equation of a regression line Predicted y-values using a regression equation © 2012 Pearson Education, Inc. All rights reserved.