
(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
- Client 1 Weight before diet (pounds) Weight after diet (pounds) 128 120 2 131 123 3 140 141 4 178 170 5 121 118 6 136 136 7 118 121 8 136 127arrow_forwardClient 1 Weight before diet (pounds) Weight after diet (pounds) 128 120 2 131 123 3 140 141 4 178 170 5 121 118 6 136 136 7 118 121 8 136 127 a) Determine the mean change in patient weight from before to after the diet (after – before). What is the 95% confidence interval of this mean difference?arrow_forwardIn order to find probability, you can use this formula in Microsoft Excel: The best way to understand and solve these problems is by first drawing a bell curve and marking key points such as x, the mean, and the areas of interest. Once marked on the bell curve, figure out what calculations are needed to find the area of interest. =NORM.DIST(x, Mean, Standard Dev., TRUE). When the question mentions “greater than” you may have to subtract your answer from 1. When the question mentions “between (two values)”, you need to do separate calculation for both values and then subtract their results to get the answer. 1. Compute the probability of a value between 44.0 and 55.0. (The question requires finding probability value between 44 and 55. Solve it in 3 steps. In the first step, use the above formula and x = 44, calculate probability value. In the second step repeat the first step with the only difference that x=55. In the third step, subtract the answer of the first part from the…arrow_forward
- If a uniform distribution is defined over the interval from 6 to 10, then answer the followings: What is the mean of this uniform distribution? Show that the probability of any value between 6 and 10 is equal to 1.0 Find the probability of a value more than 7. Find the probability of a value between 7 and 9. The closing price of Schnur Sporting Goods Inc. common stock is uniformly distributed between $20 and $30 per share. What is the probability that the stock price will be: More than $27? Less than or equal to $24? The April rainfall in Flagstaff, Arizona, follows a uniform distribution between 0.5 and 3.00 inches. What is the mean amount of rainfall for the month? What is the probability of less than an inch of rain for the month? What is the probability of exactly 1.00 inch of rain? What is the probability of more than 1.50 inches of rain for the month? The best way to solve this problem is begin by creating a chart. Clearly mark the range, identifying the lower and upper…arrow_forwardProblem 1: The mean hourly pay of an American Airlines flight attendant is normally distributed with a mean of 40 per hour and a standard deviation of 3.00 per hour. What is the probability that the hourly pay of a randomly selected flight attendant is: Between the mean and $45 per hour? More than $45 per hour? Less than $32 per hour? Problem 2: The mean of a normal probability distribution is 400 pounds. The standard deviation is 10 pounds. What is the area between 415 pounds and the mean of 400 pounds? What is the area between the mean and 395 pounds? What is the probability of randomly selecting a value less than 395 pounds? Problem 3: In New York State, the mean salary for high school teachers in 2022 was 81,410 with a standard deviation of 9,500. Only Alaska’s mean salary was higher. Assume New York’s state salaries follow a normal distribution. What percent of New York State high school teachers earn between 70,000 and 75,000? What percent of New York State high school…arrow_forwardPls help asaparrow_forward
- Solve the following LP problem using the Extreme Point Theorem: Subject to: Maximize Z-6+4y 2+y≤8 2x + y ≤10 2,y20 Solve it using the graphical method. Guidelines for preparation for the teacher's questions: Understand the basics of Linear Programming (LP) 1. Know how to formulate an LP model. 2. Be able to identify decision variables, objective functions, and constraints. Be comfortable with graphical solutions 3. Know how to plot feasible regions and find extreme points. 4. Understand how constraints affect the solution space. Understand the Extreme Point Theorem 5. Know why solutions always occur at extreme points. 6. Be able to explain how optimization changes with different constraints. Think about real-world implications 7. Consider how removing or modifying constraints affects the solution. 8. Be prepared to explain why LP problems are used in business, economics, and operations research.arrow_forwardged the variance for group 1) Different groups of male stalk-eyed flies were raised on different diets: a high nutrient corn diet vs. a low nutrient cotton wool diet. Investigators wanted to see if diet quality influenced eye-stalk length. They obtained the following data: d Diet Sample Mean Eye-stalk Length Variance in Eye-stalk d size, n (mm) Length (mm²) Corn (group 1) 21 2.05 0.0558 Cotton (group 2) 24 1.54 0.0812 =205-1.54-05T a) Construct a 95% confidence interval for the difference in mean eye-stalk length between the two diets (e.g., use group 1 - group 2).arrow_forwardAn article in Business Week discussed the large spread between the federal funds rate and the average credit card rate. The table below is a frequency distribution of the credit card rate charged by the top 100 issuers. Credit Card Rates Credit Card Rate Frequency 18% -23% 19 17% -17.9% 16 16% -16.9% 31 15% -15.9% 26 14% -14.9% Copy Data 8 Step 1 of 2: Calculate the average credit card rate charged by the top 100 issuers based on the frequency distribution. Round your answer to two decimal places.arrow_forward
- Please could you check my answersarrow_forwardLet Y₁, Y2,, Yy be random variables from an Exponential distribution with unknown mean 0. Let Ô be the maximum likelihood estimates for 0. The probability density function of y; is given by P(Yi; 0) = 0, yi≥ 0. The maximum likelihood estimate is given as follows: Select one: = n Σ19 1 Σ19 n-1 Σ19: n² Σ1arrow_forwardPlease could you help me answer parts d and e. Thanksarrow_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





