Академический Документы
Профессиональный Документы
Культура Документы
Introduction
In modern organizations, managers believe in being proactive. This proactive approach is based on future planning. Forecasting is a technique which can aid in future planning. Time series is an important tool that can be used to predict the future.
A time series may be defined as a collection of numerical values of some variable obtained over regular periods of time.
Generally in a long time series, the following four components are found to be present.
1. Secular trend or long term movements 2. Seasonal variations 3. Cyclic variations 4. Random or irregular movements
Demand Behavior
Trend
Random variations
Cycle
Seasonal pattern
Demand
12-7
Time Series
Assume that what has occurred in the past will continue to occur in the future Relate the forecast to only one factor - time Include
12-8
Components Of Time Series (Contd.) Secular trend or simply trend indicates the general tendency of the data to increase or decrease over a long period of time.
Seasonal Variations Seasonal variations are the variations in time series due to rhythmic forces which operate in a repetitive, predictable, and periodic manner in a time span of one year or less. Cyclical variations refer to oscillatory movements of time series with a period of oscillation of more than a year.
Cyclical variations
Random or Erratic or Irregular Variations Random or irregular variations are factors in a time series that do not repeat in a definite pattern and are random, unforeseen, unstoppable, and unpredictable.
The analysis of time series includes the decomposition of the time series into trend (T), seasonal variations (S), cyclical variations, (C) and irregular or random variation (R). The main objective of time series decomposition is to isolate, study, analyse, and measure the components of time series independently and to determine the relative impact of each on the overall behaviour of the time series.
The additive model is used when it is assumed that the four components of a time series are independent of one another. These components are termed independent of one another when the occurrence and the magnitude of movements in any particular component do not affect the other components.
In a multiplicative model, it is assumed that all the four components of a time series are not independent and the overall variation in the time series is the combined result of the interaction of all the forces operating on the time series.
Quantitative methods of time series forecasting can be broadly classified into three categories: free hand methods, smoothing methods, and exponential smoothing methods.
Freehand Method
The freehand method is the simplest method of determining trend. A freehand smooth curve is obtained by plotting the values yi against time i.
Figure : Freehand graph of sales with trend line for the example on the consumer durables company
Smoothing Techniques
In this section, we will focus on three methods of smoothing: moving averages method, weighted moving averages method, and semiaverages method. The main objective of the smoothing technique is to smooth out the random variations due to the irregular fluctuations in the time-series data.
Moving Average
Naive forecast
12-17
Di i=1 MAn =
where n = number of periods in the moving average Di = demand in period i
12-19
MONTH Jan Feb Mar Apr May June July Aug Sept Oct Nov
Di i=1
MA3 = 3
90 + 110 + 130 3
12-20
MONTH Jan Feb Mar Apr May June July Aug Sept Oct Nov
Di i=1
MA5 =
90 + 110 + 130+75+50 5
12-21
Smoothing Effects
150 125 5-month
100
Orders 75 50 25 0 | Jan | Feb | Mar 3-month
Actual
| | Apr May
| | June July
| | Aug Sept
| Oct
| Nov
Month
12-22
Wi Di
Wi = 1.00
12-23
WEIGHT
17% 33% 50%
DATA
130 110 90
3
November Forecast
WMA3 =
Wi Di i=1
Exponential Smoothing
Averaging method Weights most recent data more strongly Reacts more to recent changes Widely used, accurate method
12-25
12-26
If = 1, then Ft +1 = 1 Dt + 0 Ft = Dt
Forecast based only on most recent data
12-27
MONTH
Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec
DEMAND
37 40 41 37 45 50 43 47 56 52 55 54
F2 = D1 + (1 - )F1 = (0.30)(37) + (0.70)(37) = 37 F3 = D2 + (1 - )F2 = (0.30)(40) + (0.70)(37) = 37.9 F13 = D12 + (1 - )F12 = (0.30)(54) + (0.70)(50.84) = 51.79
12-28
1 2 3 4 5 6 7 8 9 10 11 12 13
Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec Jan
37 40 41 37 45 50 43 47 56 52 55 54
37.00 37.90 38.83 38.28 40.29 43.20 43.14 44.30 47.81 49.06 50.84 51.79
37.00 38.50 39.75 38.37 41.68 45.84 44.42 45.71 50.85 51.42 53.21 53.61
12-29
30
20 10 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13
Month 12-30
12-31
MONTH
Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec
DEMAND
37 40 41 37 45 50 43 47 56 52 55 54
T3
= 1.36
AF13 = F13 + T13 = 53.61 + 1.36 = 54.97
12-32
20
10 0
| 1
| 2
| 3
| 4
| 5
| | 6 7 Period
| 8
| 9
| 10
| 11
| 12
| 13 12-34
y(DEMAND)
73 40 41 37 45 50 43 47 56 52 55 54 557
xy
37 80 123 148 225 300 301 376 504 520 605 648 3867
x2
1 4 9 16 25 36 49 64 81 100 121 144 650
12-36
12-37
Linear trend line y = 35.2 + 1.72x Forecast for period 13 y = 35.2 + 1.72(13) = 57.56 units
70 60 50 Demand 40 Linear trend line 30 20
Actual
10
0
| 1
| 2
| 3
| 4
| 5
| | 6 7 Period
| 8
| 9
| 10
| 11
| 12
| 13
12-38
Seasonal Adjustments
Repetitive increase/ decrease in demand Use seasonal factor to adjust forecast Di D
Seasonal factor = Si =
12-39
For 2005
12-41
Forecast Accuracy
Forecast error
MAPD
12-42
MAD Example
PERIOD 1 2 3 4 5 6 7 8 9 10 11 12 DEMAND, Dt 37 40 41 37 MAD 45 50 43 47 56 52 55 54 557 Ft ( =0.3) (Dt - Ft) |Dt - Ft| 3.00 3.10 1.83 6.72 9.69 0.20 3.86 11.70 4.19 5.94 3.15 53.39 37.00 37.00 3.00 37.90 3.10 D t - Ft -1.83 38.83 n 38.28 6.72 40.29 9.69 53.39 43.20 -0.20 43.14 3.86 11 44.30 11.70 4.19 4.8547.81 49.06 5.94 50.84 3.15 49.31
= = =
12-44
Average error
E= n
et
12-45
Comparison of Forecasts
FORECAST Exponential smoothing ( = 0.30) Exponential smoothing ( = 0.50) Adjusted exponential smoothing ( = 0.50, = 0.30) Linear trend line
12-46
Moving average Exponential smoothing Adjusted exponential smoothing Linear trend line
12-47
12-48
12-49
12-50
12-51
Using Excel
12-52
Regression Methods
Linear regression
a mathematical technique that relates a dependent variable to an independent variable in the form of a linear equation a measure of the strength of the relationship between independent and dependent variables
Correlation
12-53
Linear Regression
y = a + bx
where
xy
145.2 240.6 247.2 424.0 264.0 319.2 195.0 332.5 2167.7
x2
16 36 36 64 36 49 25 49 311
12-55
xy - nxy2 b= x2 - nx2
(2,167.7) - (8)(6.125)(43.36) = (311) - (8)(6.125)2 = 4.06 a = y - bx = 43.36 - (4.06)(6.125) = 18.46
12-56
Attendance, y
12-57
Coefficient of determination, r2
Percentage of variation in dependent variable resulting from changes in the independent variable
12-58
Computing Correlation
r= n xy - x y
[n x2 - ( x)2] [n y2 - ( y)2] (8)(2,167.7) - (49)(346.9) r=
12-60
12-61
12-62
Multiple Regression
Study the relationship of demand to two or more independent variables
y = 0 + 1x1 + 2x2 + kxk where 0 = the intercept 1, , k = parameters for the independent variables x1, , xk = independent variables
12-63
12-64
Thank You
12-65