Time Series Models: Zeeshan Khan
Time Series Models: Zeeshan Khan
Zeeshan Khan
Key Terms
Fore
Casting
Back
Casting
Interpolation
Forecasting Horizons
Long Term
5+ years into the future
R&D, plant location, product planning
Principally judgement-based
Medium Term
1 season to 2 years
Aggregate planning, capacity planning, sales forecasts
Mixture of quantitative methods and judgement
Short Term
1 day to 1 year, less than 1 season
Demand forecasting, staffing levels, purchasing, inventory levels
Quantitative methods
Types of Forecasts
Qualitative --- based on experience, judgement, knowledge;
Quantitative --- based on data, statistics;
Methods of Forecasting
Naive Methods --- eye-balling the numbers;
Formal Methods --- systematically reduce forecasting errors;
time series models (e.g. exponential smoothing);
causal models (e.g. regression).
Focus here on Formal Methods
Simulation method
Characteristics of Forecast
Time Series
What is a time series?
a collection of data recorded over a period of time (weekly,
monthly, quarterly)
an analysis of history, it can be used by management to make
current decisions and plans based on long-term forecasting
Usually assumes past pattern to continue into the future
Forecasting
1
F
(n
D
D
)
t
1
ti
t
1
t
it
1
n
Simple Moving Average
weight
1/n
...
today
Moving Average
Internet Unicycle Sales
n=
3
450
400
350
Units
300
250
200
150
100
50
0
Apr-01
Sep-02
Jan-04
May-05
Oct-06
Feb-08
Month
Jul-09
Nov-10
Apr-12
Aug-13
Time-Series Data
Year:
Sales:
75.3
74.2
78.5
79.7
80.2
Time-Series Plot
A time-series plot is a two-dimensional
plot of time series data
Moving Averages
Used
for smoothing
A series of arithmetic means over time
Result dependent upon choice of L (length of period for
computing means)
Last moving average of length L can be extrapolated one
period into future for a short term forecast
Examples:
For a 5 year moving average, L = 5
For a 7 year moving average, L = 7
Etc.
Sales
23
40
25
27
32
48
33
37
37
50
40
etc
Assignment # 3
MONTH
Demand
Month
Demand
January
89
July
223
February
57
August
286
March
144
September
212
April
221
October
275
May
177
November
188
June
280
December
312
Fluctuations have
been smoothed
Time
Period
(X)
Sales
(Y)
1999
2000
2001
2002
2003
2004
0
1
2
3
4
5
20
40
30
50
70
65
Y mX b
In least squares linear, non-linear, and
exponential modeling, time periods are
numbered starting with 0 and increasing
by 1 for each time period.
(continued)
Year
Time
Period (X)
Sales (Y)
1999
2000
2001
2002
2003
2004
0
1
2
3
4
5
20
40
30
50
70
65
Yi 21.905 9.5714 Xi
Year
Time
Period (X)
Sales (y)
1999
2000
2001
2002
2003
2004
2005
0
1
2
3
4
5
6
20
40
30
50
70
65
??
(continued)