Free Statistics

of Irreproducible Research!

Author's title

Author*Unverified author*
R Software Modulerwasp_decompose.wasp
Title produced by softwareClassical Decomposition
Date of computationMon, 12 May 2014 15:41:01 -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/2014/May/12/t1399923671n58g051nufh9y21.htm/, Retrieved Wed, 15 May 2024 01:35:22 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=234852, Retrieved Wed, 15 May 2024 01:35:22 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact124
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-       [Classical Decomposition] [] [2014-05-12 19:41:01] [3faf596b3f292f8d9ff7bbf57fa10dd3] [Current]
Feedback Forum

Post a new message
Dataseries X:
812
100
113
213
149
134
228
138
162
291
182
2081
2752
125
144
274
257
186
327
209
213
375
400
1054
3377
101
120
221
222
167
297
185
189
298
237
1011
3013
110
109
215
176
134
202
139
169
262
214
1238
3748
127
160
138
134
163
172
163
193
226
344
1294
3524
141
186
135
161
131
170
146
160
151
151
1365




Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time3 seconds
R Server'Herman Ole Andreas Wold' @ wold.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 & 3 seconds \tabularnewline
R Server & 'Herman Ole Andreas Wold' @ wold.wessa.net \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=234852&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]3 seconds[/C][/ROW]
[ROW][C]R Server[/C][C]'Herman Ole Andreas Wold' @ wold.wessa.net[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=234852&T=0

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=234852&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 time3 seconds
R Server'Herman Ole Andreas Wold' @ wold.wessa.net







Classical Decomposition by Moving Averages
tObservationsFitTrendSeasonalRandom
1812NANA5.97682NA
2100NANA0.220016NA
3113NANA0.260911NA
4213NANA0.359117NA
5149NANA0.346553NA
6134NANA0.288019NA
7228216.869464.4170.4669721.05132
8138165.933546.2920.3037440.831663
9162184.586548.6250.3364530.877637
10291291.419552.4580.5274940.998563
11182279.163559.50.4989510.651949
1220811367.26566.1672.414951.52202
1327523421.48572.4585.976820.80433
14125127.509579.5420.2200160.980327
15144152.535584.6250.2609110.944045
16274211.969590.250.3591171.29264
17257208.913602.8330.3465531.23017
18186163.919569.1250.2880191.13471
19327257.943552.3750.4669721.26772
20209175.387577.4170.3037441.19165
21213193.601575.4170.3364531.1002
22375301.837572.2080.5274941.24239
23400283.674568.5420.4989511.41007
2410541367.57566.2922.414950.770712
2533773372.42564.255.976821.00136
26101123.6495620.2200160.816828
27120146.115600.2609110.821298
28221199.594555.7920.3591171.10725
29222189.146545.7920.3465531.1737
30167154.726537.2080.2880191.07933
31297242.942520.250.4669721.22251
32185153.53505.4580.3037441.20498
33189170.035505.3750.3364531.11154
34298266.209504.6670.5274941.11942
35237250.723502.50.4989510.945267
3610111205.56499.2082.414950.838612
3730132951.8493.8755.976821.02073
38110107.3684880.2200161.02452
39109126.607485.250.2609110.860931
40215173.423482.9170.3591171.23974
41176166.504480.4580.3465531.05703
42134140.829488.9580.2880190.951506
43202247.047529.0420.4669720.817657
44139170.21560.3750.3037440.816636
45169189.493563.2080.3364530.891853
46262296.518562.1250.5274940.883589
47214277.999557.1670.4989510.769788
4812381344.22556.6252.414950.920979
4937483326.6556.5835.976821.12668
50127122.402556.3330.2200161.03756
51160145.675558.3330.2609111.09833
52138200.327557.8330.3591170.688873
53134194.676561.750.3465530.688323
54163164.027569.50.2880190.99374
55172262.672562.50.4669720.65481
56163168.198553.750.3037440.969095
57193186.872555.4170.3364531.03279
58226293.485556.3750.5274940.770057
59344278.103557.3750.4989511.23695
6012941345.53557.1672.414950.961703
6135243321.62555.755.976821.06093
62141122.1554.9580.2200161.15479
63186144.251552.8750.2609111.28942
64135196.931548.3750.3591170.685521
65161186.171537.2080.3465530.864797
66131153.262532.1250.2880190.854745
67170NANA0.466972NA
68146NANA0.303744NA
69160NANA0.336453NA
70151NANA0.527494NA
71151NANA0.498951NA
721365NANA2.41495NA

\begin{tabular}{lllllllll}
\hline
Classical Decomposition by Moving Averages \tabularnewline
t & Observations & Fit & Trend & Seasonal & Random \tabularnewline
1 & 812 & NA & NA & 5.97682 & NA \tabularnewline
2 & 100 & NA & NA & 0.220016 & NA \tabularnewline
3 & 113 & NA & NA & 0.260911 & NA \tabularnewline
4 & 213 & NA & NA & 0.359117 & NA \tabularnewline
5 & 149 & NA & NA & 0.346553 & NA \tabularnewline
6 & 134 & NA & NA & 0.288019 & NA \tabularnewline
7 & 228 & 216.869 & 464.417 & 0.466972 & 1.05132 \tabularnewline
8 & 138 & 165.933 & 546.292 & 0.303744 & 0.831663 \tabularnewline
9 & 162 & 184.586 & 548.625 & 0.336453 & 0.877637 \tabularnewline
10 & 291 & 291.419 & 552.458 & 0.527494 & 0.998563 \tabularnewline
11 & 182 & 279.163 & 559.5 & 0.498951 & 0.651949 \tabularnewline
12 & 2081 & 1367.26 & 566.167 & 2.41495 & 1.52202 \tabularnewline
13 & 2752 & 3421.48 & 572.458 & 5.97682 & 0.80433 \tabularnewline
14 & 125 & 127.509 & 579.542 & 0.220016 & 0.980327 \tabularnewline
15 & 144 & 152.535 & 584.625 & 0.260911 & 0.944045 \tabularnewline
16 & 274 & 211.969 & 590.25 & 0.359117 & 1.29264 \tabularnewline
17 & 257 & 208.913 & 602.833 & 0.346553 & 1.23017 \tabularnewline
18 & 186 & 163.919 & 569.125 & 0.288019 & 1.13471 \tabularnewline
19 & 327 & 257.943 & 552.375 & 0.466972 & 1.26772 \tabularnewline
20 & 209 & 175.387 & 577.417 & 0.303744 & 1.19165 \tabularnewline
21 & 213 & 193.601 & 575.417 & 0.336453 & 1.1002 \tabularnewline
22 & 375 & 301.837 & 572.208 & 0.527494 & 1.24239 \tabularnewline
23 & 400 & 283.674 & 568.542 & 0.498951 & 1.41007 \tabularnewline
24 & 1054 & 1367.57 & 566.292 & 2.41495 & 0.770712 \tabularnewline
25 & 3377 & 3372.42 & 564.25 & 5.97682 & 1.00136 \tabularnewline
26 & 101 & 123.649 & 562 & 0.220016 & 0.816828 \tabularnewline
27 & 120 & 146.11 & 560 & 0.260911 & 0.821298 \tabularnewline
28 & 221 & 199.594 & 555.792 & 0.359117 & 1.10725 \tabularnewline
29 & 222 & 189.146 & 545.792 & 0.346553 & 1.1737 \tabularnewline
30 & 167 & 154.726 & 537.208 & 0.288019 & 1.07933 \tabularnewline
31 & 297 & 242.942 & 520.25 & 0.466972 & 1.22251 \tabularnewline
32 & 185 & 153.53 & 505.458 & 0.303744 & 1.20498 \tabularnewline
33 & 189 & 170.035 & 505.375 & 0.336453 & 1.11154 \tabularnewline
34 & 298 & 266.209 & 504.667 & 0.527494 & 1.11942 \tabularnewline
35 & 237 & 250.723 & 502.5 & 0.498951 & 0.945267 \tabularnewline
36 & 1011 & 1205.56 & 499.208 & 2.41495 & 0.838612 \tabularnewline
37 & 3013 & 2951.8 & 493.875 & 5.97682 & 1.02073 \tabularnewline
38 & 110 & 107.368 & 488 & 0.220016 & 1.02452 \tabularnewline
39 & 109 & 126.607 & 485.25 & 0.260911 & 0.860931 \tabularnewline
40 & 215 & 173.423 & 482.917 & 0.359117 & 1.23974 \tabularnewline
41 & 176 & 166.504 & 480.458 & 0.346553 & 1.05703 \tabularnewline
42 & 134 & 140.829 & 488.958 & 0.288019 & 0.951506 \tabularnewline
43 & 202 & 247.047 & 529.042 & 0.466972 & 0.817657 \tabularnewline
44 & 139 & 170.21 & 560.375 & 0.303744 & 0.816636 \tabularnewline
45 & 169 & 189.493 & 563.208 & 0.336453 & 0.891853 \tabularnewline
46 & 262 & 296.518 & 562.125 & 0.527494 & 0.883589 \tabularnewline
47 & 214 & 277.999 & 557.167 & 0.498951 & 0.769788 \tabularnewline
48 & 1238 & 1344.22 & 556.625 & 2.41495 & 0.920979 \tabularnewline
49 & 3748 & 3326.6 & 556.583 & 5.97682 & 1.12668 \tabularnewline
50 & 127 & 122.402 & 556.333 & 0.220016 & 1.03756 \tabularnewline
51 & 160 & 145.675 & 558.333 & 0.260911 & 1.09833 \tabularnewline
52 & 138 & 200.327 & 557.833 & 0.359117 & 0.688873 \tabularnewline
53 & 134 & 194.676 & 561.75 & 0.346553 & 0.688323 \tabularnewline
54 & 163 & 164.027 & 569.5 & 0.288019 & 0.99374 \tabularnewline
55 & 172 & 262.672 & 562.5 & 0.466972 & 0.65481 \tabularnewline
56 & 163 & 168.198 & 553.75 & 0.303744 & 0.969095 \tabularnewline
57 & 193 & 186.872 & 555.417 & 0.336453 & 1.03279 \tabularnewline
58 & 226 & 293.485 & 556.375 & 0.527494 & 0.770057 \tabularnewline
59 & 344 & 278.103 & 557.375 & 0.498951 & 1.23695 \tabularnewline
60 & 1294 & 1345.53 & 557.167 & 2.41495 & 0.961703 \tabularnewline
61 & 3524 & 3321.62 & 555.75 & 5.97682 & 1.06093 \tabularnewline
62 & 141 & 122.1 & 554.958 & 0.220016 & 1.15479 \tabularnewline
63 & 186 & 144.251 & 552.875 & 0.260911 & 1.28942 \tabularnewline
64 & 135 & 196.931 & 548.375 & 0.359117 & 0.685521 \tabularnewline
65 & 161 & 186.171 & 537.208 & 0.346553 & 0.864797 \tabularnewline
66 & 131 & 153.262 & 532.125 & 0.288019 & 0.854745 \tabularnewline
67 & 170 & NA & NA & 0.466972 & NA \tabularnewline
68 & 146 & NA & NA & 0.303744 & NA \tabularnewline
69 & 160 & NA & NA & 0.336453 & NA \tabularnewline
70 & 151 & NA & NA & 0.527494 & NA \tabularnewline
71 & 151 & NA & NA & 0.498951 & NA \tabularnewline
72 & 1365 & NA & NA & 2.41495 & NA \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=234852&T=1

[TABLE]
[ROW][C]Classical Decomposition by Moving Averages[/C][/ROW]
[ROW][C]t[/C][C]Observations[/C][C]Fit[/C][C]Trend[/C][C]Seasonal[/C][C]Random[/C][/ROW]
[ROW][C]1[/C][C]812[/C][C]NA[/C][C]NA[/C][C]5.97682[/C][C]NA[/C][/ROW]
[ROW][C]2[/C][C]100[/C][C]NA[/C][C]NA[/C][C]0.220016[/C][C]NA[/C][/ROW]
[ROW][C]3[/C][C]113[/C][C]NA[/C][C]NA[/C][C]0.260911[/C][C]NA[/C][/ROW]
[ROW][C]4[/C][C]213[/C][C]NA[/C][C]NA[/C][C]0.359117[/C][C]NA[/C][/ROW]
[ROW][C]5[/C][C]149[/C][C]NA[/C][C]NA[/C][C]0.346553[/C][C]NA[/C][/ROW]
[ROW][C]6[/C][C]134[/C][C]NA[/C][C]NA[/C][C]0.288019[/C][C]NA[/C][/ROW]
[ROW][C]7[/C][C]228[/C][C]216.869[/C][C]464.417[/C][C]0.466972[/C][C]1.05132[/C][/ROW]
[ROW][C]8[/C][C]138[/C][C]165.933[/C][C]546.292[/C][C]0.303744[/C][C]0.831663[/C][/ROW]
[ROW][C]9[/C][C]162[/C][C]184.586[/C][C]548.625[/C][C]0.336453[/C][C]0.877637[/C][/ROW]
[ROW][C]10[/C][C]291[/C][C]291.419[/C][C]552.458[/C][C]0.527494[/C][C]0.998563[/C][/ROW]
[ROW][C]11[/C][C]182[/C][C]279.163[/C][C]559.5[/C][C]0.498951[/C][C]0.651949[/C][/ROW]
[ROW][C]12[/C][C]2081[/C][C]1367.26[/C][C]566.167[/C][C]2.41495[/C][C]1.52202[/C][/ROW]
[ROW][C]13[/C][C]2752[/C][C]3421.48[/C][C]572.458[/C][C]5.97682[/C][C]0.80433[/C][/ROW]
[ROW][C]14[/C][C]125[/C][C]127.509[/C][C]579.542[/C][C]0.220016[/C][C]0.980327[/C][/ROW]
[ROW][C]15[/C][C]144[/C][C]152.535[/C][C]584.625[/C][C]0.260911[/C][C]0.944045[/C][/ROW]
[ROW][C]16[/C][C]274[/C][C]211.969[/C][C]590.25[/C][C]0.359117[/C][C]1.29264[/C][/ROW]
[ROW][C]17[/C][C]257[/C][C]208.913[/C][C]602.833[/C][C]0.346553[/C][C]1.23017[/C][/ROW]
[ROW][C]18[/C][C]186[/C][C]163.919[/C][C]569.125[/C][C]0.288019[/C][C]1.13471[/C][/ROW]
[ROW][C]19[/C][C]327[/C][C]257.943[/C][C]552.375[/C][C]0.466972[/C][C]1.26772[/C][/ROW]
[ROW][C]20[/C][C]209[/C][C]175.387[/C][C]577.417[/C][C]0.303744[/C][C]1.19165[/C][/ROW]
[ROW][C]21[/C][C]213[/C][C]193.601[/C][C]575.417[/C][C]0.336453[/C][C]1.1002[/C][/ROW]
[ROW][C]22[/C][C]375[/C][C]301.837[/C][C]572.208[/C][C]0.527494[/C][C]1.24239[/C][/ROW]
[ROW][C]23[/C][C]400[/C][C]283.674[/C][C]568.542[/C][C]0.498951[/C][C]1.41007[/C][/ROW]
[ROW][C]24[/C][C]1054[/C][C]1367.57[/C][C]566.292[/C][C]2.41495[/C][C]0.770712[/C][/ROW]
[ROW][C]25[/C][C]3377[/C][C]3372.42[/C][C]564.25[/C][C]5.97682[/C][C]1.00136[/C][/ROW]
[ROW][C]26[/C][C]101[/C][C]123.649[/C][C]562[/C][C]0.220016[/C][C]0.816828[/C][/ROW]
[ROW][C]27[/C][C]120[/C][C]146.11[/C][C]560[/C][C]0.260911[/C][C]0.821298[/C][/ROW]
[ROW][C]28[/C][C]221[/C][C]199.594[/C][C]555.792[/C][C]0.359117[/C][C]1.10725[/C][/ROW]
[ROW][C]29[/C][C]222[/C][C]189.146[/C][C]545.792[/C][C]0.346553[/C][C]1.1737[/C][/ROW]
[ROW][C]30[/C][C]167[/C][C]154.726[/C][C]537.208[/C][C]0.288019[/C][C]1.07933[/C][/ROW]
[ROW][C]31[/C][C]297[/C][C]242.942[/C][C]520.25[/C][C]0.466972[/C][C]1.22251[/C][/ROW]
[ROW][C]32[/C][C]185[/C][C]153.53[/C][C]505.458[/C][C]0.303744[/C][C]1.20498[/C][/ROW]
[ROW][C]33[/C][C]189[/C][C]170.035[/C][C]505.375[/C][C]0.336453[/C][C]1.11154[/C][/ROW]
[ROW][C]34[/C][C]298[/C][C]266.209[/C][C]504.667[/C][C]0.527494[/C][C]1.11942[/C][/ROW]
[ROW][C]35[/C][C]237[/C][C]250.723[/C][C]502.5[/C][C]0.498951[/C][C]0.945267[/C][/ROW]
[ROW][C]36[/C][C]1011[/C][C]1205.56[/C][C]499.208[/C][C]2.41495[/C][C]0.838612[/C][/ROW]
[ROW][C]37[/C][C]3013[/C][C]2951.8[/C][C]493.875[/C][C]5.97682[/C][C]1.02073[/C][/ROW]
[ROW][C]38[/C][C]110[/C][C]107.368[/C][C]488[/C][C]0.220016[/C][C]1.02452[/C][/ROW]
[ROW][C]39[/C][C]109[/C][C]126.607[/C][C]485.25[/C][C]0.260911[/C][C]0.860931[/C][/ROW]
[ROW][C]40[/C][C]215[/C][C]173.423[/C][C]482.917[/C][C]0.359117[/C][C]1.23974[/C][/ROW]
[ROW][C]41[/C][C]176[/C][C]166.504[/C][C]480.458[/C][C]0.346553[/C][C]1.05703[/C][/ROW]
[ROW][C]42[/C][C]134[/C][C]140.829[/C][C]488.958[/C][C]0.288019[/C][C]0.951506[/C][/ROW]
[ROW][C]43[/C][C]202[/C][C]247.047[/C][C]529.042[/C][C]0.466972[/C][C]0.817657[/C][/ROW]
[ROW][C]44[/C][C]139[/C][C]170.21[/C][C]560.375[/C][C]0.303744[/C][C]0.816636[/C][/ROW]
[ROW][C]45[/C][C]169[/C][C]189.493[/C][C]563.208[/C][C]0.336453[/C][C]0.891853[/C][/ROW]
[ROW][C]46[/C][C]262[/C][C]296.518[/C][C]562.125[/C][C]0.527494[/C][C]0.883589[/C][/ROW]
[ROW][C]47[/C][C]214[/C][C]277.999[/C][C]557.167[/C][C]0.498951[/C][C]0.769788[/C][/ROW]
[ROW][C]48[/C][C]1238[/C][C]1344.22[/C][C]556.625[/C][C]2.41495[/C][C]0.920979[/C][/ROW]
[ROW][C]49[/C][C]3748[/C][C]3326.6[/C][C]556.583[/C][C]5.97682[/C][C]1.12668[/C][/ROW]
[ROW][C]50[/C][C]127[/C][C]122.402[/C][C]556.333[/C][C]0.220016[/C][C]1.03756[/C][/ROW]
[ROW][C]51[/C][C]160[/C][C]145.675[/C][C]558.333[/C][C]0.260911[/C][C]1.09833[/C][/ROW]
[ROW][C]52[/C][C]138[/C][C]200.327[/C][C]557.833[/C][C]0.359117[/C][C]0.688873[/C][/ROW]
[ROW][C]53[/C][C]134[/C][C]194.676[/C][C]561.75[/C][C]0.346553[/C][C]0.688323[/C][/ROW]
[ROW][C]54[/C][C]163[/C][C]164.027[/C][C]569.5[/C][C]0.288019[/C][C]0.99374[/C][/ROW]
[ROW][C]55[/C][C]172[/C][C]262.672[/C][C]562.5[/C][C]0.466972[/C][C]0.65481[/C][/ROW]
[ROW][C]56[/C][C]163[/C][C]168.198[/C][C]553.75[/C][C]0.303744[/C][C]0.969095[/C][/ROW]
[ROW][C]57[/C][C]193[/C][C]186.872[/C][C]555.417[/C][C]0.336453[/C][C]1.03279[/C][/ROW]
[ROW][C]58[/C][C]226[/C][C]293.485[/C][C]556.375[/C][C]0.527494[/C][C]0.770057[/C][/ROW]
[ROW][C]59[/C][C]344[/C][C]278.103[/C][C]557.375[/C][C]0.498951[/C][C]1.23695[/C][/ROW]
[ROW][C]60[/C][C]1294[/C][C]1345.53[/C][C]557.167[/C][C]2.41495[/C][C]0.961703[/C][/ROW]
[ROW][C]61[/C][C]3524[/C][C]3321.62[/C][C]555.75[/C][C]5.97682[/C][C]1.06093[/C][/ROW]
[ROW][C]62[/C][C]141[/C][C]122.1[/C][C]554.958[/C][C]0.220016[/C][C]1.15479[/C][/ROW]
[ROW][C]63[/C][C]186[/C][C]144.251[/C][C]552.875[/C][C]0.260911[/C][C]1.28942[/C][/ROW]
[ROW][C]64[/C][C]135[/C][C]196.931[/C][C]548.375[/C][C]0.359117[/C][C]0.685521[/C][/ROW]
[ROW][C]65[/C][C]161[/C][C]186.171[/C][C]537.208[/C][C]0.346553[/C][C]0.864797[/C][/ROW]
[ROW][C]66[/C][C]131[/C][C]153.262[/C][C]532.125[/C][C]0.288019[/C][C]0.854745[/C][/ROW]
[ROW][C]67[/C][C]170[/C][C]NA[/C][C]NA[/C][C]0.466972[/C][C]NA[/C][/ROW]
[ROW][C]68[/C][C]146[/C][C]NA[/C][C]NA[/C][C]0.303744[/C][C]NA[/C][/ROW]
[ROW][C]69[/C][C]160[/C][C]NA[/C][C]NA[/C][C]0.336453[/C][C]NA[/C][/ROW]
[ROW][C]70[/C][C]151[/C][C]NA[/C][C]NA[/C][C]0.527494[/C][C]NA[/C][/ROW]
[ROW][C]71[/C][C]151[/C][C]NA[/C][C]NA[/C][C]0.498951[/C][C]NA[/C][/ROW]
[ROW][C]72[/C][C]1365[/C][C]NA[/C][C]NA[/C][C]2.41495[/C][C]NA[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=234852&T=1

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

As an alternative you can also use a QR Code:  

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

Classical Decomposition by Moving Averages
tObservationsFitTrendSeasonalRandom
1812NANA5.97682NA
2100NANA0.220016NA
3113NANA0.260911NA
4213NANA0.359117NA
5149NANA0.346553NA
6134NANA0.288019NA
7228216.869464.4170.4669721.05132
8138165.933546.2920.3037440.831663
9162184.586548.6250.3364530.877637
10291291.419552.4580.5274940.998563
11182279.163559.50.4989510.651949
1220811367.26566.1672.414951.52202
1327523421.48572.4585.976820.80433
14125127.509579.5420.2200160.980327
15144152.535584.6250.2609110.944045
16274211.969590.250.3591171.29264
17257208.913602.8330.3465531.23017
18186163.919569.1250.2880191.13471
19327257.943552.3750.4669721.26772
20209175.387577.4170.3037441.19165
21213193.601575.4170.3364531.1002
22375301.837572.2080.5274941.24239
23400283.674568.5420.4989511.41007
2410541367.57566.2922.414950.770712
2533773372.42564.255.976821.00136
26101123.6495620.2200160.816828
27120146.115600.2609110.821298
28221199.594555.7920.3591171.10725
29222189.146545.7920.3465531.1737
30167154.726537.2080.2880191.07933
31297242.942520.250.4669721.22251
32185153.53505.4580.3037441.20498
33189170.035505.3750.3364531.11154
34298266.209504.6670.5274941.11942
35237250.723502.50.4989510.945267
3610111205.56499.2082.414950.838612
3730132951.8493.8755.976821.02073
38110107.3684880.2200161.02452
39109126.607485.250.2609110.860931
40215173.423482.9170.3591171.23974
41176166.504480.4580.3465531.05703
42134140.829488.9580.2880190.951506
43202247.047529.0420.4669720.817657
44139170.21560.3750.3037440.816636
45169189.493563.2080.3364530.891853
46262296.518562.1250.5274940.883589
47214277.999557.1670.4989510.769788
4812381344.22556.6252.414950.920979
4937483326.6556.5835.976821.12668
50127122.402556.3330.2200161.03756
51160145.675558.3330.2609111.09833
52138200.327557.8330.3591170.688873
53134194.676561.750.3465530.688323
54163164.027569.50.2880190.99374
55172262.672562.50.4669720.65481
56163168.198553.750.3037440.969095
57193186.872555.4170.3364531.03279
58226293.485556.3750.5274940.770057
59344278.103557.3750.4989511.23695
6012941345.53557.1672.414950.961703
6135243321.62555.755.976821.06093
62141122.1554.9580.2200161.15479
63186144.251552.8750.2609111.28942
64135196.931548.3750.3591170.685521
65161186.171537.2080.3465530.864797
66131153.262532.1250.2880190.854745
67170NANA0.466972NA
68146NANA0.303744NA
69160NANA0.336453NA
70151NANA0.527494NA
71151NANA0.498951NA
721365NANA2.41495NA



Parameters (Session):
par1 = multiplicative ; par2 = 12 ;
Parameters (R input):
par1 = multiplicative ; par2 = 12 ;
R code (references can be found in the software module):
par2 <- '12'
par1 <- 'additive'
par2 <- as.numeric(par2)
x <- ts(x,freq=par2)
m <- decompose(x,type=par1)
m$figure
bitmap(file='test1.png')
plot(m)
dev.off()
mylagmax <- length(x)/2
bitmap(file='test2.png')
op <- par(mfrow = c(2,2))
acf(as.numeric(x),lag.max = mylagmax,main='Observed')
acf(as.numeric(m$trend),na.action=na.pass,lag.max = mylagmax,main='Trend')
acf(as.numeric(m$seasonal),na.action=na.pass,lag.max = mylagmax,main='Seasonal')
acf(as.numeric(m$random),na.action=na.pass,lag.max = mylagmax,main='Random')
par(op)
dev.off()
bitmap(file='test3.png')
op <- par(mfrow = c(2,2))
spectrum(as.numeric(x),main='Observed')
spectrum(as.numeric(m$trend[!is.na(m$trend)]),main='Trend')
spectrum(as.numeric(m$seasonal[!is.na(m$seasonal)]),main='Seasonal')
spectrum(as.numeric(m$random[!is.na(m$random)]),main='Random')
par(op)
dev.off()
bitmap(file='test4.png')
op <- par(mfrow = c(2,2))
cpgram(as.numeric(x),main='Observed')
cpgram(as.numeric(m$trend[!is.na(m$trend)]),main='Trend')
cpgram(as.numeric(m$seasonal[!is.na(m$seasonal)]),main='Seasonal')
cpgram(as.numeric(m$random[!is.na(m$random)]),main='Random')
par(op)
dev.off()
load(file='createtable')
a<-table.start()
a<-table.row.start(a)
a<-table.element(a,'Classical Decomposition by Moving Averages',6,TRUE)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'t',header=TRUE)
a<-table.element(a,'Observations',header=TRUE)
a<-table.element(a,'Fit',header=TRUE)
a<-table.element(a,'Trend',header=TRUE)
a<-table.element(a,'Seasonal',header=TRUE)
a<-table.element(a,'Random',header=TRUE)
a<-table.row.end(a)
for (i in 1:length(m$trend)) {
a<-table.row.start(a)
a<-table.element(a,i,header=TRUE)
a<-table.element(a,x[i])
if (par1 == 'additive') a<-table.element(a,signif(m$trend[i]+m$seasonal[i],6)) else a<-table.element(a,signif(m$trend[i]*m$seasonal[i],6))
a<-table.element(a,signif(m$trend[i],6))
a<-table.element(a,signif(m$seasonal[i],6))
a<-table.element(a,signif(m$random[i],6))
a<-table.row.end(a)
}
a<-table.end(a)
table.save(a,file='mytable.tab')