Free Statistics

of Irreproducible Research!

Author's title

Author*Unverified author*
R Software Modulerwasp_decompose.wasp
Title produced by softwareClassical Decomposition
Date of computationTue, 26 Apr 2016 18:21:47 +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/26/t1461691336rg9s23dbe8s301k.htm/, Retrieved Sat, 04 May 2024 02:19:03 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=294927, Retrieved Sat, 04 May 2024 02:19:03 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact81
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-       [Classical Decomposition] [] [2016-04-26 17:21:47] [1e8cb0485fd9b8c1cf436607044e417d] [Current]
Feedback Forum

Post a new message
Dataseries X:
92.86
94.06
95.51
96.05
96.71
97.91
97.74
97.64
98.55
98.46
99.19
99.18
99.95
100.66
101.12
101.14
100.73
99.92
100.06
100.64
100.89
100.87
100.72
100.72
100.98
100.15
100.13
100.39
99.87
99.93
99.96
99.61
99.57
99.71
99.78
99.92
100.3
100.83
100.84
97.87
97.99
98.03
97.58
97.45
97.47
98.31
98.29
98.13
98.44
98.05
98.32
97.55
97.74
98.01
97.93
99.23
101.03
100.81
100.57
100.1






Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time2 seconds
R Server'Herman Ole Andreas Wold' @ wold.wessa.net
R Framework error message
Warning: there are blank lines in the 'Data' field.
Please, use NA for missing data - blank lines are simply
 deleted and are NOT treated as missing values.

\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 & 'Herman Ole Andreas Wold' @ wold.wessa.net \tabularnewline
R Framework error message & 
Warning: there are blank lines in the 'Data' field.
Please, use NA for missing data - blank lines are simply
 deleted and are NOT treated as missing values.
\tabularnewline \hline \end{tabular} %Source: https://freestatistics.org/blog/index.php?pk=294927&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]'Herman Ole Andreas Wold' @ wold.wessa.net[/C][/ROW]
[ROW][C]R Framework error message[/C][C]
Warning: there are blank lines in the 'Data' field.
Please, use NA for missing data - blank lines are simply
 deleted and are NOT treated as missing values.
[/C][/ROW] [/TABLE] Source: https://freestatistics.org/blog/index.php?pk=294927&T=0

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=294927&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'Herman Ole Andreas Wold' @ wold.wessa.net
R Framework error message
Warning: there are blank lines in the 'Data' field.
Please, use NA for missing data - blank lines are simply
 deleted and are NOT treated as missing values.







Classical Decomposition by Moving Averages
tObservationsFitTrendSeasonalRandom
192.86NANA0.551788NA
294.06NANA0.538247NA
395.51NANA0.675851NA
496.05NANA-0.239462NA
596.71NANA-0.433316NA
697.91NANA-0.567274NA
797.7497.009697.2838-0.2741490.730399
897.6497.480397.8542-0.3738370.15967
998.5598.203298.3629-0.159670.346753
1098.4698.821798.80870.012934-0.361684
1199.1999.332499.18830.14408-0.142413
1299.1899.564499.43960.124809-0.384392
1399.95100.17299.620.551788-0.221788
14100.66100.3899.84170.5382470.280087
15101.12100.74100.0640.6758510.379983
16101.14100.023100.262-0.2394621.11738
17100.7399.9929100.426-0.4333160.737066
1899.9299.9869100.554-0.567274-0.0668924
19100.06100.387100.661-0.274149-0.327101
20100.64100.309100.683-0.3738370.33092
21100.89100.461100.62-0.159670.429253
22100.87100.561100.5480.0129340.309149
23100.72100.625100.4810.144080.0950868
24100.72100.57100.4450.1248090.149774
25100.98100.993100.4420.551788-0.0134549
26100.15100.933100.3950.538247-0.78283
27100.13100.973100.2970.675851-0.842517
28100.3999.9539100.193-0.2394620.436128
2999.8799.6725100.106-0.4333160.197483
3099.9399.4661100.033-0.5672740.463941
3199.9699.697599.9717-0.2741490.262483
3299.6199.597899.9717-0.3738370.0121701
3399.5799.8699100.03-0.15967-0.299913
3499.7199.967199.95420.012934-0.257101
3599.7899.914999.77080.14408-0.134913
3699.9299.738199.61330.1248090.181858
37100.399.986899.4350.5517880.313212
38100.8399.784199.24580.5382471.04592
39100.8499.744299.06830.6758511.09582
4097.8798.68398.9225-0.239462-0.813038
4197.9998.368898.8021-0.433316-0.378767
4298.0398.098198.6654-0.567274-0.0681424
4397.5898.239298.5133-0.274149-0.659184
4497.4597.946298.32-0.373837-0.496163
4597.4797.939598.0992-0.15967-0.469497
4698.3197.993897.98080.0129340.316233
4798.2998.101297.95710.144080.188837
4898.1398.070697.94580.1248090.0593576
4998.4498.511497.95960.551788-0.0713715
5098.0598.586698.04830.538247-0.53658
5198.3298.946798.27080.675851-0.626684
5297.5598.283998.5233-0.239462-0.733872
5397.7498.289298.7225-0.433316-0.549184
5498.0198.332398.8996-0.567274-0.322309
5597.93NANA-0.274149NA
5699.23NANA-0.373837NA
57101.03NANA-0.15967NA
58100.81NANA0.012934NA
59100.57NANA0.14408NA
60100.1NANA0.124809NA

\begin{tabular}{lllllllll}
\hline
Classical Decomposition by Moving Averages \tabularnewline
t & Observations & Fit & Trend & Seasonal & Random \tabularnewline
1 & 92.86 & NA & NA & 0.551788 & NA \tabularnewline
2 & 94.06 & NA & NA & 0.538247 & NA \tabularnewline
3 & 95.51 & NA & NA & 0.675851 & NA \tabularnewline
4 & 96.05 & NA & NA & -0.239462 & NA \tabularnewline
5 & 96.71 & NA & NA & -0.433316 & NA \tabularnewline
6 & 97.91 & NA & NA & -0.567274 & NA \tabularnewline
7 & 97.74 & 97.0096 & 97.2838 & -0.274149 & 0.730399 \tabularnewline
8 & 97.64 & 97.4803 & 97.8542 & -0.373837 & 0.15967 \tabularnewline
9 & 98.55 & 98.2032 & 98.3629 & -0.15967 & 0.346753 \tabularnewline
10 & 98.46 & 98.8217 & 98.8087 & 0.012934 & -0.361684 \tabularnewline
11 & 99.19 & 99.3324 & 99.1883 & 0.14408 & -0.142413 \tabularnewline
12 & 99.18 & 99.5644 & 99.4396 & 0.124809 & -0.384392 \tabularnewline
13 & 99.95 & 100.172 & 99.62 & 0.551788 & -0.221788 \tabularnewline
14 & 100.66 & 100.38 & 99.8417 & 0.538247 & 0.280087 \tabularnewline
15 & 101.12 & 100.74 & 100.064 & 0.675851 & 0.379983 \tabularnewline
16 & 101.14 & 100.023 & 100.262 & -0.239462 & 1.11738 \tabularnewline
17 & 100.73 & 99.9929 & 100.426 & -0.433316 & 0.737066 \tabularnewline
18 & 99.92 & 99.9869 & 100.554 & -0.567274 & -0.0668924 \tabularnewline
19 & 100.06 & 100.387 & 100.661 & -0.274149 & -0.327101 \tabularnewline
20 & 100.64 & 100.309 & 100.683 & -0.373837 & 0.33092 \tabularnewline
21 & 100.89 & 100.461 & 100.62 & -0.15967 & 0.429253 \tabularnewline
22 & 100.87 & 100.561 & 100.548 & 0.012934 & 0.309149 \tabularnewline
23 & 100.72 & 100.625 & 100.481 & 0.14408 & 0.0950868 \tabularnewline
24 & 100.72 & 100.57 & 100.445 & 0.124809 & 0.149774 \tabularnewline
25 & 100.98 & 100.993 & 100.442 & 0.551788 & -0.0134549 \tabularnewline
26 & 100.15 & 100.933 & 100.395 & 0.538247 & -0.78283 \tabularnewline
27 & 100.13 & 100.973 & 100.297 & 0.675851 & -0.842517 \tabularnewline
28 & 100.39 & 99.9539 & 100.193 & -0.239462 & 0.436128 \tabularnewline
29 & 99.87 & 99.6725 & 100.106 & -0.433316 & 0.197483 \tabularnewline
30 & 99.93 & 99.4661 & 100.033 & -0.567274 & 0.463941 \tabularnewline
31 & 99.96 & 99.6975 & 99.9717 & -0.274149 & 0.262483 \tabularnewline
32 & 99.61 & 99.5978 & 99.9717 & -0.373837 & 0.0121701 \tabularnewline
33 & 99.57 & 99.8699 & 100.03 & -0.15967 & -0.299913 \tabularnewline
34 & 99.71 & 99.9671 & 99.9542 & 0.012934 & -0.257101 \tabularnewline
35 & 99.78 & 99.9149 & 99.7708 & 0.14408 & -0.134913 \tabularnewline
36 & 99.92 & 99.7381 & 99.6133 & 0.124809 & 0.181858 \tabularnewline
37 & 100.3 & 99.9868 & 99.435 & 0.551788 & 0.313212 \tabularnewline
38 & 100.83 & 99.7841 & 99.2458 & 0.538247 & 1.04592 \tabularnewline
39 & 100.84 & 99.7442 & 99.0683 & 0.675851 & 1.09582 \tabularnewline
40 & 97.87 & 98.683 & 98.9225 & -0.239462 & -0.813038 \tabularnewline
41 & 97.99 & 98.3688 & 98.8021 & -0.433316 & -0.378767 \tabularnewline
42 & 98.03 & 98.0981 & 98.6654 & -0.567274 & -0.0681424 \tabularnewline
43 & 97.58 & 98.2392 & 98.5133 & -0.274149 & -0.659184 \tabularnewline
44 & 97.45 & 97.9462 & 98.32 & -0.373837 & -0.496163 \tabularnewline
45 & 97.47 & 97.9395 & 98.0992 & -0.15967 & -0.469497 \tabularnewline
46 & 98.31 & 97.9938 & 97.9808 & 0.012934 & 0.316233 \tabularnewline
47 & 98.29 & 98.1012 & 97.9571 & 0.14408 & 0.188837 \tabularnewline
48 & 98.13 & 98.0706 & 97.9458 & 0.124809 & 0.0593576 \tabularnewline
49 & 98.44 & 98.5114 & 97.9596 & 0.551788 & -0.0713715 \tabularnewline
50 & 98.05 & 98.5866 & 98.0483 & 0.538247 & -0.53658 \tabularnewline
51 & 98.32 & 98.9467 & 98.2708 & 0.675851 & -0.626684 \tabularnewline
52 & 97.55 & 98.2839 & 98.5233 & -0.239462 & -0.733872 \tabularnewline
53 & 97.74 & 98.2892 & 98.7225 & -0.433316 & -0.549184 \tabularnewline
54 & 98.01 & 98.3323 & 98.8996 & -0.567274 & -0.322309 \tabularnewline
55 & 97.93 & NA & NA & -0.274149 & NA \tabularnewline
56 & 99.23 & NA & NA & -0.373837 & NA \tabularnewline
57 & 101.03 & NA & NA & -0.15967 & NA \tabularnewline
58 & 100.81 & NA & NA & 0.012934 & NA \tabularnewline
59 & 100.57 & NA & NA & 0.14408 & NA \tabularnewline
60 & 100.1 & NA & NA & 0.124809 & NA \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=294927&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.86[/C][C]NA[/C][C]NA[/C][C]0.551788[/C][C]NA[/C][/ROW]
[ROW][C]2[/C][C]94.06[/C][C]NA[/C][C]NA[/C][C]0.538247[/C][C]NA[/C][/ROW]
[ROW][C]3[/C][C]95.51[/C][C]NA[/C][C]NA[/C][C]0.675851[/C][C]NA[/C][/ROW]
[ROW][C]4[/C][C]96.05[/C][C]NA[/C][C]NA[/C][C]-0.239462[/C][C]NA[/C][/ROW]
[ROW][C]5[/C][C]96.71[/C][C]NA[/C][C]NA[/C][C]-0.433316[/C][C]NA[/C][/ROW]
[ROW][C]6[/C][C]97.91[/C][C]NA[/C][C]NA[/C][C]-0.567274[/C][C]NA[/C][/ROW]
[ROW][C]7[/C][C]97.74[/C][C]97.0096[/C][C]97.2838[/C][C]-0.274149[/C][C]0.730399[/C][/ROW]
[ROW][C]8[/C][C]97.64[/C][C]97.4803[/C][C]97.8542[/C][C]-0.373837[/C][C]0.15967[/C][/ROW]
[ROW][C]9[/C][C]98.55[/C][C]98.2032[/C][C]98.3629[/C][C]-0.15967[/C][C]0.346753[/C][/ROW]
[ROW][C]10[/C][C]98.46[/C][C]98.8217[/C][C]98.8087[/C][C]0.012934[/C][C]-0.361684[/C][/ROW]
[ROW][C]11[/C][C]99.19[/C][C]99.3324[/C][C]99.1883[/C][C]0.14408[/C][C]-0.142413[/C][/ROW]
[ROW][C]12[/C][C]99.18[/C][C]99.5644[/C][C]99.4396[/C][C]0.124809[/C][C]-0.384392[/C][/ROW]
[ROW][C]13[/C][C]99.95[/C][C]100.172[/C][C]99.62[/C][C]0.551788[/C][C]-0.221788[/C][/ROW]
[ROW][C]14[/C][C]100.66[/C][C]100.38[/C][C]99.8417[/C][C]0.538247[/C][C]0.280087[/C][/ROW]
[ROW][C]15[/C][C]101.12[/C][C]100.74[/C][C]100.064[/C][C]0.675851[/C][C]0.379983[/C][/ROW]
[ROW][C]16[/C][C]101.14[/C][C]100.023[/C][C]100.262[/C][C]-0.239462[/C][C]1.11738[/C][/ROW]
[ROW][C]17[/C][C]100.73[/C][C]99.9929[/C][C]100.426[/C][C]-0.433316[/C][C]0.737066[/C][/ROW]
[ROW][C]18[/C][C]99.92[/C][C]99.9869[/C][C]100.554[/C][C]-0.567274[/C][C]-0.0668924[/C][/ROW]
[ROW][C]19[/C][C]100.06[/C][C]100.387[/C][C]100.661[/C][C]-0.274149[/C][C]-0.327101[/C][/ROW]
[ROW][C]20[/C][C]100.64[/C][C]100.309[/C][C]100.683[/C][C]-0.373837[/C][C]0.33092[/C][/ROW]
[ROW][C]21[/C][C]100.89[/C][C]100.461[/C][C]100.62[/C][C]-0.15967[/C][C]0.429253[/C][/ROW]
[ROW][C]22[/C][C]100.87[/C][C]100.561[/C][C]100.548[/C][C]0.012934[/C][C]0.309149[/C][/ROW]
[ROW][C]23[/C][C]100.72[/C][C]100.625[/C][C]100.481[/C][C]0.14408[/C][C]0.0950868[/C][/ROW]
[ROW][C]24[/C][C]100.72[/C][C]100.57[/C][C]100.445[/C][C]0.124809[/C][C]0.149774[/C][/ROW]
[ROW][C]25[/C][C]100.98[/C][C]100.993[/C][C]100.442[/C][C]0.551788[/C][C]-0.0134549[/C][/ROW]
[ROW][C]26[/C][C]100.15[/C][C]100.933[/C][C]100.395[/C][C]0.538247[/C][C]-0.78283[/C][/ROW]
[ROW][C]27[/C][C]100.13[/C][C]100.973[/C][C]100.297[/C][C]0.675851[/C][C]-0.842517[/C][/ROW]
[ROW][C]28[/C][C]100.39[/C][C]99.9539[/C][C]100.193[/C][C]-0.239462[/C][C]0.436128[/C][/ROW]
[ROW][C]29[/C][C]99.87[/C][C]99.6725[/C][C]100.106[/C][C]-0.433316[/C][C]0.197483[/C][/ROW]
[ROW][C]30[/C][C]99.93[/C][C]99.4661[/C][C]100.033[/C][C]-0.567274[/C][C]0.463941[/C][/ROW]
[ROW][C]31[/C][C]99.96[/C][C]99.6975[/C][C]99.9717[/C][C]-0.274149[/C][C]0.262483[/C][/ROW]
[ROW][C]32[/C][C]99.61[/C][C]99.5978[/C][C]99.9717[/C][C]-0.373837[/C][C]0.0121701[/C][/ROW]
[ROW][C]33[/C][C]99.57[/C][C]99.8699[/C][C]100.03[/C][C]-0.15967[/C][C]-0.299913[/C][/ROW]
[ROW][C]34[/C][C]99.71[/C][C]99.9671[/C][C]99.9542[/C][C]0.012934[/C][C]-0.257101[/C][/ROW]
[ROW][C]35[/C][C]99.78[/C][C]99.9149[/C][C]99.7708[/C][C]0.14408[/C][C]-0.134913[/C][/ROW]
[ROW][C]36[/C][C]99.92[/C][C]99.7381[/C][C]99.6133[/C][C]0.124809[/C][C]0.181858[/C][/ROW]
[ROW][C]37[/C][C]100.3[/C][C]99.9868[/C][C]99.435[/C][C]0.551788[/C][C]0.313212[/C][/ROW]
[ROW][C]38[/C][C]100.83[/C][C]99.7841[/C][C]99.2458[/C][C]0.538247[/C][C]1.04592[/C][/ROW]
[ROW][C]39[/C][C]100.84[/C][C]99.7442[/C][C]99.0683[/C][C]0.675851[/C][C]1.09582[/C][/ROW]
[ROW][C]40[/C][C]97.87[/C][C]98.683[/C][C]98.9225[/C][C]-0.239462[/C][C]-0.813038[/C][/ROW]
[ROW][C]41[/C][C]97.99[/C][C]98.3688[/C][C]98.8021[/C][C]-0.433316[/C][C]-0.378767[/C][/ROW]
[ROW][C]42[/C][C]98.03[/C][C]98.0981[/C][C]98.6654[/C][C]-0.567274[/C][C]-0.0681424[/C][/ROW]
[ROW][C]43[/C][C]97.58[/C][C]98.2392[/C][C]98.5133[/C][C]-0.274149[/C][C]-0.659184[/C][/ROW]
[ROW][C]44[/C][C]97.45[/C][C]97.9462[/C][C]98.32[/C][C]-0.373837[/C][C]-0.496163[/C][/ROW]
[ROW][C]45[/C][C]97.47[/C][C]97.9395[/C][C]98.0992[/C][C]-0.15967[/C][C]-0.469497[/C][/ROW]
[ROW][C]46[/C][C]98.31[/C][C]97.9938[/C][C]97.9808[/C][C]0.012934[/C][C]0.316233[/C][/ROW]
[ROW][C]47[/C][C]98.29[/C][C]98.1012[/C][C]97.9571[/C][C]0.14408[/C][C]0.188837[/C][/ROW]
[ROW][C]48[/C][C]98.13[/C][C]98.0706[/C][C]97.9458[/C][C]0.124809[/C][C]0.0593576[/C][/ROW]
[ROW][C]49[/C][C]98.44[/C][C]98.5114[/C][C]97.9596[/C][C]0.551788[/C][C]-0.0713715[/C][/ROW]
[ROW][C]50[/C][C]98.05[/C][C]98.5866[/C][C]98.0483[/C][C]0.538247[/C][C]-0.53658[/C][/ROW]
[ROW][C]51[/C][C]98.32[/C][C]98.9467[/C][C]98.2708[/C][C]0.675851[/C][C]-0.626684[/C][/ROW]
[ROW][C]52[/C][C]97.55[/C][C]98.2839[/C][C]98.5233[/C][C]-0.239462[/C][C]-0.733872[/C][/ROW]
[ROW][C]53[/C][C]97.74[/C][C]98.2892[/C][C]98.7225[/C][C]-0.433316[/C][C]-0.549184[/C][/ROW]
[ROW][C]54[/C][C]98.01[/C][C]98.3323[/C][C]98.8996[/C][C]-0.567274[/C][C]-0.322309[/C][/ROW]
[ROW][C]55[/C][C]97.93[/C][C]NA[/C][C]NA[/C][C]-0.274149[/C][C]NA[/C][/ROW]
[ROW][C]56[/C][C]99.23[/C][C]NA[/C][C]NA[/C][C]-0.373837[/C][C]NA[/C][/ROW]
[ROW][C]57[/C][C]101.03[/C][C]NA[/C][C]NA[/C][C]-0.15967[/C][C]NA[/C][/ROW]
[ROW][C]58[/C][C]100.81[/C][C]NA[/C][C]NA[/C][C]0.012934[/C][C]NA[/C][/ROW]
[ROW][C]59[/C][C]100.57[/C][C]NA[/C][C]NA[/C][C]0.14408[/C][C]NA[/C][/ROW]
[ROW][C]60[/C][C]100.1[/C][C]NA[/C][C]NA[/C][C]0.124809[/C][C]NA[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=294927&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=294927&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.86NANA0.551788NA
294.06NANA0.538247NA
395.51NANA0.675851NA
496.05NANA-0.239462NA
596.71NANA-0.433316NA
697.91NANA-0.567274NA
797.7497.009697.2838-0.2741490.730399
897.6497.480397.8542-0.3738370.15967
998.5598.203298.3629-0.159670.346753
1098.4698.821798.80870.012934-0.361684
1199.1999.332499.18830.14408-0.142413
1299.1899.564499.43960.124809-0.384392
1399.95100.17299.620.551788-0.221788
14100.66100.3899.84170.5382470.280087
15101.12100.74100.0640.6758510.379983
16101.14100.023100.262-0.2394621.11738
17100.7399.9929100.426-0.4333160.737066
1899.9299.9869100.554-0.567274-0.0668924
19100.06100.387100.661-0.274149-0.327101
20100.64100.309100.683-0.3738370.33092
21100.89100.461100.62-0.159670.429253
22100.87100.561100.5480.0129340.309149
23100.72100.625100.4810.144080.0950868
24100.72100.57100.4450.1248090.149774
25100.98100.993100.4420.551788-0.0134549
26100.15100.933100.3950.538247-0.78283
27100.13100.973100.2970.675851-0.842517
28100.3999.9539100.193-0.2394620.436128
2999.8799.6725100.106-0.4333160.197483
3099.9399.4661100.033-0.5672740.463941
3199.9699.697599.9717-0.2741490.262483
3299.6199.597899.9717-0.3738370.0121701
3399.5799.8699100.03-0.15967-0.299913
3499.7199.967199.95420.012934-0.257101
3599.7899.914999.77080.14408-0.134913
3699.9299.738199.61330.1248090.181858
37100.399.986899.4350.5517880.313212
38100.8399.784199.24580.5382471.04592
39100.8499.744299.06830.6758511.09582
4097.8798.68398.9225-0.239462-0.813038
4197.9998.368898.8021-0.433316-0.378767
4298.0398.098198.6654-0.567274-0.0681424
4397.5898.239298.5133-0.274149-0.659184
4497.4597.946298.32-0.373837-0.496163
4597.4797.939598.0992-0.15967-0.469497
4698.3197.993897.98080.0129340.316233
4798.2998.101297.95710.144080.188837
4898.1398.070697.94580.1248090.0593576
4998.4498.511497.95960.551788-0.0713715
5098.0598.586698.04830.538247-0.53658
5198.3298.946798.27080.675851-0.626684
5297.5598.283998.5233-0.239462-0.733872
5397.7498.289298.7225-0.433316-0.549184
5498.0198.332398.8996-0.567274-0.322309
5597.93NANA-0.274149NA
5699.23NANA-0.373837NA
57101.03NANA-0.15967NA
58100.81NANA0.012934NA
59100.57NANA0.14408NA
60100.1NANA0.124809NA



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