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 computationSun, 18 Dec 2011 11:35:43 -0500
Cite this page as followsStatistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?v=date/2011/Dec/18/t1324226275s69mm97ev1wk4gr.htm/, Retrieved Sun, 05 May 2024 14:31:01 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=157060, Retrieved Sun, 05 May 2024 14:31:01 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact78
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-       [Classical Decomposition] [paper] [2011-12-18 16:35:43] [6e647d331a8f33aa61a2d78ef323178e] [Current]
Feedback Forum

Post a new message
Dataseries X:
589
559
623
617
603
558
609
583
570
543
598
569
552
514
569
529
515
481
536
498
446
503
470
458
437
502
482
474
457
522
513
515
506
576
556
559
541
606
600
588
570
626
601
588
573
622
570
547
512
554
517
506
479
527
508
532
532
588
566
573
545
597
555
548
524
572




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

\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
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=157060&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]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=157060&T=0

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=157060&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







Classical Decomposition by Moving Averages
tObservationsFitTrendSeasonalRandom
1589NANA-20.3083333333333NA
2559NANA12.9NA
3623608.283333333333598.759.5333333333333314.7166666666667
4617598.25600.375-2.12518.75
5603578.191666666667598.5-20.308333333333324.8083333333333
6558605.4592.512.9-47.4
7609593.658333333333584.1259.5333333333333315.3416666666667
8583576578.125-2.1257
9570554.566666666667574.875-20.308333333333315.4333333333333
10543584.65571.7512.9-41.65
11598577.283333333333567.759.5333333333333320.7166666666667
12569559.75561.875-2.1259.25
13552534.316666666667554.625-20.308333333333317.6833333333333
14514558.954612.9-44.9
15569545.908333333333536.3759.5333333333333323.0916666666667
16529525.5527.625-2.1253.5
17515499.066666666667519.375-20.308333333333315.9333333333333
18481524.275511.37512.9-43.275
19536508.408333333333498.8759.5333333333333327.5916666666667
20498490.875493-2.1257.125
21446467.191666666667487.5-20.3083333333333-21.1916666666667
22503487.15474.2512.915.85
23470477.658333333333468.1259.53333333333333-7.65833333333336
24458464.75466.875-2.125-6.75
25437447.941666666667468.25-20.3083333333333-10.9416666666667
26502484.65471.7512.917.35
27482485.783333333333476.259.53333333333333-3.78333333333336
28474479.125481.25-2.125-5.125
29457467.316666666667487.625-20.3083333333333-10.3166666666667
30522509.525496.62512.912.475
31513517.408333333333507.8759.53333333333333-4.40833333333336
32515518.625520.75-2.125-3.625
33506512.566666666667532.875-20.3083333333333-6.56666666666672
34576556.65543.7512.919.35
35556563.158333333333553.6259.53333333333333-7.1583333333333
36559559.625561.75-2.125-0.625
37541550.691666666667571-20.3083333333333-9.69166666666672
38606593.025580.12512.912.975
39600596.908333333333587.3759.533333333333333.0916666666667
40588591.375593.5-2.125-3.375
41570575.816666666667596.125-20.3083333333333-5.81666666666672
42626609.15596.2512.916.85
43601606.158333333333596.6259.53333333333333-5.1583333333333
44588594.375596.5-2.125-6.375
45573571.816666666667592.125-20.30833333333331.18333333333328
46622596.025583.12512.925.975
47570579.908333333333570.3759.53333333333333-9.9083333333333
48547552.125554.25-2.125-5.125
49512518.816666666667539.125-20.3083333333333-6.81666666666672
50554540.275527.37512.913.725
51517527.658333333333518.1259.53333333333333-10.6583333333334
52506508.5510.625-2.125-2.5
53479485.816666666667506.125-20.3083333333333-6.81666666666666
54527521.15508.2512.95.85000000000002
55508527.658333333333518.1259.53333333333333-19.6583333333334
56532530.25532.375-2.1251.75
57532526.941666666667547.25-20.30833333333335.05833333333328
58588572.525559.62512.915.475
59566575.908333333333566.3759.53333333333333-9.9083333333333
60573567569.125-2.1256
61545548.566666666667568.875-20.3083333333333-3.56666666666672
62597577.275564.37512.919.725
63555568.158333333333558.6259.53333333333333-13.1583333333333
64548550.75552.875-2.125-2.75
65524NANANANA
66572NANANANA

\begin{tabular}{lllllllll}
\hline
Classical Decomposition by Moving Averages \tabularnewline
t & Observations & Fit & Trend & Seasonal & Random \tabularnewline
1 & 589 & NA & NA & -20.3083333333333 & NA \tabularnewline
2 & 559 & NA & NA & 12.9 & NA \tabularnewline
3 & 623 & 608.283333333333 & 598.75 & 9.53333333333333 & 14.7166666666667 \tabularnewline
4 & 617 & 598.25 & 600.375 & -2.125 & 18.75 \tabularnewline
5 & 603 & 578.191666666667 & 598.5 & -20.3083333333333 & 24.8083333333333 \tabularnewline
6 & 558 & 605.4 & 592.5 & 12.9 & -47.4 \tabularnewline
7 & 609 & 593.658333333333 & 584.125 & 9.53333333333333 & 15.3416666666667 \tabularnewline
8 & 583 & 576 & 578.125 & -2.125 & 7 \tabularnewline
9 & 570 & 554.566666666667 & 574.875 & -20.3083333333333 & 15.4333333333333 \tabularnewline
10 & 543 & 584.65 & 571.75 & 12.9 & -41.65 \tabularnewline
11 & 598 & 577.283333333333 & 567.75 & 9.53333333333333 & 20.7166666666667 \tabularnewline
12 & 569 & 559.75 & 561.875 & -2.125 & 9.25 \tabularnewline
13 & 552 & 534.316666666667 & 554.625 & -20.3083333333333 & 17.6833333333333 \tabularnewline
14 & 514 & 558.9 & 546 & 12.9 & -44.9 \tabularnewline
15 & 569 & 545.908333333333 & 536.375 & 9.53333333333333 & 23.0916666666667 \tabularnewline
16 & 529 & 525.5 & 527.625 & -2.125 & 3.5 \tabularnewline
17 & 515 & 499.066666666667 & 519.375 & -20.3083333333333 & 15.9333333333333 \tabularnewline
18 & 481 & 524.275 & 511.375 & 12.9 & -43.275 \tabularnewline
19 & 536 & 508.408333333333 & 498.875 & 9.53333333333333 & 27.5916666666667 \tabularnewline
20 & 498 & 490.875 & 493 & -2.125 & 7.125 \tabularnewline
21 & 446 & 467.191666666667 & 487.5 & -20.3083333333333 & -21.1916666666667 \tabularnewline
22 & 503 & 487.15 & 474.25 & 12.9 & 15.85 \tabularnewline
23 & 470 & 477.658333333333 & 468.125 & 9.53333333333333 & -7.65833333333336 \tabularnewline
24 & 458 & 464.75 & 466.875 & -2.125 & -6.75 \tabularnewline
25 & 437 & 447.941666666667 & 468.25 & -20.3083333333333 & -10.9416666666667 \tabularnewline
26 & 502 & 484.65 & 471.75 & 12.9 & 17.35 \tabularnewline
27 & 482 & 485.783333333333 & 476.25 & 9.53333333333333 & -3.78333333333336 \tabularnewline
28 & 474 & 479.125 & 481.25 & -2.125 & -5.125 \tabularnewline
29 & 457 & 467.316666666667 & 487.625 & -20.3083333333333 & -10.3166666666667 \tabularnewline
30 & 522 & 509.525 & 496.625 & 12.9 & 12.475 \tabularnewline
31 & 513 & 517.408333333333 & 507.875 & 9.53333333333333 & -4.40833333333336 \tabularnewline
32 & 515 & 518.625 & 520.75 & -2.125 & -3.625 \tabularnewline
33 & 506 & 512.566666666667 & 532.875 & -20.3083333333333 & -6.56666666666672 \tabularnewline
34 & 576 & 556.65 & 543.75 & 12.9 & 19.35 \tabularnewline
35 & 556 & 563.158333333333 & 553.625 & 9.53333333333333 & -7.1583333333333 \tabularnewline
36 & 559 & 559.625 & 561.75 & -2.125 & -0.625 \tabularnewline
37 & 541 & 550.691666666667 & 571 & -20.3083333333333 & -9.69166666666672 \tabularnewline
38 & 606 & 593.025 & 580.125 & 12.9 & 12.975 \tabularnewline
39 & 600 & 596.908333333333 & 587.375 & 9.53333333333333 & 3.0916666666667 \tabularnewline
40 & 588 & 591.375 & 593.5 & -2.125 & -3.375 \tabularnewline
41 & 570 & 575.816666666667 & 596.125 & -20.3083333333333 & -5.81666666666672 \tabularnewline
42 & 626 & 609.15 & 596.25 & 12.9 & 16.85 \tabularnewline
43 & 601 & 606.158333333333 & 596.625 & 9.53333333333333 & -5.1583333333333 \tabularnewline
44 & 588 & 594.375 & 596.5 & -2.125 & -6.375 \tabularnewline
45 & 573 & 571.816666666667 & 592.125 & -20.3083333333333 & 1.18333333333328 \tabularnewline
46 & 622 & 596.025 & 583.125 & 12.9 & 25.975 \tabularnewline
47 & 570 & 579.908333333333 & 570.375 & 9.53333333333333 & -9.9083333333333 \tabularnewline
48 & 547 & 552.125 & 554.25 & -2.125 & -5.125 \tabularnewline
49 & 512 & 518.816666666667 & 539.125 & -20.3083333333333 & -6.81666666666672 \tabularnewline
50 & 554 & 540.275 & 527.375 & 12.9 & 13.725 \tabularnewline
51 & 517 & 527.658333333333 & 518.125 & 9.53333333333333 & -10.6583333333334 \tabularnewline
52 & 506 & 508.5 & 510.625 & -2.125 & -2.5 \tabularnewline
53 & 479 & 485.816666666667 & 506.125 & -20.3083333333333 & -6.81666666666666 \tabularnewline
54 & 527 & 521.15 & 508.25 & 12.9 & 5.85000000000002 \tabularnewline
55 & 508 & 527.658333333333 & 518.125 & 9.53333333333333 & -19.6583333333334 \tabularnewline
56 & 532 & 530.25 & 532.375 & -2.125 & 1.75 \tabularnewline
57 & 532 & 526.941666666667 & 547.25 & -20.3083333333333 & 5.05833333333328 \tabularnewline
58 & 588 & 572.525 & 559.625 & 12.9 & 15.475 \tabularnewline
59 & 566 & 575.908333333333 & 566.375 & 9.53333333333333 & -9.9083333333333 \tabularnewline
60 & 573 & 567 & 569.125 & -2.125 & 6 \tabularnewline
61 & 545 & 548.566666666667 & 568.875 & -20.3083333333333 & -3.56666666666672 \tabularnewline
62 & 597 & 577.275 & 564.375 & 12.9 & 19.725 \tabularnewline
63 & 555 & 568.158333333333 & 558.625 & 9.53333333333333 & -13.1583333333333 \tabularnewline
64 & 548 & 550.75 & 552.875 & -2.125 & -2.75 \tabularnewline
65 & 524 & NA & NA & NA & NA \tabularnewline
66 & 572 & NA & NA & NA & NA \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=157060&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]589[/C][C]NA[/C][C]NA[/C][C]-20.3083333333333[/C][C]NA[/C][/ROW]
[ROW][C]2[/C][C]559[/C][C]NA[/C][C]NA[/C][C]12.9[/C][C]NA[/C][/ROW]
[ROW][C]3[/C][C]623[/C][C]608.283333333333[/C][C]598.75[/C][C]9.53333333333333[/C][C]14.7166666666667[/C][/ROW]
[ROW][C]4[/C][C]617[/C][C]598.25[/C][C]600.375[/C][C]-2.125[/C][C]18.75[/C][/ROW]
[ROW][C]5[/C][C]603[/C][C]578.191666666667[/C][C]598.5[/C][C]-20.3083333333333[/C][C]24.8083333333333[/C][/ROW]
[ROW][C]6[/C][C]558[/C][C]605.4[/C][C]592.5[/C][C]12.9[/C][C]-47.4[/C][/ROW]
[ROW][C]7[/C][C]609[/C][C]593.658333333333[/C][C]584.125[/C][C]9.53333333333333[/C][C]15.3416666666667[/C][/ROW]
[ROW][C]8[/C][C]583[/C][C]576[/C][C]578.125[/C][C]-2.125[/C][C]7[/C][/ROW]
[ROW][C]9[/C][C]570[/C][C]554.566666666667[/C][C]574.875[/C][C]-20.3083333333333[/C][C]15.4333333333333[/C][/ROW]
[ROW][C]10[/C][C]543[/C][C]584.65[/C][C]571.75[/C][C]12.9[/C][C]-41.65[/C][/ROW]
[ROW][C]11[/C][C]598[/C][C]577.283333333333[/C][C]567.75[/C][C]9.53333333333333[/C][C]20.7166666666667[/C][/ROW]
[ROW][C]12[/C][C]569[/C][C]559.75[/C][C]561.875[/C][C]-2.125[/C][C]9.25[/C][/ROW]
[ROW][C]13[/C][C]552[/C][C]534.316666666667[/C][C]554.625[/C][C]-20.3083333333333[/C][C]17.6833333333333[/C][/ROW]
[ROW][C]14[/C][C]514[/C][C]558.9[/C][C]546[/C][C]12.9[/C][C]-44.9[/C][/ROW]
[ROW][C]15[/C][C]569[/C][C]545.908333333333[/C][C]536.375[/C][C]9.53333333333333[/C][C]23.0916666666667[/C][/ROW]
[ROW][C]16[/C][C]529[/C][C]525.5[/C][C]527.625[/C][C]-2.125[/C][C]3.5[/C][/ROW]
[ROW][C]17[/C][C]515[/C][C]499.066666666667[/C][C]519.375[/C][C]-20.3083333333333[/C][C]15.9333333333333[/C][/ROW]
[ROW][C]18[/C][C]481[/C][C]524.275[/C][C]511.375[/C][C]12.9[/C][C]-43.275[/C][/ROW]
[ROW][C]19[/C][C]536[/C][C]508.408333333333[/C][C]498.875[/C][C]9.53333333333333[/C][C]27.5916666666667[/C][/ROW]
[ROW][C]20[/C][C]498[/C][C]490.875[/C][C]493[/C][C]-2.125[/C][C]7.125[/C][/ROW]
[ROW][C]21[/C][C]446[/C][C]467.191666666667[/C][C]487.5[/C][C]-20.3083333333333[/C][C]-21.1916666666667[/C][/ROW]
[ROW][C]22[/C][C]503[/C][C]487.15[/C][C]474.25[/C][C]12.9[/C][C]15.85[/C][/ROW]
[ROW][C]23[/C][C]470[/C][C]477.658333333333[/C][C]468.125[/C][C]9.53333333333333[/C][C]-7.65833333333336[/C][/ROW]
[ROW][C]24[/C][C]458[/C][C]464.75[/C][C]466.875[/C][C]-2.125[/C][C]-6.75[/C][/ROW]
[ROW][C]25[/C][C]437[/C][C]447.941666666667[/C][C]468.25[/C][C]-20.3083333333333[/C][C]-10.9416666666667[/C][/ROW]
[ROW][C]26[/C][C]502[/C][C]484.65[/C][C]471.75[/C][C]12.9[/C][C]17.35[/C][/ROW]
[ROW][C]27[/C][C]482[/C][C]485.783333333333[/C][C]476.25[/C][C]9.53333333333333[/C][C]-3.78333333333336[/C][/ROW]
[ROW][C]28[/C][C]474[/C][C]479.125[/C][C]481.25[/C][C]-2.125[/C][C]-5.125[/C][/ROW]
[ROW][C]29[/C][C]457[/C][C]467.316666666667[/C][C]487.625[/C][C]-20.3083333333333[/C][C]-10.3166666666667[/C][/ROW]
[ROW][C]30[/C][C]522[/C][C]509.525[/C][C]496.625[/C][C]12.9[/C][C]12.475[/C][/ROW]
[ROW][C]31[/C][C]513[/C][C]517.408333333333[/C][C]507.875[/C][C]9.53333333333333[/C][C]-4.40833333333336[/C][/ROW]
[ROW][C]32[/C][C]515[/C][C]518.625[/C][C]520.75[/C][C]-2.125[/C][C]-3.625[/C][/ROW]
[ROW][C]33[/C][C]506[/C][C]512.566666666667[/C][C]532.875[/C][C]-20.3083333333333[/C][C]-6.56666666666672[/C][/ROW]
[ROW][C]34[/C][C]576[/C][C]556.65[/C][C]543.75[/C][C]12.9[/C][C]19.35[/C][/ROW]
[ROW][C]35[/C][C]556[/C][C]563.158333333333[/C][C]553.625[/C][C]9.53333333333333[/C][C]-7.1583333333333[/C][/ROW]
[ROW][C]36[/C][C]559[/C][C]559.625[/C][C]561.75[/C][C]-2.125[/C][C]-0.625[/C][/ROW]
[ROW][C]37[/C][C]541[/C][C]550.691666666667[/C][C]571[/C][C]-20.3083333333333[/C][C]-9.69166666666672[/C][/ROW]
[ROW][C]38[/C][C]606[/C][C]593.025[/C][C]580.125[/C][C]12.9[/C][C]12.975[/C][/ROW]
[ROW][C]39[/C][C]600[/C][C]596.908333333333[/C][C]587.375[/C][C]9.53333333333333[/C][C]3.0916666666667[/C][/ROW]
[ROW][C]40[/C][C]588[/C][C]591.375[/C][C]593.5[/C][C]-2.125[/C][C]-3.375[/C][/ROW]
[ROW][C]41[/C][C]570[/C][C]575.816666666667[/C][C]596.125[/C][C]-20.3083333333333[/C][C]-5.81666666666672[/C][/ROW]
[ROW][C]42[/C][C]626[/C][C]609.15[/C][C]596.25[/C][C]12.9[/C][C]16.85[/C][/ROW]
[ROW][C]43[/C][C]601[/C][C]606.158333333333[/C][C]596.625[/C][C]9.53333333333333[/C][C]-5.1583333333333[/C][/ROW]
[ROW][C]44[/C][C]588[/C][C]594.375[/C][C]596.5[/C][C]-2.125[/C][C]-6.375[/C][/ROW]
[ROW][C]45[/C][C]573[/C][C]571.816666666667[/C][C]592.125[/C][C]-20.3083333333333[/C][C]1.18333333333328[/C][/ROW]
[ROW][C]46[/C][C]622[/C][C]596.025[/C][C]583.125[/C][C]12.9[/C][C]25.975[/C][/ROW]
[ROW][C]47[/C][C]570[/C][C]579.908333333333[/C][C]570.375[/C][C]9.53333333333333[/C][C]-9.9083333333333[/C][/ROW]
[ROW][C]48[/C][C]547[/C][C]552.125[/C][C]554.25[/C][C]-2.125[/C][C]-5.125[/C][/ROW]
[ROW][C]49[/C][C]512[/C][C]518.816666666667[/C][C]539.125[/C][C]-20.3083333333333[/C][C]-6.81666666666672[/C][/ROW]
[ROW][C]50[/C][C]554[/C][C]540.275[/C][C]527.375[/C][C]12.9[/C][C]13.725[/C][/ROW]
[ROW][C]51[/C][C]517[/C][C]527.658333333333[/C][C]518.125[/C][C]9.53333333333333[/C][C]-10.6583333333334[/C][/ROW]
[ROW][C]52[/C][C]506[/C][C]508.5[/C][C]510.625[/C][C]-2.125[/C][C]-2.5[/C][/ROW]
[ROW][C]53[/C][C]479[/C][C]485.816666666667[/C][C]506.125[/C][C]-20.3083333333333[/C][C]-6.81666666666666[/C][/ROW]
[ROW][C]54[/C][C]527[/C][C]521.15[/C][C]508.25[/C][C]12.9[/C][C]5.85000000000002[/C][/ROW]
[ROW][C]55[/C][C]508[/C][C]527.658333333333[/C][C]518.125[/C][C]9.53333333333333[/C][C]-19.6583333333334[/C][/ROW]
[ROW][C]56[/C][C]532[/C][C]530.25[/C][C]532.375[/C][C]-2.125[/C][C]1.75[/C][/ROW]
[ROW][C]57[/C][C]532[/C][C]526.941666666667[/C][C]547.25[/C][C]-20.3083333333333[/C][C]5.05833333333328[/C][/ROW]
[ROW][C]58[/C][C]588[/C][C]572.525[/C][C]559.625[/C][C]12.9[/C][C]15.475[/C][/ROW]
[ROW][C]59[/C][C]566[/C][C]575.908333333333[/C][C]566.375[/C][C]9.53333333333333[/C][C]-9.9083333333333[/C][/ROW]
[ROW][C]60[/C][C]573[/C][C]567[/C][C]569.125[/C][C]-2.125[/C][C]6[/C][/ROW]
[ROW][C]61[/C][C]545[/C][C]548.566666666667[/C][C]568.875[/C][C]-20.3083333333333[/C][C]-3.56666666666672[/C][/ROW]
[ROW][C]62[/C][C]597[/C][C]577.275[/C][C]564.375[/C][C]12.9[/C][C]19.725[/C][/ROW]
[ROW][C]63[/C][C]555[/C][C]568.158333333333[/C][C]558.625[/C][C]9.53333333333333[/C][C]-13.1583333333333[/C][/ROW]
[ROW][C]64[/C][C]548[/C][C]550.75[/C][C]552.875[/C][C]-2.125[/C][C]-2.75[/C][/ROW]
[ROW][C]65[/C][C]524[/C][C]NA[/C][C]NA[/C][C]NA[/C][C]NA[/C][/ROW]
[ROW][C]66[/C][C]572[/C][C]NA[/C][C]NA[/C][C]NA[/C][C]NA[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=157060&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=157060&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
1589NANA-20.3083333333333NA
2559NANA12.9NA
3623608.283333333333598.759.5333333333333314.7166666666667
4617598.25600.375-2.12518.75
5603578.191666666667598.5-20.308333333333324.8083333333333
6558605.4592.512.9-47.4
7609593.658333333333584.1259.5333333333333315.3416666666667
8583576578.125-2.1257
9570554.566666666667574.875-20.308333333333315.4333333333333
10543584.65571.7512.9-41.65
11598577.283333333333567.759.5333333333333320.7166666666667
12569559.75561.875-2.1259.25
13552534.316666666667554.625-20.308333333333317.6833333333333
14514558.954612.9-44.9
15569545.908333333333536.3759.5333333333333323.0916666666667
16529525.5527.625-2.1253.5
17515499.066666666667519.375-20.308333333333315.9333333333333
18481524.275511.37512.9-43.275
19536508.408333333333498.8759.5333333333333327.5916666666667
20498490.875493-2.1257.125
21446467.191666666667487.5-20.3083333333333-21.1916666666667
22503487.15474.2512.915.85
23470477.658333333333468.1259.53333333333333-7.65833333333336
24458464.75466.875-2.125-6.75
25437447.941666666667468.25-20.3083333333333-10.9416666666667
26502484.65471.7512.917.35
27482485.783333333333476.259.53333333333333-3.78333333333336
28474479.125481.25-2.125-5.125
29457467.316666666667487.625-20.3083333333333-10.3166666666667
30522509.525496.62512.912.475
31513517.408333333333507.8759.53333333333333-4.40833333333336
32515518.625520.75-2.125-3.625
33506512.566666666667532.875-20.3083333333333-6.56666666666672
34576556.65543.7512.919.35
35556563.158333333333553.6259.53333333333333-7.1583333333333
36559559.625561.75-2.125-0.625
37541550.691666666667571-20.3083333333333-9.69166666666672
38606593.025580.12512.912.975
39600596.908333333333587.3759.533333333333333.0916666666667
40588591.375593.5-2.125-3.375
41570575.816666666667596.125-20.3083333333333-5.81666666666672
42626609.15596.2512.916.85
43601606.158333333333596.6259.53333333333333-5.1583333333333
44588594.375596.5-2.125-6.375
45573571.816666666667592.125-20.30833333333331.18333333333328
46622596.025583.12512.925.975
47570579.908333333333570.3759.53333333333333-9.9083333333333
48547552.125554.25-2.125-5.125
49512518.816666666667539.125-20.3083333333333-6.81666666666672
50554540.275527.37512.913.725
51517527.658333333333518.1259.53333333333333-10.6583333333334
52506508.5510.625-2.125-2.5
53479485.816666666667506.125-20.3083333333333-6.81666666666666
54527521.15508.2512.95.85000000000002
55508527.658333333333518.1259.53333333333333-19.6583333333334
56532530.25532.375-2.1251.75
57532526.941666666667547.25-20.30833333333335.05833333333328
58588572.525559.62512.915.475
59566575.908333333333566.3759.53333333333333-9.9083333333333
60573567569.125-2.1256
61545548.566666666667568.875-20.3083333333333-3.56666666666672
62597577.275564.37512.919.725
63555568.158333333333558.6259.53333333333333-13.1583333333333
64548550.75552.875-2.125-2.75
65524NANANANA
66572NANANANA



Parameters (Session):
par1 = additive ; par2 = 4 ;
Parameters (R input):
par1 = additive ; par2 = 4 ;
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')