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 11:53:59 +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/t12737517037o5w3km0c070qr4.htm/, Retrieved Sun, 05 May 2024 23:56:01 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=75880, Retrieved Sun, 05 May 2024 23:56:01 +0000
QR Codes:

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

Post a new message
Dataseries X:
62
30
31
50
33
12
20
30
21,5
23
13,5
0,5
12
10
70,5
30
20,5
12
20
45
11,505

10
5,5
27,5
0,5
7
0
2,5
0
0
6,025
1
0
0
0
0
2
0
6
20
0
0
0
7
35
0
0
0
1




\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 & 5 seconds \tabularnewline
R Server & wessa.org @ wessa.org \tabularnewline
R Framework error message & 
Warning: there are blank lines in the 'Data' field.
Please, use NA for missing data - blank lines are simply
 deleted and are NOT treated as missing values.
\tabularnewline \hline \end{tabular} %Source: https://freestatistics.org/blog/index.php?pk=75880&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]5 seconds[/C][/ROW]
[ROW][C]R Server[/C][C]wessa.org @ wessa.org[/C][/ROW]
[ROW][C]R Framework error message[/C][C]
Warning: there are blank lines in the 'Data' field.
Please, use NA for missing data - blank lines are simply
 deleted and are NOT treated as missing values.
[/C][/ROW] [/TABLE] Source: https://freestatistics.org/blog/index.php?pk=75880&T=0

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=75880&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 time5 seconds
R Serverwessa.org @ wessa.org
R Framework error message
Warning: there are blank lines in the 'Data' field.
Please, use NA for missing data - blank lines are simply
 deleted and are NOT treated as missing values.







Demand Forecast
PointForecast95% LB80% LB80% UB95% UB
501.87956721447306-23.8069620759050-14.915951522171618.675085951117827.5660965048511
511.78551613369694-23.9026361864282-15.011063845057218.582096112451027.4736684538221
521.69738751072888-23.9935030665959-15.100982918170618.495757939628327.3882780880536
531.61480840454364-24.0801282797117-15.186207631475218.415824440562527.3097450887990
541.53742935845524-24.1630093555852-15.267184261468418.342042978378927.2378680724957
551.46492292129280-24.2425839255521-15.344312302258518.274158144844127.1724297681377
561.39698226169893-24.3192368829885-15.417949627213418.211914150611227.1132014063863
571.33331986968662-24.3933066896779-15.488417061909118.155056801282327.0599464290511
581.27366633996000-24.4650909321828-15.556002438381318.103335118301327.0124236121028
591.21776923185015-24.5348512187125-15.620964191631318.056502655331626.9703896824128
601.16539200104145-24.6028174953832-15.683534551644118.014318553727026.9336014974661
611.11631299856790-24.6691918508646-15.743922377595417.976548374731126.9018178480004
621.07032453284323-24.7341518698986-15.802315675264017.942964740950426.8748009355851
631.02723199075563-24.7978535888315-15.858883833770617.913347815281826.8523175703428
640.986853014107674-24.8604340999252-15.913779613508217.887485641723526.8341401281406
650.949016727916398-24.9220138456636-15.967140913421217.86517436925426.8200473014964
660.913563017307794-24.9826986394163-16.019092342538317.846218377153926.8098246740319
670.88034184994575-25.0425814445669-16.069746617813217.830430317704726.8032651444584
680.849212641128065-25.1017439404718-16.119205807812917.817631090069026.8001692227280
690.820043658862796-25.1602579003239-16.167562439577817.807649757303426.8003452180494
700.792711466407323-25.2181864030832-16.214900484017817.800323416832426.8036093358978
710.767100399911097-25.2755848990752-16.261296233475717.795497033297926.8097856988974
720.743102078951566-25.3325021465803-16.306819083550717.793023241453926.8187063044834
730.720614947891971-25.3889810347315-16.351532229914717.792762125698626.8302109305154

\begin{tabular}{lllllllll}
\hline
Demand Forecast \tabularnewline
Point & Forecast & 95% LB & 80% LB & 80% UB & 95% UB \tabularnewline
50 & 1.87956721447306 & -23.8069620759050 & -14.9159515221716 & 18.6750859511178 & 27.5660965048511 \tabularnewline
51 & 1.78551613369694 & -23.9026361864282 & -15.0110638450572 & 18.5820961124510 & 27.4736684538221 \tabularnewline
52 & 1.69738751072888 & -23.9935030665959 & -15.1009829181706 & 18.4957579396283 & 27.3882780880536 \tabularnewline
53 & 1.61480840454364 & -24.0801282797117 & -15.1862076314752 & 18.4158244405625 & 27.3097450887990 \tabularnewline
54 & 1.53742935845524 & -24.1630093555852 & -15.2671842614684 & 18.3420429783789 & 27.2378680724957 \tabularnewline
55 & 1.46492292129280 & -24.2425839255521 & -15.3443123022585 & 18.2741581448441 & 27.1724297681377 \tabularnewline
56 & 1.39698226169893 & -24.3192368829885 & -15.4179496272134 & 18.2119141506112 & 27.1132014063863 \tabularnewline
57 & 1.33331986968662 & -24.3933066896779 & -15.4884170619091 & 18.1550568012823 & 27.0599464290511 \tabularnewline
58 & 1.27366633996000 & -24.4650909321828 & -15.5560024383813 & 18.1033351183013 & 27.0124236121028 \tabularnewline
59 & 1.21776923185015 & -24.5348512187125 & -15.6209641916313 & 18.0565026553316 & 26.9703896824128 \tabularnewline
60 & 1.16539200104145 & -24.6028174953832 & -15.6835345516441 & 18.0143185537270 & 26.9336014974661 \tabularnewline
61 & 1.11631299856790 & -24.6691918508646 & -15.7439223775954 & 17.9765483747311 & 26.9018178480004 \tabularnewline
62 & 1.07032453284323 & -24.7341518698986 & -15.8023156752640 & 17.9429647409504 & 26.8748009355851 \tabularnewline
63 & 1.02723199075563 & -24.7978535888315 & -15.8588838337706 & 17.9133478152818 & 26.8523175703428 \tabularnewline
64 & 0.986853014107674 & -24.8604340999252 & -15.9137796135082 & 17.8874856417235 & 26.8341401281406 \tabularnewline
65 & 0.949016727916398 & -24.9220138456636 & -15.9671409134212 & 17.865174369254 & 26.8200473014964 \tabularnewline
66 & 0.913563017307794 & -24.9826986394163 & -16.0190923425383 & 17.8462183771539 & 26.8098246740319 \tabularnewline
67 & 0.88034184994575 & -25.0425814445669 & -16.0697466178132 & 17.8304303177047 & 26.8032651444584 \tabularnewline
68 & 0.849212641128065 & -25.1017439404718 & -16.1192058078129 & 17.8176310900690 & 26.8001692227280 \tabularnewline
69 & 0.820043658862796 & -25.1602579003239 & -16.1675624395778 & 17.8076497573034 & 26.8003452180494 \tabularnewline
70 & 0.792711466407323 & -25.2181864030832 & -16.2149004840178 & 17.8003234168324 & 26.8036093358978 \tabularnewline
71 & 0.767100399911097 & -25.2755848990752 & -16.2612962334757 & 17.7954970332979 & 26.8097856988974 \tabularnewline
72 & 0.743102078951566 & -25.3325021465803 & -16.3068190835507 & 17.7930232414539 & 26.8187063044834 \tabularnewline
73 & 0.720614947891971 & -25.3889810347315 & -16.3515322299147 & 17.7927621256986 & 26.8302109305154 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=75880&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]50[/C][C]1.87956721447306[/C][C]-23.8069620759050[/C][C]-14.9159515221716[/C][C]18.6750859511178[/C][C]27.5660965048511[/C][/ROW]
[ROW][C]51[/C][C]1.78551613369694[/C][C]-23.9026361864282[/C][C]-15.0110638450572[/C][C]18.5820961124510[/C][C]27.4736684538221[/C][/ROW]
[ROW][C]52[/C][C]1.69738751072888[/C][C]-23.9935030665959[/C][C]-15.1009829181706[/C][C]18.4957579396283[/C][C]27.3882780880536[/C][/ROW]
[ROW][C]53[/C][C]1.61480840454364[/C][C]-24.0801282797117[/C][C]-15.1862076314752[/C][C]18.4158244405625[/C][C]27.3097450887990[/C][/ROW]
[ROW][C]54[/C][C]1.53742935845524[/C][C]-24.1630093555852[/C][C]-15.2671842614684[/C][C]18.3420429783789[/C][C]27.2378680724957[/C][/ROW]
[ROW][C]55[/C][C]1.46492292129280[/C][C]-24.2425839255521[/C][C]-15.3443123022585[/C][C]18.2741581448441[/C][C]27.1724297681377[/C][/ROW]
[ROW][C]56[/C][C]1.39698226169893[/C][C]-24.3192368829885[/C][C]-15.4179496272134[/C][C]18.2119141506112[/C][C]27.1132014063863[/C][/ROW]
[ROW][C]57[/C][C]1.33331986968662[/C][C]-24.3933066896779[/C][C]-15.4884170619091[/C][C]18.1550568012823[/C][C]27.0599464290511[/C][/ROW]
[ROW][C]58[/C][C]1.27366633996000[/C][C]-24.4650909321828[/C][C]-15.5560024383813[/C][C]18.1033351183013[/C][C]27.0124236121028[/C][/ROW]
[ROW][C]59[/C][C]1.21776923185015[/C][C]-24.5348512187125[/C][C]-15.6209641916313[/C][C]18.0565026553316[/C][C]26.9703896824128[/C][/ROW]
[ROW][C]60[/C][C]1.16539200104145[/C][C]-24.6028174953832[/C][C]-15.6835345516441[/C][C]18.0143185537270[/C][C]26.9336014974661[/C][/ROW]
[ROW][C]61[/C][C]1.11631299856790[/C][C]-24.6691918508646[/C][C]-15.7439223775954[/C][C]17.9765483747311[/C][C]26.9018178480004[/C][/ROW]
[ROW][C]62[/C][C]1.07032453284323[/C][C]-24.7341518698986[/C][C]-15.8023156752640[/C][C]17.9429647409504[/C][C]26.8748009355851[/C][/ROW]
[ROW][C]63[/C][C]1.02723199075563[/C][C]-24.7978535888315[/C][C]-15.8588838337706[/C][C]17.9133478152818[/C][C]26.8523175703428[/C][/ROW]
[ROW][C]64[/C][C]0.986853014107674[/C][C]-24.8604340999252[/C][C]-15.9137796135082[/C][C]17.8874856417235[/C][C]26.8341401281406[/C][/ROW]
[ROW][C]65[/C][C]0.949016727916398[/C][C]-24.9220138456636[/C][C]-15.9671409134212[/C][C]17.865174369254[/C][C]26.8200473014964[/C][/ROW]
[ROW][C]66[/C][C]0.913563017307794[/C][C]-24.9826986394163[/C][C]-16.0190923425383[/C][C]17.8462183771539[/C][C]26.8098246740319[/C][/ROW]
[ROW][C]67[/C][C]0.88034184994575[/C][C]-25.0425814445669[/C][C]-16.0697466178132[/C][C]17.8304303177047[/C][C]26.8032651444584[/C][/ROW]
[ROW][C]68[/C][C]0.849212641128065[/C][C]-25.1017439404718[/C][C]-16.1192058078129[/C][C]17.8176310900690[/C][C]26.8001692227280[/C][/ROW]
[ROW][C]69[/C][C]0.820043658862796[/C][C]-25.1602579003239[/C][C]-16.1675624395778[/C][C]17.8076497573034[/C][C]26.8003452180494[/C][/ROW]
[ROW][C]70[/C][C]0.792711466407323[/C][C]-25.2181864030832[/C][C]-16.2149004840178[/C][C]17.8003234168324[/C][C]26.8036093358978[/C][/ROW]
[ROW][C]71[/C][C]0.767100399911097[/C][C]-25.2755848990752[/C][C]-16.2612962334757[/C][C]17.7954970332979[/C][C]26.8097856988974[/C][/ROW]
[ROW][C]72[/C][C]0.743102078951566[/C][C]-25.3325021465803[/C][C]-16.3068190835507[/C][C]17.7930232414539[/C][C]26.8187063044834[/C][/ROW]
[ROW][C]73[/C][C]0.720614947891971[/C][C]-25.3889810347315[/C][C]-16.3515322299147[/C][C]17.7927621256986[/C][C]26.8302109305154[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=75880&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=75880&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
501.87956721447306-23.8069620759050-14.915951522171618.675085951117827.5660965048511
511.78551613369694-23.9026361864282-15.011063845057218.582096112451027.4736684538221
521.69738751072888-23.9935030665959-15.100982918170618.495757939628327.3882780880536
531.61480840454364-24.0801282797117-15.186207631475218.415824440562527.3097450887990
541.53742935845524-24.1630093555852-15.267184261468418.342042978378927.2378680724957
551.46492292129280-24.2425839255521-15.344312302258518.274158144844127.1724297681377
561.39698226169893-24.3192368829885-15.417949627213418.211914150611227.1132014063863
571.33331986968662-24.3933066896779-15.488417061909118.155056801282327.0599464290511
581.27366633996000-24.4650909321828-15.556002438381318.103335118301327.0124236121028
591.21776923185015-24.5348512187125-15.620964191631318.056502655331626.9703896824128
601.16539200104145-24.6028174953832-15.683534551644118.014318553727026.9336014974661
611.11631299856790-24.6691918508646-15.743922377595417.976548374731126.9018178480004
621.07032453284323-24.7341518698986-15.802315675264017.942964740950426.8748009355851
631.02723199075563-24.7978535888315-15.858883833770617.913347815281826.8523175703428
640.986853014107674-24.8604340999252-15.913779613508217.887485641723526.8341401281406
650.949016727916398-24.9220138456636-15.967140913421217.86517436925426.8200473014964
660.913563017307794-24.9826986394163-16.019092342538317.846218377153926.8098246740319
670.88034184994575-25.0425814445669-16.069746617813217.830430317704726.8032651444584
680.849212641128065-25.1017439404718-16.119205807812917.817631090069026.8001692227280
690.820043658862796-25.1602579003239-16.167562439577817.807649757303426.8003452180494
700.792711466407323-25.2181864030832-16.214900484017817.800323416832426.8036093358978
710.767100399911097-25.2755848990752-16.261296233475717.795497033297926.8097856988974
720.743102078951566-25.3325021465803-16.306819083550717.793023241453926.8187063044834
730.720614947891971-25.3889810347315-16.351532229914717.792762125698626.8302109305154







Actuals and Interpolation
TimeActualForecast
16246.1194685774281
23043.4480414653215
33140.7881739074814
45038.2714612582087
53336.0352904013211
61233.8753635916337
72031.7001481726198
83029.6536182209427
921.527.7804909323141
102325.9775089806221
1113.524.2885116537528
120.522.6365631330849
131220.9632090618188
141019.4081667572549
1570.517.9134401231166
163016.9364640176437
1720.515.9292589572117
181214.9725132511041
192014.0375826266982
204513.2163924250250
2111.50512.6611764445858
221012.0183570907735
235.511.4051988134497
2427.510.7941085340861
250.510.3665380157253
2679.83282348253668
2709.34710124886339
282.58.83282469026795
2908.33750394871454
3007.83427153956744
316.0257.33454658875676
3216.88467853344068
3306.42420593705413
3405.96620540681794
3505.51585199610374
3605.07436049676882
3724.64283092786269
3804.23708022894056
3963.83494429914164
40203.48937965938113
4103.28022228474214
4203.00069944464174
4302.72829545282175
4472.46357914613309
45352.25895100269802
4602.2936847778023
4702.19179810602918
4802.08830344842662
4911.98370396190309

\begin{tabular}{lllllllll}
\hline
Actuals and Interpolation \tabularnewline
Time & Actual & Forecast \tabularnewline
1 & 62 & 46.1194685774281 \tabularnewline
2 & 30 & 43.4480414653215 \tabularnewline
3 & 31 & 40.7881739074814 \tabularnewline
4 & 50 & 38.2714612582087 \tabularnewline
5 & 33 & 36.0352904013211 \tabularnewline
6 & 12 & 33.8753635916337 \tabularnewline
7 & 20 & 31.7001481726198 \tabularnewline
8 & 30 & 29.6536182209427 \tabularnewline
9 & 21.5 & 27.7804909323141 \tabularnewline
10 & 23 & 25.9775089806221 \tabularnewline
11 & 13.5 & 24.2885116537528 \tabularnewline
12 & 0.5 & 22.6365631330849 \tabularnewline
13 & 12 & 20.9632090618188 \tabularnewline
14 & 10 & 19.4081667572549 \tabularnewline
15 & 70.5 & 17.9134401231166 \tabularnewline
16 & 30 & 16.9364640176437 \tabularnewline
17 & 20.5 & 15.9292589572117 \tabularnewline
18 & 12 & 14.9725132511041 \tabularnewline
19 & 20 & 14.0375826266982 \tabularnewline
20 & 45 & 13.2163924250250 \tabularnewline
21 & 11.505 & 12.6611764445858 \tabularnewline
22 & 10 & 12.0183570907735 \tabularnewline
23 & 5.5 & 11.4051988134497 \tabularnewline
24 & 27.5 & 10.7941085340861 \tabularnewline
25 & 0.5 & 10.3665380157253 \tabularnewline
26 & 7 & 9.83282348253668 \tabularnewline
27 & 0 & 9.34710124886339 \tabularnewline
28 & 2.5 & 8.83282469026795 \tabularnewline
29 & 0 & 8.33750394871454 \tabularnewline
30 & 0 & 7.83427153956744 \tabularnewline
31 & 6.025 & 7.33454658875676 \tabularnewline
32 & 1 & 6.88467853344068 \tabularnewline
33 & 0 & 6.42420593705413 \tabularnewline
34 & 0 & 5.96620540681794 \tabularnewline
35 & 0 & 5.51585199610374 \tabularnewline
36 & 0 & 5.07436049676882 \tabularnewline
37 & 2 & 4.64283092786269 \tabularnewline
38 & 0 & 4.23708022894056 \tabularnewline
39 & 6 & 3.83494429914164 \tabularnewline
40 & 20 & 3.48937965938113 \tabularnewline
41 & 0 & 3.28022228474214 \tabularnewline
42 & 0 & 3.00069944464174 \tabularnewline
43 & 0 & 2.72829545282175 \tabularnewline
44 & 7 & 2.46357914613309 \tabularnewline
45 & 35 & 2.25895100269802 \tabularnewline
46 & 0 & 2.2936847778023 \tabularnewline
47 & 0 & 2.19179810602918 \tabularnewline
48 & 0 & 2.08830344842662 \tabularnewline
49 & 1 & 1.98370396190309 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=75880&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]62[/C][C]46.1194685774281[/C][/ROW]
[ROW][C]2[/C][C]30[/C][C]43.4480414653215[/C][/ROW]
[ROW][C]3[/C][C]31[/C][C]40.7881739074814[/C][/ROW]
[ROW][C]4[/C][C]50[/C][C]38.2714612582087[/C][/ROW]
[ROW][C]5[/C][C]33[/C][C]36.0352904013211[/C][/ROW]
[ROW][C]6[/C][C]12[/C][C]33.8753635916337[/C][/ROW]
[ROW][C]7[/C][C]20[/C][C]31.7001481726198[/C][/ROW]
[ROW][C]8[/C][C]30[/C][C]29.6536182209427[/C][/ROW]
[ROW][C]9[/C][C]21.5[/C][C]27.7804909323141[/C][/ROW]
[ROW][C]10[/C][C]23[/C][C]25.9775089806221[/C][/ROW]
[ROW][C]11[/C][C]13.5[/C][C]24.2885116537528[/C][/ROW]
[ROW][C]12[/C][C]0.5[/C][C]22.6365631330849[/C][/ROW]
[ROW][C]13[/C][C]12[/C][C]20.9632090618188[/C][/ROW]
[ROW][C]14[/C][C]10[/C][C]19.4081667572549[/C][/ROW]
[ROW][C]15[/C][C]70.5[/C][C]17.9134401231166[/C][/ROW]
[ROW][C]16[/C][C]30[/C][C]16.9364640176437[/C][/ROW]
[ROW][C]17[/C][C]20.5[/C][C]15.9292589572117[/C][/ROW]
[ROW][C]18[/C][C]12[/C][C]14.9725132511041[/C][/ROW]
[ROW][C]19[/C][C]20[/C][C]14.0375826266982[/C][/ROW]
[ROW][C]20[/C][C]45[/C][C]13.2163924250250[/C][/ROW]
[ROW][C]21[/C][C]11.505[/C][C]12.6611764445858[/C][/ROW]
[ROW][C]22[/C][C]10[/C][C]12.0183570907735[/C][/ROW]
[ROW][C]23[/C][C]5.5[/C][C]11.4051988134497[/C][/ROW]
[ROW][C]24[/C][C]27.5[/C][C]10.7941085340861[/C][/ROW]
[ROW][C]25[/C][C]0.5[/C][C]10.3665380157253[/C][/ROW]
[ROW][C]26[/C][C]7[/C][C]9.83282348253668[/C][/ROW]
[ROW][C]27[/C][C]0[/C][C]9.34710124886339[/C][/ROW]
[ROW][C]28[/C][C]2.5[/C][C]8.83282469026795[/C][/ROW]
[ROW][C]29[/C][C]0[/C][C]8.33750394871454[/C][/ROW]
[ROW][C]30[/C][C]0[/C][C]7.83427153956744[/C][/ROW]
[ROW][C]31[/C][C]6.025[/C][C]7.33454658875676[/C][/ROW]
[ROW][C]32[/C][C]1[/C][C]6.88467853344068[/C][/ROW]
[ROW][C]33[/C][C]0[/C][C]6.42420593705413[/C][/ROW]
[ROW][C]34[/C][C]0[/C][C]5.96620540681794[/C][/ROW]
[ROW][C]35[/C][C]0[/C][C]5.51585199610374[/C][/ROW]
[ROW][C]36[/C][C]0[/C][C]5.07436049676882[/C][/ROW]
[ROW][C]37[/C][C]2[/C][C]4.64283092786269[/C][/ROW]
[ROW][C]38[/C][C]0[/C][C]4.23708022894056[/C][/ROW]
[ROW][C]39[/C][C]6[/C][C]3.83494429914164[/C][/ROW]
[ROW][C]40[/C][C]20[/C][C]3.48937965938113[/C][/ROW]
[ROW][C]41[/C][C]0[/C][C]3.28022228474214[/C][/ROW]
[ROW][C]42[/C][C]0[/C][C]3.00069944464174[/C][/ROW]
[ROW][C]43[/C][C]0[/C][C]2.72829545282175[/C][/ROW]
[ROW][C]44[/C][C]7[/C][C]2.46357914613309[/C][/ROW]
[ROW][C]45[/C][C]35[/C][C]2.25895100269802[/C][/ROW]
[ROW][C]46[/C][C]0[/C][C]2.2936847778023[/C][/ROW]
[ROW][C]47[/C][C]0[/C][C]2.19179810602918[/C][/ROW]
[ROW][C]48[/C][C]0[/C][C]2.08830344842662[/C][/ROW]
[ROW][C]49[/C][C]1[/C][C]1.98370396190309[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=75880&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=75880&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
16246.1194685774281
23043.4480414653215
33140.7881739074814
45038.2714612582087
53336.0352904013211
61233.8753635916337
72031.7001481726198
83029.6536182209427
921.527.7804909323141
102325.9775089806221
1113.524.2885116537528
120.522.6365631330849
131220.9632090618188
141019.4081667572549
1570.517.9134401231166
163016.9364640176437
1720.515.9292589572117
181214.9725132511041
192014.0375826266982
204513.2163924250250
2111.50512.6611764445858
221012.0183570907735
235.511.4051988134497
2427.510.7941085340861
250.510.3665380157253
2679.83282348253668
2709.34710124886339
282.58.83282469026795
2908.33750394871454
3007.83427153956744
316.0257.33454658875676
3216.88467853344068
3306.42420593705413
3405.96620540681794
3505.51585199610374
3605.07436049676882
3724.64283092786269
3804.23708022894056
3963.83494429914164
40203.48937965938113
4103.28022228474214
4203.00069944464174
4302.72829545282175
4472.46357914613309
45352.25895100269802
4602.2936847778023
4702.19179810602918
4802.08830344842662
4911.98370396190309







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

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