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 11:47:30 +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/t1461667683mno3hih71azqt4p.htm/, Retrieved Sat, 04 May 2024 00:22:17 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=294847, Retrieved Sat, 04 May 2024 00:22:17 +0000
QR Codes:

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

Post a new message
Dataseries X:
89,72
89.95
90.19
90.23
90.32
90.86
90.99
90.98
91.22
91.42
91.55
91.67
92.30
92.92
93.10
93.23
93.36
93.42
93.58
93.68
94.02
94.29
94.54
94.64
96.70
96.83
97.07
97.11
97.42
97.44
97.67
97.84
98.17
98.31
98.42
98.44
98.89
99.26
99.59
99.82
99.95
99.99
100.28
100.38
100.46
100.52
100.43
100.44
101.33
101.43
101.41
101.53
101.58
101.73
102.12
101.86
101.93
101.86
101.92
102.02




Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time1 seconds
R Server'Gwilym Jenkins' @ jenkins.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 & 1 seconds \tabularnewline
R Server & 'Gwilym Jenkins' @ jenkins.wessa.net \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=294847&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]1 seconds[/C][/ROW]
[ROW][C]R Server[/C][C]'Gwilym Jenkins' @ jenkins.wessa.net[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=294847&T=0

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=294847&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 time1 seconds
R Server'Gwilym Jenkins' @ jenkins.wessa.net







Classical Decomposition by Moving Averages
tObservationsFitTrendSeasonalRandom
189.72NANA0.274497NA
289.95NANA0.350226NA
390.19NANA0.30783NA
490.23NANA0.217517NA
590.32NANA0.155747NA
690.86NANA0.00741319NA
790.9990.871690.86580.005746530.11842
890.9890.952391.0971-0.1447740.027691
991.2291.208491.3421-0.1337330.0116493
1091.4291.387591.5883-0.2008160.0324826
1191.5591.504291.84-0.3358160.045816
1291.6791.569592.0733-0.5038370.100503
1392.392.562492.28790.274497-0.262413
1492.9292.858692.50830.3502260.061441
1593.193.045392.73750.307830.0546701
1693.2393.191392.97380.2175170.0387326
1793.3693.373793.21790.155747-0.0136632
1893.4293.473793.46620.00741319-0.0536632
1993.5893.779193.77330.00574653-0.19908
2093.6893.974894.1196-0.144774-0.294809
2194.0294.314294.4479-0.133733-0.294184
2294.2994.574294.775-0.200816-0.284184
2394.5494.7795.1058-0.335816-0.230017
2494.6494.938795.4425-0.503837-0.298663
2596.796.054995.78040.2744970.645087
2696.8396.474496.12420.3502260.355608
2797.0796.778296.47040.307830.291753
2897.1197.028496.81080.2175170.0816493
2997.4297.295797.140.1557470.124253
3097.4497.467497.460.00741319-0.0274132
3197.6797.715397.70960.00574653-0.0453299
3297.8497.757397.9021-0.1447740.082691
3398.1797.974698.1083-0.1337330.195399
3498.3198.125498.3262-0.2008160.184566
3598.4298.208898.5446-0.3358160.211233
3698.4498.252498.7563-0.5038370.187587
3798.8999.245798.97120.274497-0.355747
3899.2699.536199.18580.350226-0.276059
3999.5999.694999.38710.30783-0.104913
4099.8299.792199.57460.2175170.0278993
4199.9599.906299.75040.1557470.0438368
4299.9999.924999.91750.007413190.0650868
43100.28100.108100.1020.005746530.171753
44100.38100.15100.295-0.1447740.230191
45100.46100.327100.461-0.1337330.132899
46100.52100.407100.608-0.2008160.112899
47100.43100.411100.747-0.3358160.0187326
48100.44100.384100.888-0.5038370.0563368
49101.33101.311101.0370.2744970.0188368
50101.43101.525101.1750.350226-0.0952257
51101.41101.606101.2980.30783-0.195747
52101.53101.633101.4150.217517-0.102517
53101.58101.689101.5330.155747-0.108663
54101.73101.668101.6610.007413190.0617535
55102.12NANA0.00574653NA
56101.86NANA-0.144774NA
57101.93NANA-0.133733NA
58101.86NANA-0.200816NA
59101.92NANA-0.335816NA
60102.02NANA-0.503837NA

\begin{tabular}{lllllllll}
\hline
Classical Decomposition by Moving Averages \tabularnewline
t & Observations & Fit & Trend & Seasonal & Random \tabularnewline
1 & 89.72 & NA & NA & 0.274497 & NA \tabularnewline
2 & 89.95 & NA & NA & 0.350226 & NA \tabularnewline
3 & 90.19 & NA & NA & 0.30783 & NA \tabularnewline
4 & 90.23 & NA & NA & 0.217517 & NA \tabularnewline
5 & 90.32 & NA & NA & 0.155747 & NA \tabularnewline
6 & 90.86 & NA & NA & 0.00741319 & NA \tabularnewline
7 & 90.99 & 90.8716 & 90.8658 & 0.00574653 & 0.11842 \tabularnewline
8 & 90.98 & 90.9523 & 91.0971 & -0.144774 & 0.027691 \tabularnewline
9 & 91.22 & 91.2084 & 91.3421 & -0.133733 & 0.0116493 \tabularnewline
10 & 91.42 & 91.3875 & 91.5883 & -0.200816 & 0.0324826 \tabularnewline
11 & 91.55 & 91.5042 & 91.84 & -0.335816 & 0.045816 \tabularnewline
12 & 91.67 & 91.5695 & 92.0733 & -0.503837 & 0.100503 \tabularnewline
13 & 92.3 & 92.5624 & 92.2879 & 0.274497 & -0.262413 \tabularnewline
14 & 92.92 & 92.8586 & 92.5083 & 0.350226 & 0.061441 \tabularnewline
15 & 93.1 & 93.0453 & 92.7375 & 0.30783 & 0.0546701 \tabularnewline
16 & 93.23 & 93.1913 & 92.9738 & 0.217517 & 0.0387326 \tabularnewline
17 & 93.36 & 93.3737 & 93.2179 & 0.155747 & -0.0136632 \tabularnewline
18 & 93.42 & 93.4737 & 93.4662 & 0.00741319 & -0.0536632 \tabularnewline
19 & 93.58 & 93.7791 & 93.7733 & 0.00574653 & -0.19908 \tabularnewline
20 & 93.68 & 93.9748 & 94.1196 & -0.144774 & -0.294809 \tabularnewline
21 & 94.02 & 94.3142 & 94.4479 & -0.133733 & -0.294184 \tabularnewline
22 & 94.29 & 94.5742 & 94.775 & -0.200816 & -0.284184 \tabularnewline
23 & 94.54 & 94.77 & 95.1058 & -0.335816 & -0.230017 \tabularnewline
24 & 94.64 & 94.9387 & 95.4425 & -0.503837 & -0.298663 \tabularnewline
25 & 96.7 & 96.0549 & 95.7804 & 0.274497 & 0.645087 \tabularnewline
26 & 96.83 & 96.4744 & 96.1242 & 0.350226 & 0.355608 \tabularnewline
27 & 97.07 & 96.7782 & 96.4704 & 0.30783 & 0.291753 \tabularnewline
28 & 97.11 & 97.0284 & 96.8108 & 0.217517 & 0.0816493 \tabularnewline
29 & 97.42 & 97.2957 & 97.14 & 0.155747 & 0.124253 \tabularnewline
30 & 97.44 & 97.4674 & 97.46 & 0.00741319 & -0.0274132 \tabularnewline
31 & 97.67 & 97.7153 & 97.7096 & 0.00574653 & -0.0453299 \tabularnewline
32 & 97.84 & 97.7573 & 97.9021 & -0.144774 & 0.082691 \tabularnewline
33 & 98.17 & 97.9746 & 98.1083 & -0.133733 & 0.195399 \tabularnewline
34 & 98.31 & 98.1254 & 98.3262 & -0.200816 & 0.184566 \tabularnewline
35 & 98.42 & 98.2088 & 98.5446 & -0.335816 & 0.211233 \tabularnewline
36 & 98.44 & 98.2524 & 98.7563 & -0.503837 & 0.187587 \tabularnewline
37 & 98.89 & 99.2457 & 98.9712 & 0.274497 & -0.355747 \tabularnewline
38 & 99.26 & 99.5361 & 99.1858 & 0.350226 & -0.276059 \tabularnewline
39 & 99.59 & 99.6949 & 99.3871 & 0.30783 & -0.104913 \tabularnewline
40 & 99.82 & 99.7921 & 99.5746 & 0.217517 & 0.0278993 \tabularnewline
41 & 99.95 & 99.9062 & 99.7504 & 0.155747 & 0.0438368 \tabularnewline
42 & 99.99 & 99.9249 & 99.9175 & 0.00741319 & 0.0650868 \tabularnewline
43 & 100.28 & 100.108 & 100.102 & 0.00574653 & 0.171753 \tabularnewline
44 & 100.38 & 100.15 & 100.295 & -0.144774 & 0.230191 \tabularnewline
45 & 100.46 & 100.327 & 100.461 & -0.133733 & 0.132899 \tabularnewline
46 & 100.52 & 100.407 & 100.608 & -0.200816 & 0.112899 \tabularnewline
47 & 100.43 & 100.411 & 100.747 & -0.335816 & 0.0187326 \tabularnewline
48 & 100.44 & 100.384 & 100.888 & -0.503837 & 0.0563368 \tabularnewline
49 & 101.33 & 101.311 & 101.037 & 0.274497 & 0.0188368 \tabularnewline
50 & 101.43 & 101.525 & 101.175 & 0.350226 & -0.0952257 \tabularnewline
51 & 101.41 & 101.606 & 101.298 & 0.30783 & -0.195747 \tabularnewline
52 & 101.53 & 101.633 & 101.415 & 0.217517 & -0.102517 \tabularnewline
53 & 101.58 & 101.689 & 101.533 & 0.155747 & -0.108663 \tabularnewline
54 & 101.73 & 101.668 & 101.661 & 0.00741319 & 0.0617535 \tabularnewline
55 & 102.12 & NA & NA & 0.00574653 & NA \tabularnewline
56 & 101.86 & NA & NA & -0.144774 & NA \tabularnewline
57 & 101.93 & NA & NA & -0.133733 & NA \tabularnewline
58 & 101.86 & NA & NA & -0.200816 & NA \tabularnewline
59 & 101.92 & NA & NA & -0.335816 & NA \tabularnewline
60 & 102.02 & NA & NA & -0.503837 & NA \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=294847&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]89.72[/C][C]NA[/C][C]NA[/C][C]0.274497[/C][C]NA[/C][/ROW]
[ROW][C]2[/C][C]89.95[/C][C]NA[/C][C]NA[/C][C]0.350226[/C][C]NA[/C][/ROW]
[ROW][C]3[/C][C]90.19[/C][C]NA[/C][C]NA[/C][C]0.30783[/C][C]NA[/C][/ROW]
[ROW][C]4[/C][C]90.23[/C][C]NA[/C][C]NA[/C][C]0.217517[/C][C]NA[/C][/ROW]
[ROW][C]5[/C][C]90.32[/C][C]NA[/C][C]NA[/C][C]0.155747[/C][C]NA[/C][/ROW]
[ROW][C]6[/C][C]90.86[/C][C]NA[/C][C]NA[/C][C]0.00741319[/C][C]NA[/C][/ROW]
[ROW][C]7[/C][C]90.99[/C][C]90.8716[/C][C]90.8658[/C][C]0.00574653[/C][C]0.11842[/C][/ROW]
[ROW][C]8[/C][C]90.98[/C][C]90.9523[/C][C]91.0971[/C][C]-0.144774[/C][C]0.027691[/C][/ROW]
[ROW][C]9[/C][C]91.22[/C][C]91.2084[/C][C]91.3421[/C][C]-0.133733[/C][C]0.0116493[/C][/ROW]
[ROW][C]10[/C][C]91.42[/C][C]91.3875[/C][C]91.5883[/C][C]-0.200816[/C][C]0.0324826[/C][/ROW]
[ROW][C]11[/C][C]91.55[/C][C]91.5042[/C][C]91.84[/C][C]-0.335816[/C][C]0.045816[/C][/ROW]
[ROW][C]12[/C][C]91.67[/C][C]91.5695[/C][C]92.0733[/C][C]-0.503837[/C][C]0.100503[/C][/ROW]
[ROW][C]13[/C][C]92.3[/C][C]92.5624[/C][C]92.2879[/C][C]0.274497[/C][C]-0.262413[/C][/ROW]
[ROW][C]14[/C][C]92.92[/C][C]92.8586[/C][C]92.5083[/C][C]0.350226[/C][C]0.061441[/C][/ROW]
[ROW][C]15[/C][C]93.1[/C][C]93.0453[/C][C]92.7375[/C][C]0.30783[/C][C]0.0546701[/C][/ROW]
[ROW][C]16[/C][C]93.23[/C][C]93.1913[/C][C]92.9738[/C][C]0.217517[/C][C]0.0387326[/C][/ROW]
[ROW][C]17[/C][C]93.36[/C][C]93.3737[/C][C]93.2179[/C][C]0.155747[/C][C]-0.0136632[/C][/ROW]
[ROW][C]18[/C][C]93.42[/C][C]93.4737[/C][C]93.4662[/C][C]0.00741319[/C][C]-0.0536632[/C][/ROW]
[ROW][C]19[/C][C]93.58[/C][C]93.7791[/C][C]93.7733[/C][C]0.00574653[/C][C]-0.19908[/C][/ROW]
[ROW][C]20[/C][C]93.68[/C][C]93.9748[/C][C]94.1196[/C][C]-0.144774[/C][C]-0.294809[/C][/ROW]
[ROW][C]21[/C][C]94.02[/C][C]94.3142[/C][C]94.4479[/C][C]-0.133733[/C][C]-0.294184[/C][/ROW]
[ROW][C]22[/C][C]94.29[/C][C]94.5742[/C][C]94.775[/C][C]-0.200816[/C][C]-0.284184[/C][/ROW]
[ROW][C]23[/C][C]94.54[/C][C]94.77[/C][C]95.1058[/C][C]-0.335816[/C][C]-0.230017[/C][/ROW]
[ROW][C]24[/C][C]94.64[/C][C]94.9387[/C][C]95.4425[/C][C]-0.503837[/C][C]-0.298663[/C][/ROW]
[ROW][C]25[/C][C]96.7[/C][C]96.0549[/C][C]95.7804[/C][C]0.274497[/C][C]0.645087[/C][/ROW]
[ROW][C]26[/C][C]96.83[/C][C]96.4744[/C][C]96.1242[/C][C]0.350226[/C][C]0.355608[/C][/ROW]
[ROW][C]27[/C][C]97.07[/C][C]96.7782[/C][C]96.4704[/C][C]0.30783[/C][C]0.291753[/C][/ROW]
[ROW][C]28[/C][C]97.11[/C][C]97.0284[/C][C]96.8108[/C][C]0.217517[/C][C]0.0816493[/C][/ROW]
[ROW][C]29[/C][C]97.42[/C][C]97.2957[/C][C]97.14[/C][C]0.155747[/C][C]0.124253[/C][/ROW]
[ROW][C]30[/C][C]97.44[/C][C]97.4674[/C][C]97.46[/C][C]0.00741319[/C][C]-0.0274132[/C][/ROW]
[ROW][C]31[/C][C]97.67[/C][C]97.7153[/C][C]97.7096[/C][C]0.00574653[/C][C]-0.0453299[/C][/ROW]
[ROW][C]32[/C][C]97.84[/C][C]97.7573[/C][C]97.9021[/C][C]-0.144774[/C][C]0.082691[/C][/ROW]
[ROW][C]33[/C][C]98.17[/C][C]97.9746[/C][C]98.1083[/C][C]-0.133733[/C][C]0.195399[/C][/ROW]
[ROW][C]34[/C][C]98.31[/C][C]98.1254[/C][C]98.3262[/C][C]-0.200816[/C][C]0.184566[/C][/ROW]
[ROW][C]35[/C][C]98.42[/C][C]98.2088[/C][C]98.5446[/C][C]-0.335816[/C][C]0.211233[/C][/ROW]
[ROW][C]36[/C][C]98.44[/C][C]98.2524[/C][C]98.7563[/C][C]-0.503837[/C][C]0.187587[/C][/ROW]
[ROW][C]37[/C][C]98.89[/C][C]99.2457[/C][C]98.9712[/C][C]0.274497[/C][C]-0.355747[/C][/ROW]
[ROW][C]38[/C][C]99.26[/C][C]99.5361[/C][C]99.1858[/C][C]0.350226[/C][C]-0.276059[/C][/ROW]
[ROW][C]39[/C][C]99.59[/C][C]99.6949[/C][C]99.3871[/C][C]0.30783[/C][C]-0.104913[/C][/ROW]
[ROW][C]40[/C][C]99.82[/C][C]99.7921[/C][C]99.5746[/C][C]0.217517[/C][C]0.0278993[/C][/ROW]
[ROW][C]41[/C][C]99.95[/C][C]99.9062[/C][C]99.7504[/C][C]0.155747[/C][C]0.0438368[/C][/ROW]
[ROW][C]42[/C][C]99.99[/C][C]99.9249[/C][C]99.9175[/C][C]0.00741319[/C][C]0.0650868[/C][/ROW]
[ROW][C]43[/C][C]100.28[/C][C]100.108[/C][C]100.102[/C][C]0.00574653[/C][C]0.171753[/C][/ROW]
[ROW][C]44[/C][C]100.38[/C][C]100.15[/C][C]100.295[/C][C]-0.144774[/C][C]0.230191[/C][/ROW]
[ROW][C]45[/C][C]100.46[/C][C]100.327[/C][C]100.461[/C][C]-0.133733[/C][C]0.132899[/C][/ROW]
[ROW][C]46[/C][C]100.52[/C][C]100.407[/C][C]100.608[/C][C]-0.200816[/C][C]0.112899[/C][/ROW]
[ROW][C]47[/C][C]100.43[/C][C]100.411[/C][C]100.747[/C][C]-0.335816[/C][C]0.0187326[/C][/ROW]
[ROW][C]48[/C][C]100.44[/C][C]100.384[/C][C]100.888[/C][C]-0.503837[/C][C]0.0563368[/C][/ROW]
[ROW][C]49[/C][C]101.33[/C][C]101.311[/C][C]101.037[/C][C]0.274497[/C][C]0.0188368[/C][/ROW]
[ROW][C]50[/C][C]101.43[/C][C]101.525[/C][C]101.175[/C][C]0.350226[/C][C]-0.0952257[/C][/ROW]
[ROW][C]51[/C][C]101.41[/C][C]101.606[/C][C]101.298[/C][C]0.30783[/C][C]-0.195747[/C][/ROW]
[ROW][C]52[/C][C]101.53[/C][C]101.633[/C][C]101.415[/C][C]0.217517[/C][C]-0.102517[/C][/ROW]
[ROW][C]53[/C][C]101.58[/C][C]101.689[/C][C]101.533[/C][C]0.155747[/C][C]-0.108663[/C][/ROW]
[ROW][C]54[/C][C]101.73[/C][C]101.668[/C][C]101.661[/C][C]0.00741319[/C][C]0.0617535[/C][/ROW]
[ROW][C]55[/C][C]102.12[/C][C]NA[/C][C]NA[/C][C]0.00574653[/C][C]NA[/C][/ROW]
[ROW][C]56[/C][C]101.86[/C][C]NA[/C][C]NA[/C][C]-0.144774[/C][C]NA[/C][/ROW]
[ROW][C]57[/C][C]101.93[/C][C]NA[/C][C]NA[/C][C]-0.133733[/C][C]NA[/C][/ROW]
[ROW][C]58[/C][C]101.86[/C][C]NA[/C][C]NA[/C][C]-0.200816[/C][C]NA[/C][/ROW]
[ROW][C]59[/C][C]101.92[/C][C]NA[/C][C]NA[/C][C]-0.335816[/C][C]NA[/C][/ROW]
[ROW][C]60[/C][C]102.02[/C][C]NA[/C][C]NA[/C][C]-0.503837[/C][C]NA[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=294847&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=294847&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
189.72NANA0.274497NA
289.95NANA0.350226NA
390.19NANA0.30783NA
490.23NANA0.217517NA
590.32NANA0.155747NA
690.86NANA0.00741319NA
790.9990.871690.86580.005746530.11842
890.9890.952391.0971-0.1447740.027691
991.2291.208491.3421-0.1337330.0116493
1091.4291.387591.5883-0.2008160.0324826
1191.5591.504291.84-0.3358160.045816
1291.6791.569592.0733-0.5038370.100503
1392.392.562492.28790.274497-0.262413
1492.9292.858692.50830.3502260.061441
1593.193.045392.73750.307830.0546701
1693.2393.191392.97380.2175170.0387326
1793.3693.373793.21790.155747-0.0136632
1893.4293.473793.46620.00741319-0.0536632
1993.5893.779193.77330.00574653-0.19908
2093.6893.974894.1196-0.144774-0.294809
2194.0294.314294.4479-0.133733-0.294184
2294.2994.574294.775-0.200816-0.284184
2394.5494.7795.1058-0.335816-0.230017
2494.6494.938795.4425-0.503837-0.298663
2596.796.054995.78040.2744970.645087
2696.8396.474496.12420.3502260.355608
2797.0796.778296.47040.307830.291753
2897.1197.028496.81080.2175170.0816493
2997.4297.295797.140.1557470.124253
3097.4497.467497.460.00741319-0.0274132
3197.6797.715397.70960.00574653-0.0453299
3297.8497.757397.9021-0.1447740.082691
3398.1797.974698.1083-0.1337330.195399
3498.3198.125498.3262-0.2008160.184566
3598.4298.208898.5446-0.3358160.211233
3698.4498.252498.7563-0.5038370.187587
3798.8999.245798.97120.274497-0.355747
3899.2699.536199.18580.350226-0.276059
3999.5999.694999.38710.30783-0.104913
4099.8299.792199.57460.2175170.0278993
4199.9599.906299.75040.1557470.0438368
4299.9999.924999.91750.007413190.0650868
43100.28100.108100.1020.005746530.171753
44100.38100.15100.295-0.1447740.230191
45100.46100.327100.461-0.1337330.132899
46100.52100.407100.608-0.2008160.112899
47100.43100.411100.747-0.3358160.0187326
48100.44100.384100.888-0.5038370.0563368
49101.33101.311101.0370.2744970.0188368
50101.43101.525101.1750.350226-0.0952257
51101.41101.606101.2980.30783-0.195747
52101.53101.633101.4150.217517-0.102517
53101.58101.689101.5330.155747-0.108663
54101.73101.668101.6610.007413190.0617535
55102.12NANA0.00574653NA
56101.86NANA-0.144774NA
57101.93NANA-0.133733NA
58101.86NANA-0.200816NA
59101.92NANA-0.335816NA
60102.02NANA-0.503837NA



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