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:12:42 +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/t127375280193t9jf5lz7t5vub.htm/, Retrieved Sun, 05 May 2024 21:02:53 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=75892, Retrieved Sun, 05 May 2024 21:02:53 +0000
QR Codes:

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

Post a new message
Dataseries X:
797
642,25
726,275
652,75
678,75
602,25
689,775
393
580,525
462,25
725,65
501
675
691
769,025
688,25
518,8
386,275
491,35
269,5
379
375,25
337,5
296
375
399,525
336
483,5
370,25
625,5
736,75
496,05
740,5
690,525
568,75
341,1
519,75
408,75
278,35
217
266
319,025
454,75
378,3
509,575
453,75
252
187,525
401,5
403,75




Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time11 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 & 11 seconds \tabularnewline
R Server & wessa.org @ wessa.org \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=75892&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]11 seconds[/C][/ROW]
[ROW][C]R Server[/C][C]wessa.org @ wessa.org[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=75892&T=0

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=75892&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 time11 seconds
R Serverwessa.org @ wessa.org







Demand Forecast
PointForecast95% LB80% LB80% UB95% UB
51384.733032091791203.264736227300266.077291222948503.388772960633566.201327956281
52394.328143862064157.451998638329239.443157634684549.213130089445631.2042890858
53345.97973432173564.395157421383161.861475921928530.097992721541627.564311222086
54389.13890348620469.0304223110809179.831218023630598.446588948778709.247384661327
55488.55163683431134.081602145427256.776139183627720.327134484994843.021671523193
56308.502357454925-77.280704983580756.2523714712902560.75234343856694.28541989343
57464.65232902341949.9136920042402193.4693104801735.835347566737879.390966042597
58414.005506788651-27.7950169872035125.127671599124702.883341978179855.806030564506
59419.498297533623-47.7995395903183113.948665262023725.047929805223886.796134657564
60268.682002342369-222.7921417922-52.6756673946882590.039672079427760.156146476939
61426.620009520187-87.901166350073590.1926957309903763.047323309385941.141185390448
62396.939832073158-139.63412013754246.0929828911578747.786681255157933.513784283857
63384.733032091791-173.02244476442420.0363283797076749.429735803874942.488508948006
64394.328143862064-183.83337140438616.2886488142839772.367638909845972.489659128515
65345.979734321735-251.891743094016-44.9474122586774736.906880902147943.851211737485
66389.138903486204-227.813176726989-14.2643786658194792.5421856382271006.09098369940
67488.55163683431-146.90838161805473.0466643387373904.0566093298831124.01165528667
68308.502357454925-344.941596395421-118.761678342694735.766393252544961.946311305271
69464.652329023419-206.29369458479125.9443049304110903.3603531164261135.59835263163
70414.005506788651-273.997496379039-35.8554767619482863.866490339251102.00850995634
71419.498297533623-285.148917844296-41.2457514118135880.242346479061124.14551291154
72268.682002342369-452.225248218997-202.693912142192740.057916826931989.589252903736
73426.620009520187-310.192361425128-55.1557041897711908.3957232301461163.43238046550
74396.939832073158-355.437756475406-95.013430379956888.893094526271149.31742062172

\begin{tabular}{lllllllll}
\hline
Demand Forecast \tabularnewline
Point & Forecast & 95% LB & 80% LB & 80% UB & 95% UB \tabularnewline
51 & 384.733032091791 & 203.264736227300 & 266.077291222948 & 503.388772960633 & 566.201327956281 \tabularnewline
52 & 394.328143862064 & 157.451998638329 & 239.443157634684 & 549.213130089445 & 631.2042890858 \tabularnewline
53 & 345.979734321735 & 64.395157421383 & 161.861475921928 & 530.097992721541 & 627.564311222086 \tabularnewline
54 & 389.138903486204 & 69.0304223110809 & 179.831218023630 & 598.446588948778 & 709.247384661327 \tabularnewline
55 & 488.55163683431 & 134.081602145427 & 256.776139183627 & 720.327134484994 & 843.021671523193 \tabularnewline
56 & 308.502357454925 & -77.2807049835807 & 56.2523714712902 & 560.75234343856 & 694.28541989343 \tabularnewline
57 & 464.652329023419 & 49.9136920042402 & 193.4693104801 & 735.835347566737 & 879.390966042597 \tabularnewline
58 & 414.005506788651 & -27.7950169872035 & 125.127671599124 & 702.883341978179 & 855.806030564506 \tabularnewline
59 & 419.498297533623 & -47.7995395903183 & 113.948665262023 & 725.047929805223 & 886.796134657564 \tabularnewline
60 & 268.682002342369 & -222.7921417922 & -52.6756673946882 & 590.039672079427 & 760.156146476939 \tabularnewline
61 & 426.620009520187 & -87.9011663500735 & 90.1926957309903 & 763.047323309385 & 941.141185390448 \tabularnewline
62 & 396.939832073158 & -139.634120137542 & 46.0929828911578 & 747.786681255157 & 933.513784283857 \tabularnewline
63 & 384.733032091791 & -173.022444764424 & 20.0363283797076 & 749.429735803874 & 942.488508948006 \tabularnewline
64 & 394.328143862064 & -183.833371404386 & 16.2886488142839 & 772.367638909845 & 972.489659128515 \tabularnewline
65 & 345.979734321735 & -251.891743094016 & -44.9474122586774 & 736.906880902147 & 943.851211737485 \tabularnewline
66 & 389.138903486204 & -227.813176726989 & -14.2643786658194 & 792.542185638227 & 1006.09098369940 \tabularnewline
67 & 488.55163683431 & -146.908381618054 & 73.0466643387373 & 904.056609329883 & 1124.01165528667 \tabularnewline
68 & 308.502357454925 & -344.941596395421 & -118.761678342694 & 735.766393252544 & 961.946311305271 \tabularnewline
69 & 464.652329023419 & -206.293694584791 & 25.9443049304110 & 903.360353116426 & 1135.59835263163 \tabularnewline
70 & 414.005506788651 & -273.997496379039 & -35.8554767619482 & 863.86649033925 & 1102.00850995634 \tabularnewline
71 & 419.498297533623 & -285.148917844296 & -41.2457514118135 & 880.24234647906 & 1124.14551291154 \tabularnewline
72 & 268.682002342369 & -452.225248218997 & -202.693912142192 & 740.057916826931 & 989.589252903736 \tabularnewline
73 & 426.620009520187 & -310.192361425128 & -55.1557041897711 & 908.395723230146 & 1163.43238046550 \tabularnewline
74 & 396.939832073158 & -355.437756475406 & -95.013430379956 & 888.89309452627 & 1149.31742062172 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=75892&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]384.733032091791[/C][C]203.264736227300[/C][C]266.077291222948[/C][C]503.388772960633[/C][C]566.201327956281[/C][/ROW]
[ROW][C]52[/C][C]394.328143862064[/C][C]157.451998638329[/C][C]239.443157634684[/C][C]549.213130089445[/C][C]631.2042890858[/C][/ROW]
[ROW][C]53[/C][C]345.979734321735[/C][C]64.395157421383[/C][C]161.861475921928[/C][C]530.097992721541[/C][C]627.564311222086[/C][/ROW]
[ROW][C]54[/C][C]389.138903486204[/C][C]69.0304223110809[/C][C]179.831218023630[/C][C]598.446588948778[/C][C]709.247384661327[/C][/ROW]
[ROW][C]55[/C][C]488.55163683431[/C][C]134.081602145427[/C][C]256.776139183627[/C][C]720.327134484994[/C][C]843.021671523193[/C][/ROW]
[ROW][C]56[/C][C]308.502357454925[/C][C]-77.2807049835807[/C][C]56.2523714712902[/C][C]560.75234343856[/C][C]694.28541989343[/C][/ROW]
[ROW][C]57[/C][C]464.652329023419[/C][C]49.9136920042402[/C][C]193.4693104801[/C][C]735.835347566737[/C][C]879.390966042597[/C][/ROW]
[ROW][C]58[/C][C]414.005506788651[/C][C]-27.7950169872035[/C][C]125.127671599124[/C][C]702.883341978179[/C][C]855.806030564506[/C][/ROW]
[ROW][C]59[/C][C]419.498297533623[/C][C]-47.7995395903183[/C][C]113.948665262023[/C][C]725.047929805223[/C][C]886.796134657564[/C][/ROW]
[ROW][C]60[/C][C]268.682002342369[/C][C]-222.7921417922[/C][C]-52.6756673946882[/C][C]590.039672079427[/C][C]760.156146476939[/C][/ROW]
[ROW][C]61[/C][C]426.620009520187[/C][C]-87.9011663500735[/C][C]90.1926957309903[/C][C]763.047323309385[/C][C]941.141185390448[/C][/ROW]
[ROW][C]62[/C][C]396.939832073158[/C][C]-139.634120137542[/C][C]46.0929828911578[/C][C]747.786681255157[/C][C]933.513784283857[/C][/ROW]
[ROW][C]63[/C][C]384.733032091791[/C][C]-173.022444764424[/C][C]20.0363283797076[/C][C]749.429735803874[/C][C]942.488508948006[/C][/ROW]
[ROW][C]64[/C][C]394.328143862064[/C][C]-183.833371404386[/C][C]16.2886488142839[/C][C]772.367638909845[/C][C]972.489659128515[/C][/ROW]
[ROW][C]65[/C][C]345.979734321735[/C][C]-251.891743094016[/C][C]-44.9474122586774[/C][C]736.906880902147[/C][C]943.851211737485[/C][/ROW]
[ROW][C]66[/C][C]389.138903486204[/C][C]-227.813176726989[/C][C]-14.2643786658194[/C][C]792.542185638227[/C][C]1006.09098369940[/C][/ROW]
[ROW][C]67[/C][C]488.55163683431[/C][C]-146.908381618054[/C][C]73.0466643387373[/C][C]904.056609329883[/C][C]1124.01165528667[/C][/ROW]
[ROW][C]68[/C][C]308.502357454925[/C][C]-344.941596395421[/C][C]-118.761678342694[/C][C]735.766393252544[/C][C]961.946311305271[/C][/ROW]
[ROW][C]69[/C][C]464.652329023419[/C][C]-206.293694584791[/C][C]25.9443049304110[/C][C]903.360353116426[/C][C]1135.59835263163[/C][/ROW]
[ROW][C]70[/C][C]414.005506788651[/C][C]-273.997496379039[/C][C]-35.8554767619482[/C][C]863.86649033925[/C][C]1102.00850995634[/C][/ROW]
[ROW][C]71[/C][C]419.498297533623[/C][C]-285.148917844296[/C][C]-41.2457514118135[/C][C]880.24234647906[/C][C]1124.14551291154[/C][/ROW]
[ROW][C]72[/C][C]268.682002342369[/C][C]-452.225248218997[/C][C]-202.693912142192[/C][C]740.057916826931[/C][C]989.589252903736[/C][/ROW]
[ROW][C]73[/C][C]426.620009520187[/C][C]-310.192361425128[/C][C]-55.1557041897711[/C][C]908.395723230146[/C][C]1163.43238046550[/C][/ROW]
[ROW][C]74[/C][C]396.939832073158[/C][C]-355.437756475406[/C][C]-95.013430379956[/C][C]888.89309452627[/C][C]1149.31742062172[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=75892&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=75892&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
51384.733032091791203.264736227300266.077291222948503.388772960633566.201327956281
52394.328143862064157.451998638329239.443157634684549.213130089445631.2042890858
53345.97973432173564.395157421383161.861475921928530.097992721541627.564311222086
54389.13890348620469.0304223110809179.831218023630598.446588948778709.247384661327
55488.55163683431134.081602145427256.776139183627720.327134484994843.021671523193
56308.502357454925-77.280704983580756.2523714712902560.75234343856694.28541989343
57464.65232902341949.9136920042402193.4693104801735.835347566737879.390966042597
58414.005506788651-27.7950169872035125.127671599124702.883341978179855.806030564506
59419.498297533623-47.7995395903183113.948665262023725.047929805223886.796134657564
60268.682002342369-222.7921417922-52.6756673946882590.039672079427760.156146476939
61426.620009520187-87.901166350073590.1926957309903763.047323309385941.141185390448
62396.939832073158-139.63412013754246.0929828911578747.786681255157933.513784283857
63384.733032091791-173.02244476442420.0363283797076749.429735803874942.488508948006
64394.328143862064-183.83337140438616.2886488142839772.367638909845972.489659128515
65345.979734321735-251.891743094016-44.9474122586774736.906880902147943.851211737485
66389.138903486204-227.813176726989-14.2643786658194792.5421856382271006.09098369940
67488.55163683431-146.90838161805473.0466643387373904.0566093298831124.01165528667
68308.502357454925-344.941596395421-118.761678342694735.766393252544961.946311305271
69464.652329023419-206.29369458479125.9443049304110903.3603531164261135.59835263163
70414.005506788651-273.997496379039-35.8554767619482863.866490339251102.00850995634
71419.498297533623-285.148917844296-41.2457514118135880.242346479061124.14551291154
72268.682002342369-452.225248218997-202.693912142192740.057916826931989.589252903736
73426.620009520187-310.192361425128-55.1557041897711908.3957232301461163.43238046550
74396.939832073158-355.437756475406-95.013430379956888.893094526271149.31742062172







Actuals and Interpolation
TimeActualForecast
1797782.711417226421
2642.25765.0294568744
3726.275649.806107458521
4652.75723.56791155541
5678.75615.796974930425
6602.25711.777300846748
7689.775719.287764661505
8393514.492157182367
9580.525568.698163436724
10462.25527.978998668824
11725.65478.336938109688
12501534.996332111507
13675664.412824861296
14691643.611465200888
15769.025671.176086172387
16688.25762.860278704985
17518.8651.92127364904
18386.275583.381473899396
19491.35517.422882856391
20269.5315.503881065959
21379433.056689590744
22375.25337.054612518579
23337.5374.635041228908
24296192.619299478441
25375437.296999705657
26399.525355.350992000882
27336380.223837962091
28483.5352.694153942505
29370.25414.089307855428
30625.5420.44880902639
31736.75691.91012962691
32496.05549.483513444763
33740.5660.802183052332
34690.525677.0269500232
35568.75693.8791043314
36341.1438.052398315464
37519.75514.637616791392
38408.75489.25763684781
39278.35409.515986555195
40217309.061396860208
41266183.457445377064
42319.025295.874273558410
43454.75414.708291820007
44378.3268.246080312969
45509.575516.741113232939
46453.75460.081976315332
47252460.282975001957
48187.525134.694665694760
49401.5336.955099542137
50403.75361.429105851861

\begin{tabular}{lllllllll}
\hline
Actuals and Interpolation \tabularnewline
Time & Actual & Forecast \tabularnewline
1 & 797 & 782.711417226421 \tabularnewline
2 & 642.25 & 765.0294568744 \tabularnewline
3 & 726.275 & 649.806107458521 \tabularnewline
4 & 652.75 & 723.56791155541 \tabularnewline
5 & 678.75 & 615.796974930425 \tabularnewline
6 & 602.25 & 711.777300846748 \tabularnewline
7 & 689.775 & 719.287764661505 \tabularnewline
8 & 393 & 514.492157182367 \tabularnewline
9 & 580.525 & 568.698163436724 \tabularnewline
10 & 462.25 & 527.978998668824 \tabularnewline
11 & 725.65 & 478.336938109688 \tabularnewline
12 & 501 & 534.996332111507 \tabularnewline
13 & 675 & 664.412824861296 \tabularnewline
14 & 691 & 643.611465200888 \tabularnewline
15 & 769.025 & 671.176086172387 \tabularnewline
16 & 688.25 & 762.860278704985 \tabularnewline
17 & 518.8 & 651.92127364904 \tabularnewline
18 & 386.275 & 583.381473899396 \tabularnewline
19 & 491.35 & 517.422882856391 \tabularnewline
20 & 269.5 & 315.503881065959 \tabularnewline
21 & 379 & 433.056689590744 \tabularnewline
22 & 375.25 & 337.054612518579 \tabularnewline
23 & 337.5 & 374.635041228908 \tabularnewline
24 & 296 & 192.619299478441 \tabularnewline
25 & 375 & 437.296999705657 \tabularnewline
26 & 399.525 & 355.350992000882 \tabularnewline
27 & 336 & 380.223837962091 \tabularnewline
28 & 483.5 & 352.694153942505 \tabularnewline
29 & 370.25 & 414.089307855428 \tabularnewline
30 & 625.5 & 420.44880902639 \tabularnewline
31 & 736.75 & 691.91012962691 \tabularnewline
32 & 496.05 & 549.483513444763 \tabularnewline
33 & 740.5 & 660.802183052332 \tabularnewline
34 & 690.525 & 677.0269500232 \tabularnewline
35 & 568.75 & 693.8791043314 \tabularnewline
36 & 341.1 & 438.052398315464 \tabularnewline
37 & 519.75 & 514.637616791392 \tabularnewline
38 & 408.75 & 489.25763684781 \tabularnewline
39 & 278.35 & 409.515986555195 \tabularnewline
40 & 217 & 309.061396860208 \tabularnewline
41 & 266 & 183.457445377064 \tabularnewline
42 & 319.025 & 295.874273558410 \tabularnewline
43 & 454.75 & 414.708291820007 \tabularnewline
44 & 378.3 & 268.246080312969 \tabularnewline
45 & 509.575 & 516.741113232939 \tabularnewline
46 & 453.75 & 460.081976315332 \tabularnewline
47 & 252 & 460.282975001957 \tabularnewline
48 & 187.525 & 134.694665694760 \tabularnewline
49 & 401.5 & 336.955099542137 \tabularnewline
50 & 403.75 & 361.429105851861 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=75892&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]797[/C][C]782.711417226421[/C][/ROW]
[ROW][C]2[/C][C]642.25[/C][C]765.0294568744[/C][/ROW]
[ROW][C]3[/C][C]726.275[/C][C]649.806107458521[/C][/ROW]
[ROW][C]4[/C][C]652.75[/C][C]723.56791155541[/C][/ROW]
[ROW][C]5[/C][C]678.75[/C][C]615.796974930425[/C][/ROW]
[ROW][C]6[/C][C]602.25[/C][C]711.777300846748[/C][/ROW]
[ROW][C]7[/C][C]689.775[/C][C]719.287764661505[/C][/ROW]
[ROW][C]8[/C][C]393[/C][C]514.492157182367[/C][/ROW]
[ROW][C]9[/C][C]580.525[/C][C]568.698163436724[/C][/ROW]
[ROW][C]10[/C][C]462.25[/C][C]527.978998668824[/C][/ROW]
[ROW][C]11[/C][C]725.65[/C][C]478.336938109688[/C][/ROW]
[ROW][C]12[/C][C]501[/C][C]534.996332111507[/C][/ROW]
[ROW][C]13[/C][C]675[/C][C]664.412824861296[/C][/ROW]
[ROW][C]14[/C][C]691[/C][C]643.611465200888[/C][/ROW]
[ROW][C]15[/C][C]769.025[/C][C]671.176086172387[/C][/ROW]
[ROW][C]16[/C][C]688.25[/C][C]762.860278704985[/C][/ROW]
[ROW][C]17[/C][C]518.8[/C][C]651.92127364904[/C][/ROW]
[ROW][C]18[/C][C]386.275[/C][C]583.381473899396[/C][/ROW]
[ROW][C]19[/C][C]491.35[/C][C]517.422882856391[/C][/ROW]
[ROW][C]20[/C][C]269.5[/C][C]315.503881065959[/C][/ROW]
[ROW][C]21[/C][C]379[/C][C]433.056689590744[/C][/ROW]
[ROW][C]22[/C][C]375.25[/C][C]337.054612518579[/C][/ROW]
[ROW][C]23[/C][C]337.5[/C][C]374.635041228908[/C][/ROW]
[ROW][C]24[/C][C]296[/C][C]192.619299478441[/C][/ROW]
[ROW][C]25[/C][C]375[/C][C]437.296999705657[/C][/ROW]
[ROW][C]26[/C][C]399.525[/C][C]355.350992000882[/C][/ROW]
[ROW][C]27[/C][C]336[/C][C]380.223837962091[/C][/ROW]
[ROW][C]28[/C][C]483.5[/C][C]352.694153942505[/C][/ROW]
[ROW][C]29[/C][C]370.25[/C][C]414.089307855428[/C][/ROW]
[ROW][C]30[/C][C]625.5[/C][C]420.44880902639[/C][/ROW]
[ROW][C]31[/C][C]736.75[/C][C]691.91012962691[/C][/ROW]
[ROW][C]32[/C][C]496.05[/C][C]549.483513444763[/C][/ROW]
[ROW][C]33[/C][C]740.5[/C][C]660.802183052332[/C][/ROW]
[ROW][C]34[/C][C]690.525[/C][C]677.0269500232[/C][/ROW]
[ROW][C]35[/C][C]568.75[/C][C]693.8791043314[/C][/ROW]
[ROW][C]36[/C][C]341.1[/C][C]438.052398315464[/C][/ROW]
[ROW][C]37[/C][C]519.75[/C][C]514.637616791392[/C][/ROW]
[ROW][C]38[/C][C]408.75[/C][C]489.25763684781[/C][/ROW]
[ROW][C]39[/C][C]278.35[/C][C]409.515986555195[/C][/ROW]
[ROW][C]40[/C][C]217[/C][C]309.061396860208[/C][/ROW]
[ROW][C]41[/C][C]266[/C][C]183.457445377064[/C][/ROW]
[ROW][C]42[/C][C]319.025[/C][C]295.874273558410[/C][/ROW]
[ROW][C]43[/C][C]454.75[/C][C]414.708291820007[/C][/ROW]
[ROW][C]44[/C][C]378.3[/C][C]268.246080312969[/C][/ROW]
[ROW][C]45[/C][C]509.575[/C][C]516.741113232939[/C][/ROW]
[ROW][C]46[/C][C]453.75[/C][C]460.081976315332[/C][/ROW]
[ROW][C]47[/C][C]252[/C][C]460.282975001957[/C][/ROW]
[ROW][C]48[/C][C]187.525[/C][C]134.694665694760[/C][/ROW]
[ROW][C]49[/C][C]401.5[/C][C]336.955099542137[/C][/ROW]
[ROW][C]50[/C][C]403.75[/C][C]361.429105851861[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=75892&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=75892&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
1797782.711417226421
2642.25765.0294568744
3726.275649.806107458521
4652.75723.56791155541
5678.75615.796974930425
6602.25711.777300846748
7689.775719.287764661505
8393514.492157182367
9580.525568.698163436724
10462.25527.978998668824
11725.65478.336938109688
12501534.996332111507
13675664.412824861296
14691643.611465200888
15769.025671.176086172387
16688.25762.860278704985
17518.8651.92127364904
18386.275583.381473899396
19491.35517.422882856391
20269.5315.503881065959
21379433.056689590744
22375.25337.054612518579
23337.5374.635041228908
24296192.619299478441
25375437.296999705657
26399.525355.350992000882
27336380.223837962091
28483.5352.694153942505
29370.25414.089307855428
30625.5420.44880902639
31736.75691.91012962691
32496.05549.483513444763
33740.5660.802183052332
34690.525677.0269500232
35568.75693.8791043314
36341.1438.052398315464
37519.75514.637616791392
38408.75489.25763684781
39278.35409.515986555195
40217309.061396860208
41266183.457445377064
42319.025295.874273558410
43454.75414.708291820007
44378.3268.246080312969
45509.575516.741113232939
46453.75460.081976315332
47252460.282975001957
48187.525134.694665694760
49401.5336.955099542137
50403.75361.429105851861







\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=75892&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=75892&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=75892&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 = ETS ; 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