Free Statistics

of Irreproducible Research!

Author's title

Author*Unverified author*
R Software Modulerwasp_decompose.wasp
Title produced by softwareClassical Decomposition
Date of computationMon, 25 Apr 2016 21:58:44 +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/25/t1461617945conmyuircd0r70c.htm/, Retrieved Sun, 05 May 2024 23:00:48 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=294799, Retrieved Sun, 05 May 2024 23:00:48 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact54
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-       [Classical Decomposition] [] [2016-04-25 20:58:44] [9d122f8260d20611f07666190c7f1fd6] [Current]
Feedback Forum

Post a new message
Dataseries X:
45564.6
47295.5
46465.5
50679.5
47452.8
49415.4
48165.3
51814
49030.7
50820.8
49729.5
53501.6
50524.9
52095
51290.3
55064
52505.2
54318.3
53039.6
57607.6
54236.4
56586.4
55614
60085.9
56963.5
59152.8
57804.6
62541.5
59449.3
61704.7
60399
65724.7
62679.4
65526.5
64274.8
68769.1
63542.8
66198
64544.9
71041.8
66087.2
69005.8
66897
73702
68485.3
71457
69774.6
76479.7
71204.7
73783.9
71651
78541.6
72714.4
75258
73168.1
79701.6
73944.5
76401.2
73948.1
80583.3




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

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







Classical Decomposition by Moving Averages
tObservationsFitTrendSeasonalRandom
145564.6NANA0.974347NA
247295.5NANA1.0013NA
346465.5NANA0.969582NA
450679.5NANA1.04608NA
547452.8NANA0.975079NA
649415.4NANA1.00344NA
748165.347892.349367.90.970111.0057
85181452052.949774.61.045770.99541
949030.749018.550175.60.9769381.00025
1050820.851007.750559.31.008870.996336
1149729.549903.650952.50.9794140.996511
1253501.653888.351367.31.049080.992823
1350524.950446.551774.70.9743471.00155
145209552286.952219.21.00130.996331
1551290.351075.252677.50.9695821.00421
165506455582.953134.71.046080.990664
1752505.252283.853620.10.9750791.00423
1854318.354325.954139.61.003440.999861
1953039.653047.854682.20.970110.999846
2057607.657773.355244.61.045770.997132
2154236.45452355810.10.9769380.994743
2256586.456893.256393.11.008870.994608
235561455820.7569940.9794140.996297
2460085.960417.557591.11.049080.994511
2556963.556712.358205.50.9743471.00443
2659152.858926.658850.41.00131.00384
2757804.657729.359540.40.9695821.00131
2862541.563041.560264.71.046080.992069
2959449.359477.9609980.9750790.99952
3061704.76193361720.71.003440.996313
316039960492.862356.60.970110.99845
3265724.765804.562924.31.045770.998787
3362679.462034.363498.70.9769381.0104
3465526.564702.564133.71.008871.01274
3564274.863431.364764.50.9794141.0133
3668769.168552.365345.31.049081.00316
3763542.864229.265920.20.9743470.989313
386619866609.566523.41.00130.993822
3964544.965056.767097.70.9695820.992133
4071041.870700.967586.71.046081.00482
4166087.266366.7680630.9750790.995788
4269005.868849.468613.41.003441.00227
436689767183.969253.90.970110.99573
447370273088.369889.21.045771.0084
4568485.368875.570501.40.9769380.994334
467145771740.6711101.008870.996047
4769774.670222.671698.60.9794140.99362
4876479.775780.472235.31.049081.00923
4971204.770890.672757.10.9743471.00443
5073783.973363.273268.31.00131.00573
517165171502.673745.80.9695821.00208
5278541.677597.274179.31.046081.01217
5372714.472701.174559.20.9750791.00018
547525875161.7749041.003441.00128
5573168.1NANA0.97011NA
5679701.6NANA1.04577NA
5773944.5NANA0.976938NA
5876401.2NANA1.00887NA
5973948.1NANA0.979414NA
6080583.3NANA1.04908NA

\begin{tabular}{lllllllll}
\hline
Classical Decomposition by Moving Averages \tabularnewline
t & Observations & Fit & Trend & Seasonal & Random \tabularnewline
1 & 45564.6 & NA & NA & 0.974347 & NA \tabularnewline
2 & 47295.5 & NA & NA & 1.0013 & NA \tabularnewline
3 & 46465.5 & NA & NA & 0.969582 & NA \tabularnewline
4 & 50679.5 & NA & NA & 1.04608 & NA \tabularnewline
5 & 47452.8 & NA & NA & 0.975079 & NA \tabularnewline
6 & 49415.4 & NA & NA & 1.00344 & NA \tabularnewline
7 & 48165.3 & 47892.3 & 49367.9 & 0.97011 & 1.0057 \tabularnewline
8 & 51814 & 52052.9 & 49774.6 & 1.04577 & 0.99541 \tabularnewline
9 & 49030.7 & 49018.5 & 50175.6 & 0.976938 & 1.00025 \tabularnewline
10 & 50820.8 & 51007.7 & 50559.3 & 1.00887 & 0.996336 \tabularnewline
11 & 49729.5 & 49903.6 & 50952.5 & 0.979414 & 0.996511 \tabularnewline
12 & 53501.6 & 53888.3 & 51367.3 & 1.04908 & 0.992823 \tabularnewline
13 & 50524.9 & 50446.5 & 51774.7 & 0.974347 & 1.00155 \tabularnewline
14 & 52095 & 52286.9 & 52219.2 & 1.0013 & 0.996331 \tabularnewline
15 & 51290.3 & 51075.2 & 52677.5 & 0.969582 & 1.00421 \tabularnewline
16 & 55064 & 55582.9 & 53134.7 & 1.04608 & 0.990664 \tabularnewline
17 & 52505.2 & 52283.8 & 53620.1 & 0.975079 & 1.00423 \tabularnewline
18 & 54318.3 & 54325.9 & 54139.6 & 1.00344 & 0.999861 \tabularnewline
19 & 53039.6 & 53047.8 & 54682.2 & 0.97011 & 0.999846 \tabularnewline
20 & 57607.6 & 57773.3 & 55244.6 & 1.04577 & 0.997132 \tabularnewline
21 & 54236.4 & 54523 & 55810.1 & 0.976938 & 0.994743 \tabularnewline
22 & 56586.4 & 56893.2 & 56393.1 & 1.00887 & 0.994608 \tabularnewline
23 & 55614 & 55820.7 & 56994 & 0.979414 & 0.996297 \tabularnewline
24 & 60085.9 & 60417.5 & 57591.1 & 1.04908 & 0.994511 \tabularnewline
25 & 56963.5 & 56712.3 & 58205.5 & 0.974347 & 1.00443 \tabularnewline
26 & 59152.8 & 58926.6 & 58850.4 & 1.0013 & 1.00384 \tabularnewline
27 & 57804.6 & 57729.3 & 59540.4 & 0.969582 & 1.00131 \tabularnewline
28 & 62541.5 & 63041.5 & 60264.7 & 1.04608 & 0.992069 \tabularnewline
29 & 59449.3 & 59477.9 & 60998 & 0.975079 & 0.99952 \tabularnewline
30 & 61704.7 & 61933 & 61720.7 & 1.00344 & 0.996313 \tabularnewline
31 & 60399 & 60492.8 & 62356.6 & 0.97011 & 0.99845 \tabularnewline
32 & 65724.7 & 65804.5 & 62924.3 & 1.04577 & 0.998787 \tabularnewline
33 & 62679.4 & 62034.3 & 63498.7 & 0.976938 & 1.0104 \tabularnewline
34 & 65526.5 & 64702.5 & 64133.7 & 1.00887 & 1.01274 \tabularnewline
35 & 64274.8 & 63431.3 & 64764.5 & 0.979414 & 1.0133 \tabularnewline
36 & 68769.1 & 68552.3 & 65345.3 & 1.04908 & 1.00316 \tabularnewline
37 & 63542.8 & 64229.2 & 65920.2 & 0.974347 & 0.989313 \tabularnewline
38 & 66198 & 66609.5 & 66523.4 & 1.0013 & 0.993822 \tabularnewline
39 & 64544.9 & 65056.7 & 67097.7 & 0.969582 & 0.992133 \tabularnewline
40 & 71041.8 & 70700.9 & 67586.7 & 1.04608 & 1.00482 \tabularnewline
41 & 66087.2 & 66366.7 & 68063 & 0.975079 & 0.995788 \tabularnewline
42 & 69005.8 & 68849.4 & 68613.4 & 1.00344 & 1.00227 \tabularnewline
43 & 66897 & 67183.9 & 69253.9 & 0.97011 & 0.99573 \tabularnewline
44 & 73702 & 73088.3 & 69889.2 & 1.04577 & 1.0084 \tabularnewline
45 & 68485.3 & 68875.5 & 70501.4 & 0.976938 & 0.994334 \tabularnewline
46 & 71457 & 71740.6 & 71110 & 1.00887 & 0.996047 \tabularnewline
47 & 69774.6 & 70222.6 & 71698.6 & 0.979414 & 0.99362 \tabularnewline
48 & 76479.7 & 75780.4 & 72235.3 & 1.04908 & 1.00923 \tabularnewline
49 & 71204.7 & 70890.6 & 72757.1 & 0.974347 & 1.00443 \tabularnewline
50 & 73783.9 & 73363.2 & 73268.3 & 1.0013 & 1.00573 \tabularnewline
51 & 71651 & 71502.6 & 73745.8 & 0.969582 & 1.00208 \tabularnewline
52 & 78541.6 & 77597.2 & 74179.3 & 1.04608 & 1.01217 \tabularnewline
53 & 72714.4 & 72701.1 & 74559.2 & 0.975079 & 1.00018 \tabularnewline
54 & 75258 & 75161.7 & 74904 & 1.00344 & 1.00128 \tabularnewline
55 & 73168.1 & NA & NA & 0.97011 & NA \tabularnewline
56 & 79701.6 & NA & NA & 1.04577 & NA \tabularnewline
57 & 73944.5 & NA & NA & 0.976938 & NA \tabularnewline
58 & 76401.2 & NA & NA & 1.00887 & NA \tabularnewline
59 & 73948.1 & NA & NA & 0.979414 & NA \tabularnewline
60 & 80583.3 & NA & NA & 1.04908 & NA \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=294799&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]45564.6[/C][C]NA[/C][C]NA[/C][C]0.974347[/C][C]NA[/C][/ROW]
[ROW][C]2[/C][C]47295.5[/C][C]NA[/C][C]NA[/C][C]1.0013[/C][C]NA[/C][/ROW]
[ROW][C]3[/C][C]46465.5[/C][C]NA[/C][C]NA[/C][C]0.969582[/C][C]NA[/C][/ROW]
[ROW][C]4[/C][C]50679.5[/C][C]NA[/C][C]NA[/C][C]1.04608[/C][C]NA[/C][/ROW]
[ROW][C]5[/C][C]47452.8[/C][C]NA[/C][C]NA[/C][C]0.975079[/C][C]NA[/C][/ROW]
[ROW][C]6[/C][C]49415.4[/C][C]NA[/C][C]NA[/C][C]1.00344[/C][C]NA[/C][/ROW]
[ROW][C]7[/C][C]48165.3[/C][C]47892.3[/C][C]49367.9[/C][C]0.97011[/C][C]1.0057[/C][/ROW]
[ROW][C]8[/C][C]51814[/C][C]52052.9[/C][C]49774.6[/C][C]1.04577[/C][C]0.99541[/C][/ROW]
[ROW][C]9[/C][C]49030.7[/C][C]49018.5[/C][C]50175.6[/C][C]0.976938[/C][C]1.00025[/C][/ROW]
[ROW][C]10[/C][C]50820.8[/C][C]51007.7[/C][C]50559.3[/C][C]1.00887[/C][C]0.996336[/C][/ROW]
[ROW][C]11[/C][C]49729.5[/C][C]49903.6[/C][C]50952.5[/C][C]0.979414[/C][C]0.996511[/C][/ROW]
[ROW][C]12[/C][C]53501.6[/C][C]53888.3[/C][C]51367.3[/C][C]1.04908[/C][C]0.992823[/C][/ROW]
[ROW][C]13[/C][C]50524.9[/C][C]50446.5[/C][C]51774.7[/C][C]0.974347[/C][C]1.00155[/C][/ROW]
[ROW][C]14[/C][C]52095[/C][C]52286.9[/C][C]52219.2[/C][C]1.0013[/C][C]0.996331[/C][/ROW]
[ROW][C]15[/C][C]51290.3[/C][C]51075.2[/C][C]52677.5[/C][C]0.969582[/C][C]1.00421[/C][/ROW]
[ROW][C]16[/C][C]55064[/C][C]55582.9[/C][C]53134.7[/C][C]1.04608[/C][C]0.990664[/C][/ROW]
[ROW][C]17[/C][C]52505.2[/C][C]52283.8[/C][C]53620.1[/C][C]0.975079[/C][C]1.00423[/C][/ROW]
[ROW][C]18[/C][C]54318.3[/C][C]54325.9[/C][C]54139.6[/C][C]1.00344[/C][C]0.999861[/C][/ROW]
[ROW][C]19[/C][C]53039.6[/C][C]53047.8[/C][C]54682.2[/C][C]0.97011[/C][C]0.999846[/C][/ROW]
[ROW][C]20[/C][C]57607.6[/C][C]57773.3[/C][C]55244.6[/C][C]1.04577[/C][C]0.997132[/C][/ROW]
[ROW][C]21[/C][C]54236.4[/C][C]54523[/C][C]55810.1[/C][C]0.976938[/C][C]0.994743[/C][/ROW]
[ROW][C]22[/C][C]56586.4[/C][C]56893.2[/C][C]56393.1[/C][C]1.00887[/C][C]0.994608[/C][/ROW]
[ROW][C]23[/C][C]55614[/C][C]55820.7[/C][C]56994[/C][C]0.979414[/C][C]0.996297[/C][/ROW]
[ROW][C]24[/C][C]60085.9[/C][C]60417.5[/C][C]57591.1[/C][C]1.04908[/C][C]0.994511[/C][/ROW]
[ROW][C]25[/C][C]56963.5[/C][C]56712.3[/C][C]58205.5[/C][C]0.974347[/C][C]1.00443[/C][/ROW]
[ROW][C]26[/C][C]59152.8[/C][C]58926.6[/C][C]58850.4[/C][C]1.0013[/C][C]1.00384[/C][/ROW]
[ROW][C]27[/C][C]57804.6[/C][C]57729.3[/C][C]59540.4[/C][C]0.969582[/C][C]1.00131[/C][/ROW]
[ROW][C]28[/C][C]62541.5[/C][C]63041.5[/C][C]60264.7[/C][C]1.04608[/C][C]0.992069[/C][/ROW]
[ROW][C]29[/C][C]59449.3[/C][C]59477.9[/C][C]60998[/C][C]0.975079[/C][C]0.99952[/C][/ROW]
[ROW][C]30[/C][C]61704.7[/C][C]61933[/C][C]61720.7[/C][C]1.00344[/C][C]0.996313[/C][/ROW]
[ROW][C]31[/C][C]60399[/C][C]60492.8[/C][C]62356.6[/C][C]0.97011[/C][C]0.99845[/C][/ROW]
[ROW][C]32[/C][C]65724.7[/C][C]65804.5[/C][C]62924.3[/C][C]1.04577[/C][C]0.998787[/C][/ROW]
[ROW][C]33[/C][C]62679.4[/C][C]62034.3[/C][C]63498.7[/C][C]0.976938[/C][C]1.0104[/C][/ROW]
[ROW][C]34[/C][C]65526.5[/C][C]64702.5[/C][C]64133.7[/C][C]1.00887[/C][C]1.01274[/C][/ROW]
[ROW][C]35[/C][C]64274.8[/C][C]63431.3[/C][C]64764.5[/C][C]0.979414[/C][C]1.0133[/C][/ROW]
[ROW][C]36[/C][C]68769.1[/C][C]68552.3[/C][C]65345.3[/C][C]1.04908[/C][C]1.00316[/C][/ROW]
[ROW][C]37[/C][C]63542.8[/C][C]64229.2[/C][C]65920.2[/C][C]0.974347[/C][C]0.989313[/C][/ROW]
[ROW][C]38[/C][C]66198[/C][C]66609.5[/C][C]66523.4[/C][C]1.0013[/C][C]0.993822[/C][/ROW]
[ROW][C]39[/C][C]64544.9[/C][C]65056.7[/C][C]67097.7[/C][C]0.969582[/C][C]0.992133[/C][/ROW]
[ROW][C]40[/C][C]71041.8[/C][C]70700.9[/C][C]67586.7[/C][C]1.04608[/C][C]1.00482[/C][/ROW]
[ROW][C]41[/C][C]66087.2[/C][C]66366.7[/C][C]68063[/C][C]0.975079[/C][C]0.995788[/C][/ROW]
[ROW][C]42[/C][C]69005.8[/C][C]68849.4[/C][C]68613.4[/C][C]1.00344[/C][C]1.00227[/C][/ROW]
[ROW][C]43[/C][C]66897[/C][C]67183.9[/C][C]69253.9[/C][C]0.97011[/C][C]0.99573[/C][/ROW]
[ROW][C]44[/C][C]73702[/C][C]73088.3[/C][C]69889.2[/C][C]1.04577[/C][C]1.0084[/C][/ROW]
[ROW][C]45[/C][C]68485.3[/C][C]68875.5[/C][C]70501.4[/C][C]0.976938[/C][C]0.994334[/C][/ROW]
[ROW][C]46[/C][C]71457[/C][C]71740.6[/C][C]71110[/C][C]1.00887[/C][C]0.996047[/C][/ROW]
[ROW][C]47[/C][C]69774.6[/C][C]70222.6[/C][C]71698.6[/C][C]0.979414[/C][C]0.99362[/C][/ROW]
[ROW][C]48[/C][C]76479.7[/C][C]75780.4[/C][C]72235.3[/C][C]1.04908[/C][C]1.00923[/C][/ROW]
[ROW][C]49[/C][C]71204.7[/C][C]70890.6[/C][C]72757.1[/C][C]0.974347[/C][C]1.00443[/C][/ROW]
[ROW][C]50[/C][C]73783.9[/C][C]73363.2[/C][C]73268.3[/C][C]1.0013[/C][C]1.00573[/C][/ROW]
[ROW][C]51[/C][C]71651[/C][C]71502.6[/C][C]73745.8[/C][C]0.969582[/C][C]1.00208[/C][/ROW]
[ROW][C]52[/C][C]78541.6[/C][C]77597.2[/C][C]74179.3[/C][C]1.04608[/C][C]1.01217[/C][/ROW]
[ROW][C]53[/C][C]72714.4[/C][C]72701.1[/C][C]74559.2[/C][C]0.975079[/C][C]1.00018[/C][/ROW]
[ROW][C]54[/C][C]75258[/C][C]75161.7[/C][C]74904[/C][C]1.00344[/C][C]1.00128[/C][/ROW]
[ROW][C]55[/C][C]73168.1[/C][C]NA[/C][C]NA[/C][C]0.97011[/C][C]NA[/C][/ROW]
[ROW][C]56[/C][C]79701.6[/C][C]NA[/C][C]NA[/C][C]1.04577[/C][C]NA[/C][/ROW]
[ROW][C]57[/C][C]73944.5[/C][C]NA[/C][C]NA[/C][C]0.976938[/C][C]NA[/C][/ROW]
[ROW][C]58[/C][C]76401.2[/C][C]NA[/C][C]NA[/C][C]1.00887[/C][C]NA[/C][/ROW]
[ROW][C]59[/C][C]73948.1[/C][C]NA[/C][C]NA[/C][C]0.979414[/C][C]NA[/C][/ROW]
[ROW][C]60[/C][C]80583.3[/C][C]NA[/C][C]NA[/C][C]1.04908[/C][C]NA[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=294799&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=294799&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
145564.6NANA0.974347NA
247295.5NANA1.0013NA
346465.5NANA0.969582NA
450679.5NANA1.04608NA
547452.8NANA0.975079NA
649415.4NANA1.00344NA
748165.347892.349367.90.970111.0057
85181452052.949774.61.045770.99541
949030.749018.550175.60.9769381.00025
1050820.851007.750559.31.008870.996336
1149729.549903.650952.50.9794140.996511
1253501.653888.351367.31.049080.992823
1350524.950446.551774.70.9743471.00155
145209552286.952219.21.00130.996331
1551290.351075.252677.50.9695821.00421
165506455582.953134.71.046080.990664
1752505.252283.853620.10.9750791.00423
1854318.354325.954139.61.003440.999861
1953039.653047.854682.20.970110.999846
2057607.657773.355244.61.045770.997132
2154236.45452355810.10.9769380.994743
2256586.456893.256393.11.008870.994608
235561455820.7569940.9794140.996297
2460085.960417.557591.11.049080.994511
2556963.556712.358205.50.9743471.00443
2659152.858926.658850.41.00131.00384
2757804.657729.359540.40.9695821.00131
2862541.563041.560264.71.046080.992069
2959449.359477.9609980.9750790.99952
3061704.76193361720.71.003440.996313
316039960492.862356.60.970110.99845
3265724.765804.562924.31.045770.998787
3362679.462034.363498.70.9769381.0104
3465526.564702.564133.71.008871.01274
3564274.863431.364764.50.9794141.0133
3668769.168552.365345.31.049081.00316
3763542.864229.265920.20.9743470.989313
386619866609.566523.41.00130.993822
3964544.965056.767097.70.9695820.992133
4071041.870700.967586.71.046081.00482
4166087.266366.7680630.9750790.995788
4269005.868849.468613.41.003441.00227
436689767183.969253.90.970110.99573
447370273088.369889.21.045771.0084
4568485.368875.570501.40.9769380.994334
467145771740.6711101.008870.996047
4769774.670222.671698.60.9794140.99362
4876479.775780.472235.31.049081.00923
4971204.770890.672757.10.9743471.00443
5073783.973363.273268.31.00131.00573
517165171502.673745.80.9695821.00208
5278541.677597.274179.31.046081.01217
5372714.472701.174559.20.9750791.00018
547525875161.7749041.003441.00128
5573168.1NANA0.97011NA
5679701.6NANA1.04577NA
5773944.5NANA0.976938NA
5876401.2NANA1.00887NA
5973948.1NANA0.979414NA
6080583.3NANA1.04908NA



Parameters (Session):
par1 = multiplicative ; par2 = 12 ;
Parameters (R input):
par1 = multiplicative ; par2 = 12 ;
R code (references can be found in the software module):
par2 <- '12'
par1 <- 'additive'
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')