
(a)
To find:
The sum of squared errors, SSE.

Answer to Problem 9E
Solution:
The equation of the least squares regression line is
Squared error (SSE) is
Explanation of Solution
Given Information:
The numbers of parking tickets students received during one semester and their monthly
Parking Tickets and Monthly Income | ||||||||||
Number of Tickets, ![]() |
10 | 8 | 3 | 2 | 0 | 5 | 4 | 2 | 1 | 0 |
Monthly Income (in Dollars), ![]() |
4000 | 3800 | 1500 | 2000 | 870 | 2500 | 1800 | 1200 | 1400 |
The least Squares regression line is the line for which the average variation from the data is the smallest, also called the line of best fit, given by
Where is the slope of the least-squares regression line for paired data from a sample and
is the
-intercept for the regression line.
The sum of squared errors (SSE) for a regression line is the sum of the squares of the residuals.
Formula used:
The equation of least-squares regression line is given by
Where, is the slope of the least-squares regression line given as,
intercept given as,
Here n is the number of data pairs in the sample, is the
value of the explanatory variable and
is the
value of response variable.
The sum of squared errors (SSE) for a regression line is the sum of the squares of the residuals is given by,
Here is the
observed value of the response variable and
is the predicted variable of
using the list square regression model.
Calculation:
The table of the numbers of parking tickets students received during one semester and
their monthly Incomes is given by,
Number of Tickets, |
Monthly Income (in Dollars), |
|||
10 | 4000 | 40000 | 100 | 16000000 |
8 | 3800 | 30400 | 64 | 14440000 |
3 | 1500 | 4500 | 9 | 2250000 |
2 | 2000 | 4000 | 4 | 4000000 |
0 | 870 | 0 | 0 | 756900 |
5 | 2500 | 12500 | 25 | 6250000 |
4 | 1800 | 7200 | 16 | 3240000 |
2 | 1000 | 2000 | 4 | 1000000 |
1 | 1200 | 1200 | 1 | 1440000 |
0 | 1400 | 0 | 0 | 1960000 |
Where,
Substitute 10 for, 8 for
, 3 for
… 0 for
in the above equation,
Substitute for
,
for
,
for
…
for
in the above equation,
In order to calculate the value of and 4000 for
in
Proceed in the same manner to calculate
In order to calculate the value of, substitute 10 for
in
.
Proceed in the same manner to calculate for the rest of the data and refer table for the rest of the
values calculated.
In order to calculate the value of substitute 4000 for
in
.
Proceed in the same manner to calculate for the rest of the data and refer table for the rest of the
values calculated.
The slope of the least-squares regression line is given as,
Substitute 35 for in the above equation of
,
The -intercept of regression line is given as,
Substitute 35 for
The equation of least-squares regression line is,
The table of the numbers of parking tickets students received during one semester and
their monthly incomes is given by,
Number of Tickets, |
Monthly Income (in Dollars), |
Predicted value, |
Residual, |
Squared error, |
10 | 4000 | 4047.87 | -47.87 | 2291.5369 |
8 | 3800 | 3419.91 | 380.09 | 144468.4081 |
3 | 1500 | 1850.01 | -350.01 | 122507.0001 |
2 | 2000 | 1536.03 | 463.97 | 215268.1609 |
0 | 870 | 908.07 | -38.07 | 1449.3249 |
5 | 2500 | 2477.97 | 22.03 | 485.3209 |
4 | 1800 | 2163.99 | -363.99 | 132488.7201 |
2 | 1000 | 1536.03 | -536.03 | 287328.1609 |
1 | 1200 | 1222.05 | -22.05 | 486.2025 |
0 | 1400 | 908.07 | 491.93 | 241995.1249 |
The predicted values are obtained by substituting the values of
in the fitted regression line,
For, substitute 10 for
in the above equation,
Similarly the other values of are obtained and are shown in the third column of the table:
The residuals and
.
Substitute 4000 for and 4047.87 for
in above equation,
Similarly the other values of
The squared errors are obtained as,
Substitute for
in
Thus,
Similarly the other values of
The sum of squared errors (SSE) for a regression line is,
From the above table SSE is given by,
Thus, the sum of squared error (SSE) is 114767.96.
Conclusion:
The equation of least-squares regression line is,
The sum of squared errors (SSE) is 1148767.96.
(b)
To find:
The Standard error of estimate, .

Answer to Problem 9E
Solution:
The Standard error of estimate is 378.94.
Explanation of Solution
Given Information:
The numbers of parking tickets students received during one semester and their monthly
Parking Tickets and Monthly Income | ||||||||||
Number of Tickets, ![]() |
10 | 8 | 3 | 2 | 0 | 5 | 4 | 2 | 1 | 0 |
Monthly Income (in Dollars), ![]() |
4000 | 3800 | 1500 | 2000 | 870 | 2500 | 1800 | 1000 | 1200 | 1400 |
Incomes is,
Formula used:
The standard error of estimate is a measure of the deviation of the sample data points from the regression line and is given by:
Here SSE is the sum of squared error and is the number of paired data set in the sample,
is the
observed value of the response variable,
is the predicted variable of
using the list square regression model.
Calculation:
The formula of Standard error of estimate is,
From part a substitute for SSE and
for
in the above equation of Standard error of estimate.
Conclusion:
Thus, the Standard error of estimate is 378.94.
(c)
To Construct:
A 95% prediction interval for the given value of explanatory variable, .

Answer to Problem 9E
Solution:
The prediction interval is (2032.14, 3551.76).
Explanation of Solution
The prediction interval is a confidence interval for an individual value of the response
Variable y, at a given fixed value of the explanatory variable, x.
Formula used:
The formula to calculate the margin of error of a prediction interval for an individual value of the response variable, y, is given by,
n is the number of data pairs in the sample.
The formula to calculate the Prediction interval is given by,
or
Where
margin of error
The formula to calculate arithmetic mean is given by,
Where
Variables.
Calculation:
Arithmetic Mean is given as,
From part a substitute 10 for, 10 for
, 8 for
…..0 for
in the above equation of arithmetic mean,
Since the level of confidence is 95%,
Then using the t-distribution table, the critical value for this test
For -distribution with 8 degrees of freedom,
The formula to calculate the margin of error of a prediction interval is,
Substitute 1.86 for, 3.5 for
, 10 for
, 35 for
, 223 for
, 6 for
and
for
in the above equation of margin of error,
Predicted value for
is
The prediction interval is:
Substitute 2791.95for and 759.81 for
in the above formula,
The prediction interval is
Conclusion:
Thus, the prediction interval is
(d)
To Construct:
A 95% confidence interval for the intercept of regression line.

Answer to Problem 9E
Solution:
The 95% confidence interval for the intercept
is (496.45, 1319.69).
Explanation of Solution
Given Information:
The numbers of parking tickets students received during one semester and their monthly
Incomes is,
Parking Tickets and Monthly Income | ||||||||||
Number of Tickets, x | 10 | 8 | 3 | 2 | 0 | 5 | 4 | 2 | 1 | 0 |
Monthly Income | 4000 | 3800 | 1500 | 2000 | 870 | 2500 | 1800 | 1000 | 1200 | 1400 |
(in Dollars), y |
Calculation:
To generate the regression table in excel follow the given steps:
1. Under data tab, choose data analytics and then select regression.
2. Select the input Y and select the input X range and enter the range of the given
data.
3.Choose 95% confidence interval and click OK.
The following table will appear.
SUMMARY OUTPUT
Regression Statistics | |||||
Multiple R | 0.94662523 | ||||
R Square | 0.89609937 | ||||
Adjusted R Square | 0.88311172 | ||||
Standard Error | 378.940622 | ||||
Observations | 10 | ||||
ANOVA |
|||||
df | SS | MS | F | Significance F | |
Regression | 1 | 9907642.04 | 9907642 | 68.99665 | 3.32835E-05 |
Residual | 8 | 1148767.96 | 143596 | ||
Total | 9 | 11056410 |
Coefficients | Standard Error | t Stat | P-value | Lower 95.0% | Upper 95.0% | |
Intercept | 908.0696517 | 178.5009634 | 5.087197 | 0.000945 | 496.4456924 | 1319.69361 |
X | 313.9800995 | 37.79968083 | 8.306422 | 3.33E-05 | 226.8138793 | 401.14632 |
From the above result,
1. Multiple R is the absolute value of the .
2.
3. Standard Error is the standard error of the estimate, .
4. The intersection of the Residual row and the SS column is the sum of squared errors, SSE.
5. The Lower 95.0% and the Upper 95.0% columns give the lower and upper endpoints of the 95% confidence intervals for the intercept and slope.
6. The coefficient columns gives the values for the coefficients, that is, the
intercept and slope, of the regression line.
The row labeled Intercept is the row for the values corresponding to the intercept. The last two values in this row are the lower and upper endpoints for a 95% confidence for the
intercept of the regression line,
Thus, the 95% confidence interval for
Confidence Interval=(496.45, 1319.69).
Conclusion:
Thus, the 95% confidence interval for the intercept
is(496.45, 1319.69).
(e)
To Construct:
A 95% confidence interval for the slope of regression line.

Answer to Problem 9E
Solution:
Thus, the 95% confidence interval for the slope
Explanation of Solution
Given Information:
The numbers of parking tickets students received during one semester and their monthly
Incomes is,
Parking Tickets and Monthly Income | ||||||||||
Number of Tickets, x | 10 | 8 | 3 | 2 | 0 | 5 | 4 | 2 | 1 | 0 |
Monthly Income | 4000 | 3800 | 1500 | 2000 | 870 | 2500 | 1800 | 1000 | 1200 | 1400 |
(in Dollars), y |
Calculation:
To generate the regression table in excel follow the given steps:
1. Under data tab, choose data analytics and then select regression.
2. Select the input Y range and enter the range of the given and select the input X range and enter the range of the given
data.
3.Choose 95% confidence interval and click OK.
The following table will appear.
SUMMARY OUTPUT
Regression Statistics | ||||||
Multiple R | 0.946625253 | |||||
R Square | 0.89609937 | |||||
Adjusted R Square | 0.883111792 | |||||
Standard Error | 378.940622 | |||||
Observations | 10 | |||||
ANOVA | ||||||
df | SS | MS | F | Significance F | ||
Regression | 1 | 9907642.04 | 9907642 | 68.99665 | 3.32835E-05 | |
Residual | 8 | 1148767.96 | 143596 | |||
Total | 9 | 11056410 | ||||
Coefficients | Standard Error | t Stat | P-value | Lower 95.0% | Upper 95.0% | |
Intercept | 908.0696517 | 178.5009634 | 5.087197 | 0.000945 | 496.4456924 | 1319.69361 |
X | 313.9800995 | 37.79968083 | 8.306422 | 3.33E-05 | 226.8138793 | 401.14632 |
From the above result,
1. Multiple R is the absolute value of the .
2.
3. Standard Error is the standard error of the estimate, .
4. The intersection of the Residual row and the SS column is the sum of squared errors, SSE.
5. The Lower 95.0% and the Upper 95.0% columns give the lower and upper endpoints of the 95% confidence intervals for the intercept and slope.
6. The coefficient columns gives the values for the coefficients, that is, the
intercept and slope, of the regression line.
The row labeled is the row for the values corresponding to the slope of regression line. The last two values in this row are the lower and upper endpoints for a 95% confidence for the slope of the regression line,
Thus, the 95% confidence interval for
Confidence Interval=(226.81, 401.15).
Conclusion:
Thus, the 95% confidence interval for the slope is(226.81, 401.15).
Want to see more full solutions like this?
Chapter 12 Solutions
Beginning Statistics, 2nd Edition
- Question 1 The data shown in Table 1 are and R values for 24 samples of size n = 5 taken from a process producing bearings. The measurements are made on the inside diameter of the bearing, with only the last three decimals recorded (i.e., 34.5 should be 0.50345). Table 1: Bearing Diameter Data Sample Number I R Sample Number I R 1 34.5 3 13 35.4 8 2 34.2 4 14 34.0 6 3 31.6 4 15 37.1 5 4 31.5 4 16 34.9 7 5 35.0 5 17 33.5 4 6 34.1 6 18 31.7 3 7 32.6 4 19 34.0 8 8 33.8 3 20 35.1 9 34.8 7 21 33.7 2 10 33.6 8 22 32.8 1 11 31.9 3 23 33.5 3 12 38.6 9 24 34.2 2 (a) Set up and R charts on this process. Does the process seem to be in statistical control? If necessary, revise the trial control limits. [15 pts] (b) If specifications on this diameter are 0.5030±0.0010, find the percentage of nonconforming bearings pro- duced by this process. Assume that diameter is normally distributed. [10 pts] 1arrow_forward4. (5 pts) Conduct a chi-square contingency test (test of independence) to assess whether there is an association between the behavior of the elderly person (did not stop to talk, did stop to talk) and their likelihood of falling. Below, please state your null and alternative hypotheses, calculate your expected values and write them in the table, compute the test statistic, test the null by comparing your test statistic to the critical value in Table A (p. 713-714) of your textbook and/or estimating the P-value, and provide your conclusions in written form. Make sure to show your work. Did not stop walking to talk Stopped walking to talk Suffered a fall 12 11 Totals 23 Did not suffer a fall | 2 Totals 35 37 14 46 60 Tarrow_forwardQuestion 2 Parts manufactured by an injection molding process are subjected to a compressive strength test. Twenty samples of five parts each are collected, and the compressive strengths (in psi) are shown in Table 2. Table 2: Strength Data for Question 2 Sample Number x1 x2 23 x4 x5 R 1 83.0 2 88.6 78.3 78.8 3 85.7 75.8 84.3 81.2 78.7 75.7 77.0 71.0 84.2 81.0 79.1 7.3 80.2 17.6 75.2 80.4 10.4 4 80.8 74.4 82.5 74.1 75.7 77.5 8.4 5 83.4 78.4 82.6 78.2 78.9 80.3 5.2 File Preview 6 75.3 79.9 87.3 89.7 81.8 82.8 14.5 7 74.5 78.0 80.8 73.4 79.7 77.3 7.4 8 79.2 84.4 81.5 86.0 74.5 81.1 11.4 9 80.5 86.2 76.2 64.1 80.2 81.4 9.9 10 75.7 75.2 71.1 82.1 74.3 75.7 10.9 11 80.0 81.5 78.4 73.8 78.1 78.4 7.7 12 80.6 81.8 79.3 73.8 81.7 79.4 8.0 13 82.7 81.3 79.1 82.0 79.5 80.9 3.6 14 79.2 74.9 78.6 77.7 75.3 77.1 4.3 15 85.5 82.1 82.8 73.4 71.7 79.1 13.8 16 78.8 79.6 80.2 79.1 80.8 79.7 2.0 17 82.1 78.2 18 84.5 76.9 75.5 83.5 81.2 19 79.0 77.8 20 84.5 73.1 78.2 82.1 79.2 81.1 7.6 81.2 84.4 81.6 80.8…arrow_forward
- Name: Lab Time: Quiz 7 & 8 (Take Home) - due Wednesday, Feb. 26 Contingency Analysis (Ch. 9) In lab 5, part 3, you will create a mosaic plot and conducted a chi-square contingency test to evaluate whether elderly patients who did not stop walking to talk (vs. those who did stop) were more likely to suffer a fall in the next six months. I have tabulated the data below. Answer the questions below. Please show your calculations on this or a separate sheet. Did not stop walking to talk Stopped walking to talk Totals Suffered a fall Did not suffer a fall Totals 12 11 23 2 35 37 14 14 46 60 Quiz 7: 1. (2 pts) Compute the odds of falling for each group. Compute the odds ratio for those who did not stop walking vs. those who did stop walking. Interpret your result verbally.arrow_forwardSolve please and thank you!arrow_forward7. In a 2011 article, M. Radelet and G. Pierce reported a logistic prediction equation for the death penalty verdicts in North Carolina. Let Y denote whether a subject convicted of murder received the death penalty (1=yes), for the defendant's race h (h1, black; h = 2, white), victim's race i (i = 1, black; i = 2, white), and number of additional factors j (j = 0, 1, 2). For the model logit[P(Y = 1)] = a + ß₁₂ + By + B²², they reported = -5.26, D â BD = 0, BD = 0.17, BY = 0, BY = 0.91, B = 0, B = 2.02, B = 3.98. (a) Estimate the probability of receiving the death penalty for the group most likely to receive it. [4 pts] (b) If, instead, parameters used constraints 3D = BY = 35 = 0, report the esti- mates. [3 pts] h (c) If, instead, parameters used constraints Σ₁ = Σ₁ BY = Σ; B = 0, report the estimates. [3 pts] Hint the probabilities, odds and odds ratios do not change with constraints.arrow_forward
- Solve please and thank you!arrow_forwardSolve please and thank you!arrow_forwardQuestion 1:We want to evaluate the impact on the monetary economy for a company of two types of strategy (competitive strategy, cooperative strategy) adopted by buyers.Competitive strategy: strategy characterized by firm behavior aimed at obtaining concessions from the buyer.Cooperative strategy: a strategy based on a problem-solving negotiating attitude, with a high level of trust and cooperation.A random sample of 17 buyers took part in a negotiation experiment in which 9 buyers adopted the competitive strategy, and the other 8 the cooperative strategy. The savings obtained for each group of buyers are presented in the pdf that i sent: For this problem, we assume that the samples are random and come from two normal populations of unknown but equal variances.According to the theory, the average saving of buyers adopting a competitive strategy will be lower than that of buyers adopting a cooperative strategy.a) Specify the population identifications and the hypotheses H0 and H1…arrow_forward
- You assume that the annual incomes for certain workers are normal with a mean of $28,500 and a standard deviation of $2,400. What’s the chance that a randomly selected employee makes more than $30,000?What’s the chance that 36 randomly selected employees make more than $30,000, on average?arrow_forwardWhat’s the chance that a fair coin comes up heads more than 60 times when you toss it 100 times?arrow_forwardSuppose that you have a normal population of quiz scores with mean 40 and standard deviation 10. Select a random sample of 40. What’s the chance that the mean of the quiz scores won’t exceed 45?Select one individual from the population. What’s the chance that his/her quiz score won’t exceed 45?arrow_forward
- MATLAB: An Introduction with ApplicationsStatisticsISBN:9781119256830Author:Amos GilatPublisher:John Wiley & Sons IncProbability and Statistics for Engineering and th...StatisticsISBN:9781305251809Author:Jay L. DevorePublisher:Cengage LearningStatistics for The Behavioral Sciences (MindTap C...StatisticsISBN:9781305504912Author:Frederick J Gravetter, Larry B. WallnauPublisher:Cengage Learning
- Elementary Statistics: Picturing the World (7th E...StatisticsISBN:9780134683416Author:Ron Larson, Betsy FarberPublisher:PEARSONThe Basic Practice of StatisticsStatisticsISBN:9781319042578Author:David S. Moore, William I. Notz, Michael A. FlignerPublisher:W. H. FreemanIntroduction to the Practice of StatisticsStatisticsISBN:9781319013387Author:David S. Moore, George P. McCabe, Bruce A. CraigPublisher:W. H. Freeman





