Free Statistics

of Irreproducible Research!

Author's title

Author*The author of this computation has been verified*
R Software Module--
Title produced by softwareExponential Smoothing
Date of computationTue, 21 Aug 2012 17:50:05 -0400
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/Aug/21/t13455858668oy33q2akalyc7m.htm/, Retrieved Thu, 02 May 2024 19:46:51 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=169474, Retrieved Thu, 02 May 2024 19:46:51 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact192
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-     [Exponential Smoothing] [HPC Retail Sales] [2008-03-10 17:56:43] [74be16979710d4c4e7c6647856088456]
-  M D  [Exponential Smoothing] [] [2010-12-09 19:54:22] [897115520fe7b6114489bc0eeed64548]
-    D    [Exponential Smoothing] [] [2010-12-27 06:47:49] [bfba28641a1925a39268a5d6ad3b00f2]
- RM          [Exponential Smoothing] [] [2012-08-21 21:50:05] [6ca9362bade14820cda7467b7288bbb3] [Current]
Feedback Forum

Post a new message
Dataseries X:
313737
312276
309391
302950
300316
304035
333476
337698
335932
323931
313927
314485
313218
309664
302963
298989
298423
301631
329765
335083
327616
309119
295916
291413
291542
284678
276475
272566
264981
263290
296806
303598
286994
276427
266424
267153
268381
262522
255542
253158
243803
250741
280445
285257
270976
261076
255603
260376
263903
264291
263276
262572
256167
264221
293860
300713
287224
275902
271115
277509
279681





Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time4 seconds
R Server'Gwilym Jenkins' @ jenkins.wessa.net
R Framework error message
Warning: there are blank lines in the 'Data' field.
Please, use NA for missing data - blank lines are simply
 deleted and are NOT treated as missing values.

\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 & 4 seconds \tabularnewline
R Server & 'Gwilym Jenkins' @ jenkins.wessa.net \tabularnewline
R Framework error message & 
Warning: there are blank lines in the 'Data' field.
Please, use NA for missing data - blank lines are simply
 deleted and are NOT treated as missing values.
\tabularnewline \hline \end{tabular} %Source: https://freestatistics.org/blog/index.php?pk=169474&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]4 seconds[/C][/ROW]
[ROW][C]R Server[/C][C]'Gwilym Jenkins' @ jenkins.wessa.net[/C][/ROW]
[ROW][C]R Framework error message[/C][C]
Warning: there are blank lines in the 'Data' field.
Please, use NA for missing data - blank lines are simply
 deleted and are NOT treated as missing values.
[/C][/ROW] [/TABLE] Source: https://freestatistics.org/blog/index.php?pk=169474&T=0

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=169474&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 time4 seconds
R Server'Gwilym Jenkins' @ jenkins.wessa.net
R Framework error message
Warning: there are blank lines in the 'Data' field.
Please, use NA for missing data - blank lines are simply
 deleted and are NOT treated as missing values.







Estimated Parameters of Exponential Smoothing
ParameterValue
alpha0.519991743636808
beta0.543769083911554
gamma1

\begin{tabular}{lllllllll}
\hline
Estimated Parameters of Exponential Smoothing \tabularnewline
Parameter & Value \tabularnewline
alpha & 0.519991743636808 \tabularnewline
beta & 0.543769083911554 \tabularnewline
gamma & 1 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=169474&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.519991743636808[/C][/ROW]
[ROW][C]beta[/C][C]0.543769083911554[/C][/ROW]
[ROW][C]gamma[/C][C]1[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=169474&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=169474&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.519991743636808
beta0.543769083911554
gamma1







Interpolation Forecasts of Exponential Smoothing
tObservedFittedResiduals
13313218314937.831730769-1719.83173076907
14309664309777.65862079-113.658620790171
15302963302465.419674193497.58032580663
16298989298846.921807562142.078192437883
17298423298895.697481043-472.697481043055
18301631302609.303765351-978.303765351477
19329765326328.7115837893436.28841621097
20335083332202.6334442422880.36655575788
21327616332860.128156266-5244.12815626553
22309119317631.355296959-8512.35529695865
23295916300104.258257802-4188.25825780234
24291413294138.528195972-2725.52819597209
25291542285587.9643509925954.03564900812
26284678282552.5394291562125.46057084354
27276475274694.5709901471780.42900985287
28272566269931.7795988412634.22040115937
29264981270045.297708214-5064.29770821409
30263290268894.261140495-5604.26114049536
31296806288784.8819745498021.11802545103
32303598294530.0477426979067.95225730276
33286994294008.802320779-7014.80232077895
34276427275293.4406908121133.55930918816
35266424266588.099845099-164.099845098564
36267153266285.232056567867.767943433078
37268381267653.64947051727.350529489981
38262522262469.00479931652.9952006842941
39255542255188.113642521353.886357478739
40253158251510.3562418211647.64375817851
41243803248553.547955929-4750.54795592907
42250741248533.2237785472207.77622145318
43280445282461.982068058-2016.98206805752
44285257284087.2284213741169.77157862589
45270976270103.206449277872.793550723232
46261076259994.9381773651081.0618226353
47255603251218.8957839944384.10421600615
48260376255641.8748470744734.12515292558
49263903261912.1113144411990.88868555933
50264291260376.8189509843914.18104901578
51263276259655.9331004633620.06689953711
52262572263628.897450843-1056.89745084295
53256167260761.162095742-4594.16209574178
54264221268773.026160229-4552.02616022876
55293860299858.269135979-5998.26913597912
56300713302516.661566684-1803.66156668362
57287224287576.887044062-352.887044062431
58275902277317.637664606-1415.63766460633
59271115268509.2566162082605.74338379246
60277509271353.1113246346155.88867536606
61279681276625.4839492093055.51605079114

\begin{tabular}{lllllllll}
\hline
Interpolation Forecasts of Exponential Smoothing \tabularnewline
t & Observed & Fitted & Residuals \tabularnewline
13 & 313218 & 314937.831730769 & -1719.83173076907 \tabularnewline
14 & 309664 & 309777.65862079 & -113.658620790171 \tabularnewline
15 & 302963 & 302465.419674193 & 497.58032580663 \tabularnewline
16 & 298989 & 298846.921807562 & 142.078192437883 \tabularnewline
17 & 298423 & 298895.697481043 & -472.697481043055 \tabularnewline
18 & 301631 & 302609.303765351 & -978.303765351477 \tabularnewline
19 & 329765 & 326328.711583789 & 3436.28841621097 \tabularnewline
20 & 335083 & 332202.633444242 & 2880.36655575788 \tabularnewline
21 & 327616 & 332860.128156266 & -5244.12815626553 \tabularnewline
22 & 309119 & 317631.355296959 & -8512.35529695865 \tabularnewline
23 & 295916 & 300104.258257802 & -4188.25825780234 \tabularnewline
24 & 291413 & 294138.528195972 & -2725.52819597209 \tabularnewline
25 & 291542 & 285587.964350992 & 5954.03564900812 \tabularnewline
26 & 284678 & 282552.539429156 & 2125.46057084354 \tabularnewline
27 & 276475 & 274694.570990147 & 1780.42900985287 \tabularnewline
28 & 272566 & 269931.779598841 & 2634.22040115937 \tabularnewline
29 & 264981 & 270045.297708214 & -5064.29770821409 \tabularnewline
30 & 263290 & 268894.261140495 & -5604.26114049536 \tabularnewline
31 & 296806 & 288784.881974549 & 8021.11802545103 \tabularnewline
32 & 303598 & 294530.047742697 & 9067.95225730276 \tabularnewline
33 & 286994 & 294008.802320779 & -7014.80232077895 \tabularnewline
34 & 276427 & 275293.440690812 & 1133.55930918816 \tabularnewline
35 & 266424 & 266588.099845099 & -164.099845098564 \tabularnewline
36 & 267153 & 266285.232056567 & 867.767943433078 \tabularnewline
37 & 268381 & 267653.64947051 & 727.350529489981 \tabularnewline
38 & 262522 & 262469.004799316 & 52.9952006842941 \tabularnewline
39 & 255542 & 255188.113642521 & 353.886357478739 \tabularnewline
40 & 253158 & 251510.356241821 & 1647.64375817851 \tabularnewline
41 & 243803 & 248553.547955929 & -4750.54795592907 \tabularnewline
42 & 250741 & 248533.223778547 & 2207.77622145318 \tabularnewline
43 & 280445 & 282461.982068058 & -2016.98206805752 \tabularnewline
44 & 285257 & 284087.228421374 & 1169.77157862589 \tabularnewline
45 & 270976 & 270103.206449277 & 872.793550723232 \tabularnewline
46 & 261076 & 259994.938177365 & 1081.0618226353 \tabularnewline
47 & 255603 & 251218.895783994 & 4384.10421600615 \tabularnewline
48 & 260376 & 255641.874847074 & 4734.12515292558 \tabularnewline
49 & 263903 & 261912.111314441 & 1990.88868555933 \tabularnewline
50 & 264291 & 260376.818950984 & 3914.18104901578 \tabularnewline
51 & 263276 & 259655.933100463 & 3620.06689953711 \tabularnewline
52 & 262572 & 263628.897450843 & -1056.89745084295 \tabularnewline
53 & 256167 & 260761.162095742 & -4594.16209574178 \tabularnewline
54 & 264221 & 268773.026160229 & -4552.02616022876 \tabularnewline
55 & 293860 & 299858.269135979 & -5998.26913597912 \tabularnewline
56 & 300713 & 302516.661566684 & -1803.66156668362 \tabularnewline
57 & 287224 & 287576.887044062 & -352.887044062431 \tabularnewline
58 & 275902 & 277317.637664606 & -1415.63766460633 \tabularnewline
59 & 271115 & 268509.256616208 & 2605.74338379246 \tabularnewline
60 & 277509 & 271353.111324634 & 6155.88867536606 \tabularnewline
61 & 279681 & 276625.483949209 & 3055.51605079114 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=169474&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]13[/C][C]313218[/C][C]314937.831730769[/C][C]-1719.83173076907[/C][/ROW]
[ROW][C]14[/C][C]309664[/C][C]309777.65862079[/C][C]-113.658620790171[/C][/ROW]
[ROW][C]15[/C][C]302963[/C][C]302465.419674193[/C][C]497.58032580663[/C][/ROW]
[ROW][C]16[/C][C]298989[/C][C]298846.921807562[/C][C]142.078192437883[/C][/ROW]
[ROW][C]17[/C][C]298423[/C][C]298895.697481043[/C][C]-472.697481043055[/C][/ROW]
[ROW][C]18[/C][C]301631[/C][C]302609.303765351[/C][C]-978.303765351477[/C][/ROW]
[ROW][C]19[/C][C]329765[/C][C]326328.711583789[/C][C]3436.28841621097[/C][/ROW]
[ROW][C]20[/C][C]335083[/C][C]332202.633444242[/C][C]2880.36655575788[/C][/ROW]
[ROW][C]21[/C][C]327616[/C][C]332860.128156266[/C][C]-5244.12815626553[/C][/ROW]
[ROW][C]22[/C][C]309119[/C][C]317631.355296959[/C][C]-8512.35529695865[/C][/ROW]
[ROW][C]23[/C][C]295916[/C][C]300104.258257802[/C][C]-4188.25825780234[/C][/ROW]
[ROW][C]24[/C][C]291413[/C][C]294138.528195972[/C][C]-2725.52819597209[/C][/ROW]
[ROW][C]25[/C][C]291542[/C][C]285587.964350992[/C][C]5954.03564900812[/C][/ROW]
[ROW][C]26[/C][C]284678[/C][C]282552.539429156[/C][C]2125.46057084354[/C][/ROW]
[ROW][C]27[/C][C]276475[/C][C]274694.570990147[/C][C]1780.42900985287[/C][/ROW]
[ROW][C]28[/C][C]272566[/C][C]269931.779598841[/C][C]2634.22040115937[/C][/ROW]
[ROW][C]29[/C][C]264981[/C][C]270045.297708214[/C][C]-5064.29770821409[/C][/ROW]
[ROW][C]30[/C][C]263290[/C][C]268894.261140495[/C][C]-5604.26114049536[/C][/ROW]
[ROW][C]31[/C][C]296806[/C][C]288784.881974549[/C][C]8021.11802545103[/C][/ROW]
[ROW][C]32[/C][C]303598[/C][C]294530.047742697[/C][C]9067.95225730276[/C][/ROW]
[ROW][C]33[/C][C]286994[/C][C]294008.802320779[/C][C]-7014.80232077895[/C][/ROW]
[ROW][C]34[/C][C]276427[/C][C]275293.440690812[/C][C]1133.55930918816[/C][/ROW]
[ROW][C]35[/C][C]266424[/C][C]266588.099845099[/C][C]-164.099845098564[/C][/ROW]
[ROW][C]36[/C][C]267153[/C][C]266285.232056567[/C][C]867.767943433078[/C][/ROW]
[ROW][C]37[/C][C]268381[/C][C]267653.64947051[/C][C]727.350529489981[/C][/ROW]
[ROW][C]38[/C][C]262522[/C][C]262469.004799316[/C][C]52.9952006842941[/C][/ROW]
[ROW][C]39[/C][C]255542[/C][C]255188.113642521[/C][C]353.886357478739[/C][/ROW]
[ROW][C]40[/C][C]253158[/C][C]251510.356241821[/C][C]1647.64375817851[/C][/ROW]
[ROW][C]41[/C][C]243803[/C][C]248553.547955929[/C][C]-4750.54795592907[/C][/ROW]
[ROW][C]42[/C][C]250741[/C][C]248533.223778547[/C][C]2207.77622145318[/C][/ROW]
[ROW][C]43[/C][C]280445[/C][C]282461.982068058[/C][C]-2016.98206805752[/C][/ROW]
[ROW][C]44[/C][C]285257[/C][C]284087.228421374[/C][C]1169.77157862589[/C][/ROW]
[ROW][C]45[/C][C]270976[/C][C]270103.206449277[/C][C]872.793550723232[/C][/ROW]
[ROW][C]46[/C][C]261076[/C][C]259994.938177365[/C][C]1081.0618226353[/C][/ROW]
[ROW][C]47[/C][C]255603[/C][C]251218.895783994[/C][C]4384.10421600615[/C][/ROW]
[ROW][C]48[/C][C]260376[/C][C]255641.874847074[/C][C]4734.12515292558[/C][/ROW]
[ROW][C]49[/C][C]263903[/C][C]261912.111314441[/C][C]1990.88868555933[/C][/ROW]
[ROW][C]50[/C][C]264291[/C][C]260376.818950984[/C][C]3914.18104901578[/C][/ROW]
[ROW][C]51[/C][C]263276[/C][C]259655.933100463[/C][C]3620.06689953711[/C][/ROW]
[ROW][C]52[/C][C]262572[/C][C]263628.897450843[/C][C]-1056.89745084295[/C][/ROW]
[ROW][C]53[/C][C]256167[/C][C]260761.162095742[/C][C]-4594.16209574178[/C][/ROW]
[ROW][C]54[/C][C]264221[/C][C]268773.026160229[/C][C]-4552.02616022876[/C][/ROW]
[ROW][C]55[/C][C]293860[/C][C]299858.269135979[/C][C]-5998.26913597912[/C][/ROW]
[ROW][C]56[/C][C]300713[/C][C]302516.661566684[/C][C]-1803.66156668362[/C][/ROW]
[ROW][C]57[/C][C]287224[/C][C]287576.887044062[/C][C]-352.887044062431[/C][/ROW]
[ROW][C]58[/C][C]275902[/C][C]277317.637664606[/C][C]-1415.63766460633[/C][/ROW]
[ROW][C]59[/C][C]271115[/C][C]268509.256616208[/C][C]2605.74338379246[/C][/ROW]
[ROW][C]60[/C][C]277509[/C][C]271353.111324634[/C][C]6155.88867536606[/C][/ROW]
[ROW][C]61[/C][C]279681[/C][C]276625.483949209[/C][C]3055.51605079114[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=169474&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=169474&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
13313218314937.831730769-1719.83173076907
14309664309777.65862079-113.658620790171
15302963302465.419674193497.58032580663
16298989298846.921807562142.078192437883
17298423298895.697481043-472.697481043055
18301631302609.303765351-978.303765351477
19329765326328.7115837893436.28841621097
20335083332202.6334442422880.36655575788
21327616332860.128156266-5244.12815626553
22309119317631.355296959-8512.35529695865
23295916300104.258257802-4188.25825780234
24291413294138.528195972-2725.52819597209
25291542285587.9643509925954.03564900812
26284678282552.5394291562125.46057084354
27276475274694.5709901471780.42900985287
28272566269931.7795988412634.22040115937
29264981270045.297708214-5064.29770821409
30263290268894.261140495-5604.26114049536
31296806288784.8819745498021.11802545103
32303598294530.0477426979067.95225730276
33286994294008.802320779-7014.80232077895
34276427275293.4406908121133.55930918816
35266424266588.099845099-164.099845098564
36267153266285.232056567867.767943433078
37268381267653.64947051727.350529489981
38262522262469.00479931652.9952006842941
39255542255188.113642521353.886357478739
40253158251510.3562418211647.64375817851
41243803248553.547955929-4750.54795592907
42250741248533.2237785472207.77622145318
43280445282461.982068058-2016.98206805752
44285257284087.2284213741169.77157862589
45270976270103.206449277872.793550723232
46261076259994.9381773651081.0618226353
47255603251218.8957839944384.10421600615
48260376255641.8748470744734.12515292558
49263903261912.1113144411990.88868555933
50264291260376.8189509843914.18104901578
51263276259655.9331004633620.06689953711
52262572263628.897450843-1056.89745084295
53256167260761.162095742-4594.16209574178
54264221268773.026160229-4552.02616022876
55293860299858.269135979-5998.26913597912
56300713302516.661566684-1803.66156668362
57287224287576.887044062-352.887044062431
58275902277317.637664606-1415.63766460633
59271115268509.2566162082605.74338379246
60277509271353.1113246346155.88867536606
61279681276625.4839492093055.51605079114







Extrapolation Forecasts of Exponential Smoothing
tForecast95% Lower Bound95% Upper Bound
62276447.621429999268944.816224911283950.426635086
63272324.096759665262702.928599369281945.26491996
64269919.961349239257314.536413115282525.386285363
65263953.017846709247696.239408461280209.796284956
66273722.188303212253283.832817293294160.54378913
67307115.503299272282051.016405545332179.990193
68317237.700184769287157.966041803347317.434327735
69306773.501405843271327.58119412342219.421617566
70299128.704904469257993.58317171340263.826637228
71296328.102702265249202.244374371343453.961030159
72302125.666158149248724.736528962355526.595787336
73303572.786806465243626.663475418363518.910137511

\begin{tabular}{lllllllll}
\hline
Extrapolation Forecasts of Exponential Smoothing \tabularnewline
t & Forecast & 95% Lower Bound & 95% Upper Bound \tabularnewline
62 & 276447.621429999 & 268944.816224911 & 283950.426635086 \tabularnewline
63 & 272324.096759665 & 262702.928599369 & 281945.26491996 \tabularnewline
64 & 269919.961349239 & 257314.536413115 & 282525.386285363 \tabularnewline
65 & 263953.017846709 & 247696.239408461 & 280209.796284956 \tabularnewline
66 & 273722.188303212 & 253283.832817293 & 294160.54378913 \tabularnewline
67 & 307115.503299272 & 282051.016405545 & 332179.990193 \tabularnewline
68 & 317237.700184769 & 287157.966041803 & 347317.434327735 \tabularnewline
69 & 306773.501405843 & 271327.58119412 & 342219.421617566 \tabularnewline
70 & 299128.704904469 & 257993.58317171 & 340263.826637228 \tabularnewline
71 & 296328.102702265 & 249202.244374371 & 343453.961030159 \tabularnewline
72 & 302125.666158149 & 248724.736528962 & 355526.595787336 \tabularnewline
73 & 303572.786806465 & 243626.663475418 & 363518.910137511 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=169474&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]62[/C][C]276447.621429999[/C][C]268944.816224911[/C][C]283950.426635086[/C][/ROW]
[ROW][C]63[/C][C]272324.096759665[/C][C]262702.928599369[/C][C]281945.26491996[/C][/ROW]
[ROW][C]64[/C][C]269919.961349239[/C][C]257314.536413115[/C][C]282525.386285363[/C][/ROW]
[ROW][C]65[/C][C]263953.017846709[/C][C]247696.239408461[/C][C]280209.796284956[/C][/ROW]
[ROW][C]66[/C][C]273722.188303212[/C][C]253283.832817293[/C][C]294160.54378913[/C][/ROW]
[ROW][C]67[/C][C]307115.503299272[/C][C]282051.016405545[/C][C]332179.990193[/C][/ROW]
[ROW][C]68[/C][C]317237.700184769[/C][C]287157.966041803[/C][C]347317.434327735[/C][/ROW]
[ROW][C]69[/C][C]306773.501405843[/C][C]271327.58119412[/C][C]342219.421617566[/C][/ROW]
[ROW][C]70[/C][C]299128.704904469[/C][C]257993.58317171[/C][C]340263.826637228[/C][/ROW]
[ROW][C]71[/C][C]296328.102702265[/C][C]249202.244374371[/C][C]343453.961030159[/C][/ROW]
[ROW][C]72[/C][C]302125.666158149[/C][C]248724.736528962[/C][C]355526.595787336[/C][/ROW]
[ROW][C]73[/C][C]303572.786806465[/C][C]243626.663475418[/C][C]363518.910137511[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=169474&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=169474&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
62276447.621429999268944.816224911283950.426635086
63272324.096759665262702.928599369281945.26491996
64269919.961349239257314.536413115282525.386285363
65263953.017846709247696.239408461280209.796284956
66273722.188303212253283.832817293294160.54378913
67307115.503299272282051.016405545332179.990193
68317237.700184769287157.966041803347317.434327735
69306773.501405843271327.58119412342219.421617566
70299128.704904469257993.58317171340263.826637228
71296328.102702265249202.244374371343453.961030159
72302125.666158149248724.736528962355526.595787336
73303572.786806465243626.663475418363518.910137511



Parameters (Session):
par1 = 12 ; par2 = Triple ; par3 = additive ;
Parameters (R input):
par1 = 12 ; par2 = Triple ; par3 = additive ; par4 = ; par5 = ; par6 = ; par7 = ; par8 = ; par9 = ; par10 = ; par11 = ; par12 = ; par13 = ; par14 = ; par15 = ; par16 = ; par17 = ; par18 = ; par19 = ; par20 = ;
R code (references can be found in the software module):
par1 <- as.numeric(par1)
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=0, beta=0)
if (par2 == 'Double') fit <- HoltWinters(x, gamma=0)
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, par1, 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')