STATS:DATA+MODELS-MY LAB ACC >CUSTOM<
STATS:DATA+MODELS-MY LAB ACC >CUSTOM<
21st Edition
ISBN: 9780137643127
Author: DeVeaux
Publisher: PEARSON
bartleby

Videos

Question
Book Icon
Chapter CR, Problem 4E

a.

To determine

Explain the relationship between speed and density.

a.

Expert Solution
Check Mark

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,

STATS:DATA+MODELS-MY LAB ACC >CUSTOM<, 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.

To determine

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

b.

Expert Solution
Check Mark

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 asy^=b0+b1x where y^ is the predicted values of response variable and x is the predictor variable. The b1 is the slope and b0 is 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:

STATS:DATA+MODELS-MY LAB ACC >CUSTOM<, Chapter CR, Problem 4E , additional homework tip  2

STATS:DATA+MODELS-MY LAB ACC >CUSTOM<, 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.

In the given output, R squared=96.7%

Thus, the 96.7% of the variability in speed is explained by 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 line condition.
  • There must not any outlier.
  • 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:

STATS:DATA+MODELS-MY LAB ACC >CUSTOM<, Chapter CR, Problem 4E , additional homework tip  4

In residual plot, there is no bend or pattern, which can violate the straight line 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.

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.

c.

Expert Solution
Check Mark

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 xpis particular value of predictor variable x, b0 is the y-intercept of the equation and b1 is 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.350356=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.350320=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.

To determine

Find the unusual residual.

d.

Expert Solution
Check Mark

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.

To determine

Explain about slope and the correlation if the new point

Density=125Cars/Mile,Speed=55mphwere included.

e.

Expert Solution
Check Mark

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.

To determine

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

Explain whether the prediction is reasonable.

f.

Expert Solution
Check Mark

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.3503200=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.

To determine

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

g.

Expert Solution
Check Mark

Answer to Problem 4E

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

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:

STATS:DATA+MODELS-MY LAB ACC >CUSTOM<, 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 b1of a regression line y^=b0+b1xcan be defined as,

b1=rsysx, where r is the coefficient between predictor variable x and the response variable y. The sx and sy are 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¯=b1xx¯

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

y^y¯=rsysxxx¯y^y¯sy=rxx¯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.984zDensity.

h.

To determine

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

h.

Expert Solution
Check Mark

Answer to Problem 4E

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

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¯=b1xx¯

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

y^y¯=rsysxxx¯y^y¯sy=rxx¯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.984zSpeed.

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
MATLAB: An Introduction with Applications
Statistics
ISBN:9781119256830
Author:Amos Gilat
Publisher:John Wiley & Sons Inc
Text book image
Probability and Statistics for Engineering and th...
Statistics
ISBN:9781305251809
Author:Jay L. Devore
Publisher:Cengage Learning
Text book image
Statistics for The Behavioral Sciences (MindTap C...
Statistics
ISBN:9781305504912
Author:Frederick J Gravetter, Larry B. Wallnau
Publisher:Cengage Learning
Text book image
Elementary Statistics: Picturing the World (7th E...
Statistics
ISBN:9780134683416
Author:Ron Larson, Betsy Farber
Publisher:PEARSON
Text book image
The Basic Practice of Statistics
Statistics
ISBN:9781319042578
Author:David S. Moore, William I. Notz, Michael A. Fligner
Publisher:W. H. Freeman
Text book image
Introduction to the Practice of Statistics
Statistics
ISBN:9781319013387
Author:David S. Moore, George P. McCabe, Bruce A. Craig
Publisher:W. H. Freeman
How to make Frequency Distribution Table / Tally Marks and Frequency Distribution Table; Author: Reenu Math;https://www.youtube.com/watch?v=i_A6RiE8tLE;License: Standard YouTube License, CC-BY
Frequency distribution table in statistics; Author: Math and Science;https://www.youtube.com/watch?v=T7KYO76DoOE;License: Standard YouTube License, CC-BY
Frequency Distribution Table for Grouped/Continuous data | Math Dot Com; Author: Maths dotcom;https://www.youtube.com/watch?v=ErnccbXQOPY;License: Standard Youtube License