Free Statistics

of Irreproducible Research!

Author's title

Author*The author of this computation has been verified*
R Software Modulerwasp_exponentialsmoothing.wasp
Title produced by softwareExponential Smoothing
Date of computationFri, 23 Dec 2016 17:35:17 +0100
Cite this page as followsStatistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?v=date/2016/Dec/23/t1482510935ezpdxm56kbue64l.htm/, Retrieved Tue, 07 May 2024 22:05:58 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=303003, Retrieved Tue, 07 May 2024 22:05:58 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact64
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-       [Exponential Smoothing] [] [2016-12-23 16:35:17] [2802fcbee976b89d2ab84425d3d65dcf] [Current]
Feedback Forum

Post a new message
Dataseries X:
1550.61
1488.54
1200.03
1451.49
2576.19
2434.2
2586.21
1898.55
2958.18
3290.73
3408.39
3214.71
4205.43
4378.53
4279.68
4799.25
4902.84
5379.84
5527.05
6004.83
5827.71
6496.02
6858.99
6696.84
6831
7366.47
7881.03
7494.66
5813.55
6911.25
7252.59
7425.63
7603.5
6045.72
6064.35
5486.85
5808.27
6467.88




Summary of computational transaction
Raw Input view raw input (R code)
Raw Outputview raw output of R engine
Computing time1 seconds
R ServerBig Analytics Cloud Computing Center

\begin{tabular}{lllllllll}
\hline
Summary of computational transaction \tabularnewline
Raw Input view raw input (R code)  \tabularnewline
Raw Outputview raw output of R engine  \tabularnewline
Computing time1 seconds \tabularnewline
R ServerBig Analytics Cloud Computing Center \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=303003&T=0

[TABLE]
[ROW]
Summary of computational transaction[/C][/ROW] [ROW]Raw Input[/C] view raw input (R code) [/C][/ROW] [ROW]Raw Output[/C]view raw output of R engine [/C][/ROW] [ROW]Computing time[/C]1 seconds[/C][/ROW] [ROW]R Server[/C]Big Analytics Cloud Computing Center[/C][/ROW] [/TABLE] Source: https://freestatistics.org/blog/index.php?pk=303003&T=0

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=303003&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 Input view raw input (R code)
Raw Outputview raw output of R engine
Computing time1 seconds
R ServerBig Analytics Cloud Computing Center







Estimated Parameters of Exponential Smoothing
ParameterValue
alpha0.203967975806686
beta0.761275346849982
gammaFALSE

\begin{tabular}{lllllllll}
\hline
Estimated Parameters of Exponential Smoothing \tabularnewline
Parameter & Value \tabularnewline
alpha & 0.203967975806686 \tabularnewline
beta & 0.761275346849982 \tabularnewline
gamma & FALSE \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=303003&T=1

[TABLE]
[ROW][C]Estimated Parameters of Exponential Smoothing[/C][/ROW]
[ROW][C]Parameter[/C][C]Value[/C][/ROW]
[ROW][C]alpha[/C][C]0.203967975806686[/C][/ROW]
[ROW][C]beta[/C][C]0.761275346849982[/C][/ROW]
[ROW][C]gamma[/C][C]FALSE[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=303003&T=1

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

As an alternative you can also use a QR Code:  

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

Estimated Parameters of Exponential Smoothing
ParameterValue
alpha0.203967975806686
beta0.761275346849982
gammaFALSE







Interpolation Forecasts of Exponential Smoothing
tObservedFittedResiduals
31200.031426.47-226.44
41451.491283.05284132461168.437158675385
52576.191246.332190532681329.85780946732
62434.21652.99888292829781.201117071714
72586.212069.05880215944517.151197840555
81898.552511.56205543772-613.012055437722
92958.182628.36226548911329.81773451089
103290.732988.68226911288302.047730887117
113408.393390.2387818022618.1512181977387
123214.713736.70794223267-521.99794223267
134205.433891.95032811997313.479671880031
144378.534266.27919596891112.25080403109
154279.684616.99365141447-337.31365141447
164799.254823.63471067141-24.3847106714074
174902.845090.31689729234-187.47689729234
185379.845294.6228771179385.2171228820653
195527.055567.78186046039-40.7318604603861
206004.835808.92661274215195.903387257848
215827.716128.7564310251-301.0464310251
226496.026300.47917793112195.540822068883
236858.996603.852577585255.137422415
246696.846958.99844039047-262.158440390474
2568317167.92565382883-336.925653828828
267366.477309.2863525009257.1836474990805
277881.037539.91196373936341.118036260641
287494.667881.41847060043-386.758470600428
295813.558014.40725206696-2200.85725206696
306911.257435.6381253084-524.3881253084
317252.597117.39023161176135.199768388235
327425.636954.67039650998470.959603490016
337603.56933.56344054097669.936559459028
346045.727057.06634105703-1011.34634105703
356064.356680.60376797933-616.253767979329
365486.856289.03813568312-802.188135683116
375808.275734.9874490504873.2825509495215
386467.885370.883752352311096.99624764769

\begin{tabular}{lllllllll}
\hline
Interpolation Forecasts of Exponential Smoothing \tabularnewline
t & Observed & Fitted & Residuals \tabularnewline
3 & 1200.03 & 1426.47 & -226.44 \tabularnewline
4 & 1451.49 & 1283.05284132461 & 168.437158675385 \tabularnewline
5 & 2576.19 & 1246.33219053268 & 1329.85780946732 \tabularnewline
6 & 2434.2 & 1652.99888292829 & 781.201117071714 \tabularnewline
7 & 2586.21 & 2069.05880215944 & 517.151197840555 \tabularnewline
8 & 1898.55 & 2511.56205543772 & -613.012055437722 \tabularnewline
9 & 2958.18 & 2628.36226548911 & 329.81773451089 \tabularnewline
10 & 3290.73 & 2988.68226911288 & 302.047730887117 \tabularnewline
11 & 3408.39 & 3390.23878180226 & 18.1512181977387 \tabularnewline
12 & 3214.71 & 3736.70794223267 & -521.99794223267 \tabularnewline
13 & 4205.43 & 3891.95032811997 & 313.479671880031 \tabularnewline
14 & 4378.53 & 4266.27919596891 & 112.25080403109 \tabularnewline
15 & 4279.68 & 4616.99365141447 & -337.31365141447 \tabularnewline
16 & 4799.25 & 4823.63471067141 & -24.3847106714074 \tabularnewline
17 & 4902.84 & 5090.31689729234 & -187.47689729234 \tabularnewline
18 & 5379.84 & 5294.62287711793 & 85.2171228820653 \tabularnewline
19 & 5527.05 & 5567.78186046039 & -40.7318604603861 \tabularnewline
20 & 6004.83 & 5808.92661274215 & 195.903387257848 \tabularnewline
21 & 5827.71 & 6128.7564310251 & -301.0464310251 \tabularnewline
22 & 6496.02 & 6300.47917793112 & 195.540822068883 \tabularnewline
23 & 6858.99 & 6603.852577585 & 255.137422415 \tabularnewline
24 & 6696.84 & 6958.99844039047 & -262.158440390474 \tabularnewline
25 & 6831 & 7167.92565382883 & -336.925653828828 \tabularnewline
26 & 7366.47 & 7309.28635250092 & 57.1836474990805 \tabularnewline
27 & 7881.03 & 7539.91196373936 & 341.118036260641 \tabularnewline
28 & 7494.66 & 7881.41847060043 & -386.758470600428 \tabularnewline
29 & 5813.55 & 8014.40725206696 & -2200.85725206696 \tabularnewline
30 & 6911.25 & 7435.6381253084 & -524.3881253084 \tabularnewline
31 & 7252.59 & 7117.39023161176 & 135.199768388235 \tabularnewline
32 & 7425.63 & 6954.67039650998 & 470.959603490016 \tabularnewline
33 & 7603.5 & 6933.56344054097 & 669.936559459028 \tabularnewline
34 & 6045.72 & 7057.06634105703 & -1011.34634105703 \tabularnewline
35 & 6064.35 & 6680.60376797933 & -616.253767979329 \tabularnewline
36 & 5486.85 & 6289.03813568312 & -802.188135683116 \tabularnewline
37 & 5808.27 & 5734.98744905048 & 73.2825509495215 \tabularnewline
38 & 6467.88 & 5370.88375235231 & 1096.99624764769 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=303003&T=2

[TABLE]
[ROW][C]Interpolation Forecasts of Exponential Smoothing[/C][/ROW]
[ROW][C]t[/C][C]Observed[/C][C]Fitted[/C][C]Residuals[/C][/ROW]
[ROW][C]3[/C][C]1200.03[/C][C]1426.47[/C][C]-226.44[/C][/ROW]
[ROW][C]4[/C][C]1451.49[/C][C]1283.05284132461[/C][C]168.437158675385[/C][/ROW]
[ROW][C]5[/C][C]2576.19[/C][C]1246.33219053268[/C][C]1329.85780946732[/C][/ROW]
[ROW][C]6[/C][C]2434.2[/C][C]1652.99888292829[/C][C]781.201117071714[/C][/ROW]
[ROW][C]7[/C][C]2586.21[/C][C]2069.05880215944[/C][C]517.151197840555[/C][/ROW]
[ROW][C]8[/C][C]1898.55[/C][C]2511.56205543772[/C][C]-613.012055437722[/C][/ROW]
[ROW][C]9[/C][C]2958.18[/C][C]2628.36226548911[/C][C]329.81773451089[/C][/ROW]
[ROW][C]10[/C][C]3290.73[/C][C]2988.68226911288[/C][C]302.047730887117[/C][/ROW]
[ROW][C]11[/C][C]3408.39[/C][C]3390.23878180226[/C][C]18.1512181977387[/C][/ROW]
[ROW][C]12[/C][C]3214.71[/C][C]3736.70794223267[/C][C]-521.99794223267[/C][/ROW]
[ROW][C]13[/C][C]4205.43[/C][C]3891.95032811997[/C][C]313.479671880031[/C][/ROW]
[ROW][C]14[/C][C]4378.53[/C][C]4266.27919596891[/C][C]112.25080403109[/C][/ROW]
[ROW][C]15[/C][C]4279.68[/C][C]4616.99365141447[/C][C]-337.31365141447[/C][/ROW]
[ROW][C]16[/C][C]4799.25[/C][C]4823.63471067141[/C][C]-24.3847106714074[/C][/ROW]
[ROW][C]17[/C][C]4902.84[/C][C]5090.31689729234[/C][C]-187.47689729234[/C][/ROW]
[ROW][C]18[/C][C]5379.84[/C][C]5294.62287711793[/C][C]85.2171228820653[/C][/ROW]
[ROW][C]19[/C][C]5527.05[/C][C]5567.78186046039[/C][C]-40.7318604603861[/C][/ROW]
[ROW][C]20[/C][C]6004.83[/C][C]5808.92661274215[/C][C]195.903387257848[/C][/ROW]
[ROW][C]21[/C][C]5827.71[/C][C]6128.7564310251[/C][C]-301.0464310251[/C][/ROW]
[ROW][C]22[/C][C]6496.02[/C][C]6300.47917793112[/C][C]195.540822068883[/C][/ROW]
[ROW][C]23[/C][C]6858.99[/C][C]6603.852577585[/C][C]255.137422415[/C][/ROW]
[ROW][C]24[/C][C]6696.84[/C][C]6958.99844039047[/C][C]-262.158440390474[/C][/ROW]
[ROW][C]25[/C][C]6831[/C][C]7167.92565382883[/C][C]-336.925653828828[/C][/ROW]
[ROW][C]26[/C][C]7366.47[/C][C]7309.28635250092[/C][C]57.1836474990805[/C][/ROW]
[ROW][C]27[/C][C]7881.03[/C][C]7539.91196373936[/C][C]341.118036260641[/C][/ROW]
[ROW][C]28[/C][C]7494.66[/C][C]7881.41847060043[/C][C]-386.758470600428[/C][/ROW]
[ROW][C]29[/C][C]5813.55[/C][C]8014.40725206696[/C][C]-2200.85725206696[/C][/ROW]
[ROW][C]30[/C][C]6911.25[/C][C]7435.6381253084[/C][C]-524.3881253084[/C][/ROW]
[ROW][C]31[/C][C]7252.59[/C][C]7117.39023161176[/C][C]135.199768388235[/C][/ROW]
[ROW][C]32[/C][C]7425.63[/C][C]6954.67039650998[/C][C]470.959603490016[/C][/ROW]
[ROW][C]33[/C][C]7603.5[/C][C]6933.56344054097[/C][C]669.936559459028[/C][/ROW]
[ROW][C]34[/C][C]6045.72[/C][C]7057.06634105703[/C][C]-1011.34634105703[/C][/ROW]
[ROW][C]35[/C][C]6064.35[/C][C]6680.60376797933[/C][C]-616.253767979329[/C][/ROW]
[ROW][C]36[/C][C]5486.85[/C][C]6289.03813568312[/C][C]-802.188135683116[/C][/ROW]
[ROW][C]37[/C][C]5808.27[/C][C]5734.98744905048[/C][C]73.2825509495215[/C][/ROW]
[ROW][C]38[/C][C]6467.88[/C][C]5370.88375235231[/C][C]1096.99624764769[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=303003&T=2

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

As an alternative you can also use a QR Code:  

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

Interpolation Forecasts of Exponential Smoothing
tObservedFittedResiduals
31200.031426.47-226.44
41451.491283.05284132461168.437158675385
52576.191246.332190532681329.85780946732
62434.21652.99888292829781.201117071714
72586.212069.05880215944517.151197840555
81898.552511.56205543772-613.012055437722
92958.182628.36226548911329.81773451089
103290.732988.68226911288302.047730887117
113408.393390.2387818022618.1512181977387
123214.713736.70794223267-521.99794223267
134205.433891.95032811997313.479671880031
144378.534266.27919596891112.25080403109
154279.684616.99365141447-337.31365141447
164799.254823.63471067141-24.3847106714074
174902.845090.31689729234-187.47689729234
185379.845294.6228771179385.2171228820653
195527.055567.78186046039-40.7318604603861
206004.835808.92661274215195.903387257848
215827.716128.7564310251-301.0464310251
226496.026300.47917793112195.540822068883
236858.996603.852577585255.137422415
246696.846958.99844039047-262.158440390474
2568317167.92565382883-336.925653828828
267366.477309.2863525009257.1836474990805
277881.037539.91196373936341.118036260641
287494.667881.41847060043-386.758470600428
295813.558014.40725206696-2200.85725206696
306911.257435.6381253084-524.3881253084
317252.597117.39023161176135.199768388235
327425.636954.67039650998470.959603490016
337603.56933.56344054097669.936559459028
346045.727057.06634105703-1011.34634105703
356064.356680.60376797933-616.253767979329
365486.856289.03813568312-802.188135683116
375808.275734.9874490504873.2825509495215
386467.885370.883752352311096.99624764769







Extrapolation Forecasts of Exponential Smoothing
tForecast95% Lower Bound95% Upper Bound
395385.921826832554165.725819511786606.11783415332
405177.207797212573880.663505912846473.7520885123
414968.493767592593527.945812413826409.04172277136
424759.779737972613103.540731993876416.01874395135
434551.065708352632612.852558668236489.27885803703
444342.351678732652064.720995267396619.98236219791
454133.637649112671467.607452748676799.66784547666
463924.92361949268828.3429149676727021.5043240177
473716.2095898727152.1273660121417280.29181373327
483507.49556025272-557.1228151143667572.11393561981
493298.78153063274-1296.425623509057893.98868477453
503090.06750101276-2063.464905773068243.59990779858

\begin{tabular}{lllllllll}
\hline
Extrapolation Forecasts of Exponential Smoothing \tabularnewline
t & Forecast & 95% Lower Bound & 95% Upper Bound \tabularnewline
39 & 5385.92182683255 & 4165.72581951178 & 6606.11783415332 \tabularnewline
40 & 5177.20779721257 & 3880.66350591284 & 6473.7520885123 \tabularnewline
41 & 4968.49376759259 & 3527.94581241382 & 6409.04172277136 \tabularnewline
42 & 4759.77973797261 & 3103.54073199387 & 6416.01874395135 \tabularnewline
43 & 4551.06570835263 & 2612.85255866823 & 6489.27885803703 \tabularnewline
44 & 4342.35167873265 & 2064.72099526739 & 6619.98236219791 \tabularnewline
45 & 4133.63764911267 & 1467.60745274867 & 6799.66784547666 \tabularnewline
46 & 3924.92361949268 & 828.342914967672 & 7021.5043240177 \tabularnewline
47 & 3716.2095898727 & 152.127366012141 & 7280.29181373327 \tabularnewline
48 & 3507.49556025272 & -557.122815114366 & 7572.11393561981 \tabularnewline
49 & 3298.78153063274 & -1296.42562350905 & 7893.98868477453 \tabularnewline
50 & 3090.06750101276 & -2063.46490577306 & 8243.59990779858 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=303003&T=3

[TABLE]
[ROW][C]Extrapolation Forecasts of Exponential Smoothing[/C][/ROW]
[ROW][C]t[/C][C]Forecast[/C][C]95% Lower Bound[/C][C]95% Upper Bound[/C][/ROW]
[ROW][C]39[/C][C]5385.92182683255[/C][C]4165.72581951178[/C][C]6606.11783415332[/C][/ROW]
[ROW][C]40[/C][C]5177.20779721257[/C][C]3880.66350591284[/C][C]6473.7520885123[/C][/ROW]
[ROW][C]41[/C][C]4968.49376759259[/C][C]3527.94581241382[/C][C]6409.04172277136[/C][/ROW]
[ROW][C]42[/C][C]4759.77973797261[/C][C]3103.54073199387[/C][C]6416.01874395135[/C][/ROW]
[ROW][C]43[/C][C]4551.06570835263[/C][C]2612.85255866823[/C][C]6489.27885803703[/C][/ROW]
[ROW][C]44[/C][C]4342.35167873265[/C][C]2064.72099526739[/C][C]6619.98236219791[/C][/ROW]
[ROW][C]45[/C][C]4133.63764911267[/C][C]1467.60745274867[/C][C]6799.66784547666[/C][/ROW]
[ROW][C]46[/C][C]3924.92361949268[/C][C]828.342914967672[/C][C]7021.5043240177[/C][/ROW]
[ROW][C]47[/C][C]3716.2095898727[/C][C]152.127366012141[/C][C]7280.29181373327[/C][/ROW]
[ROW][C]48[/C][C]3507.49556025272[/C][C]-557.122815114366[/C][C]7572.11393561981[/C][/ROW]
[ROW][C]49[/C][C]3298.78153063274[/C][C]-1296.42562350905[/C][C]7893.98868477453[/C][/ROW]
[ROW][C]50[/C][C]3090.06750101276[/C][C]-2063.46490577306[/C][C]8243.59990779858[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=303003&T=3

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

As an alternative you can also use a QR Code:  

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

Extrapolation Forecasts of Exponential Smoothing
tForecast95% Lower Bound95% Upper Bound
395385.921826832554165.725819511786606.11783415332
405177.207797212573880.663505912846473.7520885123
414968.493767592593527.945812413826409.04172277136
424759.779737972613103.540731993876416.01874395135
434551.065708352632612.852558668236489.27885803703
444342.351678732652064.720995267396619.98236219791
454133.637649112671467.607452748676799.66784547666
463924.92361949268828.3429149676727021.5043240177
473716.2095898727152.1273660121417280.29181373327
483507.49556025272-557.1228151143667572.11393561981
493298.78153063274-1296.425623509057893.98868477453
503090.06750101276-2063.464905773068243.59990779858



Parameters (Session):
par1 = 12 ; par2 = Single ; par3 = additive ; par4 = 12 ;
Parameters (R input):
par1 = 12 ; par2 = Double ; par3 = additive ; par4 = 12 ;
R code (references can be found in the software module):
par4 <- '12'
par3 <- 'additive'
par2 <- 'Triple'
par1 <- '12'
par1 <- as.numeric(par1)
par4 <- as.numeric(par4)
if (par2 == 'Single') K <- 1
if (par2 == 'Double') K <- 2
if (par2 == 'Triple') K <- par1
nx <- length(x)
nxmK <- nx - K
x <- ts(x, frequency = par1)
if (par2 == 'Single') fit <- HoltWinters(x, gamma=F, beta=F)
if (par2 == 'Double') fit <- HoltWinters(x, gamma=F)
if (par2 == 'Triple') fit <- HoltWinters(x, seasonal=par3)
fit
myresid <- x - fit$fitted[,'xhat']
bitmap(file='test1.png')
op <- par(mfrow=c(2,1))
plot(fit,ylab='Observed (black) / Fitted (red)',main='Interpolation Fit of Exponential Smoothing')
plot(myresid,ylab='Residuals',main='Interpolation Prediction Errors')
par(op)
dev.off()
bitmap(file='test2.png')
p <- predict(fit, par4, prediction.interval=TRUE)
np <- length(p[,1])
plot(fit,p,ylab='Observed (black) / Fitted (red)',main='Extrapolation Fit of Exponential Smoothing')
dev.off()
bitmap(file='test3.png')
op <- par(mfrow = c(2,2))
acf(as.numeric(myresid),lag.max = nx/2,main='Residual ACF')
spectrum(myresid,main='Residals Periodogram')
cpgram(myresid,main='Residal Cumulative Periodogram')
qqnorm(myresid,main='Residual Normal QQ Plot')
qqline(myresid)
par(op)
dev.off()
load(file='createtable')
a<-table.start()
a<-table.row.start(a)
a<-table.element(a,'Estimated Parameters of Exponential Smoothing',2,TRUE)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'Parameter',header=TRUE)
a<-table.element(a,'Value',header=TRUE)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'alpha',header=TRUE)
a<-table.element(a,fit$alpha)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'beta',header=TRUE)
a<-table.element(a,fit$beta)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'gamma',header=TRUE)
a<-table.element(a,fit$gamma)
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,'Interpolation Forecasts of Exponential Smoothing',4,TRUE)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'t',header=TRUE)
a<-table.element(a,'Observed',header=TRUE)
a<-table.element(a,'Fitted',header=TRUE)
a<-table.element(a,'Residuals',header=TRUE)
a<-table.row.end(a)
for (i in 1:nxmK) {
a<-table.row.start(a)
a<-table.element(a,i+K,header=TRUE)
a<-table.element(a,x[i+K])
a<-table.element(a,fit$fitted[i,'xhat'])
a<-table.element(a,myresid[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,'Extrapolation Forecasts of Exponential Smoothing',4,TRUE)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'t',header=TRUE)
a<-table.element(a,'Forecast',header=TRUE)
a<-table.element(a,'95% Lower Bound',header=TRUE)
a<-table.element(a,'95% Upper Bound',header=TRUE)
a<-table.row.end(a)
for (i in 1:np) {
a<-table.row.start(a)
a<-table.element(a,nx+i,header=TRUE)
a<-table.element(a,p[i,'fit'])
a<-table.element(a,p[i,'lwr'])
a<-table.element(a,p[i,'upr'])
a<-table.row.end(a)
}
a<-table.end(a)
table.save(a,file='mytable2.tab')