Free Statistics

of Irreproducible Research!

Author's title

Author*Unverified author*
R Software Modulerwasp_decompose.wasp
Title produced by softwareClassical Decomposition
Date of computationFri, 28 Nov 2014 10:50:36 +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/28/t1417171982q3dyqembdwyhr27.htm/, Retrieved Sun, 19 May 2024 22:08:22 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=260823, Retrieved Sun, 19 May 2024 22:08:22 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact96
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-       [Classical Decomposition] [Classical Deompos...] [2014-11-28 10:50:36] [be7d2a6a6c016378f31f309d9b06695b] [Current]
Feedback Forum

Post a new message
Dataseries X:
71
77
76
69
74
101
105
73
68
65
70
65
80
92
93
90
96
125
134
100
97
97
101
90
108
113
112
103
103
125
128
91
84
83
83
69
77
83
78
70
75
101
117
80
87
81
78
73
93
105
102
97
100
127
138
107
107
106
109
107
129
138
137
134
134
166
180
131
135
127
121
116




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

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=260823&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
171NANA-2.82361NA
277NANA4.86806NA
376NANA2.02639NA
469NANA-4.64861NA
574NANA-2.79028NA
6101NANA23.5597NA
7105107.02676.541730.4847-2.02639
87372.834777.5417-4.706940.165278
96871.551478.875-7.32361-3.55139
106569.884780.4583-10.5736-4.88472
117072.434782.25-9.81528-2.43472
126565.909784.1667-18.2569-0.909722
138083.551486.375-2.82361-3.55139
149293.576488.70834.86806-1.57639
159393.068191.04172.02639-0.0680556
169088.934793.5833-4.648611.06528
179693.418196.2083-2.790282.58194
18125122.10198.541723.55972.89861
19134131.235100.7530.48472.76528
2010098.0847102.792-4.706941.91528
219797.1347104.458-7.32361-0.134722
229795.2181105.792-10.57361.78194
2310196.8097106.625-9.815284.19028
249088.6597106.917-18.25691.34028
25108103.843106.667-2.823614.15694
26113110.91106.0424.868062.09028
27112107.151105.1252.026394.84861
2810399.3514104-4.648613.64861
2910399.8764102.667-2.790283.12361
30125124.601101.04223.55970.398611
31128129.3698.87530.4847-1.35972
329191.626496.3333-4.70694-0.626389
338486.343193.6667-7.32361-2.34306
348380.301490.875-10.57362.69861
358378.518188.3333-9.815284.48194
366967.909786.1667-18.25691.09028
377781.884784.7083-2.82361-4.88472
388388.659783.79174.86806-5.65972
397885.484783.45832.02639-7.48472
407078.851483.5-4.64861-8.85139
417580.418183.2083-2.79028-5.41806
42101106.72683.166723.5597-5.72639
43117114.4858430.48472.51528
448080.876485.5833-4.70694-0.876389
458780.176487.5-7.323616.82361
468179.051489.625-10.57361.94861
477881.976491.7917-9.81528-3.97639
487375.659793.9167-18.2569-2.65972
499393.051495.875-2.82361-0.0513889
50105102.74397.8754.868062.25694
51102101.8699.83332.026390.140278
529797.0597101.708-4.64861-0.0597222
53100101.251104.042-2.79028-1.25139
54127130.31106.7523.5597-3.30972
55138140.151109.66730.4847-2.15139
56107107.835112.542-4.70694-0.834722
57107108.051115.375-7.32361-1.05139
58106107.801118.375-10.5736-1.80139
59109111.518121.333-9.81528-2.51806
60107106.118124.375-18.25690.881944
61129124.926127.75-2.823614.07361
62138135.368130.54.868062.63194
63137134.693132.6672.026392.30694
64134130.06134.708-4.648613.94028
65134133.293136.083-2.790280.706944
66166160.518136.95823.55975.48194
67180NANA30.4847NA
68131NANA-4.70694NA
69135NANA-7.32361NA
70127NANA-10.5736NA
71121NANA-9.81528NA
72116NANA-18.2569NA

\begin{tabular}{lllllllll}
\hline
Classical Decomposition by Moving Averages \tabularnewline
t & Observations & Fit & Trend & Seasonal & Random \tabularnewline
1 & 71 & NA & NA & -2.82361 & NA \tabularnewline
2 & 77 & NA & NA & 4.86806 & NA \tabularnewline
3 & 76 & NA & NA & 2.02639 & NA \tabularnewline
4 & 69 & NA & NA & -4.64861 & NA \tabularnewline
5 & 74 & NA & NA & -2.79028 & NA \tabularnewline
6 & 101 & NA & NA & 23.5597 & NA \tabularnewline
7 & 105 & 107.026 & 76.5417 & 30.4847 & -2.02639 \tabularnewline
8 & 73 & 72.8347 & 77.5417 & -4.70694 & 0.165278 \tabularnewline
9 & 68 & 71.5514 & 78.875 & -7.32361 & -3.55139 \tabularnewline
10 & 65 & 69.8847 & 80.4583 & -10.5736 & -4.88472 \tabularnewline
11 & 70 & 72.4347 & 82.25 & -9.81528 & -2.43472 \tabularnewline
12 & 65 & 65.9097 & 84.1667 & -18.2569 & -0.909722 \tabularnewline
13 & 80 & 83.5514 & 86.375 & -2.82361 & -3.55139 \tabularnewline
14 & 92 & 93.5764 & 88.7083 & 4.86806 & -1.57639 \tabularnewline
15 & 93 & 93.0681 & 91.0417 & 2.02639 & -0.0680556 \tabularnewline
16 & 90 & 88.9347 & 93.5833 & -4.64861 & 1.06528 \tabularnewline
17 & 96 & 93.4181 & 96.2083 & -2.79028 & 2.58194 \tabularnewline
18 & 125 & 122.101 & 98.5417 & 23.5597 & 2.89861 \tabularnewline
19 & 134 & 131.235 & 100.75 & 30.4847 & 2.76528 \tabularnewline
20 & 100 & 98.0847 & 102.792 & -4.70694 & 1.91528 \tabularnewline
21 & 97 & 97.1347 & 104.458 & -7.32361 & -0.134722 \tabularnewline
22 & 97 & 95.2181 & 105.792 & -10.5736 & 1.78194 \tabularnewline
23 & 101 & 96.8097 & 106.625 & -9.81528 & 4.19028 \tabularnewline
24 & 90 & 88.6597 & 106.917 & -18.2569 & 1.34028 \tabularnewline
25 & 108 & 103.843 & 106.667 & -2.82361 & 4.15694 \tabularnewline
26 & 113 & 110.91 & 106.042 & 4.86806 & 2.09028 \tabularnewline
27 & 112 & 107.151 & 105.125 & 2.02639 & 4.84861 \tabularnewline
28 & 103 & 99.3514 & 104 & -4.64861 & 3.64861 \tabularnewline
29 & 103 & 99.8764 & 102.667 & -2.79028 & 3.12361 \tabularnewline
30 & 125 & 124.601 & 101.042 & 23.5597 & 0.398611 \tabularnewline
31 & 128 & 129.36 & 98.875 & 30.4847 & -1.35972 \tabularnewline
32 & 91 & 91.6264 & 96.3333 & -4.70694 & -0.626389 \tabularnewline
33 & 84 & 86.3431 & 93.6667 & -7.32361 & -2.34306 \tabularnewline
34 & 83 & 80.3014 & 90.875 & -10.5736 & 2.69861 \tabularnewline
35 & 83 & 78.5181 & 88.3333 & -9.81528 & 4.48194 \tabularnewline
36 & 69 & 67.9097 & 86.1667 & -18.2569 & 1.09028 \tabularnewline
37 & 77 & 81.8847 & 84.7083 & -2.82361 & -4.88472 \tabularnewline
38 & 83 & 88.6597 & 83.7917 & 4.86806 & -5.65972 \tabularnewline
39 & 78 & 85.4847 & 83.4583 & 2.02639 & -7.48472 \tabularnewline
40 & 70 & 78.8514 & 83.5 & -4.64861 & -8.85139 \tabularnewline
41 & 75 & 80.4181 & 83.2083 & -2.79028 & -5.41806 \tabularnewline
42 & 101 & 106.726 & 83.1667 & 23.5597 & -5.72639 \tabularnewline
43 & 117 & 114.485 & 84 & 30.4847 & 2.51528 \tabularnewline
44 & 80 & 80.8764 & 85.5833 & -4.70694 & -0.876389 \tabularnewline
45 & 87 & 80.1764 & 87.5 & -7.32361 & 6.82361 \tabularnewline
46 & 81 & 79.0514 & 89.625 & -10.5736 & 1.94861 \tabularnewline
47 & 78 & 81.9764 & 91.7917 & -9.81528 & -3.97639 \tabularnewline
48 & 73 & 75.6597 & 93.9167 & -18.2569 & -2.65972 \tabularnewline
49 & 93 & 93.0514 & 95.875 & -2.82361 & -0.0513889 \tabularnewline
50 & 105 & 102.743 & 97.875 & 4.86806 & 2.25694 \tabularnewline
51 & 102 & 101.86 & 99.8333 & 2.02639 & 0.140278 \tabularnewline
52 & 97 & 97.0597 & 101.708 & -4.64861 & -0.0597222 \tabularnewline
53 & 100 & 101.251 & 104.042 & -2.79028 & -1.25139 \tabularnewline
54 & 127 & 130.31 & 106.75 & 23.5597 & -3.30972 \tabularnewline
55 & 138 & 140.151 & 109.667 & 30.4847 & -2.15139 \tabularnewline
56 & 107 & 107.835 & 112.542 & -4.70694 & -0.834722 \tabularnewline
57 & 107 & 108.051 & 115.375 & -7.32361 & -1.05139 \tabularnewline
58 & 106 & 107.801 & 118.375 & -10.5736 & -1.80139 \tabularnewline
59 & 109 & 111.518 & 121.333 & -9.81528 & -2.51806 \tabularnewline
60 & 107 & 106.118 & 124.375 & -18.2569 & 0.881944 \tabularnewline
61 & 129 & 124.926 & 127.75 & -2.82361 & 4.07361 \tabularnewline
62 & 138 & 135.368 & 130.5 & 4.86806 & 2.63194 \tabularnewline
63 & 137 & 134.693 & 132.667 & 2.02639 & 2.30694 \tabularnewline
64 & 134 & 130.06 & 134.708 & -4.64861 & 3.94028 \tabularnewline
65 & 134 & 133.293 & 136.083 & -2.79028 & 0.706944 \tabularnewline
66 & 166 & 160.518 & 136.958 & 23.5597 & 5.48194 \tabularnewline
67 & 180 & NA & NA & 30.4847 & NA \tabularnewline
68 & 131 & NA & NA & -4.70694 & NA \tabularnewline
69 & 135 & NA & NA & -7.32361 & NA \tabularnewline
70 & 127 & NA & NA & -10.5736 & NA \tabularnewline
71 & 121 & NA & NA & -9.81528 & NA \tabularnewline
72 & 116 & NA & NA & -18.2569 & NA \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=260823&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]71[/C][C]NA[/C][C]NA[/C][C]-2.82361[/C][C]NA[/C][/ROW]
[ROW][C]2[/C][C]77[/C][C]NA[/C][C]NA[/C][C]4.86806[/C][C]NA[/C][/ROW]
[ROW][C]3[/C][C]76[/C][C]NA[/C][C]NA[/C][C]2.02639[/C][C]NA[/C][/ROW]
[ROW][C]4[/C][C]69[/C][C]NA[/C][C]NA[/C][C]-4.64861[/C][C]NA[/C][/ROW]
[ROW][C]5[/C][C]74[/C][C]NA[/C][C]NA[/C][C]-2.79028[/C][C]NA[/C][/ROW]
[ROW][C]6[/C][C]101[/C][C]NA[/C][C]NA[/C][C]23.5597[/C][C]NA[/C][/ROW]
[ROW][C]7[/C][C]105[/C][C]107.026[/C][C]76.5417[/C][C]30.4847[/C][C]-2.02639[/C][/ROW]
[ROW][C]8[/C][C]73[/C][C]72.8347[/C][C]77.5417[/C][C]-4.70694[/C][C]0.165278[/C][/ROW]
[ROW][C]9[/C][C]68[/C][C]71.5514[/C][C]78.875[/C][C]-7.32361[/C][C]-3.55139[/C][/ROW]
[ROW][C]10[/C][C]65[/C][C]69.8847[/C][C]80.4583[/C][C]-10.5736[/C][C]-4.88472[/C][/ROW]
[ROW][C]11[/C][C]70[/C][C]72.4347[/C][C]82.25[/C][C]-9.81528[/C][C]-2.43472[/C][/ROW]
[ROW][C]12[/C][C]65[/C][C]65.9097[/C][C]84.1667[/C][C]-18.2569[/C][C]-0.909722[/C][/ROW]
[ROW][C]13[/C][C]80[/C][C]83.5514[/C][C]86.375[/C][C]-2.82361[/C][C]-3.55139[/C][/ROW]
[ROW][C]14[/C][C]92[/C][C]93.5764[/C][C]88.7083[/C][C]4.86806[/C][C]-1.57639[/C][/ROW]
[ROW][C]15[/C][C]93[/C][C]93.0681[/C][C]91.0417[/C][C]2.02639[/C][C]-0.0680556[/C][/ROW]
[ROW][C]16[/C][C]90[/C][C]88.9347[/C][C]93.5833[/C][C]-4.64861[/C][C]1.06528[/C][/ROW]
[ROW][C]17[/C][C]96[/C][C]93.4181[/C][C]96.2083[/C][C]-2.79028[/C][C]2.58194[/C][/ROW]
[ROW][C]18[/C][C]125[/C][C]122.101[/C][C]98.5417[/C][C]23.5597[/C][C]2.89861[/C][/ROW]
[ROW][C]19[/C][C]134[/C][C]131.235[/C][C]100.75[/C][C]30.4847[/C][C]2.76528[/C][/ROW]
[ROW][C]20[/C][C]100[/C][C]98.0847[/C][C]102.792[/C][C]-4.70694[/C][C]1.91528[/C][/ROW]
[ROW][C]21[/C][C]97[/C][C]97.1347[/C][C]104.458[/C][C]-7.32361[/C][C]-0.134722[/C][/ROW]
[ROW][C]22[/C][C]97[/C][C]95.2181[/C][C]105.792[/C][C]-10.5736[/C][C]1.78194[/C][/ROW]
[ROW][C]23[/C][C]101[/C][C]96.8097[/C][C]106.625[/C][C]-9.81528[/C][C]4.19028[/C][/ROW]
[ROW][C]24[/C][C]90[/C][C]88.6597[/C][C]106.917[/C][C]-18.2569[/C][C]1.34028[/C][/ROW]
[ROW][C]25[/C][C]108[/C][C]103.843[/C][C]106.667[/C][C]-2.82361[/C][C]4.15694[/C][/ROW]
[ROW][C]26[/C][C]113[/C][C]110.91[/C][C]106.042[/C][C]4.86806[/C][C]2.09028[/C][/ROW]
[ROW][C]27[/C][C]112[/C][C]107.151[/C][C]105.125[/C][C]2.02639[/C][C]4.84861[/C][/ROW]
[ROW][C]28[/C][C]103[/C][C]99.3514[/C][C]104[/C][C]-4.64861[/C][C]3.64861[/C][/ROW]
[ROW][C]29[/C][C]103[/C][C]99.8764[/C][C]102.667[/C][C]-2.79028[/C][C]3.12361[/C][/ROW]
[ROW][C]30[/C][C]125[/C][C]124.601[/C][C]101.042[/C][C]23.5597[/C][C]0.398611[/C][/ROW]
[ROW][C]31[/C][C]128[/C][C]129.36[/C][C]98.875[/C][C]30.4847[/C][C]-1.35972[/C][/ROW]
[ROW][C]32[/C][C]91[/C][C]91.6264[/C][C]96.3333[/C][C]-4.70694[/C][C]-0.626389[/C][/ROW]
[ROW][C]33[/C][C]84[/C][C]86.3431[/C][C]93.6667[/C][C]-7.32361[/C][C]-2.34306[/C][/ROW]
[ROW][C]34[/C][C]83[/C][C]80.3014[/C][C]90.875[/C][C]-10.5736[/C][C]2.69861[/C][/ROW]
[ROW][C]35[/C][C]83[/C][C]78.5181[/C][C]88.3333[/C][C]-9.81528[/C][C]4.48194[/C][/ROW]
[ROW][C]36[/C][C]69[/C][C]67.9097[/C][C]86.1667[/C][C]-18.2569[/C][C]1.09028[/C][/ROW]
[ROW][C]37[/C][C]77[/C][C]81.8847[/C][C]84.7083[/C][C]-2.82361[/C][C]-4.88472[/C][/ROW]
[ROW][C]38[/C][C]83[/C][C]88.6597[/C][C]83.7917[/C][C]4.86806[/C][C]-5.65972[/C][/ROW]
[ROW][C]39[/C][C]78[/C][C]85.4847[/C][C]83.4583[/C][C]2.02639[/C][C]-7.48472[/C][/ROW]
[ROW][C]40[/C][C]70[/C][C]78.8514[/C][C]83.5[/C][C]-4.64861[/C][C]-8.85139[/C][/ROW]
[ROW][C]41[/C][C]75[/C][C]80.4181[/C][C]83.2083[/C][C]-2.79028[/C][C]-5.41806[/C][/ROW]
[ROW][C]42[/C][C]101[/C][C]106.726[/C][C]83.1667[/C][C]23.5597[/C][C]-5.72639[/C][/ROW]
[ROW][C]43[/C][C]117[/C][C]114.485[/C][C]84[/C][C]30.4847[/C][C]2.51528[/C][/ROW]
[ROW][C]44[/C][C]80[/C][C]80.8764[/C][C]85.5833[/C][C]-4.70694[/C][C]-0.876389[/C][/ROW]
[ROW][C]45[/C][C]87[/C][C]80.1764[/C][C]87.5[/C][C]-7.32361[/C][C]6.82361[/C][/ROW]
[ROW][C]46[/C][C]81[/C][C]79.0514[/C][C]89.625[/C][C]-10.5736[/C][C]1.94861[/C][/ROW]
[ROW][C]47[/C][C]78[/C][C]81.9764[/C][C]91.7917[/C][C]-9.81528[/C][C]-3.97639[/C][/ROW]
[ROW][C]48[/C][C]73[/C][C]75.6597[/C][C]93.9167[/C][C]-18.2569[/C][C]-2.65972[/C][/ROW]
[ROW][C]49[/C][C]93[/C][C]93.0514[/C][C]95.875[/C][C]-2.82361[/C][C]-0.0513889[/C][/ROW]
[ROW][C]50[/C][C]105[/C][C]102.743[/C][C]97.875[/C][C]4.86806[/C][C]2.25694[/C][/ROW]
[ROW][C]51[/C][C]102[/C][C]101.86[/C][C]99.8333[/C][C]2.02639[/C][C]0.140278[/C][/ROW]
[ROW][C]52[/C][C]97[/C][C]97.0597[/C][C]101.708[/C][C]-4.64861[/C][C]-0.0597222[/C][/ROW]
[ROW][C]53[/C][C]100[/C][C]101.251[/C][C]104.042[/C][C]-2.79028[/C][C]-1.25139[/C][/ROW]
[ROW][C]54[/C][C]127[/C][C]130.31[/C][C]106.75[/C][C]23.5597[/C][C]-3.30972[/C][/ROW]
[ROW][C]55[/C][C]138[/C][C]140.151[/C][C]109.667[/C][C]30.4847[/C][C]-2.15139[/C][/ROW]
[ROW][C]56[/C][C]107[/C][C]107.835[/C][C]112.542[/C][C]-4.70694[/C][C]-0.834722[/C][/ROW]
[ROW][C]57[/C][C]107[/C][C]108.051[/C][C]115.375[/C][C]-7.32361[/C][C]-1.05139[/C][/ROW]
[ROW][C]58[/C][C]106[/C][C]107.801[/C][C]118.375[/C][C]-10.5736[/C][C]-1.80139[/C][/ROW]
[ROW][C]59[/C][C]109[/C][C]111.518[/C][C]121.333[/C][C]-9.81528[/C][C]-2.51806[/C][/ROW]
[ROW][C]60[/C][C]107[/C][C]106.118[/C][C]124.375[/C][C]-18.2569[/C][C]0.881944[/C][/ROW]
[ROW][C]61[/C][C]129[/C][C]124.926[/C][C]127.75[/C][C]-2.82361[/C][C]4.07361[/C][/ROW]
[ROW][C]62[/C][C]138[/C][C]135.368[/C][C]130.5[/C][C]4.86806[/C][C]2.63194[/C][/ROW]
[ROW][C]63[/C][C]137[/C][C]134.693[/C][C]132.667[/C][C]2.02639[/C][C]2.30694[/C][/ROW]
[ROW][C]64[/C][C]134[/C][C]130.06[/C][C]134.708[/C][C]-4.64861[/C][C]3.94028[/C][/ROW]
[ROW][C]65[/C][C]134[/C][C]133.293[/C][C]136.083[/C][C]-2.79028[/C][C]0.706944[/C][/ROW]
[ROW][C]66[/C][C]166[/C][C]160.518[/C][C]136.958[/C][C]23.5597[/C][C]5.48194[/C][/ROW]
[ROW][C]67[/C][C]180[/C][C]NA[/C][C]NA[/C][C]30.4847[/C][C]NA[/C][/ROW]
[ROW][C]68[/C][C]131[/C][C]NA[/C][C]NA[/C][C]-4.70694[/C][C]NA[/C][/ROW]
[ROW][C]69[/C][C]135[/C][C]NA[/C][C]NA[/C][C]-7.32361[/C][C]NA[/C][/ROW]
[ROW][C]70[/C][C]127[/C][C]NA[/C][C]NA[/C][C]-10.5736[/C][C]NA[/C][/ROW]
[ROW][C]71[/C][C]121[/C][C]NA[/C][C]NA[/C][C]-9.81528[/C][C]NA[/C][/ROW]
[ROW][C]72[/C][C]116[/C][C]NA[/C][C]NA[/C][C]-18.2569[/C][C]NA[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=260823&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=260823&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
171NANA-2.82361NA
277NANA4.86806NA
376NANA2.02639NA
469NANA-4.64861NA
574NANA-2.79028NA
6101NANA23.5597NA
7105107.02676.541730.4847-2.02639
87372.834777.5417-4.706940.165278
96871.551478.875-7.32361-3.55139
106569.884780.4583-10.5736-4.88472
117072.434782.25-9.81528-2.43472
126565.909784.1667-18.2569-0.909722
138083.551486.375-2.82361-3.55139
149293.576488.70834.86806-1.57639
159393.068191.04172.02639-0.0680556
169088.934793.5833-4.648611.06528
179693.418196.2083-2.790282.58194
18125122.10198.541723.55972.89861
19134131.235100.7530.48472.76528
2010098.0847102.792-4.706941.91528
219797.1347104.458-7.32361-0.134722
229795.2181105.792-10.57361.78194
2310196.8097106.625-9.815284.19028
249088.6597106.917-18.25691.34028
25108103.843106.667-2.823614.15694
26113110.91106.0424.868062.09028
27112107.151105.1252.026394.84861
2810399.3514104-4.648613.64861
2910399.8764102.667-2.790283.12361
30125124.601101.04223.55970.398611
31128129.3698.87530.4847-1.35972
329191.626496.3333-4.70694-0.626389
338486.343193.6667-7.32361-2.34306
348380.301490.875-10.57362.69861
358378.518188.3333-9.815284.48194
366967.909786.1667-18.25691.09028
377781.884784.7083-2.82361-4.88472
388388.659783.79174.86806-5.65972
397885.484783.45832.02639-7.48472
407078.851483.5-4.64861-8.85139
417580.418183.2083-2.79028-5.41806
42101106.72683.166723.5597-5.72639
43117114.4858430.48472.51528
448080.876485.5833-4.70694-0.876389
458780.176487.5-7.323616.82361
468179.051489.625-10.57361.94861
477881.976491.7917-9.81528-3.97639
487375.659793.9167-18.2569-2.65972
499393.051495.875-2.82361-0.0513889
50105102.74397.8754.868062.25694
51102101.8699.83332.026390.140278
529797.0597101.708-4.64861-0.0597222
53100101.251104.042-2.79028-1.25139
54127130.31106.7523.5597-3.30972
55138140.151109.66730.4847-2.15139
56107107.835112.542-4.70694-0.834722
57107108.051115.375-7.32361-1.05139
58106107.801118.375-10.5736-1.80139
59109111.518121.333-9.81528-2.51806
60107106.118124.375-18.25690.881944
61129124.926127.75-2.823614.07361
62138135.368130.54.868062.63194
63137134.693132.6672.026392.30694
64134130.06134.708-4.648613.94028
65134133.293136.083-2.790280.706944
66166160.518136.95823.55975.48194
67180NANA30.4847NA
68131NANA-4.70694NA
69135NANA-7.32361NA
70127NANA-10.5736NA
71121NANA-9.81528NA
72116NANA-18.2569NA



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