Concept explainers
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 |
- a) Describe the relationship between Speed and Density.
- b) Fit a model to predict Speed from Density. Comment on the appropriateness of the model.
- 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?
- d) Which of the two residuals in part c is more unusual? Explain.
- 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? - f) Predict the speed of traffic for a density of 200 cars/mile. Is your prediction reasonable? Explain briefly.
- g) If you standardize both variables, what equation predicts the standardized speed from the standardized density?
- h) If you standardize both variables, what equation predicts the standardized density from the standardized speed?
a.
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,
The relation between speed and density is strong, negative and linear. Thus, the association between speed and density is associated with lower speeds.
b.
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
Explanation of Solution
Calculation:
Linear regression model:
A linear regression model is given as
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:
Thus, the regression equation of linear model is
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
The coefficient of determination (
In the given output,
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:
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.
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
Residual:
The residual is defined as
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
The predicted speed of a traffic having density of 56 cars/mile is,
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,
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,
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,
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.
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.
Explain about slope and the correlation if the new point
Explanation of Solution
The new point
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.
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,
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.
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
Explanation of Solution
Calculation:
z-score:
The z-score of a random variable x is defined as
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:
Thus, the correlation confident for speed and density is –0.984.
It is known that, the slope
Now, for the predictor variable x and response variable y also scarify the regression equation
Consider, the mean of the predictor variable x is
Subtract the equation
Using the formula
In this problem, as speed is the predictor variable (x) and density of traffic is response variable (y) with the correlation coefficient of
h.
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
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
Subtract the equation
Using the formula
In this problem, as density is the predictor variable (x) and speed of traffic is response variable (y) with the correlation coefficient of
Want to see more full solutions like this?
Chapter CR Solutions
Intro Stats, Books a la Carte Edition (5th Edition)
- Can you explain this statement below in layman's terms? Secondary Analysis with Generalized Linear Mixed Model with clustering for Hospital Center and ICUvs Ward EnrolmentIn a secondary adjusted analysis we used generalized linear mixed models with random effects forcenter (a stratification variable in the primary analyses). In this analysis, the relative risk for the primaryoutcome of 90-day mortality for 7 versus 14 days of antibiotics was 0.90 (95% Confidence Interval [CI]0.78, 1.05).arrow_forwardIn a crossover trial comparing a new drug to a standard, π denotes the probabilitythat the new one is judged better. It is desired to estimate π and test H0 : π = 0.5against H1 : π = 0.5. In 20 independent observations, the new drug is better eachtime.(a) Find and plot the likelihood function. Give the ML estimate of π (Hint: youmay use the plot function in R)arrow_forwardCan you explain what this analysis means in layman's terms? - We calculated that a target sample size of 3626, which was based on anticipated baseline 90-day mortality of 22% and a noninferiority margin of no more than 4 percentage points, would give the trial 80% power, at a one-sided alpha level of 2.5%, accounting for a maximum of 5% loss to follow-up and for early stopping rules for three interim analyses.-arrow_forward
- Can you help me understand this analysis? A 95.7% confidence interval is shown for the intention-to-treat analysis (accounting for alpha spending in interim analyses), and 95% confidence intervals are shown for the other two analyses. The widths of the confidence intervals have not been adjusted for multiplicity. The dashed line indicates the noninferiority margin of 4 percentage points.arrow_forwardTitle: Analyzing Customer Satisfaction for UnileverAs a member of Unilever's Customer Experience Management team, you are responsible forevaluating customer satisfaction levels and monitoring competitive moves. This case studyinvolves analyzing satisfaction data to test two key hypotheses about Unilever's performancerelative to its main competitor, Procter & Gamble (P&G).Unilever’s leadership team has emphasized the importance of customer satisfaction inmaintaining competitive advantage and market leadership. As part of this initiative, yourteam regularly monitors satisfaction scores and benchmarks them against competitors likeP&G.You are tasked with analyzing the provided dataset to answer the following questions:1. Does Unilever’s average customer satisfaction score meet the minimum threshold of2. 75%?Is there no significant difference between Unilever’s overall average satisfaction scoreand P&G’s average satisfaction score?arrow_forwardNeed help answering wuestionarrow_forward
- The following table shows a data set containing information for 25 of the shadow stocks tracked by the American Association of Individual Investors (aaii.com, February 2002). Shadow stocks are common stocks of smaller companies that are not closely followed by Wall Street analysts. Click on the datafile logo to reference the data. DATA file Company DeWolfe Companies Exchange Ticker Symbol Market Cap ($ millions) Price/ Gross Profit Earnings Ratio Margin (%) AMEX DWL 36.4 8.4 36.7 North Coast Energy OTC NCEB 52.5 6.2 59.3 Hansen Natural Corp. OTC HANS 41.1 14.6 44.8 MarineMax, Inc. NYSE HZO 111.5 7.2 23.8 Nanometrics Incorporated OTC NANO 228.6 38.0 53.3 TeamStaff, Inc. OTC TSTF 92.1 33.5 4.1 Environmental Tectonics AMEX ETC 51.1 35.8 35.9 Measurement Specialties AMEX MSS 101.8 26.8 37.6 SEMCO Energy, Inc. NYSE SEN 193.4 18.7 23.6 Party City Corporation OTC PCTY 97.2 15.9 36.4 Embrex, Inc. OTC EMBX 136.5 18.9 59.5 Tech/Ops Sevcon, Inc. AMEX ΤΟ 23.2 20.7 35.7 ARCADIS NV OTC ARCAF 173.4…arrow_forwardThe following table shows a data set containing information for 25 of the shadow stocks tracked by the American Association of Individual Investors (aaii.com, February 2002). Shadow stocks are common stocks of smaller companies that are not closely followed by Wall Street analysts. Click on the datafile logo to reference the data. DATA file Company DeWolfe Companies Exchange AMEX Ticker Symbol Market Cap Price/ Gross Profit Earnings Margin ($ millions) Ratio (%) DWL 36.4 8.4 36.7 North Coast Energy OTC NCEB 52.5 6.2 59.3 Hansen Natural Corp. OTC HANS 41.1 14.6 44.8 MarineMax, Inc. NYSE HZO 111.5 7.2 23.8 Nanometrics Incorporated OTC NANO 228.6 38.0 53.3 TeamStaff, Inc. OTC TSTF 92.1 33.5 4.1 Environmental Tectonics AMEX ETC 51.1 35.8 35.9 Measurement Specialties AMEX MSS 101.8 26.8 37.6 SEMCO Energy, Inc. NYSE SEN 193.4 18.7 23.6 Party City Corporation OTC PCTY 97.2 15.9 36.4 Embrex, Inc. OTC EMBX 136.5 18.9 59.5 Tech/Ops Sevcon, Inc. AMEX ΤΟ 23.2 20.7 35.7 ARCADIS NV OTC ARCAF 173.4…arrow_forwardThe following data show the year to date percent change (YTD % Change) for 30 stock-market indexes from around the word (The Wall Street Journal, August 26, 2013). a. What index has the largest positive YTD % Change? Round your answer to once decimal place. index with a YTD % Change of % b. Using a class width of 5 beginning with -20 and going to 40, develop a frequency distribution for the data. YTD % Change Frequency -20 - -15 -15 - -10 -10 - -5 -5 - 0 0 - 5 5 - 10 10 - 15 15 - 20 20 - 25 30 - 35 c. 1. 2. 3. 4.arrow_forward
- The following data show the year to date percent change (YTD % Change) for 30 stock-market indexes from around the word (The Wall Street Journal, August 26, 2013). Click on the datafile logo to reference the data. DATA file Country Australia Index S&P/ASX200 YTD % Change 10.2 Belgium Bel-20 12.6 Brazil São Paulo Bovespa -14.4 Canada S&P/TSX Comp 2.6 Chile Santiago IPSA -16.3 China Shanghai Composite -9.3 Eurozone EURO Stoxx 10.0 France CAC 40 11.8 Germany DAX 10.6 Hong Kong Hang Seng -3.5 India S&P BSE Sensex -4.7 Israel Tel Aviv 1.3 Italy FTSE MIB 6.6 Japan Nikkei 31.4 Mexico IPC All-Share -6.4 Netherlands AEX 9.3 Singapore Straits Times -2.5 South Korea Kospi -6.4 Spain IBEX 35 6.4 Sweden Switzerland SX All Share 13.8 Swiss Market 17.4 Taiwan Weighted 2.3 U.K. FTSE 100 10.1 U.S. S&P 500 16.6 U.S. DJIA 14.5 U.S. Dow Jones Utility 6.6 U.S. Nasdaq 100 17.4 U.S. Nasdaq Composite 21.1 World DJ Global ex U.S. 4.2 World DJ Global Index 9.9 a. What index has the largest positive YTD %…arrow_forwardDescribe a three step process you choose to determine how many elementary schools there are in the city of 5 million people.arrow_forwardQuiz: Exam 1 (Ch 1-4) z Scores Table-3.pdf x + edu/courses/308627/quizzes/2442507/take/questions/48957332 Canvas Hall It browser 5 Connect Set as default incorrect. • This exam is NOT resumable. Meaning, once you start the exam, you must complete it in its entirety. Any blank questions will be marked as By taking this exam, you agree to adhere to the academic integrity standards, which consist of NOT cheating in any way. To get the highest possible score, you are encouraged to review your notes before taking the exam. You may use your notes during the exam, but note that you should be familiar with the concepts and formulas before taking exam. z Scores Table.pdf Question 3 3 pts Here is a data from a survey asking young children how many hours they spend playing video games. The researchers reported the percent of boys and girls who played no games, less than 1 hour per day, 1-3 hours per day, or greater than 3 hours per day. The most common number of hours per day that boys played is…arrow_forward
- Holt Mcdougal Larson Pre-algebra: Student Edition...AlgebraISBN:9780547587776Author:HOLT MCDOUGALPublisher:HOLT MCDOUGALFunctions and Change: A Modeling Approach to Coll...AlgebraISBN:9781337111348Author:Bruce Crauder, Benny Evans, Alan NoellPublisher:Cengage LearningGlencoe Algebra 1, Student Edition, 9780079039897...AlgebraISBN:9780079039897Author:CarterPublisher:McGraw Hill
- Big Ideas Math A Bridge To Success Algebra 1: Stu...AlgebraISBN:9781680331141Author:HOUGHTON MIFFLIN HARCOURTPublisher:Houghton Mifflin Harcourt