Forecasting - Solutions - 24 - 02 - 2022

Download as xlsx, pdf, or txt
Download as xlsx, pdf, or txt
You are on page 1of 3

3 period weighted

Day Number Sold a. Two-period b. Four-period moving average


1 25
2 31
3 29 28
4 33 30 28.8
5 34 31 29.5 31.4
6 37 33.5 31.75 32.7
7 35 35.5 33.25 35.3
8 32 36 34.75 35.4
9 38 33.5 34.5 33.9
10 40 35 35.5 35.6
11 37 39 36.25 37.8
12 32 38.5 36.75 38.1
13 34.5 36.75 35.1

w1 0.2 28.8
w2 0.3
w3 0.5

w1 0.1
w2 0.2
w3 0.3 Ft = Ft-1 + α(At-1 - Ft-1)
w4 0.4
4 period weighted Error Error
moving average alpha 0.85967 Error(ALPHA) (TWO PERIOD) (fOUR PERIOD)

25 36
30.15802 1.3410109753 1
29.1625 14.726368399 9
30.6 32.46148 2.3670299501 9 20.25
32.4 33.7841 10.342011574 12.25 27.5625
34.5 36.54871 2.3985117443 0.25 3.0625
35.2 35.21733 10.351217558 16 7.5625
34.1 32.45149 30.785986731 20.25 12.25
35.5 37.22138 7.7207426869 25 20.25
37.3 39.61008 6.8124969522 4 0.5625
37.6 37.36627 28.796873548 42.25 22.5625
35.7 32.75305
MSE 13.785659102 13.9 14.2578125
RMSE 3.7129044025 3.728270376461 3.775951866748

1 + α(At-1 - Ft-1) Ft = α At-1 + (1- α) Ft-1


Error(3-PERIOD WEIGHTED) REGRESSION ERROR
29.2564102564 18.117028271 28.46969697 a 29.256410256
30.0431235431 0.9156125537 0.7867132867 b 30.043123543
30.8298368298 3.3483028238 30.82983683
17.64 31.6165501166 1.91393358 31.616550117
6.76000000000001 32.4032634033 2.5495677594 32.403263403
18.49 33.18997669 14.516277623 33.18997669
0.0899999999999983 33.9766899767 1.0471634038 33.976689977
11.56 34.7634032634 7.6363975962 34.763403263
16.81 35.5501165501 6.001928918 35.55011655
19.36 36.3368298368 13.418815644 36.336829837
0.639999999999995 37.1235431235 0.0152629034 37.123543124
37.21 37.9102564103 34.931130835 37.91025641

14.2844444444444 8.700951826
3.7794767421489 2.9497375859

You might also like