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, 20 Dec 2010 14:59:55 +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/Dec/20/t1292857077a7ned31inskxe20.htm/, Retrieved Sat, 04 May 2024 02:47:08 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=112984, Retrieved Sat, 04 May 2024 02:47:08 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact90
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-       [ARIMA Forecasting] [] [2010-12-20 14:59:55] [40b262140b988d7b8204c4955f8b7651] [Current]
-   P     [ARIMA Forecasting] [] [2010-12-21 13:46:00] [1c63f3c303537b65dfa698074d619a3e]
Feedback Forum

Post a new message
Dataseries X:
9.4
9.4
9.5
9.5
9.4
9.4
9.3
9.4
9.4
9.2
9.1
9.1
9.1
9.0
9.0
8.9
8.8
8.7
8.5
8.3
8.1
7.9
7.8
7.6
7.4
7.2
7.0
7.0
6.8
6.8
6.7
6.8
6.7
6.7
6.7
6.5
6.3
6.3
6.3
6.5
6.6
6.5
6.3
6.3
6.5
7.0
7.1
7.3
7.3
7.4
7.4
7.3
7.4
7.5
7.7
7.7
7.7
7.7
7.7
7.8
8.0
8.1
8.1
8.2
8.2
8.2
8.1
8.1
8.2
8.3
8.3
8.4
8.5
8.5
8.4
8.0
7.9
8.1
8.5
8.8
8.8
8.6
8.3
8.3
8.3
8.4
8.4
8.5
8.6
8.6
8.6
8.6
8.6
8.5
8.4
8.4
8.4
8.5
8.5
8.6
8.6
8.4
8.2
8.0
8.0
8.0
8.0
7.9
7.9
7.8
7.8
8.0
7.8
7.4
7.2
7.0
7.0
7.2
7.2
7.2
7.0
6.9
6.8
6.8
6.8
6.9
7.2
7.2
7.2
7.1
7.2
7.3
7.5
7.6
7.7
7.7
7.7
7.8
8.0
8.1
8.1
8.0
8.1
8.2
8.3
8.4
8.4
8.4
8.5
8.5
8.6
8.6
8.5
8.5




Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time2 seconds
R Server'Sir Ronald Aylmer Fisher' @ 193.190.124.24

\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 & 'Sir Ronald Aylmer Fisher' @ 193.190.124.24 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=112984&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]'Sir Ronald Aylmer Fisher' @ 193.190.124.24[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=112984&T=0

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=112984&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'Sir Ronald Aylmer Fisher' @ 193.190.124.24







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[144])
1438.1-------
1448.2-------
1458.38.32568.10938.54190.40830.87250.87250.8725
1468.48.38638.00138.77130.47220.66970.66970.8285
1478.48.40487.86798.94160.4930.5070.5070.7726
1488.48.40387.76819.03960.49530.50470.50470.7351
1498.58.41987.71359.1260.41190.52190.52190.7291
1508.58.46067.69019.23110.46010.46010.46010.7463
1518.68.51477.66729.36220.42180.51360.51360.7666
1528.68.56287.61999.50560.46910.46910.46910.7746
1538.58.59437.54589.64280.430.49570.49570.7695
1548.58.61197.46019.76380.42450.57550.57550.7583

\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[144]) \tabularnewline
143 & 8.1 & - & - & - & - & - & - & - \tabularnewline
144 & 8.2 & - & - & - & - & - & - & - \tabularnewline
145 & 8.3 & 8.3256 & 8.1093 & 8.5419 & 0.4083 & 0.8725 & 0.8725 & 0.8725 \tabularnewline
146 & 8.4 & 8.3863 & 8.0013 & 8.7713 & 0.4722 & 0.6697 & 0.6697 & 0.8285 \tabularnewline
147 & 8.4 & 8.4048 & 7.8679 & 8.9416 & 0.493 & 0.507 & 0.507 & 0.7726 \tabularnewline
148 & 8.4 & 8.4038 & 7.7681 & 9.0396 & 0.4953 & 0.5047 & 0.5047 & 0.7351 \tabularnewline
149 & 8.5 & 8.4198 & 7.7135 & 9.126 & 0.4119 & 0.5219 & 0.5219 & 0.7291 \tabularnewline
150 & 8.5 & 8.4606 & 7.6901 & 9.2311 & 0.4601 & 0.4601 & 0.4601 & 0.7463 \tabularnewline
151 & 8.6 & 8.5147 & 7.6672 & 9.3622 & 0.4218 & 0.5136 & 0.5136 & 0.7666 \tabularnewline
152 & 8.6 & 8.5628 & 7.6199 & 9.5056 & 0.4691 & 0.4691 & 0.4691 & 0.7746 \tabularnewline
153 & 8.5 & 8.5943 & 7.5458 & 9.6428 & 0.43 & 0.4957 & 0.4957 & 0.7695 \tabularnewline
154 & 8.5 & 8.6119 & 7.4601 & 9.7638 & 0.4245 & 0.5755 & 0.5755 & 0.7583 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=112984&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[144])[/C][/ROW]
[ROW][C]143[/C][C]8.1[/C][C]-[/C][C]-[/C][C]-[/C][C]-[/C][C]-[/C][C]-[/C][C]-[/C][/ROW]
[ROW][C]144[/C][C]8.2[/C][C]-[/C][C]-[/C][C]-[/C][C]-[/C][C]-[/C][C]-[/C][C]-[/C][/ROW]
[ROW][C]145[/C][C]8.3[/C][C]8.3256[/C][C]8.1093[/C][C]8.5419[/C][C]0.4083[/C][C]0.8725[/C][C]0.8725[/C][C]0.8725[/C][/ROW]
[ROW][C]146[/C][C]8.4[/C][C]8.3863[/C][C]8.0013[/C][C]8.7713[/C][C]0.4722[/C][C]0.6697[/C][C]0.6697[/C][C]0.8285[/C][/ROW]
[ROW][C]147[/C][C]8.4[/C][C]8.4048[/C][C]7.8679[/C][C]8.9416[/C][C]0.493[/C][C]0.507[/C][C]0.507[/C][C]0.7726[/C][/ROW]
[ROW][C]148[/C][C]8.4[/C][C]8.4038[/C][C]7.7681[/C][C]9.0396[/C][C]0.4953[/C][C]0.5047[/C][C]0.5047[/C][C]0.7351[/C][/ROW]
[ROW][C]149[/C][C]8.5[/C][C]8.4198[/C][C]7.7135[/C][C]9.126[/C][C]0.4119[/C][C]0.5219[/C][C]0.5219[/C][C]0.7291[/C][/ROW]
[ROW][C]150[/C][C]8.5[/C][C]8.4606[/C][C]7.6901[/C][C]9.2311[/C][C]0.4601[/C][C]0.4601[/C][C]0.4601[/C][C]0.7463[/C][/ROW]
[ROW][C]151[/C][C]8.6[/C][C]8.5147[/C][C]7.6672[/C][C]9.3622[/C][C]0.4218[/C][C]0.5136[/C][C]0.5136[/C][C]0.7666[/C][/ROW]
[ROW][C]152[/C][C]8.6[/C][C]8.5628[/C][C]7.6199[/C][C]9.5056[/C][C]0.4691[/C][C]0.4691[/C][C]0.4691[/C][C]0.7746[/C][/ROW]
[ROW][C]153[/C][C]8.5[/C][C]8.5943[/C][C]7.5458[/C][C]9.6428[/C][C]0.43[/C][C]0.4957[/C][C]0.4957[/C][C]0.7695[/C][/ROW]
[ROW][C]154[/C][C]8.5[/C][C]8.6119[/C][C]7.4601[/C][C]9.7638[/C][C]0.4245[/C][C]0.5755[/C][C]0.5755[/C][C]0.7583[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=112984&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=112984&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[144])
1438.1-------
1448.2-------
1458.38.32568.10938.54190.40830.87250.87250.8725
1468.48.38638.00138.77130.47220.66970.66970.8285
1478.48.40487.86798.94160.4930.5070.5070.7726
1488.48.40387.76819.03960.49530.50470.50470.7351
1498.58.41987.71359.1260.41190.52190.52190.7291
1508.58.46067.69019.23110.46010.46010.46010.7463
1518.68.51477.66729.36220.42180.51360.51360.7666
1528.68.56287.61999.50560.46910.46910.46910.7746
1538.58.59437.54589.64280.430.49570.49570.7695
1548.58.61197.46019.76380.42450.57550.57550.7583







Univariate ARIMA Extrapolation Forecast Performance
time% S.E.PEMAPESq.EMSERMSE
1450.0133-0.003107e-0400
1460.02340.00160.00242e-044e-040.0205
1470.0326-6e-040.001803e-040.017
1480.0386-5e-040.001402e-040.0148
1490.04280.00950.00310.00640.00150.0382
1500.04650.00470.00330.00160.00150.0384
1510.05080.010.00430.00730.00230.048
1520.05620.00430.00430.00140.00220.0468
1530.0622-0.0110.0050.00890.00290.0542
1540.0682-0.0130.00580.01250.00390.0624

\begin{tabular}{lllllllll}
\hline
Univariate ARIMA Extrapolation Forecast Performance \tabularnewline
time & % S.E. & PE & MAPE & Sq.E & MSE & RMSE \tabularnewline
145 & 0.0133 & -0.0031 & 0 & 7e-04 & 0 & 0 \tabularnewline
146 & 0.0234 & 0.0016 & 0.0024 & 2e-04 & 4e-04 & 0.0205 \tabularnewline
147 & 0.0326 & -6e-04 & 0.0018 & 0 & 3e-04 & 0.017 \tabularnewline
148 & 0.0386 & -5e-04 & 0.0014 & 0 & 2e-04 & 0.0148 \tabularnewline
149 & 0.0428 & 0.0095 & 0.0031 & 0.0064 & 0.0015 & 0.0382 \tabularnewline
150 & 0.0465 & 0.0047 & 0.0033 & 0.0016 & 0.0015 & 0.0384 \tabularnewline
151 & 0.0508 & 0.01 & 0.0043 & 0.0073 & 0.0023 & 0.048 \tabularnewline
152 & 0.0562 & 0.0043 & 0.0043 & 0.0014 & 0.0022 & 0.0468 \tabularnewline
153 & 0.0622 & -0.011 & 0.005 & 0.0089 & 0.0029 & 0.0542 \tabularnewline
154 & 0.0682 & -0.013 & 0.0058 & 0.0125 & 0.0039 & 0.0624 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=112984&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]145[/C][C]0.0133[/C][C]-0.0031[/C][C]0[/C][C]7e-04[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]146[/C][C]0.0234[/C][C]0.0016[/C][C]0.0024[/C][C]2e-04[/C][C]4e-04[/C][C]0.0205[/C][/ROW]
[ROW][C]147[/C][C]0.0326[/C][C]-6e-04[/C][C]0.0018[/C][C]0[/C][C]3e-04[/C][C]0.017[/C][/ROW]
[ROW][C]148[/C][C]0.0386[/C][C]-5e-04[/C][C]0.0014[/C][C]0[/C][C]2e-04[/C][C]0.0148[/C][/ROW]
[ROW][C]149[/C][C]0.0428[/C][C]0.0095[/C][C]0.0031[/C][C]0.0064[/C][C]0.0015[/C][C]0.0382[/C][/ROW]
[ROW][C]150[/C][C]0.0465[/C][C]0.0047[/C][C]0.0033[/C][C]0.0016[/C][C]0.0015[/C][C]0.0384[/C][/ROW]
[ROW][C]151[/C][C]0.0508[/C][C]0.01[/C][C]0.0043[/C][C]0.0073[/C][C]0.0023[/C][C]0.048[/C][/ROW]
[ROW][C]152[/C][C]0.0562[/C][C]0.0043[/C][C]0.0043[/C][C]0.0014[/C][C]0.0022[/C][C]0.0468[/C][/ROW]
[ROW][C]153[/C][C]0.0622[/C][C]-0.011[/C][C]0.005[/C][C]0.0089[/C][C]0.0029[/C][C]0.0542[/C][/ROW]
[ROW][C]154[/C][C]0.0682[/C][C]-0.013[/C][C]0.0058[/C][C]0.0125[/C][C]0.0039[/C][C]0.0624[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=112984&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=112984&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
1450.0133-0.003107e-0400
1460.02340.00160.00242e-044e-040.0205
1470.0326-6e-040.001803e-040.017
1480.0386-5e-040.001402e-040.0148
1490.04280.00950.00310.00640.00150.0382
1500.04650.00470.00330.00160.00150.0384
1510.05080.010.00430.00730.00230.048
1520.05620.00430.00430.00140.00220.0468
1530.0622-0.0110.0050.00890.00290.0542
1540.0682-0.0130.00580.01250.00390.0624



Parameters (Session):
par1 = 2 ; par2 = Do not include Seasonal Dummies ; par3 = No Linear Trend ;
Parameters (R input):
par1 = 10 ; par2 = 1 ; par3 = 1 ; par4 = 0 ; par5 = 1 ; par6 = 3 ; par7 = 0 ; 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')