Free Statistics

of Irreproducible Research!

Author's title

Author*Unverified author*
R Software Modulerwasp_decompose.wasp
Title produced by softwareClassical Decomposition
Date of computationWed, 31 Dec 2014 12:45:30 +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/2014/Dec/31/t1420029941gyc7ayapc93k33b.htm/, Retrieved Thu, 16 May 2024 13:15:18 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=271809, Retrieved Thu, 16 May 2024 13:15:18 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact117
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-       [Classical Decomposition] [] [2014-12-31 12:45:30] [517bf63cbd197750110a40d4d2cd39d6] [Current]
Feedback Forum

Post a new message
Dataseries X:
2745
1395
1550
1378
1318
1395
1483
1049
783
1208
857
48
2681
1249
1705
1472
1413
1651
1525
1095
900
1255
984
101
2655
1309
1844
1825
1629
1718
1595
1539
1513
1475
1184
211
3387
1546
1955
1899
2415
3439
1148
1127
1186
1009
817
236
2762
1035
1500
1519
1539
1452
1409
1288
987
1542
1248
1400
4190
2185
1097
1215
1236
1374
1548
1178
902




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

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=271809&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'Sir Maurice George Kendall' @ kendall.wessa.net







Classical Decomposition by Moving Averages
tObservationsFitTrendSeasonalRandom
12745NANA1621.19NA
21395NANA-50.63NA
31550NANA102.703NA
41378NANA182.466NA
51318NANA245.164NA
61395NANA543.007NA
714831196.71264.75-68.0467286.297
81049956.9281256-299.07292.0717
9783808.6951256.37-447.68-25.695
1012081048.21266.75-218.547159.797
11857778.321274.62-496.30578.68
1248175.0031289.25-1114.25-127.003
1326812922.851301.671621.19-241.853
1412491254.71305.33-50.63-5.7033
1517051414.831312.12102.703290.172
1614721501.421318.96182.466-29.4241
1714131571.371326.21245.164-158.372
1816511876.721333.71543.007-225.716
1915251266.791334.83-68.0467258.213
2010951037.181336.25-299.07257.8217
21900896.8621344.54-447.683.13837
2212551146.491365.04-218.547108.505
23984892.4451388.75-496.30591.555
24101286.2951400.54-1114.25-185.295
2526553027.441406.251621.19-372.437
2613091377.041427.67-50.63-68.0366
2718441574.411471.71102.703269.588
2818251688.881506.42182.466136.118
2916291769.081523.92245.164-140.08
3017182079.841536.83543.007-361.841
3115951503.871571.92-68.046791.13
3215391313.221612.29-299.072225.78
3315131179.111626.79-447.68333.888
3414751415.951634.5-218.54759.0467
3511841174.031670.33-496.3059.9717
36211660.5451774.79-1114.25-449.545
3733873449.061827.871621.19-62.0616
3815461741.451792.08-50.63-195.453
3919551863.991761.29102.70391.005
4018991910.721728.25182.466-11.7158
4124151938.711693.54245.164476.295
4234392222.31679.29543.0071216.7
4311481586.241654.29-68.0467-438.245
4411271307.891606.96-299.072-180.887
4511861119.031566.71-447.6866.9717
4610091313.371531.92-218.547-304.37
47817983.2781479.58-496.305-166.278
48236246.0451360.29-1114.25-10.045
4927622909.561288.371621.19-147.562
5010351255.331305.96-50.63-220.328
5115001407.081304.38102.70392.9217
5215191500.761318.29182.46618.2425
5315391603.621358.46245.164-64.622
5414521967.921424.92543.007-515.924
5514091464.871532.92-68.0467-55.87
5612881341.261640.33-299.072-53.2616
579871223.781671.46-447.68-236.778
5815421423.451642-218.547118.547
5912481120.41616.71-496.305127.597
601400486.5871600.83-1114.25913.413
6141903224.561603.371621.19965.438
6221851553.951604.58-50.63631.047
6310971699.161596.46102.703-602.162
641215NANA182.466NA
651236NANA245.164NA
661374NANA543.007NA
671548NANA-68.0467NA
681178NANA-299.072NA
69902NANA-447.68NA

\begin{tabular}{lllllllll}
\hline
Classical Decomposition by Moving Averages \tabularnewline
t & Observations & Fit & Trend & Seasonal & Random \tabularnewline
1 & 2745 & NA & NA & 1621.19 & NA \tabularnewline
2 & 1395 & NA & NA & -50.63 & NA \tabularnewline
3 & 1550 & NA & NA & 102.703 & NA \tabularnewline
4 & 1378 & NA & NA & 182.466 & NA \tabularnewline
5 & 1318 & NA & NA & 245.164 & NA \tabularnewline
6 & 1395 & NA & NA & 543.007 & NA \tabularnewline
7 & 1483 & 1196.7 & 1264.75 & -68.0467 & 286.297 \tabularnewline
8 & 1049 & 956.928 & 1256 & -299.072 & 92.0717 \tabularnewline
9 & 783 & 808.695 & 1256.37 & -447.68 & -25.695 \tabularnewline
10 & 1208 & 1048.2 & 1266.75 & -218.547 & 159.797 \tabularnewline
11 & 857 & 778.32 & 1274.62 & -496.305 & 78.68 \tabularnewline
12 & 48 & 175.003 & 1289.25 & -1114.25 & -127.003 \tabularnewline
13 & 2681 & 2922.85 & 1301.67 & 1621.19 & -241.853 \tabularnewline
14 & 1249 & 1254.7 & 1305.33 & -50.63 & -5.7033 \tabularnewline
15 & 1705 & 1414.83 & 1312.12 & 102.703 & 290.172 \tabularnewline
16 & 1472 & 1501.42 & 1318.96 & 182.466 & -29.4241 \tabularnewline
17 & 1413 & 1571.37 & 1326.21 & 245.164 & -158.372 \tabularnewline
18 & 1651 & 1876.72 & 1333.71 & 543.007 & -225.716 \tabularnewline
19 & 1525 & 1266.79 & 1334.83 & -68.0467 & 258.213 \tabularnewline
20 & 1095 & 1037.18 & 1336.25 & -299.072 & 57.8217 \tabularnewline
21 & 900 & 896.862 & 1344.54 & -447.68 & 3.13837 \tabularnewline
22 & 1255 & 1146.49 & 1365.04 & -218.547 & 108.505 \tabularnewline
23 & 984 & 892.445 & 1388.75 & -496.305 & 91.555 \tabularnewline
24 & 101 & 286.295 & 1400.54 & -1114.25 & -185.295 \tabularnewline
25 & 2655 & 3027.44 & 1406.25 & 1621.19 & -372.437 \tabularnewline
26 & 1309 & 1377.04 & 1427.67 & -50.63 & -68.0366 \tabularnewline
27 & 1844 & 1574.41 & 1471.71 & 102.703 & 269.588 \tabularnewline
28 & 1825 & 1688.88 & 1506.42 & 182.466 & 136.118 \tabularnewline
29 & 1629 & 1769.08 & 1523.92 & 245.164 & -140.08 \tabularnewline
30 & 1718 & 2079.84 & 1536.83 & 543.007 & -361.841 \tabularnewline
31 & 1595 & 1503.87 & 1571.92 & -68.0467 & 91.13 \tabularnewline
32 & 1539 & 1313.22 & 1612.29 & -299.072 & 225.78 \tabularnewline
33 & 1513 & 1179.11 & 1626.79 & -447.68 & 333.888 \tabularnewline
34 & 1475 & 1415.95 & 1634.5 & -218.547 & 59.0467 \tabularnewline
35 & 1184 & 1174.03 & 1670.33 & -496.305 & 9.9717 \tabularnewline
36 & 211 & 660.545 & 1774.79 & -1114.25 & -449.545 \tabularnewline
37 & 3387 & 3449.06 & 1827.87 & 1621.19 & -62.0616 \tabularnewline
38 & 1546 & 1741.45 & 1792.08 & -50.63 & -195.453 \tabularnewline
39 & 1955 & 1863.99 & 1761.29 & 102.703 & 91.005 \tabularnewline
40 & 1899 & 1910.72 & 1728.25 & 182.466 & -11.7158 \tabularnewline
41 & 2415 & 1938.71 & 1693.54 & 245.164 & 476.295 \tabularnewline
42 & 3439 & 2222.3 & 1679.29 & 543.007 & 1216.7 \tabularnewline
43 & 1148 & 1586.24 & 1654.29 & -68.0467 & -438.245 \tabularnewline
44 & 1127 & 1307.89 & 1606.96 & -299.072 & -180.887 \tabularnewline
45 & 1186 & 1119.03 & 1566.71 & -447.68 & 66.9717 \tabularnewline
46 & 1009 & 1313.37 & 1531.92 & -218.547 & -304.37 \tabularnewline
47 & 817 & 983.278 & 1479.58 & -496.305 & -166.278 \tabularnewline
48 & 236 & 246.045 & 1360.29 & -1114.25 & -10.045 \tabularnewline
49 & 2762 & 2909.56 & 1288.37 & 1621.19 & -147.562 \tabularnewline
50 & 1035 & 1255.33 & 1305.96 & -50.63 & -220.328 \tabularnewline
51 & 1500 & 1407.08 & 1304.38 & 102.703 & 92.9217 \tabularnewline
52 & 1519 & 1500.76 & 1318.29 & 182.466 & 18.2425 \tabularnewline
53 & 1539 & 1603.62 & 1358.46 & 245.164 & -64.622 \tabularnewline
54 & 1452 & 1967.92 & 1424.92 & 543.007 & -515.924 \tabularnewline
55 & 1409 & 1464.87 & 1532.92 & -68.0467 & -55.87 \tabularnewline
56 & 1288 & 1341.26 & 1640.33 & -299.072 & -53.2616 \tabularnewline
57 & 987 & 1223.78 & 1671.46 & -447.68 & -236.778 \tabularnewline
58 & 1542 & 1423.45 & 1642 & -218.547 & 118.547 \tabularnewline
59 & 1248 & 1120.4 & 1616.71 & -496.305 & 127.597 \tabularnewline
60 & 1400 & 486.587 & 1600.83 & -1114.25 & 913.413 \tabularnewline
61 & 4190 & 3224.56 & 1603.37 & 1621.19 & 965.438 \tabularnewline
62 & 2185 & 1553.95 & 1604.58 & -50.63 & 631.047 \tabularnewline
63 & 1097 & 1699.16 & 1596.46 & 102.703 & -602.162 \tabularnewline
64 & 1215 & NA & NA & 182.466 & NA \tabularnewline
65 & 1236 & NA & NA & 245.164 & NA \tabularnewline
66 & 1374 & NA & NA & 543.007 & NA \tabularnewline
67 & 1548 & NA & NA & -68.0467 & NA \tabularnewline
68 & 1178 & NA & NA & -299.072 & NA \tabularnewline
69 & 902 & NA & NA & -447.68 & NA \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=271809&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]2745[/C][C]NA[/C][C]NA[/C][C]1621.19[/C][C]NA[/C][/ROW]
[ROW][C]2[/C][C]1395[/C][C]NA[/C][C]NA[/C][C]-50.63[/C][C]NA[/C][/ROW]
[ROW][C]3[/C][C]1550[/C][C]NA[/C][C]NA[/C][C]102.703[/C][C]NA[/C][/ROW]
[ROW][C]4[/C][C]1378[/C][C]NA[/C][C]NA[/C][C]182.466[/C][C]NA[/C][/ROW]
[ROW][C]5[/C][C]1318[/C][C]NA[/C][C]NA[/C][C]245.164[/C][C]NA[/C][/ROW]
[ROW][C]6[/C][C]1395[/C][C]NA[/C][C]NA[/C][C]543.007[/C][C]NA[/C][/ROW]
[ROW][C]7[/C][C]1483[/C][C]1196.7[/C][C]1264.75[/C][C]-68.0467[/C][C]286.297[/C][/ROW]
[ROW][C]8[/C][C]1049[/C][C]956.928[/C][C]1256[/C][C]-299.072[/C][C]92.0717[/C][/ROW]
[ROW][C]9[/C][C]783[/C][C]808.695[/C][C]1256.37[/C][C]-447.68[/C][C]-25.695[/C][/ROW]
[ROW][C]10[/C][C]1208[/C][C]1048.2[/C][C]1266.75[/C][C]-218.547[/C][C]159.797[/C][/ROW]
[ROW][C]11[/C][C]857[/C][C]778.32[/C][C]1274.62[/C][C]-496.305[/C][C]78.68[/C][/ROW]
[ROW][C]12[/C][C]48[/C][C]175.003[/C][C]1289.25[/C][C]-1114.25[/C][C]-127.003[/C][/ROW]
[ROW][C]13[/C][C]2681[/C][C]2922.85[/C][C]1301.67[/C][C]1621.19[/C][C]-241.853[/C][/ROW]
[ROW][C]14[/C][C]1249[/C][C]1254.7[/C][C]1305.33[/C][C]-50.63[/C][C]-5.7033[/C][/ROW]
[ROW][C]15[/C][C]1705[/C][C]1414.83[/C][C]1312.12[/C][C]102.703[/C][C]290.172[/C][/ROW]
[ROW][C]16[/C][C]1472[/C][C]1501.42[/C][C]1318.96[/C][C]182.466[/C][C]-29.4241[/C][/ROW]
[ROW][C]17[/C][C]1413[/C][C]1571.37[/C][C]1326.21[/C][C]245.164[/C][C]-158.372[/C][/ROW]
[ROW][C]18[/C][C]1651[/C][C]1876.72[/C][C]1333.71[/C][C]543.007[/C][C]-225.716[/C][/ROW]
[ROW][C]19[/C][C]1525[/C][C]1266.79[/C][C]1334.83[/C][C]-68.0467[/C][C]258.213[/C][/ROW]
[ROW][C]20[/C][C]1095[/C][C]1037.18[/C][C]1336.25[/C][C]-299.072[/C][C]57.8217[/C][/ROW]
[ROW][C]21[/C][C]900[/C][C]896.862[/C][C]1344.54[/C][C]-447.68[/C][C]3.13837[/C][/ROW]
[ROW][C]22[/C][C]1255[/C][C]1146.49[/C][C]1365.04[/C][C]-218.547[/C][C]108.505[/C][/ROW]
[ROW][C]23[/C][C]984[/C][C]892.445[/C][C]1388.75[/C][C]-496.305[/C][C]91.555[/C][/ROW]
[ROW][C]24[/C][C]101[/C][C]286.295[/C][C]1400.54[/C][C]-1114.25[/C][C]-185.295[/C][/ROW]
[ROW][C]25[/C][C]2655[/C][C]3027.44[/C][C]1406.25[/C][C]1621.19[/C][C]-372.437[/C][/ROW]
[ROW][C]26[/C][C]1309[/C][C]1377.04[/C][C]1427.67[/C][C]-50.63[/C][C]-68.0366[/C][/ROW]
[ROW][C]27[/C][C]1844[/C][C]1574.41[/C][C]1471.71[/C][C]102.703[/C][C]269.588[/C][/ROW]
[ROW][C]28[/C][C]1825[/C][C]1688.88[/C][C]1506.42[/C][C]182.466[/C][C]136.118[/C][/ROW]
[ROW][C]29[/C][C]1629[/C][C]1769.08[/C][C]1523.92[/C][C]245.164[/C][C]-140.08[/C][/ROW]
[ROW][C]30[/C][C]1718[/C][C]2079.84[/C][C]1536.83[/C][C]543.007[/C][C]-361.841[/C][/ROW]
[ROW][C]31[/C][C]1595[/C][C]1503.87[/C][C]1571.92[/C][C]-68.0467[/C][C]91.13[/C][/ROW]
[ROW][C]32[/C][C]1539[/C][C]1313.22[/C][C]1612.29[/C][C]-299.072[/C][C]225.78[/C][/ROW]
[ROW][C]33[/C][C]1513[/C][C]1179.11[/C][C]1626.79[/C][C]-447.68[/C][C]333.888[/C][/ROW]
[ROW][C]34[/C][C]1475[/C][C]1415.95[/C][C]1634.5[/C][C]-218.547[/C][C]59.0467[/C][/ROW]
[ROW][C]35[/C][C]1184[/C][C]1174.03[/C][C]1670.33[/C][C]-496.305[/C][C]9.9717[/C][/ROW]
[ROW][C]36[/C][C]211[/C][C]660.545[/C][C]1774.79[/C][C]-1114.25[/C][C]-449.545[/C][/ROW]
[ROW][C]37[/C][C]3387[/C][C]3449.06[/C][C]1827.87[/C][C]1621.19[/C][C]-62.0616[/C][/ROW]
[ROW][C]38[/C][C]1546[/C][C]1741.45[/C][C]1792.08[/C][C]-50.63[/C][C]-195.453[/C][/ROW]
[ROW][C]39[/C][C]1955[/C][C]1863.99[/C][C]1761.29[/C][C]102.703[/C][C]91.005[/C][/ROW]
[ROW][C]40[/C][C]1899[/C][C]1910.72[/C][C]1728.25[/C][C]182.466[/C][C]-11.7158[/C][/ROW]
[ROW][C]41[/C][C]2415[/C][C]1938.71[/C][C]1693.54[/C][C]245.164[/C][C]476.295[/C][/ROW]
[ROW][C]42[/C][C]3439[/C][C]2222.3[/C][C]1679.29[/C][C]543.007[/C][C]1216.7[/C][/ROW]
[ROW][C]43[/C][C]1148[/C][C]1586.24[/C][C]1654.29[/C][C]-68.0467[/C][C]-438.245[/C][/ROW]
[ROW][C]44[/C][C]1127[/C][C]1307.89[/C][C]1606.96[/C][C]-299.072[/C][C]-180.887[/C][/ROW]
[ROW][C]45[/C][C]1186[/C][C]1119.03[/C][C]1566.71[/C][C]-447.68[/C][C]66.9717[/C][/ROW]
[ROW][C]46[/C][C]1009[/C][C]1313.37[/C][C]1531.92[/C][C]-218.547[/C][C]-304.37[/C][/ROW]
[ROW][C]47[/C][C]817[/C][C]983.278[/C][C]1479.58[/C][C]-496.305[/C][C]-166.278[/C][/ROW]
[ROW][C]48[/C][C]236[/C][C]246.045[/C][C]1360.29[/C][C]-1114.25[/C][C]-10.045[/C][/ROW]
[ROW][C]49[/C][C]2762[/C][C]2909.56[/C][C]1288.37[/C][C]1621.19[/C][C]-147.562[/C][/ROW]
[ROW][C]50[/C][C]1035[/C][C]1255.33[/C][C]1305.96[/C][C]-50.63[/C][C]-220.328[/C][/ROW]
[ROW][C]51[/C][C]1500[/C][C]1407.08[/C][C]1304.38[/C][C]102.703[/C][C]92.9217[/C][/ROW]
[ROW][C]52[/C][C]1519[/C][C]1500.76[/C][C]1318.29[/C][C]182.466[/C][C]18.2425[/C][/ROW]
[ROW][C]53[/C][C]1539[/C][C]1603.62[/C][C]1358.46[/C][C]245.164[/C][C]-64.622[/C][/ROW]
[ROW][C]54[/C][C]1452[/C][C]1967.92[/C][C]1424.92[/C][C]543.007[/C][C]-515.924[/C][/ROW]
[ROW][C]55[/C][C]1409[/C][C]1464.87[/C][C]1532.92[/C][C]-68.0467[/C][C]-55.87[/C][/ROW]
[ROW][C]56[/C][C]1288[/C][C]1341.26[/C][C]1640.33[/C][C]-299.072[/C][C]-53.2616[/C][/ROW]
[ROW][C]57[/C][C]987[/C][C]1223.78[/C][C]1671.46[/C][C]-447.68[/C][C]-236.778[/C][/ROW]
[ROW][C]58[/C][C]1542[/C][C]1423.45[/C][C]1642[/C][C]-218.547[/C][C]118.547[/C][/ROW]
[ROW][C]59[/C][C]1248[/C][C]1120.4[/C][C]1616.71[/C][C]-496.305[/C][C]127.597[/C][/ROW]
[ROW][C]60[/C][C]1400[/C][C]486.587[/C][C]1600.83[/C][C]-1114.25[/C][C]913.413[/C][/ROW]
[ROW][C]61[/C][C]4190[/C][C]3224.56[/C][C]1603.37[/C][C]1621.19[/C][C]965.438[/C][/ROW]
[ROW][C]62[/C][C]2185[/C][C]1553.95[/C][C]1604.58[/C][C]-50.63[/C][C]631.047[/C][/ROW]
[ROW][C]63[/C][C]1097[/C][C]1699.16[/C][C]1596.46[/C][C]102.703[/C][C]-602.162[/C][/ROW]
[ROW][C]64[/C][C]1215[/C][C]NA[/C][C]NA[/C][C]182.466[/C][C]NA[/C][/ROW]
[ROW][C]65[/C][C]1236[/C][C]NA[/C][C]NA[/C][C]245.164[/C][C]NA[/C][/ROW]
[ROW][C]66[/C][C]1374[/C][C]NA[/C][C]NA[/C][C]543.007[/C][C]NA[/C][/ROW]
[ROW][C]67[/C][C]1548[/C][C]NA[/C][C]NA[/C][C]-68.0467[/C][C]NA[/C][/ROW]
[ROW][C]68[/C][C]1178[/C][C]NA[/C][C]NA[/C][C]-299.072[/C][C]NA[/C][/ROW]
[ROW][C]69[/C][C]902[/C][C]NA[/C][C]NA[/C][C]-447.68[/C][C]NA[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=271809&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=271809&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
12745NANA1621.19NA
21395NANA-50.63NA
31550NANA102.703NA
41378NANA182.466NA
51318NANA245.164NA
61395NANA543.007NA
714831196.71264.75-68.0467286.297
81049956.9281256-299.07292.0717
9783808.6951256.37-447.68-25.695
1012081048.21266.75-218.547159.797
11857778.321274.62-496.30578.68
1248175.0031289.25-1114.25-127.003
1326812922.851301.671621.19-241.853
1412491254.71305.33-50.63-5.7033
1517051414.831312.12102.703290.172
1614721501.421318.96182.466-29.4241
1714131571.371326.21245.164-158.372
1816511876.721333.71543.007-225.716
1915251266.791334.83-68.0467258.213
2010951037.181336.25-299.07257.8217
21900896.8621344.54-447.683.13837
2212551146.491365.04-218.547108.505
23984892.4451388.75-496.30591.555
24101286.2951400.54-1114.25-185.295
2526553027.441406.251621.19-372.437
2613091377.041427.67-50.63-68.0366
2718441574.411471.71102.703269.588
2818251688.881506.42182.466136.118
2916291769.081523.92245.164-140.08
3017182079.841536.83543.007-361.841
3115951503.871571.92-68.046791.13
3215391313.221612.29-299.072225.78
3315131179.111626.79-447.68333.888
3414751415.951634.5-218.54759.0467
3511841174.031670.33-496.3059.9717
36211660.5451774.79-1114.25-449.545
3733873449.061827.871621.19-62.0616
3815461741.451792.08-50.63-195.453
3919551863.991761.29102.70391.005
4018991910.721728.25182.466-11.7158
4124151938.711693.54245.164476.295
4234392222.31679.29543.0071216.7
4311481586.241654.29-68.0467-438.245
4411271307.891606.96-299.072-180.887
4511861119.031566.71-447.6866.9717
4610091313.371531.92-218.547-304.37
47817983.2781479.58-496.305-166.278
48236246.0451360.29-1114.25-10.045
4927622909.561288.371621.19-147.562
5010351255.331305.96-50.63-220.328
5115001407.081304.38102.70392.9217
5215191500.761318.29182.46618.2425
5315391603.621358.46245.164-64.622
5414521967.921424.92543.007-515.924
5514091464.871532.92-68.0467-55.87
5612881341.261640.33-299.072-53.2616
579871223.781671.46-447.68-236.778
5815421423.451642-218.547118.547
5912481120.41616.71-496.305127.597
601400486.5871600.83-1114.25913.413
6141903224.561603.371621.19965.438
6221851553.951604.58-50.63631.047
6310971699.161596.46102.703-602.162
641215NANA182.466NA
651236NANA245.164NA
661374NANA543.007NA
671548NANA-68.0467NA
681178NANA-299.072NA
69902NANA-447.68NA



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')