Free Statistics

of Irreproducible Research!

Author's title

Author*Unverified author*
R Software Modulerwasp_decompose.wasp
Title produced by softwareClassical Decomposition
Date of computationThu, 26 Nov 2015 13:53: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/Nov/26/t1448546130ctysiiklxedwrma.htm/, Retrieved Tue, 14 May 2024 12:37:02 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=284224, Retrieved Tue, 14 May 2024 12:37:02 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact96
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-       [Classical Decomposition] [] [2015-11-26 13:53: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'Gwilym Jenkins' @ jenkins.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 & 'Gwilym Jenkins' @ jenkins.wessa.net \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=284224&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]'Gwilym Jenkins' @ jenkins.wessa.net[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=284224&T=0

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=284224&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'Gwilym Jenkins' @ jenkins.wessa.net







Classical Decomposition by Moving Averages
tObservationsFitTrendSeasonalRandom
162239.3NANA-2358.66NA
264816.6NANA230.303NA
362625.3NANA-3500.32NA
467923NANA3236.31NA
564363.7NANA-2070.45NA
667342NANA1441.67NA
764411.264410.666704.6-2294.050.601389
869174.570822.767215.93606.78-1648.17
966290.266458.967718.5-1259.57-168.719
1069336.870002.668234.41768.18-665.785
1166712.266560.668819.2-2258.58151.614
1272225.972909.569451.13458.39-683.612
1368229.567759.870118.4-2358.66469.717
1471096.371094.570864.2230.3031.79306
1568407.968119.771620-3500.32288.214
1674522.475585.172348.83236.31-1062.7
1771798.471015.273085.7-2070.45783.157
1875074.375322.973881.31441.67-248.65
1972694.672461.274755.3-2294.05233.376
2078789.479265.175658.33606.78-475.684
2174814.575321.976581.5-1259.57-507.449
2278303.279326.377558.21768.18-1023.14
2375431.67630178559.6-2258.58-869.419
2482600.783001.779543.33458.39-400.995
2578830.578139.180497.8-2358.66691.396
2682168.181690.781460.4230.303477.414
2779493.27895082450.3-3500.32543.206
2886876.686682.883446.53236.31193.809
2983478.582353.784424.1-2070.451124.8
3087003.286699.485257.81441.67303.75
3183672.78355885852.1-2294.05114.689
3290914.289915.386308.53606.78998.916
338644885514.286773.8-1259.57933.806
3490577.789016.187247.91768.181561.6
3586621.185379.287637.8-2258.581241.91
3691418.59146888009.63458.39-49.4705
3784275.486095.888454.5-2358.66-1820.44
3887677.989174.688944.3230.303-1496.68
3985149.685932.889433.1-3500.32-783.165
40926009311889881.73236.31-518.008
4187111.388262.390332.7-2070.45-1151
4292293.992361.290919.61441.67-67.3205
438906089407.691701.6-2294.05-347.59
4497281.696155.692548.83606.781126.02
459181292068.693328.1-1259.57-256.561
4695980.49585294083.81768.18128.407
4792043.792566.794825.3-2258.58-523.028
48100079.29894495485.73458.391135.15
4994384.893724.496083.1-2358.66660.4
5097900.59688296651.6230.3031018.55
5193630.89367897178.3-3500.32-47.1778
52102255.210086797630.93236.311387.97
5395251.896007.798078.1-2070.45-755.881
54100001.899988.598546.81441.6713.2962
5595689.8NANA-2294.05NA
56104298NANA3606.78NA
5797435.1NANA-1259.57NA
58101220.2NANA1768.18NA
5997537NANA-2258.58NA
60105834.9NANA3458.39NA

\begin{tabular}{lllllllll}
\hline
Classical Decomposition by Moving Averages \tabularnewline
t & Observations & Fit & Trend & Seasonal & Random \tabularnewline
1 & 62239.3 & NA & NA & -2358.66 & NA \tabularnewline
2 & 64816.6 & NA & NA & 230.303 & NA \tabularnewline
3 & 62625.3 & NA & NA & -3500.32 & NA \tabularnewline
4 & 67923 & NA & NA & 3236.31 & NA \tabularnewline
5 & 64363.7 & NA & NA & -2070.45 & NA \tabularnewline
6 & 67342 & NA & NA & 1441.67 & NA \tabularnewline
7 & 64411.2 & 64410.6 & 66704.6 & -2294.05 & 0.601389 \tabularnewline
8 & 69174.5 & 70822.7 & 67215.9 & 3606.78 & -1648.17 \tabularnewline
9 & 66290.2 & 66458.9 & 67718.5 & -1259.57 & -168.719 \tabularnewline
10 & 69336.8 & 70002.6 & 68234.4 & 1768.18 & -665.785 \tabularnewline
11 & 66712.2 & 66560.6 & 68819.2 & -2258.58 & 151.614 \tabularnewline
12 & 72225.9 & 72909.5 & 69451.1 & 3458.39 & -683.612 \tabularnewline
13 & 68229.5 & 67759.8 & 70118.4 & -2358.66 & 469.717 \tabularnewline
14 & 71096.3 & 71094.5 & 70864.2 & 230.303 & 1.79306 \tabularnewline
15 & 68407.9 & 68119.7 & 71620 & -3500.32 & 288.214 \tabularnewline
16 & 74522.4 & 75585.1 & 72348.8 & 3236.31 & -1062.7 \tabularnewline
17 & 71798.4 & 71015.2 & 73085.7 & -2070.45 & 783.157 \tabularnewline
18 & 75074.3 & 75322.9 & 73881.3 & 1441.67 & -248.65 \tabularnewline
19 & 72694.6 & 72461.2 & 74755.3 & -2294.05 & 233.376 \tabularnewline
20 & 78789.4 & 79265.1 & 75658.3 & 3606.78 & -475.684 \tabularnewline
21 & 74814.5 & 75321.9 & 76581.5 & -1259.57 & -507.449 \tabularnewline
22 & 78303.2 & 79326.3 & 77558.2 & 1768.18 & -1023.14 \tabularnewline
23 & 75431.6 & 76301 & 78559.6 & -2258.58 & -869.419 \tabularnewline
24 & 82600.7 & 83001.7 & 79543.3 & 3458.39 & -400.995 \tabularnewline
25 & 78830.5 & 78139.1 & 80497.8 & -2358.66 & 691.396 \tabularnewline
26 & 82168.1 & 81690.7 & 81460.4 & 230.303 & 477.414 \tabularnewline
27 & 79493.2 & 78950 & 82450.3 & -3500.32 & 543.206 \tabularnewline
28 & 86876.6 & 86682.8 & 83446.5 & 3236.31 & 193.809 \tabularnewline
29 & 83478.5 & 82353.7 & 84424.1 & -2070.45 & 1124.8 \tabularnewline
30 & 87003.2 & 86699.4 & 85257.8 & 1441.67 & 303.75 \tabularnewline
31 & 83672.7 & 83558 & 85852.1 & -2294.05 & 114.689 \tabularnewline
32 & 90914.2 & 89915.3 & 86308.5 & 3606.78 & 998.916 \tabularnewline
33 & 86448 & 85514.2 & 86773.8 & -1259.57 & 933.806 \tabularnewline
34 & 90577.7 & 89016.1 & 87247.9 & 1768.18 & 1561.6 \tabularnewline
35 & 86621.1 & 85379.2 & 87637.8 & -2258.58 & 1241.91 \tabularnewline
36 & 91418.5 & 91468 & 88009.6 & 3458.39 & -49.4705 \tabularnewline
37 & 84275.4 & 86095.8 & 88454.5 & -2358.66 & -1820.44 \tabularnewline
38 & 87677.9 & 89174.6 & 88944.3 & 230.303 & -1496.68 \tabularnewline
39 & 85149.6 & 85932.8 & 89433.1 & -3500.32 & -783.165 \tabularnewline
40 & 92600 & 93118 & 89881.7 & 3236.31 & -518.008 \tabularnewline
41 & 87111.3 & 88262.3 & 90332.7 & -2070.45 & -1151 \tabularnewline
42 & 92293.9 & 92361.2 & 90919.6 & 1441.67 & -67.3205 \tabularnewline
43 & 89060 & 89407.6 & 91701.6 & -2294.05 & -347.59 \tabularnewline
44 & 97281.6 & 96155.6 & 92548.8 & 3606.78 & 1126.02 \tabularnewline
45 & 91812 & 92068.6 & 93328.1 & -1259.57 & -256.561 \tabularnewline
46 & 95980.4 & 95852 & 94083.8 & 1768.18 & 128.407 \tabularnewline
47 & 92043.7 & 92566.7 & 94825.3 & -2258.58 & -523.028 \tabularnewline
48 & 100079.2 & 98944 & 95485.7 & 3458.39 & 1135.15 \tabularnewline
49 & 94384.8 & 93724.4 & 96083.1 & -2358.66 & 660.4 \tabularnewline
50 & 97900.5 & 96882 & 96651.6 & 230.303 & 1018.55 \tabularnewline
51 & 93630.8 & 93678 & 97178.3 & -3500.32 & -47.1778 \tabularnewline
52 & 102255.2 & 100867 & 97630.9 & 3236.31 & 1387.97 \tabularnewline
53 & 95251.8 & 96007.7 & 98078.1 & -2070.45 & -755.881 \tabularnewline
54 & 100001.8 & 99988.5 & 98546.8 & 1441.67 & 13.2962 \tabularnewline
55 & 95689.8 & NA & NA & -2294.05 & NA \tabularnewline
56 & 104298 & NA & NA & 3606.78 & NA \tabularnewline
57 & 97435.1 & NA & NA & -1259.57 & NA \tabularnewline
58 & 101220.2 & NA & NA & 1768.18 & NA \tabularnewline
59 & 97537 & NA & NA & -2258.58 & NA \tabularnewline
60 & 105834.9 & NA & NA & 3458.39 & NA \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=284224&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]-2358.66[/C][C]NA[/C][/ROW]
[ROW][C]2[/C][C]64816.6[/C][C]NA[/C][C]NA[/C][C]230.303[/C][C]NA[/C][/ROW]
[ROW][C]3[/C][C]62625.3[/C][C]NA[/C][C]NA[/C][C]-3500.32[/C][C]NA[/C][/ROW]
[ROW][C]4[/C][C]67923[/C][C]NA[/C][C]NA[/C][C]3236.31[/C][C]NA[/C][/ROW]
[ROW][C]5[/C][C]64363.7[/C][C]NA[/C][C]NA[/C][C]-2070.45[/C][C]NA[/C][/ROW]
[ROW][C]6[/C][C]67342[/C][C]NA[/C][C]NA[/C][C]1441.67[/C][C]NA[/C][/ROW]
[ROW][C]7[/C][C]64411.2[/C][C]64410.6[/C][C]66704.6[/C][C]-2294.05[/C][C]0.601389[/C][/ROW]
[ROW][C]8[/C][C]69174.5[/C][C]70822.7[/C][C]67215.9[/C][C]3606.78[/C][C]-1648.17[/C][/ROW]
[ROW][C]9[/C][C]66290.2[/C][C]66458.9[/C][C]67718.5[/C][C]-1259.57[/C][C]-168.719[/C][/ROW]
[ROW][C]10[/C][C]69336.8[/C][C]70002.6[/C][C]68234.4[/C][C]1768.18[/C][C]-665.785[/C][/ROW]
[ROW][C]11[/C][C]66712.2[/C][C]66560.6[/C][C]68819.2[/C][C]-2258.58[/C][C]151.614[/C][/ROW]
[ROW][C]12[/C][C]72225.9[/C][C]72909.5[/C][C]69451.1[/C][C]3458.39[/C][C]-683.612[/C][/ROW]
[ROW][C]13[/C][C]68229.5[/C][C]67759.8[/C][C]70118.4[/C][C]-2358.66[/C][C]469.717[/C][/ROW]
[ROW][C]14[/C][C]71096.3[/C][C]71094.5[/C][C]70864.2[/C][C]230.303[/C][C]1.79306[/C][/ROW]
[ROW][C]15[/C][C]68407.9[/C][C]68119.7[/C][C]71620[/C][C]-3500.32[/C][C]288.214[/C][/ROW]
[ROW][C]16[/C][C]74522.4[/C][C]75585.1[/C][C]72348.8[/C][C]3236.31[/C][C]-1062.7[/C][/ROW]
[ROW][C]17[/C][C]71798.4[/C][C]71015.2[/C][C]73085.7[/C][C]-2070.45[/C][C]783.157[/C][/ROW]
[ROW][C]18[/C][C]75074.3[/C][C]75322.9[/C][C]73881.3[/C][C]1441.67[/C][C]-248.65[/C][/ROW]
[ROW][C]19[/C][C]72694.6[/C][C]72461.2[/C][C]74755.3[/C][C]-2294.05[/C][C]233.376[/C][/ROW]
[ROW][C]20[/C][C]78789.4[/C][C]79265.1[/C][C]75658.3[/C][C]3606.78[/C][C]-475.684[/C][/ROW]
[ROW][C]21[/C][C]74814.5[/C][C]75321.9[/C][C]76581.5[/C][C]-1259.57[/C][C]-507.449[/C][/ROW]
[ROW][C]22[/C][C]78303.2[/C][C]79326.3[/C][C]77558.2[/C][C]1768.18[/C][C]-1023.14[/C][/ROW]
[ROW][C]23[/C][C]75431.6[/C][C]76301[/C][C]78559.6[/C][C]-2258.58[/C][C]-869.419[/C][/ROW]
[ROW][C]24[/C][C]82600.7[/C][C]83001.7[/C][C]79543.3[/C][C]3458.39[/C][C]-400.995[/C][/ROW]
[ROW][C]25[/C][C]78830.5[/C][C]78139.1[/C][C]80497.8[/C][C]-2358.66[/C][C]691.396[/C][/ROW]
[ROW][C]26[/C][C]82168.1[/C][C]81690.7[/C][C]81460.4[/C][C]230.303[/C][C]477.414[/C][/ROW]
[ROW][C]27[/C][C]79493.2[/C][C]78950[/C][C]82450.3[/C][C]-3500.32[/C][C]543.206[/C][/ROW]
[ROW][C]28[/C][C]86876.6[/C][C]86682.8[/C][C]83446.5[/C][C]3236.31[/C][C]193.809[/C][/ROW]
[ROW][C]29[/C][C]83478.5[/C][C]82353.7[/C][C]84424.1[/C][C]-2070.45[/C][C]1124.8[/C][/ROW]
[ROW][C]30[/C][C]87003.2[/C][C]86699.4[/C][C]85257.8[/C][C]1441.67[/C][C]303.75[/C][/ROW]
[ROW][C]31[/C][C]83672.7[/C][C]83558[/C][C]85852.1[/C][C]-2294.05[/C][C]114.689[/C][/ROW]
[ROW][C]32[/C][C]90914.2[/C][C]89915.3[/C][C]86308.5[/C][C]3606.78[/C][C]998.916[/C][/ROW]
[ROW][C]33[/C][C]86448[/C][C]85514.2[/C][C]86773.8[/C][C]-1259.57[/C][C]933.806[/C][/ROW]
[ROW][C]34[/C][C]90577.7[/C][C]89016.1[/C][C]87247.9[/C][C]1768.18[/C][C]1561.6[/C][/ROW]
[ROW][C]35[/C][C]86621.1[/C][C]85379.2[/C][C]87637.8[/C][C]-2258.58[/C][C]1241.91[/C][/ROW]
[ROW][C]36[/C][C]91418.5[/C][C]91468[/C][C]88009.6[/C][C]3458.39[/C][C]-49.4705[/C][/ROW]
[ROW][C]37[/C][C]84275.4[/C][C]86095.8[/C][C]88454.5[/C][C]-2358.66[/C][C]-1820.44[/C][/ROW]
[ROW][C]38[/C][C]87677.9[/C][C]89174.6[/C][C]88944.3[/C][C]230.303[/C][C]-1496.68[/C][/ROW]
[ROW][C]39[/C][C]85149.6[/C][C]85932.8[/C][C]89433.1[/C][C]-3500.32[/C][C]-783.165[/C][/ROW]
[ROW][C]40[/C][C]92600[/C][C]93118[/C][C]89881.7[/C][C]3236.31[/C][C]-518.008[/C][/ROW]
[ROW][C]41[/C][C]87111.3[/C][C]88262.3[/C][C]90332.7[/C][C]-2070.45[/C][C]-1151[/C][/ROW]
[ROW][C]42[/C][C]92293.9[/C][C]92361.2[/C][C]90919.6[/C][C]1441.67[/C][C]-67.3205[/C][/ROW]
[ROW][C]43[/C][C]89060[/C][C]89407.6[/C][C]91701.6[/C][C]-2294.05[/C][C]-347.59[/C][/ROW]
[ROW][C]44[/C][C]97281.6[/C][C]96155.6[/C][C]92548.8[/C][C]3606.78[/C][C]1126.02[/C][/ROW]
[ROW][C]45[/C][C]91812[/C][C]92068.6[/C][C]93328.1[/C][C]-1259.57[/C][C]-256.561[/C][/ROW]
[ROW][C]46[/C][C]95980.4[/C][C]95852[/C][C]94083.8[/C][C]1768.18[/C][C]128.407[/C][/ROW]
[ROW][C]47[/C][C]92043.7[/C][C]92566.7[/C][C]94825.3[/C][C]-2258.58[/C][C]-523.028[/C][/ROW]
[ROW][C]48[/C][C]100079.2[/C][C]98944[/C][C]95485.7[/C][C]3458.39[/C][C]1135.15[/C][/ROW]
[ROW][C]49[/C][C]94384.8[/C][C]93724.4[/C][C]96083.1[/C][C]-2358.66[/C][C]660.4[/C][/ROW]
[ROW][C]50[/C][C]97900.5[/C][C]96882[/C][C]96651.6[/C][C]230.303[/C][C]1018.55[/C][/ROW]
[ROW][C]51[/C][C]93630.8[/C][C]93678[/C][C]97178.3[/C][C]-3500.32[/C][C]-47.1778[/C][/ROW]
[ROW][C]52[/C][C]102255.2[/C][C]100867[/C][C]97630.9[/C][C]3236.31[/C][C]1387.97[/C][/ROW]
[ROW][C]53[/C][C]95251.8[/C][C]96007.7[/C][C]98078.1[/C][C]-2070.45[/C][C]-755.881[/C][/ROW]
[ROW][C]54[/C][C]100001.8[/C][C]99988.5[/C][C]98546.8[/C][C]1441.67[/C][C]13.2962[/C][/ROW]
[ROW][C]55[/C][C]95689.8[/C][C]NA[/C][C]NA[/C][C]-2294.05[/C][C]NA[/C][/ROW]
[ROW][C]56[/C][C]104298[/C][C]NA[/C][C]NA[/C][C]3606.78[/C][C]NA[/C][/ROW]
[ROW][C]57[/C][C]97435.1[/C][C]NA[/C][C]NA[/C][C]-1259.57[/C][C]NA[/C][/ROW]
[ROW][C]58[/C][C]101220.2[/C][C]NA[/C][C]NA[/C][C]1768.18[/C][C]NA[/C][/ROW]
[ROW][C]59[/C][C]97537[/C][C]NA[/C][C]NA[/C][C]-2258.58[/C][C]NA[/C][/ROW]
[ROW][C]60[/C][C]105834.9[/C][C]NA[/C][C]NA[/C][C]3458.39[/C][C]NA[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=284224&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=284224&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.3NANA-2358.66NA
264816.6NANA230.303NA
362625.3NANA-3500.32NA
467923NANA3236.31NA
564363.7NANA-2070.45NA
667342NANA1441.67NA
764411.264410.666704.6-2294.050.601389
869174.570822.767215.93606.78-1648.17
966290.266458.967718.5-1259.57-168.719
1069336.870002.668234.41768.18-665.785
1166712.266560.668819.2-2258.58151.614
1272225.972909.569451.13458.39-683.612
1368229.567759.870118.4-2358.66469.717
1471096.371094.570864.2230.3031.79306
1568407.968119.771620-3500.32288.214
1674522.475585.172348.83236.31-1062.7
1771798.471015.273085.7-2070.45783.157
1875074.375322.973881.31441.67-248.65
1972694.672461.274755.3-2294.05233.376
2078789.479265.175658.33606.78-475.684
2174814.575321.976581.5-1259.57-507.449
2278303.279326.377558.21768.18-1023.14
2375431.67630178559.6-2258.58-869.419
2482600.783001.779543.33458.39-400.995
2578830.578139.180497.8-2358.66691.396
2682168.181690.781460.4230.303477.414
2779493.27895082450.3-3500.32543.206
2886876.686682.883446.53236.31193.809
2983478.582353.784424.1-2070.451124.8
3087003.286699.485257.81441.67303.75
3183672.78355885852.1-2294.05114.689
3290914.289915.386308.53606.78998.916
338644885514.286773.8-1259.57933.806
3490577.789016.187247.91768.181561.6
3586621.185379.287637.8-2258.581241.91
3691418.59146888009.63458.39-49.4705
3784275.486095.888454.5-2358.66-1820.44
3887677.989174.688944.3230.303-1496.68
3985149.685932.889433.1-3500.32-783.165
40926009311889881.73236.31-518.008
4187111.388262.390332.7-2070.45-1151
4292293.992361.290919.61441.67-67.3205
438906089407.691701.6-2294.05-347.59
4497281.696155.692548.83606.781126.02
459181292068.693328.1-1259.57-256.561
4695980.49585294083.81768.18128.407
4792043.792566.794825.3-2258.58-523.028
48100079.29894495485.73458.391135.15
4994384.893724.496083.1-2358.66660.4
5097900.59688296651.6230.3031018.55
5193630.89367897178.3-3500.32-47.1778
52102255.210086797630.93236.311387.97
5395251.896007.798078.1-2070.45-755.881
54100001.899988.598546.81441.6713.2962
5595689.8NANA-2294.05NA
56104298NANA3606.78NA
5797435.1NANA-1259.57NA
58101220.2NANA1768.18NA
5997537NANA-2258.58NA
60105834.9NANA3458.39NA



Parameters (Session):
par1 = additive ; par2 = 12 ;
Parameters (R input):
par1 = additive ; par2 = 12 ;
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')