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, 25 Jul 2012 06:58:36 -0400
Cite this page as followsStatistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?v=date/2012/Jul/25/t13432139559865s4gciglrvj8.htm/, Retrieved Sat, 04 May 2024 02:42:29 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=168860, Retrieved Sat, 04 May 2024 02:42:29 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact204
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-     [Classical Decomposition] [Workshop 5: Time ...] [2010-12-07 12:18:30] [eb6e95800005ec22b7fd76eead8d8a59]
-    D    [Classical Decomposition] [Berekening 3] [2012-07-25 10:58:36] [0b94335bf72158573fe52322b9537409] [Current]
Feedback Forum

Post a new message
Dataseries X:
-6
-3
-3
-7
-9
-11
-13
-11
-9
-17
-22
-25
-20
-24
-24
-22
-19
-18
-17
-11
-11
-12
-10
-15
-15
-15
-13
-8
-13
-9
-7
-4
-4
-2
0
-2
-3
1
-2
-1
1
-3
-4
-9
-9
-7
-14
-12
-16
-20
-12
-12
-10
-10




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

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=168860&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'Gertrude Mary Cox' @ cox.wessa.net







Classical Decomposition by Moving Averages
tObservationsFitTrendSeasonalRandom
1-6NANA-1.76736111111111NA
2-3NANA-1.92013888888889NA
3-3NANA-2.28125NA
4-7NANA0.246527777777776NA
5-9NANA-0.0034722222222222NA
6-11NANA0.0381944444444451NA
7-13-11.4479166666667-11.91666666666670.468750000000001-1.55208333333333
8-11-11.6840277777778-13.3751.690972222222220.684027777777779
9-9-13.65625-15.1251.468754.65625
10-17-14.4618055555556-16.6252.16319444444444-2.53819444444444
11-22-16.7673611111111-17.66666666666670.899305555555555-5.23263888888889
12-25-19.3784722222222-18.375-1.00347222222222-5.62152777777778
13-20-20.6006944444444-18.8333333333333-1.767361111111110.600694444444446
14-24-20.9201388888889-19-1.92013888888889-3.07986111111111
15-24-21.3645833333333-19.0833333333333-2.28125-2.63541666666667
16-22-18.7118055555556-18.95833333333330.246527777777776-3.28819444444445
17-19-18.2534722222222-18.25-0.0034722222222222-0.746527777777779
18-18-17.2951388888889-17.33333333333330.0381944444444451-0.704861111111111
19-17-16.2395833333333-16.70833333333330.468750000000001-0.760416666666664
20-11-14.4340277777778-16.1251.690972222222223.43402777777778
21-11-13.8229166666667-15.29166666666671.468752.82291666666667
22-12-12.0868055555556-14.252.163194444444440.0868055555555554
23-10-12.5173611111111-13.41666666666670.8993055555555552.51736111111111
24-15-13.7951388888889-12.7916666666667-1.00347222222222-1.20486111111111
25-15-13.7673611111111-12-1.76736111111111-1.23263888888889
26-15-13.2118055555556-11.2916666666667-1.92013888888889-1.78819444444444
27-13-12.9895833333333-10.7083333333333-2.28125-0.0104166666666661
28-8-9.75347222222222-100.2465277777777761.75347222222222
29-13-9.17013888888889-9.16666666666667-0.0034722222222222-3.82986111111111
30-9-8.17013888888889-8.208333333333330.0381944444444451-0.829861111111112
31-7-6.69791666666667-7.166666666666670.468750000000001-0.302083333333335
32-4-4.30902777777778-61.690972222222220.309027777777778
33-4-3.40625-4.8751.46875-0.593750000000001
34-2-1.96180555555556-4.1252.16319444444444-0.0381944444444438
350-2.35069444444444-3.250.8993055555555552.35069444444444
36-2-3.42013888888889-2.41666666666667-1.003472222222221.42013888888889
37-3-3.80902777777778-2.04166666666667-1.767361111111110.809027777777777
381-4.04513888888889-2.125-1.920138888888895.04513888888889
39-2-4.82291666666667-2.54166666666667-2.281252.82291666666667
40-1-2.71180555555556-2.958333333333330.2465277777777761.71180555555556
411-3.75347222222222-3.75-0.00347222222222224.75347222222222
42-3-4.71180555555556-4.750.03819444444444511.71180555555555
43-4-5.23958333333333-5.708333333333330.4687500000000011.23958333333333
44-9-5.43402777777778-7.1251.69097222222222-3.56597222222222
45-9-6.94791666666667-8.416666666666671.46875-2.05208333333333
46-7-7.12847222222222-9.291666666666672.163194444444440.128472222222223
47-14-9.30902777777778-10.20833333333330.899305555555555-4.69097222222222
48-12-11.9618055555556-10.9583333333333-1.00347222222222-0.0381944444444429
49-16NANANANA
50-20NANANANA
51-12NANANANA
52-12NANANANA
53-10NANANANA
54-10NANANANA

\begin{tabular}{lllllllll}
\hline
Classical Decomposition by Moving Averages \tabularnewline
t & Observations & Fit & Trend & Seasonal & Random \tabularnewline
1 & -6 & NA & NA & -1.76736111111111 & NA \tabularnewline
2 & -3 & NA & NA & -1.92013888888889 & NA \tabularnewline
3 & -3 & NA & NA & -2.28125 & NA \tabularnewline
4 & -7 & NA & NA & 0.246527777777776 & NA \tabularnewline
5 & -9 & NA & NA & -0.0034722222222222 & NA \tabularnewline
6 & -11 & NA & NA & 0.0381944444444451 & NA \tabularnewline
7 & -13 & -11.4479166666667 & -11.9166666666667 & 0.468750000000001 & -1.55208333333333 \tabularnewline
8 & -11 & -11.6840277777778 & -13.375 & 1.69097222222222 & 0.684027777777779 \tabularnewline
9 & -9 & -13.65625 & -15.125 & 1.46875 & 4.65625 \tabularnewline
10 & -17 & -14.4618055555556 & -16.625 & 2.16319444444444 & -2.53819444444444 \tabularnewline
11 & -22 & -16.7673611111111 & -17.6666666666667 & 0.899305555555555 & -5.23263888888889 \tabularnewline
12 & -25 & -19.3784722222222 & -18.375 & -1.00347222222222 & -5.62152777777778 \tabularnewline
13 & -20 & -20.6006944444444 & -18.8333333333333 & -1.76736111111111 & 0.600694444444446 \tabularnewline
14 & -24 & -20.9201388888889 & -19 & -1.92013888888889 & -3.07986111111111 \tabularnewline
15 & -24 & -21.3645833333333 & -19.0833333333333 & -2.28125 & -2.63541666666667 \tabularnewline
16 & -22 & -18.7118055555556 & -18.9583333333333 & 0.246527777777776 & -3.28819444444445 \tabularnewline
17 & -19 & -18.2534722222222 & -18.25 & -0.0034722222222222 & -0.746527777777779 \tabularnewline
18 & -18 & -17.2951388888889 & -17.3333333333333 & 0.0381944444444451 & -0.704861111111111 \tabularnewline
19 & -17 & -16.2395833333333 & -16.7083333333333 & 0.468750000000001 & -0.760416666666664 \tabularnewline
20 & -11 & -14.4340277777778 & -16.125 & 1.69097222222222 & 3.43402777777778 \tabularnewline
21 & -11 & -13.8229166666667 & -15.2916666666667 & 1.46875 & 2.82291666666667 \tabularnewline
22 & -12 & -12.0868055555556 & -14.25 & 2.16319444444444 & 0.0868055555555554 \tabularnewline
23 & -10 & -12.5173611111111 & -13.4166666666667 & 0.899305555555555 & 2.51736111111111 \tabularnewline
24 & -15 & -13.7951388888889 & -12.7916666666667 & -1.00347222222222 & -1.20486111111111 \tabularnewline
25 & -15 & -13.7673611111111 & -12 & -1.76736111111111 & -1.23263888888889 \tabularnewline
26 & -15 & -13.2118055555556 & -11.2916666666667 & -1.92013888888889 & -1.78819444444444 \tabularnewline
27 & -13 & -12.9895833333333 & -10.7083333333333 & -2.28125 & -0.0104166666666661 \tabularnewline
28 & -8 & -9.75347222222222 & -10 & 0.246527777777776 & 1.75347222222222 \tabularnewline
29 & -13 & -9.17013888888889 & -9.16666666666667 & -0.0034722222222222 & -3.82986111111111 \tabularnewline
30 & -9 & -8.17013888888889 & -8.20833333333333 & 0.0381944444444451 & -0.829861111111112 \tabularnewline
31 & -7 & -6.69791666666667 & -7.16666666666667 & 0.468750000000001 & -0.302083333333335 \tabularnewline
32 & -4 & -4.30902777777778 & -6 & 1.69097222222222 & 0.309027777777778 \tabularnewline
33 & -4 & -3.40625 & -4.875 & 1.46875 & -0.593750000000001 \tabularnewline
34 & -2 & -1.96180555555556 & -4.125 & 2.16319444444444 & -0.0381944444444438 \tabularnewline
35 & 0 & -2.35069444444444 & -3.25 & 0.899305555555555 & 2.35069444444444 \tabularnewline
36 & -2 & -3.42013888888889 & -2.41666666666667 & -1.00347222222222 & 1.42013888888889 \tabularnewline
37 & -3 & -3.80902777777778 & -2.04166666666667 & -1.76736111111111 & 0.809027777777777 \tabularnewline
38 & 1 & -4.04513888888889 & -2.125 & -1.92013888888889 & 5.04513888888889 \tabularnewline
39 & -2 & -4.82291666666667 & -2.54166666666667 & -2.28125 & 2.82291666666667 \tabularnewline
40 & -1 & -2.71180555555556 & -2.95833333333333 & 0.246527777777776 & 1.71180555555556 \tabularnewline
41 & 1 & -3.75347222222222 & -3.75 & -0.0034722222222222 & 4.75347222222222 \tabularnewline
42 & -3 & -4.71180555555556 & -4.75 & 0.0381944444444451 & 1.71180555555555 \tabularnewline
43 & -4 & -5.23958333333333 & -5.70833333333333 & 0.468750000000001 & 1.23958333333333 \tabularnewline
44 & -9 & -5.43402777777778 & -7.125 & 1.69097222222222 & -3.56597222222222 \tabularnewline
45 & -9 & -6.94791666666667 & -8.41666666666667 & 1.46875 & -2.05208333333333 \tabularnewline
46 & -7 & -7.12847222222222 & -9.29166666666667 & 2.16319444444444 & 0.128472222222223 \tabularnewline
47 & -14 & -9.30902777777778 & -10.2083333333333 & 0.899305555555555 & -4.69097222222222 \tabularnewline
48 & -12 & -11.9618055555556 & -10.9583333333333 & -1.00347222222222 & -0.0381944444444429 \tabularnewline
49 & -16 & NA & NA & NA & NA \tabularnewline
50 & -20 & NA & NA & NA & NA \tabularnewline
51 & -12 & NA & NA & NA & NA \tabularnewline
52 & -12 & NA & NA & NA & NA \tabularnewline
53 & -10 & NA & NA & NA & NA \tabularnewline
54 & -10 & NA & NA & NA & NA \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=168860&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]-6[/C][C]NA[/C][C]NA[/C][C]-1.76736111111111[/C][C]NA[/C][/ROW]
[ROW][C]2[/C][C]-3[/C][C]NA[/C][C]NA[/C][C]-1.92013888888889[/C][C]NA[/C][/ROW]
[ROW][C]3[/C][C]-3[/C][C]NA[/C][C]NA[/C][C]-2.28125[/C][C]NA[/C][/ROW]
[ROW][C]4[/C][C]-7[/C][C]NA[/C][C]NA[/C][C]0.246527777777776[/C][C]NA[/C][/ROW]
[ROW][C]5[/C][C]-9[/C][C]NA[/C][C]NA[/C][C]-0.0034722222222222[/C][C]NA[/C][/ROW]
[ROW][C]6[/C][C]-11[/C][C]NA[/C][C]NA[/C][C]0.0381944444444451[/C][C]NA[/C][/ROW]
[ROW][C]7[/C][C]-13[/C][C]-11.4479166666667[/C][C]-11.9166666666667[/C][C]0.468750000000001[/C][C]-1.55208333333333[/C][/ROW]
[ROW][C]8[/C][C]-11[/C][C]-11.6840277777778[/C][C]-13.375[/C][C]1.69097222222222[/C][C]0.684027777777779[/C][/ROW]
[ROW][C]9[/C][C]-9[/C][C]-13.65625[/C][C]-15.125[/C][C]1.46875[/C][C]4.65625[/C][/ROW]
[ROW][C]10[/C][C]-17[/C][C]-14.4618055555556[/C][C]-16.625[/C][C]2.16319444444444[/C][C]-2.53819444444444[/C][/ROW]
[ROW][C]11[/C][C]-22[/C][C]-16.7673611111111[/C][C]-17.6666666666667[/C][C]0.899305555555555[/C][C]-5.23263888888889[/C][/ROW]
[ROW][C]12[/C][C]-25[/C][C]-19.3784722222222[/C][C]-18.375[/C][C]-1.00347222222222[/C][C]-5.62152777777778[/C][/ROW]
[ROW][C]13[/C][C]-20[/C][C]-20.6006944444444[/C][C]-18.8333333333333[/C][C]-1.76736111111111[/C][C]0.600694444444446[/C][/ROW]
[ROW][C]14[/C][C]-24[/C][C]-20.9201388888889[/C][C]-19[/C][C]-1.92013888888889[/C][C]-3.07986111111111[/C][/ROW]
[ROW][C]15[/C][C]-24[/C][C]-21.3645833333333[/C][C]-19.0833333333333[/C][C]-2.28125[/C][C]-2.63541666666667[/C][/ROW]
[ROW][C]16[/C][C]-22[/C][C]-18.7118055555556[/C][C]-18.9583333333333[/C][C]0.246527777777776[/C][C]-3.28819444444445[/C][/ROW]
[ROW][C]17[/C][C]-19[/C][C]-18.2534722222222[/C][C]-18.25[/C][C]-0.0034722222222222[/C][C]-0.746527777777779[/C][/ROW]
[ROW][C]18[/C][C]-18[/C][C]-17.2951388888889[/C][C]-17.3333333333333[/C][C]0.0381944444444451[/C][C]-0.704861111111111[/C][/ROW]
[ROW][C]19[/C][C]-17[/C][C]-16.2395833333333[/C][C]-16.7083333333333[/C][C]0.468750000000001[/C][C]-0.760416666666664[/C][/ROW]
[ROW][C]20[/C][C]-11[/C][C]-14.4340277777778[/C][C]-16.125[/C][C]1.69097222222222[/C][C]3.43402777777778[/C][/ROW]
[ROW][C]21[/C][C]-11[/C][C]-13.8229166666667[/C][C]-15.2916666666667[/C][C]1.46875[/C][C]2.82291666666667[/C][/ROW]
[ROW][C]22[/C][C]-12[/C][C]-12.0868055555556[/C][C]-14.25[/C][C]2.16319444444444[/C][C]0.0868055555555554[/C][/ROW]
[ROW][C]23[/C][C]-10[/C][C]-12.5173611111111[/C][C]-13.4166666666667[/C][C]0.899305555555555[/C][C]2.51736111111111[/C][/ROW]
[ROW][C]24[/C][C]-15[/C][C]-13.7951388888889[/C][C]-12.7916666666667[/C][C]-1.00347222222222[/C][C]-1.20486111111111[/C][/ROW]
[ROW][C]25[/C][C]-15[/C][C]-13.7673611111111[/C][C]-12[/C][C]-1.76736111111111[/C][C]-1.23263888888889[/C][/ROW]
[ROW][C]26[/C][C]-15[/C][C]-13.2118055555556[/C][C]-11.2916666666667[/C][C]-1.92013888888889[/C][C]-1.78819444444444[/C][/ROW]
[ROW][C]27[/C][C]-13[/C][C]-12.9895833333333[/C][C]-10.7083333333333[/C][C]-2.28125[/C][C]-0.0104166666666661[/C][/ROW]
[ROW][C]28[/C][C]-8[/C][C]-9.75347222222222[/C][C]-10[/C][C]0.246527777777776[/C][C]1.75347222222222[/C][/ROW]
[ROW][C]29[/C][C]-13[/C][C]-9.17013888888889[/C][C]-9.16666666666667[/C][C]-0.0034722222222222[/C][C]-3.82986111111111[/C][/ROW]
[ROW][C]30[/C][C]-9[/C][C]-8.17013888888889[/C][C]-8.20833333333333[/C][C]0.0381944444444451[/C][C]-0.829861111111112[/C][/ROW]
[ROW][C]31[/C][C]-7[/C][C]-6.69791666666667[/C][C]-7.16666666666667[/C][C]0.468750000000001[/C][C]-0.302083333333335[/C][/ROW]
[ROW][C]32[/C][C]-4[/C][C]-4.30902777777778[/C][C]-6[/C][C]1.69097222222222[/C][C]0.309027777777778[/C][/ROW]
[ROW][C]33[/C][C]-4[/C][C]-3.40625[/C][C]-4.875[/C][C]1.46875[/C][C]-0.593750000000001[/C][/ROW]
[ROW][C]34[/C][C]-2[/C][C]-1.96180555555556[/C][C]-4.125[/C][C]2.16319444444444[/C][C]-0.0381944444444438[/C][/ROW]
[ROW][C]35[/C][C]0[/C][C]-2.35069444444444[/C][C]-3.25[/C][C]0.899305555555555[/C][C]2.35069444444444[/C][/ROW]
[ROW][C]36[/C][C]-2[/C][C]-3.42013888888889[/C][C]-2.41666666666667[/C][C]-1.00347222222222[/C][C]1.42013888888889[/C][/ROW]
[ROW][C]37[/C][C]-3[/C][C]-3.80902777777778[/C][C]-2.04166666666667[/C][C]-1.76736111111111[/C][C]0.809027777777777[/C][/ROW]
[ROW][C]38[/C][C]1[/C][C]-4.04513888888889[/C][C]-2.125[/C][C]-1.92013888888889[/C][C]5.04513888888889[/C][/ROW]
[ROW][C]39[/C][C]-2[/C][C]-4.82291666666667[/C][C]-2.54166666666667[/C][C]-2.28125[/C][C]2.82291666666667[/C][/ROW]
[ROW][C]40[/C][C]-1[/C][C]-2.71180555555556[/C][C]-2.95833333333333[/C][C]0.246527777777776[/C][C]1.71180555555556[/C][/ROW]
[ROW][C]41[/C][C]1[/C][C]-3.75347222222222[/C][C]-3.75[/C][C]-0.0034722222222222[/C][C]4.75347222222222[/C][/ROW]
[ROW][C]42[/C][C]-3[/C][C]-4.71180555555556[/C][C]-4.75[/C][C]0.0381944444444451[/C][C]1.71180555555555[/C][/ROW]
[ROW][C]43[/C][C]-4[/C][C]-5.23958333333333[/C][C]-5.70833333333333[/C][C]0.468750000000001[/C][C]1.23958333333333[/C][/ROW]
[ROW][C]44[/C][C]-9[/C][C]-5.43402777777778[/C][C]-7.125[/C][C]1.69097222222222[/C][C]-3.56597222222222[/C][/ROW]
[ROW][C]45[/C][C]-9[/C][C]-6.94791666666667[/C][C]-8.41666666666667[/C][C]1.46875[/C][C]-2.05208333333333[/C][/ROW]
[ROW][C]46[/C][C]-7[/C][C]-7.12847222222222[/C][C]-9.29166666666667[/C][C]2.16319444444444[/C][C]0.128472222222223[/C][/ROW]
[ROW][C]47[/C][C]-14[/C][C]-9.30902777777778[/C][C]-10.2083333333333[/C][C]0.899305555555555[/C][C]-4.69097222222222[/C][/ROW]
[ROW][C]48[/C][C]-12[/C][C]-11.9618055555556[/C][C]-10.9583333333333[/C][C]-1.00347222222222[/C][C]-0.0381944444444429[/C][/ROW]
[ROW][C]49[/C][C]-16[/C][C]NA[/C][C]NA[/C][C]NA[/C][C]NA[/C][/ROW]
[ROW][C]50[/C][C]-20[/C][C]NA[/C][C]NA[/C][C]NA[/C][C]NA[/C][/ROW]
[ROW][C]51[/C][C]-12[/C][C]NA[/C][C]NA[/C][C]NA[/C][C]NA[/C][/ROW]
[ROW][C]52[/C][C]-12[/C][C]NA[/C][C]NA[/C][C]NA[/C][C]NA[/C][/ROW]
[ROW][C]53[/C][C]-10[/C][C]NA[/C][C]NA[/C][C]NA[/C][C]NA[/C][/ROW]
[ROW][C]54[/C][C]-10[/C][C]NA[/C][C]NA[/C][C]NA[/C][C]NA[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=168860&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=168860&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
1-6NANA-1.76736111111111NA
2-3NANA-1.92013888888889NA
3-3NANA-2.28125NA
4-7NANA0.246527777777776NA
5-9NANA-0.0034722222222222NA
6-11NANA0.0381944444444451NA
7-13-11.4479166666667-11.91666666666670.468750000000001-1.55208333333333
8-11-11.6840277777778-13.3751.690972222222220.684027777777779
9-9-13.65625-15.1251.468754.65625
10-17-14.4618055555556-16.6252.16319444444444-2.53819444444444
11-22-16.7673611111111-17.66666666666670.899305555555555-5.23263888888889
12-25-19.3784722222222-18.375-1.00347222222222-5.62152777777778
13-20-20.6006944444444-18.8333333333333-1.767361111111110.600694444444446
14-24-20.9201388888889-19-1.92013888888889-3.07986111111111
15-24-21.3645833333333-19.0833333333333-2.28125-2.63541666666667
16-22-18.7118055555556-18.95833333333330.246527777777776-3.28819444444445
17-19-18.2534722222222-18.25-0.0034722222222222-0.746527777777779
18-18-17.2951388888889-17.33333333333330.0381944444444451-0.704861111111111
19-17-16.2395833333333-16.70833333333330.468750000000001-0.760416666666664
20-11-14.4340277777778-16.1251.690972222222223.43402777777778
21-11-13.8229166666667-15.29166666666671.468752.82291666666667
22-12-12.0868055555556-14.252.163194444444440.0868055555555554
23-10-12.5173611111111-13.41666666666670.8993055555555552.51736111111111
24-15-13.7951388888889-12.7916666666667-1.00347222222222-1.20486111111111
25-15-13.7673611111111-12-1.76736111111111-1.23263888888889
26-15-13.2118055555556-11.2916666666667-1.92013888888889-1.78819444444444
27-13-12.9895833333333-10.7083333333333-2.28125-0.0104166666666661
28-8-9.75347222222222-100.2465277777777761.75347222222222
29-13-9.17013888888889-9.16666666666667-0.0034722222222222-3.82986111111111
30-9-8.17013888888889-8.208333333333330.0381944444444451-0.829861111111112
31-7-6.69791666666667-7.166666666666670.468750000000001-0.302083333333335
32-4-4.30902777777778-61.690972222222220.309027777777778
33-4-3.40625-4.8751.46875-0.593750000000001
34-2-1.96180555555556-4.1252.16319444444444-0.0381944444444438
350-2.35069444444444-3.250.8993055555555552.35069444444444
36-2-3.42013888888889-2.41666666666667-1.003472222222221.42013888888889
37-3-3.80902777777778-2.04166666666667-1.767361111111110.809027777777777
381-4.04513888888889-2.125-1.920138888888895.04513888888889
39-2-4.82291666666667-2.54166666666667-2.281252.82291666666667
40-1-2.71180555555556-2.958333333333330.2465277777777761.71180555555556
411-3.75347222222222-3.75-0.00347222222222224.75347222222222
42-3-4.71180555555556-4.750.03819444444444511.71180555555555
43-4-5.23958333333333-5.708333333333330.4687500000000011.23958333333333
44-9-5.43402777777778-7.1251.69097222222222-3.56597222222222
45-9-6.94791666666667-8.416666666666671.46875-2.05208333333333
46-7-7.12847222222222-9.291666666666672.163194444444440.128472222222223
47-14-9.30902777777778-10.20833333333330.899305555555555-4.69097222222222
48-12-11.9618055555556-10.9583333333333-1.00347222222222-0.0381944444444429
49-16NANANANA
50-20NANANANA
51-12NANANANA
52-12NANANANA
53-10NANANANA
54-10NANANANA



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,m$trend[i]+m$seasonal[i]) else a<-table.element(a,m$trend[i]*m$seasonal[i])
a<-table.element(a,m$trend[i])
a<-table.element(a,m$seasonal[i])
a<-table.element(a,m$random[i])
a<-table.row.end(a)
}
a<-table.end(a)
table.save(a,file='mytable.tab')