Free Statistics

of Irreproducible Research!

Author's title

Author*Unverified author*
R Software Modulerwasp_decompose.wasp
Title produced by softwareClassical Decomposition
Date of computationMon, 19 May 2008 13:34:47 -0600
Cite this page as followsStatistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?v=date/2008/May/19/t1211225908sm8bk99mvf4uwxe.htm/, Retrieved Tue, 14 May 2024 17:35:40 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=12924, Retrieved Tue, 14 May 2024 17:35:40 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact178
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-       [Classical Decomposition] [Maandelijkse Aust...] [2008-05-19 19:34:47] [678dd736c2ca43f11132dfe6e57daf69] [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 time2 seconds
R Server'Sir Ronald Aylmer Fisher' @ 193.190.124.24

\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 & 'Sir Ronald Aylmer Fisher' @ 193.190.124.24 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=12924&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]'Sir Ronald Aylmer Fisher' @ 193.190.124.24[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=12924&T=0

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=12924&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'Sir Ronald Aylmer Fisher' @ 193.190.124.24







Classical Decomposition by Moving Averages
tObservationsFitTrendSeasonalRandom
1164NANA0.943176610177838NA
2148NANA0.915088331493679NA
3152NANA1.03653212181376NA
4144NANA1.01222559485875NA
5155NANA0.892411024621307NA
6125NANA0.874703290486576NA
7153144.726467721348157.5416666666670.918655177284411.05716668422103
8146145.561583205721156.2083333333330.9318426238829851.00301189905072
9138147.46591242336156.0416666666670.9450418953699980.935809487984014
10190168.651834446503156.751.075928768398751.12658128281592
11192186.28420804226155.9166666666671.194767769378471.03068318038233
12192195.347121695543155.0833333333331.259626792233480.982865774184483
13147146.1923745775651550.9431766101778381.00552440183538
14133141.190503813379154.2916666666670.9150883314936790.941989697662636
15163159.539569082501153.9166666666671.036532121813761.02169011071924
16150154.8705160133891531.012225594858750.968551044196382
17129135.125902644743151.4166666666670.8924110246213070.954665223137504
18131131.715737159104150.5833333333330.8747032904865760.994566046741712
19145137.874831190769150.0833333333330.918655177284411.05167853151800
20137139.931700686428150.1666666666670.9318426238829850.979049059848147
21138141.79566105114150.0416666666670.9450418953699980.973231472507673
22168161.030672337012149.6666666666671.075928768398751.04327950422018
23176179.414293368334150.1666666666671.194767769378470.98096978058864
24188189.468863331786150.4166666666671.259626792233480.992247468497163
25139141.122800297859149.6250.9431766101778380.984957779371026
26143136.386290073037149.0416666666670.9150883314936791.04849248354377
27150154.83198569593149.3751.036532121813760.96879207048717
28154150.695085434596148.8751.012225594858751.02193113701003
29137132.262750607416148.2083333333330.8924110246213071.03581695806890
30129129.528978932887148.0833333333330.8747032904865760.995916134464696
31128136.343739228628148.4166666666670.918655177284410.938803649688405
32140138.417456422618148.5416666666670.9318426238829851.01143312135826
33143140.574981936287148.750.9450418953699981.01725070869873
34151159.416779184414148.1666666666671.075928768398750.947202676986231
35177175.332170156291146.751.194767769378471.00951240061777
36184184.325387263500146.3333333333331.259626792233480.998234712709246
37151137.821682162237146.1250.9431766101778381.09561861117216
38134133.793539800472146.2083333333330.9150883314936791.00154312532456
39164151.67920049208146.3333333333331.036532121813761.08122932787059
40126148.501929979069146.7083333333331.012225594858750.848473821301578
41131131.742177509720147.6250.8924110246213070.99436643963422
42125129.528978932887148.0833333333330.8747032904865760.965035014016178
43127135.463361350397147.4583333333330.918655177284410.937522875070956
44143136.9808657107991470.9318426238829851.04394142392054
45143138.527391162986146.5833333333330.9450418953699981.03228681923095
46160157.220091282267146.1251.075928768398751.01768163785596
47190175.6308620986351471.194767769378471.08181442446769
48182186.477249700232148.0416666666671.259626792233480.975990370367274
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 & 0.943176610177838 & NA \tabularnewline
2 & 148 & NA & NA & 0.915088331493679 & NA \tabularnewline
3 & 152 & NA & NA & 1.03653212181376 & NA \tabularnewline
4 & 144 & NA & NA & 1.01222559485875 & NA \tabularnewline
5 & 155 & NA & NA & 0.892411024621307 & NA \tabularnewline
6 & 125 & NA & NA & 0.874703290486576 & NA \tabularnewline
7 & 153 & 144.726467721348 & 157.541666666667 & 0.91865517728441 & 1.05716668422103 \tabularnewline
8 & 146 & 145.561583205721 & 156.208333333333 & 0.931842623882985 & 1.00301189905072 \tabularnewline
9 & 138 & 147.46591242336 & 156.041666666667 & 0.945041895369998 & 0.935809487984014 \tabularnewline
10 & 190 & 168.651834446503 & 156.75 & 1.07592876839875 & 1.12658128281592 \tabularnewline
11 & 192 & 186.28420804226 & 155.916666666667 & 1.19476776937847 & 1.03068318038233 \tabularnewline
12 & 192 & 195.347121695543 & 155.083333333333 & 1.25962679223348 & 0.982865774184483 \tabularnewline
13 & 147 & 146.192374577565 & 155 & 0.943176610177838 & 1.00552440183538 \tabularnewline
14 & 133 & 141.190503813379 & 154.291666666667 & 0.915088331493679 & 0.941989697662636 \tabularnewline
15 & 163 & 159.539569082501 & 153.916666666667 & 1.03653212181376 & 1.02169011071924 \tabularnewline
16 & 150 & 154.870516013389 & 153 & 1.01222559485875 & 0.968551044196382 \tabularnewline
17 & 129 & 135.125902644743 & 151.416666666667 & 0.892411024621307 & 0.954665223137504 \tabularnewline
18 & 131 & 131.715737159104 & 150.583333333333 & 0.874703290486576 & 0.994566046741712 \tabularnewline
19 & 145 & 137.874831190769 & 150.083333333333 & 0.91865517728441 & 1.05167853151800 \tabularnewline
20 & 137 & 139.931700686428 & 150.166666666667 & 0.931842623882985 & 0.979049059848147 \tabularnewline
21 & 138 & 141.79566105114 & 150.041666666667 & 0.945041895369998 & 0.973231472507673 \tabularnewline
22 & 168 & 161.030672337012 & 149.666666666667 & 1.07592876839875 & 1.04327950422018 \tabularnewline
23 & 176 & 179.414293368334 & 150.166666666667 & 1.19476776937847 & 0.98096978058864 \tabularnewline
24 & 188 & 189.468863331786 & 150.416666666667 & 1.25962679223348 & 0.992247468497163 \tabularnewline
25 & 139 & 141.122800297859 & 149.625 & 0.943176610177838 & 0.984957779371026 \tabularnewline
26 & 143 & 136.386290073037 & 149.041666666667 & 0.915088331493679 & 1.04849248354377 \tabularnewline
27 & 150 & 154.83198569593 & 149.375 & 1.03653212181376 & 0.96879207048717 \tabularnewline
28 & 154 & 150.695085434596 & 148.875 & 1.01222559485875 & 1.02193113701003 \tabularnewline
29 & 137 & 132.262750607416 & 148.208333333333 & 0.892411024621307 & 1.03581695806890 \tabularnewline
30 & 129 & 129.528978932887 & 148.083333333333 & 0.874703290486576 & 0.995916134464696 \tabularnewline
31 & 128 & 136.343739228628 & 148.416666666667 & 0.91865517728441 & 0.938803649688405 \tabularnewline
32 & 140 & 138.417456422618 & 148.541666666667 & 0.931842623882985 & 1.01143312135826 \tabularnewline
33 & 143 & 140.574981936287 & 148.75 & 0.945041895369998 & 1.01725070869873 \tabularnewline
34 & 151 & 159.416779184414 & 148.166666666667 & 1.07592876839875 & 0.947202676986231 \tabularnewline
35 & 177 & 175.332170156291 & 146.75 & 1.19476776937847 & 1.00951240061777 \tabularnewline
36 & 184 & 184.325387263500 & 146.333333333333 & 1.25962679223348 & 0.998234712709246 \tabularnewline
37 & 151 & 137.821682162237 & 146.125 & 0.943176610177838 & 1.09561861117216 \tabularnewline
38 & 134 & 133.793539800472 & 146.208333333333 & 0.915088331493679 & 1.00154312532456 \tabularnewline
39 & 164 & 151.67920049208 & 146.333333333333 & 1.03653212181376 & 1.08122932787059 \tabularnewline
40 & 126 & 148.501929979069 & 146.708333333333 & 1.01222559485875 & 0.848473821301578 \tabularnewline
41 & 131 & 131.742177509720 & 147.625 & 0.892411024621307 & 0.99436643963422 \tabularnewline
42 & 125 & 129.528978932887 & 148.083333333333 & 0.874703290486576 & 0.965035014016178 \tabularnewline
43 & 127 & 135.463361350397 & 147.458333333333 & 0.91865517728441 & 0.937522875070956 \tabularnewline
44 & 143 & 136.980865710799 & 147 & 0.931842623882985 & 1.04394142392054 \tabularnewline
45 & 143 & 138.527391162986 & 146.583333333333 & 0.945041895369998 & 1.03228681923095 \tabularnewline
46 & 160 & 157.220091282267 & 146.125 & 1.07592876839875 & 1.01768163785596 \tabularnewline
47 & 190 & 175.630862098635 & 147 & 1.19476776937847 & 1.08181442446769 \tabularnewline
48 & 182 & 186.477249700232 & 148.041666666667 & 1.25962679223348 & 0.975990370367274 \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=12924&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]0.943176610177838[/C][C]NA[/C][/ROW]
[ROW][C]2[/C][C]148[/C][C]NA[/C][C]NA[/C][C]0.915088331493679[/C][C]NA[/C][/ROW]
[ROW][C]3[/C][C]152[/C][C]NA[/C][C]NA[/C][C]1.03653212181376[/C][C]NA[/C][/ROW]
[ROW][C]4[/C][C]144[/C][C]NA[/C][C]NA[/C][C]1.01222559485875[/C][C]NA[/C][/ROW]
[ROW][C]5[/C][C]155[/C][C]NA[/C][C]NA[/C][C]0.892411024621307[/C][C]NA[/C][/ROW]
[ROW][C]6[/C][C]125[/C][C]NA[/C][C]NA[/C][C]0.874703290486576[/C][C]NA[/C][/ROW]
[ROW][C]7[/C][C]153[/C][C]144.726467721348[/C][C]157.541666666667[/C][C]0.91865517728441[/C][C]1.05716668422103[/C][/ROW]
[ROW][C]8[/C][C]146[/C][C]145.561583205721[/C][C]156.208333333333[/C][C]0.931842623882985[/C][C]1.00301189905072[/C][/ROW]
[ROW][C]9[/C][C]138[/C][C]147.46591242336[/C][C]156.041666666667[/C][C]0.945041895369998[/C][C]0.935809487984014[/C][/ROW]
[ROW][C]10[/C][C]190[/C][C]168.651834446503[/C][C]156.75[/C][C]1.07592876839875[/C][C]1.12658128281592[/C][/ROW]
[ROW][C]11[/C][C]192[/C][C]186.28420804226[/C][C]155.916666666667[/C][C]1.19476776937847[/C][C]1.03068318038233[/C][/ROW]
[ROW][C]12[/C][C]192[/C][C]195.347121695543[/C][C]155.083333333333[/C][C]1.25962679223348[/C][C]0.982865774184483[/C][/ROW]
[ROW][C]13[/C][C]147[/C][C]146.192374577565[/C][C]155[/C][C]0.943176610177838[/C][C]1.00552440183538[/C][/ROW]
[ROW][C]14[/C][C]133[/C][C]141.190503813379[/C][C]154.291666666667[/C][C]0.915088331493679[/C][C]0.941989697662636[/C][/ROW]
[ROW][C]15[/C][C]163[/C][C]159.539569082501[/C][C]153.916666666667[/C][C]1.03653212181376[/C][C]1.02169011071924[/C][/ROW]
[ROW][C]16[/C][C]150[/C][C]154.870516013389[/C][C]153[/C][C]1.01222559485875[/C][C]0.968551044196382[/C][/ROW]
[ROW][C]17[/C][C]129[/C][C]135.125902644743[/C][C]151.416666666667[/C][C]0.892411024621307[/C][C]0.954665223137504[/C][/ROW]
[ROW][C]18[/C][C]131[/C][C]131.715737159104[/C][C]150.583333333333[/C][C]0.874703290486576[/C][C]0.994566046741712[/C][/ROW]
[ROW][C]19[/C][C]145[/C][C]137.874831190769[/C][C]150.083333333333[/C][C]0.91865517728441[/C][C]1.05167853151800[/C][/ROW]
[ROW][C]20[/C][C]137[/C][C]139.931700686428[/C][C]150.166666666667[/C][C]0.931842623882985[/C][C]0.979049059848147[/C][/ROW]
[ROW][C]21[/C][C]138[/C][C]141.79566105114[/C][C]150.041666666667[/C][C]0.945041895369998[/C][C]0.973231472507673[/C][/ROW]
[ROW][C]22[/C][C]168[/C][C]161.030672337012[/C][C]149.666666666667[/C][C]1.07592876839875[/C][C]1.04327950422018[/C][/ROW]
[ROW][C]23[/C][C]176[/C][C]179.414293368334[/C][C]150.166666666667[/C][C]1.19476776937847[/C][C]0.98096978058864[/C][/ROW]
[ROW][C]24[/C][C]188[/C][C]189.468863331786[/C][C]150.416666666667[/C][C]1.25962679223348[/C][C]0.992247468497163[/C][/ROW]
[ROW][C]25[/C][C]139[/C][C]141.122800297859[/C][C]149.625[/C][C]0.943176610177838[/C][C]0.984957779371026[/C][/ROW]
[ROW][C]26[/C][C]143[/C][C]136.386290073037[/C][C]149.041666666667[/C][C]0.915088331493679[/C][C]1.04849248354377[/C][/ROW]
[ROW][C]27[/C][C]150[/C][C]154.83198569593[/C][C]149.375[/C][C]1.03653212181376[/C][C]0.96879207048717[/C][/ROW]
[ROW][C]28[/C][C]154[/C][C]150.695085434596[/C][C]148.875[/C][C]1.01222559485875[/C][C]1.02193113701003[/C][/ROW]
[ROW][C]29[/C][C]137[/C][C]132.262750607416[/C][C]148.208333333333[/C][C]0.892411024621307[/C][C]1.03581695806890[/C][/ROW]
[ROW][C]30[/C][C]129[/C][C]129.528978932887[/C][C]148.083333333333[/C][C]0.874703290486576[/C][C]0.995916134464696[/C][/ROW]
[ROW][C]31[/C][C]128[/C][C]136.343739228628[/C][C]148.416666666667[/C][C]0.91865517728441[/C][C]0.938803649688405[/C][/ROW]
[ROW][C]32[/C][C]140[/C][C]138.417456422618[/C][C]148.541666666667[/C][C]0.931842623882985[/C][C]1.01143312135826[/C][/ROW]
[ROW][C]33[/C][C]143[/C][C]140.574981936287[/C][C]148.75[/C][C]0.945041895369998[/C][C]1.01725070869873[/C][/ROW]
[ROW][C]34[/C][C]151[/C][C]159.416779184414[/C][C]148.166666666667[/C][C]1.07592876839875[/C][C]0.947202676986231[/C][/ROW]
[ROW][C]35[/C][C]177[/C][C]175.332170156291[/C][C]146.75[/C][C]1.19476776937847[/C][C]1.00951240061777[/C][/ROW]
[ROW][C]36[/C][C]184[/C][C]184.325387263500[/C][C]146.333333333333[/C][C]1.25962679223348[/C][C]0.998234712709246[/C][/ROW]
[ROW][C]37[/C][C]151[/C][C]137.821682162237[/C][C]146.125[/C][C]0.943176610177838[/C][C]1.09561861117216[/C][/ROW]
[ROW][C]38[/C][C]134[/C][C]133.793539800472[/C][C]146.208333333333[/C][C]0.915088331493679[/C][C]1.00154312532456[/C][/ROW]
[ROW][C]39[/C][C]164[/C][C]151.67920049208[/C][C]146.333333333333[/C][C]1.03653212181376[/C][C]1.08122932787059[/C][/ROW]
[ROW][C]40[/C][C]126[/C][C]148.501929979069[/C][C]146.708333333333[/C][C]1.01222559485875[/C][C]0.848473821301578[/C][/ROW]
[ROW][C]41[/C][C]131[/C][C]131.742177509720[/C][C]147.625[/C][C]0.892411024621307[/C][C]0.99436643963422[/C][/ROW]
[ROW][C]42[/C][C]125[/C][C]129.528978932887[/C][C]148.083333333333[/C][C]0.874703290486576[/C][C]0.965035014016178[/C][/ROW]
[ROW][C]43[/C][C]127[/C][C]135.463361350397[/C][C]147.458333333333[/C][C]0.91865517728441[/C][C]0.937522875070956[/C][/ROW]
[ROW][C]44[/C][C]143[/C][C]136.980865710799[/C][C]147[/C][C]0.931842623882985[/C][C]1.04394142392054[/C][/ROW]
[ROW][C]45[/C][C]143[/C][C]138.527391162986[/C][C]146.583333333333[/C][C]0.945041895369998[/C][C]1.03228681923095[/C][/ROW]
[ROW][C]46[/C][C]160[/C][C]157.220091282267[/C][C]146.125[/C][C]1.07592876839875[/C][C]1.01768163785596[/C][/ROW]
[ROW][C]47[/C][C]190[/C][C]175.630862098635[/C][C]147[/C][C]1.19476776937847[/C][C]1.08181442446769[/C][/ROW]
[ROW][C]48[/C][C]182[/C][C]186.477249700232[/C][C]148.041666666667[/C][C]1.25962679223348[/C][C]0.975990370367274[/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=12924&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=12924&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
1164NANA0.943176610177838NA
2148NANA0.915088331493679NA
3152NANA1.03653212181376NA
4144NANA1.01222559485875NA
5155NANA0.892411024621307NA
6125NANA0.874703290486576NA
7153144.726467721348157.5416666666670.918655177284411.05716668422103
8146145.561583205721156.2083333333330.9318426238829851.00301189905072
9138147.46591242336156.0416666666670.9450418953699980.935809487984014
10190168.651834446503156.751.075928768398751.12658128281592
11192186.28420804226155.9166666666671.194767769378471.03068318038233
12192195.347121695543155.0833333333331.259626792233480.982865774184483
13147146.1923745775651550.9431766101778381.00552440183538
14133141.190503813379154.2916666666670.9150883314936790.941989697662636
15163159.539569082501153.9166666666671.036532121813761.02169011071924
16150154.8705160133891531.012225594858750.968551044196382
17129135.125902644743151.4166666666670.8924110246213070.954665223137504
18131131.715737159104150.5833333333330.8747032904865760.994566046741712
19145137.874831190769150.0833333333330.918655177284411.05167853151800
20137139.931700686428150.1666666666670.9318426238829850.979049059848147
21138141.79566105114150.0416666666670.9450418953699980.973231472507673
22168161.030672337012149.6666666666671.075928768398751.04327950422018
23176179.414293368334150.1666666666671.194767769378470.98096978058864
24188189.468863331786150.4166666666671.259626792233480.992247468497163
25139141.122800297859149.6250.9431766101778380.984957779371026
26143136.386290073037149.0416666666670.9150883314936791.04849248354377
27150154.83198569593149.3751.036532121813760.96879207048717
28154150.695085434596148.8751.012225594858751.02193113701003
29137132.262750607416148.2083333333330.8924110246213071.03581695806890
30129129.528978932887148.0833333333330.8747032904865760.995916134464696
31128136.343739228628148.4166666666670.918655177284410.938803649688405
32140138.417456422618148.5416666666670.9318426238829851.01143312135826
33143140.574981936287148.750.9450418953699981.01725070869873
34151159.416779184414148.1666666666671.075928768398750.947202676986231
35177175.332170156291146.751.194767769378471.00951240061777
36184184.325387263500146.3333333333331.259626792233480.998234712709246
37151137.821682162237146.1250.9431766101778381.09561861117216
38134133.793539800472146.2083333333330.9150883314936791.00154312532456
39164151.67920049208146.3333333333331.036532121813761.08122932787059
40126148.501929979069146.7083333333331.012225594858750.848473821301578
41131131.742177509720147.6250.8924110246213070.99436643963422
42125129.528978932887148.0833333333330.8747032904865760.965035014016178
43127135.463361350397147.4583333333330.918655177284410.937522875070956
44143136.9808657107991470.9318426238829851.04394142392054
45143138.527391162986146.5833333333330.9450418953699981.03228681923095
46160157.220091282267146.1251.075928768398751.01768163785596
47190175.6308620986351471.194767769378471.08181442446769
48182186.477249700232148.0416666666671.259626792233480.975990370367274
49138NA147.916666666667NANA
50136NA148NANA
51152NANANANA
52127NANANANA
53151NANANANA
54130NANANANA
55119NANANANA
56153NANANANA



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