Professional Documents
Culture Documents
)
4-95
Simple Linear Regression Problem Data
Week Sales
1 150
2 157
3 162
4 166
5 177
Question: Given the data below, what is the simple linear
regression model that can be used to predict sales in future
weeks?
4-96
Week Week*Week Sales Week*Sales
1 1 150 150
2 4 157 314
3 9 162 486
4 16 166 664
5 25 177 885
3 55 162.4 2499
Average Sum Average Sum
b =
xy- n( y)(x)
x - n(x
=
2499- 5(162.4)(3)
=
a = y- bx =162.4 - (6.3)(3) =
2 2
=
) ( ) 55 5 9
63
10
6.3
143.5
Answer: First, using the linear regression formulas, we
can compute a and b
4-97
Y
t
= 143.5 + 6.3x
180
Perio
d
135
140
145
150
155
160
165
170
175
1 2 3 4 5
S
a
l
e
s
Sales
Forecast
The resulting regression model
is:
Now if we plot the regression generated forecasts against the
actual sales we obtain the following chart:
97
4-98
Statistical Assumptions of Multiple Linear
Regression
The Error Term (the residual c
i
) is
Normally Distributed
There is no Serial Correlation Among
Error Terms
Magnitude of the Error Term is
Independent of the Size of Any of the
Independent Variables - X
i
Assumptions Can be Tested Through
Analyses of the Residuals - c
i
4-99
Major Statistical Problems of Multiple
Linear Regression
Multicolinarity
Use of Time-Lagged Independent
Variables
Both of These Problems Result in Models
with Potentially Valid Predictions, but the
Reliability of the | Coefficients is
Questionable
McGraw-Hill/Irwin
Copyright 2008 by The McGraw-Hill Companies, Inc. All rights reserved.
Demand Management
The End
Processing,
Influencing, &
Anticipating
Demand
Buy
Sell
Buy
Store
Move
Make
Sell
Store
Move
Sell
Make
Make
Move
Move
Buy