Free Statistics

of Irreproducible Research!

Author's title

Author*Unverified author*
R Software Modulerwasp_decompose.wasp
Title produced by softwareClassical Decomposition
Date of computationSun, 29 Nov 2015 14:31:23 +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/2015/Nov/29/t1448807528b04585dlm5ot40o.htm/, Retrieved Wed, 15 May 2024 04:00:57 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=284461, Retrieved Wed, 15 May 2024 04:00:57 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact131
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-       [Classical Decomposition] [Classical Deompos...] [2015-11-29 14:31:23] [3f1a7081c5450f075552d8bc3f139f2c] [Current]
Feedback Forum

Post a new message
Dataseries X:
26.133
25.979
25.541
25.308
25.663
25.78
25.328
24.806
24.651
24.531
24.633
25.174
24.449
24.277
24.393
24.301
24.381
24.286
24.335
24.273
24.556
24.841
25.464
25.514
25.531
25.042
24.676
24.809
25.313
25.64
25.447
25.021
24.752
24.939
25.365
25.214
25.563
25.475
25.659
25.841
25.888
25.759
25.944
25.818
25.789
25.662
26.927
27.521
27.485
27.444
27.395
27.45
27.437
27.45
27.458
27.816
27.599
27.588
27.667
27.64




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

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=284461&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'Gertrude Mary Cox' @ cox.wessa.net







Classical Decomposition by Moving Averages
tObservationsFitTrendSeasonalRandom
126.133NANA0.296345NA
225.979NANA0.0453038NA
325.541NANA-0.0455087NA
425.308NANA-0.0385608NA
525.663NANA0.0524913NA
625.78NANA0.0241997NA
725.32825.248425.22370.02463720.0796128
824.80624.79425.0827-0.2887070.0120399
924.65124.598124.9639-0.365780.0528628
1024.53124.52324.8741-0.3511550.00802951
1124.63324.990824.77870.212054-0.357804
1225.17425.097824.66310.4346790.0762378
1324.44924.855824.55950.296345-0.406804
1424.27724.541224.49590.0453038-0.264179
1524.39324.424224.4697-0.0455087-0.0311997
1624.30124.440124.4787-0.0385608-0.139106
1724.38124.578724.52620.0524913-0.1977
1824.28624.599224.5750.0241997-0.3132
1924.33524.658924.63420.0246372-0.323887
2024.27324.422524.7112-0.288707-0.149502
2124.55624.389124.7549-0.365780.166905
2224.84124.436724.7878-0.3511550.404321
2325.46425.059924.84780.2120540.404113
2425.51425.377824.94310.4346790.136238
2525.53125.342225.04580.2963450.188821
2625.04225.168625.12330.0453038-0.126637
2724.67625.117225.1627-0.0455087-0.441158
2824.80925.136425.1749-0.0385608-0.327356
2925.31325.227425.17490.05249130.0856337
3025.6425.182425.15830.02419970.45755
3125.44725.171725.14710.02463720.27528
3225.02124.877825.1665-0.2887070.143248
3324.75224.859725.2255-0.36578-0.107679
3424.93924.958325.3094-0.351155-0.0192622
3525.36525.588425.37640.212054-0.223429
3625.21425.8425.40530.434679-0.62597
3725.56325.727325.4310.296345-0.164304
3825.47525.530225.48490.0453038-0.0551788
3925.65925.515825.5613-0.04550870.143217
4025.84125.596125.6346-0.03856080.244936
4125.88825.782325.72980.05249130.105675
4225.75925.915225.8910.0241997-0.156241
4325.94426.091926.06720.0246372-0.147887
4425.81825.940726.2294-0.288707-0.122668
4525.78926.01826.3838-0.36578-0.22897
4625.66226.17226.5231-0.351155-0.50997
4726.92726.866826.65470.2120540.0602378
4827.52127.224426.78970.4346790.296613
4927.48527.219626.92320.2963450.265405
5027.44427.114927.06960.04530380.329113
5127.39527.182727.2282-0.04550870.212259
5227.4527.345427.3839-0.03856080.104644
5327.43727.547527.4950.0524913-0.110491
5427.4527.55527.53080.0241997-0.104991
5527.458NANA0.0246372NA
5627.816NANA-0.288707NA
5727.599NANA-0.36578NA
5827.588NANA-0.351155NA
5927.667NANA0.212054NA
6027.64NANA0.434679NA

\begin{tabular}{lllllllll}
\hline
Classical Decomposition by Moving Averages \tabularnewline
t & Observations & Fit & Trend & Seasonal & Random \tabularnewline
1 & 26.133 & NA & NA & 0.296345 & NA \tabularnewline
2 & 25.979 & NA & NA & 0.0453038 & NA \tabularnewline
3 & 25.541 & NA & NA & -0.0455087 & NA \tabularnewline
4 & 25.308 & NA & NA & -0.0385608 & NA \tabularnewline
5 & 25.663 & NA & NA & 0.0524913 & NA \tabularnewline
6 & 25.78 & NA & NA & 0.0241997 & NA \tabularnewline
7 & 25.328 & 25.2484 & 25.2237 & 0.0246372 & 0.0796128 \tabularnewline
8 & 24.806 & 24.794 & 25.0827 & -0.288707 & 0.0120399 \tabularnewline
9 & 24.651 & 24.5981 & 24.9639 & -0.36578 & 0.0528628 \tabularnewline
10 & 24.531 & 24.523 & 24.8741 & -0.351155 & 0.00802951 \tabularnewline
11 & 24.633 & 24.9908 & 24.7787 & 0.212054 & -0.357804 \tabularnewline
12 & 25.174 & 25.0978 & 24.6631 & 0.434679 & 0.0762378 \tabularnewline
13 & 24.449 & 24.8558 & 24.5595 & 0.296345 & -0.406804 \tabularnewline
14 & 24.277 & 24.5412 & 24.4959 & 0.0453038 & -0.264179 \tabularnewline
15 & 24.393 & 24.4242 & 24.4697 & -0.0455087 & -0.0311997 \tabularnewline
16 & 24.301 & 24.4401 & 24.4787 & -0.0385608 & -0.139106 \tabularnewline
17 & 24.381 & 24.5787 & 24.5262 & 0.0524913 & -0.1977 \tabularnewline
18 & 24.286 & 24.5992 & 24.575 & 0.0241997 & -0.3132 \tabularnewline
19 & 24.335 & 24.6589 & 24.6342 & 0.0246372 & -0.323887 \tabularnewline
20 & 24.273 & 24.4225 & 24.7112 & -0.288707 & -0.149502 \tabularnewline
21 & 24.556 & 24.3891 & 24.7549 & -0.36578 & 0.166905 \tabularnewline
22 & 24.841 & 24.4367 & 24.7878 & -0.351155 & 0.404321 \tabularnewline
23 & 25.464 & 25.0599 & 24.8478 & 0.212054 & 0.404113 \tabularnewline
24 & 25.514 & 25.3778 & 24.9431 & 0.434679 & 0.136238 \tabularnewline
25 & 25.531 & 25.3422 & 25.0458 & 0.296345 & 0.188821 \tabularnewline
26 & 25.042 & 25.1686 & 25.1233 & 0.0453038 & -0.126637 \tabularnewline
27 & 24.676 & 25.1172 & 25.1627 & -0.0455087 & -0.441158 \tabularnewline
28 & 24.809 & 25.1364 & 25.1749 & -0.0385608 & -0.327356 \tabularnewline
29 & 25.313 & 25.2274 & 25.1749 & 0.0524913 & 0.0856337 \tabularnewline
30 & 25.64 & 25.1824 & 25.1583 & 0.0241997 & 0.45755 \tabularnewline
31 & 25.447 & 25.1717 & 25.1471 & 0.0246372 & 0.27528 \tabularnewline
32 & 25.021 & 24.8778 & 25.1665 & -0.288707 & 0.143248 \tabularnewline
33 & 24.752 & 24.8597 & 25.2255 & -0.36578 & -0.107679 \tabularnewline
34 & 24.939 & 24.9583 & 25.3094 & -0.351155 & -0.0192622 \tabularnewline
35 & 25.365 & 25.5884 & 25.3764 & 0.212054 & -0.223429 \tabularnewline
36 & 25.214 & 25.84 & 25.4053 & 0.434679 & -0.62597 \tabularnewline
37 & 25.563 & 25.7273 & 25.431 & 0.296345 & -0.164304 \tabularnewline
38 & 25.475 & 25.5302 & 25.4849 & 0.0453038 & -0.0551788 \tabularnewline
39 & 25.659 & 25.5158 & 25.5613 & -0.0455087 & 0.143217 \tabularnewline
40 & 25.841 & 25.5961 & 25.6346 & -0.0385608 & 0.244936 \tabularnewline
41 & 25.888 & 25.7823 & 25.7298 & 0.0524913 & 0.105675 \tabularnewline
42 & 25.759 & 25.9152 & 25.891 & 0.0241997 & -0.156241 \tabularnewline
43 & 25.944 & 26.0919 & 26.0672 & 0.0246372 & -0.147887 \tabularnewline
44 & 25.818 & 25.9407 & 26.2294 & -0.288707 & -0.122668 \tabularnewline
45 & 25.789 & 26.018 & 26.3838 & -0.36578 & -0.22897 \tabularnewline
46 & 25.662 & 26.172 & 26.5231 & -0.351155 & -0.50997 \tabularnewline
47 & 26.927 & 26.8668 & 26.6547 & 0.212054 & 0.0602378 \tabularnewline
48 & 27.521 & 27.2244 & 26.7897 & 0.434679 & 0.296613 \tabularnewline
49 & 27.485 & 27.2196 & 26.9232 & 0.296345 & 0.265405 \tabularnewline
50 & 27.444 & 27.1149 & 27.0696 & 0.0453038 & 0.329113 \tabularnewline
51 & 27.395 & 27.1827 & 27.2282 & -0.0455087 & 0.212259 \tabularnewline
52 & 27.45 & 27.3454 & 27.3839 & -0.0385608 & 0.104644 \tabularnewline
53 & 27.437 & 27.5475 & 27.495 & 0.0524913 & -0.110491 \tabularnewline
54 & 27.45 & 27.555 & 27.5308 & 0.0241997 & -0.104991 \tabularnewline
55 & 27.458 & NA & NA & 0.0246372 & NA \tabularnewline
56 & 27.816 & NA & NA & -0.288707 & NA \tabularnewline
57 & 27.599 & NA & NA & -0.36578 & NA \tabularnewline
58 & 27.588 & NA & NA & -0.351155 & NA \tabularnewline
59 & 27.667 & NA & NA & 0.212054 & NA \tabularnewline
60 & 27.64 & NA & NA & 0.434679 & NA \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=284461&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]26.133[/C][C]NA[/C][C]NA[/C][C]0.296345[/C][C]NA[/C][/ROW]
[ROW][C]2[/C][C]25.979[/C][C]NA[/C][C]NA[/C][C]0.0453038[/C][C]NA[/C][/ROW]
[ROW][C]3[/C][C]25.541[/C][C]NA[/C][C]NA[/C][C]-0.0455087[/C][C]NA[/C][/ROW]
[ROW][C]4[/C][C]25.308[/C][C]NA[/C][C]NA[/C][C]-0.0385608[/C][C]NA[/C][/ROW]
[ROW][C]5[/C][C]25.663[/C][C]NA[/C][C]NA[/C][C]0.0524913[/C][C]NA[/C][/ROW]
[ROW][C]6[/C][C]25.78[/C][C]NA[/C][C]NA[/C][C]0.0241997[/C][C]NA[/C][/ROW]
[ROW][C]7[/C][C]25.328[/C][C]25.2484[/C][C]25.2237[/C][C]0.0246372[/C][C]0.0796128[/C][/ROW]
[ROW][C]8[/C][C]24.806[/C][C]24.794[/C][C]25.0827[/C][C]-0.288707[/C][C]0.0120399[/C][/ROW]
[ROW][C]9[/C][C]24.651[/C][C]24.5981[/C][C]24.9639[/C][C]-0.36578[/C][C]0.0528628[/C][/ROW]
[ROW][C]10[/C][C]24.531[/C][C]24.523[/C][C]24.8741[/C][C]-0.351155[/C][C]0.00802951[/C][/ROW]
[ROW][C]11[/C][C]24.633[/C][C]24.9908[/C][C]24.7787[/C][C]0.212054[/C][C]-0.357804[/C][/ROW]
[ROW][C]12[/C][C]25.174[/C][C]25.0978[/C][C]24.6631[/C][C]0.434679[/C][C]0.0762378[/C][/ROW]
[ROW][C]13[/C][C]24.449[/C][C]24.8558[/C][C]24.5595[/C][C]0.296345[/C][C]-0.406804[/C][/ROW]
[ROW][C]14[/C][C]24.277[/C][C]24.5412[/C][C]24.4959[/C][C]0.0453038[/C][C]-0.264179[/C][/ROW]
[ROW][C]15[/C][C]24.393[/C][C]24.4242[/C][C]24.4697[/C][C]-0.0455087[/C][C]-0.0311997[/C][/ROW]
[ROW][C]16[/C][C]24.301[/C][C]24.4401[/C][C]24.4787[/C][C]-0.0385608[/C][C]-0.139106[/C][/ROW]
[ROW][C]17[/C][C]24.381[/C][C]24.5787[/C][C]24.5262[/C][C]0.0524913[/C][C]-0.1977[/C][/ROW]
[ROW][C]18[/C][C]24.286[/C][C]24.5992[/C][C]24.575[/C][C]0.0241997[/C][C]-0.3132[/C][/ROW]
[ROW][C]19[/C][C]24.335[/C][C]24.6589[/C][C]24.6342[/C][C]0.0246372[/C][C]-0.323887[/C][/ROW]
[ROW][C]20[/C][C]24.273[/C][C]24.4225[/C][C]24.7112[/C][C]-0.288707[/C][C]-0.149502[/C][/ROW]
[ROW][C]21[/C][C]24.556[/C][C]24.3891[/C][C]24.7549[/C][C]-0.36578[/C][C]0.166905[/C][/ROW]
[ROW][C]22[/C][C]24.841[/C][C]24.4367[/C][C]24.7878[/C][C]-0.351155[/C][C]0.404321[/C][/ROW]
[ROW][C]23[/C][C]25.464[/C][C]25.0599[/C][C]24.8478[/C][C]0.212054[/C][C]0.404113[/C][/ROW]
[ROW][C]24[/C][C]25.514[/C][C]25.3778[/C][C]24.9431[/C][C]0.434679[/C][C]0.136238[/C][/ROW]
[ROW][C]25[/C][C]25.531[/C][C]25.3422[/C][C]25.0458[/C][C]0.296345[/C][C]0.188821[/C][/ROW]
[ROW][C]26[/C][C]25.042[/C][C]25.1686[/C][C]25.1233[/C][C]0.0453038[/C][C]-0.126637[/C][/ROW]
[ROW][C]27[/C][C]24.676[/C][C]25.1172[/C][C]25.1627[/C][C]-0.0455087[/C][C]-0.441158[/C][/ROW]
[ROW][C]28[/C][C]24.809[/C][C]25.1364[/C][C]25.1749[/C][C]-0.0385608[/C][C]-0.327356[/C][/ROW]
[ROW][C]29[/C][C]25.313[/C][C]25.2274[/C][C]25.1749[/C][C]0.0524913[/C][C]0.0856337[/C][/ROW]
[ROW][C]30[/C][C]25.64[/C][C]25.1824[/C][C]25.1583[/C][C]0.0241997[/C][C]0.45755[/C][/ROW]
[ROW][C]31[/C][C]25.447[/C][C]25.1717[/C][C]25.1471[/C][C]0.0246372[/C][C]0.27528[/C][/ROW]
[ROW][C]32[/C][C]25.021[/C][C]24.8778[/C][C]25.1665[/C][C]-0.288707[/C][C]0.143248[/C][/ROW]
[ROW][C]33[/C][C]24.752[/C][C]24.8597[/C][C]25.2255[/C][C]-0.36578[/C][C]-0.107679[/C][/ROW]
[ROW][C]34[/C][C]24.939[/C][C]24.9583[/C][C]25.3094[/C][C]-0.351155[/C][C]-0.0192622[/C][/ROW]
[ROW][C]35[/C][C]25.365[/C][C]25.5884[/C][C]25.3764[/C][C]0.212054[/C][C]-0.223429[/C][/ROW]
[ROW][C]36[/C][C]25.214[/C][C]25.84[/C][C]25.4053[/C][C]0.434679[/C][C]-0.62597[/C][/ROW]
[ROW][C]37[/C][C]25.563[/C][C]25.7273[/C][C]25.431[/C][C]0.296345[/C][C]-0.164304[/C][/ROW]
[ROW][C]38[/C][C]25.475[/C][C]25.5302[/C][C]25.4849[/C][C]0.0453038[/C][C]-0.0551788[/C][/ROW]
[ROW][C]39[/C][C]25.659[/C][C]25.5158[/C][C]25.5613[/C][C]-0.0455087[/C][C]0.143217[/C][/ROW]
[ROW][C]40[/C][C]25.841[/C][C]25.5961[/C][C]25.6346[/C][C]-0.0385608[/C][C]0.244936[/C][/ROW]
[ROW][C]41[/C][C]25.888[/C][C]25.7823[/C][C]25.7298[/C][C]0.0524913[/C][C]0.105675[/C][/ROW]
[ROW][C]42[/C][C]25.759[/C][C]25.9152[/C][C]25.891[/C][C]0.0241997[/C][C]-0.156241[/C][/ROW]
[ROW][C]43[/C][C]25.944[/C][C]26.0919[/C][C]26.0672[/C][C]0.0246372[/C][C]-0.147887[/C][/ROW]
[ROW][C]44[/C][C]25.818[/C][C]25.9407[/C][C]26.2294[/C][C]-0.288707[/C][C]-0.122668[/C][/ROW]
[ROW][C]45[/C][C]25.789[/C][C]26.018[/C][C]26.3838[/C][C]-0.36578[/C][C]-0.22897[/C][/ROW]
[ROW][C]46[/C][C]25.662[/C][C]26.172[/C][C]26.5231[/C][C]-0.351155[/C][C]-0.50997[/C][/ROW]
[ROW][C]47[/C][C]26.927[/C][C]26.8668[/C][C]26.6547[/C][C]0.212054[/C][C]0.0602378[/C][/ROW]
[ROW][C]48[/C][C]27.521[/C][C]27.2244[/C][C]26.7897[/C][C]0.434679[/C][C]0.296613[/C][/ROW]
[ROW][C]49[/C][C]27.485[/C][C]27.2196[/C][C]26.9232[/C][C]0.296345[/C][C]0.265405[/C][/ROW]
[ROW][C]50[/C][C]27.444[/C][C]27.1149[/C][C]27.0696[/C][C]0.0453038[/C][C]0.329113[/C][/ROW]
[ROW][C]51[/C][C]27.395[/C][C]27.1827[/C][C]27.2282[/C][C]-0.0455087[/C][C]0.212259[/C][/ROW]
[ROW][C]52[/C][C]27.45[/C][C]27.3454[/C][C]27.3839[/C][C]-0.0385608[/C][C]0.104644[/C][/ROW]
[ROW][C]53[/C][C]27.437[/C][C]27.5475[/C][C]27.495[/C][C]0.0524913[/C][C]-0.110491[/C][/ROW]
[ROW][C]54[/C][C]27.45[/C][C]27.555[/C][C]27.5308[/C][C]0.0241997[/C][C]-0.104991[/C][/ROW]
[ROW][C]55[/C][C]27.458[/C][C]NA[/C][C]NA[/C][C]0.0246372[/C][C]NA[/C][/ROW]
[ROW][C]56[/C][C]27.816[/C][C]NA[/C][C]NA[/C][C]-0.288707[/C][C]NA[/C][/ROW]
[ROW][C]57[/C][C]27.599[/C][C]NA[/C][C]NA[/C][C]-0.36578[/C][C]NA[/C][/ROW]
[ROW][C]58[/C][C]27.588[/C][C]NA[/C][C]NA[/C][C]-0.351155[/C][C]NA[/C][/ROW]
[ROW][C]59[/C][C]27.667[/C][C]NA[/C][C]NA[/C][C]0.212054[/C][C]NA[/C][/ROW]
[ROW][C]60[/C][C]27.64[/C][C]NA[/C][C]NA[/C][C]0.434679[/C][C]NA[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=284461&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=284461&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
126.133NANA0.296345NA
225.979NANA0.0453038NA
325.541NANA-0.0455087NA
425.308NANA-0.0385608NA
525.663NANA0.0524913NA
625.78NANA0.0241997NA
725.32825.248425.22370.02463720.0796128
824.80624.79425.0827-0.2887070.0120399
924.65124.598124.9639-0.365780.0528628
1024.53124.52324.8741-0.3511550.00802951
1124.63324.990824.77870.212054-0.357804
1225.17425.097824.66310.4346790.0762378
1324.44924.855824.55950.296345-0.406804
1424.27724.541224.49590.0453038-0.264179
1524.39324.424224.4697-0.0455087-0.0311997
1624.30124.440124.4787-0.0385608-0.139106
1724.38124.578724.52620.0524913-0.1977
1824.28624.599224.5750.0241997-0.3132
1924.33524.658924.63420.0246372-0.323887
2024.27324.422524.7112-0.288707-0.149502
2124.55624.389124.7549-0.365780.166905
2224.84124.436724.7878-0.3511550.404321
2325.46425.059924.84780.2120540.404113
2425.51425.377824.94310.4346790.136238
2525.53125.342225.04580.2963450.188821
2625.04225.168625.12330.0453038-0.126637
2724.67625.117225.1627-0.0455087-0.441158
2824.80925.136425.1749-0.0385608-0.327356
2925.31325.227425.17490.05249130.0856337
3025.6425.182425.15830.02419970.45755
3125.44725.171725.14710.02463720.27528
3225.02124.877825.1665-0.2887070.143248
3324.75224.859725.2255-0.36578-0.107679
3424.93924.958325.3094-0.351155-0.0192622
3525.36525.588425.37640.212054-0.223429
3625.21425.8425.40530.434679-0.62597
3725.56325.727325.4310.296345-0.164304
3825.47525.530225.48490.0453038-0.0551788
3925.65925.515825.5613-0.04550870.143217
4025.84125.596125.6346-0.03856080.244936
4125.88825.782325.72980.05249130.105675
4225.75925.915225.8910.0241997-0.156241
4325.94426.091926.06720.0246372-0.147887
4425.81825.940726.2294-0.288707-0.122668
4525.78926.01826.3838-0.36578-0.22897
4625.66226.17226.5231-0.351155-0.50997
4726.92726.866826.65470.2120540.0602378
4827.52127.224426.78970.4346790.296613
4927.48527.219626.92320.2963450.265405
5027.44427.114927.06960.04530380.329113
5127.39527.182727.2282-0.04550870.212259
5227.4527.345427.3839-0.03856080.104644
5327.43727.547527.4950.0524913-0.110491
5427.4527.55527.53080.0241997-0.104991
5527.458NANA0.0246372NA
5627.816NANA-0.288707NA
5727.599NANA-0.36578NA
5827.588NANA-0.351155NA
5927.667NANA0.212054NA
6027.64NANA0.434679NA



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