Presentation is loading. Please wait.

Presentation is loading. Please wait.

Does adding a fuel additive help gasoline mileage in automobiles? Use Linear Regression to analyze the following data: Amount of STP fuel additive added.

Similar presentations


Presentation on theme: "Does adding a fuel additive help gasoline mileage in automobiles? Use Linear Regression to analyze the following data: Amount of STP fuel additive added."— Presentation transcript:

1 Does adding a fuel additive help gasoline mileage in automobiles? Use Linear Regression to analyze the following data: Amount of STP fuel additive added to the gas tank (in ounces) = x Recorded gas mileage = y 1. Graph the Scatterplot Describe the direction, form and strength. 2. What is the regression line Correlation Coefficient value? What does this value indicate in relation to the data? 3. What is the Coefficient of Determination value? What does this value indicate in relation to the data? 4. Find the Least Squares Regression Line. In contents to the problem, interpret the meaning of ‘a’ and ‘b’. 5. Predict the gas mileage after adding 15 ounces of fuel additive. 6. Find the Residual for x = 10 ounces of STP. 7. Find the predicted gas mileage after adding 100 ounces. This is called EXTRAPOLATION when you make predictions for data outside your range. X46810121316202224 Y1314.415.31616.115.81717.517.619.1

2 1. Graph the Scatterplot Describe the direction, form and strength. 2. What is the regression line Correlation Coefficient value? What does this value indicate in relation to the data? 3. What is the Coefficient of Determination value? What does this value indicate in relation to the data? 4. Find the Least Squares Regression Line. In contexts to the problem, interpret the meaning of ‘a’ and ‘b’. 5.Predict the gas mile after adding 15 ounces of fuel additive. 6.Find the Residual for x = 10 ounces of STP. 7.Find the predicted gas mileage after adding 100 ounces. This is called EXTRAPOLATION when you make predictions for data outside your range.

3 The Difference between Outliers and Influential Points An Outlier is an observation that lies outside the overall pattern of the other observations. An Influential point is an observation that if removing it would markedly change the position of the regression line. Outlier but NOT Influential Outlier and Influential Correlation and Least Squares Regression line are Nonresistant meaning that they are strongly influenced by extreme outliers that are influential.

4 RESIDUALS The Least-Squares regression line is a line in which the vertical distances from the observed y values and the predicted y value are as small as possible. These vertical distances are called Residuals. Residual = Observed y – Predicted y Value Residual = Predicted = Observed = x y +4 +1 -5 -3

5 WARM-UP Is there an association between how much a baseball team pays its players (Average in millions) and the team winning percentage? Find AND interpret r and R 2. Team Average Win PCT N.Y. Yankees 4.34 64.0 Boston 3.61 57.4 Texas 3.63 44.4 Arizona 3.11 60.5 Los Angeles 3.64 56.8 New York Mets 3.63 46.6 Atlanta 3.01 63.1 Seattle 3.21 57.4 Cleveland 2.63 45.7 San Francisco 2.89 59.0 Toronto 2.65 48.1 Chicago Cubs 2.70 41.4 St. Louis 2.8459.9 St. Louis 2.84 59.9 Examine Graph ŷ = 38.953 + 4.725x r = 0.31 R 2 = 9.8%

6 Team Average Win PCT N.Y. Yankees 4.34 64.0 Boston 3.61 57.4 Texas 3.63 44.4 Arizona 3.11 60.5 Los Angeles 3.64 56.8 New York Mets 3.63 46.6 Atlanta 3.01 63.1 Seattle 3.21 57.4 Cleveland 2.63 45.7 San Francisco 2.89 59.0 Toronto 2.65 48.1 Chicago Cubs 2.70 41.4 St. Louis 2.84 59.9 x y y Residual 59.4656.0156.1053.6556.1556.1053.1754.1251.3852.6151.4751.7152.374.541.39-11.706.850.65-9.509.933.28-5.686.39-3.37-10.317.53

7 Sum of Squares about the Mean - (SSM) If there was absolutely no association between x and y then the regression line would be a horizontal line passing through the mean of y. The variation between the actual data y values and this horizontal line is measured by SSM. Sum of Squares for Error - (SSE) If there is an association between x and y then the regression line would be modeled by y-hat. The variation between the actual data y values and the predicted y values is measured by SSE. R-Squared – the percent or fraction of variation in the values of y that is explained by the least squares regression of y on x. Measure of goodness of fit.

8 Warm-Up Does temperature effect ice cream sales. A local ice cream shop sold the following amounts on various days: Temperature 90 88 101 87 75 98 72 86 99 74 92 # of Sales:182 42 240 128 101 220 94 132 201 93 145 1. Construct and Describe the Form and Direction of the Scatterplot. 2.Identify any Outliers. 3.Find and Interpret the correlation.

9 WARM - UP Many Blogs are declaring that the Government is manipulating Gas Reserves therefore manipulating Gas Prices. To investigate this analyze the following. 1-028-0212-024-033-0410-0410-052-067-069-06 Gas Prices$1.261.551.591.751.802.053.172.492.992.742.572.482.402.382.20 President Bush’s Approval Rating %806863605549384140434140424345


Download ppt "Does adding a fuel additive help gasoline mileage in automobiles? Use Linear Regression to analyze the following data: Amount of STP fuel additive added."

Similar presentations


Ads by Google