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 computationFri, 15 Dec 2017 10:11:11 +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/2017/Dec/15/t1513329239c83h6tgog8o13l6.htm/, Retrieved Wed, 15 May 2024 06:16:50 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=309621, Retrieved Wed, 15 May 2024 06:16:50 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact99
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-       [Classical Decomposition] [Gemiddelde temp] [2017-12-15 09:11:11] [1ea4e9c673228daef4af35aa2d91fd76] [Current]
Feedback Forum

Post a new message
Dataseries X:
19.2
15.5
8.8
9.6
6.1
1.1
4.7
6.1
9.7
17.5
18,1
18.3
16
14.2
8.5
5.3
4.5
4.8
9.6
10.1
10.2
13.5
19,4
19
16,5
13,1
10,3
6,6
3,3
3,5
4,3
8,8
13,6
16,5
16,2
19,3
16,5
13,5
12,4
9,3
6,6
6,1
6,1
6,4
12,8
14,8
18,6
20,2
15,8
11,1
9
3
1,4
2,1
5,1
7,1
11,1
14,5
19,2
17,3
15,4




Summary of computational transaction
Raw Input view raw input (R code)
Raw Outputview raw output of R engine
Computing time2 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 time2 seconds \tabularnewline
R ServerBig Analytics Cloud Computing Center \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=309621&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]2 seconds[/C][/ROW] [ROW]R Server[/C]Big Analytics Cloud Computing Center[/C][/ROW] [/TABLE] Source: https://freestatistics.org/blog/index.php?pk=309621&T=0

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=309621&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 time2 seconds
R ServerBig Analytics Cloud Computing Center







Classical Decomposition by Moving Averages
tObservationsFitTrendSeasonalRandom
119.2NANA5.29347NA
215.5NANA2.05389NA
38.8NANA-0.896111NA
49.6NANA-4.87944NA
56.1NANA-6.95965NA
61.1NANA-6.78569NA
74.76.1343111.0917-4.95736-1.43431
86.17.5955610.9042-3.30861-1.49556
99.711.297610.83750.460139-1.59764
1017.515.172610.64584.526812.32736
1118.117.544510.47.144510.555486
1218.318.795610.48758.30806-0.495556
131616.139310.84585.29347-0.139306
1414.213.270611.21672.053890.929444
158.510.508111.4042-0.896111-2.00806
165.36.3788911.2583-4.87944-1.07889
174.54.1861811.1458-6.959650.313819
184.84.4434711.2292-6.785690.356528
199.66.3218111.2792-4.957363.27819
2010.17.9455611.2542-3.308612.15444
2110.211.743511.28330.460139-1.54347
2213.515.939311.41254.52681-2.43931
2319.418.561211.41677.144510.838819
241919.620611.31258.30806-0.620556
2516.516.33111.03755.293470.169028
2613.112.816410.76252.053890.283611
2710.39.9538910.85-0.8961110.346111
286.66.2372211.1167-4.879440.362778
293.34.1486811.1083-6.95965-0.848681
303.54.2018110.9875-6.78569-0.701806
314.36.0426411-4.95736-1.74264
328.87.7080611.0167-3.308611.09194
3313.611.58111.12080.4601392.01903
3416.515.847611.32084.526810.652361
3516.218.715311.57087.14451-2.51535
3619.320.124711.81678.30806-0.824722
3716.517.2935125.29347-0.793472
3813.514.028911.9752.05389-0.528889
3912.410.945611.8417-0.8961111.45444
409.36.8580611.7375-4.879442.44194
416.64.8070111.7667-6.959651.79299
426.15.1184711.9042-6.785690.981528
436.16.9551411.9125-4.95736-0.855139
446.48.4747211.7833-3.30861-2.07472
4512.812.001811.54170.4601390.798194
4614.815.664311.13754.52681-0.864306
4718.617.802810.65837.144510.797153
4820.218.583110.2758.308061.61694
4915.815.360110.06675.293470.439861
5011.112.108110.05422.05389-1.00806
5199.1163910.0125-0.896111-0.116389
5235.049729.92917-4.87944-2.04972
531.42.982019.94167-6.95965-1.58201
542.13.060149.84583-6.78569-0.960139
555.14.750979.70833-4.957360.349028
567.1NANA-3.30861NA
5711.1NANA0.460139NA
5814.5NANA4.52681NA
5919.2NANA7.14451NA
6017.3NANA8.30806NA
6115.4NANA5.29347NA

\begin{tabular}{lllllllll}
\hline
Classical Decomposition by Moving Averages \tabularnewline
t & Observations & Fit & Trend & Seasonal & Random \tabularnewline
1 & 19.2 & NA & NA & 5.29347 & NA \tabularnewline
2 & 15.5 & NA & NA & 2.05389 & NA \tabularnewline
3 & 8.8 & NA & NA & -0.896111 & NA \tabularnewline
4 & 9.6 & NA & NA & -4.87944 & NA \tabularnewline
5 & 6.1 & NA & NA & -6.95965 & NA \tabularnewline
6 & 1.1 & NA & NA & -6.78569 & NA \tabularnewline
7 & 4.7 & 6.13431 & 11.0917 & -4.95736 & -1.43431 \tabularnewline
8 & 6.1 & 7.59556 & 10.9042 & -3.30861 & -1.49556 \tabularnewline
9 & 9.7 & 11.2976 & 10.8375 & 0.460139 & -1.59764 \tabularnewline
10 & 17.5 & 15.1726 & 10.6458 & 4.52681 & 2.32736 \tabularnewline
11 & 18.1 & 17.5445 & 10.4 & 7.14451 & 0.555486 \tabularnewline
12 & 18.3 & 18.7956 & 10.4875 & 8.30806 & -0.495556 \tabularnewline
13 & 16 & 16.1393 & 10.8458 & 5.29347 & -0.139306 \tabularnewline
14 & 14.2 & 13.2706 & 11.2167 & 2.05389 & 0.929444 \tabularnewline
15 & 8.5 & 10.5081 & 11.4042 & -0.896111 & -2.00806 \tabularnewline
16 & 5.3 & 6.37889 & 11.2583 & -4.87944 & -1.07889 \tabularnewline
17 & 4.5 & 4.18618 & 11.1458 & -6.95965 & 0.313819 \tabularnewline
18 & 4.8 & 4.44347 & 11.2292 & -6.78569 & 0.356528 \tabularnewline
19 & 9.6 & 6.32181 & 11.2792 & -4.95736 & 3.27819 \tabularnewline
20 & 10.1 & 7.94556 & 11.2542 & -3.30861 & 2.15444 \tabularnewline
21 & 10.2 & 11.7435 & 11.2833 & 0.460139 & -1.54347 \tabularnewline
22 & 13.5 & 15.9393 & 11.4125 & 4.52681 & -2.43931 \tabularnewline
23 & 19.4 & 18.5612 & 11.4167 & 7.14451 & 0.838819 \tabularnewline
24 & 19 & 19.6206 & 11.3125 & 8.30806 & -0.620556 \tabularnewline
25 & 16.5 & 16.331 & 11.0375 & 5.29347 & 0.169028 \tabularnewline
26 & 13.1 & 12.8164 & 10.7625 & 2.05389 & 0.283611 \tabularnewline
27 & 10.3 & 9.95389 & 10.85 & -0.896111 & 0.346111 \tabularnewline
28 & 6.6 & 6.23722 & 11.1167 & -4.87944 & 0.362778 \tabularnewline
29 & 3.3 & 4.14868 & 11.1083 & -6.95965 & -0.848681 \tabularnewline
30 & 3.5 & 4.20181 & 10.9875 & -6.78569 & -0.701806 \tabularnewline
31 & 4.3 & 6.04264 & 11 & -4.95736 & -1.74264 \tabularnewline
32 & 8.8 & 7.70806 & 11.0167 & -3.30861 & 1.09194 \tabularnewline
33 & 13.6 & 11.581 & 11.1208 & 0.460139 & 2.01903 \tabularnewline
34 & 16.5 & 15.8476 & 11.3208 & 4.52681 & 0.652361 \tabularnewline
35 & 16.2 & 18.7153 & 11.5708 & 7.14451 & -2.51535 \tabularnewline
36 & 19.3 & 20.1247 & 11.8167 & 8.30806 & -0.824722 \tabularnewline
37 & 16.5 & 17.2935 & 12 & 5.29347 & -0.793472 \tabularnewline
38 & 13.5 & 14.0289 & 11.975 & 2.05389 & -0.528889 \tabularnewline
39 & 12.4 & 10.9456 & 11.8417 & -0.896111 & 1.45444 \tabularnewline
40 & 9.3 & 6.85806 & 11.7375 & -4.87944 & 2.44194 \tabularnewline
41 & 6.6 & 4.80701 & 11.7667 & -6.95965 & 1.79299 \tabularnewline
42 & 6.1 & 5.11847 & 11.9042 & -6.78569 & 0.981528 \tabularnewline
43 & 6.1 & 6.95514 & 11.9125 & -4.95736 & -0.855139 \tabularnewline
44 & 6.4 & 8.47472 & 11.7833 & -3.30861 & -2.07472 \tabularnewline
45 & 12.8 & 12.0018 & 11.5417 & 0.460139 & 0.798194 \tabularnewline
46 & 14.8 & 15.6643 & 11.1375 & 4.52681 & -0.864306 \tabularnewline
47 & 18.6 & 17.8028 & 10.6583 & 7.14451 & 0.797153 \tabularnewline
48 & 20.2 & 18.5831 & 10.275 & 8.30806 & 1.61694 \tabularnewline
49 & 15.8 & 15.3601 & 10.0667 & 5.29347 & 0.439861 \tabularnewline
50 & 11.1 & 12.1081 & 10.0542 & 2.05389 & -1.00806 \tabularnewline
51 & 9 & 9.11639 & 10.0125 & -0.896111 & -0.116389 \tabularnewline
52 & 3 & 5.04972 & 9.92917 & -4.87944 & -2.04972 \tabularnewline
53 & 1.4 & 2.98201 & 9.94167 & -6.95965 & -1.58201 \tabularnewline
54 & 2.1 & 3.06014 & 9.84583 & -6.78569 & -0.960139 \tabularnewline
55 & 5.1 & 4.75097 & 9.70833 & -4.95736 & 0.349028 \tabularnewline
56 & 7.1 & NA & NA & -3.30861 & NA \tabularnewline
57 & 11.1 & NA & NA & 0.460139 & NA \tabularnewline
58 & 14.5 & NA & NA & 4.52681 & NA \tabularnewline
59 & 19.2 & NA & NA & 7.14451 & NA \tabularnewline
60 & 17.3 & NA & NA & 8.30806 & NA \tabularnewline
61 & 15.4 & NA & NA & 5.29347 & NA \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=309621&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]19.2[/C][C]NA[/C][C]NA[/C][C]5.29347[/C][C]NA[/C][/ROW]
[ROW][C]2[/C][C]15.5[/C][C]NA[/C][C]NA[/C][C]2.05389[/C][C]NA[/C][/ROW]
[ROW][C]3[/C][C]8.8[/C][C]NA[/C][C]NA[/C][C]-0.896111[/C][C]NA[/C][/ROW]
[ROW][C]4[/C][C]9.6[/C][C]NA[/C][C]NA[/C][C]-4.87944[/C][C]NA[/C][/ROW]
[ROW][C]5[/C][C]6.1[/C][C]NA[/C][C]NA[/C][C]-6.95965[/C][C]NA[/C][/ROW]
[ROW][C]6[/C][C]1.1[/C][C]NA[/C][C]NA[/C][C]-6.78569[/C][C]NA[/C][/ROW]
[ROW][C]7[/C][C]4.7[/C][C]6.13431[/C][C]11.0917[/C][C]-4.95736[/C][C]-1.43431[/C][/ROW]
[ROW][C]8[/C][C]6.1[/C][C]7.59556[/C][C]10.9042[/C][C]-3.30861[/C][C]-1.49556[/C][/ROW]
[ROW][C]9[/C][C]9.7[/C][C]11.2976[/C][C]10.8375[/C][C]0.460139[/C][C]-1.59764[/C][/ROW]
[ROW][C]10[/C][C]17.5[/C][C]15.1726[/C][C]10.6458[/C][C]4.52681[/C][C]2.32736[/C][/ROW]
[ROW][C]11[/C][C]18.1[/C][C]17.5445[/C][C]10.4[/C][C]7.14451[/C][C]0.555486[/C][/ROW]
[ROW][C]12[/C][C]18.3[/C][C]18.7956[/C][C]10.4875[/C][C]8.30806[/C][C]-0.495556[/C][/ROW]
[ROW][C]13[/C][C]16[/C][C]16.1393[/C][C]10.8458[/C][C]5.29347[/C][C]-0.139306[/C][/ROW]
[ROW][C]14[/C][C]14.2[/C][C]13.2706[/C][C]11.2167[/C][C]2.05389[/C][C]0.929444[/C][/ROW]
[ROW][C]15[/C][C]8.5[/C][C]10.5081[/C][C]11.4042[/C][C]-0.896111[/C][C]-2.00806[/C][/ROW]
[ROW][C]16[/C][C]5.3[/C][C]6.37889[/C][C]11.2583[/C][C]-4.87944[/C][C]-1.07889[/C][/ROW]
[ROW][C]17[/C][C]4.5[/C][C]4.18618[/C][C]11.1458[/C][C]-6.95965[/C][C]0.313819[/C][/ROW]
[ROW][C]18[/C][C]4.8[/C][C]4.44347[/C][C]11.2292[/C][C]-6.78569[/C][C]0.356528[/C][/ROW]
[ROW][C]19[/C][C]9.6[/C][C]6.32181[/C][C]11.2792[/C][C]-4.95736[/C][C]3.27819[/C][/ROW]
[ROW][C]20[/C][C]10.1[/C][C]7.94556[/C][C]11.2542[/C][C]-3.30861[/C][C]2.15444[/C][/ROW]
[ROW][C]21[/C][C]10.2[/C][C]11.7435[/C][C]11.2833[/C][C]0.460139[/C][C]-1.54347[/C][/ROW]
[ROW][C]22[/C][C]13.5[/C][C]15.9393[/C][C]11.4125[/C][C]4.52681[/C][C]-2.43931[/C][/ROW]
[ROW][C]23[/C][C]19.4[/C][C]18.5612[/C][C]11.4167[/C][C]7.14451[/C][C]0.838819[/C][/ROW]
[ROW][C]24[/C][C]19[/C][C]19.6206[/C][C]11.3125[/C][C]8.30806[/C][C]-0.620556[/C][/ROW]
[ROW][C]25[/C][C]16.5[/C][C]16.331[/C][C]11.0375[/C][C]5.29347[/C][C]0.169028[/C][/ROW]
[ROW][C]26[/C][C]13.1[/C][C]12.8164[/C][C]10.7625[/C][C]2.05389[/C][C]0.283611[/C][/ROW]
[ROW][C]27[/C][C]10.3[/C][C]9.95389[/C][C]10.85[/C][C]-0.896111[/C][C]0.346111[/C][/ROW]
[ROW][C]28[/C][C]6.6[/C][C]6.23722[/C][C]11.1167[/C][C]-4.87944[/C][C]0.362778[/C][/ROW]
[ROW][C]29[/C][C]3.3[/C][C]4.14868[/C][C]11.1083[/C][C]-6.95965[/C][C]-0.848681[/C][/ROW]
[ROW][C]30[/C][C]3.5[/C][C]4.20181[/C][C]10.9875[/C][C]-6.78569[/C][C]-0.701806[/C][/ROW]
[ROW][C]31[/C][C]4.3[/C][C]6.04264[/C][C]11[/C][C]-4.95736[/C][C]-1.74264[/C][/ROW]
[ROW][C]32[/C][C]8.8[/C][C]7.70806[/C][C]11.0167[/C][C]-3.30861[/C][C]1.09194[/C][/ROW]
[ROW][C]33[/C][C]13.6[/C][C]11.581[/C][C]11.1208[/C][C]0.460139[/C][C]2.01903[/C][/ROW]
[ROW][C]34[/C][C]16.5[/C][C]15.8476[/C][C]11.3208[/C][C]4.52681[/C][C]0.652361[/C][/ROW]
[ROW][C]35[/C][C]16.2[/C][C]18.7153[/C][C]11.5708[/C][C]7.14451[/C][C]-2.51535[/C][/ROW]
[ROW][C]36[/C][C]19.3[/C][C]20.1247[/C][C]11.8167[/C][C]8.30806[/C][C]-0.824722[/C][/ROW]
[ROW][C]37[/C][C]16.5[/C][C]17.2935[/C][C]12[/C][C]5.29347[/C][C]-0.793472[/C][/ROW]
[ROW][C]38[/C][C]13.5[/C][C]14.0289[/C][C]11.975[/C][C]2.05389[/C][C]-0.528889[/C][/ROW]
[ROW][C]39[/C][C]12.4[/C][C]10.9456[/C][C]11.8417[/C][C]-0.896111[/C][C]1.45444[/C][/ROW]
[ROW][C]40[/C][C]9.3[/C][C]6.85806[/C][C]11.7375[/C][C]-4.87944[/C][C]2.44194[/C][/ROW]
[ROW][C]41[/C][C]6.6[/C][C]4.80701[/C][C]11.7667[/C][C]-6.95965[/C][C]1.79299[/C][/ROW]
[ROW][C]42[/C][C]6.1[/C][C]5.11847[/C][C]11.9042[/C][C]-6.78569[/C][C]0.981528[/C][/ROW]
[ROW][C]43[/C][C]6.1[/C][C]6.95514[/C][C]11.9125[/C][C]-4.95736[/C][C]-0.855139[/C][/ROW]
[ROW][C]44[/C][C]6.4[/C][C]8.47472[/C][C]11.7833[/C][C]-3.30861[/C][C]-2.07472[/C][/ROW]
[ROW][C]45[/C][C]12.8[/C][C]12.0018[/C][C]11.5417[/C][C]0.460139[/C][C]0.798194[/C][/ROW]
[ROW][C]46[/C][C]14.8[/C][C]15.6643[/C][C]11.1375[/C][C]4.52681[/C][C]-0.864306[/C][/ROW]
[ROW][C]47[/C][C]18.6[/C][C]17.8028[/C][C]10.6583[/C][C]7.14451[/C][C]0.797153[/C][/ROW]
[ROW][C]48[/C][C]20.2[/C][C]18.5831[/C][C]10.275[/C][C]8.30806[/C][C]1.61694[/C][/ROW]
[ROW][C]49[/C][C]15.8[/C][C]15.3601[/C][C]10.0667[/C][C]5.29347[/C][C]0.439861[/C][/ROW]
[ROW][C]50[/C][C]11.1[/C][C]12.1081[/C][C]10.0542[/C][C]2.05389[/C][C]-1.00806[/C][/ROW]
[ROW][C]51[/C][C]9[/C][C]9.11639[/C][C]10.0125[/C][C]-0.896111[/C][C]-0.116389[/C][/ROW]
[ROW][C]52[/C][C]3[/C][C]5.04972[/C][C]9.92917[/C][C]-4.87944[/C][C]-2.04972[/C][/ROW]
[ROW][C]53[/C][C]1.4[/C][C]2.98201[/C][C]9.94167[/C][C]-6.95965[/C][C]-1.58201[/C][/ROW]
[ROW][C]54[/C][C]2.1[/C][C]3.06014[/C][C]9.84583[/C][C]-6.78569[/C][C]-0.960139[/C][/ROW]
[ROW][C]55[/C][C]5.1[/C][C]4.75097[/C][C]9.70833[/C][C]-4.95736[/C][C]0.349028[/C][/ROW]
[ROW][C]56[/C][C]7.1[/C][C]NA[/C][C]NA[/C][C]-3.30861[/C][C]NA[/C][/ROW]
[ROW][C]57[/C][C]11.1[/C][C]NA[/C][C]NA[/C][C]0.460139[/C][C]NA[/C][/ROW]
[ROW][C]58[/C][C]14.5[/C][C]NA[/C][C]NA[/C][C]4.52681[/C][C]NA[/C][/ROW]
[ROW][C]59[/C][C]19.2[/C][C]NA[/C][C]NA[/C][C]7.14451[/C][C]NA[/C][/ROW]
[ROW][C]60[/C][C]17.3[/C][C]NA[/C][C]NA[/C][C]8.30806[/C][C]NA[/C][/ROW]
[ROW][C]61[/C][C]15.4[/C][C]NA[/C][C]NA[/C][C]5.29347[/C][C]NA[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=309621&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=309621&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
119.2NANA5.29347NA
215.5NANA2.05389NA
38.8NANA-0.896111NA
49.6NANA-4.87944NA
56.1NANA-6.95965NA
61.1NANA-6.78569NA
74.76.1343111.0917-4.95736-1.43431
86.17.5955610.9042-3.30861-1.49556
99.711.297610.83750.460139-1.59764
1017.515.172610.64584.526812.32736
1118.117.544510.47.144510.555486
1218.318.795610.48758.30806-0.495556
131616.139310.84585.29347-0.139306
1414.213.270611.21672.053890.929444
158.510.508111.4042-0.896111-2.00806
165.36.3788911.2583-4.87944-1.07889
174.54.1861811.1458-6.959650.313819
184.84.4434711.2292-6.785690.356528
199.66.3218111.2792-4.957363.27819
2010.17.9455611.2542-3.308612.15444
2110.211.743511.28330.460139-1.54347
2213.515.939311.41254.52681-2.43931
2319.418.561211.41677.144510.838819
241919.620611.31258.30806-0.620556
2516.516.33111.03755.293470.169028
2613.112.816410.76252.053890.283611
2710.39.9538910.85-0.8961110.346111
286.66.2372211.1167-4.879440.362778
293.34.1486811.1083-6.95965-0.848681
303.54.2018110.9875-6.78569-0.701806
314.36.0426411-4.95736-1.74264
328.87.7080611.0167-3.308611.09194
3313.611.58111.12080.4601392.01903
3416.515.847611.32084.526810.652361
3516.218.715311.57087.14451-2.51535
3619.320.124711.81678.30806-0.824722
3716.517.2935125.29347-0.793472
3813.514.028911.9752.05389-0.528889
3912.410.945611.8417-0.8961111.45444
409.36.8580611.7375-4.879442.44194
416.64.8070111.7667-6.959651.79299
426.15.1184711.9042-6.785690.981528
436.16.9551411.9125-4.95736-0.855139
446.48.4747211.7833-3.30861-2.07472
4512.812.001811.54170.4601390.798194
4614.815.664311.13754.52681-0.864306
4718.617.802810.65837.144510.797153
4820.218.583110.2758.308061.61694
4915.815.360110.06675.293470.439861
5011.112.108110.05422.05389-1.00806
5199.1163910.0125-0.896111-0.116389
5235.049729.92917-4.87944-2.04972
531.42.982019.94167-6.95965-1.58201
542.13.060149.84583-6.78569-0.960139
555.14.750979.70833-4.957360.349028
567.1NANA-3.30861NA
5711.1NANA0.460139NA
5814.5NANA4.52681NA
5919.2NANA7.14451NA
6017.3NANA8.30806NA
6115.4NANA5.29347NA



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