Free Statistics

of Irreproducible Research!

Author's title

Author*Unverified author*
R Software ModulePatrick.Wessarwasp_demand_forecasting_croston.wasp
Title produced by softwareCroston Forecasting
Date of computationThu, 13 May 2010 12:20:51 +0000
Cite this page as followsStatistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?v=date/2010/May/13/t1273753293uifznz32jyo6s74.htm/, Retrieved Mon, 06 May 2024 04:17:27 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=75898, Retrieved Mon, 06 May 2024 04:17:27 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywordsFM22,steven,coomans,thesis,Arima
Estimated Impact155
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-       [Croston Forecasting] [FM22,steven,cooma...] [2010-05-13 12:20:51] [d41d8cd98f00b204e9800998ecf8427e] [Current]
Feedback Forum

Post a new message
Dataseries X:
594,25
853,75
766,5
758,05
756,85
685,4
696,525
610,025
708,325
619,1
740,525
730,5
489,75
766,525
780,125
804,975
529,25
743,75
771,15
830,5
600
856,1
702,75
533,775
311,25
590
738
797,05
531,3
820
533,25
633,25
634,275
747,3
220,375
195,75
123,25
161,75
126,75
285,1
461,5
463,625
325,875
177
223
168,45
251,75
131,5
110,375
164,125




Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time8 seconds
R Serverwessa.org @ wessa.org

\begin{tabular}{lllllllll}
\hline
Summary of computational transaction \tabularnewline
Raw Input & view raw input (R code)  \tabularnewline
Raw Output & view raw output of R engine  \tabularnewline
Computing time & 8 seconds \tabularnewline
R Server & wessa.org @ wessa.org \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=75898&T=0

[TABLE]
[ROW][C]Summary of computational transaction[/C][/ROW]
[ROW][C]Raw Input[/C][C]view raw input (R code) [/C][/ROW]
[ROW][C]Raw Output[/C][C]view raw output of R engine [/C][/ROW]
[ROW][C]Computing time[/C][C]8 seconds[/C][/ROW]
[ROW][C]R Server[/C][C]wessa.org @ wessa.org[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=75898&T=0

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=75898&T=0

As an alternative you can also use a QR Code:  

The GUIDs for individual cells are displayed in the table below:

Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time8 seconds
R Serverwessa.org @ wessa.org







Demand Forecast
PointForecast95% LB80% LB80% UB95% UB
5188.6940157741384-187.431071878883-91.8544744834071269.242506031684364.81910342716
52149.491608238403-150.606672129007-46.732110184846345.715326661651449.589888605812
53256.083170244488-66.210006424773745.3469891805474466.819351308428578.376346913749
54221.022442877749-122.032662864246-3.28923391813555445.334119673633564.077548619743
55217.780111775789-144.850167467048-19.3310829927171454.891306544295580.410391018627
56140.218936737977-240.982628410732-109.035369186947389.473242662902521.420501886687
57138.143399378991-260.765797205787-122.68930439813398.976103156112537.052595963769
58116.156523544575-299.706988882280-155.762011493496388.075058582646532.020035971429
59238.729439584477-193.423744849108-43.8403394698624521.299218638816670.882624018061
60176.659212499157-271.191531221842-116.174648874397469.49307387271624.509956220155
61169.189604690315-293.806615514896-133.547351460675471.926560841305632.185824895527
62202.7036874278-274.974928714266-109.633571405914515.040946261513680.382303569866
63187.204247435007-347.189636726345-162.217131869142536.625626739156721.59813159636
64187.204247435007-373.42076233663-179.368742999255553.777237869269747.829257206644
65187.204247435007-398.478243112422-195.752949020446570.161443890461772.886737982437
66187.204247435007-422.506797147778-211.464376008228585.872870878243796.915292017792
67187.204247435007-445.623640729399-226.579667572848600.988162442862820.032135599414
68187.204247435007-467.925292572932-241.161933910266615.57042878028842.333787442946
69187.204247435007-489.492355440613-255.263878333883629.672373203898863.900850310628
70187.204247435007-510.392964784047-268.930052220849643.338547090863884.801459654062
71187.204247435007-530.685332269412-282.198518133797656.607013003811905.093827139427
72187.204247435007-550.419658631343-295.102100568775669.510595438789924.828153501357
73187.204247435007-569.639597061974-307.669342813905682.07783768392944.048091931988
74187.204247435007-588.383389847435-319.925250156044694.333745026059962.79188471745

\begin{tabular}{lllllllll}
\hline
Demand Forecast \tabularnewline
Point & Forecast & 95% LB & 80% LB & 80% UB & 95% UB \tabularnewline
51 & 88.6940157741384 & -187.431071878883 & -91.8544744834071 & 269.242506031684 & 364.81910342716 \tabularnewline
52 & 149.491608238403 & -150.606672129007 & -46.732110184846 & 345.715326661651 & 449.589888605812 \tabularnewline
53 & 256.083170244488 & -66.2100064247737 & 45.3469891805474 & 466.819351308428 & 578.376346913749 \tabularnewline
54 & 221.022442877749 & -122.032662864246 & -3.28923391813555 & 445.334119673633 & 564.077548619743 \tabularnewline
55 & 217.780111775789 & -144.850167467048 & -19.3310829927171 & 454.891306544295 & 580.410391018627 \tabularnewline
56 & 140.218936737977 & -240.982628410732 & -109.035369186947 & 389.473242662902 & 521.420501886687 \tabularnewline
57 & 138.143399378991 & -260.765797205787 & -122.68930439813 & 398.976103156112 & 537.052595963769 \tabularnewline
58 & 116.156523544575 & -299.706988882280 & -155.762011493496 & 388.075058582646 & 532.020035971429 \tabularnewline
59 & 238.729439584477 & -193.423744849108 & -43.8403394698624 & 521.299218638816 & 670.882624018061 \tabularnewline
60 & 176.659212499157 & -271.191531221842 & -116.174648874397 & 469.49307387271 & 624.509956220155 \tabularnewline
61 & 169.189604690315 & -293.806615514896 & -133.547351460675 & 471.926560841305 & 632.185824895527 \tabularnewline
62 & 202.7036874278 & -274.974928714266 & -109.633571405914 & 515.040946261513 & 680.382303569866 \tabularnewline
63 & 187.204247435007 & -347.189636726345 & -162.217131869142 & 536.625626739156 & 721.59813159636 \tabularnewline
64 & 187.204247435007 & -373.42076233663 & -179.368742999255 & 553.777237869269 & 747.829257206644 \tabularnewline
65 & 187.204247435007 & -398.478243112422 & -195.752949020446 & 570.161443890461 & 772.886737982437 \tabularnewline
66 & 187.204247435007 & -422.506797147778 & -211.464376008228 & 585.872870878243 & 796.915292017792 \tabularnewline
67 & 187.204247435007 & -445.623640729399 & -226.579667572848 & 600.988162442862 & 820.032135599414 \tabularnewline
68 & 187.204247435007 & -467.925292572932 & -241.161933910266 & 615.57042878028 & 842.333787442946 \tabularnewline
69 & 187.204247435007 & -489.492355440613 & -255.263878333883 & 629.672373203898 & 863.900850310628 \tabularnewline
70 & 187.204247435007 & -510.392964784047 & -268.930052220849 & 643.338547090863 & 884.801459654062 \tabularnewline
71 & 187.204247435007 & -530.685332269412 & -282.198518133797 & 656.607013003811 & 905.093827139427 \tabularnewline
72 & 187.204247435007 & -550.419658631343 & -295.102100568775 & 669.510595438789 & 924.828153501357 \tabularnewline
73 & 187.204247435007 & -569.639597061974 & -307.669342813905 & 682.07783768392 & 944.048091931988 \tabularnewline
74 & 187.204247435007 & -588.383389847435 & -319.925250156044 & 694.333745026059 & 962.79188471745 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=75898&T=1

[TABLE]
[ROW][C]Demand Forecast[/C][/ROW]
[ROW][C]Point[/C][C]Forecast[/C][C]95% LB[/C][C]80% LB[/C][C]80% UB[/C][C]95% UB[/C][/ROW]
[ROW][C]51[/C][C]88.6940157741384[/C][C]-187.431071878883[/C][C]-91.8544744834071[/C][C]269.242506031684[/C][C]364.81910342716[/C][/ROW]
[ROW][C]52[/C][C]149.491608238403[/C][C]-150.606672129007[/C][C]-46.732110184846[/C][C]345.715326661651[/C][C]449.589888605812[/C][/ROW]
[ROW][C]53[/C][C]256.083170244488[/C][C]-66.2100064247737[/C][C]45.3469891805474[/C][C]466.819351308428[/C][C]578.376346913749[/C][/ROW]
[ROW][C]54[/C][C]221.022442877749[/C][C]-122.032662864246[/C][C]-3.28923391813555[/C][C]445.334119673633[/C][C]564.077548619743[/C][/ROW]
[ROW][C]55[/C][C]217.780111775789[/C][C]-144.850167467048[/C][C]-19.3310829927171[/C][C]454.891306544295[/C][C]580.410391018627[/C][/ROW]
[ROW][C]56[/C][C]140.218936737977[/C][C]-240.982628410732[/C][C]-109.035369186947[/C][C]389.473242662902[/C][C]521.420501886687[/C][/ROW]
[ROW][C]57[/C][C]138.143399378991[/C][C]-260.765797205787[/C][C]-122.68930439813[/C][C]398.976103156112[/C][C]537.052595963769[/C][/ROW]
[ROW][C]58[/C][C]116.156523544575[/C][C]-299.706988882280[/C][C]-155.762011493496[/C][C]388.075058582646[/C][C]532.020035971429[/C][/ROW]
[ROW][C]59[/C][C]238.729439584477[/C][C]-193.423744849108[/C][C]-43.8403394698624[/C][C]521.299218638816[/C][C]670.882624018061[/C][/ROW]
[ROW][C]60[/C][C]176.659212499157[/C][C]-271.191531221842[/C][C]-116.174648874397[/C][C]469.49307387271[/C][C]624.509956220155[/C][/ROW]
[ROW][C]61[/C][C]169.189604690315[/C][C]-293.806615514896[/C][C]-133.547351460675[/C][C]471.926560841305[/C][C]632.185824895527[/C][/ROW]
[ROW][C]62[/C][C]202.7036874278[/C][C]-274.974928714266[/C][C]-109.633571405914[/C][C]515.040946261513[/C][C]680.382303569866[/C][/ROW]
[ROW][C]63[/C][C]187.204247435007[/C][C]-347.189636726345[/C][C]-162.217131869142[/C][C]536.625626739156[/C][C]721.59813159636[/C][/ROW]
[ROW][C]64[/C][C]187.204247435007[/C][C]-373.42076233663[/C][C]-179.368742999255[/C][C]553.777237869269[/C][C]747.829257206644[/C][/ROW]
[ROW][C]65[/C][C]187.204247435007[/C][C]-398.478243112422[/C][C]-195.752949020446[/C][C]570.161443890461[/C][C]772.886737982437[/C][/ROW]
[ROW][C]66[/C][C]187.204247435007[/C][C]-422.506797147778[/C][C]-211.464376008228[/C][C]585.872870878243[/C][C]796.915292017792[/C][/ROW]
[ROW][C]67[/C][C]187.204247435007[/C][C]-445.623640729399[/C][C]-226.579667572848[/C][C]600.988162442862[/C][C]820.032135599414[/C][/ROW]
[ROW][C]68[/C][C]187.204247435007[/C][C]-467.925292572932[/C][C]-241.161933910266[/C][C]615.57042878028[/C][C]842.333787442946[/C][/ROW]
[ROW][C]69[/C][C]187.204247435007[/C][C]-489.492355440613[/C][C]-255.263878333883[/C][C]629.672373203898[/C][C]863.900850310628[/C][/ROW]
[ROW][C]70[/C][C]187.204247435007[/C][C]-510.392964784047[/C][C]-268.930052220849[/C][C]643.338547090863[/C][C]884.801459654062[/C][/ROW]
[ROW][C]71[/C][C]187.204247435007[/C][C]-530.685332269412[/C][C]-282.198518133797[/C][C]656.607013003811[/C][C]905.093827139427[/C][/ROW]
[ROW][C]72[/C][C]187.204247435007[/C][C]-550.419658631343[/C][C]-295.102100568775[/C][C]669.510595438789[/C][C]924.828153501357[/C][/ROW]
[ROW][C]73[/C][C]187.204247435007[/C][C]-569.639597061974[/C][C]-307.669342813905[/C][C]682.07783768392[/C][C]944.048091931988[/C][/ROW]
[ROW][C]74[/C][C]187.204247435007[/C][C]-588.383389847435[/C][C]-319.925250156044[/C][C]694.333745026059[/C][C]962.79188471745[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=75898&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=75898&T=1

As an alternative you can also use a QR Code:  

The GUIDs for individual cells are displayed in the table below:

Demand Forecast
PointForecast95% LB80% LB80% UB95% UB
5188.6940157741384-187.431071878883-91.8544744834071269.242506031684364.81910342716
52149.491608238403-150.606672129007-46.732110184846345.715326661651449.589888605812
53256.083170244488-66.210006424773745.3469891805474466.819351308428578.376346913749
54221.022442877749-122.032662864246-3.28923391813555445.334119673633564.077548619743
55217.780111775789-144.850167467048-19.3310829927171454.891306544295580.410391018627
56140.218936737977-240.982628410732-109.035369186947389.473242662902521.420501886687
57138.143399378991-260.765797205787-122.68930439813398.976103156112537.052595963769
58116.156523544575-299.706988882280-155.762011493496388.075058582646532.020035971429
59238.729439584477-193.423744849108-43.8403394698624521.299218638816670.882624018061
60176.659212499157-271.191531221842-116.174648874397469.49307387271624.509956220155
61169.189604690315-293.806615514896-133.547351460675471.926560841305632.185824895527
62202.7036874278-274.974928714266-109.633571405914515.040946261513680.382303569866
63187.204247435007-347.189636726345-162.217131869142536.625626739156721.59813159636
64187.204247435007-373.42076233663-179.368742999255553.777237869269747.829257206644
65187.204247435007-398.478243112422-195.752949020446570.161443890461772.886737982437
66187.204247435007-422.506797147778-211.464376008228585.872870878243796.915292017792
67187.204247435007-445.623640729399-226.579667572848600.988162442862820.032135599414
68187.204247435007-467.925292572932-241.161933910266615.57042878028842.333787442946
69187.204247435007-489.492355440613-255.263878333883629.672373203898863.900850310628
70187.204247435007-510.392964784047-268.930052220849643.338547090863884.801459654062
71187.204247435007-530.685332269412-282.198518133797656.607013003811905.093827139427
72187.204247435007-550.419658631343-295.102100568775669.510595438789924.828153501357
73187.204247435007-569.639597061974-307.669342813905682.07783768392944.048091931988
74187.204247435007-588.383389847435-319.925250156044694.333745026059962.79188471745







Actuals and Interpolation
TimeActualForecast
1594.25593.655750472382
2853.75647.942799207107
3766.5744.673364998473
4758.05753.778778169047
5756.85755.529720168062
6685.4749.907388162832
7696.525723.33892944098
8610.025704.516968331494
9708.325672.68501267814
10619.1680.23484230233
11740.525664.582874665436
12730.5696.052601976007
13489.75655.544241875514
14766.525680.45740717072
15780.125686.76864206964
16804.975724.218996193073
17529.25753.807367605178
18743.75635.506534904222
19771.15686.076054174035
20830.5691.728771063574
21600782.989097499081
22856.1676.610491913217
23702.75794.826530239656
24533.775749.345042400237
25311.25576.525816892812
26590540.525418350128
27738581.845867357353
28797.05660.565830930517
29531.3600.288183112223
30820674.707766590396
31533.25745.636209048273
32633.25694.548612624309
33634.275554.468246486220
34747.3712.272349523156
35220.375640.90531318958
36195.75391.230261941304
37123.25245.312950038669
38161.75281.611155066594
39126.75286.879143124124
40285.1239.469364780464
41461.5194.082609246879
42463.625389.383530982008
43325.875290.573224811809
44177332.245829765658
45223316.860055686865
46168.45272.113450680930
47251.7533.9050653080551
48131.5146.848855028763
49110.375136.067930419851
50164.125103.076560780786

\begin{tabular}{lllllllll}
\hline
Actuals and Interpolation \tabularnewline
Time & Actual & Forecast \tabularnewline
1 & 594.25 & 593.655750472382 \tabularnewline
2 & 853.75 & 647.942799207107 \tabularnewline
3 & 766.5 & 744.673364998473 \tabularnewline
4 & 758.05 & 753.778778169047 \tabularnewline
5 & 756.85 & 755.529720168062 \tabularnewline
6 & 685.4 & 749.907388162832 \tabularnewline
7 & 696.525 & 723.33892944098 \tabularnewline
8 & 610.025 & 704.516968331494 \tabularnewline
9 & 708.325 & 672.68501267814 \tabularnewline
10 & 619.1 & 680.23484230233 \tabularnewline
11 & 740.525 & 664.582874665436 \tabularnewline
12 & 730.5 & 696.052601976007 \tabularnewline
13 & 489.75 & 655.544241875514 \tabularnewline
14 & 766.525 & 680.45740717072 \tabularnewline
15 & 780.125 & 686.76864206964 \tabularnewline
16 & 804.975 & 724.218996193073 \tabularnewline
17 & 529.25 & 753.807367605178 \tabularnewline
18 & 743.75 & 635.506534904222 \tabularnewline
19 & 771.15 & 686.076054174035 \tabularnewline
20 & 830.5 & 691.728771063574 \tabularnewline
21 & 600 & 782.989097499081 \tabularnewline
22 & 856.1 & 676.610491913217 \tabularnewline
23 & 702.75 & 794.826530239656 \tabularnewline
24 & 533.775 & 749.345042400237 \tabularnewline
25 & 311.25 & 576.525816892812 \tabularnewline
26 & 590 & 540.525418350128 \tabularnewline
27 & 738 & 581.845867357353 \tabularnewline
28 & 797.05 & 660.565830930517 \tabularnewline
29 & 531.3 & 600.288183112223 \tabularnewline
30 & 820 & 674.707766590396 \tabularnewline
31 & 533.25 & 745.636209048273 \tabularnewline
32 & 633.25 & 694.548612624309 \tabularnewline
33 & 634.275 & 554.468246486220 \tabularnewline
34 & 747.3 & 712.272349523156 \tabularnewline
35 & 220.375 & 640.90531318958 \tabularnewline
36 & 195.75 & 391.230261941304 \tabularnewline
37 & 123.25 & 245.312950038669 \tabularnewline
38 & 161.75 & 281.611155066594 \tabularnewline
39 & 126.75 & 286.879143124124 \tabularnewline
40 & 285.1 & 239.469364780464 \tabularnewline
41 & 461.5 & 194.082609246879 \tabularnewline
42 & 463.625 & 389.383530982008 \tabularnewline
43 & 325.875 & 290.573224811809 \tabularnewline
44 & 177 & 332.245829765658 \tabularnewline
45 & 223 & 316.860055686865 \tabularnewline
46 & 168.45 & 272.113450680930 \tabularnewline
47 & 251.75 & 33.9050653080551 \tabularnewline
48 & 131.5 & 146.848855028763 \tabularnewline
49 & 110.375 & 136.067930419851 \tabularnewline
50 & 164.125 & 103.076560780786 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=75898&T=2

[TABLE]
[ROW][C]Actuals and Interpolation[/C][/ROW]
[ROW][C]Time[/C][C]Actual[/C][C]Forecast[/C][/ROW]
[ROW][C]1[/C][C]594.25[/C][C]593.655750472382[/C][/ROW]
[ROW][C]2[/C][C]853.75[/C][C]647.942799207107[/C][/ROW]
[ROW][C]3[/C][C]766.5[/C][C]744.673364998473[/C][/ROW]
[ROW][C]4[/C][C]758.05[/C][C]753.778778169047[/C][/ROW]
[ROW][C]5[/C][C]756.85[/C][C]755.529720168062[/C][/ROW]
[ROW][C]6[/C][C]685.4[/C][C]749.907388162832[/C][/ROW]
[ROW][C]7[/C][C]696.525[/C][C]723.33892944098[/C][/ROW]
[ROW][C]8[/C][C]610.025[/C][C]704.516968331494[/C][/ROW]
[ROW][C]9[/C][C]708.325[/C][C]672.68501267814[/C][/ROW]
[ROW][C]10[/C][C]619.1[/C][C]680.23484230233[/C][/ROW]
[ROW][C]11[/C][C]740.525[/C][C]664.582874665436[/C][/ROW]
[ROW][C]12[/C][C]730.5[/C][C]696.052601976007[/C][/ROW]
[ROW][C]13[/C][C]489.75[/C][C]655.544241875514[/C][/ROW]
[ROW][C]14[/C][C]766.525[/C][C]680.45740717072[/C][/ROW]
[ROW][C]15[/C][C]780.125[/C][C]686.76864206964[/C][/ROW]
[ROW][C]16[/C][C]804.975[/C][C]724.218996193073[/C][/ROW]
[ROW][C]17[/C][C]529.25[/C][C]753.807367605178[/C][/ROW]
[ROW][C]18[/C][C]743.75[/C][C]635.506534904222[/C][/ROW]
[ROW][C]19[/C][C]771.15[/C][C]686.076054174035[/C][/ROW]
[ROW][C]20[/C][C]830.5[/C][C]691.728771063574[/C][/ROW]
[ROW][C]21[/C][C]600[/C][C]782.989097499081[/C][/ROW]
[ROW][C]22[/C][C]856.1[/C][C]676.610491913217[/C][/ROW]
[ROW][C]23[/C][C]702.75[/C][C]794.826530239656[/C][/ROW]
[ROW][C]24[/C][C]533.775[/C][C]749.345042400237[/C][/ROW]
[ROW][C]25[/C][C]311.25[/C][C]576.525816892812[/C][/ROW]
[ROW][C]26[/C][C]590[/C][C]540.525418350128[/C][/ROW]
[ROW][C]27[/C][C]738[/C][C]581.845867357353[/C][/ROW]
[ROW][C]28[/C][C]797.05[/C][C]660.565830930517[/C][/ROW]
[ROW][C]29[/C][C]531.3[/C][C]600.288183112223[/C][/ROW]
[ROW][C]30[/C][C]820[/C][C]674.707766590396[/C][/ROW]
[ROW][C]31[/C][C]533.25[/C][C]745.636209048273[/C][/ROW]
[ROW][C]32[/C][C]633.25[/C][C]694.548612624309[/C][/ROW]
[ROW][C]33[/C][C]634.275[/C][C]554.468246486220[/C][/ROW]
[ROW][C]34[/C][C]747.3[/C][C]712.272349523156[/C][/ROW]
[ROW][C]35[/C][C]220.375[/C][C]640.90531318958[/C][/ROW]
[ROW][C]36[/C][C]195.75[/C][C]391.230261941304[/C][/ROW]
[ROW][C]37[/C][C]123.25[/C][C]245.312950038669[/C][/ROW]
[ROW][C]38[/C][C]161.75[/C][C]281.611155066594[/C][/ROW]
[ROW][C]39[/C][C]126.75[/C][C]286.879143124124[/C][/ROW]
[ROW][C]40[/C][C]285.1[/C][C]239.469364780464[/C][/ROW]
[ROW][C]41[/C][C]461.5[/C][C]194.082609246879[/C][/ROW]
[ROW][C]42[/C][C]463.625[/C][C]389.383530982008[/C][/ROW]
[ROW][C]43[/C][C]325.875[/C][C]290.573224811809[/C][/ROW]
[ROW][C]44[/C][C]177[/C][C]332.245829765658[/C][/ROW]
[ROW][C]45[/C][C]223[/C][C]316.860055686865[/C][/ROW]
[ROW][C]46[/C][C]168.45[/C][C]272.113450680930[/C][/ROW]
[ROW][C]47[/C][C]251.75[/C][C]33.9050653080551[/C][/ROW]
[ROW][C]48[/C][C]131.5[/C][C]146.848855028763[/C][/ROW]
[ROW][C]49[/C][C]110.375[/C][C]136.067930419851[/C][/ROW]
[ROW][C]50[/C][C]164.125[/C][C]103.076560780786[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=75898&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=75898&T=2

As an alternative you can also use a QR Code:  

The GUIDs for individual cells are displayed in the table below:

Actuals and Interpolation
TimeActualForecast
1594.25593.655750472382
2853.75647.942799207107
3766.5744.673364998473
4758.05753.778778169047
5756.85755.529720168062
6685.4749.907388162832
7696.525723.33892944098
8610.025704.516968331494
9708.325672.68501267814
10619.1680.23484230233
11740.525664.582874665436
12730.5696.052601976007
13489.75655.544241875514
14766.525680.45740717072
15780.125686.76864206964
16804.975724.218996193073
17529.25753.807367605178
18743.75635.506534904222
19771.15686.076054174035
20830.5691.728771063574
21600782.989097499081
22856.1676.610491913217
23702.75794.826530239656
24533.775749.345042400237
25311.25576.525816892812
26590540.525418350128
27738581.845867357353
28797.05660.565830930517
29531.3600.288183112223
30820674.707766590396
31533.25745.636209048273
32633.25694.548612624309
33634.275554.468246486220
34747.3712.272349523156
35220.375640.90531318958
36195.75391.230261941304
37123.25245.312950038669
38161.75281.611155066594
39126.75286.879143124124
40285.1239.469364780464
41461.5194.082609246879
42463.625389.383530982008
43325.875290.573224811809
44177332.245829765658
45223316.860055686865
46168.45272.113450680930
47251.7533.9050653080551
48131.5146.848855028763
49110.375136.067930419851
50164.125103.076560780786







\begin{tabular}{lllllllll}
\hline
What is next? \tabularnewline
Simulate Time Series \tabularnewline
Generate Forecasts \tabularnewline
Forecast Analysis \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=75898&T=3

[TABLE]
[ROW][C]What is next?[/C][/ROW]
[ROW][C]Simulate Time Series[/C][/ROW]
[ROW][C]Generate Forecasts[/C][/ROW]
[ROW][C]Forecast Analysis[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=75898&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=75898&T=3

As an alternative you can also use a QR Code:  

The GUIDs for individual cells are displayed in the table below:

What is next?
Simulate Time Series
Generate Forecasts
Forecast Analysis



Parameters (Session):
par1 = Input box ; par2 = ARIMA ; par3 = NA ; par4 = NA ; par5 = ZZZ ; par6 = 12 ; par7 = dum ; par8 = dumresult ; par9 = 3 ; par10 = 0.1 ;
Parameters (R input):
par1 = Input box ; par2 = ARIMA ; par3 = NA ; par4 = NA ; par5 = ZZZ ; par6 = 12 ; par7 = dum ; par8 = dumresult ; par9 = 3 ; par10 = 0.1 ;
R code (references can be found in the software module):
if(par3!='NA') par3 <- as.numeric(par3) else par3 <- NA
if(par4!='NA') par4 <- as.numeric(par4) else par4 <- NA
par6 <- as.numeric(par6) #Seasonal Period
par9 <- as.numeric(par9) #Forecast Horizon
par10 <- as.numeric(par10) #Alpha
library(forecast)
if (par1 == 'CSV') {
xarr <- read.csv(file=paste('tmp/',par7,'.csv',sep=''),header=T)
numseries <- length(xarr[1,])-1
n <- length(xarr[,1])
nmh <- n - par9
nmhp1 <- nmh + 1
rarr <- array(NA,dim=c(n,numseries))
farr <- array(NA,dim=c(n,numseries))
parr <- array(NA,dim=c(numseries,8))
colnames(parr) = list('ME','RMSE','MAE','MPE','MAPE','MASE','ACF1','TheilU')
for(i in 1:numseries) {
sindex <- i+1
x <- xarr[,sindex]
if(par2=='Croston') {
if (i==1) m <- croston(x,alpha=par10)
if (i==1) mydemand <- m$model$demand[]
fit <- croston(x[1:nmh],h=par9,alpha=par10)
}
if(par2=='ARIMA') {
m <- auto.arima(ts(x,freq=par6),d=par3,D=par4)
mydemand <- forecast(m)
fit <- auto.arima(ts(x[1:nmh],freq=par6),d=par3,D=par4)
}
if(par2=='ETS') {
m <- ets(ts(x,freq=par6),model=par5)
mydemand <- forecast(m)
fit <- ets(ts(x[1:nmh],freq=par6),model=par5)
}
try(rarr[,i] <- mydemand$resid,silent=T)
try(farr[,i] <- mydemand$mean,silent=T)
if (par2!='Croston') parr[i,] <- accuracy(forecast(fit,par9),x[nmhp1:n])
if (par2=='Croston') parr[i,] <- accuracy(fit,x[nmhp1:n])
}
write.csv(farr,file=paste('tmp/',par8,'_f.csv',sep=''))
write.csv(rarr,file=paste('tmp/',par8,'_r.csv',sep=''))
write.csv(parr,file=paste('tmp/',par8,'_p.csv',sep=''))
}
if (par1 == 'Input box') {
numseries <- 1
n <- length(x)
if(par2=='Croston') {
m <- croston(x)
mydemand <- m$model$demand[]
}
if(par2=='ARIMA') {
m <- auto.arima(ts(x,freq=par6),d=par3,D=par4)
mydemand <- forecast(m)
}
if(par2=='ETS') {
m <- ets(ts(x,freq=par6),model=par5)
mydemand <- forecast(m)
}
summary(m)
}
bitmap(file='test1.png')
op <- par(mfrow=c(2,1))
if (par2=='Croston') plot(m)
if ((par2=='ARIMA') | par2=='ETS') plot(forecast(m))
plot(mydemand$resid,type='l',main='Residuals', ylab='residual value', xlab='time')
par(op)
dev.off()
bitmap(file='pic2.png')
op <- par(mfrow=c(2,2))
acf(mydemand$resid, lag.max=n/3, main='Residual ACF', ylab='autocorrelation', xlab='time lag')
pacf(mydemand$resid,lag.max=n/3, main='Residual PACF', ylab='partial autocorrelation', xlab='time lag')
cpgram(mydemand$resid, main='Cumulative Periodogram of Residuals')
qqnorm(mydemand$resid); qqline(mydemand$resid, col=2)
par(op)
dev.off()
load(file='createtable')
a<-table.start()
a<-table.row.start(a)
a<-table.element(a,'Demand Forecast',6,TRUE)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'Point',header=TRUE)
a<-table.element(a,'Forecast',header=TRUE)
a<-table.element(a,'95% LB',header=TRUE)
a<-table.element(a,'80% LB',header=TRUE)
a<-table.element(a,'80% UB',header=TRUE)
a<-table.element(a,'95% UB',header=TRUE)
a<-table.row.end(a)
for (i in 1:length(mydemand$mean)) {
a<-table.row.start(a)
a<-table.element(a,i+n,header=TRUE)
a<-table.element(a,as.numeric(mydemand$mean[i]))
a<-table.element(a,as.numeric(mydemand$lower[i,2]))
a<-table.element(a,as.numeric(mydemand$lower[i,1]))
a<-table.element(a,as.numeric(mydemand$upper[i,1]))
a<-table.element(a,as.numeric(mydemand$upper[i,2]))
a<-table.row.end(a)
}
a<-table.end(a)
table.save(a,file='mytable.tab')
a<-table.start()
a<-table.row.start(a)
a<-table.element(a,'Actuals and Interpolation',3,TRUE)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'Time',header=TRUE)
a<-table.element(a,'Actual',header=TRUE)
a<-table.element(a,'Forecast',header=TRUE)
a<-table.row.end(a)
for (i in 1:n) {
a<-table.row.start(a)
a<-table.element(a,i,header=TRUE)
a<-table.element(a,x[i])
a<-table.element(a,x[i] - as.numeric(m$resid[i]))
a<-table.row.end(a)
}
a<-table.end(a)
table.save(a,file='mytable1.tab')
a<-table.start()
a<-table.row.start(a)
a<-table.element(a,'What is next?',1,TRUE)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,hyperlink(paste('https://automated.biganalytics.eu/Patrick.Wessa/rwasp_demand_forecasting_simulate.wasp',sep=''),'Simulate Time Series','',target=''))
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,hyperlink(paste('https://automated.biganalytics.eu/Patrick.Wessa/rwasp_demand_forecasting_croston.wasp',sep=''),'Generate Forecasts','',target=''))
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,hyperlink(paste('https://automated.biganalytics.eu/Patrick.Wessa/rwasp_demand_forecasting_analysis.wasp',sep=''),'Forecast Analysis','',target=''))
a<-table.row.end(a)
a<-table.end(a)
table.save(a,file='mytable0.tab')
-SERVER-wessa.org