Free Statistics

of Irreproducible Research!

Author's title

Author*Unverified author*
R Software Modulerwasp_decompose.wasp
Title produced by softwareClassical Decomposition
Date of computationTue, 26 Apr 2016 13:14:57 +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/Apr/26/t1461673010cr1r00jgy9owjp5.htm/, Retrieved Fri, 03 May 2024 18:28:51 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=294861, Retrieved Fri, 03 May 2024 18:28:51 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact94
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-       [Classical Decomposition] [] [2016-04-26 12:14:57] [76c30f62b7052b57088120e90a652e05] [Current]
Feedback Forum

Post a new message
Dataseries X:
99
99
99
100
101
101
100
101
100
101
100
100
102
102
102
102
102
102
103
103
103
103
103
103
104
104
104
106
106
106
106
107
106
106
106
106
106
106
106
105
105
105
105
105
104
104
104
104
103
104
104
103
103
103
103
103
103
104
104
104
104
104
105
105
104
104
104
104
103




Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time2 seconds
R Server'Gwilym Jenkins' @ jenkins.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 & 'Gwilym Jenkins' @ jenkins.wessa.net \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=294861&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]'Gwilym Jenkins' @ jenkins.wessa.net[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=294861&T=0

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=294861&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'Gwilym Jenkins' @ jenkins.wessa.net







Classical Decomposition by Moving Averages
tObservationsFitTrendSeasonalRandom
199NANA0.0130208NA
299NANA0.154687NA
399NANA0.304687NA
4100NANA0.0901042NA
5101NANA0.0171875NA
6101NANA-0.0661458NA
7100100.263100.2080.0546875-0.263021
8101100.83100.4580.3713540.170312
9100100.388100.708-0.320312-0.388021
10101100.905100.917-0.01197920.0953125
11100100.763101.042-0.278646-0.763021
12100100.796101.125-0.328646-0.796354
13102101.305101.2920.01302080.695312
14102101.655101.50.1546870.345313
15102102.013101.7080.304687-0.0130208
16102102.007101.9170.0901042-0.00677083
17102102.142102.1250.0171875-0.142187
18102102.309102.375-0.0661458-0.308854
19103102.638102.5830.05468750.361979
20103103.121102.750.371354-0.121354
21103102.596102.917-0.3203120.403646
22103103.155103.167-0.0119792-0.154687
23103103.221103.5-0.278646-0.221354
24103103.505103.833-0.328646-0.504687
25104104.138104.1250.0130208-0.138021
26104104.571104.4170.154687-0.571354
27104105.013104.7080.304687-1.01302
28106105.048104.9580.09010420.951563
29106105.226105.2080.01718750.774479
30106105.392105.458-0.06614580.607813
31106105.721105.6670.05468750.278646
32107106.205105.8330.3713540.795313
33106105.68106-0.3203120.320313
34106106.03106.042-0.0119792-0.0296875
35106105.68105.958-0.2786460.320313
36106105.546105.875-0.3286460.453646
37106105.805105.7920.01302080.195313
38106105.821105.6670.1546870.178646
39106105.805105.50.3046870.195313
40105105.423105.3330.0901042-0.423437
41105105.184105.1670.0171875-0.183854
42105104.934105-0.06614580.0661458
43105104.846104.7920.05468750.153646
44105104.955104.5830.3713540.0453125
45104104.096104.417-0.320312-0.0963542
46104104.238104.25-0.0119792-0.238021
47104103.805104.083-0.2786460.195312
48104103.588103.917-0.3286460.411979
49103103.763103.750.0130208-0.763021
50104103.738103.5830.1546870.261979
51104103.763103.4580.3046870.236979
52103103.507103.4170.0901042-0.506771
53103103.434103.4170.0171875-0.433854
54103103.351103.417-0.0661458-0.350521
55103103.513103.4580.0546875-0.513021
56103103.871103.50.371354-0.871354
57103103.221103.542-0.320312-0.221354
58104103.655103.667-0.01197920.345313
59104103.513103.792-0.2786460.486979
60104103.546103.875-0.3286460.453646
61104103.971103.9580.01302080.0286458
62104104.196104.0420.154687-0.196354
63105104.388104.0830.3046870.611979
64105NANA0.0901042NA
65104NANA0.0171875NA
66104NANA-0.0661458NA
67104NANA0.0546875NA
68104NANA0.371354NA
69103NANA-0.320312NA

\begin{tabular}{lllllllll}
\hline
Classical Decomposition by Moving Averages \tabularnewline
t & Observations & Fit & Trend & Seasonal & Random \tabularnewline
1 & 99 & NA & NA & 0.0130208 & NA \tabularnewline
2 & 99 & NA & NA & 0.154687 & NA \tabularnewline
3 & 99 & NA & NA & 0.304687 & NA \tabularnewline
4 & 100 & NA & NA & 0.0901042 & NA \tabularnewline
5 & 101 & NA & NA & 0.0171875 & NA \tabularnewline
6 & 101 & NA & NA & -0.0661458 & NA \tabularnewline
7 & 100 & 100.263 & 100.208 & 0.0546875 & -0.263021 \tabularnewline
8 & 101 & 100.83 & 100.458 & 0.371354 & 0.170312 \tabularnewline
9 & 100 & 100.388 & 100.708 & -0.320312 & -0.388021 \tabularnewline
10 & 101 & 100.905 & 100.917 & -0.0119792 & 0.0953125 \tabularnewline
11 & 100 & 100.763 & 101.042 & -0.278646 & -0.763021 \tabularnewline
12 & 100 & 100.796 & 101.125 & -0.328646 & -0.796354 \tabularnewline
13 & 102 & 101.305 & 101.292 & 0.0130208 & 0.695312 \tabularnewline
14 & 102 & 101.655 & 101.5 & 0.154687 & 0.345313 \tabularnewline
15 & 102 & 102.013 & 101.708 & 0.304687 & -0.0130208 \tabularnewline
16 & 102 & 102.007 & 101.917 & 0.0901042 & -0.00677083 \tabularnewline
17 & 102 & 102.142 & 102.125 & 0.0171875 & -0.142187 \tabularnewline
18 & 102 & 102.309 & 102.375 & -0.0661458 & -0.308854 \tabularnewline
19 & 103 & 102.638 & 102.583 & 0.0546875 & 0.361979 \tabularnewline
20 & 103 & 103.121 & 102.75 & 0.371354 & -0.121354 \tabularnewline
21 & 103 & 102.596 & 102.917 & -0.320312 & 0.403646 \tabularnewline
22 & 103 & 103.155 & 103.167 & -0.0119792 & -0.154687 \tabularnewline
23 & 103 & 103.221 & 103.5 & -0.278646 & -0.221354 \tabularnewline
24 & 103 & 103.505 & 103.833 & -0.328646 & -0.504687 \tabularnewline
25 & 104 & 104.138 & 104.125 & 0.0130208 & -0.138021 \tabularnewline
26 & 104 & 104.571 & 104.417 & 0.154687 & -0.571354 \tabularnewline
27 & 104 & 105.013 & 104.708 & 0.304687 & -1.01302 \tabularnewline
28 & 106 & 105.048 & 104.958 & 0.0901042 & 0.951563 \tabularnewline
29 & 106 & 105.226 & 105.208 & 0.0171875 & 0.774479 \tabularnewline
30 & 106 & 105.392 & 105.458 & -0.0661458 & 0.607813 \tabularnewline
31 & 106 & 105.721 & 105.667 & 0.0546875 & 0.278646 \tabularnewline
32 & 107 & 106.205 & 105.833 & 0.371354 & 0.795313 \tabularnewline
33 & 106 & 105.68 & 106 & -0.320312 & 0.320313 \tabularnewline
34 & 106 & 106.03 & 106.042 & -0.0119792 & -0.0296875 \tabularnewline
35 & 106 & 105.68 & 105.958 & -0.278646 & 0.320313 \tabularnewline
36 & 106 & 105.546 & 105.875 & -0.328646 & 0.453646 \tabularnewline
37 & 106 & 105.805 & 105.792 & 0.0130208 & 0.195313 \tabularnewline
38 & 106 & 105.821 & 105.667 & 0.154687 & 0.178646 \tabularnewline
39 & 106 & 105.805 & 105.5 & 0.304687 & 0.195313 \tabularnewline
40 & 105 & 105.423 & 105.333 & 0.0901042 & -0.423437 \tabularnewline
41 & 105 & 105.184 & 105.167 & 0.0171875 & -0.183854 \tabularnewline
42 & 105 & 104.934 & 105 & -0.0661458 & 0.0661458 \tabularnewline
43 & 105 & 104.846 & 104.792 & 0.0546875 & 0.153646 \tabularnewline
44 & 105 & 104.955 & 104.583 & 0.371354 & 0.0453125 \tabularnewline
45 & 104 & 104.096 & 104.417 & -0.320312 & -0.0963542 \tabularnewline
46 & 104 & 104.238 & 104.25 & -0.0119792 & -0.238021 \tabularnewline
47 & 104 & 103.805 & 104.083 & -0.278646 & 0.195312 \tabularnewline
48 & 104 & 103.588 & 103.917 & -0.328646 & 0.411979 \tabularnewline
49 & 103 & 103.763 & 103.75 & 0.0130208 & -0.763021 \tabularnewline
50 & 104 & 103.738 & 103.583 & 0.154687 & 0.261979 \tabularnewline
51 & 104 & 103.763 & 103.458 & 0.304687 & 0.236979 \tabularnewline
52 & 103 & 103.507 & 103.417 & 0.0901042 & -0.506771 \tabularnewline
53 & 103 & 103.434 & 103.417 & 0.0171875 & -0.433854 \tabularnewline
54 & 103 & 103.351 & 103.417 & -0.0661458 & -0.350521 \tabularnewline
55 & 103 & 103.513 & 103.458 & 0.0546875 & -0.513021 \tabularnewline
56 & 103 & 103.871 & 103.5 & 0.371354 & -0.871354 \tabularnewline
57 & 103 & 103.221 & 103.542 & -0.320312 & -0.221354 \tabularnewline
58 & 104 & 103.655 & 103.667 & -0.0119792 & 0.345313 \tabularnewline
59 & 104 & 103.513 & 103.792 & -0.278646 & 0.486979 \tabularnewline
60 & 104 & 103.546 & 103.875 & -0.328646 & 0.453646 \tabularnewline
61 & 104 & 103.971 & 103.958 & 0.0130208 & 0.0286458 \tabularnewline
62 & 104 & 104.196 & 104.042 & 0.154687 & -0.196354 \tabularnewline
63 & 105 & 104.388 & 104.083 & 0.304687 & 0.611979 \tabularnewline
64 & 105 & NA & NA & 0.0901042 & NA \tabularnewline
65 & 104 & NA & NA & 0.0171875 & NA \tabularnewline
66 & 104 & NA & NA & -0.0661458 & NA \tabularnewline
67 & 104 & NA & NA & 0.0546875 & NA \tabularnewline
68 & 104 & NA & NA & 0.371354 & NA \tabularnewline
69 & 103 & NA & NA & -0.320312 & NA \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=294861&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[/C][C]NA[/C][C]NA[/C][C]0.0130208[/C][C]NA[/C][/ROW]
[ROW][C]2[/C][C]99[/C][C]NA[/C][C]NA[/C][C]0.154687[/C][C]NA[/C][/ROW]
[ROW][C]3[/C][C]99[/C][C]NA[/C][C]NA[/C][C]0.304687[/C][C]NA[/C][/ROW]
[ROW][C]4[/C][C]100[/C][C]NA[/C][C]NA[/C][C]0.0901042[/C][C]NA[/C][/ROW]
[ROW][C]5[/C][C]101[/C][C]NA[/C][C]NA[/C][C]0.0171875[/C][C]NA[/C][/ROW]
[ROW][C]6[/C][C]101[/C][C]NA[/C][C]NA[/C][C]-0.0661458[/C][C]NA[/C][/ROW]
[ROW][C]7[/C][C]100[/C][C]100.263[/C][C]100.208[/C][C]0.0546875[/C][C]-0.263021[/C][/ROW]
[ROW][C]8[/C][C]101[/C][C]100.83[/C][C]100.458[/C][C]0.371354[/C][C]0.170312[/C][/ROW]
[ROW][C]9[/C][C]100[/C][C]100.388[/C][C]100.708[/C][C]-0.320312[/C][C]-0.388021[/C][/ROW]
[ROW][C]10[/C][C]101[/C][C]100.905[/C][C]100.917[/C][C]-0.0119792[/C][C]0.0953125[/C][/ROW]
[ROW][C]11[/C][C]100[/C][C]100.763[/C][C]101.042[/C][C]-0.278646[/C][C]-0.763021[/C][/ROW]
[ROW][C]12[/C][C]100[/C][C]100.796[/C][C]101.125[/C][C]-0.328646[/C][C]-0.796354[/C][/ROW]
[ROW][C]13[/C][C]102[/C][C]101.305[/C][C]101.292[/C][C]0.0130208[/C][C]0.695312[/C][/ROW]
[ROW][C]14[/C][C]102[/C][C]101.655[/C][C]101.5[/C][C]0.154687[/C][C]0.345313[/C][/ROW]
[ROW][C]15[/C][C]102[/C][C]102.013[/C][C]101.708[/C][C]0.304687[/C][C]-0.0130208[/C][/ROW]
[ROW][C]16[/C][C]102[/C][C]102.007[/C][C]101.917[/C][C]0.0901042[/C][C]-0.00677083[/C][/ROW]
[ROW][C]17[/C][C]102[/C][C]102.142[/C][C]102.125[/C][C]0.0171875[/C][C]-0.142187[/C][/ROW]
[ROW][C]18[/C][C]102[/C][C]102.309[/C][C]102.375[/C][C]-0.0661458[/C][C]-0.308854[/C][/ROW]
[ROW][C]19[/C][C]103[/C][C]102.638[/C][C]102.583[/C][C]0.0546875[/C][C]0.361979[/C][/ROW]
[ROW][C]20[/C][C]103[/C][C]103.121[/C][C]102.75[/C][C]0.371354[/C][C]-0.121354[/C][/ROW]
[ROW][C]21[/C][C]103[/C][C]102.596[/C][C]102.917[/C][C]-0.320312[/C][C]0.403646[/C][/ROW]
[ROW][C]22[/C][C]103[/C][C]103.155[/C][C]103.167[/C][C]-0.0119792[/C][C]-0.154687[/C][/ROW]
[ROW][C]23[/C][C]103[/C][C]103.221[/C][C]103.5[/C][C]-0.278646[/C][C]-0.221354[/C][/ROW]
[ROW][C]24[/C][C]103[/C][C]103.505[/C][C]103.833[/C][C]-0.328646[/C][C]-0.504687[/C][/ROW]
[ROW][C]25[/C][C]104[/C][C]104.138[/C][C]104.125[/C][C]0.0130208[/C][C]-0.138021[/C][/ROW]
[ROW][C]26[/C][C]104[/C][C]104.571[/C][C]104.417[/C][C]0.154687[/C][C]-0.571354[/C][/ROW]
[ROW][C]27[/C][C]104[/C][C]105.013[/C][C]104.708[/C][C]0.304687[/C][C]-1.01302[/C][/ROW]
[ROW][C]28[/C][C]106[/C][C]105.048[/C][C]104.958[/C][C]0.0901042[/C][C]0.951563[/C][/ROW]
[ROW][C]29[/C][C]106[/C][C]105.226[/C][C]105.208[/C][C]0.0171875[/C][C]0.774479[/C][/ROW]
[ROW][C]30[/C][C]106[/C][C]105.392[/C][C]105.458[/C][C]-0.0661458[/C][C]0.607813[/C][/ROW]
[ROW][C]31[/C][C]106[/C][C]105.721[/C][C]105.667[/C][C]0.0546875[/C][C]0.278646[/C][/ROW]
[ROW][C]32[/C][C]107[/C][C]106.205[/C][C]105.833[/C][C]0.371354[/C][C]0.795313[/C][/ROW]
[ROW][C]33[/C][C]106[/C][C]105.68[/C][C]106[/C][C]-0.320312[/C][C]0.320313[/C][/ROW]
[ROW][C]34[/C][C]106[/C][C]106.03[/C][C]106.042[/C][C]-0.0119792[/C][C]-0.0296875[/C][/ROW]
[ROW][C]35[/C][C]106[/C][C]105.68[/C][C]105.958[/C][C]-0.278646[/C][C]0.320313[/C][/ROW]
[ROW][C]36[/C][C]106[/C][C]105.546[/C][C]105.875[/C][C]-0.328646[/C][C]0.453646[/C][/ROW]
[ROW][C]37[/C][C]106[/C][C]105.805[/C][C]105.792[/C][C]0.0130208[/C][C]0.195313[/C][/ROW]
[ROW][C]38[/C][C]106[/C][C]105.821[/C][C]105.667[/C][C]0.154687[/C][C]0.178646[/C][/ROW]
[ROW][C]39[/C][C]106[/C][C]105.805[/C][C]105.5[/C][C]0.304687[/C][C]0.195313[/C][/ROW]
[ROW][C]40[/C][C]105[/C][C]105.423[/C][C]105.333[/C][C]0.0901042[/C][C]-0.423437[/C][/ROW]
[ROW][C]41[/C][C]105[/C][C]105.184[/C][C]105.167[/C][C]0.0171875[/C][C]-0.183854[/C][/ROW]
[ROW][C]42[/C][C]105[/C][C]104.934[/C][C]105[/C][C]-0.0661458[/C][C]0.0661458[/C][/ROW]
[ROW][C]43[/C][C]105[/C][C]104.846[/C][C]104.792[/C][C]0.0546875[/C][C]0.153646[/C][/ROW]
[ROW][C]44[/C][C]105[/C][C]104.955[/C][C]104.583[/C][C]0.371354[/C][C]0.0453125[/C][/ROW]
[ROW][C]45[/C][C]104[/C][C]104.096[/C][C]104.417[/C][C]-0.320312[/C][C]-0.0963542[/C][/ROW]
[ROW][C]46[/C][C]104[/C][C]104.238[/C][C]104.25[/C][C]-0.0119792[/C][C]-0.238021[/C][/ROW]
[ROW][C]47[/C][C]104[/C][C]103.805[/C][C]104.083[/C][C]-0.278646[/C][C]0.195312[/C][/ROW]
[ROW][C]48[/C][C]104[/C][C]103.588[/C][C]103.917[/C][C]-0.328646[/C][C]0.411979[/C][/ROW]
[ROW][C]49[/C][C]103[/C][C]103.763[/C][C]103.75[/C][C]0.0130208[/C][C]-0.763021[/C][/ROW]
[ROW][C]50[/C][C]104[/C][C]103.738[/C][C]103.583[/C][C]0.154687[/C][C]0.261979[/C][/ROW]
[ROW][C]51[/C][C]104[/C][C]103.763[/C][C]103.458[/C][C]0.304687[/C][C]0.236979[/C][/ROW]
[ROW][C]52[/C][C]103[/C][C]103.507[/C][C]103.417[/C][C]0.0901042[/C][C]-0.506771[/C][/ROW]
[ROW][C]53[/C][C]103[/C][C]103.434[/C][C]103.417[/C][C]0.0171875[/C][C]-0.433854[/C][/ROW]
[ROW][C]54[/C][C]103[/C][C]103.351[/C][C]103.417[/C][C]-0.0661458[/C][C]-0.350521[/C][/ROW]
[ROW][C]55[/C][C]103[/C][C]103.513[/C][C]103.458[/C][C]0.0546875[/C][C]-0.513021[/C][/ROW]
[ROW][C]56[/C][C]103[/C][C]103.871[/C][C]103.5[/C][C]0.371354[/C][C]-0.871354[/C][/ROW]
[ROW][C]57[/C][C]103[/C][C]103.221[/C][C]103.542[/C][C]-0.320312[/C][C]-0.221354[/C][/ROW]
[ROW][C]58[/C][C]104[/C][C]103.655[/C][C]103.667[/C][C]-0.0119792[/C][C]0.345313[/C][/ROW]
[ROW][C]59[/C][C]104[/C][C]103.513[/C][C]103.792[/C][C]-0.278646[/C][C]0.486979[/C][/ROW]
[ROW][C]60[/C][C]104[/C][C]103.546[/C][C]103.875[/C][C]-0.328646[/C][C]0.453646[/C][/ROW]
[ROW][C]61[/C][C]104[/C][C]103.971[/C][C]103.958[/C][C]0.0130208[/C][C]0.0286458[/C][/ROW]
[ROW][C]62[/C][C]104[/C][C]104.196[/C][C]104.042[/C][C]0.154687[/C][C]-0.196354[/C][/ROW]
[ROW][C]63[/C][C]105[/C][C]104.388[/C][C]104.083[/C][C]0.304687[/C][C]0.611979[/C][/ROW]
[ROW][C]64[/C][C]105[/C][C]NA[/C][C]NA[/C][C]0.0901042[/C][C]NA[/C][/ROW]
[ROW][C]65[/C][C]104[/C][C]NA[/C][C]NA[/C][C]0.0171875[/C][C]NA[/C][/ROW]
[ROW][C]66[/C][C]104[/C][C]NA[/C][C]NA[/C][C]-0.0661458[/C][C]NA[/C][/ROW]
[ROW][C]67[/C][C]104[/C][C]NA[/C][C]NA[/C][C]0.0546875[/C][C]NA[/C][/ROW]
[ROW][C]68[/C][C]104[/C][C]NA[/C][C]NA[/C][C]0.371354[/C][C]NA[/C][/ROW]
[ROW][C]69[/C][C]103[/C][C]NA[/C][C]NA[/C][C]-0.320312[/C][C]NA[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=294861&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=294861&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
199NANA0.0130208NA
299NANA0.154687NA
399NANA0.304687NA
4100NANA0.0901042NA
5101NANA0.0171875NA
6101NANA-0.0661458NA
7100100.263100.2080.0546875-0.263021
8101100.83100.4580.3713540.170312
9100100.388100.708-0.320312-0.388021
10101100.905100.917-0.01197920.0953125
11100100.763101.042-0.278646-0.763021
12100100.796101.125-0.328646-0.796354
13102101.305101.2920.01302080.695312
14102101.655101.50.1546870.345313
15102102.013101.7080.304687-0.0130208
16102102.007101.9170.0901042-0.00677083
17102102.142102.1250.0171875-0.142187
18102102.309102.375-0.0661458-0.308854
19103102.638102.5830.05468750.361979
20103103.121102.750.371354-0.121354
21103102.596102.917-0.3203120.403646
22103103.155103.167-0.0119792-0.154687
23103103.221103.5-0.278646-0.221354
24103103.505103.833-0.328646-0.504687
25104104.138104.1250.0130208-0.138021
26104104.571104.4170.154687-0.571354
27104105.013104.7080.304687-1.01302
28106105.048104.9580.09010420.951563
29106105.226105.2080.01718750.774479
30106105.392105.458-0.06614580.607813
31106105.721105.6670.05468750.278646
32107106.205105.8330.3713540.795313
33106105.68106-0.3203120.320313
34106106.03106.042-0.0119792-0.0296875
35106105.68105.958-0.2786460.320313
36106105.546105.875-0.3286460.453646
37106105.805105.7920.01302080.195313
38106105.821105.6670.1546870.178646
39106105.805105.50.3046870.195313
40105105.423105.3330.0901042-0.423437
41105105.184105.1670.0171875-0.183854
42105104.934105-0.06614580.0661458
43105104.846104.7920.05468750.153646
44105104.955104.5830.3713540.0453125
45104104.096104.417-0.320312-0.0963542
46104104.238104.25-0.0119792-0.238021
47104103.805104.083-0.2786460.195312
48104103.588103.917-0.3286460.411979
49103103.763103.750.0130208-0.763021
50104103.738103.5830.1546870.261979
51104103.763103.4580.3046870.236979
52103103.507103.4170.0901042-0.506771
53103103.434103.4170.0171875-0.433854
54103103.351103.417-0.0661458-0.350521
55103103.513103.4580.0546875-0.513021
56103103.871103.50.371354-0.871354
57103103.221103.542-0.320312-0.221354
58104103.655103.667-0.01197920.345313
59104103.513103.792-0.2786460.486979
60104103.546103.875-0.3286460.453646
61104103.971103.9580.01302080.0286458
62104104.196104.0420.154687-0.196354
63105104.388104.0830.3046870.611979
64105NANA0.0901042NA
65104NANA0.0171875NA
66104NANA-0.0661458NA
67104NANA0.0546875NA
68104NANA0.371354NA
69103NANA-0.320312NA



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