Free Statistics

of Irreproducible Research!

Author's title

Author*The author of this computation has been verified*
R Software Modulerwasp_arimaforecasting.wasp
Title produced by softwareARIMA Forecasting
Date of computationMon, 26 Nov 2012 10:40:18 -0500
Cite this page as followsStatistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?v=date/2012/Nov/26/t13539456827unxm71c6ob01bd.htm/, Retrieved Tue, 30 Apr 2024 07:49:48 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=193265, Retrieved Tue, 30 Apr 2024 07:49:48 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact86
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-       [ARIMA Forecasting] [WS9-AA] [2012-11-26 15:40:18] [3d604e7f846c7f85ca2541c807d08ff8] [Current]
Feedback Forum

Post a new message
Dataseries X:
46
62
66
59
58
61
41
27
58
70
49
59
44
36
72
45
56
54
53
35
61
52
47
51
52
63
74
45
51
64
36
30
55
64
39
40
63
45
59
55
40
64
27
28
45
57
45
69
60
56
58
50
51
53
37
22
55
70
62
58
39
49
58
47
42
62
39
40
72
70
54
65




Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time2 seconds
R Server'Gwilym Jenkins' @ jenkins.wessa.net

\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 & 2 seconds \tabularnewline
R Server & 'Gwilym Jenkins' @ jenkins.wessa.net \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=193265&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]2 seconds[/C][/ROW]
[ROW][C]R Server[/C][C]'Gwilym Jenkins' @ jenkins.wessa.net[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=193265&T=0

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=193265&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 time2 seconds
R Server'Gwilym Jenkins' @ jenkins.wessa.net







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[60])
5962-------
6058-------
613947.586424.761570.41130.23050.18560.18560.1856
624946.299623.412569.18680.40860.73410.73410.1582
635848.270724.741771.79970.20880.47580.47580.2088
644749.820225.996473.64390.40830.25050.25050.2505
654250.511226.654174.36830.24220.61350.61350.2692
666250.735226.878174.59230.17740.76350.76350.2753
673950.789126.926974.65120.16640.17860.17860.2768
684050.79726.92774.66690.18770.83360.83360.2771
697250.796426.918174.67470.04090.81220.81220.2772
707050.795526.908874.68220.05750.04090.04090.2772
715450.795126.974.69020.39630.05760.05760.2773
726550.79526.891674.69840.12210.39640.39640.2773

\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[60]) \tabularnewline
59 & 62 & - & - & - & - & - & - & - \tabularnewline
60 & 58 & - & - & - & - & - & - & - \tabularnewline
61 & 39 & 47.5864 & 24.7615 & 70.4113 & 0.2305 & 0.1856 & 0.1856 & 0.1856 \tabularnewline
62 & 49 & 46.2996 & 23.4125 & 69.1868 & 0.4086 & 0.7341 & 0.7341 & 0.1582 \tabularnewline
63 & 58 & 48.2707 & 24.7417 & 71.7997 & 0.2088 & 0.4758 & 0.4758 & 0.2088 \tabularnewline
64 & 47 & 49.8202 & 25.9964 & 73.6439 & 0.4083 & 0.2505 & 0.2505 & 0.2505 \tabularnewline
65 & 42 & 50.5112 & 26.6541 & 74.3683 & 0.2422 & 0.6135 & 0.6135 & 0.2692 \tabularnewline
66 & 62 & 50.7352 & 26.8781 & 74.5923 & 0.1774 & 0.7635 & 0.7635 & 0.2753 \tabularnewline
67 & 39 & 50.7891 & 26.9269 & 74.6512 & 0.1664 & 0.1786 & 0.1786 & 0.2768 \tabularnewline
68 & 40 & 50.797 & 26.927 & 74.6669 & 0.1877 & 0.8336 & 0.8336 & 0.2771 \tabularnewline
69 & 72 & 50.7964 & 26.9181 & 74.6747 & 0.0409 & 0.8122 & 0.8122 & 0.2772 \tabularnewline
70 & 70 & 50.7955 & 26.9088 & 74.6822 & 0.0575 & 0.0409 & 0.0409 & 0.2772 \tabularnewline
71 & 54 & 50.7951 & 26.9 & 74.6902 & 0.3963 & 0.0576 & 0.0576 & 0.2773 \tabularnewline
72 & 65 & 50.795 & 26.8916 & 74.6984 & 0.1221 & 0.3964 & 0.3964 & 0.2773 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=193265&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[60])[/C][/ROW]
[ROW][C]59[/C][C]62[/C][C]-[/C][C]-[/C][C]-[/C][C]-[/C][C]-[/C][C]-[/C][C]-[/C][/ROW]
[ROW][C]60[/C][C]58[/C][C]-[/C][C]-[/C][C]-[/C][C]-[/C][C]-[/C][C]-[/C][C]-[/C][/ROW]
[ROW][C]61[/C][C]39[/C][C]47.5864[/C][C]24.7615[/C][C]70.4113[/C][C]0.2305[/C][C]0.1856[/C][C]0.1856[/C][C]0.1856[/C][/ROW]
[ROW][C]62[/C][C]49[/C][C]46.2996[/C][C]23.4125[/C][C]69.1868[/C][C]0.4086[/C][C]0.7341[/C][C]0.7341[/C][C]0.1582[/C][/ROW]
[ROW][C]63[/C][C]58[/C][C]48.2707[/C][C]24.7417[/C][C]71.7997[/C][C]0.2088[/C][C]0.4758[/C][C]0.4758[/C][C]0.2088[/C][/ROW]
[ROW][C]64[/C][C]47[/C][C]49.8202[/C][C]25.9964[/C][C]73.6439[/C][C]0.4083[/C][C]0.2505[/C][C]0.2505[/C][C]0.2505[/C][/ROW]
[ROW][C]65[/C][C]42[/C][C]50.5112[/C][C]26.6541[/C][C]74.3683[/C][C]0.2422[/C][C]0.6135[/C][C]0.6135[/C][C]0.2692[/C][/ROW]
[ROW][C]66[/C][C]62[/C][C]50.7352[/C][C]26.8781[/C][C]74.5923[/C][C]0.1774[/C][C]0.7635[/C][C]0.7635[/C][C]0.2753[/C][/ROW]
[ROW][C]67[/C][C]39[/C][C]50.7891[/C][C]26.9269[/C][C]74.6512[/C][C]0.1664[/C][C]0.1786[/C][C]0.1786[/C][C]0.2768[/C][/ROW]
[ROW][C]68[/C][C]40[/C][C]50.797[/C][C]26.927[/C][C]74.6669[/C][C]0.1877[/C][C]0.8336[/C][C]0.8336[/C][C]0.2771[/C][/ROW]
[ROW][C]69[/C][C]72[/C][C]50.7964[/C][C]26.9181[/C][C]74.6747[/C][C]0.0409[/C][C]0.8122[/C][C]0.8122[/C][C]0.2772[/C][/ROW]
[ROW][C]70[/C][C]70[/C][C]50.7955[/C][C]26.9088[/C][C]74.6822[/C][C]0.0575[/C][C]0.0409[/C][C]0.0409[/C][C]0.2772[/C][/ROW]
[ROW][C]71[/C][C]54[/C][C]50.7951[/C][C]26.9[/C][C]74.6902[/C][C]0.3963[/C][C]0.0576[/C][C]0.0576[/C][C]0.2773[/C][/ROW]
[ROW][C]72[/C][C]65[/C][C]50.795[/C][C]26.8916[/C][C]74.6984[/C][C]0.1221[/C][C]0.3964[/C][C]0.3964[/C][C]0.2773[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=193265&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=193265&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[60])
5962-------
6058-------
613947.586424.761570.41130.23050.18560.18560.1856
624946.299623.412569.18680.40860.73410.73410.1582
635848.270724.741771.79970.20880.47580.47580.2088
644749.820225.996473.64390.40830.25050.25050.2505
654250.511226.654174.36830.24220.61350.61350.2692
666250.735226.878174.59230.17740.76350.76350.2753
673950.789126.926974.65120.16640.17860.17860.2768
684050.79726.92774.66690.18770.83360.83360.2771
697250.796426.918174.67470.04090.81220.81220.2772
707050.795526.908874.68220.05750.04090.04090.2772
715450.795126.974.69020.39630.05760.05760.2773
726550.79526.891674.69840.12210.39640.39640.2773







Univariate ARIMA Extrapolation Forecast Performance
time% S.E.PEMAPESq.EMSERMSE
610.2447-0.1804073.726300
620.25220.05830.11947.29240.50926.3647
630.24870.20160.146894.660258.55957.6524
640.244-0.05660.12427.953445.9086.7755
650.241-0.16850.133172.4451.21447.1564
660.23990.2220.1479126.895663.82797.9892
670.2397-0.23210.1599138.981774.56428.6351
680.2397-0.21260.1665116.574479.81558.9339
690.23980.41740.1944449.5921120.901710.9955
700.23990.37810.2128368.8124145.692812.0703
710.240.06310.199210.2713133.381811.5491
720.24010.27970.2059201.7819139.081811.7933

\begin{tabular}{lllllllll}
\hline
Univariate ARIMA Extrapolation Forecast Performance \tabularnewline
time & % S.E. & PE & MAPE & Sq.E & MSE & RMSE \tabularnewline
61 & 0.2447 & -0.1804 & 0 & 73.7263 & 0 & 0 \tabularnewline
62 & 0.2522 & 0.0583 & 0.1194 & 7.292 & 40.5092 & 6.3647 \tabularnewline
63 & 0.2487 & 0.2016 & 0.1468 & 94.6602 & 58.5595 & 7.6524 \tabularnewline
64 & 0.244 & -0.0566 & 0.1242 & 7.9534 & 45.908 & 6.7755 \tabularnewline
65 & 0.241 & -0.1685 & 0.1331 & 72.44 & 51.2144 & 7.1564 \tabularnewline
66 & 0.2399 & 0.222 & 0.1479 & 126.8956 & 63.8279 & 7.9892 \tabularnewline
67 & 0.2397 & -0.2321 & 0.1599 & 138.9817 & 74.5642 & 8.6351 \tabularnewline
68 & 0.2397 & -0.2126 & 0.1665 & 116.5744 & 79.8155 & 8.9339 \tabularnewline
69 & 0.2398 & 0.4174 & 0.1944 & 449.5921 & 120.9017 & 10.9955 \tabularnewline
70 & 0.2399 & 0.3781 & 0.2128 & 368.8124 & 145.6928 & 12.0703 \tabularnewline
71 & 0.24 & 0.0631 & 0.1992 & 10.2713 & 133.3818 & 11.5491 \tabularnewline
72 & 0.2401 & 0.2797 & 0.2059 & 201.7819 & 139.0818 & 11.7933 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=193265&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]61[/C][C]0.2447[/C][C]-0.1804[/C][C]0[/C][C]73.7263[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]62[/C][C]0.2522[/C][C]0.0583[/C][C]0.1194[/C][C]7.292[/C][C]40.5092[/C][C]6.3647[/C][/ROW]
[ROW][C]63[/C][C]0.2487[/C][C]0.2016[/C][C]0.1468[/C][C]94.6602[/C][C]58.5595[/C][C]7.6524[/C][/ROW]
[ROW][C]64[/C][C]0.244[/C][C]-0.0566[/C][C]0.1242[/C][C]7.9534[/C][C]45.908[/C][C]6.7755[/C][/ROW]
[ROW][C]65[/C][C]0.241[/C][C]-0.1685[/C][C]0.1331[/C][C]72.44[/C][C]51.2144[/C][C]7.1564[/C][/ROW]
[ROW][C]66[/C][C]0.2399[/C][C]0.222[/C][C]0.1479[/C][C]126.8956[/C][C]63.8279[/C][C]7.9892[/C][/ROW]
[ROW][C]67[/C][C]0.2397[/C][C]-0.2321[/C][C]0.1599[/C][C]138.9817[/C][C]74.5642[/C][C]8.6351[/C][/ROW]
[ROW][C]68[/C][C]0.2397[/C][C]-0.2126[/C][C]0.1665[/C][C]116.5744[/C][C]79.8155[/C][C]8.9339[/C][/ROW]
[ROW][C]69[/C][C]0.2398[/C][C]0.4174[/C][C]0.1944[/C][C]449.5921[/C][C]120.9017[/C][C]10.9955[/C][/ROW]
[ROW][C]70[/C][C]0.2399[/C][C]0.3781[/C][C]0.2128[/C][C]368.8124[/C][C]145.6928[/C][C]12.0703[/C][/ROW]
[ROW][C]71[/C][C]0.24[/C][C]0.0631[/C][C]0.1992[/C][C]10.2713[/C][C]133.3818[/C][C]11.5491[/C][/ROW]
[ROW][C]72[/C][C]0.2401[/C][C]0.2797[/C][C]0.2059[/C][C]201.7819[/C][C]139.0818[/C][C]11.7933[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=193265&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=193265&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
610.2447-0.1804073.726300
620.25220.05830.11947.29240.50926.3647
630.24870.20160.146894.660258.55957.6524
640.244-0.05660.12427.953445.9086.7755
650.241-0.16850.133172.4451.21447.1564
660.23990.2220.1479126.895663.82797.9892
670.2397-0.23210.1599138.981774.56428.6351
680.2397-0.21260.1665116.574479.81558.9339
690.23980.41740.1944449.5921120.901710.9955
700.23990.37810.2128368.8124145.692812.0703
710.240.06310.199210.2713133.381811.5491
720.24010.27970.2059201.7819139.081811.7933



Parameters (Session):
par1 = 12 ; par2 = 1 ; par3 = 0 ; par4 = 1 ; par5 = 1 ; par6 = 2 ; par7 = 1 ; par8 = 2 ; par9 = 1 ; par10 = FALSE ;
Parameters (R input):
par1 = 12 ; par2 = 1 ; par3 = 0 ; par4 = 1 ; par5 = 1 ; par6 = 2 ; par7 = 1 ; par8 = 2 ; par9 = 1 ; 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,par1))
(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)
}
if (par2 < 0) {
olb <- lb
lb <- ub
ub <- olb
}
(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.mape1 <- array(0, dim=fx)
perf.se <- array(0, dim=fx)
perf.mse <- array(0, dim=fx)
perf.mse1 <- 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.se[i] = (x[nx+i] - forecast$pred[i])^2
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[1] = abs(perf.pe[1])
perf.mse[1] = abs(perf.se[1])
for (i in 2:fx) {
perf.mape[i] = perf.mape[i-1] + abs(perf.pe[i])
perf.mape1[i] = perf.mape[i] / i
perf.mse[i] = perf.mse[i-1] + perf.se[i]
perf.mse1[i] = perf.mse[i] / i
}
perf.rmse = sqrt(perf.mse1)
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:par1] <- 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.mape1[i],4))
a<-table.element(a,round(perf.se[i],4))
a<-table.element(a,round(perf.mse1[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')