Intro Stats, Books a la Carte Edition (5th Edition)
Intro Stats, Books a la Carte Edition (5th Edition)
5th Edition
ISBN: 9780134210285
Author: Richard D. De Veaux, Paul Velleman, David E. Bock
Publisher: PEARSON
bartleby

Concept explainers

bartleby

Videos

Textbook Question
Book Icon
Chapter CR, Problem 4E

Speed and density The following data relate traffic Density (measured as number of cars per mile) and the average Speed of traffic (in mph) on city highways. The data were collected at the same location at 10 different times randomly selected within a span of 3 months.

  Density Speed
  69 25.4
  56 32.5
  62 28.6
  119 11.5
  84 21.3
  74 22.1
  73 22.3
  90 18.5
  38 37.2
  22 44.6
Mean 68.7 26.4
SD 27.07 9.64
  1. a) Describe the relationship between Speed and Density.
  2. b) Fit a model to predict Speed from Density. Comment on the appropriateness of the model.
  3. c) If the traffic density is 56 cars/mile and you observe a speed of 32.5 mph, what is the residual? What is the residual for an observed speed of 36.1 mph with a traffic density of 20 cars/mile?
  4. d) Which of the two residuals in part c is more unusual? Explain.
  5. e) A new data point has come in. For this observation, Density = 125 cars/mile and Speed = 55 mph. What would happen to the slope and the correlation if this point were included?
  6. f) Predict the speed of traffic for a density of 200 cars/mile. Is your prediction reasonable? Explain briefly.
  7. g) If you standardize both variables, what equation predicts the standardized speed from the standardized density?
  8. h) If you standardize both variables, what equation predicts the standardized density from the standardized speed?

a.

Expert Solution
Check Mark
To determine

Explain the relationship between speed and density.

Explanation of Solution

Given info:

The data related to the speed and density of traffic at the same location of a city at 10 different times within a span of 3 months.

Calculation:

Scatterplot:

Software procedure:

Step by step procedure to draw scatterplot using MINITAB software is given as,

  • Choose Graph > Scatterplot.
  • Choose Simple, and then click OK.
  • In Y-variables, enter the column of Speed.
  • In X-variables enter the column of Density.
  • Click OK.

Output using MINITAB software is given as,

Intro Stats, Books a la Carte Edition (5th Edition), Chapter CR, Problem 4E , additional homework tip  1

The relation between speed and density is strong, negative and linear. Thus, the association between speed and density is associated with lower speeds.

b.

Expert Solution
Check Mark
To determine

Obtain a linear model to predict speed from density and comment on the appropriateness of the model.

Answer to Problem 4E

The regression equation of linear model is Speed^=50.470.3503Density.

Explanation of Solution

Calculation:

Linear regression model:

A linear regression model is given as y^=b0+b1x where be the predicted values of response variable and x be the predictor variable. The b1 be the slope and b0 be the intercept of the line.

Regression

Software procedure:

Step by step procedure to get the output using MINITAB software is given as,

  • Choose Stat > Regression > Regression > Fit Regression Model.
  • Under Responses, enter the column of Speed.
  • Under predictors, enter the columns of Density.
  • Click OK.

Output using MINITAB software is given below:

Intro Stats, Books a la Carte Edition (5th Edition), Chapter CR, Problem 4E , additional homework tip  2

Intro Stats, Books a la Carte Edition (5th Edition), Chapter CR, Problem 4E , additional homework tip  3

Thus, the regression equation of linear model is Speed^=50.470.3503Density.

The fitted scatterplot of re-expressed data exhibits a linear pattern. Thus, there is a strong and negative linear association between speed and density of traffic

R2(R-squared):

The coefficient of determination (R2) is defined as the proportion of variation in the observed values of the response variable that is explained by the regression. The squared correlation gives fraction of variability of response variable (y) accounted for by the linear regression model.

In the given output, R squared=96.7%

Thus, the percentage of variation in the observed values of speed of traffic that is explained by the regression is 96.7%, which indicates that 96.7% of the variability in speed is explained by the variability in density using linear regression model.

The conditions for a residual plot that is well fitted for the data are,

  • There should not any bend, which would violate the straight enough condition.
  • There must not any outlier, which, were not clear before.
  • There should not any change in the spread of the residuals from one part to another part of the plot.

Residual plot:

Software procedure:

Step by step procedure to get the output using MINITAB software is given as,

  • Choose Stat > Regression > Regression > Fit Regression Model.
  • Under Responses, enter the column of Speed.
  • Under Continuous predictors, enter the columns of Density.
  • In Graphs, under Residuals for plots choose Regular.
  • Under Residuals plots choose Individuals plots and select box of Residuals versus fits.
  • Click OK.

Output using MINITAB software is given below:

Intro Stats, Books a la Carte Edition (5th Edition), Chapter CR, Problem 4E , additional homework tip  4

In residual plot, there is no bend or pattern, which can violate the straight enough condition and there is no change in the spread of the residuals from one part to another part of the plot.

Thus, a linear model is appropriated.

c.

Expert Solution
Check Mark
To determine

Find the residual of a traffic, having density and observed speed of 56 cars/mile and 32.5 mph, respectively.

Find the residual of another traffic, having density and observed speed of 20 cars/mile and 36.1 mph, respectively.

Answer to Problem 4E

The residual of a traffic, having density and observed speed of 56 cars/mile and 32.5 mph, respectively is 1.65 mph and the residual of a traffic, having density and observed speed of 20 cars/mile and 36.1 mph, respectively is –7.36 mph.

Explanation of Solution

Calculation:

Assume x be the predictor variable and y be the response variable, of a regression analysis. Then, the predicted value of the response variable is y^p=b0+b1xp, where xp be particular value of predictor variable x, b0 be the y-intercept of the equation and b1 be the slope of the equation.

Residual:

The residual is defined as Residual = Observed value  Predicted value or e=yy^ where y^ be the predicted value of the response variable and y be the actual value of the response variable.

If the observed value is less than predicted value then the residual will be negative and if the observed value is greater than predicted value then the residual will be positive.

From the previous part b. it is found that the regression equation of linear model is Speed^=50.470.3503Density.

The predicted speed of a traffic having density of 56 cars/mile is,

Speed^=50.470.3503(56)=50.4719.6168=30.8532

Thus, the predicted speed of a traffic having density of 56 cars/mile is 30.8532 mph.

It is known, that actual speed of a traffic having density of 56 cars/mile is 32.5 mph.

The value of the residual is,

e=SpeedSpeed^=32.530.85321.65

Thus, the residual of a traffic, having density and observed speed of 56 cars/mile and 32.5 mph, respectively is 1.65 mph.

The predicted speed of a traffic having density of 20 cars/mile is,

Speed^=50.470.3503(20)=50.477.006=43.46

Thus, the predicted speed of a traffic having density of 20 cars/mile is 43.46 mph.

It is known, that actual speed of a traffic having density of 20 cars/mile is 36.1 mph.

The value of the residual is,

e=SpeedSpeed^=36.143.467.36

Thus, the residual of a traffic, having density and observed speed of 20 cars/mile and 36.1 mph, respectively is –7.36 mph.

d.

Expert Solution
Check Mark
To determine

Find the unusual residual.

Answer to Problem 4E

Second residual is more unusual residual.

Explanation of Solution

From previous part c. it is found that residual of a traffic, having density and observed speed of 56 cars/mile and 32.5 mph, respectively is 1.65 mph and the residual of a traffic, having density and observed speed of 20 cars/mile and 36.1 mph, respectively is –7.36 mph.

Thus, it is clear that the second residual value is far away from the predicted value. Therefore, second residual is more unusual residual.

e.

Expert Solution
Check Mark
To determine

Explain about slope and the correlation if the new point

(Density=125Cars/Mile,Speed=55mph) were included.

Explanation of Solution

The new point (Density=125Cars/Mile,Speed=55mph) has a high density with a very high speed. Therefore, the inclusion of the point results in a very different regression analysis. The point has a high influence on the data. As a result of this the slope and correlation of the regression become weaker, close to 0.

In another words, shallower slope and weaker correlation are closer to 0 as they are both started as negative quantity.

Thus, technically slope and correlation becomes higher.

f.

Expert Solution
Check Mark
To determine

Predict the speed of traffic for a density of 200 cars/mile.

Explain whether the prediction is reasonable.

Answer to Problem 4E

The predicted speed of a traffic having density of 200 cars/mile is –19.6 mph.

Explanation of Solution

Calculation:

The predicted speed of a traffic having density of 200 cars/mile is,

Speed^=50.470.3503(200)=50.4770.0619.6

Thus, the predicted speed of a traffic having density of 200 cars/mile is –19.6 mph.

This result is not meaningful as the value of the speed comes as negative quantity, which cannot be possible. Moreover, the given car density of 200 cars/mile is far beyond from the observed values.

Thus, the prediction is not reasonable.

g.

Expert Solution
Check Mark
To determine

Find the equation to predict the standardized speed from the standardized density if both the variables are standardized.

Answer to Problem 4E

The equation to predict the standardized speed from the standardized density is zSpeed^=(0.984)zDensity.

Explanation of Solution

Calculation:

z-score:

The z-score of a random variable x is defined as z=yμσ, where μ be the mean of the random variable x and σ be the standard deviation of the random variable x.

Correlation coefficient:

Software Procedure:

Step by step procedure to obtain the correlation coefficient of the data using the MINITAB software:

  • Choose Stat > Basic Statistics > Correlation.
  • In Variables, enter the column of Speed and Density.
  • Click OK in all dialogue boxes.

Output using the MINITAB software is given below:

Intro Stats, Books a la Carte Edition (5th Edition), Chapter CR, Problem 4E , additional homework tip  5

Thus, the correlation confident for speed and density is –0.984.

It is known that, the slope b1 of a regression line y^=b0+b1x can be defined as,

b1=rsysx, where r be the coefficient between predictor variable x and the response variable y. The sx and sy be the standard deviation of predictor variable x and the response variable y, respectively.

Now, for the predictor variable x and response variable y also scarify the regression equation y¯=b0+b1x¯.

Consider, the mean of the predictor variable x is x¯ and standard deviation is sx. Similarly, the mean of the response variable y is y¯ and standard deviation is sy.

Subtract the equation y¯=b0+b1x¯ from equation y^=b0+b1x it is found that,

y^y¯=b1(xx¯)

Using the formula b1=rsysx it is also found that,

y^y¯=rsysx(xx¯)y^y¯sy=r(xx¯)sxzy^=rzx

In this problem, as speed is the predictor variable (x) and density of traffic is response variable (y) with the correlation coefficient of r=0.984, then the equation to predict the standardized speed from the standardized density is zSpeed^=(0.984)zDensity.

h.

Expert Solution
Check Mark
To determine

Find the equation to predict the standardized density from the standardized speed if both the variables are standardized.

Answer to Problem 4E

The equation to predict the standardized density from the standardized speed is zDensity^=(0.984)zSpeed.

Explanation of Solution

Calculation:

From the previous part g. it is found that the correlation confident for speed and density is –0.984. In addition correlation is same regardless of the direction of prediction.

Consider, the mean of the predictor variable x is x¯ and standard deviation is sx. Similarly, the mean of the response variable y is y¯ and standard deviation is sy.

Subtract the equation y¯=b0+b1x¯ from equation y^=b0+b1x it is found that,

y^y¯=b1(xx¯)

Using the formula b1=rsysx it is also found that,

y^y¯=rsysx(xx¯)y^y¯sy=r(xx¯)sxzy^=rzx

In this problem, as density is the predictor variable (x) and speed of traffic is response variable (y) with the correlation coefficient of r=0.984, then the equation to predict the standardized speed from the standardized density is zDensity^=(0.984)zSpeed.

Want to see more full solutions like this?

Subscribe now to access step-by-step solutions to millions of textbook problems written by subject matter experts!
Knowledge Booster
Background pattern image
Statistics
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, statistics and related others by exploring similar questions and additional content below.
Recommended textbooks for you
Text book image
Functions and Change: A Modeling Approach to Coll...
Algebra
ISBN:9781337111348
Author:Bruce Crauder, Benny Evans, Alan Noell
Publisher:Cengage Learning
Text book image
Big Ideas Math A Bridge To Success Algebra 1: Stu...
Algebra
ISBN:9781680331141
Author:HOUGHTON MIFFLIN HARCOURT
Publisher:Houghton Mifflin Harcourt
Text book image
Glencoe Algebra 1, Student Edition, 9780079039897...
Algebra
ISBN:9780079039897
Author:Carter
Publisher:McGraw Hill
Text book image
Holt Mcdougal Larson Pre-algebra: Student Edition...
Algebra
ISBN:9780547587776
Author:HOLT MCDOUGAL
Publisher:HOLT MCDOUGAL
The Shape of Data: Distributions: Crash Course Statistics #7; Author: CrashCourse;https://www.youtube.com/watch?v=bPFNxD3Yg6U;License: Standard YouTube License, CC-BY
Shape, Center, and Spread - Module 20.2 (Part 1); Author: Mrmathblog;https://www.youtube.com/watch?v=COaid7O_Gag;License: Standard YouTube License, CC-BY
Shape, Center and Spread; Author: Emily Murdock;https://www.youtube.com/watch?v=_YyW0DSCzpM;License: Standard Youtube License