Documente Academic
Documente Profesional
Documente Cultură
EXAMPLE: The data in the first two columns of the following table depicts the sales of the company. The first
two columns show the months and the sales. Calculate the forecasted value for the month of January using 3
year & 6 Year moving average method & verify the calculations.
JANUARY 450
FEBRUARY 440
MARCH 460
APRIL 410 450.00
MAY 380 436.67
JUNE 400 416.67
JULY 370 396.67 423.33
AUGUST 360 383.33 410.00
SEPTEMBER 410 376.67 396.67
OCTOBER 450 380.00 388.33
NOVEMBER 470 406.67 395.00
DECEMBER 490 443.33 410.00
JANUARY 470.00 425.00
EXAMPLE: Using the data given in the illustration 1 forecast the demand for the
period 1987 to 1991 using
3- year moving average and
5- year moving average
Find which one gives a lower error in the forecast
3 MONTH WEIGHTED
MONTH DEMAND MOVING AVERAGE
1 120
2 110
3 90
4 115 102
5 125 106.5
6 117 115
7 121 119
8 126 120.6
9 132 122.7
10 128 128
11 - 128.8
EXPONENTIAL SMOOTHING:
EXAMPLE: The data are given in the forecast two columns and the forecasts have been
prepared using the values of as 0.2 and 0.8
MONTH ACTUAL UNITS EXPONENTIAL FORECASTS
SOLD = 0.2 = 0.8
JANUARY 450 450.00 450.00
FEBRUARY 440 450.00 450.00
MARCH 460 448.00 442.00
APRIL 410 450.40 456.40
MAY 380 442.32 419.28
JUNE 400 429.86 387.86
JULY 370 423.88 397.57
AUGUST 360 413.11 375.51
SEPTEMBER 410 402.49 363.10
OCTOBER 450 403.99 400.62
NOVEMBER 470 413.19 440.12
DECEMBER 490 424.55 464.02
JANUARY - 437.64 484.80
It is apparent that the higher value, 0.8, produces a forecast which adjusts more readily
to the most recent sales.
EXAMPLE: Data on production of item for 30 periods are tabulated below. Determine
which value of the smoothing constant , out of 0.1 and 0.3, will lead to the best simple
exponential smoothing model. The first 15 values can be used for initialization of the
model and then check the error in the forecast as asked after the table.
Use the squared error or the mean squared error as the basis of comparison of the
performances.
SOLUTION:
The following table gives the forecasted values for the two different values of the
smoothing constant for the first 15 periods.
Production = 0.1 = 0.3
Month (in tones) Forecast Forecast
1 30.5 30.50 30.50
2 28.8 30.50 30.50
3 31.5 30.33 29.99
4 29.9 30.45 30.44
5 31.4 30.39 30.28
6 33.5 30.49 30.62
7 25.7 30.79 31.48
8 32.1 30.28 29.75
9 29.1 30.47 30.45
10 30.8 30.33 30.05
11 25.7 30.38 30.27
12 30.9 29.91 28.90
13 31.5 30.01 29.50
14 28.1 30.16 30.10
15 30.8 29.95 29.50
The following table now gives the forecasted values and also checks the errors in the
forecast for the last 15 periods.
SOLUTION:
The following table shows the nave forecasting model. In this model the next
periods forecast is the present periods actual observed value.
Time Demand (D) Forecast Absolute Absolute Squared
Period (F) Error Percentage Error
(T) (E) Error (E^2)
1 28 - - -
2 27 28 1 3.70 1
3 33 27 6 18.18 36
4 25 33 8 32.00 64
5 34 25 9 26.47 81
6 33 34 1 3.03 1
7 35 33 2 5.71 4
8 30 35 5 16.67 25
9 33 30 3 9.09 9
10 35 33 2 5.71 4
11 27 35 8 29.63 64
12 29 27 2 6.90 4
13 - 29 - - -
Total of Time Periods 47.00 157.10 293.00
MAD 4.27
MAPE 14.28
MSE 26.64
Time = 0.1
Period Demand (D) Squared
(T) Forecast Error Error
1 28 30 -2.00 4.00
2 27 29.80 -2.80 7.84
3 33 29.52 3.48 12.11
4 25 29.87 -4.87 23.70
5 34 29.38 4.62 21.33
6 33 29.84 3.16 9.97
7 35 30.16 4.84 23.44
8 30 30.64 -0.64 0.41
9 33 30.58 2.42 5.86
10 35 30.82 4.18 17.47
11 27 31.24 -4.24 17.97
12 29 30.81 -1.81 3.29
13 - 30.63
MSE 12.28
LINEAR TREND:
EXAMPLE: The following table gives the number of items produced in a factory
between 1988 and 1999. Determine the value of the item for the period of
2000 using rend analysis.
Perio Items Sold
d (D)
1988 600
1989 1550
1990 1500
1991 1500
1992 1500
1993 3100
1994 2600
1995 2900
1996 3800
1997 4500
1998 4000
1999 4900
Verify the calculations of a & b on your own.
SOLUTION:
X y Xy X^2 y^2
1 600 600 1 360000
2 1550 3100 4 2402500
3 1500 4500 9 2250000
4 1500 6000 16 2250000
5 1500 7500 25 2250000
6 3100 18600 36 9610000
7 2600 18200 49 6760000
8 2900 23200 64 8410000
9 3800 34200 81 14440000
10 4500 45000 100 20250000
11 4000 44000 121 16000000
12 4900 58800 144 24010000
Total 78 32450 263700 650 108992500
b = 359.61 a = 441.66
Y = 441.6 + 359.6 *X
The final equation for Y shows an intercept of 441.6 and a slope of 359.6. The slope
shows that for every unit change in X, Y changes by 359.6
Strictly based on the equation, forecasts for period 13 would be Y13= 441.6 + 359.6
(13) = 5116.4
EXAMPLE: A manufacturer of critical components for two-wheelers in the automotive
sector is interested in forecasting the trend of demand during the next year as a key input
to its annual planning exercise. Information on the past sales is available for the last three
years. Extract the trend component of the time series data and use it for predicting the
future demand of the components.
Actual demand in the last three years (in thousands of units):
Actual
Periods Demand
Year 1 : Q1 360
Year 1 : Q2 438
Year 1 : Q3 359
Year 1 : Q4 406
Year 2 : Q1 393
Year 2 : Q2 465
Year 2 : Q3 387
Year 2 : Q4 464
Year 3 : Q1 505
Year 3 : Q2 618
Year 3 : Q3 443
Year 3 : Q4 540
SOLUTION:
The model for forecasting using linear Trend is denoted by Y = a +bX.
Computation for trend extraction using the method of least squares is shown
below:
Periods X y Xy X^2
Year 1 : Q1 1 360 360 1
Year 1 : Q2 2 438 876 4
Year 1 : Q3 3 359 1077 9
Year 1 : Q4 4 406 1624 16
Year 2 : Q1 5 393 1965 25
Year 2 : Q2 6 465 2790 36
Year 2 : Q3 7 387 2709 49
Year 2 : Q4 8 464 3712 64
Year 3 : Q1 9 505 4545 81
Year 3 : Q2 10 618 6180 100
Year 3 : Q3 11 443 4873 121
Year 3 : Q4 12 540 6480 144
Sum 78 5378 37191 650
SEASONAL COMPONENT:
EXAMPLE: Extract the seasonal component and adjust the forecast obtained for
seasonality for the following data
Actual Actual
Periods Periods
Demand Demand
Year 1 : Q1 360 Year 2 : Q3 387
Year 1 : Q2 438 Year 2 : Q4 464
Year 1 : Q3 359 Year 3 : Q1 504
Year 1 : Q4 406 Year 3 : Q2 618
Year 2 : Q1 393 Year 3 : Q3 443
Year 2 : Q2 465 Year 3 : Q4 540
SOLUTION:
Computation of seasonality index
Four Quarter Average
Actual Moving Seasonality
Period demand for
Demand Average of Index
period
demand
Year 1 : Q1 360
Year 1 : Q2 438 390.75
Year 1 : Q3 359 399 394.875 0.91
Year 1 : Q4 406 405.75 402.375 1.01
Year 2: Q1 393 412.75 409.25 0.96
Year 2 : Q2 465 427.25 420 1.11
Year 2 : Q3 387 455 441.125 0.88
Year 2 : Q4 464 493.25 474.125 0.98
Year 3 : Q1 504 507.25 500.25 1.01
Year 3 : Q2 618 526.25 516.75 1.20
Year 3 : Q3 443
Year 3 : Q4 540
The forecast after the seasonality index for the next four quarters is given by:
Trend Seasonality
Seasonality
YEAR 4 adjusted adjusted
Index
forecast forecast
QUARTER 1 550 0.99 541.75
QUARTER 2 565 1.16 652.575
QUARTER 3 581 0.90 519.995
QUARTER 4 596 1.00 593.02