Free Statistics

of Irreproducible Research!

Author's title

Author*The author of this computation has been verified*
R Software Modulerwasp_decompose.wasp
Title produced by softwareClassical Decomposition
Date of computationMon, 13 Dec 2010 14:14:22 +0000
Cite this page as followsStatistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?v=date/2010/Dec/13/t1292249984qjwa1z35fftq7kd.htm/, Retrieved Mon, 06 May 2024 14:32:40 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=108944, Retrieved Mon, 06 May 2024 14:32:40 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact103
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-     [Univariate Data Series] [data set] [2008-12-01 19:54:57] [b98453cac15ba1066b407e146608df68]
- RMPD  [Classical Decomposition] [Classical decompo...] [2010-12-07 18:02:19] [6a528ed37664d761abf4790b0717b23b]
-    D      [Classical Decomposition] [Paper CD] [2010-12-13 14:14:22] [fd751bc40fbbb4c72222c10190589d42] [Current]
Feedback Forum

Post a new message
Dataseries X:
2
1
-8
-1
1
-1
2
2
1
-1
-2
-2
-1
-8
-4
-6
-3
-3
-7
-9
-11
-13
-11
-9
-17
-22
-25
-20
-24
-24
-22
-19
-18
-17
-11
-11
-12
-10
-15
-15
-15
-13
-8
-13
-9
-7
-4
-4
-2
0




Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time6 seconds
R Server'George Udny Yule' @ 72.249.76.132

\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 & 6 seconds \tabularnewline
R Server & 'George Udny Yule' @ 72.249.76.132 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=108944&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]6 seconds[/C][/ROW]
[ROW][C]R Server[/C][C]'George Udny Yule' @ 72.249.76.132[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=108944&T=0

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=108944&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 time6 seconds
R Server'George Udny Yule' @ 72.249.76.132







Classical Decomposition by Moving Averages
tObservationsFitTrendSeasonalRandom
12NANA1.27430555555555NA
21NANA-1.71180555555556NA
3-8NANA-2.69791666666667NA
4-1NANA-1.47569444444444NA
51NANA-1.69791666666667NA
6-1NANA-0.975694444444444NA
72-0.559027777777779-0.6250.06597222222222122.55902777777778
82-2.48958333333333-1.125-1.364583333333334.48958333333333
91-0.697916666666666-1.333333333333330.6354166666666681.69791666666667
10-1-0.628472222222221-1.3750.746527777777779-0.371527777777779
11-21.69097222222222-1.753.44097222222222-3.69097222222222
12-21.76041666666667-23.76041666666667-3.76041666666667
13-1-1.18402777777778-2.458333333333331.274305555555550.184027777777779
14-8-5.00347222222222-3.29166666666667-1.71180555555556-2.99652777777778
15-4-6.94791666666667-4.25-2.697916666666672.94791666666667
16-6-6.72569444444444-5.25-1.475694444444440.725694444444443
17-3-7.82291666666667-6.125-1.697916666666674.82291666666667
18-3-7.76736111111111-6.79166666666667-0.9756944444444444.76736111111111
19-7-7.68402777777778-7.750.06597222222222120.684027777777779
20-9-10.3645833333333-9-1.364583333333331.36458333333333
21-11-9.82291666666666-10.45833333333330.635416666666668-1.17708333333334
22-13-11.1701388888889-11.91666666666670.746527777777779-1.82986111111111
23-11-9.93402777777778-13.3753.44097222222222-1.06597222222222
24-9-11.3645833333333-15.1253.760416666666672.36458333333333
25-17-15.3506944444444-16.6251.27430555555555-1.64930555555556
26-22-19.3784722222222-17.6666666666667-1.71180555555556-2.62152777777778
27-25-21.0729166666667-18.375-2.69791666666667-3.92708333333334
28-20-20.3090277777778-18.8333333333333-1.475694444444440.309027777777779
29-24-20.6979166666667-19-1.69791666666667-3.30208333333334
30-24-20.0590277777778-19.0833333333333-0.975694444444444-3.94097222222222
31-22-18.8923611111111-18.95833333333330.0659722222222212-3.10763888888889
32-19-19.6145833333333-18.25-1.364583333333330.614583333333332
33-18-16.6979166666667-17.33333333333330.635416666666668-1.30208333333333
34-17-15.9618055555556-16.70833333333330.746527777777779-1.03819444444444
35-11-12.6840277777778-16.1253.440972222222221.68402777777778
36-11-11.53125-15.29166666666673.760416666666670.53125
37-12-12.9756944444444-14.251.274305555555550.975694444444445
38-10-15.1284722222222-13.4166666666667-1.711805555555565.12847222222222
39-15-15.4895833333333-12.7916666666667-2.697916666666670.489583333333332
40-15-13.4756944444444-12-1.47569444444444-1.52430555555556
41-15-12.9895833333333-11.2916666666667-1.69791666666667-2.01041666666667
42-13-11.6840277777778-10.7083333333333-0.975694444444444-1.31597222222222
43-8-9.93402777777778-100.06597222222222121.93402777777778
44-13-10.53125-9.16666666666667-1.36458333333333-2.46875
45-9NANA0.635416666666668NA
46-7NANA0.746527777777779NA
47-4NANA3.44097222222222NA
48-4NANA3.76041666666667NA
49-2NANANANA
500NANANANA

\begin{tabular}{lllllllll}
\hline
Classical Decomposition by Moving Averages \tabularnewline
t & Observations & Fit & Trend & Seasonal & Random \tabularnewline
1 & 2 & NA & NA & 1.27430555555555 & NA \tabularnewline
2 & 1 & NA & NA & -1.71180555555556 & NA \tabularnewline
3 & -8 & NA & NA & -2.69791666666667 & NA \tabularnewline
4 & -1 & NA & NA & -1.47569444444444 & NA \tabularnewline
5 & 1 & NA & NA & -1.69791666666667 & NA \tabularnewline
6 & -1 & NA & NA & -0.975694444444444 & NA \tabularnewline
7 & 2 & -0.559027777777779 & -0.625 & 0.0659722222222212 & 2.55902777777778 \tabularnewline
8 & 2 & -2.48958333333333 & -1.125 & -1.36458333333333 & 4.48958333333333 \tabularnewline
9 & 1 & -0.697916666666666 & -1.33333333333333 & 0.635416666666668 & 1.69791666666667 \tabularnewline
10 & -1 & -0.628472222222221 & -1.375 & 0.746527777777779 & -0.371527777777779 \tabularnewline
11 & -2 & 1.69097222222222 & -1.75 & 3.44097222222222 & -3.69097222222222 \tabularnewline
12 & -2 & 1.76041666666667 & -2 & 3.76041666666667 & -3.76041666666667 \tabularnewline
13 & -1 & -1.18402777777778 & -2.45833333333333 & 1.27430555555555 & 0.184027777777779 \tabularnewline
14 & -8 & -5.00347222222222 & -3.29166666666667 & -1.71180555555556 & -2.99652777777778 \tabularnewline
15 & -4 & -6.94791666666667 & -4.25 & -2.69791666666667 & 2.94791666666667 \tabularnewline
16 & -6 & -6.72569444444444 & -5.25 & -1.47569444444444 & 0.725694444444443 \tabularnewline
17 & -3 & -7.82291666666667 & -6.125 & -1.69791666666667 & 4.82291666666667 \tabularnewline
18 & -3 & -7.76736111111111 & -6.79166666666667 & -0.975694444444444 & 4.76736111111111 \tabularnewline
19 & -7 & -7.68402777777778 & -7.75 & 0.0659722222222212 & 0.684027777777779 \tabularnewline
20 & -9 & -10.3645833333333 & -9 & -1.36458333333333 & 1.36458333333333 \tabularnewline
21 & -11 & -9.82291666666666 & -10.4583333333333 & 0.635416666666668 & -1.17708333333334 \tabularnewline
22 & -13 & -11.1701388888889 & -11.9166666666667 & 0.746527777777779 & -1.82986111111111 \tabularnewline
23 & -11 & -9.93402777777778 & -13.375 & 3.44097222222222 & -1.06597222222222 \tabularnewline
24 & -9 & -11.3645833333333 & -15.125 & 3.76041666666667 & 2.36458333333333 \tabularnewline
25 & -17 & -15.3506944444444 & -16.625 & 1.27430555555555 & -1.64930555555556 \tabularnewline
26 & -22 & -19.3784722222222 & -17.6666666666667 & -1.71180555555556 & -2.62152777777778 \tabularnewline
27 & -25 & -21.0729166666667 & -18.375 & -2.69791666666667 & -3.92708333333334 \tabularnewline
28 & -20 & -20.3090277777778 & -18.8333333333333 & -1.47569444444444 & 0.309027777777779 \tabularnewline
29 & -24 & -20.6979166666667 & -19 & -1.69791666666667 & -3.30208333333334 \tabularnewline
30 & -24 & -20.0590277777778 & -19.0833333333333 & -0.975694444444444 & -3.94097222222222 \tabularnewline
31 & -22 & -18.8923611111111 & -18.9583333333333 & 0.0659722222222212 & -3.10763888888889 \tabularnewline
32 & -19 & -19.6145833333333 & -18.25 & -1.36458333333333 & 0.614583333333332 \tabularnewline
33 & -18 & -16.6979166666667 & -17.3333333333333 & 0.635416666666668 & -1.30208333333333 \tabularnewline
34 & -17 & -15.9618055555556 & -16.7083333333333 & 0.746527777777779 & -1.03819444444444 \tabularnewline
35 & -11 & -12.6840277777778 & -16.125 & 3.44097222222222 & 1.68402777777778 \tabularnewline
36 & -11 & -11.53125 & -15.2916666666667 & 3.76041666666667 & 0.53125 \tabularnewline
37 & -12 & -12.9756944444444 & -14.25 & 1.27430555555555 & 0.975694444444445 \tabularnewline
38 & -10 & -15.1284722222222 & -13.4166666666667 & -1.71180555555556 & 5.12847222222222 \tabularnewline
39 & -15 & -15.4895833333333 & -12.7916666666667 & -2.69791666666667 & 0.489583333333332 \tabularnewline
40 & -15 & -13.4756944444444 & -12 & -1.47569444444444 & -1.52430555555556 \tabularnewline
41 & -15 & -12.9895833333333 & -11.2916666666667 & -1.69791666666667 & -2.01041666666667 \tabularnewline
42 & -13 & -11.6840277777778 & -10.7083333333333 & -0.975694444444444 & -1.31597222222222 \tabularnewline
43 & -8 & -9.93402777777778 & -10 & 0.0659722222222212 & 1.93402777777778 \tabularnewline
44 & -13 & -10.53125 & -9.16666666666667 & -1.36458333333333 & -2.46875 \tabularnewline
45 & -9 & NA & NA & 0.635416666666668 & NA \tabularnewline
46 & -7 & NA & NA & 0.746527777777779 & NA \tabularnewline
47 & -4 & NA & NA & 3.44097222222222 & NA \tabularnewline
48 & -4 & NA & NA & 3.76041666666667 & NA \tabularnewline
49 & -2 & NA & NA & NA & NA \tabularnewline
50 & 0 & NA & NA & NA & NA \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=108944&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]2[/C][C]NA[/C][C]NA[/C][C]1.27430555555555[/C][C]NA[/C][/ROW]
[ROW][C]2[/C][C]1[/C][C]NA[/C][C]NA[/C][C]-1.71180555555556[/C][C]NA[/C][/ROW]
[ROW][C]3[/C][C]-8[/C][C]NA[/C][C]NA[/C][C]-2.69791666666667[/C][C]NA[/C][/ROW]
[ROW][C]4[/C][C]-1[/C][C]NA[/C][C]NA[/C][C]-1.47569444444444[/C][C]NA[/C][/ROW]
[ROW][C]5[/C][C]1[/C][C]NA[/C][C]NA[/C][C]-1.69791666666667[/C][C]NA[/C][/ROW]
[ROW][C]6[/C][C]-1[/C][C]NA[/C][C]NA[/C][C]-0.975694444444444[/C][C]NA[/C][/ROW]
[ROW][C]7[/C][C]2[/C][C]-0.559027777777779[/C][C]-0.625[/C][C]0.0659722222222212[/C][C]2.55902777777778[/C][/ROW]
[ROW][C]8[/C][C]2[/C][C]-2.48958333333333[/C][C]-1.125[/C][C]-1.36458333333333[/C][C]4.48958333333333[/C][/ROW]
[ROW][C]9[/C][C]1[/C][C]-0.697916666666666[/C][C]-1.33333333333333[/C][C]0.635416666666668[/C][C]1.69791666666667[/C][/ROW]
[ROW][C]10[/C][C]-1[/C][C]-0.628472222222221[/C][C]-1.375[/C][C]0.746527777777779[/C][C]-0.371527777777779[/C][/ROW]
[ROW][C]11[/C][C]-2[/C][C]1.69097222222222[/C][C]-1.75[/C][C]3.44097222222222[/C][C]-3.69097222222222[/C][/ROW]
[ROW][C]12[/C][C]-2[/C][C]1.76041666666667[/C][C]-2[/C][C]3.76041666666667[/C][C]-3.76041666666667[/C][/ROW]
[ROW][C]13[/C][C]-1[/C][C]-1.18402777777778[/C][C]-2.45833333333333[/C][C]1.27430555555555[/C][C]0.184027777777779[/C][/ROW]
[ROW][C]14[/C][C]-8[/C][C]-5.00347222222222[/C][C]-3.29166666666667[/C][C]-1.71180555555556[/C][C]-2.99652777777778[/C][/ROW]
[ROW][C]15[/C][C]-4[/C][C]-6.94791666666667[/C][C]-4.25[/C][C]-2.69791666666667[/C][C]2.94791666666667[/C][/ROW]
[ROW][C]16[/C][C]-6[/C][C]-6.72569444444444[/C][C]-5.25[/C][C]-1.47569444444444[/C][C]0.725694444444443[/C][/ROW]
[ROW][C]17[/C][C]-3[/C][C]-7.82291666666667[/C][C]-6.125[/C][C]-1.69791666666667[/C][C]4.82291666666667[/C][/ROW]
[ROW][C]18[/C][C]-3[/C][C]-7.76736111111111[/C][C]-6.79166666666667[/C][C]-0.975694444444444[/C][C]4.76736111111111[/C][/ROW]
[ROW][C]19[/C][C]-7[/C][C]-7.68402777777778[/C][C]-7.75[/C][C]0.0659722222222212[/C][C]0.684027777777779[/C][/ROW]
[ROW][C]20[/C][C]-9[/C][C]-10.3645833333333[/C][C]-9[/C][C]-1.36458333333333[/C][C]1.36458333333333[/C][/ROW]
[ROW][C]21[/C][C]-11[/C][C]-9.82291666666666[/C][C]-10.4583333333333[/C][C]0.635416666666668[/C][C]-1.17708333333334[/C][/ROW]
[ROW][C]22[/C][C]-13[/C][C]-11.1701388888889[/C][C]-11.9166666666667[/C][C]0.746527777777779[/C][C]-1.82986111111111[/C][/ROW]
[ROW][C]23[/C][C]-11[/C][C]-9.93402777777778[/C][C]-13.375[/C][C]3.44097222222222[/C][C]-1.06597222222222[/C][/ROW]
[ROW][C]24[/C][C]-9[/C][C]-11.3645833333333[/C][C]-15.125[/C][C]3.76041666666667[/C][C]2.36458333333333[/C][/ROW]
[ROW][C]25[/C][C]-17[/C][C]-15.3506944444444[/C][C]-16.625[/C][C]1.27430555555555[/C][C]-1.64930555555556[/C][/ROW]
[ROW][C]26[/C][C]-22[/C][C]-19.3784722222222[/C][C]-17.6666666666667[/C][C]-1.71180555555556[/C][C]-2.62152777777778[/C][/ROW]
[ROW][C]27[/C][C]-25[/C][C]-21.0729166666667[/C][C]-18.375[/C][C]-2.69791666666667[/C][C]-3.92708333333334[/C][/ROW]
[ROW][C]28[/C][C]-20[/C][C]-20.3090277777778[/C][C]-18.8333333333333[/C][C]-1.47569444444444[/C][C]0.309027777777779[/C][/ROW]
[ROW][C]29[/C][C]-24[/C][C]-20.6979166666667[/C][C]-19[/C][C]-1.69791666666667[/C][C]-3.30208333333334[/C][/ROW]
[ROW][C]30[/C][C]-24[/C][C]-20.0590277777778[/C][C]-19.0833333333333[/C][C]-0.975694444444444[/C][C]-3.94097222222222[/C][/ROW]
[ROW][C]31[/C][C]-22[/C][C]-18.8923611111111[/C][C]-18.9583333333333[/C][C]0.0659722222222212[/C][C]-3.10763888888889[/C][/ROW]
[ROW][C]32[/C][C]-19[/C][C]-19.6145833333333[/C][C]-18.25[/C][C]-1.36458333333333[/C][C]0.614583333333332[/C][/ROW]
[ROW][C]33[/C][C]-18[/C][C]-16.6979166666667[/C][C]-17.3333333333333[/C][C]0.635416666666668[/C][C]-1.30208333333333[/C][/ROW]
[ROW][C]34[/C][C]-17[/C][C]-15.9618055555556[/C][C]-16.7083333333333[/C][C]0.746527777777779[/C][C]-1.03819444444444[/C][/ROW]
[ROW][C]35[/C][C]-11[/C][C]-12.6840277777778[/C][C]-16.125[/C][C]3.44097222222222[/C][C]1.68402777777778[/C][/ROW]
[ROW][C]36[/C][C]-11[/C][C]-11.53125[/C][C]-15.2916666666667[/C][C]3.76041666666667[/C][C]0.53125[/C][/ROW]
[ROW][C]37[/C][C]-12[/C][C]-12.9756944444444[/C][C]-14.25[/C][C]1.27430555555555[/C][C]0.975694444444445[/C][/ROW]
[ROW][C]38[/C][C]-10[/C][C]-15.1284722222222[/C][C]-13.4166666666667[/C][C]-1.71180555555556[/C][C]5.12847222222222[/C][/ROW]
[ROW][C]39[/C][C]-15[/C][C]-15.4895833333333[/C][C]-12.7916666666667[/C][C]-2.69791666666667[/C][C]0.489583333333332[/C][/ROW]
[ROW][C]40[/C][C]-15[/C][C]-13.4756944444444[/C][C]-12[/C][C]-1.47569444444444[/C][C]-1.52430555555556[/C][/ROW]
[ROW][C]41[/C][C]-15[/C][C]-12.9895833333333[/C][C]-11.2916666666667[/C][C]-1.69791666666667[/C][C]-2.01041666666667[/C][/ROW]
[ROW][C]42[/C][C]-13[/C][C]-11.6840277777778[/C][C]-10.7083333333333[/C][C]-0.975694444444444[/C][C]-1.31597222222222[/C][/ROW]
[ROW][C]43[/C][C]-8[/C][C]-9.93402777777778[/C][C]-10[/C][C]0.0659722222222212[/C][C]1.93402777777778[/C][/ROW]
[ROW][C]44[/C][C]-13[/C][C]-10.53125[/C][C]-9.16666666666667[/C][C]-1.36458333333333[/C][C]-2.46875[/C][/ROW]
[ROW][C]45[/C][C]-9[/C][C]NA[/C][C]NA[/C][C]0.635416666666668[/C][C]NA[/C][/ROW]
[ROW][C]46[/C][C]-7[/C][C]NA[/C][C]NA[/C][C]0.746527777777779[/C][C]NA[/C][/ROW]
[ROW][C]47[/C][C]-4[/C][C]NA[/C][C]NA[/C][C]3.44097222222222[/C][C]NA[/C][/ROW]
[ROW][C]48[/C][C]-4[/C][C]NA[/C][C]NA[/C][C]3.76041666666667[/C][C]NA[/C][/ROW]
[ROW][C]49[/C][C]-2[/C][C]NA[/C][C]NA[/C][C]NA[/C][C]NA[/C][/ROW]
[ROW][C]50[/C][C]0[/C][C]NA[/C][C]NA[/C][C]NA[/C][C]NA[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=108944&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=108944&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
12NANA1.27430555555555NA
21NANA-1.71180555555556NA
3-8NANA-2.69791666666667NA
4-1NANA-1.47569444444444NA
51NANA-1.69791666666667NA
6-1NANA-0.975694444444444NA
72-0.559027777777779-0.6250.06597222222222122.55902777777778
82-2.48958333333333-1.125-1.364583333333334.48958333333333
91-0.697916666666666-1.333333333333330.6354166666666681.69791666666667
10-1-0.628472222222221-1.3750.746527777777779-0.371527777777779
11-21.69097222222222-1.753.44097222222222-3.69097222222222
12-21.76041666666667-23.76041666666667-3.76041666666667
13-1-1.18402777777778-2.458333333333331.274305555555550.184027777777779
14-8-5.00347222222222-3.29166666666667-1.71180555555556-2.99652777777778
15-4-6.94791666666667-4.25-2.697916666666672.94791666666667
16-6-6.72569444444444-5.25-1.475694444444440.725694444444443
17-3-7.82291666666667-6.125-1.697916666666674.82291666666667
18-3-7.76736111111111-6.79166666666667-0.9756944444444444.76736111111111
19-7-7.68402777777778-7.750.06597222222222120.684027777777779
20-9-10.3645833333333-9-1.364583333333331.36458333333333
21-11-9.82291666666666-10.45833333333330.635416666666668-1.17708333333334
22-13-11.1701388888889-11.91666666666670.746527777777779-1.82986111111111
23-11-9.93402777777778-13.3753.44097222222222-1.06597222222222
24-9-11.3645833333333-15.1253.760416666666672.36458333333333
25-17-15.3506944444444-16.6251.27430555555555-1.64930555555556
26-22-19.3784722222222-17.6666666666667-1.71180555555556-2.62152777777778
27-25-21.0729166666667-18.375-2.69791666666667-3.92708333333334
28-20-20.3090277777778-18.8333333333333-1.475694444444440.309027777777779
29-24-20.6979166666667-19-1.69791666666667-3.30208333333334
30-24-20.0590277777778-19.0833333333333-0.975694444444444-3.94097222222222
31-22-18.8923611111111-18.95833333333330.0659722222222212-3.10763888888889
32-19-19.6145833333333-18.25-1.364583333333330.614583333333332
33-18-16.6979166666667-17.33333333333330.635416666666668-1.30208333333333
34-17-15.9618055555556-16.70833333333330.746527777777779-1.03819444444444
35-11-12.6840277777778-16.1253.440972222222221.68402777777778
36-11-11.53125-15.29166666666673.760416666666670.53125
37-12-12.9756944444444-14.251.274305555555550.975694444444445
38-10-15.1284722222222-13.4166666666667-1.711805555555565.12847222222222
39-15-15.4895833333333-12.7916666666667-2.697916666666670.489583333333332
40-15-13.4756944444444-12-1.47569444444444-1.52430555555556
41-15-12.9895833333333-11.2916666666667-1.69791666666667-2.01041666666667
42-13-11.6840277777778-10.7083333333333-0.975694444444444-1.31597222222222
43-8-9.93402777777778-100.06597222222222121.93402777777778
44-13-10.53125-9.16666666666667-1.36458333333333-2.46875
45-9NANA0.635416666666668NA
46-7NANA0.746527777777779NA
47-4NANA3.44097222222222NA
48-4NANA3.76041666666667NA
49-2NANANANA
500NANANANA



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,m$trend[i]+m$seasonal[i]) else a<-table.element(a,m$trend[i]*m$seasonal[i])
a<-table.element(a,m$trend[i])
a<-table.element(a,m$seasonal[i])
a<-table.element(a,m$random[i])
a<-table.row.end(a)
}
a<-table.end(a)
table.save(a,file='mytable.tab')