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 computationTue, 03 Dec 2013 12:05:30 -0500
Cite this page as followsStatistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?v=date/2013/Dec/03/t1386090499emwa4ia4c20f6gy.htm/, Retrieved Tue, 16 Apr 2024 20:48:43 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=230363, Retrieved Tue, 16 Apr 2024 20:48:43 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact91
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-       [Classical Decomposition] [klass decomp] [2013-12-03 17:05:30] [b86744663ec671173a5f381479557f00] [Current]
Feedback Forum

Post a new message
Dataseries X:
4
5
7
5
6
5
3
7
7
11
13
13
9
7
6
3
5
1
5
2
9
4
4
10
8
6
7
0
7
4
5
11
2
4
5
12
10
6
6
8
3
10
2
5
4
3
8
5
7
1
7
4
8
7
10
2
6
6
11
8
8
6
11
15
9
5
10
4
9
3
7
7
9
15
11
10
6
5
6
6
14
11
1
9
13
10
11
7
6
4
6
8
6
7
12
20
10
14
11
13
7
9
8
7
9
10
12
13
11
11
14
10
9
12
8
13
14
15
14
14
15
14
21
10
8
12
13
6
12
12




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

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=230363&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 time5 seconds
R Server'Gwilym Jenkins' @ jenkins.wessa.net







Classical Decomposition by Moving Averages
tObservationsFitTrendSeasonalRandom
14NANA1.64024NA
25NANA0.602739NA
37NANA2.08607NA
45NANA-0.438927NA
56NANA-1.31532NA
65NANA-1.65791NA
735.711077.375-1.66393-2.71107
876.119417.66667-1.547260.880594
977.565247.70833-0.143094-0.565239
10116.761077.58333-0.8222614.23893
11137.906917.458330.4485735.09309
121310.06117.252.811072.93893
1398.806917.166671.640240.193094
1477.644417.041670.602739-0.644406
1569.002746.916672.08607-3.00274
1636.269416.70833-0.438927-3.26941
1754.726356.04167-1.315320.27365
1813.883765.54167-1.65791-2.88376
1953.711075.375-1.663931.28893
2023.744415.29167-1.54726-1.74441
2195.148575.29167-0.1430943.85143
2244.386075.20833-0.822261-0.386073
2345.615245.166670.448573-1.61524
24108.186075.3752.811071.81393
2587.140245.51.640240.859761
2666.477745.8750.602739-0.477739
2778.044415.958332.08607-1.04441
2805.227745.66667-0.438927-5.22774
2974.393025.70833-1.315322.60698
3044.175425.83333-1.65791-0.175424
3154.336076-1.663930.663927
32114.536076.08333-1.547266.46393
3325.898576.04167-0.143094-3.89857
3445.511076.33333-0.822261-1.51107
3556.948576.50.448573-1.94857
36129.394416.583332.811072.60559
37108.348576.708331.640241.65143
3866.936076.333330.602739-0.936073
3968.252746.166672.08607-2.25274
4085.769416.20833-0.4389272.23059
4134.976356.29167-1.31532-1.97635
42104.467096.125-1.657915.53291
4324.044415.70833-1.66393-2.04441
4453.827745.375-1.547261.17226
4545.065245.20833-0.143094-1.06524
4634.261075.08333-0.822261-1.26107
4785.573575.1250.4485732.42643
4858.019415.208332.81107-3.01941
4977.056915.416671.64024-0.0569059
5016.227745.6250.602739-5.22774
5177.669415.583332.08607-0.669406
5245.352745.79167-0.438927-1.35274
5384.726356.04167-1.315323.27365
5474.633766.29167-1.657912.36624
55104.794416.45833-1.663935.20559
5625.161076.70833-1.54726-3.16107
5766.940247.08333-0.143094-0.940239
5866.886077.70833-0.822261-0.886073
59118.656918.208330.4485732.34309
60810.97778.166672.81107-2.97774
6189.723578.083331.64024-1.72357
6268.769418.166670.602739-2.76941
631110.46118.3752.086070.538927
64157.936078.375-0.4389277.06393
6596.768028.08333-1.315322.23198
6656.217097.875-1.65791-1.21709
67106.211077.875-1.663933.78893
6846.744418.29167-1.54726-2.74441
6998.523578.66667-0.1430940.476427
7037.636078.45833-0.822261-4.63607
7178.573578.1250.448573-1.57357
72710.811182.81107-3.81107
7399.473577.833331.64024-0.473573
74158.352747.750.6027396.64726
751110.12778.041672.086070.872261
76108.144418.58333-0.4389271.85559
7767.351358.66667-1.31532-1.35135
7856.842098.5-1.65791-1.84209
7967.086078.75-1.66393-1.08607
8067.161078.70833-1.54726-1.16107
81148.356918.5-0.1430945.64309
82117.552748.375-0.8222613.44726
8318.698578.250.448573-7.69857
84911.01948.208332.81107-2.01941
85139.806918.166671.640243.19309
86108.852748.250.6027391.14726
871110.086182.086070.913927
8877.061077.5-0.438927-0.0610725
8966.476357.79167-1.31532-0.47635
9047.050428.70833-1.65791-3.05042
9167.377749.04167-1.66393-1.37774
9287.536079.08333-1.547260.463927
9369.106919.25-0.143094-3.10691
9478.677749.5-0.822261-1.67774
951210.24029.791670.4485731.75976
962012.852710.04172.811077.14726
971011.973610.33331.64024-1.97357
981410.977710.3750.6027393.02226
991112.544410.45832.08607-1.54441
1001310.269410.7083-0.4389272.73059
10179.5180210.8333-1.31532-2.51802
10298.8837610.5417-1.657910.116242
10388.6277410.2917-1.66393-0.627739
10478.6610710.2083-1.54726-1.66107
105910.065210.2083-0.143094-1.06524
106109.3860710.2083-0.8222610.613927
1071210.615210.16670.4485731.38476
1081313.186110.3752.81107-0.186073
1091112.140210.51.64024-1.14024
1101111.352710.750.602739-0.352739
1111413.294411.20832.086070.705594
1121011.186111.625-0.438927-1.18607
113910.601411.9167-1.31532-1.60135
1141210.383812.0417-1.657911.61624
115810.586112.25-1.66393-2.58607
1161310.994412.5417-1.547262.00559
1171412.815212.9583-0.1430941.18476
1181512.427713.25-0.8222612.57226
1191413.656913.20830.4485730.343094
1201415.977713.16672.81107-1.97774
1211515.015213.3751.64024-0.0152392
1221413.894413.29170.6027390.105594
1232115.002712.91672.086075.99726
1241012.269412.7083-0.438927-2.26941
1258NANA-1.31532NA
12612NANA-1.65791NA
12713NANA-1.66393NA
1286NANA-1.54726NA
12912NANA-0.143094NA
13012NANA-0.822261NA

\begin{tabular}{lllllllll}
\hline
Classical Decomposition by Moving Averages \tabularnewline
t & Observations & Fit & Trend & Seasonal & Random \tabularnewline
1 & 4 & NA & NA & 1.64024 & NA \tabularnewline
2 & 5 & NA & NA & 0.602739 & NA \tabularnewline
3 & 7 & NA & NA & 2.08607 & NA \tabularnewline
4 & 5 & NA & NA & -0.438927 & NA \tabularnewline
5 & 6 & NA & NA & -1.31532 & NA \tabularnewline
6 & 5 & NA & NA & -1.65791 & NA \tabularnewline
7 & 3 & 5.71107 & 7.375 & -1.66393 & -2.71107 \tabularnewline
8 & 7 & 6.11941 & 7.66667 & -1.54726 & 0.880594 \tabularnewline
9 & 7 & 7.56524 & 7.70833 & -0.143094 & -0.565239 \tabularnewline
10 & 11 & 6.76107 & 7.58333 & -0.822261 & 4.23893 \tabularnewline
11 & 13 & 7.90691 & 7.45833 & 0.448573 & 5.09309 \tabularnewline
12 & 13 & 10.0611 & 7.25 & 2.81107 & 2.93893 \tabularnewline
13 & 9 & 8.80691 & 7.16667 & 1.64024 & 0.193094 \tabularnewline
14 & 7 & 7.64441 & 7.04167 & 0.602739 & -0.644406 \tabularnewline
15 & 6 & 9.00274 & 6.91667 & 2.08607 & -3.00274 \tabularnewline
16 & 3 & 6.26941 & 6.70833 & -0.438927 & -3.26941 \tabularnewline
17 & 5 & 4.72635 & 6.04167 & -1.31532 & 0.27365 \tabularnewline
18 & 1 & 3.88376 & 5.54167 & -1.65791 & -2.88376 \tabularnewline
19 & 5 & 3.71107 & 5.375 & -1.66393 & 1.28893 \tabularnewline
20 & 2 & 3.74441 & 5.29167 & -1.54726 & -1.74441 \tabularnewline
21 & 9 & 5.14857 & 5.29167 & -0.143094 & 3.85143 \tabularnewline
22 & 4 & 4.38607 & 5.20833 & -0.822261 & -0.386073 \tabularnewline
23 & 4 & 5.61524 & 5.16667 & 0.448573 & -1.61524 \tabularnewline
24 & 10 & 8.18607 & 5.375 & 2.81107 & 1.81393 \tabularnewline
25 & 8 & 7.14024 & 5.5 & 1.64024 & 0.859761 \tabularnewline
26 & 6 & 6.47774 & 5.875 & 0.602739 & -0.477739 \tabularnewline
27 & 7 & 8.04441 & 5.95833 & 2.08607 & -1.04441 \tabularnewline
28 & 0 & 5.22774 & 5.66667 & -0.438927 & -5.22774 \tabularnewline
29 & 7 & 4.39302 & 5.70833 & -1.31532 & 2.60698 \tabularnewline
30 & 4 & 4.17542 & 5.83333 & -1.65791 & -0.175424 \tabularnewline
31 & 5 & 4.33607 & 6 & -1.66393 & 0.663927 \tabularnewline
32 & 11 & 4.53607 & 6.08333 & -1.54726 & 6.46393 \tabularnewline
33 & 2 & 5.89857 & 6.04167 & -0.143094 & -3.89857 \tabularnewline
34 & 4 & 5.51107 & 6.33333 & -0.822261 & -1.51107 \tabularnewline
35 & 5 & 6.94857 & 6.5 & 0.448573 & -1.94857 \tabularnewline
36 & 12 & 9.39441 & 6.58333 & 2.81107 & 2.60559 \tabularnewline
37 & 10 & 8.34857 & 6.70833 & 1.64024 & 1.65143 \tabularnewline
38 & 6 & 6.93607 & 6.33333 & 0.602739 & -0.936073 \tabularnewline
39 & 6 & 8.25274 & 6.16667 & 2.08607 & -2.25274 \tabularnewline
40 & 8 & 5.76941 & 6.20833 & -0.438927 & 2.23059 \tabularnewline
41 & 3 & 4.97635 & 6.29167 & -1.31532 & -1.97635 \tabularnewline
42 & 10 & 4.46709 & 6.125 & -1.65791 & 5.53291 \tabularnewline
43 & 2 & 4.04441 & 5.70833 & -1.66393 & -2.04441 \tabularnewline
44 & 5 & 3.82774 & 5.375 & -1.54726 & 1.17226 \tabularnewline
45 & 4 & 5.06524 & 5.20833 & -0.143094 & -1.06524 \tabularnewline
46 & 3 & 4.26107 & 5.08333 & -0.822261 & -1.26107 \tabularnewline
47 & 8 & 5.57357 & 5.125 & 0.448573 & 2.42643 \tabularnewline
48 & 5 & 8.01941 & 5.20833 & 2.81107 & -3.01941 \tabularnewline
49 & 7 & 7.05691 & 5.41667 & 1.64024 & -0.0569059 \tabularnewline
50 & 1 & 6.22774 & 5.625 & 0.602739 & -5.22774 \tabularnewline
51 & 7 & 7.66941 & 5.58333 & 2.08607 & -0.669406 \tabularnewline
52 & 4 & 5.35274 & 5.79167 & -0.438927 & -1.35274 \tabularnewline
53 & 8 & 4.72635 & 6.04167 & -1.31532 & 3.27365 \tabularnewline
54 & 7 & 4.63376 & 6.29167 & -1.65791 & 2.36624 \tabularnewline
55 & 10 & 4.79441 & 6.45833 & -1.66393 & 5.20559 \tabularnewline
56 & 2 & 5.16107 & 6.70833 & -1.54726 & -3.16107 \tabularnewline
57 & 6 & 6.94024 & 7.08333 & -0.143094 & -0.940239 \tabularnewline
58 & 6 & 6.88607 & 7.70833 & -0.822261 & -0.886073 \tabularnewline
59 & 11 & 8.65691 & 8.20833 & 0.448573 & 2.34309 \tabularnewline
60 & 8 & 10.9777 & 8.16667 & 2.81107 & -2.97774 \tabularnewline
61 & 8 & 9.72357 & 8.08333 & 1.64024 & -1.72357 \tabularnewline
62 & 6 & 8.76941 & 8.16667 & 0.602739 & -2.76941 \tabularnewline
63 & 11 & 10.4611 & 8.375 & 2.08607 & 0.538927 \tabularnewline
64 & 15 & 7.93607 & 8.375 & -0.438927 & 7.06393 \tabularnewline
65 & 9 & 6.76802 & 8.08333 & -1.31532 & 2.23198 \tabularnewline
66 & 5 & 6.21709 & 7.875 & -1.65791 & -1.21709 \tabularnewline
67 & 10 & 6.21107 & 7.875 & -1.66393 & 3.78893 \tabularnewline
68 & 4 & 6.74441 & 8.29167 & -1.54726 & -2.74441 \tabularnewline
69 & 9 & 8.52357 & 8.66667 & -0.143094 & 0.476427 \tabularnewline
70 & 3 & 7.63607 & 8.45833 & -0.822261 & -4.63607 \tabularnewline
71 & 7 & 8.57357 & 8.125 & 0.448573 & -1.57357 \tabularnewline
72 & 7 & 10.8111 & 8 & 2.81107 & -3.81107 \tabularnewline
73 & 9 & 9.47357 & 7.83333 & 1.64024 & -0.473573 \tabularnewline
74 & 15 & 8.35274 & 7.75 & 0.602739 & 6.64726 \tabularnewline
75 & 11 & 10.1277 & 8.04167 & 2.08607 & 0.872261 \tabularnewline
76 & 10 & 8.14441 & 8.58333 & -0.438927 & 1.85559 \tabularnewline
77 & 6 & 7.35135 & 8.66667 & -1.31532 & -1.35135 \tabularnewline
78 & 5 & 6.84209 & 8.5 & -1.65791 & -1.84209 \tabularnewline
79 & 6 & 7.08607 & 8.75 & -1.66393 & -1.08607 \tabularnewline
80 & 6 & 7.16107 & 8.70833 & -1.54726 & -1.16107 \tabularnewline
81 & 14 & 8.35691 & 8.5 & -0.143094 & 5.64309 \tabularnewline
82 & 11 & 7.55274 & 8.375 & -0.822261 & 3.44726 \tabularnewline
83 & 1 & 8.69857 & 8.25 & 0.448573 & -7.69857 \tabularnewline
84 & 9 & 11.0194 & 8.20833 & 2.81107 & -2.01941 \tabularnewline
85 & 13 & 9.80691 & 8.16667 & 1.64024 & 3.19309 \tabularnewline
86 & 10 & 8.85274 & 8.25 & 0.602739 & 1.14726 \tabularnewline
87 & 11 & 10.0861 & 8 & 2.08607 & 0.913927 \tabularnewline
88 & 7 & 7.06107 & 7.5 & -0.438927 & -0.0610725 \tabularnewline
89 & 6 & 6.47635 & 7.79167 & -1.31532 & -0.47635 \tabularnewline
90 & 4 & 7.05042 & 8.70833 & -1.65791 & -3.05042 \tabularnewline
91 & 6 & 7.37774 & 9.04167 & -1.66393 & -1.37774 \tabularnewline
92 & 8 & 7.53607 & 9.08333 & -1.54726 & 0.463927 \tabularnewline
93 & 6 & 9.10691 & 9.25 & -0.143094 & -3.10691 \tabularnewline
94 & 7 & 8.67774 & 9.5 & -0.822261 & -1.67774 \tabularnewline
95 & 12 & 10.2402 & 9.79167 & 0.448573 & 1.75976 \tabularnewline
96 & 20 & 12.8527 & 10.0417 & 2.81107 & 7.14726 \tabularnewline
97 & 10 & 11.9736 & 10.3333 & 1.64024 & -1.97357 \tabularnewline
98 & 14 & 10.9777 & 10.375 & 0.602739 & 3.02226 \tabularnewline
99 & 11 & 12.5444 & 10.4583 & 2.08607 & -1.54441 \tabularnewline
100 & 13 & 10.2694 & 10.7083 & -0.438927 & 2.73059 \tabularnewline
101 & 7 & 9.51802 & 10.8333 & -1.31532 & -2.51802 \tabularnewline
102 & 9 & 8.88376 & 10.5417 & -1.65791 & 0.116242 \tabularnewline
103 & 8 & 8.62774 & 10.2917 & -1.66393 & -0.627739 \tabularnewline
104 & 7 & 8.66107 & 10.2083 & -1.54726 & -1.66107 \tabularnewline
105 & 9 & 10.0652 & 10.2083 & -0.143094 & -1.06524 \tabularnewline
106 & 10 & 9.38607 & 10.2083 & -0.822261 & 0.613927 \tabularnewline
107 & 12 & 10.6152 & 10.1667 & 0.448573 & 1.38476 \tabularnewline
108 & 13 & 13.1861 & 10.375 & 2.81107 & -0.186073 \tabularnewline
109 & 11 & 12.1402 & 10.5 & 1.64024 & -1.14024 \tabularnewline
110 & 11 & 11.3527 & 10.75 & 0.602739 & -0.352739 \tabularnewline
111 & 14 & 13.2944 & 11.2083 & 2.08607 & 0.705594 \tabularnewline
112 & 10 & 11.1861 & 11.625 & -0.438927 & -1.18607 \tabularnewline
113 & 9 & 10.6014 & 11.9167 & -1.31532 & -1.60135 \tabularnewline
114 & 12 & 10.3838 & 12.0417 & -1.65791 & 1.61624 \tabularnewline
115 & 8 & 10.5861 & 12.25 & -1.66393 & -2.58607 \tabularnewline
116 & 13 & 10.9944 & 12.5417 & -1.54726 & 2.00559 \tabularnewline
117 & 14 & 12.8152 & 12.9583 & -0.143094 & 1.18476 \tabularnewline
118 & 15 & 12.4277 & 13.25 & -0.822261 & 2.57226 \tabularnewline
119 & 14 & 13.6569 & 13.2083 & 0.448573 & 0.343094 \tabularnewline
120 & 14 & 15.9777 & 13.1667 & 2.81107 & -1.97774 \tabularnewline
121 & 15 & 15.0152 & 13.375 & 1.64024 & -0.0152392 \tabularnewline
122 & 14 & 13.8944 & 13.2917 & 0.602739 & 0.105594 \tabularnewline
123 & 21 & 15.0027 & 12.9167 & 2.08607 & 5.99726 \tabularnewline
124 & 10 & 12.2694 & 12.7083 & -0.438927 & -2.26941 \tabularnewline
125 & 8 & NA & NA & -1.31532 & NA \tabularnewline
126 & 12 & NA & NA & -1.65791 & NA \tabularnewline
127 & 13 & NA & NA & -1.66393 & NA \tabularnewline
128 & 6 & NA & NA & -1.54726 & NA \tabularnewline
129 & 12 & NA & NA & -0.143094 & NA \tabularnewline
130 & 12 & NA & NA & -0.822261 & NA \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=230363&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]4[/C][C]NA[/C][C]NA[/C][C]1.64024[/C][C]NA[/C][/ROW]
[ROW][C]2[/C][C]5[/C][C]NA[/C][C]NA[/C][C]0.602739[/C][C]NA[/C][/ROW]
[ROW][C]3[/C][C]7[/C][C]NA[/C][C]NA[/C][C]2.08607[/C][C]NA[/C][/ROW]
[ROW][C]4[/C][C]5[/C][C]NA[/C][C]NA[/C][C]-0.438927[/C][C]NA[/C][/ROW]
[ROW][C]5[/C][C]6[/C][C]NA[/C][C]NA[/C][C]-1.31532[/C][C]NA[/C][/ROW]
[ROW][C]6[/C][C]5[/C][C]NA[/C][C]NA[/C][C]-1.65791[/C][C]NA[/C][/ROW]
[ROW][C]7[/C][C]3[/C][C]5.71107[/C][C]7.375[/C][C]-1.66393[/C][C]-2.71107[/C][/ROW]
[ROW][C]8[/C][C]7[/C][C]6.11941[/C][C]7.66667[/C][C]-1.54726[/C][C]0.880594[/C][/ROW]
[ROW][C]9[/C][C]7[/C][C]7.56524[/C][C]7.70833[/C][C]-0.143094[/C][C]-0.565239[/C][/ROW]
[ROW][C]10[/C][C]11[/C][C]6.76107[/C][C]7.58333[/C][C]-0.822261[/C][C]4.23893[/C][/ROW]
[ROW][C]11[/C][C]13[/C][C]7.90691[/C][C]7.45833[/C][C]0.448573[/C][C]5.09309[/C][/ROW]
[ROW][C]12[/C][C]13[/C][C]10.0611[/C][C]7.25[/C][C]2.81107[/C][C]2.93893[/C][/ROW]
[ROW][C]13[/C][C]9[/C][C]8.80691[/C][C]7.16667[/C][C]1.64024[/C][C]0.193094[/C][/ROW]
[ROW][C]14[/C][C]7[/C][C]7.64441[/C][C]7.04167[/C][C]0.602739[/C][C]-0.644406[/C][/ROW]
[ROW][C]15[/C][C]6[/C][C]9.00274[/C][C]6.91667[/C][C]2.08607[/C][C]-3.00274[/C][/ROW]
[ROW][C]16[/C][C]3[/C][C]6.26941[/C][C]6.70833[/C][C]-0.438927[/C][C]-3.26941[/C][/ROW]
[ROW][C]17[/C][C]5[/C][C]4.72635[/C][C]6.04167[/C][C]-1.31532[/C][C]0.27365[/C][/ROW]
[ROW][C]18[/C][C]1[/C][C]3.88376[/C][C]5.54167[/C][C]-1.65791[/C][C]-2.88376[/C][/ROW]
[ROW][C]19[/C][C]5[/C][C]3.71107[/C][C]5.375[/C][C]-1.66393[/C][C]1.28893[/C][/ROW]
[ROW][C]20[/C][C]2[/C][C]3.74441[/C][C]5.29167[/C][C]-1.54726[/C][C]-1.74441[/C][/ROW]
[ROW][C]21[/C][C]9[/C][C]5.14857[/C][C]5.29167[/C][C]-0.143094[/C][C]3.85143[/C][/ROW]
[ROW][C]22[/C][C]4[/C][C]4.38607[/C][C]5.20833[/C][C]-0.822261[/C][C]-0.386073[/C][/ROW]
[ROW][C]23[/C][C]4[/C][C]5.61524[/C][C]5.16667[/C][C]0.448573[/C][C]-1.61524[/C][/ROW]
[ROW][C]24[/C][C]10[/C][C]8.18607[/C][C]5.375[/C][C]2.81107[/C][C]1.81393[/C][/ROW]
[ROW][C]25[/C][C]8[/C][C]7.14024[/C][C]5.5[/C][C]1.64024[/C][C]0.859761[/C][/ROW]
[ROW][C]26[/C][C]6[/C][C]6.47774[/C][C]5.875[/C][C]0.602739[/C][C]-0.477739[/C][/ROW]
[ROW][C]27[/C][C]7[/C][C]8.04441[/C][C]5.95833[/C][C]2.08607[/C][C]-1.04441[/C][/ROW]
[ROW][C]28[/C][C]0[/C][C]5.22774[/C][C]5.66667[/C][C]-0.438927[/C][C]-5.22774[/C][/ROW]
[ROW][C]29[/C][C]7[/C][C]4.39302[/C][C]5.70833[/C][C]-1.31532[/C][C]2.60698[/C][/ROW]
[ROW][C]30[/C][C]4[/C][C]4.17542[/C][C]5.83333[/C][C]-1.65791[/C][C]-0.175424[/C][/ROW]
[ROW][C]31[/C][C]5[/C][C]4.33607[/C][C]6[/C][C]-1.66393[/C][C]0.663927[/C][/ROW]
[ROW][C]32[/C][C]11[/C][C]4.53607[/C][C]6.08333[/C][C]-1.54726[/C][C]6.46393[/C][/ROW]
[ROW][C]33[/C][C]2[/C][C]5.89857[/C][C]6.04167[/C][C]-0.143094[/C][C]-3.89857[/C][/ROW]
[ROW][C]34[/C][C]4[/C][C]5.51107[/C][C]6.33333[/C][C]-0.822261[/C][C]-1.51107[/C][/ROW]
[ROW][C]35[/C][C]5[/C][C]6.94857[/C][C]6.5[/C][C]0.448573[/C][C]-1.94857[/C][/ROW]
[ROW][C]36[/C][C]12[/C][C]9.39441[/C][C]6.58333[/C][C]2.81107[/C][C]2.60559[/C][/ROW]
[ROW][C]37[/C][C]10[/C][C]8.34857[/C][C]6.70833[/C][C]1.64024[/C][C]1.65143[/C][/ROW]
[ROW][C]38[/C][C]6[/C][C]6.93607[/C][C]6.33333[/C][C]0.602739[/C][C]-0.936073[/C][/ROW]
[ROW][C]39[/C][C]6[/C][C]8.25274[/C][C]6.16667[/C][C]2.08607[/C][C]-2.25274[/C][/ROW]
[ROW][C]40[/C][C]8[/C][C]5.76941[/C][C]6.20833[/C][C]-0.438927[/C][C]2.23059[/C][/ROW]
[ROW][C]41[/C][C]3[/C][C]4.97635[/C][C]6.29167[/C][C]-1.31532[/C][C]-1.97635[/C][/ROW]
[ROW][C]42[/C][C]10[/C][C]4.46709[/C][C]6.125[/C][C]-1.65791[/C][C]5.53291[/C][/ROW]
[ROW][C]43[/C][C]2[/C][C]4.04441[/C][C]5.70833[/C][C]-1.66393[/C][C]-2.04441[/C][/ROW]
[ROW][C]44[/C][C]5[/C][C]3.82774[/C][C]5.375[/C][C]-1.54726[/C][C]1.17226[/C][/ROW]
[ROW][C]45[/C][C]4[/C][C]5.06524[/C][C]5.20833[/C][C]-0.143094[/C][C]-1.06524[/C][/ROW]
[ROW][C]46[/C][C]3[/C][C]4.26107[/C][C]5.08333[/C][C]-0.822261[/C][C]-1.26107[/C][/ROW]
[ROW][C]47[/C][C]8[/C][C]5.57357[/C][C]5.125[/C][C]0.448573[/C][C]2.42643[/C][/ROW]
[ROW][C]48[/C][C]5[/C][C]8.01941[/C][C]5.20833[/C][C]2.81107[/C][C]-3.01941[/C][/ROW]
[ROW][C]49[/C][C]7[/C][C]7.05691[/C][C]5.41667[/C][C]1.64024[/C][C]-0.0569059[/C][/ROW]
[ROW][C]50[/C][C]1[/C][C]6.22774[/C][C]5.625[/C][C]0.602739[/C][C]-5.22774[/C][/ROW]
[ROW][C]51[/C][C]7[/C][C]7.66941[/C][C]5.58333[/C][C]2.08607[/C][C]-0.669406[/C][/ROW]
[ROW][C]52[/C][C]4[/C][C]5.35274[/C][C]5.79167[/C][C]-0.438927[/C][C]-1.35274[/C][/ROW]
[ROW][C]53[/C][C]8[/C][C]4.72635[/C][C]6.04167[/C][C]-1.31532[/C][C]3.27365[/C][/ROW]
[ROW][C]54[/C][C]7[/C][C]4.63376[/C][C]6.29167[/C][C]-1.65791[/C][C]2.36624[/C][/ROW]
[ROW][C]55[/C][C]10[/C][C]4.79441[/C][C]6.45833[/C][C]-1.66393[/C][C]5.20559[/C][/ROW]
[ROW][C]56[/C][C]2[/C][C]5.16107[/C][C]6.70833[/C][C]-1.54726[/C][C]-3.16107[/C][/ROW]
[ROW][C]57[/C][C]6[/C][C]6.94024[/C][C]7.08333[/C][C]-0.143094[/C][C]-0.940239[/C][/ROW]
[ROW][C]58[/C][C]6[/C][C]6.88607[/C][C]7.70833[/C][C]-0.822261[/C][C]-0.886073[/C][/ROW]
[ROW][C]59[/C][C]11[/C][C]8.65691[/C][C]8.20833[/C][C]0.448573[/C][C]2.34309[/C][/ROW]
[ROW][C]60[/C][C]8[/C][C]10.9777[/C][C]8.16667[/C][C]2.81107[/C][C]-2.97774[/C][/ROW]
[ROW][C]61[/C][C]8[/C][C]9.72357[/C][C]8.08333[/C][C]1.64024[/C][C]-1.72357[/C][/ROW]
[ROW][C]62[/C][C]6[/C][C]8.76941[/C][C]8.16667[/C][C]0.602739[/C][C]-2.76941[/C][/ROW]
[ROW][C]63[/C][C]11[/C][C]10.4611[/C][C]8.375[/C][C]2.08607[/C][C]0.538927[/C][/ROW]
[ROW][C]64[/C][C]15[/C][C]7.93607[/C][C]8.375[/C][C]-0.438927[/C][C]7.06393[/C][/ROW]
[ROW][C]65[/C][C]9[/C][C]6.76802[/C][C]8.08333[/C][C]-1.31532[/C][C]2.23198[/C][/ROW]
[ROW][C]66[/C][C]5[/C][C]6.21709[/C][C]7.875[/C][C]-1.65791[/C][C]-1.21709[/C][/ROW]
[ROW][C]67[/C][C]10[/C][C]6.21107[/C][C]7.875[/C][C]-1.66393[/C][C]3.78893[/C][/ROW]
[ROW][C]68[/C][C]4[/C][C]6.74441[/C][C]8.29167[/C][C]-1.54726[/C][C]-2.74441[/C][/ROW]
[ROW][C]69[/C][C]9[/C][C]8.52357[/C][C]8.66667[/C][C]-0.143094[/C][C]0.476427[/C][/ROW]
[ROW][C]70[/C][C]3[/C][C]7.63607[/C][C]8.45833[/C][C]-0.822261[/C][C]-4.63607[/C][/ROW]
[ROW][C]71[/C][C]7[/C][C]8.57357[/C][C]8.125[/C][C]0.448573[/C][C]-1.57357[/C][/ROW]
[ROW][C]72[/C][C]7[/C][C]10.8111[/C][C]8[/C][C]2.81107[/C][C]-3.81107[/C][/ROW]
[ROW][C]73[/C][C]9[/C][C]9.47357[/C][C]7.83333[/C][C]1.64024[/C][C]-0.473573[/C][/ROW]
[ROW][C]74[/C][C]15[/C][C]8.35274[/C][C]7.75[/C][C]0.602739[/C][C]6.64726[/C][/ROW]
[ROW][C]75[/C][C]11[/C][C]10.1277[/C][C]8.04167[/C][C]2.08607[/C][C]0.872261[/C][/ROW]
[ROW][C]76[/C][C]10[/C][C]8.14441[/C][C]8.58333[/C][C]-0.438927[/C][C]1.85559[/C][/ROW]
[ROW][C]77[/C][C]6[/C][C]7.35135[/C][C]8.66667[/C][C]-1.31532[/C][C]-1.35135[/C][/ROW]
[ROW][C]78[/C][C]5[/C][C]6.84209[/C][C]8.5[/C][C]-1.65791[/C][C]-1.84209[/C][/ROW]
[ROW][C]79[/C][C]6[/C][C]7.08607[/C][C]8.75[/C][C]-1.66393[/C][C]-1.08607[/C][/ROW]
[ROW][C]80[/C][C]6[/C][C]7.16107[/C][C]8.70833[/C][C]-1.54726[/C][C]-1.16107[/C][/ROW]
[ROW][C]81[/C][C]14[/C][C]8.35691[/C][C]8.5[/C][C]-0.143094[/C][C]5.64309[/C][/ROW]
[ROW][C]82[/C][C]11[/C][C]7.55274[/C][C]8.375[/C][C]-0.822261[/C][C]3.44726[/C][/ROW]
[ROW][C]83[/C][C]1[/C][C]8.69857[/C][C]8.25[/C][C]0.448573[/C][C]-7.69857[/C][/ROW]
[ROW][C]84[/C][C]9[/C][C]11.0194[/C][C]8.20833[/C][C]2.81107[/C][C]-2.01941[/C][/ROW]
[ROW][C]85[/C][C]13[/C][C]9.80691[/C][C]8.16667[/C][C]1.64024[/C][C]3.19309[/C][/ROW]
[ROW][C]86[/C][C]10[/C][C]8.85274[/C][C]8.25[/C][C]0.602739[/C][C]1.14726[/C][/ROW]
[ROW][C]87[/C][C]11[/C][C]10.0861[/C][C]8[/C][C]2.08607[/C][C]0.913927[/C][/ROW]
[ROW][C]88[/C][C]7[/C][C]7.06107[/C][C]7.5[/C][C]-0.438927[/C][C]-0.0610725[/C][/ROW]
[ROW][C]89[/C][C]6[/C][C]6.47635[/C][C]7.79167[/C][C]-1.31532[/C][C]-0.47635[/C][/ROW]
[ROW][C]90[/C][C]4[/C][C]7.05042[/C][C]8.70833[/C][C]-1.65791[/C][C]-3.05042[/C][/ROW]
[ROW][C]91[/C][C]6[/C][C]7.37774[/C][C]9.04167[/C][C]-1.66393[/C][C]-1.37774[/C][/ROW]
[ROW][C]92[/C][C]8[/C][C]7.53607[/C][C]9.08333[/C][C]-1.54726[/C][C]0.463927[/C][/ROW]
[ROW][C]93[/C][C]6[/C][C]9.10691[/C][C]9.25[/C][C]-0.143094[/C][C]-3.10691[/C][/ROW]
[ROW][C]94[/C][C]7[/C][C]8.67774[/C][C]9.5[/C][C]-0.822261[/C][C]-1.67774[/C][/ROW]
[ROW][C]95[/C][C]12[/C][C]10.2402[/C][C]9.79167[/C][C]0.448573[/C][C]1.75976[/C][/ROW]
[ROW][C]96[/C][C]20[/C][C]12.8527[/C][C]10.0417[/C][C]2.81107[/C][C]7.14726[/C][/ROW]
[ROW][C]97[/C][C]10[/C][C]11.9736[/C][C]10.3333[/C][C]1.64024[/C][C]-1.97357[/C][/ROW]
[ROW][C]98[/C][C]14[/C][C]10.9777[/C][C]10.375[/C][C]0.602739[/C][C]3.02226[/C][/ROW]
[ROW][C]99[/C][C]11[/C][C]12.5444[/C][C]10.4583[/C][C]2.08607[/C][C]-1.54441[/C][/ROW]
[ROW][C]100[/C][C]13[/C][C]10.2694[/C][C]10.7083[/C][C]-0.438927[/C][C]2.73059[/C][/ROW]
[ROW][C]101[/C][C]7[/C][C]9.51802[/C][C]10.8333[/C][C]-1.31532[/C][C]-2.51802[/C][/ROW]
[ROW][C]102[/C][C]9[/C][C]8.88376[/C][C]10.5417[/C][C]-1.65791[/C][C]0.116242[/C][/ROW]
[ROW][C]103[/C][C]8[/C][C]8.62774[/C][C]10.2917[/C][C]-1.66393[/C][C]-0.627739[/C][/ROW]
[ROW][C]104[/C][C]7[/C][C]8.66107[/C][C]10.2083[/C][C]-1.54726[/C][C]-1.66107[/C][/ROW]
[ROW][C]105[/C][C]9[/C][C]10.0652[/C][C]10.2083[/C][C]-0.143094[/C][C]-1.06524[/C][/ROW]
[ROW][C]106[/C][C]10[/C][C]9.38607[/C][C]10.2083[/C][C]-0.822261[/C][C]0.613927[/C][/ROW]
[ROW][C]107[/C][C]12[/C][C]10.6152[/C][C]10.1667[/C][C]0.448573[/C][C]1.38476[/C][/ROW]
[ROW][C]108[/C][C]13[/C][C]13.1861[/C][C]10.375[/C][C]2.81107[/C][C]-0.186073[/C][/ROW]
[ROW][C]109[/C][C]11[/C][C]12.1402[/C][C]10.5[/C][C]1.64024[/C][C]-1.14024[/C][/ROW]
[ROW][C]110[/C][C]11[/C][C]11.3527[/C][C]10.75[/C][C]0.602739[/C][C]-0.352739[/C][/ROW]
[ROW][C]111[/C][C]14[/C][C]13.2944[/C][C]11.2083[/C][C]2.08607[/C][C]0.705594[/C][/ROW]
[ROW][C]112[/C][C]10[/C][C]11.1861[/C][C]11.625[/C][C]-0.438927[/C][C]-1.18607[/C][/ROW]
[ROW][C]113[/C][C]9[/C][C]10.6014[/C][C]11.9167[/C][C]-1.31532[/C][C]-1.60135[/C][/ROW]
[ROW][C]114[/C][C]12[/C][C]10.3838[/C][C]12.0417[/C][C]-1.65791[/C][C]1.61624[/C][/ROW]
[ROW][C]115[/C][C]8[/C][C]10.5861[/C][C]12.25[/C][C]-1.66393[/C][C]-2.58607[/C][/ROW]
[ROW][C]116[/C][C]13[/C][C]10.9944[/C][C]12.5417[/C][C]-1.54726[/C][C]2.00559[/C][/ROW]
[ROW][C]117[/C][C]14[/C][C]12.8152[/C][C]12.9583[/C][C]-0.143094[/C][C]1.18476[/C][/ROW]
[ROW][C]118[/C][C]15[/C][C]12.4277[/C][C]13.25[/C][C]-0.822261[/C][C]2.57226[/C][/ROW]
[ROW][C]119[/C][C]14[/C][C]13.6569[/C][C]13.2083[/C][C]0.448573[/C][C]0.343094[/C][/ROW]
[ROW][C]120[/C][C]14[/C][C]15.9777[/C][C]13.1667[/C][C]2.81107[/C][C]-1.97774[/C][/ROW]
[ROW][C]121[/C][C]15[/C][C]15.0152[/C][C]13.375[/C][C]1.64024[/C][C]-0.0152392[/C][/ROW]
[ROW][C]122[/C][C]14[/C][C]13.8944[/C][C]13.2917[/C][C]0.602739[/C][C]0.105594[/C][/ROW]
[ROW][C]123[/C][C]21[/C][C]15.0027[/C][C]12.9167[/C][C]2.08607[/C][C]5.99726[/C][/ROW]
[ROW][C]124[/C][C]10[/C][C]12.2694[/C][C]12.7083[/C][C]-0.438927[/C][C]-2.26941[/C][/ROW]
[ROW][C]125[/C][C]8[/C][C]NA[/C][C]NA[/C][C]-1.31532[/C][C]NA[/C][/ROW]
[ROW][C]126[/C][C]12[/C][C]NA[/C][C]NA[/C][C]-1.65791[/C][C]NA[/C][/ROW]
[ROW][C]127[/C][C]13[/C][C]NA[/C][C]NA[/C][C]-1.66393[/C][C]NA[/C][/ROW]
[ROW][C]128[/C][C]6[/C][C]NA[/C][C]NA[/C][C]-1.54726[/C][C]NA[/C][/ROW]
[ROW][C]129[/C][C]12[/C][C]NA[/C][C]NA[/C][C]-0.143094[/C][C]NA[/C][/ROW]
[ROW][C]130[/C][C]12[/C][C]NA[/C][C]NA[/C][C]-0.822261[/C][C]NA[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=230363&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=230363&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
14NANA1.64024NA
25NANA0.602739NA
37NANA2.08607NA
45NANA-0.438927NA
56NANA-1.31532NA
65NANA-1.65791NA
735.711077.375-1.66393-2.71107
876.119417.66667-1.547260.880594
977.565247.70833-0.143094-0.565239
10116.761077.58333-0.8222614.23893
11137.906917.458330.4485735.09309
121310.06117.252.811072.93893
1398.806917.166671.640240.193094
1477.644417.041670.602739-0.644406
1569.002746.916672.08607-3.00274
1636.269416.70833-0.438927-3.26941
1754.726356.04167-1.315320.27365
1813.883765.54167-1.65791-2.88376
1953.711075.375-1.663931.28893
2023.744415.29167-1.54726-1.74441
2195.148575.29167-0.1430943.85143
2244.386075.20833-0.822261-0.386073
2345.615245.166670.448573-1.61524
24108.186075.3752.811071.81393
2587.140245.51.640240.859761
2666.477745.8750.602739-0.477739
2778.044415.958332.08607-1.04441
2805.227745.66667-0.438927-5.22774
2974.393025.70833-1.315322.60698
3044.175425.83333-1.65791-0.175424
3154.336076-1.663930.663927
32114.536076.08333-1.547266.46393
3325.898576.04167-0.143094-3.89857
3445.511076.33333-0.822261-1.51107
3556.948576.50.448573-1.94857
36129.394416.583332.811072.60559
37108.348576.708331.640241.65143
3866.936076.333330.602739-0.936073
3968.252746.166672.08607-2.25274
4085.769416.20833-0.4389272.23059
4134.976356.29167-1.31532-1.97635
42104.467096.125-1.657915.53291
4324.044415.70833-1.66393-2.04441
4453.827745.375-1.547261.17226
4545.065245.20833-0.143094-1.06524
4634.261075.08333-0.822261-1.26107
4785.573575.1250.4485732.42643
4858.019415.208332.81107-3.01941
4977.056915.416671.64024-0.0569059
5016.227745.6250.602739-5.22774
5177.669415.583332.08607-0.669406
5245.352745.79167-0.438927-1.35274
5384.726356.04167-1.315323.27365
5474.633766.29167-1.657912.36624
55104.794416.45833-1.663935.20559
5625.161076.70833-1.54726-3.16107
5766.940247.08333-0.143094-0.940239
5866.886077.70833-0.822261-0.886073
59118.656918.208330.4485732.34309
60810.97778.166672.81107-2.97774
6189.723578.083331.64024-1.72357
6268.769418.166670.602739-2.76941
631110.46118.3752.086070.538927
64157.936078.375-0.4389277.06393
6596.768028.08333-1.315322.23198
6656.217097.875-1.65791-1.21709
67106.211077.875-1.663933.78893
6846.744418.29167-1.54726-2.74441
6998.523578.66667-0.1430940.476427
7037.636078.45833-0.822261-4.63607
7178.573578.1250.448573-1.57357
72710.811182.81107-3.81107
7399.473577.833331.64024-0.473573
74158.352747.750.6027396.64726
751110.12778.041672.086070.872261
76108.144418.58333-0.4389271.85559
7767.351358.66667-1.31532-1.35135
7856.842098.5-1.65791-1.84209
7967.086078.75-1.66393-1.08607
8067.161078.70833-1.54726-1.16107
81148.356918.5-0.1430945.64309
82117.552748.375-0.8222613.44726
8318.698578.250.448573-7.69857
84911.01948.208332.81107-2.01941
85139.806918.166671.640243.19309
86108.852748.250.6027391.14726
871110.086182.086070.913927
8877.061077.5-0.438927-0.0610725
8966.476357.79167-1.31532-0.47635
9047.050428.70833-1.65791-3.05042
9167.377749.04167-1.66393-1.37774
9287.536079.08333-1.547260.463927
9369.106919.25-0.143094-3.10691
9478.677749.5-0.822261-1.67774
951210.24029.791670.4485731.75976
962012.852710.04172.811077.14726
971011.973610.33331.64024-1.97357
981410.977710.3750.6027393.02226
991112.544410.45832.08607-1.54441
1001310.269410.7083-0.4389272.73059
10179.5180210.8333-1.31532-2.51802
10298.8837610.5417-1.657910.116242
10388.6277410.2917-1.66393-0.627739
10478.6610710.2083-1.54726-1.66107
105910.065210.2083-0.143094-1.06524
106109.3860710.2083-0.8222610.613927
1071210.615210.16670.4485731.38476
1081313.186110.3752.81107-0.186073
1091112.140210.51.64024-1.14024
1101111.352710.750.602739-0.352739
1111413.294411.20832.086070.705594
1121011.186111.625-0.438927-1.18607
113910.601411.9167-1.31532-1.60135
1141210.383812.0417-1.657911.61624
115810.586112.25-1.66393-2.58607
1161310.994412.5417-1.547262.00559
1171412.815212.9583-0.1430941.18476
1181512.427713.25-0.8222612.57226
1191413.656913.20830.4485730.343094
1201415.977713.16672.81107-1.97774
1211515.015213.3751.64024-0.0152392
1221413.894413.29170.6027390.105594
1232115.002712.91672.086075.99726
1241012.269412.7083-0.438927-2.26941
1258NANA-1.31532NA
12612NANA-1.65791NA
12713NANA-1.66393NA
1286NANA-1.54726NA
12912NANA-0.143094NA
13012NANA-0.822261NA



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