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:32:45 +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/t1273750403m7am1oqfk6ohqya.htm/, Retrieved Mon, 06 May 2024 08:38:20 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=75869, Retrieved Mon, 06 May 2024 08:38:20 +0000
QR Codes:

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

Post a new message
Dataseries X:
66
66
66
76
34
66
66
66
66
66
44
44
66
87,5
66,000
66
66
65,5
65,5
88
42
88
88
64
88
88
88
63
110
85
88
108
88,023
88
66
44,5
88,5
88
108
66
85
66
66
110
83
66
83
44
83
105




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

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







Demand Forecast
PointForecast95% LB80% LB80% UB95% UB
5180.057647726281245.616479614036157.537778350319102.577517102243114.498815838526
5280.057647726281245.444702148863457.4254591030502102.689836349512114.670593303699
5380.057647726281245.273772983023457.3136945289012102.801600923661114.841522469539
5480.057647726281245.103679671652557.202476490613102.912818961949115.011615780910
5580.057647726281244.934410071227857.0917970479628103.023498404600115.180885381335
5680.057647726281244.765952329449956.9816484511485103.133647001414115.349343123112
5780.057647726281244.598294875558156.8720231344565103.243272318106115.517000577004
5880.057647726281244.431426411055556.7629137101966103.352381742366115.683869041507
5980.057647726281244.265335900823556.6543129628926103.460982489670115.849959551739
6080.057647726281244.100012564605756.5462138437138103.569081608849116.015282887957

\begin{tabular}{lllllllll}
\hline
Demand Forecast \tabularnewline
Point & Forecast & 95% LB & 80% LB & 80% UB & 95% UB \tabularnewline
51 & 80.0576477262812 & 45.6164796140361 & 57.537778350319 & 102.577517102243 & 114.498815838526 \tabularnewline
52 & 80.0576477262812 & 45.4447021488634 & 57.4254591030502 & 102.689836349512 & 114.670593303699 \tabularnewline
53 & 80.0576477262812 & 45.2737729830234 & 57.3136945289012 & 102.801600923661 & 114.841522469539 \tabularnewline
54 & 80.0576477262812 & 45.1036796716525 & 57.202476490613 & 102.912818961949 & 115.011615780910 \tabularnewline
55 & 80.0576477262812 & 44.9344100712278 & 57.0917970479628 & 103.023498404600 & 115.180885381335 \tabularnewline
56 & 80.0576477262812 & 44.7659523294499 & 56.9816484511485 & 103.133647001414 & 115.349343123112 \tabularnewline
57 & 80.0576477262812 & 44.5982948755581 & 56.8720231344565 & 103.243272318106 & 115.517000577004 \tabularnewline
58 & 80.0576477262812 & 44.4314264110555 & 56.7629137101966 & 103.352381742366 & 115.683869041507 \tabularnewline
59 & 80.0576477262812 & 44.2653359008235 & 56.6543129628926 & 103.460982489670 & 115.849959551739 \tabularnewline
60 & 80.0576477262812 & 44.1000125646057 & 56.5462138437138 & 103.569081608849 & 116.015282887957 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=75869&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]80.0576477262812[/C][C]45.6164796140361[/C][C]57.537778350319[/C][C]102.577517102243[/C][C]114.498815838526[/C][/ROW]
[ROW][C]52[/C][C]80.0576477262812[/C][C]45.4447021488634[/C][C]57.4254591030502[/C][C]102.689836349512[/C][C]114.670593303699[/C][/ROW]
[ROW][C]53[/C][C]80.0576477262812[/C][C]45.2737729830234[/C][C]57.3136945289012[/C][C]102.801600923661[/C][C]114.841522469539[/C][/ROW]
[ROW][C]54[/C][C]80.0576477262812[/C][C]45.1036796716525[/C][C]57.202476490613[/C][C]102.912818961949[/C][C]115.011615780910[/C][/ROW]
[ROW][C]55[/C][C]80.0576477262812[/C][C]44.9344100712278[/C][C]57.0917970479628[/C][C]103.023498404600[/C][C]115.180885381335[/C][/ROW]
[ROW][C]56[/C][C]80.0576477262812[/C][C]44.7659523294499[/C][C]56.9816484511485[/C][C]103.133647001414[/C][C]115.349343123112[/C][/ROW]
[ROW][C]57[/C][C]80.0576477262812[/C][C]44.5982948755581[/C][C]56.8720231344565[/C][C]103.243272318106[/C][C]115.517000577004[/C][/ROW]
[ROW][C]58[/C][C]80.0576477262812[/C][C]44.4314264110555[/C][C]56.7629137101966[/C][C]103.352381742366[/C][C]115.683869041507[/C][/ROW]
[ROW][C]59[/C][C]80.0576477262812[/C][C]44.2653359008235[/C][C]56.6543129628926[/C][C]103.460982489670[/C][C]115.849959551739[/C][/ROW]
[ROW][C]60[/C][C]80.0576477262812[/C][C]44.1000125646057[/C][C]56.5462138437138[/C][C]103.569081608849[/C][C]116.015282887957[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=75869&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=75869&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
5180.057647726281245.616479614036157.537778350319102.577517102243114.498815838526
5280.057647726281245.444702148863457.4254591030502102.689836349512114.670593303699
5380.057647726281245.273772983023457.3136945289012102.801600923661114.841522469539
5480.057647726281245.103679671652557.202476490613102.912818961949115.011615780910
5580.057647726281244.934410071227857.0917970479628103.023498404600115.180885381335
5680.057647726281244.765952329449956.9816484511485103.133647001414115.349343123112
5780.057647726281244.598294875558156.8720231344565103.243272318106115.517000577004
5880.057647726281244.431426411055556.7629137101966103.352381742366115.683869041507
5980.057647726281244.265335900823556.6543129628926103.460982489670115.849959551739
6080.057647726281244.100012564605756.5462138437138103.569081608849116.015282887957







Actuals and Interpolation
TimeActualForecast
166NA
26666
36666
47666
53467
66663.7
76663.93
86664.137
96664.3233
106664.49097
114464.641873
124462.5776857
136660.71991713
1487.561.247925417
156663.8731328753
166664.08581958777
176664.277237628993
1865.564.4495138660937
1965.564.5545624794843
208864.6491062315359
214266.9841956083823
228864.4857760475441
238866.8371984427897
246468.9534785985107
258868.4581307386596
268870.4123176647937
278872.1710858983143
286373.7539773084829
2911072.6785795776346
308576.4107216198711
318877.269649457884
3210878.3426845120956
3388.02381.308416060886
348881.9798744547975
356682.5818870093177
3644.580.923698308386
3788.577.2813284775473
388878.4031956297926
3910879.3628760668133
406682.226588460132
418580.6039296141188
426681.043536652707
436679.5391829874362
4411078.1852646886926
458381.3667382198233
466681.530064397841
478379.9770579580569
484480.2793521622512
498376.6514169460261
5010577.2862752514235

\begin{tabular}{lllllllll}
\hline
Actuals and Interpolation \tabularnewline
Time & Actual & Forecast \tabularnewline
1 & 66 & NA \tabularnewline
2 & 66 & 66 \tabularnewline
3 & 66 & 66 \tabularnewline
4 & 76 & 66 \tabularnewline
5 & 34 & 67 \tabularnewline
6 & 66 & 63.7 \tabularnewline
7 & 66 & 63.93 \tabularnewline
8 & 66 & 64.137 \tabularnewline
9 & 66 & 64.3233 \tabularnewline
10 & 66 & 64.49097 \tabularnewline
11 & 44 & 64.641873 \tabularnewline
12 & 44 & 62.5776857 \tabularnewline
13 & 66 & 60.71991713 \tabularnewline
14 & 87.5 & 61.247925417 \tabularnewline
15 & 66 & 63.8731328753 \tabularnewline
16 & 66 & 64.08581958777 \tabularnewline
17 & 66 & 64.277237628993 \tabularnewline
18 & 65.5 & 64.4495138660937 \tabularnewline
19 & 65.5 & 64.5545624794843 \tabularnewline
20 & 88 & 64.6491062315359 \tabularnewline
21 & 42 & 66.9841956083823 \tabularnewline
22 & 88 & 64.4857760475441 \tabularnewline
23 & 88 & 66.8371984427897 \tabularnewline
24 & 64 & 68.9534785985107 \tabularnewline
25 & 88 & 68.4581307386596 \tabularnewline
26 & 88 & 70.4123176647937 \tabularnewline
27 & 88 & 72.1710858983143 \tabularnewline
28 & 63 & 73.7539773084829 \tabularnewline
29 & 110 & 72.6785795776346 \tabularnewline
30 & 85 & 76.4107216198711 \tabularnewline
31 & 88 & 77.269649457884 \tabularnewline
32 & 108 & 78.3426845120956 \tabularnewline
33 & 88.023 & 81.308416060886 \tabularnewline
34 & 88 & 81.9798744547975 \tabularnewline
35 & 66 & 82.5818870093177 \tabularnewline
36 & 44.5 & 80.923698308386 \tabularnewline
37 & 88.5 & 77.2813284775473 \tabularnewline
38 & 88 & 78.4031956297926 \tabularnewline
39 & 108 & 79.3628760668133 \tabularnewline
40 & 66 & 82.226588460132 \tabularnewline
41 & 85 & 80.6039296141188 \tabularnewline
42 & 66 & 81.043536652707 \tabularnewline
43 & 66 & 79.5391829874362 \tabularnewline
44 & 110 & 78.1852646886926 \tabularnewline
45 & 83 & 81.3667382198233 \tabularnewline
46 & 66 & 81.530064397841 \tabularnewline
47 & 83 & 79.9770579580569 \tabularnewline
48 & 44 & 80.2793521622512 \tabularnewline
49 & 83 & 76.6514169460261 \tabularnewline
50 & 105 & 77.2862752514235 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=75869&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]66[/C][C]NA[/C][/ROW]
[ROW][C]2[/C][C]66[/C][C]66[/C][/ROW]
[ROW][C]3[/C][C]66[/C][C]66[/C][/ROW]
[ROW][C]4[/C][C]76[/C][C]66[/C][/ROW]
[ROW][C]5[/C][C]34[/C][C]67[/C][/ROW]
[ROW][C]6[/C][C]66[/C][C]63.7[/C][/ROW]
[ROW][C]7[/C][C]66[/C][C]63.93[/C][/ROW]
[ROW][C]8[/C][C]66[/C][C]64.137[/C][/ROW]
[ROW][C]9[/C][C]66[/C][C]64.3233[/C][/ROW]
[ROW][C]10[/C][C]66[/C][C]64.49097[/C][/ROW]
[ROW][C]11[/C][C]44[/C][C]64.641873[/C][/ROW]
[ROW][C]12[/C][C]44[/C][C]62.5776857[/C][/ROW]
[ROW][C]13[/C][C]66[/C][C]60.71991713[/C][/ROW]
[ROW][C]14[/C][C]87.5[/C][C]61.247925417[/C][/ROW]
[ROW][C]15[/C][C]66[/C][C]63.8731328753[/C][/ROW]
[ROW][C]16[/C][C]66[/C][C]64.08581958777[/C][/ROW]
[ROW][C]17[/C][C]66[/C][C]64.277237628993[/C][/ROW]
[ROW][C]18[/C][C]65.5[/C][C]64.4495138660937[/C][/ROW]
[ROW][C]19[/C][C]65.5[/C][C]64.5545624794843[/C][/ROW]
[ROW][C]20[/C][C]88[/C][C]64.6491062315359[/C][/ROW]
[ROW][C]21[/C][C]42[/C][C]66.9841956083823[/C][/ROW]
[ROW][C]22[/C][C]88[/C][C]64.4857760475441[/C][/ROW]
[ROW][C]23[/C][C]88[/C][C]66.8371984427897[/C][/ROW]
[ROW][C]24[/C][C]64[/C][C]68.9534785985107[/C][/ROW]
[ROW][C]25[/C][C]88[/C][C]68.4581307386596[/C][/ROW]
[ROW][C]26[/C][C]88[/C][C]70.4123176647937[/C][/ROW]
[ROW][C]27[/C][C]88[/C][C]72.1710858983143[/C][/ROW]
[ROW][C]28[/C][C]63[/C][C]73.7539773084829[/C][/ROW]
[ROW][C]29[/C][C]110[/C][C]72.6785795776346[/C][/ROW]
[ROW][C]30[/C][C]85[/C][C]76.4107216198711[/C][/ROW]
[ROW][C]31[/C][C]88[/C][C]77.269649457884[/C][/ROW]
[ROW][C]32[/C][C]108[/C][C]78.3426845120956[/C][/ROW]
[ROW][C]33[/C][C]88.023[/C][C]81.308416060886[/C][/ROW]
[ROW][C]34[/C][C]88[/C][C]81.9798744547975[/C][/ROW]
[ROW][C]35[/C][C]66[/C][C]82.5818870093177[/C][/ROW]
[ROW][C]36[/C][C]44.5[/C][C]80.923698308386[/C][/ROW]
[ROW][C]37[/C][C]88.5[/C][C]77.2813284775473[/C][/ROW]
[ROW][C]38[/C][C]88[/C][C]78.4031956297926[/C][/ROW]
[ROW][C]39[/C][C]108[/C][C]79.3628760668133[/C][/ROW]
[ROW][C]40[/C][C]66[/C][C]82.226588460132[/C][/ROW]
[ROW][C]41[/C][C]85[/C][C]80.6039296141188[/C][/ROW]
[ROW][C]42[/C][C]66[/C][C]81.043536652707[/C][/ROW]
[ROW][C]43[/C][C]66[/C][C]79.5391829874362[/C][/ROW]
[ROW][C]44[/C][C]110[/C][C]78.1852646886926[/C][/ROW]
[ROW][C]45[/C][C]83[/C][C]81.3667382198233[/C][/ROW]
[ROW][C]46[/C][C]66[/C][C]81.530064397841[/C][/ROW]
[ROW][C]47[/C][C]83[/C][C]79.9770579580569[/C][/ROW]
[ROW][C]48[/C][C]44[/C][C]80.2793521622512[/C][/ROW]
[ROW][C]49[/C][C]83[/C][C]76.6514169460261[/C][/ROW]
[ROW][C]50[/C][C]105[/C][C]77.2862752514235[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=75869&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=75869&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
166NA
26666
36666
47666
53467
66663.7
76663.93
86664.137
96664.3233
106664.49097
114464.641873
124462.5776857
136660.71991713
1487.561.247925417
156663.8731328753
166664.08581958777
176664.277237628993
1865.564.4495138660937
1965.564.5545624794843
208864.6491062315359
214266.9841956083823
228864.4857760475441
238866.8371984427897
246468.9534785985107
258868.4581307386596
268870.4123176647937
278872.1710858983143
286373.7539773084829
2911072.6785795776346
308576.4107216198711
318877.269649457884
3210878.3426845120956
3388.02381.308416060886
348881.9798744547975
356682.5818870093177
3644.580.923698308386
3788.577.2813284775473
388878.4031956297926
3910879.3628760668133
406682.226588460132
418580.6039296141188
426681.043536652707
436679.5391829874362
4411078.1852646886926
458381.3667382198233
466681.530064397841
478379.9770579580569
484480.2793521622512
498376.6514169460261
5010577.2862752514235







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

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=75869&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 = Croston ; par3 = NA ; par4 = NA ; par5 = ZZZ ; par6 = 12 ; par7 = dum ; par8 = dumresult ; par9 = 3 ; par10 = 0.1 ;
Parameters (R input):
par1 = Input box ; par2 = Croston ; 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