Free Statistics

of Irreproducible Research!

Author's title

Author*Unverified author*
R Software Modulerwasp_decompose.wasp
Title produced by softwareClassical Decomposition
Date of computationMon, 11 Jan 2016 20:46:54 +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/2016/Jan/11/t1452545258rq5yj1w92nnyxja.htm/, Retrieved Tue, 07 May 2024 10:14:37 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=289707, Retrieved Tue, 07 May 2024 10:14:37 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact85
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-     [Classical Decomposition] [] [2015-11-23 18:45:38] [a642a7d7b5f7c65c232df2d499025a08]
- R  D  [Classical Decomposition] [] [2016-01-09 11:18:40] [bd4e4aa6178eab1df445b78d9e683708]
-   PD      [Classical Decomposition] [] [2016-01-11 20:46:54] [c6ba03d4d421ca9ab835e2907c34aa87] [Current]
Feedback Forum

Post a new message
Dataseries X:
99.2
99.1
99.1
99.1
99.1
99.1
99.9
100
100
101.3
102
102
102.4
103
103
103.6
103.6
103.6
103.6
103.6
103.9
104
104
104
104.9
105.1
105.2
105.5
105.7
105.7
105.7
105.7
105.7
105.8
105.8
105.8
106.6
107
107.2
107.3
107.3
107.3
107.4
107.4
107.4
107.4
107.5
107.5
105
105.2
105.2
105.3
105.3
105.3
105.3
105.3
105.3
105.3
106.1
106.1




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

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=289707&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
199.2NANA-0.215104NA
299.1NANA0.0234375NA
399.1NANA-0.0119792NA
499.1NANA0.166146NA
599.1NANA0.131771NA
699.1NANA0.0463542NA
799.9100.093100.125-0.0317708-0.193229
8100100.29100.421-0.130729-0.290104
9100100.563100.746-0.182812-0.563021
10101.3101.16101.0960.06406250.140104
11102101.606101.4710.1348960.394271
12102101.852101.8460.005729170.148438
13102.4101.972102.187-0.2151040.427604
14103102.515102.4920.02343750.484896
15103102.792102.804-0.01197920.207813
16103.6103.245103.0790.1661460.354688
17103.6103.407103.2750.1317710.193229
18103.6103.488103.4420.04635420.111979
19103.6103.597103.629-0.03177080.00260417
20103.6103.69103.821-0.130729-0.0901042
21103.9103.817104-0.1828120.0828125
22104104.235104.1710.0640625-0.234896
23104104.472104.3370.134896-0.472396
24104104.518104.5120.00572917-0.518229
25104.9104.472104.688-0.2151040.427604
26105.1104.886104.8630.02343750.214062
27105.2105.013105.025-0.01197920.186979
28105.5105.341105.1750.1661460.158854
29105.7105.457105.3250.1317710.243229
30105.7105.521105.4750.04635420.178646
31105.7105.589105.621-0.03177080.110937
32105.7105.64105.771-0.1307290.0598958
33105.7105.751105.933-0.182812-0.0505208
34105.8106.156106.0920.0640625-0.355729
35105.8106.368106.2330.134896-0.568229
36105.8106.372106.3670.00572917-0.572396
37106.6106.289106.504-0.2151040.310937
38107106.669106.6460.02343750.330729
39107.2106.776106.788-0.01197920.424479
40107.3107.091106.9250.1661460.208854
41107.3107.194107.0620.1317710.105729
42107.3107.251107.2040.04635420.0494792
43107.4107.177107.208-0.03177080.223438
44107.4106.936107.067-0.1307290.464062
45107.4106.726106.908-0.1828120.674479
46107.4106.806106.7420.06406250.594271
47107.5106.71106.5750.1348960.790104
48107.5106.414106.4080.005729171.08594
49105106.022106.237-0.215104-1.0224
50105.2106.086106.0620.0234375-0.885937
51105.2105.876105.887-0.0119792-0.675521
52105.3105.879105.7120.166146-0.578646
53105.3105.698105.5670.131771-0.398437
54105.3105.496105.450.0463542-0.196354
55105.3NANA-0.0317708NA
56105.3NANA-0.130729NA
57105.3NANA-0.182812NA
58105.3NANA0.0640625NA
59106.1NANA0.134896NA
60106.1NANA0.00572917NA

\begin{tabular}{lllllllll}
\hline
Classical Decomposition by Moving Averages \tabularnewline
t & Observations & Fit & Trend & Seasonal & Random \tabularnewline
1 & 99.2 & NA & NA & -0.215104 & NA \tabularnewline
2 & 99.1 & NA & NA & 0.0234375 & NA \tabularnewline
3 & 99.1 & NA & NA & -0.0119792 & NA \tabularnewline
4 & 99.1 & NA & NA & 0.166146 & NA \tabularnewline
5 & 99.1 & NA & NA & 0.131771 & NA \tabularnewline
6 & 99.1 & NA & NA & 0.0463542 & NA \tabularnewline
7 & 99.9 & 100.093 & 100.125 & -0.0317708 & -0.193229 \tabularnewline
8 & 100 & 100.29 & 100.421 & -0.130729 & -0.290104 \tabularnewline
9 & 100 & 100.563 & 100.746 & -0.182812 & -0.563021 \tabularnewline
10 & 101.3 & 101.16 & 101.096 & 0.0640625 & 0.140104 \tabularnewline
11 & 102 & 101.606 & 101.471 & 0.134896 & 0.394271 \tabularnewline
12 & 102 & 101.852 & 101.846 & 0.00572917 & 0.148438 \tabularnewline
13 & 102.4 & 101.972 & 102.187 & -0.215104 & 0.427604 \tabularnewline
14 & 103 & 102.515 & 102.492 & 0.0234375 & 0.484896 \tabularnewline
15 & 103 & 102.792 & 102.804 & -0.0119792 & 0.207813 \tabularnewline
16 & 103.6 & 103.245 & 103.079 & 0.166146 & 0.354688 \tabularnewline
17 & 103.6 & 103.407 & 103.275 & 0.131771 & 0.193229 \tabularnewline
18 & 103.6 & 103.488 & 103.442 & 0.0463542 & 0.111979 \tabularnewline
19 & 103.6 & 103.597 & 103.629 & -0.0317708 & 0.00260417 \tabularnewline
20 & 103.6 & 103.69 & 103.821 & -0.130729 & -0.0901042 \tabularnewline
21 & 103.9 & 103.817 & 104 & -0.182812 & 0.0828125 \tabularnewline
22 & 104 & 104.235 & 104.171 & 0.0640625 & -0.234896 \tabularnewline
23 & 104 & 104.472 & 104.337 & 0.134896 & -0.472396 \tabularnewline
24 & 104 & 104.518 & 104.512 & 0.00572917 & -0.518229 \tabularnewline
25 & 104.9 & 104.472 & 104.688 & -0.215104 & 0.427604 \tabularnewline
26 & 105.1 & 104.886 & 104.863 & 0.0234375 & 0.214062 \tabularnewline
27 & 105.2 & 105.013 & 105.025 & -0.0119792 & 0.186979 \tabularnewline
28 & 105.5 & 105.341 & 105.175 & 0.166146 & 0.158854 \tabularnewline
29 & 105.7 & 105.457 & 105.325 & 0.131771 & 0.243229 \tabularnewline
30 & 105.7 & 105.521 & 105.475 & 0.0463542 & 0.178646 \tabularnewline
31 & 105.7 & 105.589 & 105.621 & -0.0317708 & 0.110937 \tabularnewline
32 & 105.7 & 105.64 & 105.771 & -0.130729 & 0.0598958 \tabularnewline
33 & 105.7 & 105.751 & 105.933 & -0.182812 & -0.0505208 \tabularnewline
34 & 105.8 & 106.156 & 106.092 & 0.0640625 & -0.355729 \tabularnewline
35 & 105.8 & 106.368 & 106.233 & 0.134896 & -0.568229 \tabularnewline
36 & 105.8 & 106.372 & 106.367 & 0.00572917 & -0.572396 \tabularnewline
37 & 106.6 & 106.289 & 106.504 & -0.215104 & 0.310937 \tabularnewline
38 & 107 & 106.669 & 106.646 & 0.0234375 & 0.330729 \tabularnewline
39 & 107.2 & 106.776 & 106.788 & -0.0119792 & 0.424479 \tabularnewline
40 & 107.3 & 107.091 & 106.925 & 0.166146 & 0.208854 \tabularnewline
41 & 107.3 & 107.194 & 107.062 & 0.131771 & 0.105729 \tabularnewline
42 & 107.3 & 107.251 & 107.204 & 0.0463542 & 0.0494792 \tabularnewline
43 & 107.4 & 107.177 & 107.208 & -0.0317708 & 0.223438 \tabularnewline
44 & 107.4 & 106.936 & 107.067 & -0.130729 & 0.464062 \tabularnewline
45 & 107.4 & 106.726 & 106.908 & -0.182812 & 0.674479 \tabularnewline
46 & 107.4 & 106.806 & 106.742 & 0.0640625 & 0.594271 \tabularnewline
47 & 107.5 & 106.71 & 106.575 & 0.134896 & 0.790104 \tabularnewline
48 & 107.5 & 106.414 & 106.408 & 0.00572917 & 1.08594 \tabularnewline
49 & 105 & 106.022 & 106.237 & -0.215104 & -1.0224 \tabularnewline
50 & 105.2 & 106.086 & 106.062 & 0.0234375 & -0.885937 \tabularnewline
51 & 105.2 & 105.876 & 105.887 & -0.0119792 & -0.675521 \tabularnewline
52 & 105.3 & 105.879 & 105.712 & 0.166146 & -0.578646 \tabularnewline
53 & 105.3 & 105.698 & 105.567 & 0.131771 & -0.398437 \tabularnewline
54 & 105.3 & 105.496 & 105.45 & 0.0463542 & -0.196354 \tabularnewline
55 & 105.3 & NA & NA & -0.0317708 & NA \tabularnewline
56 & 105.3 & NA & NA & -0.130729 & NA \tabularnewline
57 & 105.3 & NA & NA & -0.182812 & NA \tabularnewline
58 & 105.3 & NA & NA & 0.0640625 & NA \tabularnewline
59 & 106.1 & NA & NA & 0.134896 & NA \tabularnewline
60 & 106.1 & NA & NA & 0.00572917 & NA \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=289707&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]99.2[/C][C]NA[/C][C]NA[/C][C]-0.215104[/C][C]NA[/C][/ROW]
[ROW][C]2[/C][C]99.1[/C][C]NA[/C][C]NA[/C][C]0.0234375[/C][C]NA[/C][/ROW]
[ROW][C]3[/C][C]99.1[/C][C]NA[/C][C]NA[/C][C]-0.0119792[/C][C]NA[/C][/ROW]
[ROW][C]4[/C][C]99.1[/C][C]NA[/C][C]NA[/C][C]0.166146[/C][C]NA[/C][/ROW]
[ROW][C]5[/C][C]99.1[/C][C]NA[/C][C]NA[/C][C]0.131771[/C][C]NA[/C][/ROW]
[ROW][C]6[/C][C]99.1[/C][C]NA[/C][C]NA[/C][C]0.0463542[/C][C]NA[/C][/ROW]
[ROW][C]7[/C][C]99.9[/C][C]100.093[/C][C]100.125[/C][C]-0.0317708[/C][C]-0.193229[/C][/ROW]
[ROW][C]8[/C][C]100[/C][C]100.29[/C][C]100.421[/C][C]-0.130729[/C][C]-0.290104[/C][/ROW]
[ROW][C]9[/C][C]100[/C][C]100.563[/C][C]100.746[/C][C]-0.182812[/C][C]-0.563021[/C][/ROW]
[ROW][C]10[/C][C]101.3[/C][C]101.16[/C][C]101.096[/C][C]0.0640625[/C][C]0.140104[/C][/ROW]
[ROW][C]11[/C][C]102[/C][C]101.606[/C][C]101.471[/C][C]0.134896[/C][C]0.394271[/C][/ROW]
[ROW][C]12[/C][C]102[/C][C]101.852[/C][C]101.846[/C][C]0.00572917[/C][C]0.148438[/C][/ROW]
[ROW][C]13[/C][C]102.4[/C][C]101.972[/C][C]102.187[/C][C]-0.215104[/C][C]0.427604[/C][/ROW]
[ROW][C]14[/C][C]103[/C][C]102.515[/C][C]102.492[/C][C]0.0234375[/C][C]0.484896[/C][/ROW]
[ROW][C]15[/C][C]103[/C][C]102.792[/C][C]102.804[/C][C]-0.0119792[/C][C]0.207813[/C][/ROW]
[ROW][C]16[/C][C]103.6[/C][C]103.245[/C][C]103.079[/C][C]0.166146[/C][C]0.354688[/C][/ROW]
[ROW][C]17[/C][C]103.6[/C][C]103.407[/C][C]103.275[/C][C]0.131771[/C][C]0.193229[/C][/ROW]
[ROW][C]18[/C][C]103.6[/C][C]103.488[/C][C]103.442[/C][C]0.0463542[/C][C]0.111979[/C][/ROW]
[ROW][C]19[/C][C]103.6[/C][C]103.597[/C][C]103.629[/C][C]-0.0317708[/C][C]0.00260417[/C][/ROW]
[ROW][C]20[/C][C]103.6[/C][C]103.69[/C][C]103.821[/C][C]-0.130729[/C][C]-0.0901042[/C][/ROW]
[ROW][C]21[/C][C]103.9[/C][C]103.817[/C][C]104[/C][C]-0.182812[/C][C]0.0828125[/C][/ROW]
[ROW][C]22[/C][C]104[/C][C]104.235[/C][C]104.171[/C][C]0.0640625[/C][C]-0.234896[/C][/ROW]
[ROW][C]23[/C][C]104[/C][C]104.472[/C][C]104.337[/C][C]0.134896[/C][C]-0.472396[/C][/ROW]
[ROW][C]24[/C][C]104[/C][C]104.518[/C][C]104.512[/C][C]0.00572917[/C][C]-0.518229[/C][/ROW]
[ROW][C]25[/C][C]104.9[/C][C]104.472[/C][C]104.688[/C][C]-0.215104[/C][C]0.427604[/C][/ROW]
[ROW][C]26[/C][C]105.1[/C][C]104.886[/C][C]104.863[/C][C]0.0234375[/C][C]0.214062[/C][/ROW]
[ROW][C]27[/C][C]105.2[/C][C]105.013[/C][C]105.025[/C][C]-0.0119792[/C][C]0.186979[/C][/ROW]
[ROW][C]28[/C][C]105.5[/C][C]105.341[/C][C]105.175[/C][C]0.166146[/C][C]0.158854[/C][/ROW]
[ROW][C]29[/C][C]105.7[/C][C]105.457[/C][C]105.325[/C][C]0.131771[/C][C]0.243229[/C][/ROW]
[ROW][C]30[/C][C]105.7[/C][C]105.521[/C][C]105.475[/C][C]0.0463542[/C][C]0.178646[/C][/ROW]
[ROW][C]31[/C][C]105.7[/C][C]105.589[/C][C]105.621[/C][C]-0.0317708[/C][C]0.110937[/C][/ROW]
[ROW][C]32[/C][C]105.7[/C][C]105.64[/C][C]105.771[/C][C]-0.130729[/C][C]0.0598958[/C][/ROW]
[ROW][C]33[/C][C]105.7[/C][C]105.751[/C][C]105.933[/C][C]-0.182812[/C][C]-0.0505208[/C][/ROW]
[ROW][C]34[/C][C]105.8[/C][C]106.156[/C][C]106.092[/C][C]0.0640625[/C][C]-0.355729[/C][/ROW]
[ROW][C]35[/C][C]105.8[/C][C]106.368[/C][C]106.233[/C][C]0.134896[/C][C]-0.568229[/C][/ROW]
[ROW][C]36[/C][C]105.8[/C][C]106.372[/C][C]106.367[/C][C]0.00572917[/C][C]-0.572396[/C][/ROW]
[ROW][C]37[/C][C]106.6[/C][C]106.289[/C][C]106.504[/C][C]-0.215104[/C][C]0.310937[/C][/ROW]
[ROW][C]38[/C][C]107[/C][C]106.669[/C][C]106.646[/C][C]0.0234375[/C][C]0.330729[/C][/ROW]
[ROW][C]39[/C][C]107.2[/C][C]106.776[/C][C]106.788[/C][C]-0.0119792[/C][C]0.424479[/C][/ROW]
[ROW][C]40[/C][C]107.3[/C][C]107.091[/C][C]106.925[/C][C]0.166146[/C][C]0.208854[/C][/ROW]
[ROW][C]41[/C][C]107.3[/C][C]107.194[/C][C]107.062[/C][C]0.131771[/C][C]0.105729[/C][/ROW]
[ROW][C]42[/C][C]107.3[/C][C]107.251[/C][C]107.204[/C][C]0.0463542[/C][C]0.0494792[/C][/ROW]
[ROW][C]43[/C][C]107.4[/C][C]107.177[/C][C]107.208[/C][C]-0.0317708[/C][C]0.223438[/C][/ROW]
[ROW][C]44[/C][C]107.4[/C][C]106.936[/C][C]107.067[/C][C]-0.130729[/C][C]0.464062[/C][/ROW]
[ROW][C]45[/C][C]107.4[/C][C]106.726[/C][C]106.908[/C][C]-0.182812[/C][C]0.674479[/C][/ROW]
[ROW][C]46[/C][C]107.4[/C][C]106.806[/C][C]106.742[/C][C]0.0640625[/C][C]0.594271[/C][/ROW]
[ROW][C]47[/C][C]107.5[/C][C]106.71[/C][C]106.575[/C][C]0.134896[/C][C]0.790104[/C][/ROW]
[ROW][C]48[/C][C]107.5[/C][C]106.414[/C][C]106.408[/C][C]0.00572917[/C][C]1.08594[/C][/ROW]
[ROW][C]49[/C][C]105[/C][C]106.022[/C][C]106.237[/C][C]-0.215104[/C][C]-1.0224[/C][/ROW]
[ROW][C]50[/C][C]105.2[/C][C]106.086[/C][C]106.062[/C][C]0.0234375[/C][C]-0.885937[/C][/ROW]
[ROW][C]51[/C][C]105.2[/C][C]105.876[/C][C]105.887[/C][C]-0.0119792[/C][C]-0.675521[/C][/ROW]
[ROW][C]52[/C][C]105.3[/C][C]105.879[/C][C]105.712[/C][C]0.166146[/C][C]-0.578646[/C][/ROW]
[ROW][C]53[/C][C]105.3[/C][C]105.698[/C][C]105.567[/C][C]0.131771[/C][C]-0.398437[/C][/ROW]
[ROW][C]54[/C][C]105.3[/C][C]105.496[/C][C]105.45[/C][C]0.0463542[/C][C]-0.196354[/C][/ROW]
[ROW][C]55[/C][C]105.3[/C][C]NA[/C][C]NA[/C][C]-0.0317708[/C][C]NA[/C][/ROW]
[ROW][C]56[/C][C]105.3[/C][C]NA[/C][C]NA[/C][C]-0.130729[/C][C]NA[/C][/ROW]
[ROW][C]57[/C][C]105.3[/C][C]NA[/C][C]NA[/C][C]-0.182812[/C][C]NA[/C][/ROW]
[ROW][C]58[/C][C]105.3[/C][C]NA[/C][C]NA[/C][C]0.0640625[/C][C]NA[/C][/ROW]
[ROW][C]59[/C][C]106.1[/C][C]NA[/C][C]NA[/C][C]0.134896[/C][C]NA[/C][/ROW]
[ROW][C]60[/C][C]106.1[/C][C]NA[/C][C]NA[/C][C]0.00572917[/C][C]NA[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=289707&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=289707&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
199.2NANA-0.215104NA
299.1NANA0.0234375NA
399.1NANA-0.0119792NA
499.1NANA0.166146NA
599.1NANA0.131771NA
699.1NANA0.0463542NA
799.9100.093100.125-0.0317708-0.193229
8100100.29100.421-0.130729-0.290104
9100100.563100.746-0.182812-0.563021
10101.3101.16101.0960.06406250.140104
11102101.606101.4710.1348960.394271
12102101.852101.8460.005729170.148438
13102.4101.972102.187-0.2151040.427604
14103102.515102.4920.02343750.484896
15103102.792102.804-0.01197920.207813
16103.6103.245103.0790.1661460.354688
17103.6103.407103.2750.1317710.193229
18103.6103.488103.4420.04635420.111979
19103.6103.597103.629-0.03177080.00260417
20103.6103.69103.821-0.130729-0.0901042
21103.9103.817104-0.1828120.0828125
22104104.235104.1710.0640625-0.234896
23104104.472104.3370.134896-0.472396
24104104.518104.5120.00572917-0.518229
25104.9104.472104.688-0.2151040.427604
26105.1104.886104.8630.02343750.214062
27105.2105.013105.025-0.01197920.186979
28105.5105.341105.1750.1661460.158854
29105.7105.457105.3250.1317710.243229
30105.7105.521105.4750.04635420.178646
31105.7105.589105.621-0.03177080.110937
32105.7105.64105.771-0.1307290.0598958
33105.7105.751105.933-0.182812-0.0505208
34105.8106.156106.0920.0640625-0.355729
35105.8106.368106.2330.134896-0.568229
36105.8106.372106.3670.00572917-0.572396
37106.6106.289106.504-0.2151040.310937
38107106.669106.6460.02343750.330729
39107.2106.776106.788-0.01197920.424479
40107.3107.091106.9250.1661460.208854
41107.3107.194107.0620.1317710.105729
42107.3107.251107.2040.04635420.0494792
43107.4107.177107.208-0.03177080.223438
44107.4106.936107.067-0.1307290.464062
45107.4106.726106.908-0.1828120.674479
46107.4106.806106.7420.06406250.594271
47107.5106.71106.5750.1348960.790104
48107.5106.414106.4080.005729171.08594
49105106.022106.237-0.215104-1.0224
50105.2106.086106.0620.0234375-0.885937
51105.2105.876105.887-0.0119792-0.675521
52105.3105.879105.7120.166146-0.578646
53105.3105.698105.5670.131771-0.398437
54105.3105.496105.450.0463542-0.196354
55105.3NANA-0.0317708NA
56105.3NANA-0.130729NA
57105.3NANA-0.182812NA
58105.3NANA0.0640625NA
59106.1NANA0.134896NA
60106.1NANA0.00572917NA



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