Академический Документы
Профессиональный Документы
Культура Документы
17-1
Demand Characteristics
Demand
Demand
Random
movemen
t
Time Time
(a) Trend (b) Cycle
Demand
Demand
Time Time
(c) Seasonal pattern (d) Trend with seasonal pattern
Forecasting Models
Subjective Models
Delphi Methods
Causal Models
Regression Models
Time Series Models
Moving Averages
Exponential Smoothing
17-3
Using Linear Regression to
account for trend
xy - nxy
y = a + bx b =
x2 - nx2
a = y-bx
where
a = intercept where
b = slope of the line n = number of periods
x = time period
x
y = forecast for x = = mean of the x values
demand for period x n
y
y = n = mean of the y values
Least Squares Example
x(PERIOD) y(DEMAND) xy x2
1 37 37 1
2 40 80 4
3 41 123 9
4 37 148 16
5 45 225 25
6 50 300 36
7 43 301 49
8 47 376 64
9 56 504 81
10 52 520 100
11 55 605 121
12 54 648 144
78 557 3867 650
Least Squares Example
(cont.)
78
x = = 6.5
12
557
y = = 46.42
12
xy - nxy 3867 - (12)(6.5)(46.42)
b = = =1.72
x - nx
2 2
650 - 12(6.5) 2
a = y - bx
= 46.42 - (1.72)(6.5) = 35.2
Linear trend line y = 35.2 + 1.72x
Forecast for period 13 y = 35.2 + 1.72(13) = 57.56 units
70
60
Actual
50
Demand
40
Linear trend line
30
20
10 | | | | | | | | | | | | |
1 2 3 4 5 6 7 8 9 10 11 12 13
0 Period
Seasonal Adjustments
A1 42.0
A3 21.9
S1 = = = 0.28 S3 = = = 0.15
Aij 148.7 Aij 148.7
A2 29.5
A4 55.3
S2 = = = 0.20 S4 = = = 0.37
Aij 148.7 Aij 148.7
Forecast to account for both
Trend and Seasonality
Step 1: Calculate the seasonal index for each season.
Step 2: Use linear regression to forecast the total demand for the
following year to account for trend. (In the previous slide
example, use the year as dependent variable, and yearly
demand as independent variable)