Free Statistics

of Irreproducible Research!

Author's title

Author*Unverified author*
R Software Modulerwasp_decompose.wasp
Title produced by softwareClassical Decomposition
Date of computationMon, 01 May 2017 15:35:39 +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/01/t1493649663m88ter5mrbb06bo.htm/, Retrieved Wed, 15 May 2024 22:34:44 +0200
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=, Retrieved Wed, 15 May 2024 22:34:44 +0200
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact0
Dataseries X:
92.76
93.12
93.6
93.24
93.4
93.32
93.13
93.19
93.84
94.01
93.78
93.47
93.6
92.85
92.91
92.29
92.5
93.1
92.86
93.19
93.73
93.88
93.85
93.45
93.43
93.59
95.28
94.95
94.49
94.45
94.35
95.52
96.89
97.54
97.65
97.35
98.2
99.46
100.35
99.72
99.69
99.62
99.77
100.19
100.82
100.36
101.08
100.73
101.51
102.12
102.88
103.47
103.53
103.67
103.68
103.76
103.67
103.01
103.39
103.43
103.4
104.8




Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time3 seconds
R Server'Sir Maurice George Kendall' @ kendall.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 Maurice George Kendall' @ kendall.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 Maurice George Kendall' @ kendall.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 Maurice George Kendall' @ kendall.wessa.net







Classical Decomposition by Moving Averages
tObservationsFitTrendSeasonalRandom
192.76NANA-0.161245NA
293.12NANA-0.0612448NA
393.6NANA0.576255NA
493.24NANA0.132609NA
593.4NANA-0.116245NA
693.32NANA-0.162599NA
793.1393.042993.44-0.3971410.0871406
893.1993.292693.4637-0.171141-0.102609
993.8493.743993.42380.3201090.0961406
1094.0193.599893.35540.244380.410203
1193.7893.453193.27830.1747970.32687
1293.4792.853193.2317-0.3785360.61687
1393.693.0593.2112-0.1612450.549995
1492.8593.138893.2-0.0612448-0.288755
1592.9193.771793.19540.576255-0.861672
1692.2993.31893.18540.132609-1.02803
1792.593.066793.1829-0.116245-0.566672
1893.193.022493.185-0.1625990.077599
1992.8692.779993.1771-0.3971410.0800573
2093.1993.029793.2008-0.1711410.160307
2193.7393.650593.33040.3201090.079474
2293.8893.784493.540.244380.0956198
2393.8593.908593.73380.174797-0.0585469
2493.4593.494493.8729-0.378536-0.0443802
2593.4393.8393.9913-0.161245-0.400005
2693.5994.089294.1504-0.0612448-0.499172
2795.2894.955494.37920.5762550.324578
2894.9594.795994.66330.1326090.154057
2994.4994.857994.9742-0.116245-0.367922
3094.4595.132495.295-0.162599-0.682401
3194.3595.259195.6562-0.397141-0.909109
3295.5295.928496.0996-0.171141-0.408443
3396.8996.875596.55540.3201090.014474
3497.5497.209896.96540.244380.330203
3597.6597.555697.38080.1747970.0943698
3697.3597.434497.8129-0.378536-0.0843802
3798.298.092998.2542-0.1612450.107078
3899.4698.613398.6746-0.06124480.846661
39100.3599.609299.03290.5762550.740828
4099.7299.446899.31420.1326090.273224
4199.6999.458399.5746-0.1162450.231661
4299.6299.695799.8583-0.162599-0.0757344
4399.7799.7399100.137-0.3971410.0300573
44100.19100.215100.386-0.171141-0.0246927
45100.82100.922100.6020.320109-0.102193
46100.36101.108100.8640.24438-0.74813
47101.08101.355101.180.174797-0.274797
48100.73101.13101.509-0.378536-0.400214
49101.51101.679101.84-0.161245-0.169172
50102.12102.091102.152-0.06124480.0291615
51102.88102.996102.420.576255-0.115839
52103.47102.781102.6490.1326090.688641
53103.53102.739102.855-0.1162450.790828
54103.67102.902103.064-0.1625990.768432
55103.68102.858103.255-0.3971410.821724
56103.76103.275103.446-0.1711410.485307
57103.67NANA0.320109NA
58103.01NANA0.24438NA
59103.39NANA0.174797NA
60103.43NANA-0.378536NA
61103.4NANA-0.161245NA
62104.8NANA-0.0612448NA

\begin{tabular}{lllllllll}
\hline
Classical Decomposition by Moving Averages \tabularnewline
t & Observations & Fit & Trend & Seasonal & Random \tabularnewline
1 & 92.76 & NA & NA & -0.161245 & NA \tabularnewline
2 & 93.12 & NA & NA & -0.0612448 & NA \tabularnewline
3 & 93.6 & NA & NA & 0.576255 & NA \tabularnewline
4 & 93.24 & NA & NA & 0.132609 & NA \tabularnewline
5 & 93.4 & NA & NA & -0.116245 & NA \tabularnewline
6 & 93.32 & NA & NA & -0.162599 & NA \tabularnewline
7 & 93.13 & 93.0429 & 93.44 & -0.397141 & 0.0871406 \tabularnewline
8 & 93.19 & 93.2926 & 93.4637 & -0.171141 & -0.102609 \tabularnewline
9 & 93.84 & 93.7439 & 93.4238 & 0.320109 & 0.0961406 \tabularnewline
10 & 94.01 & 93.5998 & 93.3554 & 0.24438 & 0.410203 \tabularnewline
11 & 93.78 & 93.4531 & 93.2783 & 0.174797 & 0.32687 \tabularnewline
12 & 93.47 & 92.8531 & 93.2317 & -0.378536 & 0.61687 \tabularnewline
13 & 93.6 & 93.05 & 93.2112 & -0.161245 & 0.549995 \tabularnewline
14 & 92.85 & 93.1388 & 93.2 & -0.0612448 & -0.288755 \tabularnewline
15 & 92.91 & 93.7717 & 93.1954 & 0.576255 & -0.861672 \tabularnewline
16 & 92.29 & 93.318 & 93.1854 & 0.132609 & -1.02803 \tabularnewline
17 & 92.5 & 93.0667 & 93.1829 & -0.116245 & -0.566672 \tabularnewline
18 & 93.1 & 93.0224 & 93.185 & -0.162599 & 0.077599 \tabularnewline
19 & 92.86 & 92.7799 & 93.1771 & -0.397141 & 0.0800573 \tabularnewline
20 & 93.19 & 93.0297 & 93.2008 & -0.171141 & 0.160307 \tabularnewline
21 & 93.73 & 93.6505 & 93.3304 & 0.320109 & 0.079474 \tabularnewline
22 & 93.88 & 93.7844 & 93.54 & 0.24438 & 0.0956198 \tabularnewline
23 & 93.85 & 93.9085 & 93.7338 & 0.174797 & -0.0585469 \tabularnewline
24 & 93.45 & 93.4944 & 93.8729 & -0.378536 & -0.0443802 \tabularnewline
25 & 93.43 & 93.83 & 93.9913 & -0.161245 & -0.400005 \tabularnewline
26 & 93.59 & 94.0892 & 94.1504 & -0.0612448 & -0.499172 \tabularnewline
27 & 95.28 & 94.9554 & 94.3792 & 0.576255 & 0.324578 \tabularnewline
28 & 94.95 & 94.7959 & 94.6633 & 0.132609 & 0.154057 \tabularnewline
29 & 94.49 & 94.8579 & 94.9742 & -0.116245 & -0.367922 \tabularnewline
30 & 94.45 & 95.1324 & 95.295 & -0.162599 & -0.682401 \tabularnewline
31 & 94.35 & 95.2591 & 95.6562 & -0.397141 & -0.909109 \tabularnewline
32 & 95.52 & 95.9284 & 96.0996 & -0.171141 & -0.408443 \tabularnewline
33 & 96.89 & 96.8755 & 96.5554 & 0.320109 & 0.014474 \tabularnewline
34 & 97.54 & 97.2098 & 96.9654 & 0.24438 & 0.330203 \tabularnewline
35 & 97.65 & 97.5556 & 97.3808 & 0.174797 & 0.0943698 \tabularnewline
36 & 97.35 & 97.4344 & 97.8129 & -0.378536 & -0.0843802 \tabularnewline
37 & 98.2 & 98.0929 & 98.2542 & -0.161245 & 0.107078 \tabularnewline
38 & 99.46 & 98.6133 & 98.6746 & -0.0612448 & 0.846661 \tabularnewline
39 & 100.35 & 99.6092 & 99.0329 & 0.576255 & 0.740828 \tabularnewline
40 & 99.72 & 99.4468 & 99.3142 & 0.132609 & 0.273224 \tabularnewline
41 & 99.69 & 99.4583 & 99.5746 & -0.116245 & 0.231661 \tabularnewline
42 & 99.62 & 99.6957 & 99.8583 & -0.162599 & -0.0757344 \tabularnewline
43 & 99.77 & 99.7399 & 100.137 & -0.397141 & 0.0300573 \tabularnewline
44 & 100.19 & 100.215 & 100.386 & -0.171141 & -0.0246927 \tabularnewline
45 & 100.82 & 100.922 & 100.602 & 0.320109 & -0.102193 \tabularnewline
46 & 100.36 & 101.108 & 100.864 & 0.24438 & -0.74813 \tabularnewline
47 & 101.08 & 101.355 & 101.18 & 0.174797 & -0.274797 \tabularnewline
48 & 100.73 & 101.13 & 101.509 & -0.378536 & -0.400214 \tabularnewline
49 & 101.51 & 101.679 & 101.84 & -0.161245 & -0.169172 \tabularnewline
50 & 102.12 & 102.091 & 102.152 & -0.0612448 & 0.0291615 \tabularnewline
51 & 102.88 & 102.996 & 102.42 & 0.576255 & -0.115839 \tabularnewline
52 & 103.47 & 102.781 & 102.649 & 0.132609 & 0.688641 \tabularnewline
53 & 103.53 & 102.739 & 102.855 & -0.116245 & 0.790828 \tabularnewline
54 & 103.67 & 102.902 & 103.064 & -0.162599 & 0.768432 \tabularnewline
55 & 103.68 & 102.858 & 103.255 & -0.397141 & 0.821724 \tabularnewline
56 & 103.76 & 103.275 & 103.446 & -0.171141 & 0.485307 \tabularnewline
57 & 103.67 & NA & NA & 0.320109 & NA \tabularnewline
58 & 103.01 & NA & NA & 0.24438 & NA \tabularnewline
59 & 103.39 & NA & NA & 0.174797 & NA \tabularnewline
60 & 103.43 & NA & NA & -0.378536 & NA \tabularnewline
61 & 103.4 & NA & NA & -0.161245 & NA \tabularnewline
62 & 104.8 & NA & NA & -0.0612448 & 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]92.76[/C][C]NA[/C][C]NA[/C][C]-0.161245[/C][C]NA[/C][/ROW]
[ROW][C]2[/C][C]93.12[/C][C]NA[/C][C]NA[/C][C]-0.0612448[/C][C]NA[/C][/ROW]
[ROW][C]3[/C][C]93.6[/C][C]NA[/C][C]NA[/C][C]0.576255[/C][C]NA[/C][/ROW]
[ROW][C]4[/C][C]93.24[/C][C]NA[/C][C]NA[/C][C]0.132609[/C][C]NA[/C][/ROW]
[ROW][C]5[/C][C]93.4[/C][C]NA[/C][C]NA[/C][C]-0.116245[/C][C]NA[/C][/ROW]
[ROW][C]6[/C][C]93.32[/C][C]NA[/C][C]NA[/C][C]-0.162599[/C][C]NA[/C][/ROW]
[ROW][C]7[/C][C]93.13[/C][C]93.0429[/C][C]93.44[/C][C]-0.397141[/C][C]0.0871406[/C][/ROW]
[ROW][C]8[/C][C]93.19[/C][C]93.2926[/C][C]93.4637[/C][C]-0.171141[/C][C]-0.102609[/C][/ROW]
[ROW][C]9[/C][C]93.84[/C][C]93.7439[/C][C]93.4238[/C][C]0.320109[/C][C]0.0961406[/C][/ROW]
[ROW][C]10[/C][C]94.01[/C][C]93.5998[/C][C]93.3554[/C][C]0.24438[/C][C]0.410203[/C][/ROW]
[ROW][C]11[/C][C]93.78[/C][C]93.4531[/C][C]93.2783[/C][C]0.174797[/C][C]0.32687[/C][/ROW]
[ROW][C]12[/C][C]93.47[/C][C]92.8531[/C][C]93.2317[/C][C]-0.378536[/C][C]0.61687[/C][/ROW]
[ROW][C]13[/C][C]93.6[/C][C]93.05[/C][C]93.2112[/C][C]-0.161245[/C][C]0.549995[/C][/ROW]
[ROW][C]14[/C][C]92.85[/C][C]93.1388[/C][C]93.2[/C][C]-0.0612448[/C][C]-0.288755[/C][/ROW]
[ROW][C]15[/C][C]92.91[/C][C]93.7717[/C][C]93.1954[/C][C]0.576255[/C][C]-0.861672[/C][/ROW]
[ROW][C]16[/C][C]92.29[/C][C]93.318[/C][C]93.1854[/C][C]0.132609[/C][C]-1.02803[/C][/ROW]
[ROW][C]17[/C][C]92.5[/C][C]93.0667[/C][C]93.1829[/C][C]-0.116245[/C][C]-0.566672[/C][/ROW]
[ROW][C]18[/C][C]93.1[/C][C]93.0224[/C][C]93.185[/C][C]-0.162599[/C][C]0.077599[/C][/ROW]
[ROW][C]19[/C][C]92.86[/C][C]92.7799[/C][C]93.1771[/C][C]-0.397141[/C][C]0.0800573[/C][/ROW]
[ROW][C]20[/C][C]93.19[/C][C]93.0297[/C][C]93.2008[/C][C]-0.171141[/C][C]0.160307[/C][/ROW]
[ROW][C]21[/C][C]93.73[/C][C]93.6505[/C][C]93.3304[/C][C]0.320109[/C][C]0.079474[/C][/ROW]
[ROW][C]22[/C][C]93.88[/C][C]93.7844[/C][C]93.54[/C][C]0.24438[/C][C]0.0956198[/C][/ROW]
[ROW][C]23[/C][C]93.85[/C][C]93.9085[/C][C]93.7338[/C][C]0.174797[/C][C]-0.0585469[/C][/ROW]
[ROW][C]24[/C][C]93.45[/C][C]93.4944[/C][C]93.8729[/C][C]-0.378536[/C][C]-0.0443802[/C][/ROW]
[ROW][C]25[/C][C]93.43[/C][C]93.83[/C][C]93.9913[/C][C]-0.161245[/C][C]-0.400005[/C][/ROW]
[ROW][C]26[/C][C]93.59[/C][C]94.0892[/C][C]94.1504[/C][C]-0.0612448[/C][C]-0.499172[/C][/ROW]
[ROW][C]27[/C][C]95.28[/C][C]94.9554[/C][C]94.3792[/C][C]0.576255[/C][C]0.324578[/C][/ROW]
[ROW][C]28[/C][C]94.95[/C][C]94.7959[/C][C]94.6633[/C][C]0.132609[/C][C]0.154057[/C][/ROW]
[ROW][C]29[/C][C]94.49[/C][C]94.8579[/C][C]94.9742[/C][C]-0.116245[/C][C]-0.367922[/C][/ROW]
[ROW][C]30[/C][C]94.45[/C][C]95.1324[/C][C]95.295[/C][C]-0.162599[/C][C]-0.682401[/C][/ROW]
[ROW][C]31[/C][C]94.35[/C][C]95.2591[/C][C]95.6562[/C][C]-0.397141[/C][C]-0.909109[/C][/ROW]
[ROW][C]32[/C][C]95.52[/C][C]95.9284[/C][C]96.0996[/C][C]-0.171141[/C][C]-0.408443[/C][/ROW]
[ROW][C]33[/C][C]96.89[/C][C]96.8755[/C][C]96.5554[/C][C]0.320109[/C][C]0.014474[/C][/ROW]
[ROW][C]34[/C][C]97.54[/C][C]97.2098[/C][C]96.9654[/C][C]0.24438[/C][C]0.330203[/C][/ROW]
[ROW][C]35[/C][C]97.65[/C][C]97.5556[/C][C]97.3808[/C][C]0.174797[/C][C]0.0943698[/C][/ROW]
[ROW][C]36[/C][C]97.35[/C][C]97.4344[/C][C]97.8129[/C][C]-0.378536[/C][C]-0.0843802[/C][/ROW]
[ROW][C]37[/C][C]98.2[/C][C]98.0929[/C][C]98.2542[/C][C]-0.161245[/C][C]0.107078[/C][/ROW]
[ROW][C]38[/C][C]99.46[/C][C]98.6133[/C][C]98.6746[/C][C]-0.0612448[/C][C]0.846661[/C][/ROW]
[ROW][C]39[/C][C]100.35[/C][C]99.6092[/C][C]99.0329[/C][C]0.576255[/C][C]0.740828[/C][/ROW]
[ROW][C]40[/C][C]99.72[/C][C]99.4468[/C][C]99.3142[/C][C]0.132609[/C][C]0.273224[/C][/ROW]
[ROW][C]41[/C][C]99.69[/C][C]99.4583[/C][C]99.5746[/C][C]-0.116245[/C][C]0.231661[/C][/ROW]
[ROW][C]42[/C][C]99.62[/C][C]99.6957[/C][C]99.8583[/C][C]-0.162599[/C][C]-0.0757344[/C][/ROW]
[ROW][C]43[/C][C]99.77[/C][C]99.7399[/C][C]100.137[/C][C]-0.397141[/C][C]0.0300573[/C][/ROW]
[ROW][C]44[/C][C]100.19[/C][C]100.215[/C][C]100.386[/C][C]-0.171141[/C][C]-0.0246927[/C][/ROW]
[ROW][C]45[/C][C]100.82[/C][C]100.922[/C][C]100.602[/C][C]0.320109[/C][C]-0.102193[/C][/ROW]
[ROW][C]46[/C][C]100.36[/C][C]101.108[/C][C]100.864[/C][C]0.24438[/C][C]-0.74813[/C][/ROW]
[ROW][C]47[/C][C]101.08[/C][C]101.355[/C][C]101.18[/C][C]0.174797[/C][C]-0.274797[/C][/ROW]
[ROW][C]48[/C][C]100.73[/C][C]101.13[/C][C]101.509[/C][C]-0.378536[/C][C]-0.400214[/C][/ROW]
[ROW][C]49[/C][C]101.51[/C][C]101.679[/C][C]101.84[/C][C]-0.161245[/C][C]-0.169172[/C][/ROW]
[ROW][C]50[/C][C]102.12[/C][C]102.091[/C][C]102.152[/C][C]-0.0612448[/C][C]0.0291615[/C][/ROW]
[ROW][C]51[/C][C]102.88[/C][C]102.996[/C][C]102.42[/C][C]0.576255[/C][C]-0.115839[/C][/ROW]
[ROW][C]52[/C][C]103.47[/C][C]102.781[/C][C]102.649[/C][C]0.132609[/C][C]0.688641[/C][/ROW]
[ROW][C]53[/C][C]103.53[/C][C]102.739[/C][C]102.855[/C][C]-0.116245[/C][C]0.790828[/C][/ROW]
[ROW][C]54[/C][C]103.67[/C][C]102.902[/C][C]103.064[/C][C]-0.162599[/C][C]0.768432[/C][/ROW]
[ROW][C]55[/C][C]103.68[/C][C]102.858[/C][C]103.255[/C][C]-0.397141[/C][C]0.821724[/C][/ROW]
[ROW][C]56[/C][C]103.76[/C][C]103.275[/C][C]103.446[/C][C]-0.171141[/C][C]0.485307[/C][/ROW]
[ROW][C]57[/C][C]103.67[/C][C]NA[/C][C]NA[/C][C]0.320109[/C][C]NA[/C][/ROW]
[ROW][C]58[/C][C]103.01[/C][C]NA[/C][C]NA[/C][C]0.24438[/C][C]NA[/C][/ROW]
[ROW][C]59[/C][C]103.39[/C][C]NA[/C][C]NA[/C][C]0.174797[/C][C]NA[/C][/ROW]
[ROW][C]60[/C][C]103.43[/C][C]NA[/C][C]NA[/C][C]-0.378536[/C][C]NA[/C][/ROW]
[ROW][C]61[/C][C]103.4[/C][C]NA[/C][C]NA[/C][C]-0.161245[/C][C]NA[/C][/ROW]
[ROW][C]62[/C][C]104.8[/C][C]NA[/C][C]NA[/C][C]-0.0612448[/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
192.76NANA-0.161245NA
293.12NANA-0.0612448NA
393.6NANA0.576255NA
493.24NANA0.132609NA
593.4NANA-0.116245NA
693.32NANA-0.162599NA
793.1393.042993.44-0.3971410.0871406
893.1993.292693.4637-0.171141-0.102609
993.8493.743993.42380.3201090.0961406
1094.0193.599893.35540.244380.410203
1193.7893.453193.27830.1747970.32687
1293.4792.853193.2317-0.3785360.61687
1393.693.0593.2112-0.1612450.549995
1492.8593.138893.2-0.0612448-0.288755
1592.9193.771793.19540.576255-0.861672
1692.2993.31893.18540.132609-1.02803
1792.593.066793.1829-0.116245-0.566672
1893.193.022493.185-0.1625990.077599
1992.8692.779993.1771-0.3971410.0800573
2093.1993.029793.2008-0.1711410.160307
2193.7393.650593.33040.3201090.079474
2293.8893.784493.540.244380.0956198
2393.8593.908593.73380.174797-0.0585469
2493.4593.494493.8729-0.378536-0.0443802
2593.4393.8393.9913-0.161245-0.400005
2693.5994.089294.1504-0.0612448-0.499172
2795.2894.955494.37920.5762550.324578
2894.9594.795994.66330.1326090.154057
2994.4994.857994.9742-0.116245-0.367922
3094.4595.132495.295-0.162599-0.682401
3194.3595.259195.6562-0.397141-0.909109
3295.5295.928496.0996-0.171141-0.408443
3396.8996.875596.55540.3201090.014474
3497.5497.209896.96540.244380.330203
3597.6597.555697.38080.1747970.0943698
3697.3597.434497.8129-0.378536-0.0843802
3798.298.092998.2542-0.1612450.107078
3899.4698.613398.6746-0.06124480.846661
39100.3599.609299.03290.5762550.740828
4099.7299.446899.31420.1326090.273224
4199.6999.458399.5746-0.1162450.231661
4299.6299.695799.8583-0.162599-0.0757344
4399.7799.7399100.137-0.3971410.0300573
44100.19100.215100.386-0.171141-0.0246927
45100.82100.922100.6020.320109-0.102193
46100.36101.108100.8640.24438-0.74813
47101.08101.355101.180.174797-0.274797
48100.73101.13101.509-0.378536-0.400214
49101.51101.679101.84-0.161245-0.169172
50102.12102.091102.152-0.06124480.0291615
51102.88102.996102.420.576255-0.115839
52103.47102.781102.6490.1326090.688641
53103.53102.739102.855-0.1162450.790828
54103.67102.902103.064-0.1625990.768432
55103.68102.858103.255-0.3971410.821724
56103.76103.275103.446-0.1711410.485307
57103.67NANA0.320109NA
58103.01NANA0.24438NA
59103.39NANA0.174797NA
60103.43NANA-0.378536NA
61103.4NANA-0.161245NA
62104.8NANA-0.0612448NA



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