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:59:19 +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/t1273752012tck27ljj6cx866u.htm/, Retrieved Mon, 06 May 2024 06:18:35 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=75883, Retrieved Mon, 06 May 2024 06:18:35 +0000
QR Codes:

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

Post a new message
Dataseries X:
283,25
286,75
230,25
200,5
297,95
329,5
289,75
223,775
281,78
265,8
256,75
89,275
225,5
124,25
230
286,525
227
218,3
334,525
128,95
195,5
106,056
173,525
114,75
131,05
141,25
160,25
145,5
297,5
179,25
137
158,6
55,6
15,25
67,75
93
126,75
160
150,525
239,25
165,05
215,81
166
79,05
204,25
102
87,025
72,175
176,75
188,975




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=75883&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=75883&T=0

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=75883&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
51147.13931439867317.939826469021162.660310024181231.618318773165276.338802328325
52147.13931439867313.121142145775859.5095417003592234.769087096987281.157486651570
53147.1393143986738.4698033058225556.4681947066187237.810434090727285.808825491524
54147.1393143986733.9694987270268953.5256037080721240.753025089274290.309130070319
55147.139314398673-0.39359356485925950.672731001539243.605897795807294.672222362206
56147.139314398673-4.6313077417763147.9018386379056246.376790159441298.909936539123
57147.139314398673-8.7538687673076745.2062408728463249.0723879245303.032497564654
58147.139314398673-12.770183037673642.5801141268926251.698514670454307.04881183502
59147.139314398673-16.688064824300340.0183489225955254.260279874751310.966693621647
60147.139314398673-20.514415043265937.5164329934678256.762195803878314.793043840612
61147.139314398673-24.255364073308235.0703579003083259.208270897038318.533992870654
62147.139314398673-27.91638708298932.6765436228218261.602085174524322.195015880335
63147.139314398673-31.502398070614930.3317770702208263.946851727125325.781026867961
64147.139314398673-35.017827230972428.0331614938359266.245467303510329.296456028319
65147.139314398673-38.466685125603325.778074528428268.500554268918332.74531392295
66147.139314398673-41.852616307716123.5641331287439270.714495668602336.131245105062
67147.139314398673-45.178944445492821.3891640649715272.889464732375339.457573242839
68147.139314398673-48.448710535305319.2511789364605275.027449860886342.727339332651
69147.139314398673-51.664705455799417.1483528857513277.130275911595345.943334253146
70147.139314398673-54.829497854655915.0790063644018279.199622432944349.108126652002
71147.139314398673-57.945458160733213.0415894322915281.237039365055352.224086958079
72147.139314398673-61.014779359932511.0346681730133283.243960624333355.293408157279
73147.139314398673-64.03949505243959.0569128868776285.221715910469358.318123849786
74147.139314398673-67.02149521389887.1070877852346287.171541012112361.300124011245

\begin{tabular}{lllllllll}
\hline
Demand Forecast \tabularnewline
Point & Forecast & 95% LB & 80% LB & 80% UB & 95% UB \tabularnewline
51 & 147.139314398673 & 17.9398264690211 & 62.660310024181 & 231.618318773165 & 276.338802328325 \tabularnewline
52 & 147.139314398673 & 13.1211421457758 & 59.5095417003592 & 234.769087096987 & 281.157486651570 \tabularnewline
53 & 147.139314398673 & 8.46980330582255 & 56.4681947066187 & 237.810434090727 & 285.808825491524 \tabularnewline
54 & 147.139314398673 & 3.96949872702689 & 53.5256037080721 & 240.753025089274 & 290.309130070319 \tabularnewline
55 & 147.139314398673 & -0.393593564859259 & 50.672731001539 & 243.605897795807 & 294.672222362206 \tabularnewline
56 & 147.139314398673 & -4.63130774177631 & 47.9018386379056 & 246.376790159441 & 298.909936539123 \tabularnewline
57 & 147.139314398673 & -8.75386876730767 & 45.2062408728463 & 249.0723879245 & 303.032497564654 \tabularnewline
58 & 147.139314398673 & -12.7701830376736 & 42.5801141268926 & 251.698514670454 & 307.04881183502 \tabularnewline
59 & 147.139314398673 & -16.6880648243003 & 40.0183489225955 & 254.260279874751 & 310.966693621647 \tabularnewline
60 & 147.139314398673 & -20.5144150432659 & 37.5164329934678 & 256.762195803878 & 314.793043840612 \tabularnewline
61 & 147.139314398673 & -24.2553640733082 & 35.0703579003083 & 259.208270897038 & 318.533992870654 \tabularnewline
62 & 147.139314398673 & -27.916387082989 & 32.6765436228218 & 261.602085174524 & 322.195015880335 \tabularnewline
63 & 147.139314398673 & -31.5023980706149 & 30.3317770702208 & 263.946851727125 & 325.781026867961 \tabularnewline
64 & 147.139314398673 & -35.0178272309724 & 28.0331614938359 & 266.245467303510 & 329.296456028319 \tabularnewline
65 & 147.139314398673 & -38.4666851256033 & 25.778074528428 & 268.500554268918 & 332.74531392295 \tabularnewline
66 & 147.139314398673 & -41.8526163077161 & 23.5641331287439 & 270.714495668602 & 336.131245105062 \tabularnewline
67 & 147.139314398673 & -45.1789444454928 & 21.3891640649715 & 272.889464732375 & 339.457573242839 \tabularnewline
68 & 147.139314398673 & -48.4487105353053 & 19.2511789364605 & 275.027449860886 & 342.727339332651 \tabularnewline
69 & 147.139314398673 & -51.6647054557994 & 17.1483528857513 & 277.130275911595 & 345.943334253146 \tabularnewline
70 & 147.139314398673 & -54.8294978546559 & 15.0790063644018 & 279.199622432944 & 349.108126652002 \tabularnewline
71 & 147.139314398673 & -57.9454581607332 & 13.0415894322915 & 281.237039365055 & 352.224086958079 \tabularnewline
72 & 147.139314398673 & -61.0147793599325 & 11.0346681730133 & 283.243960624333 & 355.293408157279 \tabularnewline
73 & 147.139314398673 & -64.0394950524395 & 9.0569128868776 & 285.221715910469 & 358.318123849786 \tabularnewline
74 & 147.139314398673 & -67.0214952138988 & 7.1070877852346 & 287.171541012112 & 361.300124011245 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=75883&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]147.139314398673[/C][C]17.9398264690211[/C][C]62.660310024181[/C][C]231.618318773165[/C][C]276.338802328325[/C][/ROW]
[ROW][C]52[/C][C]147.139314398673[/C][C]13.1211421457758[/C][C]59.5095417003592[/C][C]234.769087096987[/C][C]281.157486651570[/C][/ROW]
[ROW][C]53[/C][C]147.139314398673[/C][C]8.46980330582255[/C][C]56.4681947066187[/C][C]237.810434090727[/C][C]285.808825491524[/C][/ROW]
[ROW][C]54[/C][C]147.139314398673[/C][C]3.96949872702689[/C][C]53.5256037080721[/C][C]240.753025089274[/C][C]290.309130070319[/C][/ROW]
[ROW][C]55[/C][C]147.139314398673[/C][C]-0.393593564859259[/C][C]50.672731001539[/C][C]243.605897795807[/C][C]294.672222362206[/C][/ROW]
[ROW][C]56[/C][C]147.139314398673[/C][C]-4.63130774177631[/C][C]47.9018386379056[/C][C]246.376790159441[/C][C]298.909936539123[/C][/ROW]
[ROW][C]57[/C][C]147.139314398673[/C][C]-8.75386876730767[/C][C]45.2062408728463[/C][C]249.0723879245[/C][C]303.032497564654[/C][/ROW]
[ROW][C]58[/C][C]147.139314398673[/C][C]-12.7701830376736[/C][C]42.5801141268926[/C][C]251.698514670454[/C][C]307.04881183502[/C][/ROW]
[ROW][C]59[/C][C]147.139314398673[/C][C]-16.6880648243003[/C][C]40.0183489225955[/C][C]254.260279874751[/C][C]310.966693621647[/C][/ROW]
[ROW][C]60[/C][C]147.139314398673[/C][C]-20.5144150432659[/C][C]37.5164329934678[/C][C]256.762195803878[/C][C]314.793043840612[/C][/ROW]
[ROW][C]61[/C][C]147.139314398673[/C][C]-24.2553640733082[/C][C]35.0703579003083[/C][C]259.208270897038[/C][C]318.533992870654[/C][/ROW]
[ROW][C]62[/C][C]147.139314398673[/C][C]-27.916387082989[/C][C]32.6765436228218[/C][C]261.602085174524[/C][C]322.195015880335[/C][/ROW]
[ROW][C]63[/C][C]147.139314398673[/C][C]-31.5023980706149[/C][C]30.3317770702208[/C][C]263.946851727125[/C][C]325.781026867961[/C][/ROW]
[ROW][C]64[/C][C]147.139314398673[/C][C]-35.0178272309724[/C][C]28.0331614938359[/C][C]266.245467303510[/C][C]329.296456028319[/C][/ROW]
[ROW][C]65[/C][C]147.139314398673[/C][C]-38.4666851256033[/C][C]25.778074528428[/C][C]268.500554268918[/C][C]332.74531392295[/C][/ROW]
[ROW][C]66[/C][C]147.139314398673[/C][C]-41.8526163077161[/C][C]23.5641331287439[/C][C]270.714495668602[/C][C]336.131245105062[/C][/ROW]
[ROW][C]67[/C][C]147.139314398673[/C][C]-45.1789444454928[/C][C]21.3891640649715[/C][C]272.889464732375[/C][C]339.457573242839[/C][/ROW]
[ROW][C]68[/C][C]147.139314398673[/C][C]-48.4487105353053[/C][C]19.2511789364605[/C][C]275.027449860886[/C][C]342.727339332651[/C][/ROW]
[ROW][C]69[/C][C]147.139314398673[/C][C]-51.6647054557994[/C][C]17.1483528857513[/C][C]277.130275911595[/C][C]345.943334253146[/C][/ROW]
[ROW][C]70[/C][C]147.139314398673[/C][C]-54.8294978546559[/C][C]15.0790063644018[/C][C]279.199622432944[/C][C]349.108126652002[/C][/ROW]
[ROW][C]71[/C][C]147.139314398673[/C][C]-57.9454581607332[/C][C]13.0415894322915[/C][C]281.237039365055[/C][C]352.224086958079[/C][/ROW]
[ROW][C]72[/C][C]147.139314398673[/C][C]-61.0147793599325[/C][C]11.0346681730133[/C][C]283.243960624333[/C][C]355.293408157279[/C][/ROW]
[ROW][C]73[/C][C]147.139314398673[/C][C]-64.0394950524395[/C][C]9.0569128868776[/C][C]285.221715910469[/C][C]358.318123849786[/C][/ROW]
[ROW][C]74[/C][C]147.139314398673[/C][C]-67.0214952138988[/C][C]7.1070877852346[/C][C]287.171541012112[/C][C]361.300124011245[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=75883&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=75883&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
51147.13931439867317.939826469021162.660310024181231.618318773165276.338802328325
52147.13931439867313.121142145775859.5095417003592234.769087096987281.157486651570
53147.1393143986738.4698033058225556.4681947066187237.810434090727285.808825491524
54147.1393143986733.9694987270268953.5256037080721240.753025089274290.309130070319
55147.139314398673-0.39359356485925950.672731001539243.605897795807294.672222362206
56147.139314398673-4.6313077417763147.9018386379056246.376790159441298.909936539123
57147.139314398673-8.7538687673076745.2062408728463249.0723879245303.032497564654
58147.139314398673-12.770183037673642.5801141268926251.698514670454307.04881183502
59147.139314398673-16.688064824300340.0183489225955254.260279874751310.966693621647
60147.139314398673-20.514415043265937.5164329934678256.762195803878314.793043840612
61147.139314398673-24.255364073308235.0703579003083259.208270897038318.533992870654
62147.139314398673-27.91638708298932.6765436228218261.602085174524322.195015880335
63147.139314398673-31.502398070614930.3317770702208263.946851727125325.781026867961
64147.139314398673-35.017827230972428.0331614938359266.245467303510329.296456028319
65147.139314398673-38.466685125603325.778074528428268.500554268918332.74531392295
66147.139314398673-41.852616307716123.5641331287439270.714495668602336.131245105062
67147.139314398673-45.178944445492821.3891640649715272.889464732375339.457573242839
68147.139314398673-48.448710535305319.2511789364605275.027449860886342.727339332651
69147.139314398673-51.664705455799417.1483528857513277.130275911595345.943334253146
70147.139314398673-54.829497854655915.0790063644018279.199622432944349.108126652002
71147.139314398673-57.945458160733213.0415894322915281.237039365055352.224086958079
72147.139314398673-61.014779359932511.0346681730133283.243960624333355.293408157279
73147.139314398673-64.03949505243959.0569128868776285.221715910469358.318123849786
74147.139314398673-67.02149521389887.1070877852346287.171541012112361.300124011245







Actuals and Interpolation
TimeActualForecast
1283.25266.188606019126
2286.75270.891611334875
3230.25275.263005974429
4200.5262.855086280826
5297.95245.666789558327
6329.5260.078754776835
7289.75279.214851491821
8223.775282.118884977697
9281.78266.036283432995
10265.8270.376068493188
11256.75269.114666612848
1289.275265.706323023052
13225.5217.072697249434
14124.25219.395699090770
15230193.168608321036
16286.525203.321250657694
17227226.256520535747
18218.3226.461462047352
19334.525224.211739695473
20128.95254.619797219461
21195.5219.978681434033
22106.056213.231086891884
23173.525183.688072766927
24114.75180.886602658401
25131.05162.655923839499
26141.25153.943691533454
27160.25150.444651605929
28145.5153.147514318775
29297.5151.039462624184
30179.25191.411585007509
31137188.059221243893
32158.6173.984650948099
3355.6169.743843000579
3415.25138.279878157287
3567.75104.366461022770
369394.2730647254302
37126.7593.922142041287
38160102.971202783778
39150.525118.691297915473
40239.25127.466317722843
41165.05158.279699827074
42215.81160.145945793739
43166175.489846949862
4479.05172.873952803060
45204.25147.011203881603
46102162.789185605352
4787.025146.032532346977
4872.175129.766995157684
49176.75113.891653454959
50188.975131.218674815109

\begin{tabular}{lllllllll}
\hline
Actuals and Interpolation \tabularnewline
Time & Actual & Forecast \tabularnewline
1 & 283.25 & 266.188606019126 \tabularnewline
2 & 286.75 & 270.891611334875 \tabularnewline
3 & 230.25 & 275.263005974429 \tabularnewline
4 & 200.5 & 262.855086280826 \tabularnewline
5 & 297.95 & 245.666789558327 \tabularnewline
6 & 329.5 & 260.078754776835 \tabularnewline
7 & 289.75 & 279.214851491821 \tabularnewline
8 & 223.775 & 282.118884977697 \tabularnewline
9 & 281.78 & 266.036283432995 \tabularnewline
10 & 265.8 & 270.376068493188 \tabularnewline
11 & 256.75 & 269.114666612848 \tabularnewline
12 & 89.275 & 265.706323023052 \tabularnewline
13 & 225.5 & 217.072697249434 \tabularnewline
14 & 124.25 & 219.395699090770 \tabularnewline
15 & 230 & 193.168608321036 \tabularnewline
16 & 286.525 & 203.321250657694 \tabularnewline
17 & 227 & 226.256520535747 \tabularnewline
18 & 218.3 & 226.461462047352 \tabularnewline
19 & 334.525 & 224.211739695473 \tabularnewline
20 & 128.95 & 254.619797219461 \tabularnewline
21 & 195.5 & 219.978681434033 \tabularnewline
22 & 106.056 & 213.231086891884 \tabularnewline
23 & 173.525 & 183.688072766927 \tabularnewline
24 & 114.75 & 180.886602658401 \tabularnewline
25 & 131.05 & 162.655923839499 \tabularnewline
26 & 141.25 & 153.943691533454 \tabularnewline
27 & 160.25 & 150.444651605929 \tabularnewline
28 & 145.5 & 153.147514318775 \tabularnewline
29 & 297.5 & 151.039462624184 \tabularnewline
30 & 179.25 & 191.411585007509 \tabularnewline
31 & 137 & 188.059221243893 \tabularnewline
32 & 158.6 & 173.984650948099 \tabularnewline
33 & 55.6 & 169.743843000579 \tabularnewline
34 & 15.25 & 138.279878157287 \tabularnewline
35 & 67.75 & 104.366461022770 \tabularnewline
36 & 93 & 94.2730647254302 \tabularnewline
37 & 126.75 & 93.922142041287 \tabularnewline
38 & 160 & 102.971202783778 \tabularnewline
39 & 150.525 & 118.691297915473 \tabularnewline
40 & 239.25 & 127.466317722843 \tabularnewline
41 & 165.05 & 158.279699827074 \tabularnewline
42 & 215.81 & 160.145945793739 \tabularnewline
43 & 166 & 175.489846949862 \tabularnewline
44 & 79.05 & 172.873952803060 \tabularnewline
45 & 204.25 & 147.011203881603 \tabularnewline
46 & 102 & 162.789185605352 \tabularnewline
47 & 87.025 & 146.032532346977 \tabularnewline
48 & 72.175 & 129.766995157684 \tabularnewline
49 & 176.75 & 113.891653454959 \tabularnewline
50 & 188.975 & 131.218674815109 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=75883&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]283.25[/C][C]266.188606019126[/C][/ROW]
[ROW][C]2[/C][C]286.75[/C][C]270.891611334875[/C][/ROW]
[ROW][C]3[/C][C]230.25[/C][C]275.263005974429[/C][/ROW]
[ROW][C]4[/C][C]200.5[/C][C]262.855086280826[/C][/ROW]
[ROW][C]5[/C][C]297.95[/C][C]245.666789558327[/C][/ROW]
[ROW][C]6[/C][C]329.5[/C][C]260.078754776835[/C][/ROW]
[ROW][C]7[/C][C]289.75[/C][C]279.214851491821[/C][/ROW]
[ROW][C]8[/C][C]223.775[/C][C]282.118884977697[/C][/ROW]
[ROW][C]9[/C][C]281.78[/C][C]266.036283432995[/C][/ROW]
[ROW][C]10[/C][C]265.8[/C][C]270.376068493188[/C][/ROW]
[ROW][C]11[/C][C]256.75[/C][C]269.114666612848[/C][/ROW]
[ROW][C]12[/C][C]89.275[/C][C]265.706323023052[/C][/ROW]
[ROW][C]13[/C][C]225.5[/C][C]217.072697249434[/C][/ROW]
[ROW][C]14[/C][C]124.25[/C][C]219.395699090770[/C][/ROW]
[ROW][C]15[/C][C]230[/C][C]193.168608321036[/C][/ROW]
[ROW][C]16[/C][C]286.525[/C][C]203.321250657694[/C][/ROW]
[ROW][C]17[/C][C]227[/C][C]226.256520535747[/C][/ROW]
[ROW][C]18[/C][C]218.3[/C][C]226.461462047352[/C][/ROW]
[ROW][C]19[/C][C]334.525[/C][C]224.211739695473[/C][/ROW]
[ROW][C]20[/C][C]128.95[/C][C]254.619797219461[/C][/ROW]
[ROW][C]21[/C][C]195.5[/C][C]219.978681434033[/C][/ROW]
[ROW][C]22[/C][C]106.056[/C][C]213.231086891884[/C][/ROW]
[ROW][C]23[/C][C]173.525[/C][C]183.688072766927[/C][/ROW]
[ROW][C]24[/C][C]114.75[/C][C]180.886602658401[/C][/ROW]
[ROW][C]25[/C][C]131.05[/C][C]162.655923839499[/C][/ROW]
[ROW][C]26[/C][C]141.25[/C][C]153.943691533454[/C][/ROW]
[ROW][C]27[/C][C]160.25[/C][C]150.444651605929[/C][/ROW]
[ROW][C]28[/C][C]145.5[/C][C]153.147514318775[/C][/ROW]
[ROW][C]29[/C][C]297.5[/C][C]151.039462624184[/C][/ROW]
[ROW][C]30[/C][C]179.25[/C][C]191.411585007509[/C][/ROW]
[ROW][C]31[/C][C]137[/C][C]188.059221243893[/C][/ROW]
[ROW][C]32[/C][C]158.6[/C][C]173.984650948099[/C][/ROW]
[ROW][C]33[/C][C]55.6[/C][C]169.743843000579[/C][/ROW]
[ROW][C]34[/C][C]15.25[/C][C]138.279878157287[/C][/ROW]
[ROW][C]35[/C][C]67.75[/C][C]104.366461022770[/C][/ROW]
[ROW][C]36[/C][C]93[/C][C]94.2730647254302[/C][/ROW]
[ROW][C]37[/C][C]126.75[/C][C]93.922142041287[/C][/ROW]
[ROW][C]38[/C][C]160[/C][C]102.971202783778[/C][/ROW]
[ROW][C]39[/C][C]150.525[/C][C]118.691297915473[/C][/ROW]
[ROW][C]40[/C][C]239.25[/C][C]127.466317722843[/C][/ROW]
[ROW][C]41[/C][C]165.05[/C][C]158.279699827074[/C][/ROW]
[ROW][C]42[/C][C]215.81[/C][C]160.145945793739[/C][/ROW]
[ROW][C]43[/C][C]166[/C][C]175.489846949862[/C][/ROW]
[ROW][C]44[/C][C]79.05[/C][C]172.873952803060[/C][/ROW]
[ROW][C]45[/C][C]204.25[/C][C]147.011203881603[/C][/ROW]
[ROW][C]46[/C][C]102[/C][C]162.789185605352[/C][/ROW]
[ROW][C]47[/C][C]87.025[/C][C]146.032532346977[/C][/ROW]
[ROW][C]48[/C][C]72.175[/C][C]129.766995157684[/C][/ROW]
[ROW][C]49[/C][C]176.75[/C][C]113.891653454959[/C][/ROW]
[ROW][C]50[/C][C]188.975[/C][C]131.218674815109[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=75883&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=75883&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
1283.25266.188606019126
2286.75270.891611334875
3230.25275.263005974429
4200.5262.855086280826
5297.95245.666789558327
6329.5260.078754776835
7289.75279.214851491821
8223.775282.118884977697
9281.78266.036283432995
10265.8270.376068493188
11256.75269.114666612848
1289.275265.706323023052
13225.5217.072697249434
14124.25219.395699090770
15230193.168608321036
16286.525203.321250657694
17227226.256520535747
18218.3226.461462047352
19334.525224.211739695473
20128.95254.619797219461
21195.5219.978681434033
22106.056213.231086891884
23173.525183.688072766927
24114.75180.886602658401
25131.05162.655923839499
26141.25153.943691533454
27160.25150.444651605929
28145.5153.147514318775
29297.5151.039462624184
30179.25191.411585007509
31137188.059221243893
32158.6173.984650948099
3355.6169.743843000579
3415.25138.279878157287
3567.75104.366461022770
369394.2730647254302
37126.7593.922142041287
38160102.971202783778
39150.525118.691297915473
40239.25127.466317722843
41165.05158.279699827074
42215.81160.145945793739
43166175.489846949862
4479.05172.873952803060
45204.25147.011203881603
46102162.789185605352
4787.025146.032532346977
4872.175129.766995157684
49176.75113.891653454959
50188.975131.218674815109







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

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