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 computationThu, 15 Dec 2016 13:36:58 +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/15/t1481805436q0c6yfbd1kt6xyn.htm/, Retrieved Fri, 03 May 2024 09:29:07 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=299908, Retrieved Fri, 03 May 2024 09:29:07 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact46
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-       [Classical Decomposition] [] [2016-12-15 12:36:58] [863feeaf19a0ddfce7bd9c25059c4d8a] [Current]
Feedback Forum

Post a new message
Dataseries X:
4790.92
4795.33
4822.62
4797.52
4822.17
4843.08
4850.79
4827.02
4796.65
4854.96
4870.81
4891.06
4881.38
4921.43
4956.21
4962.81
4949.38
4977.99
4992.73
5009.02
4990.98
5014.96
5022.23
5028.83
4894.36
4918.13
4936.4
4899.87
4862.89
4882.69
4895.46
4883.8
4855.4
4874.33
4880.94
4861.79
4851.44
4840.22
4842.42
4827.02
4749.77
4866.63
4734.37
4726.44
4753.51
4867.29
4793.35
4822.4
4865.09
4987.67
4900.96
4904.71
4889.52
5015.63
4938.81
4924.73
4871.48
4998.24
4891.06
4876.54
4824.15




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

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=299908&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
14790.92NANA-18.5329NA
24795.33NANA23.3274NA
34822.62NANA13.6651NA
44797.52NANA0.998156NA
54822.17NANA-36.4178NA
64843.08NANA36.3675NA
74850.794830.464834.01-3.5545120.3312
84827.024824.794843.04-18.24682.23018
94796.654820.364853.86-33.5014-23.7057
104854.964884.634866.3118.316-29.6664
114870.814883.944878.55.44534-13.1333
124891.064901.554889.4212.1339-10.4935
134881.384882.424900.96-18.5329-1.04211
144921.434937.784914.4523.3274-16.3499
154956.214943.84930.1313.665112.4119
164962.814945.894944.90.99815616.9152
174949.384921.454957.87-36.417827.9253
184977.995006.294969.9236.3675-28.2996
194992.734972.654976.2-3.5545120.0812
205009.024958.364976.61-18.246850.6602
214990.984942.144975.64-33.501448.8377
225014.964990.514972.218.31624.4482
235022.234971.414965.975.4453450.8151
245028.834970.534958.3912.133958.3011
254894.364931.844950.37-18.5329-37.4784
264918.134964.434941.123.3274-46.2983
274936.44943.94930.2313.6651-7.4993
284899.874919.724918.730.998156-19.8536
294862.894870.564906.98-36.4178-7.67097
304882.694930.54894.1336.3675-47.8092
314895.464881.834885.38-3.5545113.6312
324883.84862.14880.35-18.246821.6981
334855.44839.694873.19-33.501415.7148
344874.334884.554866.2418.316-10.2214
354880.944863.934858.495.4453417.008
364861.794865.244853.112.1339-3.44805
374851.444827.194845.72-18.532924.25
384840.224855.784832.4523.3274-15.5616
394842.424835.324821.6513.66517.10278
404827.024818.114817.110.9981568.90851
414749.774776.754813.17-36.4178-26.9826
424866.634844.254807.8836.367522.3829
434734.374803.254806.81-3.55451-68.8826
444726.444795.274813.52-18.2468-68.8327
454753.514788.64822.1-33.5014-35.0911
464867.294846.094827.7818.31621.1953
474793.354842.284836.845.44534-48.9341
484822.448614848.8712.1339-38.6039
494865.094845.064863.6-18.532920.0262
504987.674903.74880.3823.327483.9655
514900.964907.224893.5513.6651-6.25972
524904.714904.924903.930.998156-0.214406
534889.524877.044913.45-36.417812.484
545015.634956.154919.7836.367559.4816
554938.814916.784920.33-3.5545122.0337
564924.73NANA-18.2468NA
574871.48NANA-33.5014NA
584998.24NANA18.316NA
594891.06NANA5.44534NA
604876.54NANA12.1339NA
614824.15NANA-18.5329NA

\begin{tabular}{lllllllll}
\hline
Classical Decomposition by Moving Averages \tabularnewline
t & Observations & Fit & Trend & Seasonal & Random \tabularnewline
1 & 4790.92 & NA & NA & -18.5329 & NA \tabularnewline
2 & 4795.33 & NA & NA & 23.3274 & NA \tabularnewline
3 & 4822.62 & NA & NA & 13.6651 & NA \tabularnewline
4 & 4797.52 & NA & NA & 0.998156 & NA \tabularnewline
5 & 4822.17 & NA & NA & -36.4178 & NA \tabularnewline
6 & 4843.08 & NA & NA & 36.3675 & NA \tabularnewline
7 & 4850.79 & 4830.46 & 4834.01 & -3.55451 & 20.3312 \tabularnewline
8 & 4827.02 & 4824.79 & 4843.04 & -18.2468 & 2.23018 \tabularnewline
9 & 4796.65 & 4820.36 & 4853.86 & -33.5014 & -23.7057 \tabularnewline
10 & 4854.96 & 4884.63 & 4866.31 & 18.316 & -29.6664 \tabularnewline
11 & 4870.81 & 4883.94 & 4878.5 & 5.44534 & -13.1333 \tabularnewline
12 & 4891.06 & 4901.55 & 4889.42 & 12.1339 & -10.4935 \tabularnewline
13 & 4881.38 & 4882.42 & 4900.96 & -18.5329 & -1.04211 \tabularnewline
14 & 4921.43 & 4937.78 & 4914.45 & 23.3274 & -16.3499 \tabularnewline
15 & 4956.21 & 4943.8 & 4930.13 & 13.6651 & 12.4119 \tabularnewline
16 & 4962.81 & 4945.89 & 4944.9 & 0.998156 & 16.9152 \tabularnewline
17 & 4949.38 & 4921.45 & 4957.87 & -36.4178 & 27.9253 \tabularnewline
18 & 4977.99 & 5006.29 & 4969.92 & 36.3675 & -28.2996 \tabularnewline
19 & 4992.73 & 4972.65 & 4976.2 & -3.55451 & 20.0812 \tabularnewline
20 & 5009.02 & 4958.36 & 4976.61 & -18.2468 & 50.6602 \tabularnewline
21 & 4990.98 & 4942.14 & 4975.64 & -33.5014 & 48.8377 \tabularnewline
22 & 5014.96 & 4990.51 & 4972.2 & 18.316 & 24.4482 \tabularnewline
23 & 5022.23 & 4971.41 & 4965.97 & 5.44534 & 50.8151 \tabularnewline
24 & 5028.83 & 4970.53 & 4958.39 & 12.1339 & 58.3011 \tabularnewline
25 & 4894.36 & 4931.84 & 4950.37 & -18.5329 & -37.4784 \tabularnewline
26 & 4918.13 & 4964.43 & 4941.1 & 23.3274 & -46.2983 \tabularnewline
27 & 4936.4 & 4943.9 & 4930.23 & 13.6651 & -7.4993 \tabularnewline
28 & 4899.87 & 4919.72 & 4918.73 & 0.998156 & -19.8536 \tabularnewline
29 & 4862.89 & 4870.56 & 4906.98 & -36.4178 & -7.67097 \tabularnewline
30 & 4882.69 & 4930.5 & 4894.13 & 36.3675 & -47.8092 \tabularnewline
31 & 4895.46 & 4881.83 & 4885.38 & -3.55451 & 13.6312 \tabularnewline
32 & 4883.8 & 4862.1 & 4880.35 & -18.2468 & 21.6981 \tabularnewline
33 & 4855.4 & 4839.69 & 4873.19 & -33.5014 & 15.7148 \tabularnewline
34 & 4874.33 & 4884.55 & 4866.24 & 18.316 & -10.2214 \tabularnewline
35 & 4880.94 & 4863.93 & 4858.49 & 5.44534 & 17.008 \tabularnewline
36 & 4861.79 & 4865.24 & 4853.1 & 12.1339 & -3.44805 \tabularnewline
37 & 4851.44 & 4827.19 & 4845.72 & -18.5329 & 24.25 \tabularnewline
38 & 4840.22 & 4855.78 & 4832.45 & 23.3274 & -15.5616 \tabularnewline
39 & 4842.42 & 4835.32 & 4821.65 & 13.6651 & 7.10278 \tabularnewline
40 & 4827.02 & 4818.11 & 4817.11 & 0.998156 & 8.90851 \tabularnewline
41 & 4749.77 & 4776.75 & 4813.17 & -36.4178 & -26.9826 \tabularnewline
42 & 4866.63 & 4844.25 & 4807.88 & 36.3675 & 22.3829 \tabularnewline
43 & 4734.37 & 4803.25 & 4806.81 & -3.55451 & -68.8826 \tabularnewline
44 & 4726.44 & 4795.27 & 4813.52 & -18.2468 & -68.8327 \tabularnewline
45 & 4753.51 & 4788.6 & 4822.1 & -33.5014 & -35.0911 \tabularnewline
46 & 4867.29 & 4846.09 & 4827.78 & 18.316 & 21.1953 \tabularnewline
47 & 4793.35 & 4842.28 & 4836.84 & 5.44534 & -48.9341 \tabularnewline
48 & 4822.4 & 4861 & 4848.87 & 12.1339 & -38.6039 \tabularnewline
49 & 4865.09 & 4845.06 & 4863.6 & -18.5329 & 20.0262 \tabularnewline
50 & 4987.67 & 4903.7 & 4880.38 & 23.3274 & 83.9655 \tabularnewline
51 & 4900.96 & 4907.22 & 4893.55 & 13.6651 & -6.25972 \tabularnewline
52 & 4904.71 & 4904.92 & 4903.93 & 0.998156 & -0.214406 \tabularnewline
53 & 4889.52 & 4877.04 & 4913.45 & -36.4178 & 12.484 \tabularnewline
54 & 5015.63 & 4956.15 & 4919.78 & 36.3675 & 59.4816 \tabularnewline
55 & 4938.81 & 4916.78 & 4920.33 & -3.55451 & 22.0337 \tabularnewline
56 & 4924.73 & NA & NA & -18.2468 & NA \tabularnewline
57 & 4871.48 & NA & NA & -33.5014 & NA \tabularnewline
58 & 4998.24 & NA & NA & 18.316 & NA \tabularnewline
59 & 4891.06 & NA & NA & 5.44534 & NA \tabularnewline
60 & 4876.54 & NA & NA & 12.1339 & NA \tabularnewline
61 & 4824.15 & NA & NA & -18.5329 & NA \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=299908&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]4790.92[/C][C]NA[/C][C]NA[/C][C]-18.5329[/C][C]NA[/C][/ROW]
[ROW][C]2[/C][C]4795.33[/C][C]NA[/C][C]NA[/C][C]23.3274[/C][C]NA[/C][/ROW]
[ROW][C]3[/C][C]4822.62[/C][C]NA[/C][C]NA[/C][C]13.6651[/C][C]NA[/C][/ROW]
[ROW][C]4[/C][C]4797.52[/C][C]NA[/C][C]NA[/C][C]0.998156[/C][C]NA[/C][/ROW]
[ROW][C]5[/C][C]4822.17[/C][C]NA[/C][C]NA[/C][C]-36.4178[/C][C]NA[/C][/ROW]
[ROW][C]6[/C][C]4843.08[/C][C]NA[/C][C]NA[/C][C]36.3675[/C][C]NA[/C][/ROW]
[ROW][C]7[/C][C]4850.79[/C][C]4830.46[/C][C]4834.01[/C][C]-3.55451[/C][C]20.3312[/C][/ROW]
[ROW][C]8[/C][C]4827.02[/C][C]4824.79[/C][C]4843.04[/C][C]-18.2468[/C][C]2.23018[/C][/ROW]
[ROW][C]9[/C][C]4796.65[/C][C]4820.36[/C][C]4853.86[/C][C]-33.5014[/C][C]-23.7057[/C][/ROW]
[ROW][C]10[/C][C]4854.96[/C][C]4884.63[/C][C]4866.31[/C][C]18.316[/C][C]-29.6664[/C][/ROW]
[ROW][C]11[/C][C]4870.81[/C][C]4883.94[/C][C]4878.5[/C][C]5.44534[/C][C]-13.1333[/C][/ROW]
[ROW][C]12[/C][C]4891.06[/C][C]4901.55[/C][C]4889.42[/C][C]12.1339[/C][C]-10.4935[/C][/ROW]
[ROW][C]13[/C][C]4881.38[/C][C]4882.42[/C][C]4900.96[/C][C]-18.5329[/C][C]-1.04211[/C][/ROW]
[ROW][C]14[/C][C]4921.43[/C][C]4937.78[/C][C]4914.45[/C][C]23.3274[/C][C]-16.3499[/C][/ROW]
[ROW][C]15[/C][C]4956.21[/C][C]4943.8[/C][C]4930.13[/C][C]13.6651[/C][C]12.4119[/C][/ROW]
[ROW][C]16[/C][C]4962.81[/C][C]4945.89[/C][C]4944.9[/C][C]0.998156[/C][C]16.9152[/C][/ROW]
[ROW][C]17[/C][C]4949.38[/C][C]4921.45[/C][C]4957.87[/C][C]-36.4178[/C][C]27.9253[/C][/ROW]
[ROW][C]18[/C][C]4977.99[/C][C]5006.29[/C][C]4969.92[/C][C]36.3675[/C][C]-28.2996[/C][/ROW]
[ROW][C]19[/C][C]4992.73[/C][C]4972.65[/C][C]4976.2[/C][C]-3.55451[/C][C]20.0812[/C][/ROW]
[ROW][C]20[/C][C]5009.02[/C][C]4958.36[/C][C]4976.61[/C][C]-18.2468[/C][C]50.6602[/C][/ROW]
[ROW][C]21[/C][C]4990.98[/C][C]4942.14[/C][C]4975.64[/C][C]-33.5014[/C][C]48.8377[/C][/ROW]
[ROW][C]22[/C][C]5014.96[/C][C]4990.51[/C][C]4972.2[/C][C]18.316[/C][C]24.4482[/C][/ROW]
[ROW][C]23[/C][C]5022.23[/C][C]4971.41[/C][C]4965.97[/C][C]5.44534[/C][C]50.8151[/C][/ROW]
[ROW][C]24[/C][C]5028.83[/C][C]4970.53[/C][C]4958.39[/C][C]12.1339[/C][C]58.3011[/C][/ROW]
[ROW][C]25[/C][C]4894.36[/C][C]4931.84[/C][C]4950.37[/C][C]-18.5329[/C][C]-37.4784[/C][/ROW]
[ROW][C]26[/C][C]4918.13[/C][C]4964.43[/C][C]4941.1[/C][C]23.3274[/C][C]-46.2983[/C][/ROW]
[ROW][C]27[/C][C]4936.4[/C][C]4943.9[/C][C]4930.23[/C][C]13.6651[/C][C]-7.4993[/C][/ROW]
[ROW][C]28[/C][C]4899.87[/C][C]4919.72[/C][C]4918.73[/C][C]0.998156[/C][C]-19.8536[/C][/ROW]
[ROW][C]29[/C][C]4862.89[/C][C]4870.56[/C][C]4906.98[/C][C]-36.4178[/C][C]-7.67097[/C][/ROW]
[ROW][C]30[/C][C]4882.69[/C][C]4930.5[/C][C]4894.13[/C][C]36.3675[/C][C]-47.8092[/C][/ROW]
[ROW][C]31[/C][C]4895.46[/C][C]4881.83[/C][C]4885.38[/C][C]-3.55451[/C][C]13.6312[/C][/ROW]
[ROW][C]32[/C][C]4883.8[/C][C]4862.1[/C][C]4880.35[/C][C]-18.2468[/C][C]21.6981[/C][/ROW]
[ROW][C]33[/C][C]4855.4[/C][C]4839.69[/C][C]4873.19[/C][C]-33.5014[/C][C]15.7148[/C][/ROW]
[ROW][C]34[/C][C]4874.33[/C][C]4884.55[/C][C]4866.24[/C][C]18.316[/C][C]-10.2214[/C][/ROW]
[ROW][C]35[/C][C]4880.94[/C][C]4863.93[/C][C]4858.49[/C][C]5.44534[/C][C]17.008[/C][/ROW]
[ROW][C]36[/C][C]4861.79[/C][C]4865.24[/C][C]4853.1[/C][C]12.1339[/C][C]-3.44805[/C][/ROW]
[ROW][C]37[/C][C]4851.44[/C][C]4827.19[/C][C]4845.72[/C][C]-18.5329[/C][C]24.25[/C][/ROW]
[ROW][C]38[/C][C]4840.22[/C][C]4855.78[/C][C]4832.45[/C][C]23.3274[/C][C]-15.5616[/C][/ROW]
[ROW][C]39[/C][C]4842.42[/C][C]4835.32[/C][C]4821.65[/C][C]13.6651[/C][C]7.10278[/C][/ROW]
[ROW][C]40[/C][C]4827.02[/C][C]4818.11[/C][C]4817.11[/C][C]0.998156[/C][C]8.90851[/C][/ROW]
[ROW][C]41[/C][C]4749.77[/C][C]4776.75[/C][C]4813.17[/C][C]-36.4178[/C][C]-26.9826[/C][/ROW]
[ROW][C]42[/C][C]4866.63[/C][C]4844.25[/C][C]4807.88[/C][C]36.3675[/C][C]22.3829[/C][/ROW]
[ROW][C]43[/C][C]4734.37[/C][C]4803.25[/C][C]4806.81[/C][C]-3.55451[/C][C]-68.8826[/C][/ROW]
[ROW][C]44[/C][C]4726.44[/C][C]4795.27[/C][C]4813.52[/C][C]-18.2468[/C][C]-68.8327[/C][/ROW]
[ROW][C]45[/C][C]4753.51[/C][C]4788.6[/C][C]4822.1[/C][C]-33.5014[/C][C]-35.0911[/C][/ROW]
[ROW][C]46[/C][C]4867.29[/C][C]4846.09[/C][C]4827.78[/C][C]18.316[/C][C]21.1953[/C][/ROW]
[ROW][C]47[/C][C]4793.35[/C][C]4842.28[/C][C]4836.84[/C][C]5.44534[/C][C]-48.9341[/C][/ROW]
[ROW][C]48[/C][C]4822.4[/C][C]4861[/C][C]4848.87[/C][C]12.1339[/C][C]-38.6039[/C][/ROW]
[ROW][C]49[/C][C]4865.09[/C][C]4845.06[/C][C]4863.6[/C][C]-18.5329[/C][C]20.0262[/C][/ROW]
[ROW][C]50[/C][C]4987.67[/C][C]4903.7[/C][C]4880.38[/C][C]23.3274[/C][C]83.9655[/C][/ROW]
[ROW][C]51[/C][C]4900.96[/C][C]4907.22[/C][C]4893.55[/C][C]13.6651[/C][C]-6.25972[/C][/ROW]
[ROW][C]52[/C][C]4904.71[/C][C]4904.92[/C][C]4903.93[/C][C]0.998156[/C][C]-0.214406[/C][/ROW]
[ROW][C]53[/C][C]4889.52[/C][C]4877.04[/C][C]4913.45[/C][C]-36.4178[/C][C]12.484[/C][/ROW]
[ROW][C]54[/C][C]5015.63[/C][C]4956.15[/C][C]4919.78[/C][C]36.3675[/C][C]59.4816[/C][/ROW]
[ROW][C]55[/C][C]4938.81[/C][C]4916.78[/C][C]4920.33[/C][C]-3.55451[/C][C]22.0337[/C][/ROW]
[ROW][C]56[/C][C]4924.73[/C][C]NA[/C][C]NA[/C][C]-18.2468[/C][C]NA[/C][/ROW]
[ROW][C]57[/C][C]4871.48[/C][C]NA[/C][C]NA[/C][C]-33.5014[/C][C]NA[/C][/ROW]
[ROW][C]58[/C][C]4998.24[/C][C]NA[/C][C]NA[/C][C]18.316[/C][C]NA[/C][/ROW]
[ROW][C]59[/C][C]4891.06[/C][C]NA[/C][C]NA[/C][C]5.44534[/C][C]NA[/C][/ROW]
[ROW][C]60[/C][C]4876.54[/C][C]NA[/C][C]NA[/C][C]12.1339[/C][C]NA[/C][/ROW]
[ROW][C]61[/C][C]4824.15[/C][C]NA[/C][C]NA[/C][C]-18.5329[/C][C]NA[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=299908&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=299908&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
14790.92NANA-18.5329NA
24795.33NANA23.3274NA
34822.62NANA13.6651NA
44797.52NANA0.998156NA
54822.17NANA-36.4178NA
64843.08NANA36.3675NA
74850.794830.464834.01-3.5545120.3312
84827.024824.794843.04-18.24682.23018
94796.654820.364853.86-33.5014-23.7057
104854.964884.634866.3118.316-29.6664
114870.814883.944878.55.44534-13.1333
124891.064901.554889.4212.1339-10.4935
134881.384882.424900.96-18.5329-1.04211
144921.434937.784914.4523.3274-16.3499
154956.214943.84930.1313.665112.4119
164962.814945.894944.90.99815616.9152
174949.384921.454957.87-36.417827.9253
184977.995006.294969.9236.3675-28.2996
194992.734972.654976.2-3.5545120.0812
205009.024958.364976.61-18.246850.6602
214990.984942.144975.64-33.501448.8377
225014.964990.514972.218.31624.4482
235022.234971.414965.975.4453450.8151
245028.834970.534958.3912.133958.3011
254894.364931.844950.37-18.5329-37.4784
264918.134964.434941.123.3274-46.2983
274936.44943.94930.2313.6651-7.4993
284899.874919.724918.730.998156-19.8536
294862.894870.564906.98-36.4178-7.67097
304882.694930.54894.1336.3675-47.8092
314895.464881.834885.38-3.5545113.6312
324883.84862.14880.35-18.246821.6981
334855.44839.694873.19-33.501415.7148
344874.334884.554866.2418.316-10.2214
354880.944863.934858.495.4453417.008
364861.794865.244853.112.1339-3.44805
374851.444827.194845.72-18.532924.25
384840.224855.784832.4523.3274-15.5616
394842.424835.324821.6513.66517.10278
404827.024818.114817.110.9981568.90851
414749.774776.754813.17-36.4178-26.9826
424866.634844.254807.8836.367522.3829
434734.374803.254806.81-3.55451-68.8826
444726.444795.274813.52-18.2468-68.8327
454753.514788.64822.1-33.5014-35.0911
464867.294846.094827.7818.31621.1953
474793.354842.284836.845.44534-48.9341
484822.448614848.8712.1339-38.6039
494865.094845.064863.6-18.532920.0262
504987.674903.74880.3823.327483.9655
514900.964907.224893.5513.6651-6.25972
524904.714904.924903.930.998156-0.214406
534889.524877.044913.45-36.417812.484
545015.634956.154919.7836.367559.4816
554938.814916.784920.33-3.5545122.0337
564924.73NANA-18.2468NA
574871.48NANA-33.5014NA
584998.24NANA18.316NA
594891.06NANA5.44534NA
604876.54NANA12.1339NA
614824.15NANA-18.5329NA



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