Free Statistics

of Irreproducible Research!

Author's title

Author*Unverified author*
R Software Modulerwasp_decompose.wasp
Title produced by softwareClassical Decomposition
Date of computationWed, 25 Sep 2019 08:59:15 +0200
Cite this page as followsStatistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?v=date/2019/Sep/25/t1569394849sanaqkrc2dp8tru.htm/, Retrieved Sat, 04 May 2024 02:05:03 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=318916, Retrieved Sat, 04 May 2024 02:05:03 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact108
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-       [Classical Decomposition] [HW5] [2019-09-25 06:59:15] [d41d8cd98f00b204e9800998ecf8427e] [Current]
Feedback Forum

Post a new message
Dataseries X:
218.1
245.4
265.5
203.5
235.1
258
308.4
211.8
247.7
275.8
295
270.1
315.7
358.5
363
302.2
407.3
483.3
463.2
426.5
451.5
546.9
590.4
504.2
592.4
647.9
726.4
755.5
766.4
819.4
630.1
734.6
774.5
915.7
1013.4
1043.6
1037.9
1167.6
1345.1
1288.2
1303.8
1539.5
1712.2
1492.4
1439
1511.6
1739.4
1936.6
1655.1
1853.5
2079.1
2391.4
2026.5
1936.8
2174.5
2727.3
2275.8
2353.6
2698.4
3301.7
2922.8
2764
3123.6




Summary of computational transaction
Raw Input view raw input (R code)
Raw Outputview raw output of R engine
Computing time1 seconds
R ServerBig Analytics Cloud Computing Center

\begin{tabular}{lllllllll}
\hline
Summary of computational transaction \tabularnewline
Raw Input view raw input (R code)  \tabularnewline
Raw Outputview raw output of R engine  \tabularnewline
Computing time1 seconds \tabularnewline
R ServerBig Analytics Cloud Computing Center \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=318916&T=0

[TABLE]
[ROW]
Summary of computational transaction[/C][/ROW] [ROW]Raw Input[/C] view raw input (R code) [/C][/ROW] [ROW]Raw Output[/C]view raw output of R engine [/C][/ROW] [ROW]Computing time[/C]1 seconds[/C][/ROW] [ROW]R Server[/C]Big Analytics Cloud Computing Center[/C][/ROW] [/TABLE] Source: https://freestatistics.org/blog/index.php?pk=318916&T=0

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=318916&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 Input view raw input (R code)
Raw Outputview raw output of R engine
Computing time1 seconds
R ServerBig Analytics Cloud Computing Center







Classical Decomposition by Moving Averages
tObservationsFitTrendSeasonalRandom
1218.1NANA0.958076NA
2245.4NANA1.01443NA
3265.5246.387235.251.047341.07757
4203.5234.209238.950.9801580.868883
5235.1235.579245.8880.9580760.997967
6258255.927252.2881.014431.0081
7308.4266.967254.91.047341.1552
8211.8253.567258.70.9801580.835282
9247.7248.381259.250.9580760.997257
10275.8268.683264.8621.014431.02649
11295293.936280.651.047341.00362
12270.1293.545299.4880.9801580.920131
13315.7304.98318.3250.9580761.03515
14358.5335.61330.8381.014431.0682
15363362.694346.31.047341.00084
16302.2365.942373.350.9801580.825814
17407.3384.644401.4750.9580761.0589
18483.3435.734429.5371.014431.10916
19463.2471.931450.61.047340.981499
20426.5454.867464.0750.9801580.937637
21451.5467.469487.9250.9580760.965839
22546.9520.946513.5381.014431.04982
23590.4566.467540.8621.047341.04225
24504.2559.768571.10.9801580.90073
25592.4575.54600.7250.9580761.02929
26647.9658.502649.1381.014430.9839
27726.4735.547702.31.047340.987565
28755.5730.696745.4880.9801581.03395
29766.4723.24754.8870.9580761.05968
30819.4750.916740.2381.014431.0912
31630.1773.605738.6371.047340.814499
32734.6736.773751.6870.9801580.997051
33774.5777.611811.6380.9580760.996
34915.7911.132898.1751.014431.00501
351013.41015.63969.7251.047340.997803
361043.61013.621034.140.9801581.02958
371037.91060.671107.090.9580760.978529
381167.61196.131179.121.014430.976144
391345.11301.781242.941.047341.03328
401288.21296.421322.660.9801580.993661
411303.81355.711415.040.9580760.961707
421539.51507.891486.451.014431.02096
431712.21601.251528.881.047341.06929
441492.41511.691542.290.9801580.987242
4514391477.551542.20.9580760.973913
461511.61624.221601.121.014430.930661
471739.41763.371683.661.047340.986408
481936.61718.621753.410.9801581.12683
491655.11761.531838.610.9580760.93958
501853.51965.881937.921.014430.942834
512079.12137.832041.21.047340.972528
522391.42056.412098.040.9801581.1629
532026.52031.482120.380.9580760.997548
541936.82205.652174.291.014430.878107
552174.52353.832247.441.047340.923813
562727.32284.452330.70.9801581.19385
572275.82345.652448.290.9580760.970223
582353.62622.872585.581.014430.897336
592698.42867.882738.251.047340.940905
603301.72813.472870.420.9801581.17353
612922.82850.162974.880.9580761.02549
622764NANA1.01443NA
633123.6NANA1.04734NA

\begin{tabular}{lllllllll}
\hline
Classical Decomposition by Moving Averages \tabularnewline
t & Observations & Fit & Trend & Seasonal & Random \tabularnewline
1 & 218.1 & NA & NA & 0.958076 & NA \tabularnewline
2 & 245.4 & NA & NA & 1.01443 & NA \tabularnewline
3 & 265.5 & 246.387 & 235.25 & 1.04734 & 1.07757 \tabularnewline
4 & 203.5 & 234.209 & 238.95 & 0.980158 & 0.868883 \tabularnewline
5 & 235.1 & 235.579 & 245.888 & 0.958076 & 0.997967 \tabularnewline
6 & 258 & 255.927 & 252.288 & 1.01443 & 1.0081 \tabularnewline
7 & 308.4 & 266.967 & 254.9 & 1.04734 & 1.1552 \tabularnewline
8 & 211.8 & 253.567 & 258.7 & 0.980158 & 0.835282 \tabularnewline
9 & 247.7 & 248.381 & 259.25 & 0.958076 & 0.997257 \tabularnewline
10 & 275.8 & 268.683 & 264.862 & 1.01443 & 1.02649 \tabularnewline
11 & 295 & 293.936 & 280.65 & 1.04734 & 1.00362 \tabularnewline
12 & 270.1 & 293.545 & 299.488 & 0.980158 & 0.920131 \tabularnewline
13 & 315.7 & 304.98 & 318.325 & 0.958076 & 1.03515 \tabularnewline
14 & 358.5 & 335.61 & 330.838 & 1.01443 & 1.0682 \tabularnewline
15 & 363 & 362.694 & 346.3 & 1.04734 & 1.00084 \tabularnewline
16 & 302.2 & 365.942 & 373.35 & 0.980158 & 0.825814 \tabularnewline
17 & 407.3 & 384.644 & 401.475 & 0.958076 & 1.0589 \tabularnewline
18 & 483.3 & 435.734 & 429.537 & 1.01443 & 1.10916 \tabularnewline
19 & 463.2 & 471.931 & 450.6 & 1.04734 & 0.981499 \tabularnewline
20 & 426.5 & 454.867 & 464.075 & 0.980158 & 0.937637 \tabularnewline
21 & 451.5 & 467.469 & 487.925 & 0.958076 & 0.965839 \tabularnewline
22 & 546.9 & 520.946 & 513.538 & 1.01443 & 1.04982 \tabularnewline
23 & 590.4 & 566.467 & 540.862 & 1.04734 & 1.04225 \tabularnewline
24 & 504.2 & 559.768 & 571.1 & 0.980158 & 0.90073 \tabularnewline
25 & 592.4 & 575.54 & 600.725 & 0.958076 & 1.02929 \tabularnewline
26 & 647.9 & 658.502 & 649.138 & 1.01443 & 0.9839 \tabularnewline
27 & 726.4 & 735.547 & 702.3 & 1.04734 & 0.987565 \tabularnewline
28 & 755.5 & 730.696 & 745.488 & 0.980158 & 1.03395 \tabularnewline
29 & 766.4 & 723.24 & 754.887 & 0.958076 & 1.05968 \tabularnewline
30 & 819.4 & 750.916 & 740.238 & 1.01443 & 1.0912 \tabularnewline
31 & 630.1 & 773.605 & 738.637 & 1.04734 & 0.814499 \tabularnewline
32 & 734.6 & 736.773 & 751.687 & 0.980158 & 0.997051 \tabularnewline
33 & 774.5 & 777.611 & 811.638 & 0.958076 & 0.996 \tabularnewline
34 & 915.7 & 911.132 & 898.175 & 1.01443 & 1.00501 \tabularnewline
35 & 1013.4 & 1015.63 & 969.725 & 1.04734 & 0.997803 \tabularnewline
36 & 1043.6 & 1013.62 & 1034.14 & 0.980158 & 1.02958 \tabularnewline
37 & 1037.9 & 1060.67 & 1107.09 & 0.958076 & 0.978529 \tabularnewline
38 & 1167.6 & 1196.13 & 1179.12 & 1.01443 & 0.976144 \tabularnewline
39 & 1345.1 & 1301.78 & 1242.94 & 1.04734 & 1.03328 \tabularnewline
40 & 1288.2 & 1296.42 & 1322.66 & 0.980158 & 0.993661 \tabularnewline
41 & 1303.8 & 1355.71 & 1415.04 & 0.958076 & 0.961707 \tabularnewline
42 & 1539.5 & 1507.89 & 1486.45 & 1.01443 & 1.02096 \tabularnewline
43 & 1712.2 & 1601.25 & 1528.88 & 1.04734 & 1.06929 \tabularnewline
44 & 1492.4 & 1511.69 & 1542.29 & 0.980158 & 0.987242 \tabularnewline
45 & 1439 & 1477.55 & 1542.2 & 0.958076 & 0.973913 \tabularnewline
46 & 1511.6 & 1624.22 & 1601.12 & 1.01443 & 0.930661 \tabularnewline
47 & 1739.4 & 1763.37 & 1683.66 & 1.04734 & 0.986408 \tabularnewline
48 & 1936.6 & 1718.62 & 1753.41 & 0.980158 & 1.12683 \tabularnewline
49 & 1655.1 & 1761.53 & 1838.61 & 0.958076 & 0.93958 \tabularnewline
50 & 1853.5 & 1965.88 & 1937.92 & 1.01443 & 0.942834 \tabularnewline
51 & 2079.1 & 2137.83 & 2041.2 & 1.04734 & 0.972528 \tabularnewline
52 & 2391.4 & 2056.41 & 2098.04 & 0.980158 & 1.1629 \tabularnewline
53 & 2026.5 & 2031.48 & 2120.38 & 0.958076 & 0.997548 \tabularnewline
54 & 1936.8 & 2205.65 & 2174.29 & 1.01443 & 0.878107 \tabularnewline
55 & 2174.5 & 2353.83 & 2247.44 & 1.04734 & 0.923813 \tabularnewline
56 & 2727.3 & 2284.45 & 2330.7 & 0.980158 & 1.19385 \tabularnewline
57 & 2275.8 & 2345.65 & 2448.29 & 0.958076 & 0.970223 \tabularnewline
58 & 2353.6 & 2622.87 & 2585.58 & 1.01443 & 0.897336 \tabularnewline
59 & 2698.4 & 2867.88 & 2738.25 & 1.04734 & 0.940905 \tabularnewline
60 & 3301.7 & 2813.47 & 2870.42 & 0.980158 & 1.17353 \tabularnewline
61 & 2922.8 & 2850.16 & 2974.88 & 0.958076 & 1.02549 \tabularnewline
62 & 2764 & NA & NA & 1.01443 & NA \tabularnewline
63 & 3123.6 & NA & NA & 1.04734 & NA \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=318916&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]218.1[/C][C]NA[/C][C]NA[/C][C]0.958076[/C][C]NA[/C][/ROW]
[ROW][C]2[/C][C]245.4[/C][C]NA[/C][C]NA[/C][C]1.01443[/C][C]NA[/C][/ROW]
[ROW][C]3[/C][C]265.5[/C][C]246.387[/C][C]235.25[/C][C]1.04734[/C][C]1.07757[/C][/ROW]
[ROW][C]4[/C][C]203.5[/C][C]234.209[/C][C]238.95[/C][C]0.980158[/C][C]0.868883[/C][/ROW]
[ROW][C]5[/C][C]235.1[/C][C]235.579[/C][C]245.888[/C][C]0.958076[/C][C]0.997967[/C][/ROW]
[ROW][C]6[/C][C]258[/C][C]255.927[/C][C]252.288[/C][C]1.01443[/C][C]1.0081[/C][/ROW]
[ROW][C]7[/C][C]308.4[/C][C]266.967[/C][C]254.9[/C][C]1.04734[/C][C]1.1552[/C][/ROW]
[ROW][C]8[/C][C]211.8[/C][C]253.567[/C][C]258.7[/C][C]0.980158[/C][C]0.835282[/C][/ROW]
[ROW][C]9[/C][C]247.7[/C][C]248.381[/C][C]259.25[/C][C]0.958076[/C][C]0.997257[/C][/ROW]
[ROW][C]10[/C][C]275.8[/C][C]268.683[/C][C]264.862[/C][C]1.01443[/C][C]1.02649[/C][/ROW]
[ROW][C]11[/C][C]295[/C][C]293.936[/C][C]280.65[/C][C]1.04734[/C][C]1.00362[/C][/ROW]
[ROW][C]12[/C][C]270.1[/C][C]293.545[/C][C]299.488[/C][C]0.980158[/C][C]0.920131[/C][/ROW]
[ROW][C]13[/C][C]315.7[/C][C]304.98[/C][C]318.325[/C][C]0.958076[/C][C]1.03515[/C][/ROW]
[ROW][C]14[/C][C]358.5[/C][C]335.61[/C][C]330.838[/C][C]1.01443[/C][C]1.0682[/C][/ROW]
[ROW][C]15[/C][C]363[/C][C]362.694[/C][C]346.3[/C][C]1.04734[/C][C]1.00084[/C][/ROW]
[ROW][C]16[/C][C]302.2[/C][C]365.942[/C][C]373.35[/C][C]0.980158[/C][C]0.825814[/C][/ROW]
[ROW][C]17[/C][C]407.3[/C][C]384.644[/C][C]401.475[/C][C]0.958076[/C][C]1.0589[/C][/ROW]
[ROW][C]18[/C][C]483.3[/C][C]435.734[/C][C]429.537[/C][C]1.01443[/C][C]1.10916[/C][/ROW]
[ROW][C]19[/C][C]463.2[/C][C]471.931[/C][C]450.6[/C][C]1.04734[/C][C]0.981499[/C][/ROW]
[ROW][C]20[/C][C]426.5[/C][C]454.867[/C][C]464.075[/C][C]0.980158[/C][C]0.937637[/C][/ROW]
[ROW][C]21[/C][C]451.5[/C][C]467.469[/C][C]487.925[/C][C]0.958076[/C][C]0.965839[/C][/ROW]
[ROW][C]22[/C][C]546.9[/C][C]520.946[/C][C]513.538[/C][C]1.01443[/C][C]1.04982[/C][/ROW]
[ROW][C]23[/C][C]590.4[/C][C]566.467[/C][C]540.862[/C][C]1.04734[/C][C]1.04225[/C][/ROW]
[ROW][C]24[/C][C]504.2[/C][C]559.768[/C][C]571.1[/C][C]0.980158[/C][C]0.90073[/C][/ROW]
[ROW][C]25[/C][C]592.4[/C][C]575.54[/C][C]600.725[/C][C]0.958076[/C][C]1.02929[/C][/ROW]
[ROW][C]26[/C][C]647.9[/C][C]658.502[/C][C]649.138[/C][C]1.01443[/C][C]0.9839[/C][/ROW]
[ROW][C]27[/C][C]726.4[/C][C]735.547[/C][C]702.3[/C][C]1.04734[/C][C]0.987565[/C][/ROW]
[ROW][C]28[/C][C]755.5[/C][C]730.696[/C][C]745.488[/C][C]0.980158[/C][C]1.03395[/C][/ROW]
[ROW][C]29[/C][C]766.4[/C][C]723.24[/C][C]754.887[/C][C]0.958076[/C][C]1.05968[/C][/ROW]
[ROW][C]30[/C][C]819.4[/C][C]750.916[/C][C]740.238[/C][C]1.01443[/C][C]1.0912[/C][/ROW]
[ROW][C]31[/C][C]630.1[/C][C]773.605[/C][C]738.637[/C][C]1.04734[/C][C]0.814499[/C][/ROW]
[ROW][C]32[/C][C]734.6[/C][C]736.773[/C][C]751.687[/C][C]0.980158[/C][C]0.997051[/C][/ROW]
[ROW][C]33[/C][C]774.5[/C][C]777.611[/C][C]811.638[/C][C]0.958076[/C][C]0.996[/C][/ROW]
[ROW][C]34[/C][C]915.7[/C][C]911.132[/C][C]898.175[/C][C]1.01443[/C][C]1.00501[/C][/ROW]
[ROW][C]35[/C][C]1013.4[/C][C]1015.63[/C][C]969.725[/C][C]1.04734[/C][C]0.997803[/C][/ROW]
[ROW][C]36[/C][C]1043.6[/C][C]1013.62[/C][C]1034.14[/C][C]0.980158[/C][C]1.02958[/C][/ROW]
[ROW][C]37[/C][C]1037.9[/C][C]1060.67[/C][C]1107.09[/C][C]0.958076[/C][C]0.978529[/C][/ROW]
[ROW][C]38[/C][C]1167.6[/C][C]1196.13[/C][C]1179.12[/C][C]1.01443[/C][C]0.976144[/C][/ROW]
[ROW][C]39[/C][C]1345.1[/C][C]1301.78[/C][C]1242.94[/C][C]1.04734[/C][C]1.03328[/C][/ROW]
[ROW][C]40[/C][C]1288.2[/C][C]1296.42[/C][C]1322.66[/C][C]0.980158[/C][C]0.993661[/C][/ROW]
[ROW][C]41[/C][C]1303.8[/C][C]1355.71[/C][C]1415.04[/C][C]0.958076[/C][C]0.961707[/C][/ROW]
[ROW][C]42[/C][C]1539.5[/C][C]1507.89[/C][C]1486.45[/C][C]1.01443[/C][C]1.02096[/C][/ROW]
[ROW][C]43[/C][C]1712.2[/C][C]1601.25[/C][C]1528.88[/C][C]1.04734[/C][C]1.06929[/C][/ROW]
[ROW][C]44[/C][C]1492.4[/C][C]1511.69[/C][C]1542.29[/C][C]0.980158[/C][C]0.987242[/C][/ROW]
[ROW][C]45[/C][C]1439[/C][C]1477.55[/C][C]1542.2[/C][C]0.958076[/C][C]0.973913[/C][/ROW]
[ROW][C]46[/C][C]1511.6[/C][C]1624.22[/C][C]1601.12[/C][C]1.01443[/C][C]0.930661[/C][/ROW]
[ROW][C]47[/C][C]1739.4[/C][C]1763.37[/C][C]1683.66[/C][C]1.04734[/C][C]0.986408[/C][/ROW]
[ROW][C]48[/C][C]1936.6[/C][C]1718.62[/C][C]1753.41[/C][C]0.980158[/C][C]1.12683[/C][/ROW]
[ROW][C]49[/C][C]1655.1[/C][C]1761.53[/C][C]1838.61[/C][C]0.958076[/C][C]0.93958[/C][/ROW]
[ROW][C]50[/C][C]1853.5[/C][C]1965.88[/C][C]1937.92[/C][C]1.01443[/C][C]0.942834[/C][/ROW]
[ROW][C]51[/C][C]2079.1[/C][C]2137.83[/C][C]2041.2[/C][C]1.04734[/C][C]0.972528[/C][/ROW]
[ROW][C]52[/C][C]2391.4[/C][C]2056.41[/C][C]2098.04[/C][C]0.980158[/C][C]1.1629[/C][/ROW]
[ROW][C]53[/C][C]2026.5[/C][C]2031.48[/C][C]2120.38[/C][C]0.958076[/C][C]0.997548[/C][/ROW]
[ROW][C]54[/C][C]1936.8[/C][C]2205.65[/C][C]2174.29[/C][C]1.01443[/C][C]0.878107[/C][/ROW]
[ROW][C]55[/C][C]2174.5[/C][C]2353.83[/C][C]2247.44[/C][C]1.04734[/C][C]0.923813[/C][/ROW]
[ROW][C]56[/C][C]2727.3[/C][C]2284.45[/C][C]2330.7[/C][C]0.980158[/C][C]1.19385[/C][/ROW]
[ROW][C]57[/C][C]2275.8[/C][C]2345.65[/C][C]2448.29[/C][C]0.958076[/C][C]0.970223[/C][/ROW]
[ROW][C]58[/C][C]2353.6[/C][C]2622.87[/C][C]2585.58[/C][C]1.01443[/C][C]0.897336[/C][/ROW]
[ROW][C]59[/C][C]2698.4[/C][C]2867.88[/C][C]2738.25[/C][C]1.04734[/C][C]0.940905[/C][/ROW]
[ROW][C]60[/C][C]3301.7[/C][C]2813.47[/C][C]2870.42[/C][C]0.980158[/C][C]1.17353[/C][/ROW]
[ROW][C]61[/C][C]2922.8[/C][C]2850.16[/C][C]2974.88[/C][C]0.958076[/C][C]1.02549[/C][/ROW]
[ROW][C]62[/C][C]2764[/C][C]NA[/C][C]NA[/C][C]1.01443[/C][C]NA[/C][/ROW]
[ROW][C]63[/C][C]3123.6[/C][C]NA[/C][C]NA[/C][C]1.04734[/C][C]NA[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=318916&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=318916&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
1218.1NANA0.958076NA
2245.4NANA1.01443NA
3265.5246.387235.251.047341.07757
4203.5234.209238.950.9801580.868883
5235.1235.579245.8880.9580760.997967
6258255.927252.2881.014431.0081
7308.4266.967254.91.047341.1552
8211.8253.567258.70.9801580.835282
9247.7248.381259.250.9580760.997257
10275.8268.683264.8621.014431.02649
11295293.936280.651.047341.00362
12270.1293.545299.4880.9801580.920131
13315.7304.98318.3250.9580761.03515
14358.5335.61330.8381.014431.0682
15363362.694346.31.047341.00084
16302.2365.942373.350.9801580.825814
17407.3384.644401.4750.9580761.0589
18483.3435.734429.5371.014431.10916
19463.2471.931450.61.047340.981499
20426.5454.867464.0750.9801580.937637
21451.5467.469487.9250.9580760.965839
22546.9520.946513.5381.014431.04982
23590.4566.467540.8621.047341.04225
24504.2559.768571.10.9801580.90073
25592.4575.54600.7250.9580761.02929
26647.9658.502649.1381.014430.9839
27726.4735.547702.31.047340.987565
28755.5730.696745.4880.9801581.03395
29766.4723.24754.8870.9580761.05968
30819.4750.916740.2381.014431.0912
31630.1773.605738.6371.047340.814499
32734.6736.773751.6870.9801580.997051
33774.5777.611811.6380.9580760.996
34915.7911.132898.1751.014431.00501
351013.41015.63969.7251.047340.997803
361043.61013.621034.140.9801581.02958
371037.91060.671107.090.9580760.978529
381167.61196.131179.121.014430.976144
391345.11301.781242.941.047341.03328
401288.21296.421322.660.9801580.993661
411303.81355.711415.040.9580760.961707
421539.51507.891486.451.014431.02096
431712.21601.251528.881.047341.06929
441492.41511.691542.290.9801580.987242
4514391477.551542.20.9580760.973913
461511.61624.221601.121.014430.930661
471739.41763.371683.661.047340.986408
481936.61718.621753.410.9801581.12683
491655.11761.531838.610.9580760.93958
501853.51965.881937.921.014430.942834
512079.12137.832041.21.047340.972528
522391.42056.412098.040.9801581.1629
532026.52031.482120.380.9580760.997548
541936.82205.652174.291.014430.878107
552174.52353.832247.441.047340.923813
562727.32284.452330.70.9801581.19385
572275.82345.652448.290.9580760.970223
582353.62622.872585.581.014430.897336
592698.42867.882738.251.047340.940905
603301.72813.472870.420.9801581.17353
612922.82850.162974.880.9580761.02549
622764NANA1.01443NA
633123.6NANA1.04734NA



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