Free Statistics

of Irreproducible Research!

Author's title

Author*The author of this computation has been verified*
R Software Modulerwasp_decompose.wasp
Title produced by softwareClassical Decomposition
Date of computationWed, 14 Dec 2016 12:41:09 +0100
Cite this page as followsStatistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?v=date/2016/Dec/14/t1481715704u8agsa1jn5qbpii.htm/, Retrieved Sat, 04 May 2024 03:45:18 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=299315, Retrieved Sat, 04 May 2024 03:45:18 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact76
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-       [Classical Decomposition] [] [2016-12-14 11:41:09] [349958aef20b862f8399a5ba04d6f6e3] [Current]
Feedback Forum

Post a new message
Dataseries X:
6830
6827
6841
6754
6869
6809
6836
6766
6759
6719
6702
6627
6630
6606
6512
6550
6578
6499
6371
6332
6291
6307
6252
6250
6164
6213
6174
6154
6091
6096
6046
6001
5979
5921
5863
5818
5758
5786
5734
5678
5610
5578
5589
5553
5533
5521
5464
5419
5346
5296
5255
5235
5164
5164
5172
5093
5070
5108
5051
5021
5001
4918
4886




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=299315&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=299315&T=0

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=299315&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
16830NANA-25.472NA
26827NANA10.0384NA
36841NANA-11.4408NA
46754NANA8.4342NA
56869NANA-1.08663NA
66809NANA6.34045NA
768366783.196769.9213.27852.8054
8676667436752.38-9.3720522.997
967596729.696729.460.22795129.3137
1067196721.336707.2514.08-2.33003
1167026687.546686.620.91336814.4616
1266276655.646661.58-5.9408-28.6425
1366306603.826629.29-25.47226.1804
1466066601.876591.8310.03844.1283
1565126542.816554.25-11.4408-30.8092
1665506526.026517.588.434223.9825
1765786480.586481.67-1.0866397.42
1864996453.556447.216.3404545.4512
1963716425.366412.0813.278-54.3613
2063326366.926376.29-9.37205-34.9196
2162916346.066345.830.227951-55.0613
2263076329.336315.2514.08-22.33
2362526279.376278.460.913368-27.3717
2462506235.436241.38-5.940814.5658
2561646185.576211.04-25.472-21.5696
2662136193.756183.7110.038419.2533
2761746145.486156.92-11.440828.5241
2861546136.276127.838.434217.7325
2960916094.466095.54-1.08663-3.45503
3060966067.676061.336.3404528.3262
3160466039.696026.4213.2786.30538
3260015982.345991.71-9.3720518.6637
3359795955.815955.580.22795123.1887
3459215931.55917.4214.08-10.4967
3558635878.465877.540.913368-15.455
3658185829.985835.92-5.9408-11.9759
3757585769.825795.29-25.472-11.8196
3857865767.625757.5810.038418.3783
3957345708.895720.33-11.440825.1075
4056785693.525685.088.4342-15.5175
4156105650.715651.79-1.08663-40.705
4255785624.885618.546.34045-46.8821
4355895598.035584.7513.278-9.02795
4455535537.795547.17-9.3720515.2054
4555335507.025506.790.22795125.9804
4655215482.465468.3814.0838.545
4754645432.255431.330.91336831.7533
4854195389.565395.5-5.940829.4408
4953465335.45360.88-25.47210.597
5052965334.375324.3310.0384-38.3717
5152555274.435285.87-11.4408-19.4342
5252355257.815249.378.4342-22.8092
5351645213.875214.96-1.08663-49.8717
5451645187.515181.176.34045-23.5071
5551725163.495150.2113.2788.51372
5650935110.715120.08-9.37205-17.7113
5750705089.195088.960.227951-19.1863
585108NANA14.08NA
595051NANA0.913368NA
605021NANA-5.9408NA
615001NANA-25.472NA
624918NANA10.0384NA
634886NANA-11.4408NA

\begin{tabular}{lllllllll}
\hline
Classical Decomposition by Moving Averages \tabularnewline
t & Observations & Fit & Trend & Seasonal & Random \tabularnewline
1 & 6830 & NA & NA & -25.472 & NA \tabularnewline
2 & 6827 & NA & NA & 10.0384 & NA \tabularnewline
3 & 6841 & NA & NA & -11.4408 & NA \tabularnewline
4 & 6754 & NA & NA & 8.4342 & NA \tabularnewline
5 & 6869 & NA & NA & -1.08663 & NA \tabularnewline
6 & 6809 & NA & NA & 6.34045 & NA \tabularnewline
7 & 6836 & 6783.19 & 6769.92 & 13.278 & 52.8054 \tabularnewline
8 & 6766 & 6743 & 6752.38 & -9.37205 & 22.997 \tabularnewline
9 & 6759 & 6729.69 & 6729.46 & 0.227951 & 29.3137 \tabularnewline
10 & 6719 & 6721.33 & 6707.25 & 14.08 & -2.33003 \tabularnewline
11 & 6702 & 6687.54 & 6686.62 & 0.913368 & 14.4616 \tabularnewline
12 & 6627 & 6655.64 & 6661.58 & -5.9408 & -28.6425 \tabularnewline
13 & 6630 & 6603.82 & 6629.29 & -25.472 & 26.1804 \tabularnewline
14 & 6606 & 6601.87 & 6591.83 & 10.0384 & 4.1283 \tabularnewline
15 & 6512 & 6542.81 & 6554.25 & -11.4408 & -30.8092 \tabularnewline
16 & 6550 & 6526.02 & 6517.58 & 8.4342 & 23.9825 \tabularnewline
17 & 6578 & 6480.58 & 6481.67 & -1.08663 & 97.42 \tabularnewline
18 & 6499 & 6453.55 & 6447.21 & 6.34045 & 45.4512 \tabularnewline
19 & 6371 & 6425.36 & 6412.08 & 13.278 & -54.3613 \tabularnewline
20 & 6332 & 6366.92 & 6376.29 & -9.37205 & -34.9196 \tabularnewline
21 & 6291 & 6346.06 & 6345.83 & 0.227951 & -55.0613 \tabularnewline
22 & 6307 & 6329.33 & 6315.25 & 14.08 & -22.33 \tabularnewline
23 & 6252 & 6279.37 & 6278.46 & 0.913368 & -27.3717 \tabularnewline
24 & 6250 & 6235.43 & 6241.38 & -5.9408 & 14.5658 \tabularnewline
25 & 6164 & 6185.57 & 6211.04 & -25.472 & -21.5696 \tabularnewline
26 & 6213 & 6193.75 & 6183.71 & 10.0384 & 19.2533 \tabularnewline
27 & 6174 & 6145.48 & 6156.92 & -11.4408 & 28.5241 \tabularnewline
28 & 6154 & 6136.27 & 6127.83 & 8.4342 & 17.7325 \tabularnewline
29 & 6091 & 6094.46 & 6095.54 & -1.08663 & -3.45503 \tabularnewline
30 & 6096 & 6067.67 & 6061.33 & 6.34045 & 28.3262 \tabularnewline
31 & 6046 & 6039.69 & 6026.42 & 13.278 & 6.30538 \tabularnewline
32 & 6001 & 5982.34 & 5991.71 & -9.37205 & 18.6637 \tabularnewline
33 & 5979 & 5955.81 & 5955.58 & 0.227951 & 23.1887 \tabularnewline
34 & 5921 & 5931.5 & 5917.42 & 14.08 & -10.4967 \tabularnewline
35 & 5863 & 5878.46 & 5877.54 & 0.913368 & -15.455 \tabularnewline
36 & 5818 & 5829.98 & 5835.92 & -5.9408 & -11.9759 \tabularnewline
37 & 5758 & 5769.82 & 5795.29 & -25.472 & -11.8196 \tabularnewline
38 & 5786 & 5767.62 & 5757.58 & 10.0384 & 18.3783 \tabularnewline
39 & 5734 & 5708.89 & 5720.33 & -11.4408 & 25.1075 \tabularnewline
40 & 5678 & 5693.52 & 5685.08 & 8.4342 & -15.5175 \tabularnewline
41 & 5610 & 5650.71 & 5651.79 & -1.08663 & -40.705 \tabularnewline
42 & 5578 & 5624.88 & 5618.54 & 6.34045 & -46.8821 \tabularnewline
43 & 5589 & 5598.03 & 5584.75 & 13.278 & -9.02795 \tabularnewline
44 & 5553 & 5537.79 & 5547.17 & -9.37205 & 15.2054 \tabularnewline
45 & 5533 & 5507.02 & 5506.79 & 0.227951 & 25.9804 \tabularnewline
46 & 5521 & 5482.46 & 5468.38 & 14.08 & 38.545 \tabularnewline
47 & 5464 & 5432.25 & 5431.33 & 0.913368 & 31.7533 \tabularnewline
48 & 5419 & 5389.56 & 5395.5 & -5.9408 & 29.4408 \tabularnewline
49 & 5346 & 5335.4 & 5360.88 & -25.472 & 10.597 \tabularnewline
50 & 5296 & 5334.37 & 5324.33 & 10.0384 & -38.3717 \tabularnewline
51 & 5255 & 5274.43 & 5285.87 & -11.4408 & -19.4342 \tabularnewline
52 & 5235 & 5257.81 & 5249.37 & 8.4342 & -22.8092 \tabularnewline
53 & 5164 & 5213.87 & 5214.96 & -1.08663 & -49.8717 \tabularnewline
54 & 5164 & 5187.51 & 5181.17 & 6.34045 & -23.5071 \tabularnewline
55 & 5172 & 5163.49 & 5150.21 & 13.278 & 8.51372 \tabularnewline
56 & 5093 & 5110.71 & 5120.08 & -9.37205 & -17.7113 \tabularnewline
57 & 5070 & 5089.19 & 5088.96 & 0.227951 & -19.1863 \tabularnewline
58 & 5108 & NA & NA & 14.08 & NA \tabularnewline
59 & 5051 & NA & NA & 0.913368 & NA \tabularnewline
60 & 5021 & NA & NA & -5.9408 & NA \tabularnewline
61 & 5001 & NA & NA & -25.472 & NA \tabularnewline
62 & 4918 & NA & NA & 10.0384 & NA \tabularnewline
63 & 4886 & NA & NA & -11.4408 & NA \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=299315&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]6830[/C][C]NA[/C][C]NA[/C][C]-25.472[/C][C]NA[/C][/ROW]
[ROW][C]2[/C][C]6827[/C][C]NA[/C][C]NA[/C][C]10.0384[/C][C]NA[/C][/ROW]
[ROW][C]3[/C][C]6841[/C][C]NA[/C][C]NA[/C][C]-11.4408[/C][C]NA[/C][/ROW]
[ROW][C]4[/C][C]6754[/C][C]NA[/C][C]NA[/C][C]8.4342[/C][C]NA[/C][/ROW]
[ROW][C]5[/C][C]6869[/C][C]NA[/C][C]NA[/C][C]-1.08663[/C][C]NA[/C][/ROW]
[ROW][C]6[/C][C]6809[/C][C]NA[/C][C]NA[/C][C]6.34045[/C][C]NA[/C][/ROW]
[ROW][C]7[/C][C]6836[/C][C]6783.19[/C][C]6769.92[/C][C]13.278[/C][C]52.8054[/C][/ROW]
[ROW][C]8[/C][C]6766[/C][C]6743[/C][C]6752.38[/C][C]-9.37205[/C][C]22.997[/C][/ROW]
[ROW][C]9[/C][C]6759[/C][C]6729.69[/C][C]6729.46[/C][C]0.227951[/C][C]29.3137[/C][/ROW]
[ROW][C]10[/C][C]6719[/C][C]6721.33[/C][C]6707.25[/C][C]14.08[/C][C]-2.33003[/C][/ROW]
[ROW][C]11[/C][C]6702[/C][C]6687.54[/C][C]6686.62[/C][C]0.913368[/C][C]14.4616[/C][/ROW]
[ROW][C]12[/C][C]6627[/C][C]6655.64[/C][C]6661.58[/C][C]-5.9408[/C][C]-28.6425[/C][/ROW]
[ROW][C]13[/C][C]6630[/C][C]6603.82[/C][C]6629.29[/C][C]-25.472[/C][C]26.1804[/C][/ROW]
[ROW][C]14[/C][C]6606[/C][C]6601.87[/C][C]6591.83[/C][C]10.0384[/C][C]4.1283[/C][/ROW]
[ROW][C]15[/C][C]6512[/C][C]6542.81[/C][C]6554.25[/C][C]-11.4408[/C][C]-30.8092[/C][/ROW]
[ROW][C]16[/C][C]6550[/C][C]6526.02[/C][C]6517.58[/C][C]8.4342[/C][C]23.9825[/C][/ROW]
[ROW][C]17[/C][C]6578[/C][C]6480.58[/C][C]6481.67[/C][C]-1.08663[/C][C]97.42[/C][/ROW]
[ROW][C]18[/C][C]6499[/C][C]6453.55[/C][C]6447.21[/C][C]6.34045[/C][C]45.4512[/C][/ROW]
[ROW][C]19[/C][C]6371[/C][C]6425.36[/C][C]6412.08[/C][C]13.278[/C][C]-54.3613[/C][/ROW]
[ROW][C]20[/C][C]6332[/C][C]6366.92[/C][C]6376.29[/C][C]-9.37205[/C][C]-34.9196[/C][/ROW]
[ROW][C]21[/C][C]6291[/C][C]6346.06[/C][C]6345.83[/C][C]0.227951[/C][C]-55.0613[/C][/ROW]
[ROW][C]22[/C][C]6307[/C][C]6329.33[/C][C]6315.25[/C][C]14.08[/C][C]-22.33[/C][/ROW]
[ROW][C]23[/C][C]6252[/C][C]6279.37[/C][C]6278.46[/C][C]0.913368[/C][C]-27.3717[/C][/ROW]
[ROW][C]24[/C][C]6250[/C][C]6235.43[/C][C]6241.38[/C][C]-5.9408[/C][C]14.5658[/C][/ROW]
[ROW][C]25[/C][C]6164[/C][C]6185.57[/C][C]6211.04[/C][C]-25.472[/C][C]-21.5696[/C][/ROW]
[ROW][C]26[/C][C]6213[/C][C]6193.75[/C][C]6183.71[/C][C]10.0384[/C][C]19.2533[/C][/ROW]
[ROW][C]27[/C][C]6174[/C][C]6145.48[/C][C]6156.92[/C][C]-11.4408[/C][C]28.5241[/C][/ROW]
[ROW][C]28[/C][C]6154[/C][C]6136.27[/C][C]6127.83[/C][C]8.4342[/C][C]17.7325[/C][/ROW]
[ROW][C]29[/C][C]6091[/C][C]6094.46[/C][C]6095.54[/C][C]-1.08663[/C][C]-3.45503[/C][/ROW]
[ROW][C]30[/C][C]6096[/C][C]6067.67[/C][C]6061.33[/C][C]6.34045[/C][C]28.3262[/C][/ROW]
[ROW][C]31[/C][C]6046[/C][C]6039.69[/C][C]6026.42[/C][C]13.278[/C][C]6.30538[/C][/ROW]
[ROW][C]32[/C][C]6001[/C][C]5982.34[/C][C]5991.71[/C][C]-9.37205[/C][C]18.6637[/C][/ROW]
[ROW][C]33[/C][C]5979[/C][C]5955.81[/C][C]5955.58[/C][C]0.227951[/C][C]23.1887[/C][/ROW]
[ROW][C]34[/C][C]5921[/C][C]5931.5[/C][C]5917.42[/C][C]14.08[/C][C]-10.4967[/C][/ROW]
[ROW][C]35[/C][C]5863[/C][C]5878.46[/C][C]5877.54[/C][C]0.913368[/C][C]-15.455[/C][/ROW]
[ROW][C]36[/C][C]5818[/C][C]5829.98[/C][C]5835.92[/C][C]-5.9408[/C][C]-11.9759[/C][/ROW]
[ROW][C]37[/C][C]5758[/C][C]5769.82[/C][C]5795.29[/C][C]-25.472[/C][C]-11.8196[/C][/ROW]
[ROW][C]38[/C][C]5786[/C][C]5767.62[/C][C]5757.58[/C][C]10.0384[/C][C]18.3783[/C][/ROW]
[ROW][C]39[/C][C]5734[/C][C]5708.89[/C][C]5720.33[/C][C]-11.4408[/C][C]25.1075[/C][/ROW]
[ROW][C]40[/C][C]5678[/C][C]5693.52[/C][C]5685.08[/C][C]8.4342[/C][C]-15.5175[/C][/ROW]
[ROW][C]41[/C][C]5610[/C][C]5650.71[/C][C]5651.79[/C][C]-1.08663[/C][C]-40.705[/C][/ROW]
[ROW][C]42[/C][C]5578[/C][C]5624.88[/C][C]5618.54[/C][C]6.34045[/C][C]-46.8821[/C][/ROW]
[ROW][C]43[/C][C]5589[/C][C]5598.03[/C][C]5584.75[/C][C]13.278[/C][C]-9.02795[/C][/ROW]
[ROW][C]44[/C][C]5553[/C][C]5537.79[/C][C]5547.17[/C][C]-9.37205[/C][C]15.2054[/C][/ROW]
[ROW][C]45[/C][C]5533[/C][C]5507.02[/C][C]5506.79[/C][C]0.227951[/C][C]25.9804[/C][/ROW]
[ROW][C]46[/C][C]5521[/C][C]5482.46[/C][C]5468.38[/C][C]14.08[/C][C]38.545[/C][/ROW]
[ROW][C]47[/C][C]5464[/C][C]5432.25[/C][C]5431.33[/C][C]0.913368[/C][C]31.7533[/C][/ROW]
[ROW][C]48[/C][C]5419[/C][C]5389.56[/C][C]5395.5[/C][C]-5.9408[/C][C]29.4408[/C][/ROW]
[ROW][C]49[/C][C]5346[/C][C]5335.4[/C][C]5360.88[/C][C]-25.472[/C][C]10.597[/C][/ROW]
[ROW][C]50[/C][C]5296[/C][C]5334.37[/C][C]5324.33[/C][C]10.0384[/C][C]-38.3717[/C][/ROW]
[ROW][C]51[/C][C]5255[/C][C]5274.43[/C][C]5285.87[/C][C]-11.4408[/C][C]-19.4342[/C][/ROW]
[ROW][C]52[/C][C]5235[/C][C]5257.81[/C][C]5249.37[/C][C]8.4342[/C][C]-22.8092[/C][/ROW]
[ROW][C]53[/C][C]5164[/C][C]5213.87[/C][C]5214.96[/C][C]-1.08663[/C][C]-49.8717[/C][/ROW]
[ROW][C]54[/C][C]5164[/C][C]5187.51[/C][C]5181.17[/C][C]6.34045[/C][C]-23.5071[/C][/ROW]
[ROW][C]55[/C][C]5172[/C][C]5163.49[/C][C]5150.21[/C][C]13.278[/C][C]8.51372[/C][/ROW]
[ROW][C]56[/C][C]5093[/C][C]5110.71[/C][C]5120.08[/C][C]-9.37205[/C][C]-17.7113[/C][/ROW]
[ROW][C]57[/C][C]5070[/C][C]5089.19[/C][C]5088.96[/C][C]0.227951[/C][C]-19.1863[/C][/ROW]
[ROW][C]58[/C][C]5108[/C][C]NA[/C][C]NA[/C][C]14.08[/C][C]NA[/C][/ROW]
[ROW][C]59[/C][C]5051[/C][C]NA[/C][C]NA[/C][C]0.913368[/C][C]NA[/C][/ROW]
[ROW][C]60[/C][C]5021[/C][C]NA[/C][C]NA[/C][C]-5.9408[/C][C]NA[/C][/ROW]
[ROW][C]61[/C][C]5001[/C][C]NA[/C][C]NA[/C][C]-25.472[/C][C]NA[/C][/ROW]
[ROW][C]62[/C][C]4918[/C][C]NA[/C][C]NA[/C][C]10.0384[/C][C]NA[/C][/ROW]
[ROW][C]63[/C][C]4886[/C][C]NA[/C][C]NA[/C][C]-11.4408[/C][C]NA[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=299315&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=299315&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
16830NANA-25.472NA
26827NANA10.0384NA
36841NANA-11.4408NA
46754NANA8.4342NA
56869NANA-1.08663NA
66809NANA6.34045NA
768366783.196769.9213.27852.8054
8676667436752.38-9.3720522.997
967596729.696729.460.22795129.3137
1067196721.336707.2514.08-2.33003
1167026687.546686.620.91336814.4616
1266276655.646661.58-5.9408-28.6425
1366306603.826629.29-25.47226.1804
1466066601.876591.8310.03844.1283
1565126542.816554.25-11.4408-30.8092
1665506526.026517.588.434223.9825
1765786480.586481.67-1.0866397.42
1864996453.556447.216.3404545.4512
1963716425.366412.0813.278-54.3613
2063326366.926376.29-9.37205-34.9196
2162916346.066345.830.227951-55.0613
2263076329.336315.2514.08-22.33
2362526279.376278.460.913368-27.3717
2462506235.436241.38-5.940814.5658
2561646185.576211.04-25.472-21.5696
2662136193.756183.7110.038419.2533
2761746145.486156.92-11.440828.5241
2861546136.276127.838.434217.7325
2960916094.466095.54-1.08663-3.45503
3060966067.676061.336.3404528.3262
3160466039.696026.4213.2786.30538
3260015982.345991.71-9.3720518.6637
3359795955.815955.580.22795123.1887
3459215931.55917.4214.08-10.4967
3558635878.465877.540.913368-15.455
3658185829.985835.92-5.9408-11.9759
3757585769.825795.29-25.472-11.8196
3857865767.625757.5810.038418.3783
3957345708.895720.33-11.440825.1075
4056785693.525685.088.4342-15.5175
4156105650.715651.79-1.08663-40.705
4255785624.885618.546.34045-46.8821
4355895598.035584.7513.278-9.02795
4455535537.795547.17-9.3720515.2054
4555335507.025506.790.22795125.9804
4655215482.465468.3814.0838.545
4754645432.255431.330.91336831.7533
4854195389.565395.5-5.940829.4408
4953465335.45360.88-25.47210.597
5052965334.375324.3310.0384-38.3717
5152555274.435285.87-11.4408-19.4342
5252355257.815249.378.4342-22.8092
5351645213.875214.96-1.08663-49.8717
5451645187.515181.176.34045-23.5071
5551725163.495150.2113.2788.51372
5650935110.715120.08-9.37205-17.7113
5750705089.195088.960.227951-19.1863
585108NANA14.08NA
595051NANA0.913368NA
605021NANA-5.9408NA
615001NANA-25.472NA
624918NANA10.0384NA
634886NANA-11.4408NA



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