Forecasting Values
Forecasting Values
F(t+1)=Alpha*Yt+(1-alpha)Ft
0.4
F2 17 alpha=0.4 FE abs FE (FE)^2 %error
F3 21 17 4 4 16 19.04762
F4 19 18.6 0.4 0.4 0.16 2.105263
F5 23 18.76 4.24 4.24 17.9776 18.43478
F6 18 20.456 -2.456 2.456 6.031936 13.64444
F7 16 19.4736 -3.4736 3.4736 12.0659 21.71
F8 20 18.08416 1.91584 1.91584 3.670443 9.5792
F9 18 18.8505 -0.850496 0.850496 0.723343 4.724978
F10 22 18.5103 3.489702 3.489702 12.17802 15.86228
F11 20 19.90618 0.093821 0.093821 0.008802 0.469107
F12 15 19.94371 -4.943707 4.943707 24.44024 32.95805
22 17.96622 4.033776 4.033776 16.27135 18.33534
18.86824 0.586303 2.717904 9.957057 14.26101
3pwma FE abs FE (FE)^2 %error
4 6 8 10 12 14
Year sales
1 21.6 there is a trend
2 22.9
3 25.5
4 21.9 sales
5 23.9 35
6 27.5
7 31.5 30
8 29.7
25
9 28.6
10 31.4 20
15
SUMMARY OUTPUT 10
Regression Statistics 5
Multiple R 0.874526 strong realtionship
0
R Square 0.764796 0 2 4 6 8
Adjusted R 0.735396
Standard E 1.958954
Observatio 10
H0:all b are 0 H1: all b are not zero
ANOVA
df SS MS F Significance F
Regression 1 99.825 99.825 26.01303 0.00093
Residual 8 30.7 3.8375
Total 9 130.525
Coefficients
Standard Error t Stat P-value Lower 95%Upper 95%Lower 95.0%
Upper 95.0%
Intercept 20.4 1.33822 15.24413 3.4E-07 17.31406 23.48594 17.31406 23.48594
Year 1.1 0.215674 5.100297 0.00093 0.602656 1.597344 0.602656 1.597344
y-20.2+1.1x
forecast fo 32.5
6 8 10 12
DEPEN INDEP INDEP INDEP
Year Quarter sales Q1 Q2 Q3
1 1 125 1 0 0
2 153 0 1 0
3 106 0 0 1 SUMMARY OUTPUT
4 88 0 0 0
2 1 118 1 0 0 Regression Statistics
2 161 0 1 0 Multiple R 0.893791
3 133 0 0 1 R Square 0.798863
4 102 0 0 0 Adjusted R 0.76115
3 1 138 1 0 0 Standard E 11.32475
2 144 0 1 0 Observatio 20
3 113 0 0 1
4 80 0 0 0 ANOVA
4 1 109 1 0 0 df
2 137 0 1 0 Regression 3
3 125 0 0 1 Residual 16
4 109 0 0 0 Total 19
5 1 130 1 0 0
2 165 0 1 0 Coefficients
3 128 0 0 1 Intercept 95
4 96 0 0 0 Q1 29
6 1 124 1 0 0 Q2 57
2 153 0 1 0 Q3 26
3 182 0 0 1
4 211 0 0 0 y=95+29Q1+57Q2+26Q3
Q1
Q2
Q3
Q4
Chart Title
180
160
140
120
100
correlation coefficient only used for 2 variables 80
coeff of det
60
40
20
0
1 2 3 4
Quarter sales Q1
SS MS F Significance
h0: all b are F0,h1:all b are not zero
8150 2716.667 21.18259 8.104E-06
2052 128.25
10202 Chart Title
250
Standard Error t Stat P-value Lower 95%Upper 95%Lower 95.0%
Upper 95.0%
5.064583 18.75771 2.566E-12 84.26356 105.7364 84.26356 105.7364 200
7.162402 4.048921 0.000931 13.81639 44.18361 13.81639 44.18361
7.162402 7.958224 5.935E-07 41.81639 72.18361 41.81639 72.18361 150
7.162402 3.630067 0.002252 10.81639 41.18361 10.81639 41.18361
100
y=95+29Q1+57Q2+26Q3
50
124
152
0
150 1 2 3 4 5 6 7 8 9 10 11 12 13 1
95
Quarter
Chart Title
3 4 5
ter sales Q1 Q2 Q3
Chart Title
5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
Quarter sales
Year Quarter Sales Y Q1 Q2 Q3 Q4
1 1 4.8 1 0 0 1
2 4.1 0 1 0 2
3 6 0 0 1 3
4 6.5 0 0 0 4
2 1 5.8 1 0 0 5
2 5.2 0 1 0 6
3 6.8 0 0 1 7
4 7.4 0 0 0 8
3 1 6 1 0 0 9
2 5.6 0 1 0 10
3 7.5 0 0 1 11
4 7.8 0 0 0 12
4 1 6.3 1 0 0 13
2 5.9 0 1 0 14
3 8 0 0 1 15
4 8.4 0 0 0 16
5 1
2
3
4
Sales Y
9
8
7
6
5
4
3
2
1
0
1 2 3 4 5 6 7 8 9 10 11 12 13 14
SUMMARY OUTPUT
Regression Statistics
Multiple R 0.988066
R Square 0.976274
Adjusted R 0.967647
Standard E 0.216664
Observatio 16
ANOVA
df SS MS F Significance F
Regression 4 21.248 5.312 113.1581 7.376E-09
Residual 11 0.516375 0.046943
Total 15 21.76438
Coefficients
Standard Error t Stat P-value Lower 95%Upper 95%Lower 95.0%
Upper 95.0%
Intercept 6.06875 0.162498 37.34666 6.123E-13 5.711095 6.426405 5.711095 6.426405
Q1 -1.363125 0.157454 -8.657272 3.06E-06 -1.70968 -1.01657 -1.70968 -1.01657
Q2 -2.03375 0.155108 -13.11186 4.655E-08 -2.37514 -1.69236 -2.37514 -1.69236
Q3 -0.304375 0.153682 -1.980545 0.073201 -0.642628 0.033878 -0.642628 0.033878
Q4 0.145625 0.012112 12.02333 1.14E-07 0.118967 0.172283 0.118967 0.172283
7 8 9 10 11 12 13 14 15 16
Year Quarter Sales Y Q1 Q2 Q3 Q4 seas avera
1 1 4.8 1 0 0 1 5.725
2 4.1 0 1 0 2 5.2
3 6 0 0 1 3 7.075
4 6.5 0 0 0 4 7.525
2 1 5.8 1 0 0 5 6.38125
2 5.2 0 1 0 6
3 6.8 0 0 1 7
4 7.4 0 0 0 8
3 1 6 1 0 0 9
2 5.6 0 1 0 10
3 7.5 0 0 1 11
4 7.8 0 0 0 12
4 1 6.3 1 0 0 13
2 5.9 0 1 0 14
3 8 0 0 1 15
4 8.4 0 0 0 16
4
Coefficients
Standard Error t Stat P-value Lower 95%
Intercept 5.202642 0.143961 36.13934 3.176E-15 4.893877
Q4 0.13866 0.014888 9.313494 2.238E-07 0.106728
y=5.20264173657934+0.138659795696549*time
We Sell Beauty (WSB) is a manufacturer and distributor of of health and beauty products. WSB is
interested in forecasting demand for ‘Kesh’, their shampoo brand which is sold in 100 ml bottles.
WSB believes that the monthly demand for ‘Kesh’ depends on the promotion expenditure (in
thousands of rupees) and whether the competition was on promotion or not during that month.
The data for 48 months (starting from January 2012) is given. The table has the quantity of 100 ml
bottles sold during the month, promotion expenses (in thousands of rupees) incurred by the
company, and whether the competition was on promotion (value of 1 implies that the competition
was on promotion and 0 otherwise).
Sale Quantity
6000000
5000000
4000000
3000000
2000000
1000000
0
1 3 5 7 9 11 13 15 17 19 21 23 25 27 29 31 33 35 37 39 41 43 45 47
SUMMARY OUTPUT
Regression Statistics
Multiple R 0.933333
R Square 0.871111
Adjusted R 0.865383
Standard E 228710
Observatio 48
ANOVA
df SS MS F Significance F
Regression 2 1.59E+13 7.95E+12 152.0691 9.546E-21
Residual 45 2.35E+12 5.23E+10
Total 47 1.83E+13
Coefficients
Standard Error t Stat P-value Lower 95% Upper 95% Lower 95.0%
Upper 95.0%
Intercept 490226.9 268450.9 1.826132 0.074469 -50461 1030914.909 -50461 1030915
Promotion 24936.3 1823.733 13.67322 1.239E-17 21263.11 28609.48297 21263.11 28609.48
Competitio -219472 77168.16 -2.844071 0.006678 -374896 -64047.03924 -374896 -64047
0.2 error weekly-7,monthly- 12,quarterly- 4 for wpma
3002666
f2 3002666 1398887
f3 3282443.4 -77164.4
f4 3267010.52 978338.5
f5 3462678.216 -460738
f6 3370530.573 1007235
f7 3571977.658 -773635
f8 3417250.727 886417.3
f9 3594534.181 -636349
f10 3467264.345 156121.7
f11 3498488.676 -219374
f12 3454613.941 -610848
f13 3332444.353 1115137
f14 3555471.682 119833.3
f15 3579438.346 -102282
f16 3558981.877 161812.1
f17 3591344.301 242741.7
f18 3639892.641 249020.4
f19 3689696.713 181645.3
f20 3726025.77 -46163.77
f21 3716793.016 -358551
f22 3645082.813 -283595
f23 3588363.85 81998.15
f24 3604763.48 -480797
f25 3508603.984 1125443
f26 3733692.587 39186.41
f27 3741529.87 -554420
f28 3630645.896 -536963
f29 3523253.317 1034110
f30 3730075.253 86880.75
f31 3747451.403 663435.6
f32 3880138.522 -185426
f33 3843053.418 -20384.42
f34 3838976.534 -149691
f35 3809038.427 -80384.43
f36 3792961.542 939715.5
f37 3980904.634 -764422
f38 3828020.307 -374781
f39 3753064.045 1678587
f40 4088781.436 153069.6
f41 4119395.349 -209508
f42 4077493.679 -861056
f43 3905282.543 316722.5
f44 3968627.035 -347593
f45 3899108.428 1263093
f46 4151726.942 475450.1
f47 4246816.954 377128
f48 4322242.563 277125.4
Upper 95.0%