Section 9.2 Linear Regression. Section 9.2 Objectives Find the equation of a regression line Predict y-values using a regression equation.

Slides:



Advertisements
Similar presentations
1 Functions and Applications
Advertisements

Statistics Measures of Regression and Prediction Intervals.
Regression Regression: Mathematical method for determining the best equation that reproduces a data set Linear Regression: Regression method applied with.
Equations, Tables, and Graphs OH MY!. QUESTION:
LINEAR REGRESSION: What it Is and How it Works Overview What is Bivariate Linear Regression? The Regression Equation How It’s Based on r.
LINEAR REGRESSION: What it Is and How it Works. Overview What is Bivariate Linear Regression? The Regression Equation How It’s Based on r.
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.
SIMPLE LINEAR REGRESSION
Chapter 9: Correlation and Regression
Linear Regression Larson/Farber 4th ed. 1 Section 9.2.
Correlation and Regression
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.
Linear Regression.  Uses correlations  Predicts value of one variable from the value of another  ***computes UKNOWN outcomes from present, known outcomes.
Regression, Residuals, and Coefficient of Determination Section 3.2.
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 Analysis
Adapted from Walch Education A linear equation describes a situation where there is a near- constant rate of change. An exponential equation describes.
Linear Regression.
Section 9.2 Linear Regression © 2012 Pearson Education, Inc. All rights reserved.
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
The Scientific Method Interpreting Data — Correlation and Regression Analysis.
Section 4.2 Regression Equations and Predictions.
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.
Section 5.2: Linear Regression: Fitting a Line to Bivariate Data.
Do Now 12/3/09 Take out HW from last night. -Text p. 328, #3-6, 8-12 evens, 16 & 17 (4 graphs) Copy HW in planner. - Text p. 338, #4-14 evens, 18 & 20.
Linear Regression Model In regression, x = independent (predictor) variable y= dependent (response) variable regression line (prediction line) ŷ = a +
Regression Regression relationship = trend + scatter
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.
A medical researcher wishes to determine how the dosage (in mg) of a drug affects the heart rate of the patient. DosageHeart rate
Correlation and Regression. Section 9.1  Correlation is a relationship between 2 variables.  Data is often represented by ordered pairs (x, y) and.
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.
7-3 Line of Best Fit Objectives
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.
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,
Section 1-3: Graphing Data
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.
Section 9.3 Measures of Regression and Prediction Intervals.
Chapter 5 Lesson 5.2 Summarizing Bivariate Data 5.2: LSRL.
REGRESSION Stats 1 with Liz. AIMS By the end of the lesson, you should be able to… o Understand the method of least squares to find a regression line.
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
Linear Regression Special Topics.
CHAPTER 3 Describing Relationships
Copyright © Cengage Learning. All rights reserved.
Linear Regression.
Elementary Statistics: Picturing The World
Correlation and Regression
Elementary Statistics: Picturing The World
Least-Squares Regression
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

Section 9.2 Objectives Find the equation of a regression line Predict y-values using a regression equation

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

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 Observed y-value

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

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

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

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:

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

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.

Example: Predicting y-Values Using Regression Equations The regression equation for the gross domestic products (in trillions of dollars) and carbon dioxide emissions (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

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) =

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.

Section 9.2 Summary Found the equation of a regression line Predicted y-values using a regression equation