Free Statistics

of Irreproducible Research!

Author's title

Author*Unverified author*
R Software Modulerwasp_decompose.wasp
Title produced by softwareClassical Decomposition
Date of computationThu, 18 May 2017 21:42:34 +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/2017/May/18/t1495140207nmcpy90c42szy7o.htm/, Retrieved Fri, 17 May 2024 06:47:26 +0200
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=, Retrieved Fri, 17 May 2024 06:47:26 +0200
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact0
Dataseries X:
97.96
98.36
98.36
98.51
98.77
98.78
98.89
98.87
99.05
99.09
99.1
99.12
99.37
99.46
99.6
99.87
99.88
100.01
100.02
100.19
100.2
100.35
100.47
100.57
101.41
101.67
101.82
101.86
101.98
102.06
102.17
102.2
102.35
102.47
102.55
102.62
102.81
102.88
102.94
102.95
102.94
103.05
103.09
103.1
103.14
103.19
103.36
103.43
103.62
103.79
103.9
103.92
103.94
103.98
104.04
104.09
104.16
104.22
104.28
104.32




Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time3 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 & 3 seconds \tabularnewline
R Server & 'Sir Ronald Aylmer Fisher' @ fisher.wessa.net \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=&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]3 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=&T=0

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=&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 time3 seconds
R Server'Sir Ronald Aylmer Fisher' @ fisher.wessa.net







Classical Decomposition by Moving Averages
tObservationsFitTrendSeasonalRandom
197.96NANA0.0920313NA
298.36NANA0.13151NA
398.36NANA0.138906NA
498.51NANA0.11724NA
598.77NANA0.0448437NA
698.78NANA0.0267187NA
798.8998.79998.79710.001927080.0909896
898.8798.835698.9017-0.06609380.0344271
999.0598.913898.9992-0.08536460.136198
1099.0998.998199.1075-0.1094270.0919271
1199.199.085899.2104-0.1246350.0142188
1299.1299.140399.3079-0.167656-0.0202604
1399.3799.498399.40620.0920313-0.128281
1499.4699.639899.50830.13151-0.179844
1599.699.750299.61120.138906-0.150156
1699.8799.828999.71170.117240.0410938
1799.8899.866199.82120.04484370.0139063
18100.0199.965599.93870.02671870.0445313
19100.02100.086100.0840.00192708-0.0660938
20100.19100.195100.261-0.0660938-0.00515625
21100.2100.36100.446-0.0853646-0.160469
22100.35100.512100.621-0.109427-0.161823
23100.47100.667100.792-0.124635-0.197031
24100.57100.797100.965-0.167656-0.226927
25101.41101.232101.140.09203130.178385
26101.67101.444101.3130.131510.225573
27101.82101.625101.4860.1389060.194844
28101.86101.781101.6640.117240.0785938
29101.98101.884101.8390.04484370.0959896
30102.06102.038102.0110.02671870.0220313
31102.17102.157102.1550.001927080.0130729
32102.2102.198102.264-0.06609380.00234375
33102.35102.275102.361-0.08536460.0745313
34102.47102.343102.453-0.1094270.12651
35102.55102.414102.538-0.1246350.136302
36102.62102.452102.62-0.1676560.168073
37102.81102.791102.6990.09203130.0188021
38102.88102.907102.7750.13151-0.0265104
39102.94102.984102.8450.138906-0.0443229
40102.95103.026102.9080.11724-0.0755729
41102.94103.017102.9720.0448437-0.0769271
42103.05103.066103.040.0267187-0.0163021
43103.09103.109103.1070.00192708-0.0190104
44103.1103.113103.179-0.0660938-0.0126562
45103.14103.171103.257-0.0853646-0.0313021
46103.19103.228103.337-0.109427-0.0376562
47103.36103.295103.419-0.1246350.0654688
48103.43103.332103.5-0.1676560.0980729
49103.62103.67103.5780.0920313-0.0499479
50103.79103.79103.6590.13151-0.000260417
51103.9103.881103.7420.1389060.0185938
52103.92103.945103.8280.11724-0.0251562
53103.94103.954103.9090.0448437-0.0140104
54103.98104.011103.9850.0267187-0.0313021
55104.04NANA0.00192708NA
56104.09NANA-0.0660938NA
57104.16NANA-0.0853646NA
58104.22NANA-0.109427NA
59104.28NANA-0.124635NA
60104.32NANA-0.167656NA

\begin{tabular}{lllllllll}
\hline
Classical Decomposition by Moving Averages \tabularnewline
t & Observations & Fit & Trend & Seasonal & Random \tabularnewline
1 & 97.96 & NA & NA & 0.0920313 & NA \tabularnewline
2 & 98.36 & NA & NA & 0.13151 & NA \tabularnewline
3 & 98.36 & NA & NA & 0.138906 & NA \tabularnewline
4 & 98.51 & NA & NA & 0.11724 & NA \tabularnewline
5 & 98.77 & NA & NA & 0.0448437 & NA \tabularnewline
6 & 98.78 & NA & NA & 0.0267187 & NA \tabularnewline
7 & 98.89 & 98.799 & 98.7971 & 0.00192708 & 0.0909896 \tabularnewline
8 & 98.87 & 98.8356 & 98.9017 & -0.0660938 & 0.0344271 \tabularnewline
9 & 99.05 & 98.9138 & 98.9992 & -0.0853646 & 0.136198 \tabularnewline
10 & 99.09 & 98.9981 & 99.1075 & -0.109427 & 0.0919271 \tabularnewline
11 & 99.1 & 99.0858 & 99.2104 & -0.124635 & 0.0142188 \tabularnewline
12 & 99.12 & 99.1403 & 99.3079 & -0.167656 & -0.0202604 \tabularnewline
13 & 99.37 & 99.4983 & 99.4062 & 0.0920313 & -0.128281 \tabularnewline
14 & 99.46 & 99.6398 & 99.5083 & 0.13151 & -0.179844 \tabularnewline
15 & 99.6 & 99.7502 & 99.6112 & 0.138906 & -0.150156 \tabularnewline
16 & 99.87 & 99.8289 & 99.7117 & 0.11724 & 0.0410938 \tabularnewline
17 & 99.88 & 99.8661 & 99.8212 & 0.0448437 & 0.0139063 \tabularnewline
18 & 100.01 & 99.9655 & 99.9387 & 0.0267187 & 0.0445313 \tabularnewline
19 & 100.02 & 100.086 & 100.084 & 0.00192708 & -0.0660938 \tabularnewline
20 & 100.19 & 100.195 & 100.261 & -0.0660938 & -0.00515625 \tabularnewline
21 & 100.2 & 100.36 & 100.446 & -0.0853646 & -0.160469 \tabularnewline
22 & 100.35 & 100.512 & 100.621 & -0.109427 & -0.161823 \tabularnewline
23 & 100.47 & 100.667 & 100.792 & -0.124635 & -0.197031 \tabularnewline
24 & 100.57 & 100.797 & 100.965 & -0.167656 & -0.226927 \tabularnewline
25 & 101.41 & 101.232 & 101.14 & 0.0920313 & 0.178385 \tabularnewline
26 & 101.67 & 101.444 & 101.313 & 0.13151 & 0.225573 \tabularnewline
27 & 101.82 & 101.625 & 101.486 & 0.138906 & 0.194844 \tabularnewline
28 & 101.86 & 101.781 & 101.664 & 0.11724 & 0.0785938 \tabularnewline
29 & 101.98 & 101.884 & 101.839 & 0.0448437 & 0.0959896 \tabularnewline
30 & 102.06 & 102.038 & 102.011 & 0.0267187 & 0.0220313 \tabularnewline
31 & 102.17 & 102.157 & 102.155 & 0.00192708 & 0.0130729 \tabularnewline
32 & 102.2 & 102.198 & 102.264 & -0.0660938 & 0.00234375 \tabularnewline
33 & 102.35 & 102.275 & 102.361 & -0.0853646 & 0.0745313 \tabularnewline
34 & 102.47 & 102.343 & 102.453 & -0.109427 & 0.12651 \tabularnewline
35 & 102.55 & 102.414 & 102.538 & -0.124635 & 0.136302 \tabularnewline
36 & 102.62 & 102.452 & 102.62 & -0.167656 & 0.168073 \tabularnewline
37 & 102.81 & 102.791 & 102.699 & 0.0920313 & 0.0188021 \tabularnewline
38 & 102.88 & 102.907 & 102.775 & 0.13151 & -0.0265104 \tabularnewline
39 & 102.94 & 102.984 & 102.845 & 0.138906 & -0.0443229 \tabularnewline
40 & 102.95 & 103.026 & 102.908 & 0.11724 & -0.0755729 \tabularnewline
41 & 102.94 & 103.017 & 102.972 & 0.0448437 & -0.0769271 \tabularnewline
42 & 103.05 & 103.066 & 103.04 & 0.0267187 & -0.0163021 \tabularnewline
43 & 103.09 & 103.109 & 103.107 & 0.00192708 & -0.0190104 \tabularnewline
44 & 103.1 & 103.113 & 103.179 & -0.0660938 & -0.0126562 \tabularnewline
45 & 103.14 & 103.171 & 103.257 & -0.0853646 & -0.0313021 \tabularnewline
46 & 103.19 & 103.228 & 103.337 & -0.109427 & -0.0376562 \tabularnewline
47 & 103.36 & 103.295 & 103.419 & -0.124635 & 0.0654688 \tabularnewline
48 & 103.43 & 103.332 & 103.5 & -0.167656 & 0.0980729 \tabularnewline
49 & 103.62 & 103.67 & 103.578 & 0.0920313 & -0.0499479 \tabularnewline
50 & 103.79 & 103.79 & 103.659 & 0.13151 & -0.000260417 \tabularnewline
51 & 103.9 & 103.881 & 103.742 & 0.138906 & 0.0185938 \tabularnewline
52 & 103.92 & 103.945 & 103.828 & 0.11724 & -0.0251562 \tabularnewline
53 & 103.94 & 103.954 & 103.909 & 0.0448437 & -0.0140104 \tabularnewline
54 & 103.98 & 104.011 & 103.985 & 0.0267187 & -0.0313021 \tabularnewline
55 & 104.04 & NA & NA & 0.00192708 & NA \tabularnewline
56 & 104.09 & NA & NA & -0.0660938 & NA \tabularnewline
57 & 104.16 & NA & NA & -0.0853646 & NA \tabularnewline
58 & 104.22 & NA & NA & -0.109427 & NA \tabularnewline
59 & 104.28 & NA & NA & -0.124635 & NA \tabularnewline
60 & 104.32 & NA & NA & -0.167656 & NA \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=&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]97.96[/C][C]NA[/C][C]NA[/C][C]0.0920313[/C][C]NA[/C][/ROW]
[ROW][C]2[/C][C]98.36[/C][C]NA[/C][C]NA[/C][C]0.13151[/C][C]NA[/C][/ROW]
[ROW][C]3[/C][C]98.36[/C][C]NA[/C][C]NA[/C][C]0.138906[/C][C]NA[/C][/ROW]
[ROW][C]4[/C][C]98.51[/C][C]NA[/C][C]NA[/C][C]0.11724[/C][C]NA[/C][/ROW]
[ROW][C]5[/C][C]98.77[/C][C]NA[/C][C]NA[/C][C]0.0448437[/C][C]NA[/C][/ROW]
[ROW][C]6[/C][C]98.78[/C][C]NA[/C][C]NA[/C][C]0.0267187[/C][C]NA[/C][/ROW]
[ROW][C]7[/C][C]98.89[/C][C]98.799[/C][C]98.7971[/C][C]0.00192708[/C][C]0.0909896[/C][/ROW]
[ROW][C]8[/C][C]98.87[/C][C]98.8356[/C][C]98.9017[/C][C]-0.0660938[/C][C]0.0344271[/C][/ROW]
[ROW][C]9[/C][C]99.05[/C][C]98.9138[/C][C]98.9992[/C][C]-0.0853646[/C][C]0.136198[/C][/ROW]
[ROW][C]10[/C][C]99.09[/C][C]98.9981[/C][C]99.1075[/C][C]-0.109427[/C][C]0.0919271[/C][/ROW]
[ROW][C]11[/C][C]99.1[/C][C]99.0858[/C][C]99.2104[/C][C]-0.124635[/C][C]0.0142188[/C][/ROW]
[ROW][C]12[/C][C]99.12[/C][C]99.1403[/C][C]99.3079[/C][C]-0.167656[/C][C]-0.0202604[/C][/ROW]
[ROW][C]13[/C][C]99.37[/C][C]99.4983[/C][C]99.4062[/C][C]0.0920313[/C][C]-0.128281[/C][/ROW]
[ROW][C]14[/C][C]99.46[/C][C]99.6398[/C][C]99.5083[/C][C]0.13151[/C][C]-0.179844[/C][/ROW]
[ROW][C]15[/C][C]99.6[/C][C]99.7502[/C][C]99.6112[/C][C]0.138906[/C][C]-0.150156[/C][/ROW]
[ROW][C]16[/C][C]99.87[/C][C]99.8289[/C][C]99.7117[/C][C]0.11724[/C][C]0.0410938[/C][/ROW]
[ROW][C]17[/C][C]99.88[/C][C]99.8661[/C][C]99.8212[/C][C]0.0448437[/C][C]0.0139063[/C][/ROW]
[ROW][C]18[/C][C]100.01[/C][C]99.9655[/C][C]99.9387[/C][C]0.0267187[/C][C]0.0445313[/C][/ROW]
[ROW][C]19[/C][C]100.02[/C][C]100.086[/C][C]100.084[/C][C]0.00192708[/C][C]-0.0660938[/C][/ROW]
[ROW][C]20[/C][C]100.19[/C][C]100.195[/C][C]100.261[/C][C]-0.0660938[/C][C]-0.00515625[/C][/ROW]
[ROW][C]21[/C][C]100.2[/C][C]100.36[/C][C]100.446[/C][C]-0.0853646[/C][C]-0.160469[/C][/ROW]
[ROW][C]22[/C][C]100.35[/C][C]100.512[/C][C]100.621[/C][C]-0.109427[/C][C]-0.161823[/C][/ROW]
[ROW][C]23[/C][C]100.47[/C][C]100.667[/C][C]100.792[/C][C]-0.124635[/C][C]-0.197031[/C][/ROW]
[ROW][C]24[/C][C]100.57[/C][C]100.797[/C][C]100.965[/C][C]-0.167656[/C][C]-0.226927[/C][/ROW]
[ROW][C]25[/C][C]101.41[/C][C]101.232[/C][C]101.14[/C][C]0.0920313[/C][C]0.178385[/C][/ROW]
[ROW][C]26[/C][C]101.67[/C][C]101.444[/C][C]101.313[/C][C]0.13151[/C][C]0.225573[/C][/ROW]
[ROW][C]27[/C][C]101.82[/C][C]101.625[/C][C]101.486[/C][C]0.138906[/C][C]0.194844[/C][/ROW]
[ROW][C]28[/C][C]101.86[/C][C]101.781[/C][C]101.664[/C][C]0.11724[/C][C]0.0785938[/C][/ROW]
[ROW][C]29[/C][C]101.98[/C][C]101.884[/C][C]101.839[/C][C]0.0448437[/C][C]0.0959896[/C][/ROW]
[ROW][C]30[/C][C]102.06[/C][C]102.038[/C][C]102.011[/C][C]0.0267187[/C][C]0.0220313[/C][/ROW]
[ROW][C]31[/C][C]102.17[/C][C]102.157[/C][C]102.155[/C][C]0.00192708[/C][C]0.0130729[/C][/ROW]
[ROW][C]32[/C][C]102.2[/C][C]102.198[/C][C]102.264[/C][C]-0.0660938[/C][C]0.00234375[/C][/ROW]
[ROW][C]33[/C][C]102.35[/C][C]102.275[/C][C]102.361[/C][C]-0.0853646[/C][C]0.0745313[/C][/ROW]
[ROW][C]34[/C][C]102.47[/C][C]102.343[/C][C]102.453[/C][C]-0.109427[/C][C]0.12651[/C][/ROW]
[ROW][C]35[/C][C]102.55[/C][C]102.414[/C][C]102.538[/C][C]-0.124635[/C][C]0.136302[/C][/ROW]
[ROW][C]36[/C][C]102.62[/C][C]102.452[/C][C]102.62[/C][C]-0.167656[/C][C]0.168073[/C][/ROW]
[ROW][C]37[/C][C]102.81[/C][C]102.791[/C][C]102.699[/C][C]0.0920313[/C][C]0.0188021[/C][/ROW]
[ROW][C]38[/C][C]102.88[/C][C]102.907[/C][C]102.775[/C][C]0.13151[/C][C]-0.0265104[/C][/ROW]
[ROW][C]39[/C][C]102.94[/C][C]102.984[/C][C]102.845[/C][C]0.138906[/C][C]-0.0443229[/C][/ROW]
[ROW][C]40[/C][C]102.95[/C][C]103.026[/C][C]102.908[/C][C]0.11724[/C][C]-0.0755729[/C][/ROW]
[ROW][C]41[/C][C]102.94[/C][C]103.017[/C][C]102.972[/C][C]0.0448437[/C][C]-0.0769271[/C][/ROW]
[ROW][C]42[/C][C]103.05[/C][C]103.066[/C][C]103.04[/C][C]0.0267187[/C][C]-0.0163021[/C][/ROW]
[ROW][C]43[/C][C]103.09[/C][C]103.109[/C][C]103.107[/C][C]0.00192708[/C][C]-0.0190104[/C][/ROW]
[ROW][C]44[/C][C]103.1[/C][C]103.113[/C][C]103.179[/C][C]-0.0660938[/C][C]-0.0126562[/C][/ROW]
[ROW][C]45[/C][C]103.14[/C][C]103.171[/C][C]103.257[/C][C]-0.0853646[/C][C]-0.0313021[/C][/ROW]
[ROW][C]46[/C][C]103.19[/C][C]103.228[/C][C]103.337[/C][C]-0.109427[/C][C]-0.0376562[/C][/ROW]
[ROW][C]47[/C][C]103.36[/C][C]103.295[/C][C]103.419[/C][C]-0.124635[/C][C]0.0654688[/C][/ROW]
[ROW][C]48[/C][C]103.43[/C][C]103.332[/C][C]103.5[/C][C]-0.167656[/C][C]0.0980729[/C][/ROW]
[ROW][C]49[/C][C]103.62[/C][C]103.67[/C][C]103.578[/C][C]0.0920313[/C][C]-0.0499479[/C][/ROW]
[ROW][C]50[/C][C]103.79[/C][C]103.79[/C][C]103.659[/C][C]0.13151[/C][C]-0.000260417[/C][/ROW]
[ROW][C]51[/C][C]103.9[/C][C]103.881[/C][C]103.742[/C][C]0.138906[/C][C]0.0185938[/C][/ROW]
[ROW][C]52[/C][C]103.92[/C][C]103.945[/C][C]103.828[/C][C]0.11724[/C][C]-0.0251562[/C][/ROW]
[ROW][C]53[/C][C]103.94[/C][C]103.954[/C][C]103.909[/C][C]0.0448437[/C][C]-0.0140104[/C][/ROW]
[ROW][C]54[/C][C]103.98[/C][C]104.011[/C][C]103.985[/C][C]0.0267187[/C][C]-0.0313021[/C][/ROW]
[ROW][C]55[/C][C]104.04[/C][C]NA[/C][C]NA[/C][C]0.00192708[/C][C]NA[/C][/ROW]
[ROW][C]56[/C][C]104.09[/C][C]NA[/C][C]NA[/C][C]-0.0660938[/C][C]NA[/C][/ROW]
[ROW][C]57[/C][C]104.16[/C][C]NA[/C][C]NA[/C][C]-0.0853646[/C][C]NA[/C][/ROW]
[ROW][C]58[/C][C]104.22[/C][C]NA[/C][C]NA[/C][C]-0.109427[/C][C]NA[/C][/ROW]
[ROW][C]59[/C][C]104.28[/C][C]NA[/C][C]NA[/C][C]-0.124635[/C][C]NA[/C][/ROW]
[ROW][C]60[/C][C]104.32[/C][C]NA[/C][C]NA[/C][C]-0.167656[/C][C]NA[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=&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
197.96NANA0.0920313NA
298.36NANA0.13151NA
398.36NANA0.138906NA
498.51NANA0.11724NA
598.77NANA0.0448437NA
698.78NANA0.0267187NA
798.8998.79998.79710.001927080.0909896
898.8798.835698.9017-0.06609380.0344271
999.0598.913898.9992-0.08536460.136198
1099.0998.998199.1075-0.1094270.0919271
1199.199.085899.2104-0.1246350.0142188
1299.1299.140399.3079-0.167656-0.0202604
1399.3799.498399.40620.0920313-0.128281
1499.4699.639899.50830.13151-0.179844
1599.699.750299.61120.138906-0.150156
1699.8799.828999.71170.117240.0410938
1799.8899.866199.82120.04484370.0139063
18100.0199.965599.93870.02671870.0445313
19100.02100.086100.0840.00192708-0.0660938
20100.19100.195100.261-0.0660938-0.00515625
21100.2100.36100.446-0.0853646-0.160469
22100.35100.512100.621-0.109427-0.161823
23100.47100.667100.792-0.124635-0.197031
24100.57100.797100.965-0.167656-0.226927
25101.41101.232101.140.09203130.178385
26101.67101.444101.3130.131510.225573
27101.82101.625101.4860.1389060.194844
28101.86101.781101.6640.117240.0785938
29101.98101.884101.8390.04484370.0959896
30102.06102.038102.0110.02671870.0220313
31102.17102.157102.1550.001927080.0130729
32102.2102.198102.264-0.06609380.00234375
33102.35102.275102.361-0.08536460.0745313
34102.47102.343102.453-0.1094270.12651
35102.55102.414102.538-0.1246350.136302
36102.62102.452102.62-0.1676560.168073
37102.81102.791102.6990.09203130.0188021
38102.88102.907102.7750.13151-0.0265104
39102.94102.984102.8450.138906-0.0443229
40102.95103.026102.9080.11724-0.0755729
41102.94103.017102.9720.0448437-0.0769271
42103.05103.066103.040.0267187-0.0163021
43103.09103.109103.1070.00192708-0.0190104
44103.1103.113103.179-0.0660938-0.0126562
45103.14103.171103.257-0.0853646-0.0313021
46103.19103.228103.337-0.109427-0.0376562
47103.36103.295103.419-0.1246350.0654688
48103.43103.332103.5-0.1676560.0980729
49103.62103.67103.5780.0920313-0.0499479
50103.79103.79103.6590.13151-0.000260417
51103.9103.881103.7420.1389060.0185938
52103.92103.945103.8280.11724-0.0251562
53103.94103.954103.9090.0448437-0.0140104
54103.98104.011103.9850.0267187-0.0313021
55104.04NANA0.00192708NA
56104.09NANA-0.0660938NA
57104.16NANA-0.0853646NA
58104.22NANA-0.109427NA
59104.28NANA-0.124635NA
60104.32NANA-0.167656NA



Parameters (Session):
par1 = additive ; par2 = 12 ;
Parameters (R input):
par1 = additive ; 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')