Free Statistics

of Irreproducible Research!

Author's title

Author*Unverified author*
R Software Modulerwasp_decompose.wasp
Title produced by softwareClassical Decomposition
Date of computationFri, 25 Dec 2015 14:36:19 +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/2015/Dec/25/t1451054848kpfd1oh6rs1z23x.htm/, Retrieved Thu, 16 May 2024 09:49:46 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=287089, Retrieved Thu, 16 May 2024 09:49:46 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact162
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-       [Classical Decomposition] [] [2015-12-25 14:36:19] [e7bd1b63287b3004f428c98394187272] [Current]
Feedback Forum

Post a new message
Dataseries X:
62239,3
64816,6
62625,3
67923
64363,7
67342
64411,2
69174,5
66290,2
69336,8
66712,2
72225,9
68229,5
71096,3
68407,9
74522,4
71798,4
75074,3
72694,6
78789,4
74814,5
78303,2
75431,6
82600,7
78830,5
82168,1
79493,2
86876,6
83478,5
87003,2
83672,7
90914,2
86448
90577,7
86621,1
91418,5
84275,4
87677,9
85149,6
92600
87111,3
92293,9
89060
97281,6
91812
95980,4
92043,7
100079,2
94384,8
97900,5
93630,8
102255,2
95251,8
100001,8
95689,8
104298
97435,1
101220,2
97537
105834,9




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

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=287089&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'Gertrude Mary Cox' @ cox.wessa.net







Classical Decomposition by Moving Averages
tObservationsFitTrendSeasonalRandom
162239.3NANA0.977581NA
264816.6NANA1.01347NA
362625.362559.764666.60.9674181.00105
46792367957.465247.81.041530.999494
564363.764311.865786.70.9775811.00081
6673426705866166.41.013471.00424
764411.264394.966563.70.9674181.00025
869174.569838.467053.81.041530.990494
966290.266075.567590.80.9775811.00325
1069336.869179.668259.81.013471.00227
1166712.266639.368883.70.9674181.00109
1272225.972225.8693461.041531
1368229.568213.669777.90.9775811.00023
1471096.371223.9702771.013470.998209
1568407.968696.571010.10.9674180.995799
1674522.474941.571953.51.041530.994408
1771798.471350.372986.60.9775811.00628
1875074.375053.674055.81.013471.00028
1972694.672523.774966.20.9674181.00236
2078789.478892.375746.81.041530.998695
2174814.574777.676492.60.9775811.00049
2278303.278352.877311.11.013470.999367
2375431.675738.778289.50.9674180.995945
2482600.782566.679274.61.041531.00041
2578830.578465.980265.40.9775811.00465
2682168.182403.281307.61.013470.997147
2779493.279737.682423.10.9674180.996935
2886876.687080.583608.51.041530.997659
2983478.582835.684735.30.9775811.00776
3087003.28691885762.41.013471.00098
3183672.783815.586638.30.9674180.998296
3290914.291088.187456.31.041530.998091
338644886292.788271.70.9775811.0018
3490577.789898.588703.31.013471.00756
3586621.185611.588494.80.9674181.01179
3691418.591509.387860.71.041530.999008
3784275.485356.787314.30.9775810.987331
3887677.988454872781.013470.991226
3985149.684920.287780.20.9674181.0027
409260092395.688711.71.041531.00221
4187111.387764.789777.50.9775810.992555
4292293.992075.790851.51.013471.00237
43890608902692024.30.9674181.00038
4497281.696937.793072.71.041531.00355
459181291801.193906.50.9775811.00012
4695980.495904.294629.11.013471.00079
4792043.792195.495300.40.9674180.998355
48100079.299842.9958621.041531.00237
4994384.894141.496300.40.9775811.00259
5097900.598074.796770.81.013470.998223
5193630.893985.997151.20.9674180.996222
52102255.210157297522.21.041531.00673
5395251.895844.298042.30.9775810.993819
54100001.899882.9985551.013471.00119
5595689.89585599083.30.9674180.998277
5610429810364199508.51.041531.00634
5797435.197652.299891.70.9775810.997777
58101220.21016661003151.013470.995612
5997537NANA0.967418NA
60105834.9NANA1.04153NA

\begin{tabular}{lllllllll}
\hline
Classical Decomposition by Moving Averages \tabularnewline
t & Observations & Fit & Trend & Seasonal & Random \tabularnewline
1 & 62239.3 & NA & NA & 0.977581 & NA \tabularnewline
2 & 64816.6 & NA & NA & 1.01347 & NA \tabularnewline
3 & 62625.3 & 62559.7 & 64666.6 & 0.967418 & 1.00105 \tabularnewline
4 & 67923 & 67957.4 & 65247.8 & 1.04153 & 0.999494 \tabularnewline
5 & 64363.7 & 64311.8 & 65786.7 & 0.977581 & 1.00081 \tabularnewline
6 & 67342 & 67058 & 66166.4 & 1.01347 & 1.00424 \tabularnewline
7 & 64411.2 & 64394.9 & 66563.7 & 0.967418 & 1.00025 \tabularnewline
8 & 69174.5 & 69838.4 & 67053.8 & 1.04153 & 0.990494 \tabularnewline
9 & 66290.2 & 66075.5 & 67590.8 & 0.977581 & 1.00325 \tabularnewline
10 & 69336.8 & 69179.6 & 68259.8 & 1.01347 & 1.00227 \tabularnewline
11 & 66712.2 & 66639.3 & 68883.7 & 0.967418 & 1.00109 \tabularnewline
12 & 72225.9 & 72225.8 & 69346 & 1.04153 & 1 \tabularnewline
13 & 68229.5 & 68213.6 & 69777.9 & 0.977581 & 1.00023 \tabularnewline
14 & 71096.3 & 71223.9 & 70277 & 1.01347 & 0.998209 \tabularnewline
15 & 68407.9 & 68696.5 & 71010.1 & 0.967418 & 0.995799 \tabularnewline
16 & 74522.4 & 74941.5 & 71953.5 & 1.04153 & 0.994408 \tabularnewline
17 & 71798.4 & 71350.3 & 72986.6 & 0.977581 & 1.00628 \tabularnewline
18 & 75074.3 & 75053.6 & 74055.8 & 1.01347 & 1.00028 \tabularnewline
19 & 72694.6 & 72523.7 & 74966.2 & 0.967418 & 1.00236 \tabularnewline
20 & 78789.4 & 78892.3 & 75746.8 & 1.04153 & 0.998695 \tabularnewline
21 & 74814.5 & 74777.6 & 76492.6 & 0.977581 & 1.00049 \tabularnewline
22 & 78303.2 & 78352.8 & 77311.1 & 1.01347 & 0.999367 \tabularnewline
23 & 75431.6 & 75738.7 & 78289.5 & 0.967418 & 0.995945 \tabularnewline
24 & 82600.7 & 82566.6 & 79274.6 & 1.04153 & 1.00041 \tabularnewline
25 & 78830.5 & 78465.9 & 80265.4 & 0.977581 & 1.00465 \tabularnewline
26 & 82168.1 & 82403.2 & 81307.6 & 1.01347 & 0.997147 \tabularnewline
27 & 79493.2 & 79737.6 & 82423.1 & 0.967418 & 0.996935 \tabularnewline
28 & 86876.6 & 87080.5 & 83608.5 & 1.04153 & 0.997659 \tabularnewline
29 & 83478.5 & 82835.6 & 84735.3 & 0.977581 & 1.00776 \tabularnewline
30 & 87003.2 & 86918 & 85762.4 & 1.01347 & 1.00098 \tabularnewline
31 & 83672.7 & 83815.5 & 86638.3 & 0.967418 & 0.998296 \tabularnewline
32 & 90914.2 & 91088.1 & 87456.3 & 1.04153 & 0.998091 \tabularnewline
33 & 86448 & 86292.7 & 88271.7 & 0.977581 & 1.0018 \tabularnewline
34 & 90577.7 & 89898.5 & 88703.3 & 1.01347 & 1.00756 \tabularnewline
35 & 86621.1 & 85611.5 & 88494.8 & 0.967418 & 1.01179 \tabularnewline
36 & 91418.5 & 91509.3 & 87860.7 & 1.04153 & 0.999008 \tabularnewline
37 & 84275.4 & 85356.7 & 87314.3 & 0.977581 & 0.987331 \tabularnewline
38 & 87677.9 & 88454 & 87278 & 1.01347 & 0.991226 \tabularnewline
39 & 85149.6 & 84920.2 & 87780.2 & 0.967418 & 1.0027 \tabularnewline
40 & 92600 & 92395.6 & 88711.7 & 1.04153 & 1.00221 \tabularnewline
41 & 87111.3 & 87764.7 & 89777.5 & 0.977581 & 0.992555 \tabularnewline
42 & 92293.9 & 92075.7 & 90851.5 & 1.01347 & 1.00237 \tabularnewline
43 & 89060 & 89026 & 92024.3 & 0.967418 & 1.00038 \tabularnewline
44 & 97281.6 & 96937.7 & 93072.7 & 1.04153 & 1.00355 \tabularnewline
45 & 91812 & 91801.1 & 93906.5 & 0.977581 & 1.00012 \tabularnewline
46 & 95980.4 & 95904.2 & 94629.1 & 1.01347 & 1.00079 \tabularnewline
47 & 92043.7 & 92195.4 & 95300.4 & 0.967418 & 0.998355 \tabularnewline
48 & 100079.2 & 99842.9 & 95862 & 1.04153 & 1.00237 \tabularnewline
49 & 94384.8 & 94141.4 & 96300.4 & 0.977581 & 1.00259 \tabularnewline
50 & 97900.5 & 98074.7 & 96770.8 & 1.01347 & 0.998223 \tabularnewline
51 & 93630.8 & 93985.9 & 97151.2 & 0.967418 & 0.996222 \tabularnewline
52 & 102255.2 & 101572 & 97522.2 & 1.04153 & 1.00673 \tabularnewline
53 & 95251.8 & 95844.2 & 98042.3 & 0.977581 & 0.993819 \tabularnewline
54 & 100001.8 & 99882.9 & 98555 & 1.01347 & 1.00119 \tabularnewline
55 & 95689.8 & 95855 & 99083.3 & 0.967418 & 0.998277 \tabularnewline
56 & 104298 & 103641 & 99508.5 & 1.04153 & 1.00634 \tabularnewline
57 & 97435.1 & 97652.2 & 99891.7 & 0.977581 & 0.997777 \tabularnewline
58 & 101220.2 & 101666 & 100315 & 1.01347 & 0.995612 \tabularnewline
59 & 97537 & NA & NA & 0.967418 & NA \tabularnewline
60 & 105834.9 & NA & NA & 1.04153 & NA \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=287089&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]62239.3[/C][C]NA[/C][C]NA[/C][C]0.977581[/C][C]NA[/C][/ROW]
[ROW][C]2[/C][C]64816.6[/C][C]NA[/C][C]NA[/C][C]1.01347[/C][C]NA[/C][/ROW]
[ROW][C]3[/C][C]62625.3[/C][C]62559.7[/C][C]64666.6[/C][C]0.967418[/C][C]1.00105[/C][/ROW]
[ROW][C]4[/C][C]67923[/C][C]67957.4[/C][C]65247.8[/C][C]1.04153[/C][C]0.999494[/C][/ROW]
[ROW][C]5[/C][C]64363.7[/C][C]64311.8[/C][C]65786.7[/C][C]0.977581[/C][C]1.00081[/C][/ROW]
[ROW][C]6[/C][C]67342[/C][C]67058[/C][C]66166.4[/C][C]1.01347[/C][C]1.00424[/C][/ROW]
[ROW][C]7[/C][C]64411.2[/C][C]64394.9[/C][C]66563.7[/C][C]0.967418[/C][C]1.00025[/C][/ROW]
[ROW][C]8[/C][C]69174.5[/C][C]69838.4[/C][C]67053.8[/C][C]1.04153[/C][C]0.990494[/C][/ROW]
[ROW][C]9[/C][C]66290.2[/C][C]66075.5[/C][C]67590.8[/C][C]0.977581[/C][C]1.00325[/C][/ROW]
[ROW][C]10[/C][C]69336.8[/C][C]69179.6[/C][C]68259.8[/C][C]1.01347[/C][C]1.00227[/C][/ROW]
[ROW][C]11[/C][C]66712.2[/C][C]66639.3[/C][C]68883.7[/C][C]0.967418[/C][C]1.00109[/C][/ROW]
[ROW][C]12[/C][C]72225.9[/C][C]72225.8[/C][C]69346[/C][C]1.04153[/C][C]1[/C][/ROW]
[ROW][C]13[/C][C]68229.5[/C][C]68213.6[/C][C]69777.9[/C][C]0.977581[/C][C]1.00023[/C][/ROW]
[ROW][C]14[/C][C]71096.3[/C][C]71223.9[/C][C]70277[/C][C]1.01347[/C][C]0.998209[/C][/ROW]
[ROW][C]15[/C][C]68407.9[/C][C]68696.5[/C][C]71010.1[/C][C]0.967418[/C][C]0.995799[/C][/ROW]
[ROW][C]16[/C][C]74522.4[/C][C]74941.5[/C][C]71953.5[/C][C]1.04153[/C][C]0.994408[/C][/ROW]
[ROW][C]17[/C][C]71798.4[/C][C]71350.3[/C][C]72986.6[/C][C]0.977581[/C][C]1.00628[/C][/ROW]
[ROW][C]18[/C][C]75074.3[/C][C]75053.6[/C][C]74055.8[/C][C]1.01347[/C][C]1.00028[/C][/ROW]
[ROW][C]19[/C][C]72694.6[/C][C]72523.7[/C][C]74966.2[/C][C]0.967418[/C][C]1.00236[/C][/ROW]
[ROW][C]20[/C][C]78789.4[/C][C]78892.3[/C][C]75746.8[/C][C]1.04153[/C][C]0.998695[/C][/ROW]
[ROW][C]21[/C][C]74814.5[/C][C]74777.6[/C][C]76492.6[/C][C]0.977581[/C][C]1.00049[/C][/ROW]
[ROW][C]22[/C][C]78303.2[/C][C]78352.8[/C][C]77311.1[/C][C]1.01347[/C][C]0.999367[/C][/ROW]
[ROW][C]23[/C][C]75431.6[/C][C]75738.7[/C][C]78289.5[/C][C]0.967418[/C][C]0.995945[/C][/ROW]
[ROW][C]24[/C][C]82600.7[/C][C]82566.6[/C][C]79274.6[/C][C]1.04153[/C][C]1.00041[/C][/ROW]
[ROW][C]25[/C][C]78830.5[/C][C]78465.9[/C][C]80265.4[/C][C]0.977581[/C][C]1.00465[/C][/ROW]
[ROW][C]26[/C][C]82168.1[/C][C]82403.2[/C][C]81307.6[/C][C]1.01347[/C][C]0.997147[/C][/ROW]
[ROW][C]27[/C][C]79493.2[/C][C]79737.6[/C][C]82423.1[/C][C]0.967418[/C][C]0.996935[/C][/ROW]
[ROW][C]28[/C][C]86876.6[/C][C]87080.5[/C][C]83608.5[/C][C]1.04153[/C][C]0.997659[/C][/ROW]
[ROW][C]29[/C][C]83478.5[/C][C]82835.6[/C][C]84735.3[/C][C]0.977581[/C][C]1.00776[/C][/ROW]
[ROW][C]30[/C][C]87003.2[/C][C]86918[/C][C]85762.4[/C][C]1.01347[/C][C]1.00098[/C][/ROW]
[ROW][C]31[/C][C]83672.7[/C][C]83815.5[/C][C]86638.3[/C][C]0.967418[/C][C]0.998296[/C][/ROW]
[ROW][C]32[/C][C]90914.2[/C][C]91088.1[/C][C]87456.3[/C][C]1.04153[/C][C]0.998091[/C][/ROW]
[ROW][C]33[/C][C]86448[/C][C]86292.7[/C][C]88271.7[/C][C]0.977581[/C][C]1.0018[/C][/ROW]
[ROW][C]34[/C][C]90577.7[/C][C]89898.5[/C][C]88703.3[/C][C]1.01347[/C][C]1.00756[/C][/ROW]
[ROW][C]35[/C][C]86621.1[/C][C]85611.5[/C][C]88494.8[/C][C]0.967418[/C][C]1.01179[/C][/ROW]
[ROW][C]36[/C][C]91418.5[/C][C]91509.3[/C][C]87860.7[/C][C]1.04153[/C][C]0.999008[/C][/ROW]
[ROW][C]37[/C][C]84275.4[/C][C]85356.7[/C][C]87314.3[/C][C]0.977581[/C][C]0.987331[/C][/ROW]
[ROW][C]38[/C][C]87677.9[/C][C]88454[/C][C]87278[/C][C]1.01347[/C][C]0.991226[/C][/ROW]
[ROW][C]39[/C][C]85149.6[/C][C]84920.2[/C][C]87780.2[/C][C]0.967418[/C][C]1.0027[/C][/ROW]
[ROW][C]40[/C][C]92600[/C][C]92395.6[/C][C]88711.7[/C][C]1.04153[/C][C]1.00221[/C][/ROW]
[ROW][C]41[/C][C]87111.3[/C][C]87764.7[/C][C]89777.5[/C][C]0.977581[/C][C]0.992555[/C][/ROW]
[ROW][C]42[/C][C]92293.9[/C][C]92075.7[/C][C]90851.5[/C][C]1.01347[/C][C]1.00237[/C][/ROW]
[ROW][C]43[/C][C]89060[/C][C]89026[/C][C]92024.3[/C][C]0.967418[/C][C]1.00038[/C][/ROW]
[ROW][C]44[/C][C]97281.6[/C][C]96937.7[/C][C]93072.7[/C][C]1.04153[/C][C]1.00355[/C][/ROW]
[ROW][C]45[/C][C]91812[/C][C]91801.1[/C][C]93906.5[/C][C]0.977581[/C][C]1.00012[/C][/ROW]
[ROW][C]46[/C][C]95980.4[/C][C]95904.2[/C][C]94629.1[/C][C]1.01347[/C][C]1.00079[/C][/ROW]
[ROW][C]47[/C][C]92043.7[/C][C]92195.4[/C][C]95300.4[/C][C]0.967418[/C][C]0.998355[/C][/ROW]
[ROW][C]48[/C][C]100079.2[/C][C]99842.9[/C][C]95862[/C][C]1.04153[/C][C]1.00237[/C][/ROW]
[ROW][C]49[/C][C]94384.8[/C][C]94141.4[/C][C]96300.4[/C][C]0.977581[/C][C]1.00259[/C][/ROW]
[ROW][C]50[/C][C]97900.5[/C][C]98074.7[/C][C]96770.8[/C][C]1.01347[/C][C]0.998223[/C][/ROW]
[ROW][C]51[/C][C]93630.8[/C][C]93985.9[/C][C]97151.2[/C][C]0.967418[/C][C]0.996222[/C][/ROW]
[ROW][C]52[/C][C]102255.2[/C][C]101572[/C][C]97522.2[/C][C]1.04153[/C][C]1.00673[/C][/ROW]
[ROW][C]53[/C][C]95251.8[/C][C]95844.2[/C][C]98042.3[/C][C]0.977581[/C][C]0.993819[/C][/ROW]
[ROW][C]54[/C][C]100001.8[/C][C]99882.9[/C][C]98555[/C][C]1.01347[/C][C]1.00119[/C][/ROW]
[ROW][C]55[/C][C]95689.8[/C][C]95855[/C][C]99083.3[/C][C]0.967418[/C][C]0.998277[/C][/ROW]
[ROW][C]56[/C][C]104298[/C][C]103641[/C][C]99508.5[/C][C]1.04153[/C][C]1.00634[/C][/ROW]
[ROW][C]57[/C][C]97435.1[/C][C]97652.2[/C][C]99891.7[/C][C]0.977581[/C][C]0.997777[/C][/ROW]
[ROW][C]58[/C][C]101220.2[/C][C]101666[/C][C]100315[/C][C]1.01347[/C][C]0.995612[/C][/ROW]
[ROW][C]59[/C][C]97537[/C][C]NA[/C][C]NA[/C][C]0.967418[/C][C]NA[/C][/ROW]
[ROW][C]60[/C][C]105834.9[/C][C]NA[/C][C]NA[/C][C]1.04153[/C][C]NA[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=287089&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=287089&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
162239.3NANA0.977581NA
264816.6NANA1.01347NA
362625.362559.764666.60.9674181.00105
46792367957.465247.81.041530.999494
564363.764311.865786.70.9775811.00081
6673426705866166.41.013471.00424
764411.264394.966563.70.9674181.00025
869174.569838.467053.81.041530.990494
966290.266075.567590.80.9775811.00325
1069336.869179.668259.81.013471.00227
1166712.266639.368883.70.9674181.00109
1272225.972225.8693461.041531
1368229.568213.669777.90.9775811.00023
1471096.371223.9702771.013470.998209
1568407.968696.571010.10.9674180.995799
1674522.474941.571953.51.041530.994408
1771798.471350.372986.60.9775811.00628
1875074.375053.674055.81.013471.00028
1972694.672523.774966.20.9674181.00236
2078789.478892.375746.81.041530.998695
2174814.574777.676492.60.9775811.00049
2278303.278352.877311.11.013470.999367
2375431.675738.778289.50.9674180.995945
2482600.782566.679274.61.041531.00041
2578830.578465.980265.40.9775811.00465
2682168.182403.281307.61.013470.997147
2779493.279737.682423.10.9674180.996935
2886876.687080.583608.51.041530.997659
2983478.582835.684735.30.9775811.00776
3087003.28691885762.41.013471.00098
3183672.783815.586638.30.9674180.998296
3290914.291088.187456.31.041530.998091
338644886292.788271.70.9775811.0018
3490577.789898.588703.31.013471.00756
3586621.185611.588494.80.9674181.01179
3691418.591509.387860.71.041530.999008
3784275.485356.787314.30.9775810.987331
3887677.988454872781.013470.991226
3985149.684920.287780.20.9674181.0027
409260092395.688711.71.041531.00221
4187111.387764.789777.50.9775810.992555
4292293.992075.790851.51.013471.00237
43890608902692024.30.9674181.00038
4497281.696937.793072.71.041531.00355
459181291801.193906.50.9775811.00012
4695980.495904.294629.11.013471.00079
4792043.792195.495300.40.9674180.998355
48100079.299842.9958621.041531.00237
4994384.894141.496300.40.9775811.00259
5097900.598074.796770.81.013470.998223
5193630.893985.997151.20.9674180.996222
52102255.210157297522.21.041531.00673
5395251.895844.298042.30.9775810.993819
54100001.899882.9985551.013471.00119
5595689.89585599083.30.9674180.998277
5610429810364199508.51.041531.00634
5797435.197652.299891.70.9775810.997777
58101220.21016661003151.013470.995612
5997537NANA0.967418NA
60105834.9NANA1.04153NA



Parameters (Session):
par1 = multiplicative ; par2 = 4 ;
Parameters (R input):
par1 = multiplicative ; par2 = 4 ;
R code (references can be found in the software module):
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')