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 computationFri, 16 Dec 2016 22:35:46 +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/Dec/16/t1481924233wk32hzc0l3s2y04.htm/, Retrieved Thu, 02 May 2024 17:00:56 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=300567, Retrieved Thu, 02 May 2024 17:00:56 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact76
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-     [Classical Decomposition] [multiple regressi...] [2016-12-16 20:41:06] [15f3778596b3a039df0348fb43372a09]
-    D    [Classical Decomposition] [classical decompo...] [2016-12-16 21:35:46] [ca14e1566745fb922befb698831e7d61] [Current]
Feedback Forum

Post a new message
Dataseries X:
-116.7
-130.2
-99.74
-96.29
-34.84
95.61
52.07
189.5
174
174.4
155.9
192.3
160.8
139.2
117.7
212.1
167.6
98.05
3.502
-26.04
-77.59
-114.1
-117.7
-173.2
-67.78
-271.3
-315.9
-291.4
54.76
279.2
84.67
98.12
112.6
-11.97
28.48
80.93
97.39
-824.2
-366.1
-316.6
-69.17
-93.72
-31.26
-11.81
-89.36
-63.9
-55.45
-41
-48.55
-38.09
-1.64
134.8
73.27
126.7
149.2
69.62
95.08
33.53
46.98
62.44
103.9
141.3
189.8




Summary of computational transaction
Raw Input view raw input (R code)
Raw Outputview raw output of R engine
Computing time2 seconds
R ServerBig Analytics Cloud Computing Center

\begin{tabular}{lllllllll}
\hline
Summary of computational transaction \tabularnewline
Raw Input view raw input (R code)  \tabularnewline
Raw Outputview raw output of R engine  \tabularnewline
Computing time2 seconds \tabularnewline
R ServerBig Analytics Cloud Computing Center \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=300567&T=0

[TABLE]
[ROW]
Summary of computational transaction[/C][/ROW] [ROW]Raw Input[/C] view raw input (R code) [/C][/ROW] [ROW]Raw Output[/C]view raw output of R engine [/C][/ROW] [ROW]Computing time[/C]2 seconds[/C][/ROW] [ROW]R Server[/C]Big Analytics Cloud Computing Center[/C][/ROW] [/TABLE] Source: https://freestatistics.org/blog/index.php?pk=300567&T=0

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=300567&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 Input view raw input (R code)
Raw Outputview raw output of R engine
Computing time2 seconds
R ServerBig Analytics Cloud Computing Center







Classical Decomposition by Moving Averages
tObservationsFitTrendSeasonalRandom
1-116.7NANA42.0969NA
2-130.2NANA-241.729NA
3-99.74NANA-132.545NA
4-96.29NANA-54.0458NA
5-34.84NANA70.4461NA
695.61NANA118.876NA
752.07111.96957.896754.0728-59.8994
8189.5142.89880.684262.213546.6023
9174137.575100.96936.606236.4246
10174.4131.937122.8799.0583342.4629
11155.9156.388144.16312.225-0.488334
12192.3175.425152.722.72516.875
13160.8192.875150.77842.0969-32.0749
14139.2-101.955139.774-241.729241.155
15117.7-12.2356120.31-132.545129.936
16212.143.760297.806-54.0458168.34
17167.6144.83174.385270.446122.7687
1898.05166.63247.756118.876-68.5819
193.50277.075423.002754.0728-73.5734
20-26.0458.5879-3.6256762.2135-84.6279
21-77.59-2.1903-38.796536.6062-75.3997
22-114.1-68.784-77.84239.05833-45.316
23-117.7-91.2982-103.52312.225-26.4018
24-173.2-77.9519-100.67722.725-95.2481
25-67.78-47.6501-89.74742.0969-20.1299
26-271.3-322.92-81.1917-241.72951.6203
27-315.9-200.639-68.0937-132.545-115.261
28-291.4-109.96-55.9137-54.0458-181.44
2954.7624.8786-45.567570.446129.8814
30279.289.988-28.8879118.876189.212
3184.6742.6557-11.417154.072842.0143
3298.1234.641-27.572562.213563.479
33112.6-16.0955-52.701736.6062128.695
34-11.97-46.785-55.84339.0583334.815
3528.48-49.8321-62.057112.22578.3121
3680.93-60.0342-82.759222.725140.964
3797.39-61.031-103.12842.0969158.421
38-824.2-354.267-112.539-241.729-469.933
39-366.1-258.079-125.534-132.545-108.021
40-316.6-190.159-136.113-54.0458-126.441
41-69.17-71.3276-141.77470.44612.1576
42-93.72-31.4753-150.351118.876-62.2447
43-31.26-107.44-161.51254.072876.1797
44-11.81-72.6252-134.83962.213560.8152
45-89.36-50.2921-86.898336.6062-39.0679
46-63.9-43.8458-52.90429.05833-20.0542
47-55.45-15.9358-28.160812.225-39.5142
48-419.68333-13.041722.725-50.6833
49-48.5545.75853.6616742.0969-94.3085
50-38.09-227.15514.5738-241.729189.065
51-1.64-106.89425.6517-132.545105.254
52134.8-16.649637.3962-54.0458151.45
5373.27116.1745.723870.4461-42.8999
54126.7173.17854.3017118.876-46.4776
55149.2119.03764.963854.072830.1635
5669.62141.00478.790462.2135-71.3839
5795.08130.84894.241736.6062-35.7679
5833.53NANA9.05833NA
5946.98NANA12.225NA
6062.44NANA22.725NA
61103.9NANA42.0969NA
62141.3NANA-241.729NA
63189.8NANA-132.545NA

\begin{tabular}{lllllllll}
\hline
Classical Decomposition by Moving Averages \tabularnewline
t & Observations & Fit & Trend & Seasonal & Random \tabularnewline
1 & -116.7 & NA & NA & 42.0969 & NA \tabularnewline
2 & -130.2 & NA & NA & -241.729 & NA \tabularnewline
3 & -99.74 & NA & NA & -132.545 & NA \tabularnewline
4 & -96.29 & NA & NA & -54.0458 & NA \tabularnewline
5 & -34.84 & NA & NA & 70.4461 & NA \tabularnewline
6 & 95.61 & NA & NA & 118.876 & NA \tabularnewline
7 & 52.07 & 111.969 & 57.8967 & 54.0728 & -59.8994 \tabularnewline
8 & 189.5 & 142.898 & 80.6842 & 62.2135 & 46.6023 \tabularnewline
9 & 174 & 137.575 & 100.969 & 36.6062 & 36.4246 \tabularnewline
10 & 174.4 & 131.937 & 122.879 & 9.05833 & 42.4629 \tabularnewline
11 & 155.9 & 156.388 & 144.163 & 12.225 & -0.488334 \tabularnewline
12 & 192.3 & 175.425 & 152.7 & 22.725 & 16.875 \tabularnewline
13 & 160.8 & 192.875 & 150.778 & 42.0969 & -32.0749 \tabularnewline
14 & 139.2 & -101.955 & 139.774 & -241.729 & 241.155 \tabularnewline
15 & 117.7 & -12.2356 & 120.31 & -132.545 & 129.936 \tabularnewline
16 & 212.1 & 43.7602 & 97.806 & -54.0458 & 168.34 \tabularnewline
17 & 167.6 & 144.831 & 74.3852 & 70.4461 & 22.7687 \tabularnewline
18 & 98.05 & 166.632 & 47.756 & 118.876 & -68.5819 \tabularnewline
19 & 3.502 & 77.0754 & 23.0027 & 54.0728 & -73.5734 \tabularnewline
20 & -26.04 & 58.5879 & -3.62567 & 62.2135 & -84.6279 \tabularnewline
21 & -77.59 & -2.1903 & -38.7965 & 36.6062 & -75.3997 \tabularnewline
22 & -114.1 & -68.784 & -77.8423 & 9.05833 & -45.316 \tabularnewline
23 & -117.7 & -91.2982 & -103.523 & 12.225 & -26.4018 \tabularnewline
24 & -173.2 & -77.9519 & -100.677 & 22.725 & -95.2481 \tabularnewline
25 & -67.78 & -47.6501 & -89.747 & 42.0969 & -20.1299 \tabularnewline
26 & -271.3 & -322.92 & -81.1917 & -241.729 & 51.6203 \tabularnewline
27 & -315.9 & -200.639 & -68.0937 & -132.545 & -115.261 \tabularnewline
28 & -291.4 & -109.96 & -55.9137 & -54.0458 & -181.44 \tabularnewline
29 & 54.76 & 24.8786 & -45.5675 & 70.4461 & 29.8814 \tabularnewline
30 & 279.2 & 89.988 & -28.8879 & 118.876 & 189.212 \tabularnewline
31 & 84.67 & 42.6557 & -11.4171 & 54.0728 & 42.0143 \tabularnewline
32 & 98.12 & 34.641 & -27.5725 & 62.2135 & 63.479 \tabularnewline
33 & 112.6 & -16.0955 & -52.7017 & 36.6062 & 128.695 \tabularnewline
34 & -11.97 & -46.785 & -55.8433 & 9.05833 & 34.815 \tabularnewline
35 & 28.48 & -49.8321 & -62.0571 & 12.225 & 78.3121 \tabularnewline
36 & 80.93 & -60.0342 & -82.7592 & 22.725 & 140.964 \tabularnewline
37 & 97.39 & -61.031 & -103.128 & 42.0969 & 158.421 \tabularnewline
38 & -824.2 & -354.267 & -112.539 & -241.729 & -469.933 \tabularnewline
39 & -366.1 & -258.079 & -125.534 & -132.545 & -108.021 \tabularnewline
40 & -316.6 & -190.159 & -136.113 & -54.0458 & -126.441 \tabularnewline
41 & -69.17 & -71.3276 & -141.774 & 70.4461 & 2.1576 \tabularnewline
42 & -93.72 & -31.4753 & -150.351 & 118.876 & -62.2447 \tabularnewline
43 & -31.26 & -107.44 & -161.512 & 54.0728 & 76.1797 \tabularnewline
44 & -11.81 & -72.6252 & -134.839 & 62.2135 & 60.8152 \tabularnewline
45 & -89.36 & -50.2921 & -86.8983 & 36.6062 & -39.0679 \tabularnewline
46 & -63.9 & -43.8458 & -52.9042 & 9.05833 & -20.0542 \tabularnewline
47 & -55.45 & -15.9358 & -28.1608 & 12.225 & -39.5142 \tabularnewline
48 & -41 & 9.68333 & -13.0417 & 22.725 & -50.6833 \tabularnewline
49 & -48.55 & 45.7585 & 3.66167 & 42.0969 & -94.3085 \tabularnewline
50 & -38.09 & -227.155 & 14.5738 & -241.729 & 189.065 \tabularnewline
51 & -1.64 & -106.894 & 25.6517 & -132.545 & 105.254 \tabularnewline
52 & 134.8 & -16.6496 & 37.3962 & -54.0458 & 151.45 \tabularnewline
53 & 73.27 & 116.17 & 45.7238 & 70.4461 & -42.8999 \tabularnewline
54 & 126.7 & 173.178 & 54.3017 & 118.876 & -46.4776 \tabularnewline
55 & 149.2 & 119.037 & 64.9638 & 54.0728 & 30.1635 \tabularnewline
56 & 69.62 & 141.004 & 78.7904 & 62.2135 & -71.3839 \tabularnewline
57 & 95.08 & 130.848 & 94.2417 & 36.6062 & -35.7679 \tabularnewline
58 & 33.53 & NA & NA & 9.05833 & NA \tabularnewline
59 & 46.98 & NA & NA & 12.225 & NA \tabularnewline
60 & 62.44 & NA & NA & 22.725 & NA \tabularnewline
61 & 103.9 & NA & NA & 42.0969 & NA \tabularnewline
62 & 141.3 & NA & NA & -241.729 & NA \tabularnewline
63 & 189.8 & NA & NA & -132.545 & NA \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=300567&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]-116.7[/C][C]NA[/C][C]NA[/C][C]42.0969[/C][C]NA[/C][/ROW]
[ROW][C]2[/C][C]-130.2[/C][C]NA[/C][C]NA[/C][C]-241.729[/C][C]NA[/C][/ROW]
[ROW][C]3[/C][C]-99.74[/C][C]NA[/C][C]NA[/C][C]-132.545[/C][C]NA[/C][/ROW]
[ROW][C]4[/C][C]-96.29[/C][C]NA[/C][C]NA[/C][C]-54.0458[/C][C]NA[/C][/ROW]
[ROW][C]5[/C][C]-34.84[/C][C]NA[/C][C]NA[/C][C]70.4461[/C][C]NA[/C][/ROW]
[ROW][C]6[/C][C]95.61[/C][C]NA[/C][C]NA[/C][C]118.876[/C][C]NA[/C][/ROW]
[ROW][C]7[/C][C]52.07[/C][C]111.969[/C][C]57.8967[/C][C]54.0728[/C][C]-59.8994[/C][/ROW]
[ROW][C]8[/C][C]189.5[/C][C]142.898[/C][C]80.6842[/C][C]62.2135[/C][C]46.6023[/C][/ROW]
[ROW][C]9[/C][C]174[/C][C]137.575[/C][C]100.969[/C][C]36.6062[/C][C]36.4246[/C][/ROW]
[ROW][C]10[/C][C]174.4[/C][C]131.937[/C][C]122.879[/C][C]9.05833[/C][C]42.4629[/C][/ROW]
[ROW][C]11[/C][C]155.9[/C][C]156.388[/C][C]144.163[/C][C]12.225[/C][C]-0.488334[/C][/ROW]
[ROW][C]12[/C][C]192.3[/C][C]175.425[/C][C]152.7[/C][C]22.725[/C][C]16.875[/C][/ROW]
[ROW][C]13[/C][C]160.8[/C][C]192.875[/C][C]150.778[/C][C]42.0969[/C][C]-32.0749[/C][/ROW]
[ROW][C]14[/C][C]139.2[/C][C]-101.955[/C][C]139.774[/C][C]-241.729[/C][C]241.155[/C][/ROW]
[ROW][C]15[/C][C]117.7[/C][C]-12.2356[/C][C]120.31[/C][C]-132.545[/C][C]129.936[/C][/ROW]
[ROW][C]16[/C][C]212.1[/C][C]43.7602[/C][C]97.806[/C][C]-54.0458[/C][C]168.34[/C][/ROW]
[ROW][C]17[/C][C]167.6[/C][C]144.831[/C][C]74.3852[/C][C]70.4461[/C][C]22.7687[/C][/ROW]
[ROW][C]18[/C][C]98.05[/C][C]166.632[/C][C]47.756[/C][C]118.876[/C][C]-68.5819[/C][/ROW]
[ROW][C]19[/C][C]3.502[/C][C]77.0754[/C][C]23.0027[/C][C]54.0728[/C][C]-73.5734[/C][/ROW]
[ROW][C]20[/C][C]-26.04[/C][C]58.5879[/C][C]-3.62567[/C][C]62.2135[/C][C]-84.6279[/C][/ROW]
[ROW][C]21[/C][C]-77.59[/C][C]-2.1903[/C][C]-38.7965[/C][C]36.6062[/C][C]-75.3997[/C][/ROW]
[ROW][C]22[/C][C]-114.1[/C][C]-68.784[/C][C]-77.8423[/C][C]9.05833[/C][C]-45.316[/C][/ROW]
[ROW][C]23[/C][C]-117.7[/C][C]-91.2982[/C][C]-103.523[/C][C]12.225[/C][C]-26.4018[/C][/ROW]
[ROW][C]24[/C][C]-173.2[/C][C]-77.9519[/C][C]-100.677[/C][C]22.725[/C][C]-95.2481[/C][/ROW]
[ROW][C]25[/C][C]-67.78[/C][C]-47.6501[/C][C]-89.747[/C][C]42.0969[/C][C]-20.1299[/C][/ROW]
[ROW][C]26[/C][C]-271.3[/C][C]-322.92[/C][C]-81.1917[/C][C]-241.729[/C][C]51.6203[/C][/ROW]
[ROW][C]27[/C][C]-315.9[/C][C]-200.639[/C][C]-68.0937[/C][C]-132.545[/C][C]-115.261[/C][/ROW]
[ROW][C]28[/C][C]-291.4[/C][C]-109.96[/C][C]-55.9137[/C][C]-54.0458[/C][C]-181.44[/C][/ROW]
[ROW][C]29[/C][C]54.76[/C][C]24.8786[/C][C]-45.5675[/C][C]70.4461[/C][C]29.8814[/C][/ROW]
[ROW][C]30[/C][C]279.2[/C][C]89.988[/C][C]-28.8879[/C][C]118.876[/C][C]189.212[/C][/ROW]
[ROW][C]31[/C][C]84.67[/C][C]42.6557[/C][C]-11.4171[/C][C]54.0728[/C][C]42.0143[/C][/ROW]
[ROW][C]32[/C][C]98.12[/C][C]34.641[/C][C]-27.5725[/C][C]62.2135[/C][C]63.479[/C][/ROW]
[ROW][C]33[/C][C]112.6[/C][C]-16.0955[/C][C]-52.7017[/C][C]36.6062[/C][C]128.695[/C][/ROW]
[ROW][C]34[/C][C]-11.97[/C][C]-46.785[/C][C]-55.8433[/C][C]9.05833[/C][C]34.815[/C][/ROW]
[ROW][C]35[/C][C]28.48[/C][C]-49.8321[/C][C]-62.0571[/C][C]12.225[/C][C]78.3121[/C][/ROW]
[ROW][C]36[/C][C]80.93[/C][C]-60.0342[/C][C]-82.7592[/C][C]22.725[/C][C]140.964[/C][/ROW]
[ROW][C]37[/C][C]97.39[/C][C]-61.031[/C][C]-103.128[/C][C]42.0969[/C][C]158.421[/C][/ROW]
[ROW][C]38[/C][C]-824.2[/C][C]-354.267[/C][C]-112.539[/C][C]-241.729[/C][C]-469.933[/C][/ROW]
[ROW][C]39[/C][C]-366.1[/C][C]-258.079[/C][C]-125.534[/C][C]-132.545[/C][C]-108.021[/C][/ROW]
[ROW][C]40[/C][C]-316.6[/C][C]-190.159[/C][C]-136.113[/C][C]-54.0458[/C][C]-126.441[/C][/ROW]
[ROW][C]41[/C][C]-69.17[/C][C]-71.3276[/C][C]-141.774[/C][C]70.4461[/C][C]2.1576[/C][/ROW]
[ROW][C]42[/C][C]-93.72[/C][C]-31.4753[/C][C]-150.351[/C][C]118.876[/C][C]-62.2447[/C][/ROW]
[ROW][C]43[/C][C]-31.26[/C][C]-107.44[/C][C]-161.512[/C][C]54.0728[/C][C]76.1797[/C][/ROW]
[ROW][C]44[/C][C]-11.81[/C][C]-72.6252[/C][C]-134.839[/C][C]62.2135[/C][C]60.8152[/C][/ROW]
[ROW][C]45[/C][C]-89.36[/C][C]-50.2921[/C][C]-86.8983[/C][C]36.6062[/C][C]-39.0679[/C][/ROW]
[ROW][C]46[/C][C]-63.9[/C][C]-43.8458[/C][C]-52.9042[/C][C]9.05833[/C][C]-20.0542[/C][/ROW]
[ROW][C]47[/C][C]-55.45[/C][C]-15.9358[/C][C]-28.1608[/C][C]12.225[/C][C]-39.5142[/C][/ROW]
[ROW][C]48[/C][C]-41[/C][C]9.68333[/C][C]-13.0417[/C][C]22.725[/C][C]-50.6833[/C][/ROW]
[ROW][C]49[/C][C]-48.55[/C][C]45.7585[/C][C]3.66167[/C][C]42.0969[/C][C]-94.3085[/C][/ROW]
[ROW][C]50[/C][C]-38.09[/C][C]-227.155[/C][C]14.5738[/C][C]-241.729[/C][C]189.065[/C][/ROW]
[ROW][C]51[/C][C]-1.64[/C][C]-106.894[/C][C]25.6517[/C][C]-132.545[/C][C]105.254[/C][/ROW]
[ROW][C]52[/C][C]134.8[/C][C]-16.6496[/C][C]37.3962[/C][C]-54.0458[/C][C]151.45[/C][/ROW]
[ROW][C]53[/C][C]73.27[/C][C]116.17[/C][C]45.7238[/C][C]70.4461[/C][C]-42.8999[/C][/ROW]
[ROW][C]54[/C][C]126.7[/C][C]173.178[/C][C]54.3017[/C][C]118.876[/C][C]-46.4776[/C][/ROW]
[ROW][C]55[/C][C]149.2[/C][C]119.037[/C][C]64.9638[/C][C]54.0728[/C][C]30.1635[/C][/ROW]
[ROW][C]56[/C][C]69.62[/C][C]141.004[/C][C]78.7904[/C][C]62.2135[/C][C]-71.3839[/C][/ROW]
[ROW][C]57[/C][C]95.08[/C][C]130.848[/C][C]94.2417[/C][C]36.6062[/C][C]-35.7679[/C][/ROW]
[ROW][C]58[/C][C]33.53[/C][C]NA[/C][C]NA[/C][C]9.05833[/C][C]NA[/C][/ROW]
[ROW][C]59[/C][C]46.98[/C][C]NA[/C][C]NA[/C][C]12.225[/C][C]NA[/C][/ROW]
[ROW][C]60[/C][C]62.44[/C][C]NA[/C][C]NA[/C][C]22.725[/C][C]NA[/C][/ROW]
[ROW][C]61[/C][C]103.9[/C][C]NA[/C][C]NA[/C][C]42.0969[/C][C]NA[/C][/ROW]
[ROW][C]62[/C][C]141.3[/C][C]NA[/C][C]NA[/C][C]-241.729[/C][C]NA[/C][/ROW]
[ROW][C]63[/C][C]189.8[/C][C]NA[/C][C]NA[/C][C]-132.545[/C][C]NA[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=300567&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=300567&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
1-116.7NANA42.0969NA
2-130.2NANA-241.729NA
3-99.74NANA-132.545NA
4-96.29NANA-54.0458NA
5-34.84NANA70.4461NA
695.61NANA118.876NA
752.07111.96957.896754.0728-59.8994
8189.5142.89880.684262.213546.6023
9174137.575100.96936.606236.4246
10174.4131.937122.8799.0583342.4629
11155.9156.388144.16312.225-0.488334
12192.3175.425152.722.72516.875
13160.8192.875150.77842.0969-32.0749
14139.2-101.955139.774-241.729241.155
15117.7-12.2356120.31-132.545129.936
16212.143.760297.806-54.0458168.34
17167.6144.83174.385270.446122.7687
1898.05166.63247.756118.876-68.5819
193.50277.075423.002754.0728-73.5734
20-26.0458.5879-3.6256762.2135-84.6279
21-77.59-2.1903-38.796536.6062-75.3997
22-114.1-68.784-77.84239.05833-45.316
23-117.7-91.2982-103.52312.225-26.4018
24-173.2-77.9519-100.67722.725-95.2481
25-67.78-47.6501-89.74742.0969-20.1299
26-271.3-322.92-81.1917-241.72951.6203
27-315.9-200.639-68.0937-132.545-115.261
28-291.4-109.96-55.9137-54.0458-181.44
2954.7624.8786-45.567570.446129.8814
30279.289.988-28.8879118.876189.212
3184.6742.6557-11.417154.072842.0143
3298.1234.641-27.572562.213563.479
33112.6-16.0955-52.701736.6062128.695
34-11.97-46.785-55.84339.0583334.815
3528.48-49.8321-62.057112.22578.3121
3680.93-60.0342-82.759222.725140.964
3797.39-61.031-103.12842.0969158.421
38-824.2-354.267-112.539-241.729-469.933
39-366.1-258.079-125.534-132.545-108.021
40-316.6-190.159-136.113-54.0458-126.441
41-69.17-71.3276-141.77470.44612.1576
42-93.72-31.4753-150.351118.876-62.2447
43-31.26-107.44-161.51254.072876.1797
44-11.81-72.6252-134.83962.213560.8152
45-89.36-50.2921-86.898336.6062-39.0679
46-63.9-43.8458-52.90429.05833-20.0542
47-55.45-15.9358-28.160812.225-39.5142
48-419.68333-13.041722.725-50.6833
49-48.5545.75853.6616742.0969-94.3085
50-38.09-227.15514.5738-241.729189.065
51-1.64-106.89425.6517-132.545105.254
52134.8-16.649637.3962-54.0458151.45
5373.27116.1745.723870.4461-42.8999
54126.7173.17854.3017118.876-46.4776
55149.2119.03764.963854.072830.1635
5669.62141.00478.790462.2135-71.3839
5795.08130.84894.241736.6062-35.7679
5833.53NANA9.05833NA
5946.98NANA12.225NA
6062.44NANA22.725NA
61103.9NANA42.0969NA
62141.3NANA-241.729NA
63189.8NANA-132.545NA



Parameters (Session):
par1 = 12 ; par2 = periodic ; par3 = 0 ; par5 = 1 ; par7 = 1 ; par8 = FALSE ;
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')