Free Statistics

of Irreproducible Research!

Author's title

Author*Unverified author*
R Software Modulerwasp_arimaforecasting.wasp
Title produced by softwareARIMA Forecasting
Date of computationThu, 06 Dec 2007 04:05:59 -0700
Cite this page as followsStatistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?v=date/2007/Dec/06/t1196938401c4dvfe0nmrquuum.htm/, Retrieved Fri, 03 May 2024 12:14:14 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=2564, Retrieved Fri, 03 May 2024 12:14:14 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywordsQ1 - totale werkloosheid
Estimated Impact204
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-       [ARIMA Forecasting] [estimation of ARM...] [2007-12-06 11:05:59] [ac6f409873aab27747ac7f3d36ded223] [Current]
Feedback Forum

Post a new message
Dataseries X:
513
503
471
471
476
475
470
461
455
456
517
525
523
519
509
512
519
517
510
509
501
507
569
580
578
565
547
555
562
561
555
544
537
543
594
611
613
611
594
595
591
589
584
573
567
569
621
629
628
612
595
597
593
590
580
574
573
573
620
626
620
588
566
557
561
549
532
526
511
499
555
565
542




Summary of compuational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time3 seconds
R Server'Herman Ole Andreas Wold' @ 193.190.124.10:1001

\begin{tabular}{lllllllll}
\hline
Summary of compuational 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 & 'Herman Ole Andreas Wold' @ 193.190.124.10:1001 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=2564&T=0

[TABLE]
[ROW][C]Summary of compuational 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]'Herman Ole Andreas Wold' @ 193.190.124.10:1001[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=2564&T=0

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=2564&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 compuational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time3 seconds
R Server'Herman Ole Andreas Wold' @ 193.190.124.10:1001







Univariate ARIMA Extrapolation Forecast
timeY[t]F[t]95% LB95% UBp-value(H0: Y[t] = F[t])P(F[t]>Y[t-1])P(F[t]>Y[t-s])P(F[t]>Y[61])
60626-------
61620-------
62588619.7309585.0848654.37710.03630.49390.49390.4939
63566620.913564.9279676.8980.02730.87540.87540.5127
64557622.4624549.436695.48890.03950.93520.93520.5263
65561624.1049536.6243711.58550.07870.93360.93360.5366
66549625.771525.4912726.05080.06670.89720.89720.5449
67532627.443515.4945739.39150.04740.91520.91520.5518
68526629.1165506.3176751.91540.04990.93940.93940.5578
69511630.7904497.7615763.81930.03880.93870.93870.5632
70499632.4644489.6931775.23580.03350.95230.95230.5679
71555634.1385482.0186786.25830.15390.95920.95920.5723
72565635.8125474.6696796.95530.19450.83720.83720.5763
73542637.4865467.5942807.37880.13530.79850.79850.5799

\begin{tabular}{lllllllll}
\hline
Univariate ARIMA Extrapolation Forecast \tabularnewline
time & Y[t] & F[t] & 95% LB & 95% UB & p-value(H0: Y[t] = F[t]) & P(F[t]>Y[t-1]) & P(F[t]>Y[t-s]) & P(F[t]>Y[61]) \tabularnewline
60 & 626 & - & - & - & - & - & - & - \tabularnewline
61 & 620 & - & - & - & - & - & - & - \tabularnewline
62 & 588 & 619.7309 & 585.0848 & 654.3771 & 0.0363 & 0.4939 & 0.4939 & 0.4939 \tabularnewline
63 & 566 & 620.913 & 564.9279 & 676.898 & 0.0273 & 0.8754 & 0.8754 & 0.5127 \tabularnewline
64 & 557 & 622.4624 & 549.436 & 695.4889 & 0.0395 & 0.9352 & 0.9352 & 0.5263 \tabularnewline
65 & 561 & 624.1049 & 536.6243 & 711.5855 & 0.0787 & 0.9336 & 0.9336 & 0.5366 \tabularnewline
66 & 549 & 625.771 & 525.4912 & 726.0508 & 0.0667 & 0.8972 & 0.8972 & 0.5449 \tabularnewline
67 & 532 & 627.443 & 515.4945 & 739.3915 & 0.0474 & 0.9152 & 0.9152 & 0.5518 \tabularnewline
68 & 526 & 629.1165 & 506.3176 & 751.9154 & 0.0499 & 0.9394 & 0.9394 & 0.5578 \tabularnewline
69 & 511 & 630.7904 & 497.7615 & 763.8193 & 0.0388 & 0.9387 & 0.9387 & 0.5632 \tabularnewline
70 & 499 & 632.4644 & 489.6931 & 775.2358 & 0.0335 & 0.9523 & 0.9523 & 0.5679 \tabularnewline
71 & 555 & 634.1385 & 482.0186 & 786.2583 & 0.1539 & 0.9592 & 0.9592 & 0.5723 \tabularnewline
72 & 565 & 635.8125 & 474.6696 & 796.9553 & 0.1945 & 0.8372 & 0.8372 & 0.5763 \tabularnewline
73 & 542 & 637.4865 & 467.5942 & 807.3788 & 0.1353 & 0.7985 & 0.7985 & 0.5799 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=2564&T=1

[TABLE]
[ROW][C]Univariate ARIMA Extrapolation Forecast[/C][/ROW]
[ROW][C]time[/C][C]Y[t][/C][C]F[t][/C][C]95% LB[/C][C]95% UB[/C][C]p-value(H0: Y[t] = F[t])[/C][C]P(F[t]>Y[t-1])[/C][C]P(F[t]>Y[t-s])[/C][C]P(F[t]>Y[61])[/C][/ROW]
[ROW][C]60[/C][C]626[/C][C]-[/C][C]-[/C][C]-[/C][C]-[/C][C]-[/C][C]-[/C][C]-[/C][/ROW]
[ROW][C]61[/C][C]620[/C][C]-[/C][C]-[/C][C]-[/C][C]-[/C][C]-[/C][C]-[/C][C]-[/C][/ROW]
[ROW][C]62[/C][C]588[/C][C]619.7309[/C][C]585.0848[/C][C]654.3771[/C][C]0.0363[/C][C]0.4939[/C][C]0.4939[/C][C]0.4939[/C][/ROW]
[ROW][C]63[/C][C]566[/C][C]620.913[/C][C]564.9279[/C][C]676.898[/C][C]0.0273[/C][C]0.8754[/C][C]0.8754[/C][C]0.5127[/C][/ROW]
[ROW][C]64[/C][C]557[/C][C]622.4624[/C][C]549.436[/C][C]695.4889[/C][C]0.0395[/C][C]0.9352[/C][C]0.9352[/C][C]0.5263[/C][/ROW]
[ROW][C]65[/C][C]561[/C][C]624.1049[/C][C]536.6243[/C][C]711.5855[/C][C]0.0787[/C][C]0.9336[/C][C]0.9336[/C][C]0.5366[/C][/ROW]
[ROW][C]66[/C][C]549[/C][C]625.771[/C][C]525.4912[/C][C]726.0508[/C][C]0.0667[/C][C]0.8972[/C][C]0.8972[/C][C]0.5449[/C][/ROW]
[ROW][C]67[/C][C]532[/C][C]627.443[/C][C]515.4945[/C][C]739.3915[/C][C]0.0474[/C][C]0.9152[/C][C]0.9152[/C][C]0.5518[/C][/ROW]
[ROW][C]68[/C][C]526[/C][C]629.1165[/C][C]506.3176[/C][C]751.9154[/C][C]0.0499[/C][C]0.9394[/C][C]0.9394[/C][C]0.5578[/C][/ROW]
[ROW][C]69[/C][C]511[/C][C]630.7904[/C][C]497.7615[/C][C]763.8193[/C][C]0.0388[/C][C]0.9387[/C][C]0.9387[/C][C]0.5632[/C][/ROW]
[ROW][C]70[/C][C]499[/C][C]632.4644[/C][C]489.6931[/C][C]775.2358[/C][C]0.0335[/C][C]0.9523[/C][C]0.9523[/C][C]0.5679[/C][/ROW]
[ROW][C]71[/C][C]555[/C][C]634.1385[/C][C]482.0186[/C][C]786.2583[/C][C]0.1539[/C][C]0.9592[/C][C]0.9592[/C][C]0.5723[/C][/ROW]
[ROW][C]72[/C][C]565[/C][C]635.8125[/C][C]474.6696[/C][C]796.9553[/C][C]0.1945[/C][C]0.8372[/C][C]0.8372[/C][C]0.5763[/C][/ROW]
[ROW][C]73[/C][C]542[/C][C]637.4865[/C][C]467.5942[/C][C]807.3788[/C][C]0.1353[/C][C]0.7985[/C][C]0.7985[/C][C]0.5799[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=2564&T=1

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

As an alternative you can also use a QR Code:  

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

Univariate ARIMA Extrapolation Forecast
timeY[t]F[t]95% LB95% UBp-value(H0: Y[t] = F[t])P(F[t]>Y[t-1])P(F[t]>Y[t-s])P(F[t]>Y[61])
60626-------
61620-------
62588619.7309585.0848654.37710.03630.49390.49390.4939
63566620.913564.9279676.8980.02730.87540.87540.5127
64557622.4624549.436695.48890.03950.93520.93520.5263
65561624.1049536.6243711.58550.07870.93360.93360.5366
66549625.771525.4912726.05080.06670.89720.89720.5449
67532627.443515.4945739.39150.04740.91520.91520.5518
68526629.1165506.3176751.91540.04990.93940.93940.5578
69511630.7904497.7615763.81930.03880.93870.93870.5632
70499632.4644489.6931775.23580.03350.95230.95230.5679
71555634.1385482.0186786.25830.15390.95920.95920.5723
72565635.8125474.6696796.95530.19450.83720.83720.5763
73542637.4865467.5942807.37880.13530.79850.79850.5799







Univariate ARIMA Extrapolation Forecast Performance
time% S.E.PEMAPESq.EMSERMSE
620.0285-0.05120.00431006.852483.90449.1599
630.046-0.08840.00743015.4347251.286215.852
640.0599-0.10520.00884285.3303357.110918.8974
650.0715-0.10110.00843982.2319331.852718.2168
660.0818-0.12270.01025893.7829491.148622.1619
670.091-0.15210.01279109.3646759.113727.552
680.0996-0.16390.013710633.0158886.084729.7672
690.1076-0.18990.015814349.74541195.812134.5805
700.1152-0.2110.017617812.75311484.396138.5279
710.1224-0.12480.01046262.895521.907922.8453
720.1293-0.11140.00935014.4086417.867420.4418
730.136-0.14980.01259117.6765759.806427.5646

\begin{tabular}{lllllllll}
\hline
Univariate ARIMA Extrapolation Forecast Performance \tabularnewline
time & % S.E. & PE & MAPE & Sq.E & MSE & RMSE \tabularnewline
62 & 0.0285 & -0.0512 & 0.0043 & 1006.8524 & 83.9044 & 9.1599 \tabularnewline
63 & 0.046 & -0.0884 & 0.0074 & 3015.4347 & 251.2862 & 15.852 \tabularnewline
64 & 0.0599 & -0.1052 & 0.0088 & 4285.3303 & 357.1109 & 18.8974 \tabularnewline
65 & 0.0715 & -0.1011 & 0.0084 & 3982.2319 & 331.8527 & 18.2168 \tabularnewline
66 & 0.0818 & -0.1227 & 0.0102 & 5893.7829 & 491.1486 & 22.1619 \tabularnewline
67 & 0.091 & -0.1521 & 0.0127 & 9109.3646 & 759.1137 & 27.552 \tabularnewline
68 & 0.0996 & -0.1639 & 0.0137 & 10633.0158 & 886.0847 & 29.7672 \tabularnewline
69 & 0.1076 & -0.1899 & 0.0158 & 14349.7454 & 1195.8121 & 34.5805 \tabularnewline
70 & 0.1152 & -0.211 & 0.0176 & 17812.7531 & 1484.3961 & 38.5279 \tabularnewline
71 & 0.1224 & -0.1248 & 0.0104 & 6262.895 & 521.9079 & 22.8453 \tabularnewline
72 & 0.1293 & -0.1114 & 0.0093 & 5014.4086 & 417.8674 & 20.4418 \tabularnewline
73 & 0.136 & -0.1498 & 0.0125 & 9117.6765 & 759.8064 & 27.5646 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=2564&T=2

[TABLE]
[ROW][C]Univariate ARIMA Extrapolation Forecast Performance[/C][/ROW]
[ROW][C]time[/C][C]% S.E.[/C][C]PE[/C][C]MAPE[/C][C]Sq.E[/C][C]MSE[/C][C]RMSE[/C][/ROW]
[ROW][C]62[/C][C]0.0285[/C][C]-0.0512[/C][C]0.0043[/C][C]1006.8524[/C][C]83.9044[/C][C]9.1599[/C][/ROW]
[ROW][C]63[/C][C]0.046[/C][C]-0.0884[/C][C]0.0074[/C][C]3015.4347[/C][C]251.2862[/C][C]15.852[/C][/ROW]
[ROW][C]64[/C][C]0.0599[/C][C]-0.1052[/C][C]0.0088[/C][C]4285.3303[/C][C]357.1109[/C][C]18.8974[/C][/ROW]
[ROW][C]65[/C][C]0.0715[/C][C]-0.1011[/C][C]0.0084[/C][C]3982.2319[/C][C]331.8527[/C][C]18.2168[/C][/ROW]
[ROW][C]66[/C][C]0.0818[/C][C]-0.1227[/C][C]0.0102[/C][C]5893.7829[/C][C]491.1486[/C][C]22.1619[/C][/ROW]
[ROW][C]67[/C][C]0.091[/C][C]-0.1521[/C][C]0.0127[/C][C]9109.3646[/C][C]759.1137[/C][C]27.552[/C][/ROW]
[ROW][C]68[/C][C]0.0996[/C][C]-0.1639[/C][C]0.0137[/C][C]10633.0158[/C][C]886.0847[/C][C]29.7672[/C][/ROW]
[ROW][C]69[/C][C]0.1076[/C][C]-0.1899[/C][C]0.0158[/C][C]14349.7454[/C][C]1195.8121[/C][C]34.5805[/C][/ROW]
[ROW][C]70[/C][C]0.1152[/C][C]-0.211[/C][C]0.0176[/C][C]17812.7531[/C][C]1484.3961[/C][C]38.5279[/C][/ROW]
[ROW][C]71[/C][C]0.1224[/C][C]-0.1248[/C][C]0.0104[/C][C]6262.895[/C][C]521.9079[/C][C]22.8453[/C][/ROW]
[ROW][C]72[/C][C]0.1293[/C][C]-0.1114[/C][C]0.0093[/C][C]5014.4086[/C][C]417.8674[/C][C]20.4418[/C][/ROW]
[ROW][C]73[/C][C]0.136[/C][C]-0.1498[/C][C]0.0125[/C][C]9117.6765[/C][C]759.8064[/C][C]27.5646[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=2564&T=2

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

As an alternative you can also use a QR Code:  

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

Univariate ARIMA Extrapolation Forecast Performance
time% S.E.PEMAPESq.EMSERMSE
620.0285-0.05120.00431006.852483.90449.1599
630.046-0.08840.00743015.4347251.286215.852
640.0599-0.10520.00884285.3303357.110918.8974
650.0715-0.10110.00843982.2319331.852718.2168
660.0818-0.12270.01025893.7829491.148622.1619
670.091-0.15210.01279109.3646759.113727.552
680.0996-0.16390.013710633.0158886.084729.7672
690.1076-0.18990.015814349.74541195.812134.5805
700.1152-0.2110.017617812.75311484.396138.5279
710.1224-0.12480.01046262.895521.907922.8453
720.1293-0.11140.00935014.4086417.867420.4418
730.136-0.14980.01259117.6765759.806427.5646



Parameters (Session):
par1 = 12 ; par2 = 1 ; par3 = 1 ; par4 = 1 ; par5 = 1 ; par6 = 1 ; par7 = 1 ; par8 = 0 ; par9 = 0 ; par10 = FALSE ;
Parameters (R input):
par1 = 12 ; par2 = 1 ; par3 = 1 ; par4 = 1 ; par5 = 1 ; par6 = 1 ; par7 = 1 ; par8 = 0 ; par9 = 0 ; par10 = FALSE ;
R code (references can be found in the software module):
par1 <- as.numeric(par1) #cut off periods
par2 <- as.numeric(par2) #lambda
par3 <- as.numeric(par3) #degree of non-seasonal differencing
par4 <- as.numeric(par4) #degree of seasonal differencing
par5 <- as.numeric(par5) #seasonal period
par6 <- as.numeric(par6) #p
par7 <- as.numeric(par7) #q
par8 <- as.numeric(par8) #P
par9 <- as.numeric(par9) #Q
if (par10 == 'TRUE') par10 <- TRUE
if (par10 == 'FALSE') par10 <- FALSE
if (par2 == 0) x <- log(x)
if (par2 != 0) x <- x^par2
lx <- length(x)
first <- lx - 2*par1
nx <- lx - par1
nx1 <- nx + 1
fx <- lx - nx
if (fx < 1) {
fx <- par5
nx1 <- lx + fx - 1
first <- lx - 2*fx
}
first <- 1
if (fx < 3) fx <- round(lx/10,0)
(arima.out <- arima(x[1:nx], order=c(par6,par3,par7), seasonal=list(order=c(par8,par4,par9), period=par5), include.mean=par10, method='ML'))
(forecast <- predict(arima.out,fx))
(lb <- forecast$pred - 1.96 * forecast$se)
(ub <- forecast$pred + 1.96 * forecast$se)
if (par2 == 0) {
x <- exp(x)
forecast$pred <- exp(forecast$pred)
lb <- exp(lb)
ub <- exp(ub)
}
if (par2 != 0) {
x <- x^(1/par2)
forecast$pred <- forecast$pred^(1/par2)
lb <- lb^(1/par2)
ub <- ub^(1/par2)
}
(actandfor <- c(x[1:nx], forecast$pred))
(perc.se <- (ub-forecast$pred)/1.96/forecast$pred)
bitmap(file='test1.png')
opar <- par(mar=c(4,4,2,2),las=1)
ylim <- c( min(x[first:nx],lb), max(x[first:nx],ub))
plot(x,ylim=ylim,type='n',xlim=c(first,lx))
usr <- par('usr')
rect(usr[1],usr[3],nx+1,usr[4],border=NA,col='lemonchiffon')
rect(nx1,usr[3],usr[2],usr[4],border=NA,col='lavender')
abline(h= (-3:3)*2 , col ='gray', lty =3)
polygon( c(nx1:lx,lx:nx1), c(lb,rev(ub)), col = 'orange', lty=2,border=NA)
lines(nx1:lx, lb , lty=2)
lines(nx1:lx, ub , lty=2)
lines(x, lwd=2)
lines(nx1:lx, forecast$pred , lwd=2 , col ='white')
box()
par(opar)
dev.off()
prob.dec <- array(NA, dim=fx)
prob.sdec <- array(NA, dim=fx)
prob.ldec <- array(NA, dim=fx)
prob.pval <- array(NA, dim=fx)
perf.pe <- array(0, dim=fx)
perf.mape <- array(0, dim=fx)
perf.se <- array(0, dim=fx)
perf.mse <- array(0, dim=fx)
perf.rmse <- array(0, dim=fx)
for (i in 1:fx) {
locSD <- (ub[i] - forecast$pred[i]) / 1.96
perf.pe[i] = (x[nx+i] - forecast$pred[i]) / forecast$pred[i]
perf.mape[i] = perf.mape[i] + abs(perf.pe[i])
perf.se[i] = (x[nx+i] - forecast$pred[i])^2
perf.mse[i] = perf.mse[i] + perf.se[i]
prob.dec[i] = pnorm((x[nx+i-1] - forecast$pred[i]) / locSD)
prob.sdec[i] = pnorm((x[nx+i-par5] - forecast$pred[i]) / locSD)
prob.ldec[i] = pnorm((x[nx] - forecast$pred[i]) / locSD)
prob.pval[i] = pnorm(abs(x[nx+i] - forecast$pred[i]) / locSD)
}
perf.mape = perf.mape / fx
perf.mse = perf.mse / fx
perf.rmse = sqrt(perf.mse)
bitmap(file='test2.png')
plot(forecast$pred, pch=19, type='b',main='ARIMA Extrapolation Forecast', ylab='Forecast and 95% CI', xlab='time',ylim=c(min(lb),max(ub)))
dum <- forecast$pred
dum[1:12] <- x[(nx+1):lx]
lines(dum, lty=1)
lines(ub,lty=3)
lines(lb,lty=3)
dev.off()
load(file='createtable')
a<-table.start()
a<-table.row.start(a)
a<-table.element(a,'Univariate ARIMA Extrapolation Forecast',9,TRUE)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'time',1,header=TRUE)
a<-table.element(a,'Y[t]',1,header=TRUE)
a<-table.element(a,'F[t]',1,header=TRUE)
a<-table.element(a,'95% LB',1,header=TRUE)
a<-table.element(a,'95% UB',1,header=TRUE)
a<-table.element(a,'p-value
(H0: Y[t] = F[t])',1,header=TRUE)
a<-table.element(a,'P(F[t]>Y[t-1])',1,header=TRUE)
a<-table.element(a,'P(F[t]>Y[t-s])',1,header=TRUE)
mylab <- paste('P(F[t]>Y[',nx,sep='')
mylab <- paste(mylab,'])',sep='')
a<-table.element(a,mylab,1,header=TRUE)
a<-table.row.end(a)
for (i in (nx-par5):nx) {
a<-table.row.start(a)
a<-table.element(a,i,header=TRUE)
a<-table.element(a,x[i])
a<-table.element(a,'-')
a<-table.element(a,'-')
a<-table.element(a,'-')
a<-table.element(a,'-')
a<-table.element(a,'-')
a<-table.element(a,'-')
a<-table.element(a,'-')
a<-table.row.end(a)
}
for (i in 1:fx) {
a<-table.row.start(a)
a<-table.element(a,nx+i,header=TRUE)
a<-table.element(a,round(x[nx+i],4))
a<-table.element(a,round(forecast$pred[i],4))
a<-table.element(a,round(lb[i],4))
a<-table.element(a,round(ub[i],4))
a<-table.element(a,round((1-prob.pval[i]),4))
a<-table.element(a,round((1-prob.dec[i]),4))
a<-table.element(a,round((1-prob.sdec[i]),4))
a<-table.element(a,round((1-prob.ldec[i]),4))
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,'Univariate ARIMA Extrapolation Forecast Performance',7,TRUE)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'time',1,header=TRUE)
a<-table.element(a,'% S.E.',1,header=TRUE)
a<-table.element(a,'PE',1,header=TRUE)
a<-table.element(a,'MAPE',1,header=TRUE)
a<-table.element(a,'Sq.E',1,header=TRUE)
a<-table.element(a,'MSE',1,header=TRUE)
a<-table.element(a,'RMSE',1,header=TRUE)
a<-table.row.end(a)
for (i in 1:fx) {
a<-table.row.start(a)
a<-table.element(a,nx+i,header=TRUE)
a<-table.element(a,round(perc.se[i],4))
a<-table.element(a,round(perf.pe[i],4))
a<-table.element(a,round(perf.mape[i],4))
a<-table.element(a,round(perf.se[i],4))
a<-table.element(a,round(perf.mse[i],4))
a<-table.element(a,round(perf.rmse[i],4))
a<-table.row.end(a)
}
a<-table.end(a)
table.save(a,file='mytable1.tab')