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 computationMon, 19 Dec 2011 12:26:53 -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/2011/Dec/19/t1324315661sgmrvntixbrgojm.htm/, Retrieved Thu, 02 May 2024 01:32:57 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=157541, Retrieved Thu, 02 May 2024 01:32:57 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact101
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-     [Univariate Data Series] [data set] [2008-12-01 19:54:57] [b98453cac15ba1066b407e146608df68]
- RMPD  [Classical Decomposition] [] [2011-11-28 17:41:47] [06c08141d7d783218a8164fd2ea166f2]
- R  D      [Classical Decomposition] [] [2011-12-19 17:26:53] [ce4468323d272130d499477f5e05a6d2] [Current]
Feedback Forum

Post a new message
Dataseries X:
164
148
152
144
155
125
153
146
138
190
192
192
147
133
163
150
129
131
145
137
138
168
176
188
139
143
150
154
137
129
128
140
143
151
177
184
151
134
164
126
131
125
127
143
143
160
190
182
138
136
152
127
151
130
119
153




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

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







Classical Decomposition by Moving Averages
tObservationsFitTrendSeasonalRandom
1164NANA-4.4108796296296NA
2148NANA-13.0081018518519NA
3152NANA9.2974537037037NA
4144NANA-6.02199074074073NA
5155NANA-16.5775462962963NA
6125NANA-20.4108796296296NA
7153142.394675925926157.541666666667-15.146990740740710.605324074074
8146147.811342592593156.208333333333-8.39699074074076-1.81134259259255
9138149.08912037037156.041666666667-6.95254629629631-11.0891203703704
10190168.603009259259156.7511.853009259259321.3969907407408
11192189.116898148148155.91666666666733.20023148148152.88310185185188
12192191.658564814815155.08333333333336.57523148148150.34143518518519
13147150.58912037037155-4.4108796296296-3.58912037037038
14133141.283564814815154.291666666667-13.0081018518519-8.28356481481481
15163163.21412037037153.9166666666679.2974537037037-0.214120370370352
16150146.978009259259153-6.021990740740733.02199074074076
17129134.83912037037151.416666666667-16.5775462962963-5.83912037037035
18131130.172453703704150.583333333333-20.41087962962960.827546296296305
19145134.936342592593150.083333333333-15.146990740740710.0636574074074
20137141.769675925926150.166666666667-8.39699074074076-4.7696759259259
21138143.08912037037150.041666666667-6.95254629629631-5.08912037037035
22168161.519675925926149.66666666666711.85300925925936.48032407407408
23176183.366898148148150.16666666666733.2002314814815-7.36689814814812
24188186.991898148148150.41666666666736.57523148148151.00810185185185
25139145.21412037037149.625-4.4108796296296-6.21412037037038
26143136.033564814815149.041666666667-13.00810185185196.96643518518516
27150158.672453703704149.3759.2974537037037-8.6724537037037
28154142.853009259259148.875-6.0219907407407311.1469907407407
29137131.630787037037148.208333333333-16.57754629629635.36921296296296
30129127.672453703704148.083333333333-20.41087962962961.3275462962963
31128133.269675925926148.416666666667-15.1469907407407-5.26967592592592
32140140.144675925926148.541666666667-8.39699074074076-0.144675925925924
33143141.797453703704148.75-6.952546296296311.20254629629628
34151160.019675925926148.16666666666711.8530092592593-9.01967592592592
35177179.950231481481146.7533.2002314814815-2.95023148148147
36184182.908564814815146.33333333333336.57523148148151.09143518518522
37151141.71412037037146.125-4.41087962962969.28587962962962
38134133.200231481481146.208333333333-13.00810185185190.799768518518533
39164155.630787037037146.3333333333339.29745370370378.36921296296296
40126140.686342592593146.708333333333-6.02199074074073-14.6863425925926
41131131.047453703704147.625-16.5775462962963-0.0474537037036953
42125127.672453703704148.083333333333-20.4108796296296-2.6724537037037
43127132.311342592593147.458333333333-15.1469907407407-5.31134259259258
44143138.603009259259147-8.396990740740764.39699074074073
45143139.630787037037146.583333333333-6.952546296296313.36921296296296
46160157.978009259259146.12511.85300925925932.02199074074076
47190180.20023148148114733.20023148148159.79976851851853
48182184.616898148148148.04166666666736.5752314814815-2.61689814814815
49138NA147.916666666667NANA
50136NA148NANA
51152NANANANA
52127NANANANA
53151NANANANA
54130NANANANA
55119NANANANA
56153NANANANA

\begin{tabular}{lllllllll}
\hline
Classical Decomposition by Moving Averages \tabularnewline
t & Observations & Fit & Trend & Seasonal & Random \tabularnewline
1 & 164 & NA & NA & -4.4108796296296 & NA \tabularnewline
2 & 148 & NA & NA & -13.0081018518519 & NA \tabularnewline
3 & 152 & NA & NA & 9.2974537037037 & NA \tabularnewline
4 & 144 & NA & NA & -6.02199074074073 & NA \tabularnewline
5 & 155 & NA & NA & -16.5775462962963 & NA \tabularnewline
6 & 125 & NA & NA & -20.4108796296296 & NA \tabularnewline
7 & 153 & 142.394675925926 & 157.541666666667 & -15.1469907407407 & 10.605324074074 \tabularnewline
8 & 146 & 147.811342592593 & 156.208333333333 & -8.39699074074076 & -1.81134259259255 \tabularnewline
9 & 138 & 149.08912037037 & 156.041666666667 & -6.95254629629631 & -11.0891203703704 \tabularnewline
10 & 190 & 168.603009259259 & 156.75 & 11.8530092592593 & 21.3969907407408 \tabularnewline
11 & 192 & 189.116898148148 & 155.916666666667 & 33.2002314814815 & 2.88310185185188 \tabularnewline
12 & 192 & 191.658564814815 & 155.083333333333 & 36.5752314814815 & 0.34143518518519 \tabularnewline
13 & 147 & 150.58912037037 & 155 & -4.4108796296296 & -3.58912037037038 \tabularnewline
14 & 133 & 141.283564814815 & 154.291666666667 & -13.0081018518519 & -8.28356481481481 \tabularnewline
15 & 163 & 163.21412037037 & 153.916666666667 & 9.2974537037037 & -0.214120370370352 \tabularnewline
16 & 150 & 146.978009259259 & 153 & -6.02199074074073 & 3.02199074074076 \tabularnewline
17 & 129 & 134.83912037037 & 151.416666666667 & -16.5775462962963 & -5.83912037037035 \tabularnewline
18 & 131 & 130.172453703704 & 150.583333333333 & -20.4108796296296 & 0.827546296296305 \tabularnewline
19 & 145 & 134.936342592593 & 150.083333333333 & -15.1469907407407 & 10.0636574074074 \tabularnewline
20 & 137 & 141.769675925926 & 150.166666666667 & -8.39699074074076 & -4.7696759259259 \tabularnewline
21 & 138 & 143.08912037037 & 150.041666666667 & -6.95254629629631 & -5.08912037037035 \tabularnewline
22 & 168 & 161.519675925926 & 149.666666666667 & 11.8530092592593 & 6.48032407407408 \tabularnewline
23 & 176 & 183.366898148148 & 150.166666666667 & 33.2002314814815 & -7.36689814814812 \tabularnewline
24 & 188 & 186.991898148148 & 150.416666666667 & 36.5752314814815 & 1.00810185185185 \tabularnewline
25 & 139 & 145.21412037037 & 149.625 & -4.4108796296296 & -6.21412037037038 \tabularnewline
26 & 143 & 136.033564814815 & 149.041666666667 & -13.0081018518519 & 6.96643518518516 \tabularnewline
27 & 150 & 158.672453703704 & 149.375 & 9.2974537037037 & -8.6724537037037 \tabularnewline
28 & 154 & 142.853009259259 & 148.875 & -6.02199074074073 & 11.1469907407407 \tabularnewline
29 & 137 & 131.630787037037 & 148.208333333333 & -16.5775462962963 & 5.36921296296296 \tabularnewline
30 & 129 & 127.672453703704 & 148.083333333333 & -20.4108796296296 & 1.3275462962963 \tabularnewline
31 & 128 & 133.269675925926 & 148.416666666667 & -15.1469907407407 & -5.26967592592592 \tabularnewline
32 & 140 & 140.144675925926 & 148.541666666667 & -8.39699074074076 & -0.144675925925924 \tabularnewline
33 & 143 & 141.797453703704 & 148.75 & -6.95254629629631 & 1.20254629629628 \tabularnewline
34 & 151 & 160.019675925926 & 148.166666666667 & 11.8530092592593 & -9.01967592592592 \tabularnewline
35 & 177 & 179.950231481481 & 146.75 & 33.2002314814815 & -2.95023148148147 \tabularnewline
36 & 184 & 182.908564814815 & 146.333333333333 & 36.5752314814815 & 1.09143518518522 \tabularnewline
37 & 151 & 141.71412037037 & 146.125 & -4.4108796296296 & 9.28587962962962 \tabularnewline
38 & 134 & 133.200231481481 & 146.208333333333 & -13.0081018518519 & 0.799768518518533 \tabularnewline
39 & 164 & 155.630787037037 & 146.333333333333 & 9.2974537037037 & 8.36921296296296 \tabularnewline
40 & 126 & 140.686342592593 & 146.708333333333 & -6.02199074074073 & -14.6863425925926 \tabularnewline
41 & 131 & 131.047453703704 & 147.625 & -16.5775462962963 & -0.0474537037036953 \tabularnewline
42 & 125 & 127.672453703704 & 148.083333333333 & -20.4108796296296 & -2.6724537037037 \tabularnewline
43 & 127 & 132.311342592593 & 147.458333333333 & -15.1469907407407 & -5.31134259259258 \tabularnewline
44 & 143 & 138.603009259259 & 147 & -8.39699074074076 & 4.39699074074073 \tabularnewline
45 & 143 & 139.630787037037 & 146.583333333333 & -6.95254629629631 & 3.36921296296296 \tabularnewline
46 & 160 & 157.978009259259 & 146.125 & 11.8530092592593 & 2.02199074074076 \tabularnewline
47 & 190 & 180.200231481481 & 147 & 33.2002314814815 & 9.79976851851853 \tabularnewline
48 & 182 & 184.616898148148 & 148.041666666667 & 36.5752314814815 & -2.61689814814815 \tabularnewline
49 & 138 & NA & 147.916666666667 & NA & NA \tabularnewline
50 & 136 & NA & 148 & NA & NA \tabularnewline
51 & 152 & NA & NA & NA & NA \tabularnewline
52 & 127 & NA & NA & NA & NA \tabularnewline
53 & 151 & NA & NA & NA & NA \tabularnewline
54 & 130 & NA & NA & NA & NA \tabularnewline
55 & 119 & NA & NA & NA & NA \tabularnewline
56 & 153 & NA & NA & NA & NA \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=157541&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]164[/C][C]NA[/C][C]NA[/C][C]-4.4108796296296[/C][C]NA[/C][/ROW]
[ROW][C]2[/C][C]148[/C][C]NA[/C][C]NA[/C][C]-13.0081018518519[/C][C]NA[/C][/ROW]
[ROW][C]3[/C][C]152[/C][C]NA[/C][C]NA[/C][C]9.2974537037037[/C][C]NA[/C][/ROW]
[ROW][C]4[/C][C]144[/C][C]NA[/C][C]NA[/C][C]-6.02199074074073[/C][C]NA[/C][/ROW]
[ROW][C]5[/C][C]155[/C][C]NA[/C][C]NA[/C][C]-16.5775462962963[/C][C]NA[/C][/ROW]
[ROW][C]6[/C][C]125[/C][C]NA[/C][C]NA[/C][C]-20.4108796296296[/C][C]NA[/C][/ROW]
[ROW][C]7[/C][C]153[/C][C]142.394675925926[/C][C]157.541666666667[/C][C]-15.1469907407407[/C][C]10.605324074074[/C][/ROW]
[ROW][C]8[/C][C]146[/C][C]147.811342592593[/C][C]156.208333333333[/C][C]-8.39699074074076[/C][C]-1.81134259259255[/C][/ROW]
[ROW][C]9[/C][C]138[/C][C]149.08912037037[/C][C]156.041666666667[/C][C]-6.95254629629631[/C][C]-11.0891203703704[/C][/ROW]
[ROW][C]10[/C][C]190[/C][C]168.603009259259[/C][C]156.75[/C][C]11.8530092592593[/C][C]21.3969907407408[/C][/ROW]
[ROW][C]11[/C][C]192[/C][C]189.116898148148[/C][C]155.916666666667[/C][C]33.2002314814815[/C][C]2.88310185185188[/C][/ROW]
[ROW][C]12[/C][C]192[/C][C]191.658564814815[/C][C]155.083333333333[/C][C]36.5752314814815[/C][C]0.34143518518519[/C][/ROW]
[ROW][C]13[/C][C]147[/C][C]150.58912037037[/C][C]155[/C][C]-4.4108796296296[/C][C]-3.58912037037038[/C][/ROW]
[ROW][C]14[/C][C]133[/C][C]141.283564814815[/C][C]154.291666666667[/C][C]-13.0081018518519[/C][C]-8.28356481481481[/C][/ROW]
[ROW][C]15[/C][C]163[/C][C]163.21412037037[/C][C]153.916666666667[/C][C]9.2974537037037[/C][C]-0.214120370370352[/C][/ROW]
[ROW][C]16[/C][C]150[/C][C]146.978009259259[/C][C]153[/C][C]-6.02199074074073[/C][C]3.02199074074076[/C][/ROW]
[ROW][C]17[/C][C]129[/C][C]134.83912037037[/C][C]151.416666666667[/C][C]-16.5775462962963[/C][C]-5.83912037037035[/C][/ROW]
[ROW][C]18[/C][C]131[/C][C]130.172453703704[/C][C]150.583333333333[/C][C]-20.4108796296296[/C][C]0.827546296296305[/C][/ROW]
[ROW][C]19[/C][C]145[/C][C]134.936342592593[/C][C]150.083333333333[/C][C]-15.1469907407407[/C][C]10.0636574074074[/C][/ROW]
[ROW][C]20[/C][C]137[/C][C]141.769675925926[/C][C]150.166666666667[/C][C]-8.39699074074076[/C][C]-4.7696759259259[/C][/ROW]
[ROW][C]21[/C][C]138[/C][C]143.08912037037[/C][C]150.041666666667[/C][C]-6.95254629629631[/C][C]-5.08912037037035[/C][/ROW]
[ROW][C]22[/C][C]168[/C][C]161.519675925926[/C][C]149.666666666667[/C][C]11.8530092592593[/C][C]6.48032407407408[/C][/ROW]
[ROW][C]23[/C][C]176[/C][C]183.366898148148[/C][C]150.166666666667[/C][C]33.2002314814815[/C][C]-7.36689814814812[/C][/ROW]
[ROW][C]24[/C][C]188[/C][C]186.991898148148[/C][C]150.416666666667[/C][C]36.5752314814815[/C][C]1.00810185185185[/C][/ROW]
[ROW][C]25[/C][C]139[/C][C]145.21412037037[/C][C]149.625[/C][C]-4.4108796296296[/C][C]-6.21412037037038[/C][/ROW]
[ROW][C]26[/C][C]143[/C][C]136.033564814815[/C][C]149.041666666667[/C][C]-13.0081018518519[/C][C]6.96643518518516[/C][/ROW]
[ROW][C]27[/C][C]150[/C][C]158.672453703704[/C][C]149.375[/C][C]9.2974537037037[/C][C]-8.6724537037037[/C][/ROW]
[ROW][C]28[/C][C]154[/C][C]142.853009259259[/C][C]148.875[/C][C]-6.02199074074073[/C][C]11.1469907407407[/C][/ROW]
[ROW][C]29[/C][C]137[/C][C]131.630787037037[/C][C]148.208333333333[/C][C]-16.5775462962963[/C][C]5.36921296296296[/C][/ROW]
[ROW][C]30[/C][C]129[/C][C]127.672453703704[/C][C]148.083333333333[/C][C]-20.4108796296296[/C][C]1.3275462962963[/C][/ROW]
[ROW][C]31[/C][C]128[/C][C]133.269675925926[/C][C]148.416666666667[/C][C]-15.1469907407407[/C][C]-5.26967592592592[/C][/ROW]
[ROW][C]32[/C][C]140[/C][C]140.144675925926[/C][C]148.541666666667[/C][C]-8.39699074074076[/C][C]-0.144675925925924[/C][/ROW]
[ROW][C]33[/C][C]143[/C][C]141.797453703704[/C][C]148.75[/C][C]-6.95254629629631[/C][C]1.20254629629628[/C][/ROW]
[ROW][C]34[/C][C]151[/C][C]160.019675925926[/C][C]148.166666666667[/C][C]11.8530092592593[/C][C]-9.01967592592592[/C][/ROW]
[ROW][C]35[/C][C]177[/C][C]179.950231481481[/C][C]146.75[/C][C]33.2002314814815[/C][C]-2.95023148148147[/C][/ROW]
[ROW][C]36[/C][C]184[/C][C]182.908564814815[/C][C]146.333333333333[/C][C]36.5752314814815[/C][C]1.09143518518522[/C][/ROW]
[ROW][C]37[/C][C]151[/C][C]141.71412037037[/C][C]146.125[/C][C]-4.4108796296296[/C][C]9.28587962962962[/C][/ROW]
[ROW][C]38[/C][C]134[/C][C]133.200231481481[/C][C]146.208333333333[/C][C]-13.0081018518519[/C][C]0.799768518518533[/C][/ROW]
[ROW][C]39[/C][C]164[/C][C]155.630787037037[/C][C]146.333333333333[/C][C]9.2974537037037[/C][C]8.36921296296296[/C][/ROW]
[ROW][C]40[/C][C]126[/C][C]140.686342592593[/C][C]146.708333333333[/C][C]-6.02199074074073[/C][C]-14.6863425925926[/C][/ROW]
[ROW][C]41[/C][C]131[/C][C]131.047453703704[/C][C]147.625[/C][C]-16.5775462962963[/C][C]-0.0474537037036953[/C][/ROW]
[ROW][C]42[/C][C]125[/C][C]127.672453703704[/C][C]148.083333333333[/C][C]-20.4108796296296[/C][C]-2.6724537037037[/C][/ROW]
[ROW][C]43[/C][C]127[/C][C]132.311342592593[/C][C]147.458333333333[/C][C]-15.1469907407407[/C][C]-5.31134259259258[/C][/ROW]
[ROW][C]44[/C][C]143[/C][C]138.603009259259[/C][C]147[/C][C]-8.39699074074076[/C][C]4.39699074074073[/C][/ROW]
[ROW][C]45[/C][C]143[/C][C]139.630787037037[/C][C]146.583333333333[/C][C]-6.95254629629631[/C][C]3.36921296296296[/C][/ROW]
[ROW][C]46[/C][C]160[/C][C]157.978009259259[/C][C]146.125[/C][C]11.8530092592593[/C][C]2.02199074074076[/C][/ROW]
[ROW][C]47[/C][C]190[/C][C]180.200231481481[/C][C]147[/C][C]33.2002314814815[/C][C]9.79976851851853[/C][/ROW]
[ROW][C]48[/C][C]182[/C][C]184.616898148148[/C][C]148.041666666667[/C][C]36.5752314814815[/C][C]-2.61689814814815[/C][/ROW]
[ROW][C]49[/C][C]138[/C][C]NA[/C][C]147.916666666667[/C][C]NA[/C][C]NA[/C][/ROW]
[ROW][C]50[/C][C]136[/C][C]NA[/C][C]148[/C][C]NA[/C][C]NA[/C][/ROW]
[ROW][C]51[/C][C]152[/C][C]NA[/C][C]NA[/C][C]NA[/C][C]NA[/C][/ROW]
[ROW][C]52[/C][C]127[/C][C]NA[/C][C]NA[/C][C]NA[/C][C]NA[/C][/ROW]
[ROW][C]53[/C][C]151[/C][C]NA[/C][C]NA[/C][C]NA[/C][C]NA[/C][/ROW]
[ROW][C]54[/C][C]130[/C][C]NA[/C][C]NA[/C][C]NA[/C][C]NA[/C][/ROW]
[ROW][C]55[/C][C]119[/C][C]NA[/C][C]NA[/C][C]NA[/C][C]NA[/C][/ROW]
[ROW][C]56[/C][C]153[/C][C]NA[/C][C]NA[/C][C]NA[/C][C]NA[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=157541&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=157541&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
1164NANA-4.4108796296296NA
2148NANA-13.0081018518519NA
3152NANA9.2974537037037NA
4144NANA-6.02199074074073NA
5155NANA-16.5775462962963NA
6125NANA-20.4108796296296NA
7153142.394675925926157.541666666667-15.146990740740710.605324074074
8146147.811342592593156.208333333333-8.39699074074076-1.81134259259255
9138149.08912037037156.041666666667-6.95254629629631-11.0891203703704
10190168.603009259259156.7511.853009259259321.3969907407408
11192189.116898148148155.91666666666733.20023148148152.88310185185188
12192191.658564814815155.08333333333336.57523148148150.34143518518519
13147150.58912037037155-4.4108796296296-3.58912037037038
14133141.283564814815154.291666666667-13.0081018518519-8.28356481481481
15163163.21412037037153.9166666666679.2974537037037-0.214120370370352
16150146.978009259259153-6.021990740740733.02199074074076
17129134.83912037037151.416666666667-16.5775462962963-5.83912037037035
18131130.172453703704150.583333333333-20.41087962962960.827546296296305
19145134.936342592593150.083333333333-15.146990740740710.0636574074074
20137141.769675925926150.166666666667-8.39699074074076-4.7696759259259
21138143.08912037037150.041666666667-6.95254629629631-5.08912037037035
22168161.519675925926149.66666666666711.85300925925936.48032407407408
23176183.366898148148150.16666666666733.2002314814815-7.36689814814812
24188186.991898148148150.41666666666736.57523148148151.00810185185185
25139145.21412037037149.625-4.4108796296296-6.21412037037038
26143136.033564814815149.041666666667-13.00810185185196.96643518518516
27150158.672453703704149.3759.2974537037037-8.6724537037037
28154142.853009259259148.875-6.0219907407407311.1469907407407
29137131.630787037037148.208333333333-16.57754629629635.36921296296296
30129127.672453703704148.083333333333-20.41087962962961.3275462962963
31128133.269675925926148.416666666667-15.1469907407407-5.26967592592592
32140140.144675925926148.541666666667-8.39699074074076-0.144675925925924
33143141.797453703704148.75-6.952546296296311.20254629629628
34151160.019675925926148.16666666666711.8530092592593-9.01967592592592
35177179.950231481481146.7533.2002314814815-2.95023148148147
36184182.908564814815146.33333333333336.57523148148151.09143518518522
37151141.71412037037146.125-4.41087962962969.28587962962962
38134133.200231481481146.208333333333-13.00810185185190.799768518518533
39164155.630787037037146.3333333333339.29745370370378.36921296296296
40126140.686342592593146.708333333333-6.02199074074073-14.6863425925926
41131131.047453703704147.625-16.5775462962963-0.0474537037036953
42125127.672453703704148.083333333333-20.4108796296296-2.6724537037037
43127132.311342592593147.458333333333-15.1469907407407-5.31134259259258
44143138.603009259259147-8.396990740740764.39699074074073
45143139.630787037037146.583333333333-6.952546296296313.36921296296296
46160157.978009259259146.12511.85300925925932.02199074074076
47190180.20023148148114733.20023148148159.79976851851853
48182184.616898148148148.04166666666736.5752314814815-2.61689814814815
49138NA147.916666666667NANA
50136NA148NANA
51152NANANANA
52127NANANANA
53151NANANANA
54130NANANANA
55119NANANANA
56153NANANANA



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