Download presentation
Presentation is loading. Please wait.
Published byEmma Knight Modified over 9 years ago
1
Copyright © 2015, 2012, and 2009 Pearson Education, Inc. 1 Chapter Correlation and Regression 9
2
Copyright © 2015, 2012, and 2009 Pearson Education, Inc. 2 Chapter Outline 9.1 Correlation 9.2 Linear Regression 9.3 Measures of Regression and Prediction Intervals 9.4 Multiple Regression.
3
Copyright © 2015, 2012, and 2009 Pearson Education, Inc. 3 Section 9.2 Linear Regression.
4
Copyright © 2015, 2012, and 2009 Pearson Education, Inc. 4 Section 9.2 Objectives How to find the equation of a regression line How to predict y-values using a regression equation.
5
Copyright © 2015, 2012, and 2009 Pearson Education, Inc. 5 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.
6
Copyright © 2015, 2012, and 2009 Pearson Education, Inc. 6 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.
7
Copyright © 2015, 2012, and 2009 Pearson Education, Inc. 7 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.
8
Copyright © 2015, 2012, and 2009 Pearson Education, Inc. 8 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.
9
Copyright © 2015, 2012, and 2009 Pearson Education, Inc. 9 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 1.6428.2 3.6828.8 4.91214.2 1.1444.6 0.9264.0 2.9415.3 2.7571.8 2.3454.9 1.6358.7 1.5573.5.
10
Copyright © 2015, 2012, and 2009 Pearson Education, Inc. 10 Solution: Finding the Equation of a Regression Line xyxyx2x2 y2y2 1.6428.2685.122.56183,355.24 3.6828.82983.6812.96686,909.44 4.91214.25949.5824.011,474,281.64 1.1444.6489.061.21197,669.16 0.9264.0237.60.8169,696 2.9415.31204.378.41172,474.09 2.7571.81543.867.29326,955.24 2.3454.91046.275.29206,934.01 1.6358.7573.922.56128,665.69 1.5573.5860.252.25328,902.25 Σx = 23.1Σy = 5554Σxy = 15,573.71Σx 2 = 67.35 Σy 2 = 3,775,842.76 Recall from section 9.1:.
11
Copyright © 2015, 2012, and 2009 Pearson Education, Inc. 11 Solution: Finding the Equation of a Regression Line Σx = 23.1Σy = 5554 Σxy = 15,573.71 Σx 2 = 67.35 Equation of the regression line.
12
Copyright © 2015, 2012, and 2009 Pearson Education, Inc. 12 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..
13
Copyright © 2015, 2012, and 2009 Pearson Education, Inc. 13 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 1.8563.7879 1.82583.8385 1.9623.8880 1.93564.189 1.98574.2790 2.05574.389 2.13604.4389 2.3574.4786 2.37614.5389 2.82734.5586 3.13764.692 3.27774.6391 3.6577.
14
Copyright © 2015, 2012, and 2009 Pearson Education, Inc. 14 Solution: Using Technology to Find a Regression Equation 5 50 100 1.
15
Copyright © 2015, 2012, and 2009 Pearson Education, Inc. 15 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 ŷ = 196.152x + 102.289. 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.) 1. 1.2 trillion dollars 2. 2.0 trillion dollars 3. 2.5 trillion dollars.
16
Copyright © 2015, 2012, and 2009 Pearson Education, Inc. 16 Solution: Predicting y-Values Using Regression Equations ŷ = 196.152x + 102.289 1.1.2 trillion dollars When the gross domestic product is $1.2 trillion, the CO 2 emissions are about 337.671 million metric tons. ŷ =196.152(1.2) + 102.289 ≈ 337.671 2.2.0 trillion dollars When the gross domestic product is $2.0 trillion, the CO 2 emissions are 494.595 million metric tons. ŷ =196.152(2.0) + 102.289 ≈ 494.593.
17
Copyright © 2015, 2012, and 2009 Pearson Education, Inc. 17 Solution: Predicting y-Values Using Regression Equations 3.2.5 trillion dollars When the gross domestic product is $2.5 trillion, the CO 2 emissions are 592.669 million metric tons. ŷ =196.152(2.5) + 102.289 ≈ 592.669 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..
18
Copyright © 2015, 2012, and 2009 Pearson Education, Inc. 18 Section 9.2 Summary Found the equation of a regression line Predicted y-values using a regression equation.
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.