Free Statistics

of Irreproducible Research!

Author's title

Author*Unverified author*
R Software Modulerwasp_decompose.wasp
Title produced by softwareClassical Decomposition
Date of computationSun, 30 Nov 2014 13:26:16 +0000
Cite this page as followsStatistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?v=date/2014/Nov/30/t1417354002m45evi7c12kpme2.htm/, Retrieved Sun, 19 May 2024 16:32:00 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=261399, Retrieved Sun, 19 May 2024 16:32:00 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact70
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-       [Classical Decomposition] [] [2014-11-30 13:26:16] [2f27692a17e58baa8638275162e45e6c] [Current]
Feedback Forum

Post a new message
Dataseries X:
105
101
95
93
84
87
116
120
117
109
105
107
109
109
108
107
99
103
131
137
135
124
118
121
121
118
113
107
100
102
130
136
133
120
112
109
110
106
102
98
92
92
120
127
124
114
108
106
111
110
104
100
96
98
122
134
133
125
118
116
118
116
111
108
102
102
129
136
137
126
119
117




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

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=261399&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
1105NANA1.0025NA
2101NANA0.982858NA
395NANA0.943455NA
493NANA0.909438NA
584NANA0.853313NA
687NANA0.865629NA
7116114.379103.4171.106011.01417
8120121.14103.9171.165740.99059
9117119.613104.7921.141430.978157
10109111.229105.9171.050160.979958
11105106.356107.1250.9928180.987254
12107106.969108.4170.9866491.00029
13109109.983109.7081.00250.991062
14109109.138111.0420.9828580.998734
15108106.139112.50.9434551.01754
16107103.562113.8750.9094381.03319
179998.1665115.0420.8533131.00849
18103100.557116.1670.8656291.02429
19131129.679117.251.106011.01019
20137137.703118.1251.165740.994894
21135135.498118.7081.141430.996327
22124124.881118.9171.050160.992943
23118118.104118.9580.9928180.999119
24121117.37118.9580.9866491.03093
25121119.173118.8751.00251.01533
26118116.755118.7920.9828581.01066
27113111.957118.6670.9434551.00932
28107107.693118.4170.9094380.993568
29100100.6911180.8533130.993138
30102101.495117.250.8656291.00498
31130128.619116.2921.106011.01074
32136134.449115.3331.165741.01154
33133130.551114.3751.141431.01876
34120119.237113.5421.050161.0064
35112112.023112.8330.9928180.999795
36109110.587112.0830.9866490.98565
37110111.529111.251.00250.986295
38106108.565110.4580.9828580.976375
39102103.505109.7080.9434550.985461
409899.2046109.0830.9094380.987858
419292.7267108.6670.8533130.992163
429293.8125108.3750.8656290.980679
43120119.771108.2921.106011.00191
44127126.483108.51.165741.00409
45124124.131108.751.141430.998945
46114114.38108.9171.050160.99668
47108108.383109.1670.9928180.996469
48106108.12109.5830.9866490.98039
49111110.192109.9171.00251.00733
50110108.401110.2920.9828581.01475
51104104.684110.9580.9434550.993465
52100101.668111.7920.9094380.983597
539696.1399112.6670.8533130.998545
549898.2489113.50.8656290.997467
55122126.315114.2081.106010.965839
56134133.769114.751.165741.00173
57133131.598115.2921.141431.01066
58125121.731115.9171.050161.02686
59118115.663116.50.9928181.0202
60116115.356116.9170.9866491.00559
61118117.669117.3751.00251.00281
62116115.732117.750.9828581.00232
63111111.3281180.9434550.997057
64108107.503118.2080.9094381.00462
65102100.94118.2920.8533131.0105
66102102.469118.3750.8656290.995425
67129NANA1.10601NA
68136NANA1.16574NA
69137NANA1.14143NA
70126NANA1.05016NA
71119NANA0.992818NA
72117NANA0.986649NA

\begin{tabular}{lllllllll}
\hline
Classical Decomposition by Moving Averages \tabularnewline
t & Observations & Fit & Trend & Seasonal & Random \tabularnewline
1 & 105 & NA & NA & 1.0025 & NA \tabularnewline
2 & 101 & NA & NA & 0.982858 & NA \tabularnewline
3 & 95 & NA & NA & 0.943455 & NA \tabularnewline
4 & 93 & NA & NA & 0.909438 & NA \tabularnewline
5 & 84 & NA & NA & 0.853313 & NA \tabularnewline
6 & 87 & NA & NA & 0.865629 & NA \tabularnewline
7 & 116 & 114.379 & 103.417 & 1.10601 & 1.01417 \tabularnewline
8 & 120 & 121.14 & 103.917 & 1.16574 & 0.99059 \tabularnewline
9 & 117 & 119.613 & 104.792 & 1.14143 & 0.978157 \tabularnewline
10 & 109 & 111.229 & 105.917 & 1.05016 & 0.979958 \tabularnewline
11 & 105 & 106.356 & 107.125 & 0.992818 & 0.987254 \tabularnewline
12 & 107 & 106.969 & 108.417 & 0.986649 & 1.00029 \tabularnewline
13 & 109 & 109.983 & 109.708 & 1.0025 & 0.991062 \tabularnewline
14 & 109 & 109.138 & 111.042 & 0.982858 & 0.998734 \tabularnewline
15 & 108 & 106.139 & 112.5 & 0.943455 & 1.01754 \tabularnewline
16 & 107 & 103.562 & 113.875 & 0.909438 & 1.03319 \tabularnewline
17 & 99 & 98.1665 & 115.042 & 0.853313 & 1.00849 \tabularnewline
18 & 103 & 100.557 & 116.167 & 0.865629 & 1.02429 \tabularnewline
19 & 131 & 129.679 & 117.25 & 1.10601 & 1.01019 \tabularnewline
20 & 137 & 137.703 & 118.125 & 1.16574 & 0.994894 \tabularnewline
21 & 135 & 135.498 & 118.708 & 1.14143 & 0.996327 \tabularnewline
22 & 124 & 124.881 & 118.917 & 1.05016 & 0.992943 \tabularnewline
23 & 118 & 118.104 & 118.958 & 0.992818 & 0.999119 \tabularnewline
24 & 121 & 117.37 & 118.958 & 0.986649 & 1.03093 \tabularnewline
25 & 121 & 119.173 & 118.875 & 1.0025 & 1.01533 \tabularnewline
26 & 118 & 116.755 & 118.792 & 0.982858 & 1.01066 \tabularnewline
27 & 113 & 111.957 & 118.667 & 0.943455 & 1.00932 \tabularnewline
28 & 107 & 107.693 & 118.417 & 0.909438 & 0.993568 \tabularnewline
29 & 100 & 100.691 & 118 & 0.853313 & 0.993138 \tabularnewline
30 & 102 & 101.495 & 117.25 & 0.865629 & 1.00498 \tabularnewline
31 & 130 & 128.619 & 116.292 & 1.10601 & 1.01074 \tabularnewline
32 & 136 & 134.449 & 115.333 & 1.16574 & 1.01154 \tabularnewline
33 & 133 & 130.551 & 114.375 & 1.14143 & 1.01876 \tabularnewline
34 & 120 & 119.237 & 113.542 & 1.05016 & 1.0064 \tabularnewline
35 & 112 & 112.023 & 112.833 & 0.992818 & 0.999795 \tabularnewline
36 & 109 & 110.587 & 112.083 & 0.986649 & 0.98565 \tabularnewline
37 & 110 & 111.529 & 111.25 & 1.0025 & 0.986295 \tabularnewline
38 & 106 & 108.565 & 110.458 & 0.982858 & 0.976375 \tabularnewline
39 & 102 & 103.505 & 109.708 & 0.943455 & 0.985461 \tabularnewline
40 & 98 & 99.2046 & 109.083 & 0.909438 & 0.987858 \tabularnewline
41 & 92 & 92.7267 & 108.667 & 0.853313 & 0.992163 \tabularnewline
42 & 92 & 93.8125 & 108.375 & 0.865629 & 0.980679 \tabularnewline
43 & 120 & 119.771 & 108.292 & 1.10601 & 1.00191 \tabularnewline
44 & 127 & 126.483 & 108.5 & 1.16574 & 1.00409 \tabularnewline
45 & 124 & 124.131 & 108.75 & 1.14143 & 0.998945 \tabularnewline
46 & 114 & 114.38 & 108.917 & 1.05016 & 0.99668 \tabularnewline
47 & 108 & 108.383 & 109.167 & 0.992818 & 0.996469 \tabularnewline
48 & 106 & 108.12 & 109.583 & 0.986649 & 0.98039 \tabularnewline
49 & 111 & 110.192 & 109.917 & 1.0025 & 1.00733 \tabularnewline
50 & 110 & 108.401 & 110.292 & 0.982858 & 1.01475 \tabularnewline
51 & 104 & 104.684 & 110.958 & 0.943455 & 0.993465 \tabularnewline
52 & 100 & 101.668 & 111.792 & 0.909438 & 0.983597 \tabularnewline
53 & 96 & 96.1399 & 112.667 & 0.853313 & 0.998545 \tabularnewline
54 & 98 & 98.2489 & 113.5 & 0.865629 & 0.997467 \tabularnewline
55 & 122 & 126.315 & 114.208 & 1.10601 & 0.965839 \tabularnewline
56 & 134 & 133.769 & 114.75 & 1.16574 & 1.00173 \tabularnewline
57 & 133 & 131.598 & 115.292 & 1.14143 & 1.01066 \tabularnewline
58 & 125 & 121.731 & 115.917 & 1.05016 & 1.02686 \tabularnewline
59 & 118 & 115.663 & 116.5 & 0.992818 & 1.0202 \tabularnewline
60 & 116 & 115.356 & 116.917 & 0.986649 & 1.00559 \tabularnewline
61 & 118 & 117.669 & 117.375 & 1.0025 & 1.00281 \tabularnewline
62 & 116 & 115.732 & 117.75 & 0.982858 & 1.00232 \tabularnewline
63 & 111 & 111.328 & 118 & 0.943455 & 0.997057 \tabularnewline
64 & 108 & 107.503 & 118.208 & 0.909438 & 1.00462 \tabularnewline
65 & 102 & 100.94 & 118.292 & 0.853313 & 1.0105 \tabularnewline
66 & 102 & 102.469 & 118.375 & 0.865629 & 0.995425 \tabularnewline
67 & 129 & NA & NA & 1.10601 & NA \tabularnewline
68 & 136 & NA & NA & 1.16574 & NA \tabularnewline
69 & 137 & NA & NA & 1.14143 & NA \tabularnewline
70 & 126 & NA & NA & 1.05016 & NA \tabularnewline
71 & 119 & NA & NA & 0.992818 & NA \tabularnewline
72 & 117 & NA & NA & 0.986649 & NA \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=261399&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]105[/C][C]NA[/C][C]NA[/C][C]1.0025[/C][C]NA[/C][/ROW]
[ROW][C]2[/C][C]101[/C][C]NA[/C][C]NA[/C][C]0.982858[/C][C]NA[/C][/ROW]
[ROW][C]3[/C][C]95[/C][C]NA[/C][C]NA[/C][C]0.943455[/C][C]NA[/C][/ROW]
[ROW][C]4[/C][C]93[/C][C]NA[/C][C]NA[/C][C]0.909438[/C][C]NA[/C][/ROW]
[ROW][C]5[/C][C]84[/C][C]NA[/C][C]NA[/C][C]0.853313[/C][C]NA[/C][/ROW]
[ROW][C]6[/C][C]87[/C][C]NA[/C][C]NA[/C][C]0.865629[/C][C]NA[/C][/ROW]
[ROW][C]7[/C][C]116[/C][C]114.379[/C][C]103.417[/C][C]1.10601[/C][C]1.01417[/C][/ROW]
[ROW][C]8[/C][C]120[/C][C]121.14[/C][C]103.917[/C][C]1.16574[/C][C]0.99059[/C][/ROW]
[ROW][C]9[/C][C]117[/C][C]119.613[/C][C]104.792[/C][C]1.14143[/C][C]0.978157[/C][/ROW]
[ROW][C]10[/C][C]109[/C][C]111.229[/C][C]105.917[/C][C]1.05016[/C][C]0.979958[/C][/ROW]
[ROW][C]11[/C][C]105[/C][C]106.356[/C][C]107.125[/C][C]0.992818[/C][C]0.987254[/C][/ROW]
[ROW][C]12[/C][C]107[/C][C]106.969[/C][C]108.417[/C][C]0.986649[/C][C]1.00029[/C][/ROW]
[ROW][C]13[/C][C]109[/C][C]109.983[/C][C]109.708[/C][C]1.0025[/C][C]0.991062[/C][/ROW]
[ROW][C]14[/C][C]109[/C][C]109.138[/C][C]111.042[/C][C]0.982858[/C][C]0.998734[/C][/ROW]
[ROW][C]15[/C][C]108[/C][C]106.139[/C][C]112.5[/C][C]0.943455[/C][C]1.01754[/C][/ROW]
[ROW][C]16[/C][C]107[/C][C]103.562[/C][C]113.875[/C][C]0.909438[/C][C]1.03319[/C][/ROW]
[ROW][C]17[/C][C]99[/C][C]98.1665[/C][C]115.042[/C][C]0.853313[/C][C]1.00849[/C][/ROW]
[ROW][C]18[/C][C]103[/C][C]100.557[/C][C]116.167[/C][C]0.865629[/C][C]1.02429[/C][/ROW]
[ROW][C]19[/C][C]131[/C][C]129.679[/C][C]117.25[/C][C]1.10601[/C][C]1.01019[/C][/ROW]
[ROW][C]20[/C][C]137[/C][C]137.703[/C][C]118.125[/C][C]1.16574[/C][C]0.994894[/C][/ROW]
[ROW][C]21[/C][C]135[/C][C]135.498[/C][C]118.708[/C][C]1.14143[/C][C]0.996327[/C][/ROW]
[ROW][C]22[/C][C]124[/C][C]124.881[/C][C]118.917[/C][C]1.05016[/C][C]0.992943[/C][/ROW]
[ROW][C]23[/C][C]118[/C][C]118.104[/C][C]118.958[/C][C]0.992818[/C][C]0.999119[/C][/ROW]
[ROW][C]24[/C][C]121[/C][C]117.37[/C][C]118.958[/C][C]0.986649[/C][C]1.03093[/C][/ROW]
[ROW][C]25[/C][C]121[/C][C]119.173[/C][C]118.875[/C][C]1.0025[/C][C]1.01533[/C][/ROW]
[ROW][C]26[/C][C]118[/C][C]116.755[/C][C]118.792[/C][C]0.982858[/C][C]1.01066[/C][/ROW]
[ROW][C]27[/C][C]113[/C][C]111.957[/C][C]118.667[/C][C]0.943455[/C][C]1.00932[/C][/ROW]
[ROW][C]28[/C][C]107[/C][C]107.693[/C][C]118.417[/C][C]0.909438[/C][C]0.993568[/C][/ROW]
[ROW][C]29[/C][C]100[/C][C]100.691[/C][C]118[/C][C]0.853313[/C][C]0.993138[/C][/ROW]
[ROW][C]30[/C][C]102[/C][C]101.495[/C][C]117.25[/C][C]0.865629[/C][C]1.00498[/C][/ROW]
[ROW][C]31[/C][C]130[/C][C]128.619[/C][C]116.292[/C][C]1.10601[/C][C]1.01074[/C][/ROW]
[ROW][C]32[/C][C]136[/C][C]134.449[/C][C]115.333[/C][C]1.16574[/C][C]1.01154[/C][/ROW]
[ROW][C]33[/C][C]133[/C][C]130.551[/C][C]114.375[/C][C]1.14143[/C][C]1.01876[/C][/ROW]
[ROW][C]34[/C][C]120[/C][C]119.237[/C][C]113.542[/C][C]1.05016[/C][C]1.0064[/C][/ROW]
[ROW][C]35[/C][C]112[/C][C]112.023[/C][C]112.833[/C][C]0.992818[/C][C]0.999795[/C][/ROW]
[ROW][C]36[/C][C]109[/C][C]110.587[/C][C]112.083[/C][C]0.986649[/C][C]0.98565[/C][/ROW]
[ROW][C]37[/C][C]110[/C][C]111.529[/C][C]111.25[/C][C]1.0025[/C][C]0.986295[/C][/ROW]
[ROW][C]38[/C][C]106[/C][C]108.565[/C][C]110.458[/C][C]0.982858[/C][C]0.976375[/C][/ROW]
[ROW][C]39[/C][C]102[/C][C]103.505[/C][C]109.708[/C][C]0.943455[/C][C]0.985461[/C][/ROW]
[ROW][C]40[/C][C]98[/C][C]99.2046[/C][C]109.083[/C][C]0.909438[/C][C]0.987858[/C][/ROW]
[ROW][C]41[/C][C]92[/C][C]92.7267[/C][C]108.667[/C][C]0.853313[/C][C]0.992163[/C][/ROW]
[ROW][C]42[/C][C]92[/C][C]93.8125[/C][C]108.375[/C][C]0.865629[/C][C]0.980679[/C][/ROW]
[ROW][C]43[/C][C]120[/C][C]119.771[/C][C]108.292[/C][C]1.10601[/C][C]1.00191[/C][/ROW]
[ROW][C]44[/C][C]127[/C][C]126.483[/C][C]108.5[/C][C]1.16574[/C][C]1.00409[/C][/ROW]
[ROW][C]45[/C][C]124[/C][C]124.131[/C][C]108.75[/C][C]1.14143[/C][C]0.998945[/C][/ROW]
[ROW][C]46[/C][C]114[/C][C]114.38[/C][C]108.917[/C][C]1.05016[/C][C]0.99668[/C][/ROW]
[ROW][C]47[/C][C]108[/C][C]108.383[/C][C]109.167[/C][C]0.992818[/C][C]0.996469[/C][/ROW]
[ROW][C]48[/C][C]106[/C][C]108.12[/C][C]109.583[/C][C]0.986649[/C][C]0.98039[/C][/ROW]
[ROW][C]49[/C][C]111[/C][C]110.192[/C][C]109.917[/C][C]1.0025[/C][C]1.00733[/C][/ROW]
[ROW][C]50[/C][C]110[/C][C]108.401[/C][C]110.292[/C][C]0.982858[/C][C]1.01475[/C][/ROW]
[ROW][C]51[/C][C]104[/C][C]104.684[/C][C]110.958[/C][C]0.943455[/C][C]0.993465[/C][/ROW]
[ROW][C]52[/C][C]100[/C][C]101.668[/C][C]111.792[/C][C]0.909438[/C][C]0.983597[/C][/ROW]
[ROW][C]53[/C][C]96[/C][C]96.1399[/C][C]112.667[/C][C]0.853313[/C][C]0.998545[/C][/ROW]
[ROW][C]54[/C][C]98[/C][C]98.2489[/C][C]113.5[/C][C]0.865629[/C][C]0.997467[/C][/ROW]
[ROW][C]55[/C][C]122[/C][C]126.315[/C][C]114.208[/C][C]1.10601[/C][C]0.965839[/C][/ROW]
[ROW][C]56[/C][C]134[/C][C]133.769[/C][C]114.75[/C][C]1.16574[/C][C]1.00173[/C][/ROW]
[ROW][C]57[/C][C]133[/C][C]131.598[/C][C]115.292[/C][C]1.14143[/C][C]1.01066[/C][/ROW]
[ROW][C]58[/C][C]125[/C][C]121.731[/C][C]115.917[/C][C]1.05016[/C][C]1.02686[/C][/ROW]
[ROW][C]59[/C][C]118[/C][C]115.663[/C][C]116.5[/C][C]0.992818[/C][C]1.0202[/C][/ROW]
[ROW][C]60[/C][C]116[/C][C]115.356[/C][C]116.917[/C][C]0.986649[/C][C]1.00559[/C][/ROW]
[ROW][C]61[/C][C]118[/C][C]117.669[/C][C]117.375[/C][C]1.0025[/C][C]1.00281[/C][/ROW]
[ROW][C]62[/C][C]116[/C][C]115.732[/C][C]117.75[/C][C]0.982858[/C][C]1.00232[/C][/ROW]
[ROW][C]63[/C][C]111[/C][C]111.328[/C][C]118[/C][C]0.943455[/C][C]0.997057[/C][/ROW]
[ROW][C]64[/C][C]108[/C][C]107.503[/C][C]118.208[/C][C]0.909438[/C][C]1.00462[/C][/ROW]
[ROW][C]65[/C][C]102[/C][C]100.94[/C][C]118.292[/C][C]0.853313[/C][C]1.0105[/C][/ROW]
[ROW][C]66[/C][C]102[/C][C]102.469[/C][C]118.375[/C][C]0.865629[/C][C]0.995425[/C][/ROW]
[ROW][C]67[/C][C]129[/C][C]NA[/C][C]NA[/C][C]1.10601[/C][C]NA[/C][/ROW]
[ROW][C]68[/C][C]136[/C][C]NA[/C][C]NA[/C][C]1.16574[/C][C]NA[/C][/ROW]
[ROW][C]69[/C][C]137[/C][C]NA[/C][C]NA[/C][C]1.14143[/C][C]NA[/C][/ROW]
[ROW][C]70[/C][C]126[/C][C]NA[/C][C]NA[/C][C]1.05016[/C][C]NA[/C][/ROW]
[ROW][C]71[/C][C]119[/C][C]NA[/C][C]NA[/C][C]0.992818[/C][C]NA[/C][/ROW]
[ROW][C]72[/C][C]117[/C][C]NA[/C][C]NA[/C][C]0.986649[/C][C]NA[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=261399&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=261399&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
1105NANA1.0025NA
2101NANA0.982858NA
395NANA0.943455NA
493NANA0.909438NA
584NANA0.853313NA
687NANA0.865629NA
7116114.379103.4171.106011.01417
8120121.14103.9171.165740.99059
9117119.613104.7921.141430.978157
10109111.229105.9171.050160.979958
11105106.356107.1250.9928180.987254
12107106.969108.4170.9866491.00029
13109109.983109.7081.00250.991062
14109109.138111.0420.9828580.998734
15108106.139112.50.9434551.01754
16107103.562113.8750.9094381.03319
179998.1665115.0420.8533131.00849
18103100.557116.1670.8656291.02429
19131129.679117.251.106011.01019
20137137.703118.1251.165740.994894
21135135.498118.7081.141430.996327
22124124.881118.9171.050160.992943
23118118.104118.9580.9928180.999119
24121117.37118.9580.9866491.03093
25121119.173118.8751.00251.01533
26118116.755118.7920.9828581.01066
27113111.957118.6670.9434551.00932
28107107.693118.4170.9094380.993568
29100100.6911180.8533130.993138
30102101.495117.250.8656291.00498
31130128.619116.2921.106011.01074
32136134.449115.3331.165741.01154
33133130.551114.3751.141431.01876
34120119.237113.5421.050161.0064
35112112.023112.8330.9928180.999795
36109110.587112.0830.9866490.98565
37110111.529111.251.00250.986295
38106108.565110.4580.9828580.976375
39102103.505109.7080.9434550.985461
409899.2046109.0830.9094380.987858
419292.7267108.6670.8533130.992163
429293.8125108.3750.8656290.980679
43120119.771108.2921.106011.00191
44127126.483108.51.165741.00409
45124124.131108.751.141430.998945
46114114.38108.9171.050160.99668
47108108.383109.1670.9928180.996469
48106108.12109.5830.9866490.98039
49111110.192109.9171.00251.00733
50110108.401110.2920.9828581.01475
51104104.684110.9580.9434550.993465
52100101.668111.7920.9094380.983597
539696.1399112.6670.8533130.998545
549898.2489113.50.8656290.997467
55122126.315114.2081.106010.965839
56134133.769114.751.165741.00173
57133131.598115.2921.141431.01066
58125121.731115.9171.050161.02686
59118115.663116.50.9928181.0202
60116115.356116.9170.9866491.00559
61118117.669117.3751.00251.00281
62116115.732117.750.9828581.00232
63111111.3281180.9434550.997057
64108107.503118.2080.9094381.00462
65102100.94118.2920.8533131.0105
66102102.469118.3750.8656290.995425
67129NANA1.10601NA
68136NANA1.16574NA
69137NANA1.14143NA
70126NANA1.05016NA
71119NANA0.992818NA
72117NANA0.986649NA



Parameters (Session):
par1 = multiplicative ; par2 = 12 ;
Parameters (R input):
par1 = multiplicative ; 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')