Free Statistics

of Irreproducible Research!

Author's title

Author*Unverified author*
R Software Modulerwasp_decompose.wasp
Title produced by softwareClassical Decomposition
Date of computationThu, 16 Aug 2012 15:37:59 -0400
Cite this page as followsStatistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?v=date/2012/Aug/16/t1345145955w8c867qpy2uvtbe.htm/, Retrieved Fri, 03 May 2024 14:25:27 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=169422, Retrieved Fri, 03 May 2024 14:25:27 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywordsKenneth Pijpen
Estimated Impact94
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-       [Classical Decomposition] [Tijdreeks 2] [2012-08-16 19:37:59] [bc260e3c602952c552b9bde15a0b19a6] [Current]
Feedback Forum

Post a new message
Dataseries X:
540
520
550
440
570
560
600
620
690
600
570
710
600
450
530
400
560
460
610
550
580
650
640
760
550
460
510
370
530
410
580
550
490
700
630
720
540
500
450
370
490
440
600
580
500
670
620
800
640
390
390
390
460
460
620
570
510
640
590
850
670
390
410
340
470
540
680
670
540
630
560
800
610
490
440
330
490
590
690
650
480
690
540
830
690
500
460
310
490
470
710
710
540
700
520
810
690
510
390
270
530
510
670
770
570
640
480
830




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

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







Classical Decomposition by Moving Averages
tObservationsFitTrendSeasonalRandom
1540NANA67.9817708333333NA
2520NANA-95.6640625NA
3550NANA-109.5703125NA
4440NANA-209.153645833333NA
5570NANA-53.8932291666667NA
6560NANA-71.5494791666667NA
7600660.481770833333583.33333333333377.1484375-60.4817708333334
8620635.5859375582.91666666666752.6692708333333-15.5859375
9690561.471354166667579.166666666667-17.6953125128.528645833333
10600679.440104166667576.666666666667102.7734375-79.4401041666666
11570602.200520833333574.58333333333327.6171875-32.2005208333333
12710799.3359375570229.3359375-89.3359375
13600634.231770833333566.2567.9817708333333-34.2317708333333
14450468.0859375563.75-95.6640625-18.0859375
15530446.6796875556.25-109.570312583.3203125
16400344.596354166667553.75-209.15364583333355.4036458333333
17560504.856770833333558.75-53.893229166666755.1432291666666
18460492.200520833333563.75-71.5494791666667-32.2005208333334
19610640.8984375563.7577.1484375-30.8984375
20550614.752604166667562.08333333333352.6692708333333-64.7526041666666
21580543.971354166667561.666666666667-17.695312536.0286458333334
22650662.356770833333559.583333333333102.7734375-12.3567708333333
23640584.700520833333557.08333333333327.617187555.2994791666666
24760783.0859375553.75229.3359375-23.0859374999999
25550618.3984375550.41666666666767.9817708333333-68.3984374999999
26460453.502604166667549.166666666667-95.66406256.49739583333337
27510435.846354166667545.416666666667-109.570312574.1536458333335
28370334.596354166667543.75-209.15364583333335.4036458333333
29530491.5234375545.416666666667-53.893229166666738.4765625
30410471.783854166667543.333333333333-71.5494791666667-61.7838541666667
31580618.3984375541.2577.1484375-38.3984375
32550595.169270833333542.552.6692708333333-45.1692708333333
33490523.971354166667541.666666666667-17.6953125-33.9713541666666
34700641.940104166667539.166666666667102.773437558.0598958333335
35630565.1171875537.527.617187564.8828125000001
36720766.419270833333537.083333333333229.3359375-46.4192708333333
37540607.1484375539.16666666666767.9817708333333-67.1484374999999
38500445.5859375541.25-95.664062554.4140625
39450433.346354166667542.916666666667-109.570312516.6536458333334
40370332.9296875542.083333333333-209.15364583333337.0703125
41490486.5234375540.416666666667-53.89322916666673.4765625
42440471.783854166667543.333333333333-71.5494791666667-31.7838541666666
43600627.981770833333550.83333333333377.1484375-27.9817708333333
44580603.0859375550.41666666666752.6692708333333-23.0859375
45500525.638020833333543.333333333333-17.6953125-25.6380208333334
46670644.440104166667541.666666666667102.773437525.5598958333334
47620568.8671875541.2527.617187551.1328125000001
48800770.169270833333540.833333333333229.335937529.8307291666666
49640610.481770833333542.567.981770833333329.5182291666667
50390447.252604166667542.916666666667-95.6640625-57.2526041666666
51390433.346354166667542.916666666667-109.5703125-43.3463541666667
52390332.9296875542.083333333333-209.15364583333357.0703125
53460485.690104166667539.583333333333-53.8932291666667-25.6901041666666
54460468.8671875540.416666666667-71.5494791666667-8.8671875
55620620.8984375543.7577.1484375-0.898437499999886
56570597.66927083333354552.6692708333333-27.6692708333333
57510528.138020833333545.833333333333-17.6953125-18.1380208333333
58640647.356770833333544.583333333333102.7734375-7.35677083333337
59590570.533854166667542.91666666666727.617187519.4661458333334
60850776.002604166667546.666666666667229.335937573.9973958333334
61670620.481770833333552.567.981770833333349.5182291666667
62390463.502604166667559.166666666667-95.6640625-73.5026041666665
63410455.013020833333564.583333333333-109.5703125-45.0130208333334
64340356.263020833333565.416666666667-209.153645833333-16.2630208333334
65470509.856770833333563.75-53.8932291666667-39.8567708333334
66540488.8671875560.416666666667-71.549479166666751.1328125
67680632.981770833333555.83333333333377.148437547.0182291666667
68670610.169270833333557.552.669270833333359.8307291666666
69540545.221354166667562.916666666667-17.6953125-5.22135416666674
70630666.5234375563.75102.7734375-36.5234374999999
71560591.783854166667564.16666666666727.6171875-31.7838541666666
72800796.419270833333567.083333333333229.33593753.58072916666663
73610637.565104166667569.58333333333367.9817708333333-27.5651041666666
74490473.502604166667569.166666666667-95.664062516.4973958333334
75440456.263020833333565.833333333333-109.5703125-16.2630208333333
76330356.6796875565.833333333333-209.153645833333-26.6796875
77490513.606770833333567.5-53.8932291666667-23.6067708333334
78590496.3671875567.916666666667-71.549479166666793.6328125
79690649.6484375572.577.148437540.3515625
80650628.919270833333576.2552.669270833333321.0807291666667
81480559.8046875577.5-17.6953125-79.8046875000001
82690680.2734375577.5102.77343759.7265625
83540604.283854166667576.66666666666727.6171875-64.2838541666666
84830801.002604166667571.666666666667229.335937528.9973958333333
85690635.481770833333567.567.981770833333354.5182291666667
86500475.169270833333570.833333333333-95.664062524.8307291666666
87460466.263020833333575.833333333333-109.5703125-6.26302083333337
88310369.596354166667578.75-209.153645833333-59.5963541666666
89490524.440104166667578.333333333333-53.8932291666667-34.4401041666666
90470505.1171875576.666666666667-71.5494791666667-35.1171875
91710652.981770833333575.83333333333377.148437557.0182291666666
92710628.919270833333576.2552.669270833333381.0807291666665
93540556.0546875573.75-17.6953125-16.0546875000001
94700671.940104166667569.166666666667102.773437528.0598958333333
95520596.783854166667569.16666666666727.6171875-76.7838541666666
96810801.8359375572.5229.33593758.1640625
97690640.481770833333572.567.981770833333349.5182291666667
98510477.669270833333573.333333333333-95.664062532.3307291666667
99390467.513020833333577.083333333333-109.5703125-77.5130208333333
100270366.6796875575.833333333333-209.153645833333-96.6796874999999
101530517.7734375571.666666666667-53.893229166666712.2265625
102510499.283854166667570.833333333333-71.549479166666710.7161458333334
103670NANA77.1484375NA
104770NANA52.6692708333333NA
105570NANA-17.6953125NA
106640NANA102.7734375NA
107480NANA27.6171875NA
108830NANA229.3359375NA

\begin{tabular}{lllllllll}
\hline
Classical Decomposition by Moving Averages \tabularnewline
t & Observations & Fit & Trend & Seasonal & Random \tabularnewline
1 & 540 & NA & NA & 67.9817708333333 & NA \tabularnewline
2 & 520 & NA & NA & -95.6640625 & NA \tabularnewline
3 & 550 & NA & NA & -109.5703125 & NA \tabularnewline
4 & 440 & NA & NA & -209.153645833333 & NA \tabularnewline
5 & 570 & NA & NA & -53.8932291666667 & NA \tabularnewline
6 & 560 & NA & NA & -71.5494791666667 & NA \tabularnewline
7 & 600 & 660.481770833333 & 583.333333333333 & 77.1484375 & -60.4817708333334 \tabularnewline
8 & 620 & 635.5859375 & 582.916666666667 & 52.6692708333333 & -15.5859375 \tabularnewline
9 & 690 & 561.471354166667 & 579.166666666667 & -17.6953125 & 128.528645833333 \tabularnewline
10 & 600 & 679.440104166667 & 576.666666666667 & 102.7734375 & -79.4401041666666 \tabularnewline
11 & 570 & 602.200520833333 & 574.583333333333 & 27.6171875 & -32.2005208333333 \tabularnewline
12 & 710 & 799.3359375 & 570 & 229.3359375 & -89.3359375 \tabularnewline
13 & 600 & 634.231770833333 & 566.25 & 67.9817708333333 & -34.2317708333333 \tabularnewline
14 & 450 & 468.0859375 & 563.75 & -95.6640625 & -18.0859375 \tabularnewline
15 & 530 & 446.6796875 & 556.25 & -109.5703125 & 83.3203125 \tabularnewline
16 & 400 & 344.596354166667 & 553.75 & -209.153645833333 & 55.4036458333333 \tabularnewline
17 & 560 & 504.856770833333 & 558.75 & -53.8932291666667 & 55.1432291666666 \tabularnewline
18 & 460 & 492.200520833333 & 563.75 & -71.5494791666667 & -32.2005208333334 \tabularnewline
19 & 610 & 640.8984375 & 563.75 & 77.1484375 & -30.8984375 \tabularnewline
20 & 550 & 614.752604166667 & 562.083333333333 & 52.6692708333333 & -64.7526041666666 \tabularnewline
21 & 580 & 543.971354166667 & 561.666666666667 & -17.6953125 & 36.0286458333334 \tabularnewline
22 & 650 & 662.356770833333 & 559.583333333333 & 102.7734375 & -12.3567708333333 \tabularnewline
23 & 640 & 584.700520833333 & 557.083333333333 & 27.6171875 & 55.2994791666666 \tabularnewline
24 & 760 & 783.0859375 & 553.75 & 229.3359375 & -23.0859374999999 \tabularnewline
25 & 550 & 618.3984375 & 550.416666666667 & 67.9817708333333 & -68.3984374999999 \tabularnewline
26 & 460 & 453.502604166667 & 549.166666666667 & -95.6640625 & 6.49739583333337 \tabularnewline
27 & 510 & 435.846354166667 & 545.416666666667 & -109.5703125 & 74.1536458333335 \tabularnewline
28 & 370 & 334.596354166667 & 543.75 & -209.153645833333 & 35.4036458333333 \tabularnewline
29 & 530 & 491.5234375 & 545.416666666667 & -53.8932291666667 & 38.4765625 \tabularnewline
30 & 410 & 471.783854166667 & 543.333333333333 & -71.5494791666667 & -61.7838541666667 \tabularnewline
31 & 580 & 618.3984375 & 541.25 & 77.1484375 & -38.3984375 \tabularnewline
32 & 550 & 595.169270833333 & 542.5 & 52.6692708333333 & -45.1692708333333 \tabularnewline
33 & 490 & 523.971354166667 & 541.666666666667 & -17.6953125 & -33.9713541666666 \tabularnewline
34 & 700 & 641.940104166667 & 539.166666666667 & 102.7734375 & 58.0598958333335 \tabularnewline
35 & 630 & 565.1171875 & 537.5 & 27.6171875 & 64.8828125000001 \tabularnewline
36 & 720 & 766.419270833333 & 537.083333333333 & 229.3359375 & -46.4192708333333 \tabularnewline
37 & 540 & 607.1484375 & 539.166666666667 & 67.9817708333333 & -67.1484374999999 \tabularnewline
38 & 500 & 445.5859375 & 541.25 & -95.6640625 & 54.4140625 \tabularnewline
39 & 450 & 433.346354166667 & 542.916666666667 & -109.5703125 & 16.6536458333334 \tabularnewline
40 & 370 & 332.9296875 & 542.083333333333 & -209.153645833333 & 37.0703125 \tabularnewline
41 & 490 & 486.5234375 & 540.416666666667 & -53.8932291666667 & 3.4765625 \tabularnewline
42 & 440 & 471.783854166667 & 543.333333333333 & -71.5494791666667 & -31.7838541666666 \tabularnewline
43 & 600 & 627.981770833333 & 550.833333333333 & 77.1484375 & -27.9817708333333 \tabularnewline
44 & 580 & 603.0859375 & 550.416666666667 & 52.6692708333333 & -23.0859375 \tabularnewline
45 & 500 & 525.638020833333 & 543.333333333333 & -17.6953125 & -25.6380208333334 \tabularnewline
46 & 670 & 644.440104166667 & 541.666666666667 & 102.7734375 & 25.5598958333334 \tabularnewline
47 & 620 & 568.8671875 & 541.25 & 27.6171875 & 51.1328125000001 \tabularnewline
48 & 800 & 770.169270833333 & 540.833333333333 & 229.3359375 & 29.8307291666666 \tabularnewline
49 & 640 & 610.481770833333 & 542.5 & 67.9817708333333 & 29.5182291666667 \tabularnewline
50 & 390 & 447.252604166667 & 542.916666666667 & -95.6640625 & -57.2526041666666 \tabularnewline
51 & 390 & 433.346354166667 & 542.916666666667 & -109.5703125 & -43.3463541666667 \tabularnewline
52 & 390 & 332.9296875 & 542.083333333333 & -209.153645833333 & 57.0703125 \tabularnewline
53 & 460 & 485.690104166667 & 539.583333333333 & -53.8932291666667 & -25.6901041666666 \tabularnewline
54 & 460 & 468.8671875 & 540.416666666667 & -71.5494791666667 & -8.8671875 \tabularnewline
55 & 620 & 620.8984375 & 543.75 & 77.1484375 & -0.898437499999886 \tabularnewline
56 & 570 & 597.669270833333 & 545 & 52.6692708333333 & -27.6692708333333 \tabularnewline
57 & 510 & 528.138020833333 & 545.833333333333 & -17.6953125 & -18.1380208333333 \tabularnewline
58 & 640 & 647.356770833333 & 544.583333333333 & 102.7734375 & -7.35677083333337 \tabularnewline
59 & 590 & 570.533854166667 & 542.916666666667 & 27.6171875 & 19.4661458333334 \tabularnewline
60 & 850 & 776.002604166667 & 546.666666666667 & 229.3359375 & 73.9973958333334 \tabularnewline
61 & 670 & 620.481770833333 & 552.5 & 67.9817708333333 & 49.5182291666667 \tabularnewline
62 & 390 & 463.502604166667 & 559.166666666667 & -95.6640625 & -73.5026041666665 \tabularnewline
63 & 410 & 455.013020833333 & 564.583333333333 & -109.5703125 & -45.0130208333334 \tabularnewline
64 & 340 & 356.263020833333 & 565.416666666667 & -209.153645833333 & -16.2630208333334 \tabularnewline
65 & 470 & 509.856770833333 & 563.75 & -53.8932291666667 & -39.8567708333334 \tabularnewline
66 & 540 & 488.8671875 & 560.416666666667 & -71.5494791666667 & 51.1328125 \tabularnewline
67 & 680 & 632.981770833333 & 555.833333333333 & 77.1484375 & 47.0182291666667 \tabularnewline
68 & 670 & 610.169270833333 & 557.5 & 52.6692708333333 & 59.8307291666666 \tabularnewline
69 & 540 & 545.221354166667 & 562.916666666667 & -17.6953125 & -5.22135416666674 \tabularnewline
70 & 630 & 666.5234375 & 563.75 & 102.7734375 & -36.5234374999999 \tabularnewline
71 & 560 & 591.783854166667 & 564.166666666667 & 27.6171875 & -31.7838541666666 \tabularnewline
72 & 800 & 796.419270833333 & 567.083333333333 & 229.3359375 & 3.58072916666663 \tabularnewline
73 & 610 & 637.565104166667 & 569.583333333333 & 67.9817708333333 & -27.5651041666666 \tabularnewline
74 & 490 & 473.502604166667 & 569.166666666667 & -95.6640625 & 16.4973958333334 \tabularnewline
75 & 440 & 456.263020833333 & 565.833333333333 & -109.5703125 & -16.2630208333333 \tabularnewline
76 & 330 & 356.6796875 & 565.833333333333 & -209.153645833333 & -26.6796875 \tabularnewline
77 & 490 & 513.606770833333 & 567.5 & -53.8932291666667 & -23.6067708333334 \tabularnewline
78 & 590 & 496.3671875 & 567.916666666667 & -71.5494791666667 & 93.6328125 \tabularnewline
79 & 690 & 649.6484375 & 572.5 & 77.1484375 & 40.3515625 \tabularnewline
80 & 650 & 628.919270833333 & 576.25 & 52.6692708333333 & 21.0807291666667 \tabularnewline
81 & 480 & 559.8046875 & 577.5 & -17.6953125 & -79.8046875000001 \tabularnewline
82 & 690 & 680.2734375 & 577.5 & 102.7734375 & 9.7265625 \tabularnewline
83 & 540 & 604.283854166667 & 576.666666666667 & 27.6171875 & -64.2838541666666 \tabularnewline
84 & 830 & 801.002604166667 & 571.666666666667 & 229.3359375 & 28.9973958333333 \tabularnewline
85 & 690 & 635.481770833333 & 567.5 & 67.9817708333333 & 54.5182291666667 \tabularnewline
86 & 500 & 475.169270833333 & 570.833333333333 & -95.6640625 & 24.8307291666666 \tabularnewline
87 & 460 & 466.263020833333 & 575.833333333333 & -109.5703125 & -6.26302083333337 \tabularnewline
88 & 310 & 369.596354166667 & 578.75 & -209.153645833333 & -59.5963541666666 \tabularnewline
89 & 490 & 524.440104166667 & 578.333333333333 & -53.8932291666667 & -34.4401041666666 \tabularnewline
90 & 470 & 505.1171875 & 576.666666666667 & -71.5494791666667 & -35.1171875 \tabularnewline
91 & 710 & 652.981770833333 & 575.833333333333 & 77.1484375 & 57.0182291666666 \tabularnewline
92 & 710 & 628.919270833333 & 576.25 & 52.6692708333333 & 81.0807291666665 \tabularnewline
93 & 540 & 556.0546875 & 573.75 & -17.6953125 & -16.0546875000001 \tabularnewline
94 & 700 & 671.940104166667 & 569.166666666667 & 102.7734375 & 28.0598958333333 \tabularnewline
95 & 520 & 596.783854166667 & 569.166666666667 & 27.6171875 & -76.7838541666666 \tabularnewline
96 & 810 & 801.8359375 & 572.5 & 229.3359375 & 8.1640625 \tabularnewline
97 & 690 & 640.481770833333 & 572.5 & 67.9817708333333 & 49.5182291666667 \tabularnewline
98 & 510 & 477.669270833333 & 573.333333333333 & -95.6640625 & 32.3307291666667 \tabularnewline
99 & 390 & 467.513020833333 & 577.083333333333 & -109.5703125 & -77.5130208333333 \tabularnewline
100 & 270 & 366.6796875 & 575.833333333333 & -209.153645833333 & -96.6796874999999 \tabularnewline
101 & 530 & 517.7734375 & 571.666666666667 & -53.8932291666667 & 12.2265625 \tabularnewline
102 & 510 & 499.283854166667 & 570.833333333333 & -71.5494791666667 & 10.7161458333334 \tabularnewline
103 & 670 & NA & NA & 77.1484375 & NA \tabularnewline
104 & 770 & NA & NA & 52.6692708333333 & NA \tabularnewline
105 & 570 & NA & NA & -17.6953125 & NA \tabularnewline
106 & 640 & NA & NA & 102.7734375 & NA \tabularnewline
107 & 480 & NA & NA & 27.6171875 & NA \tabularnewline
108 & 830 & NA & NA & 229.3359375 & NA \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=169422&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]540[/C][C]NA[/C][C]NA[/C][C]67.9817708333333[/C][C]NA[/C][/ROW]
[ROW][C]2[/C][C]520[/C][C]NA[/C][C]NA[/C][C]-95.6640625[/C][C]NA[/C][/ROW]
[ROW][C]3[/C][C]550[/C][C]NA[/C][C]NA[/C][C]-109.5703125[/C][C]NA[/C][/ROW]
[ROW][C]4[/C][C]440[/C][C]NA[/C][C]NA[/C][C]-209.153645833333[/C][C]NA[/C][/ROW]
[ROW][C]5[/C][C]570[/C][C]NA[/C][C]NA[/C][C]-53.8932291666667[/C][C]NA[/C][/ROW]
[ROW][C]6[/C][C]560[/C][C]NA[/C][C]NA[/C][C]-71.5494791666667[/C][C]NA[/C][/ROW]
[ROW][C]7[/C][C]600[/C][C]660.481770833333[/C][C]583.333333333333[/C][C]77.1484375[/C][C]-60.4817708333334[/C][/ROW]
[ROW][C]8[/C][C]620[/C][C]635.5859375[/C][C]582.916666666667[/C][C]52.6692708333333[/C][C]-15.5859375[/C][/ROW]
[ROW][C]9[/C][C]690[/C][C]561.471354166667[/C][C]579.166666666667[/C][C]-17.6953125[/C][C]128.528645833333[/C][/ROW]
[ROW][C]10[/C][C]600[/C][C]679.440104166667[/C][C]576.666666666667[/C][C]102.7734375[/C][C]-79.4401041666666[/C][/ROW]
[ROW][C]11[/C][C]570[/C][C]602.200520833333[/C][C]574.583333333333[/C][C]27.6171875[/C][C]-32.2005208333333[/C][/ROW]
[ROW][C]12[/C][C]710[/C][C]799.3359375[/C][C]570[/C][C]229.3359375[/C][C]-89.3359375[/C][/ROW]
[ROW][C]13[/C][C]600[/C][C]634.231770833333[/C][C]566.25[/C][C]67.9817708333333[/C][C]-34.2317708333333[/C][/ROW]
[ROW][C]14[/C][C]450[/C][C]468.0859375[/C][C]563.75[/C][C]-95.6640625[/C][C]-18.0859375[/C][/ROW]
[ROW][C]15[/C][C]530[/C][C]446.6796875[/C][C]556.25[/C][C]-109.5703125[/C][C]83.3203125[/C][/ROW]
[ROW][C]16[/C][C]400[/C][C]344.596354166667[/C][C]553.75[/C][C]-209.153645833333[/C][C]55.4036458333333[/C][/ROW]
[ROW][C]17[/C][C]560[/C][C]504.856770833333[/C][C]558.75[/C][C]-53.8932291666667[/C][C]55.1432291666666[/C][/ROW]
[ROW][C]18[/C][C]460[/C][C]492.200520833333[/C][C]563.75[/C][C]-71.5494791666667[/C][C]-32.2005208333334[/C][/ROW]
[ROW][C]19[/C][C]610[/C][C]640.8984375[/C][C]563.75[/C][C]77.1484375[/C][C]-30.8984375[/C][/ROW]
[ROW][C]20[/C][C]550[/C][C]614.752604166667[/C][C]562.083333333333[/C][C]52.6692708333333[/C][C]-64.7526041666666[/C][/ROW]
[ROW][C]21[/C][C]580[/C][C]543.971354166667[/C][C]561.666666666667[/C][C]-17.6953125[/C][C]36.0286458333334[/C][/ROW]
[ROW][C]22[/C][C]650[/C][C]662.356770833333[/C][C]559.583333333333[/C][C]102.7734375[/C][C]-12.3567708333333[/C][/ROW]
[ROW][C]23[/C][C]640[/C][C]584.700520833333[/C][C]557.083333333333[/C][C]27.6171875[/C][C]55.2994791666666[/C][/ROW]
[ROW][C]24[/C][C]760[/C][C]783.0859375[/C][C]553.75[/C][C]229.3359375[/C][C]-23.0859374999999[/C][/ROW]
[ROW][C]25[/C][C]550[/C][C]618.3984375[/C][C]550.416666666667[/C][C]67.9817708333333[/C][C]-68.3984374999999[/C][/ROW]
[ROW][C]26[/C][C]460[/C][C]453.502604166667[/C][C]549.166666666667[/C][C]-95.6640625[/C][C]6.49739583333337[/C][/ROW]
[ROW][C]27[/C][C]510[/C][C]435.846354166667[/C][C]545.416666666667[/C][C]-109.5703125[/C][C]74.1536458333335[/C][/ROW]
[ROW][C]28[/C][C]370[/C][C]334.596354166667[/C][C]543.75[/C][C]-209.153645833333[/C][C]35.4036458333333[/C][/ROW]
[ROW][C]29[/C][C]530[/C][C]491.5234375[/C][C]545.416666666667[/C][C]-53.8932291666667[/C][C]38.4765625[/C][/ROW]
[ROW][C]30[/C][C]410[/C][C]471.783854166667[/C][C]543.333333333333[/C][C]-71.5494791666667[/C][C]-61.7838541666667[/C][/ROW]
[ROW][C]31[/C][C]580[/C][C]618.3984375[/C][C]541.25[/C][C]77.1484375[/C][C]-38.3984375[/C][/ROW]
[ROW][C]32[/C][C]550[/C][C]595.169270833333[/C][C]542.5[/C][C]52.6692708333333[/C][C]-45.1692708333333[/C][/ROW]
[ROW][C]33[/C][C]490[/C][C]523.971354166667[/C][C]541.666666666667[/C][C]-17.6953125[/C][C]-33.9713541666666[/C][/ROW]
[ROW][C]34[/C][C]700[/C][C]641.940104166667[/C][C]539.166666666667[/C][C]102.7734375[/C][C]58.0598958333335[/C][/ROW]
[ROW][C]35[/C][C]630[/C][C]565.1171875[/C][C]537.5[/C][C]27.6171875[/C][C]64.8828125000001[/C][/ROW]
[ROW][C]36[/C][C]720[/C][C]766.419270833333[/C][C]537.083333333333[/C][C]229.3359375[/C][C]-46.4192708333333[/C][/ROW]
[ROW][C]37[/C][C]540[/C][C]607.1484375[/C][C]539.166666666667[/C][C]67.9817708333333[/C][C]-67.1484374999999[/C][/ROW]
[ROW][C]38[/C][C]500[/C][C]445.5859375[/C][C]541.25[/C][C]-95.6640625[/C][C]54.4140625[/C][/ROW]
[ROW][C]39[/C][C]450[/C][C]433.346354166667[/C][C]542.916666666667[/C][C]-109.5703125[/C][C]16.6536458333334[/C][/ROW]
[ROW][C]40[/C][C]370[/C][C]332.9296875[/C][C]542.083333333333[/C][C]-209.153645833333[/C][C]37.0703125[/C][/ROW]
[ROW][C]41[/C][C]490[/C][C]486.5234375[/C][C]540.416666666667[/C][C]-53.8932291666667[/C][C]3.4765625[/C][/ROW]
[ROW][C]42[/C][C]440[/C][C]471.783854166667[/C][C]543.333333333333[/C][C]-71.5494791666667[/C][C]-31.7838541666666[/C][/ROW]
[ROW][C]43[/C][C]600[/C][C]627.981770833333[/C][C]550.833333333333[/C][C]77.1484375[/C][C]-27.9817708333333[/C][/ROW]
[ROW][C]44[/C][C]580[/C][C]603.0859375[/C][C]550.416666666667[/C][C]52.6692708333333[/C][C]-23.0859375[/C][/ROW]
[ROW][C]45[/C][C]500[/C][C]525.638020833333[/C][C]543.333333333333[/C][C]-17.6953125[/C][C]-25.6380208333334[/C][/ROW]
[ROW][C]46[/C][C]670[/C][C]644.440104166667[/C][C]541.666666666667[/C][C]102.7734375[/C][C]25.5598958333334[/C][/ROW]
[ROW][C]47[/C][C]620[/C][C]568.8671875[/C][C]541.25[/C][C]27.6171875[/C][C]51.1328125000001[/C][/ROW]
[ROW][C]48[/C][C]800[/C][C]770.169270833333[/C][C]540.833333333333[/C][C]229.3359375[/C][C]29.8307291666666[/C][/ROW]
[ROW][C]49[/C][C]640[/C][C]610.481770833333[/C][C]542.5[/C][C]67.9817708333333[/C][C]29.5182291666667[/C][/ROW]
[ROW][C]50[/C][C]390[/C][C]447.252604166667[/C][C]542.916666666667[/C][C]-95.6640625[/C][C]-57.2526041666666[/C][/ROW]
[ROW][C]51[/C][C]390[/C][C]433.346354166667[/C][C]542.916666666667[/C][C]-109.5703125[/C][C]-43.3463541666667[/C][/ROW]
[ROW][C]52[/C][C]390[/C][C]332.9296875[/C][C]542.083333333333[/C][C]-209.153645833333[/C][C]57.0703125[/C][/ROW]
[ROW][C]53[/C][C]460[/C][C]485.690104166667[/C][C]539.583333333333[/C][C]-53.8932291666667[/C][C]-25.6901041666666[/C][/ROW]
[ROW][C]54[/C][C]460[/C][C]468.8671875[/C][C]540.416666666667[/C][C]-71.5494791666667[/C][C]-8.8671875[/C][/ROW]
[ROW][C]55[/C][C]620[/C][C]620.8984375[/C][C]543.75[/C][C]77.1484375[/C][C]-0.898437499999886[/C][/ROW]
[ROW][C]56[/C][C]570[/C][C]597.669270833333[/C][C]545[/C][C]52.6692708333333[/C][C]-27.6692708333333[/C][/ROW]
[ROW][C]57[/C][C]510[/C][C]528.138020833333[/C][C]545.833333333333[/C][C]-17.6953125[/C][C]-18.1380208333333[/C][/ROW]
[ROW][C]58[/C][C]640[/C][C]647.356770833333[/C][C]544.583333333333[/C][C]102.7734375[/C][C]-7.35677083333337[/C][/ROW]
[ROW][C]59[/C][C]590[/C][C]570.533854166667[/C][C]542.916666666667[/C][C]27.6171875[/C][C]19.4661458333334[/C][/ROW]
[ROW][C]60[/C][C]850[/C][C]776.002604166667[/C][C]546.666666666667[/C][C]229.3359375[/C][C]73.9973958333334[/C][/ROW]
[ROW][C]61[/C][C]670[/C][C]620.481770833333[/C][C]552.5[/C][C]67.9817708333333[/C][C]49.5182291666667[/C][/ROW]
[ROW][C]62[/C][C]390[/C][C]463.502604166667[/C][C]559.166666666667[/C][C]-95.6640625[/C][C]-73.5026041666665[/C][/ROW]
[ROW][C]63[/C][C]410[/C][C]455.013020833333[/C][C]564.583333333333[/C][C]-109.5703125[/C][C]-45.0130208333334[/C][/ROW]
[ROW][C]64[/C][C]340[/C][C]356.263020833333[/C][C]565.416666666667[/C][C]-209.153645833333[/C][C]-16.2630208333334[/C][/ROW]
[ROW][C]65[/C][C]470[/C][C]509.856770833333[/C][C]563.75[/C][C]-53.8932291666667[/C][C]-39.8567708333334[/C][/ROW]
[ROW][C]66[/C][C]540[/C][C]488.8671875[/C][C]560.416666666667[/C][C]-71.5494791666667[/C][C]51.1328125[/C][/ROW]
[ROW][C]67[/C][C]680[/C][C]632.981770833333[/C][C]555.833333333333[/C][C]77.1484375[/C][C]47.0182291666667[/C][/ROW]
[ROW][C]68[/C][C]670[/C][C]610.169270833333[/C][C]557.5[/C][C]52.6692708333333[/C][C]59.8307291666666[/C][/ROW]
[ROW][C]69[/C][C]540[/C][C]545.221354166667[/C][C]562.916666666667[/C][C]-17.6953125[/C][C]-5.22135416666674[/C][/ROW]
[ROW][C]70[/C][C]630[/C][C]666.5234375[/C][C]563.75[/C][C]102.7734375[/C][C]-36.5234374999999[/C][/ROW]
[ROW][C]71[/C][C]560[/C][C]591.783854166667[/C][C]564.166666666667[/C][C]27.6171875[/C][C]-31.7838541666666[/C][/ROW]
[ROW][C]72[/C][C]800[/C][C]796.419270833333[/C][C]567.083333333333[/C][C]229.3359375[/C][C]3.58072916666663[/C][/ROW]
[ROW][C]73[/C][C]610[/C][C]637.565104166667[/C][C]569.583333333333[/C][C]67.9817708333333[/C][C]-27.5651041666666[/C][/ROW]
[ROW][C]74[/C][C]490[/C][C]473.502604166667[/C][C]569.166666666667[/C][C]-95.6640625[/C][C]16.4973958333334[/C][/ROW]
[ROW][C]75[/C][C]440[/C][C]456.263020833333[/C][C]565.833333333333[/C][C]-109.5703125[/C][C]-16.2630208333333[/C][/ROW]
[ROW][C]76[/C][C]330[/C][C]356.6796875[/C][C]565.833333333333[/C][C]-209.153645833333[/C][C]-26.6796875[/C][/ROW]
[ROW][C]77[/C][C]490[/C][C]513.606770833333[/C][C]567.5[/C][C]-53.8932291666667[/C][C]-23.6067708333334[/C][/ROW]
[ROW][C]78[/C][C]590[/C][C]496.3671875[/C][C]567.916666666667[/C][C]-71.5494791666667[/C][C]93.6328125[/C][/ROW]
[ROW][C]79[/C][C]690[/C][C]649.6484375[/C][C]572.5[/C][C]77.1484375[/C][C]40.3515625[/C][/ROW]
[ROW][C]80[/C][C]650[/C][C]628.919270833333[/C][C]576.25[/C][C]52.6692708333333[/C][C]21.0807291666667[/C][/ROW]
[ROW][C]81[/C][C]480[/C][C]559.8046875[/C][C]577.5[/C][C]-17.6953125[/C][C]-79.8046875000001[/C][/ROW]
[ROW][C]82[/C][C]690[/C][C]680.2734375[/C][C]577.5[/C][C]102.7734375[/C][C]9.7265625[/C][/ROW]
[ROW][C]83[/C][C]540[/C][C]604.283854166667[/C][C]576.666666666667[/C][C]27.6171875[/C][C]-64.2838541666666[/C][/ROW]
[ROW][C]84[/C][C]830[/C][C]801.002604166667[/C][C]571.666666666667[/C][C]229.3359375[/C][C]28.9973958333333[/C][/ROW]
[ROW][C]85[/C][C]690[/C][C]635.481770833333[/C][C]567.5[/C][C]67.9817708333333[/C][C]54.5182291666667[/C][/ROW]
[ROW][C]86[/C][C]500[/C][C]475.169270833333[/C][C]570.833333333333[/C][C]-95.6640625[/C][C]24.8307291666666[/C][/ROW]
[ROW][C]87[/C][C]460[/C][C]466.263020833333[/C][C]575.833333333333[/C][C]-109.5703125[/C][C]-6.26302083333337[/C][/ROW]
[ROW][C]88[/C][C]310[/C][C]369.596354166667[/C][C]578.75[/C][C]-209.153645833333[/C][C]-59.5963541666666[/C][/ROW]
[ROW][C]89[/C][C]490[/C][C]524.440104166667[/C][C]578.333333333333[/C][C]-53.8932291666667[/C][C]-34.4401041666666[/C][/ROW]
[ROW][C]90[/C][C]470[/C][C]505.1171875[/C][C]576.666666666667[/C][C]-71.5494791666667[/C][C]-35.1171875[/C][/ROW]
[ROW][C]91[/C][C]710[/C][C]652.981770833333[/C][C]575.833333333333[/C][C]77.1484375[/C][C]57.0182291666666[/C][/ROW]
[ROW][C]92[/C][C]710[/C][C]628.919270833333[/C][C]576.25[/C][C]52.6692708333333[/C][C]81.0807291666665[/C][/ROW]
[ROW][C]93[/C][C]540[/C][C]556.0546875[/C][C]573.75[/C][C]-17.6953125[/C][C]-16.0546875000001[/C][/ROW]
[ROW][C]94[/C][C]700[/C][C]671.940104166667[/C][C]569.166666666667[/C][C]102.7734375[/C][C]28.0598958333333[/C][/ROW]
[ROW][C]95[/C][C]520[/C][C]596.783854166667[/C][C]569.166666666667[/C][C]27.6171875[/C][C]-76.7838541666666[/C][/ROW]
[ROW][C]96[/C][C]810[/C][C]801.8359375[/C][C]572.5[/C][C]229.3359375[/C][C]8.1640625[/C][/ROW]
[ROW][C]97[/C][C]690[/C][C]640.481770833333[/C][C]572.5[/C][C]67.9817708333333[/C][C]49.5182291666667[/C][/ROW]
[ROW][C]98[/C][C]510[/C][C]477.669270833333[/C][C]573.333333333333[/C][C]-95.6640625[/C][C]32.3307291666667[/C][/ROW]
[ROW][C]99[/C][C]390[/C][C]467.513020833333[/C][C]577.083333333333[/C][C]-109.5703125[/C][C]-77.5130208333333[/C][/ROW]
[ROW][C]100[/C][C]270[/C][C]366.6796875[/C][C]575.833333333333[/C][C]-209.153645833333[/C][C]-96.6796874999999[/C][/ROW]
[ROW][C]101[/C][C]530[/C][C]517.7734375[/C][C]571.666666666667[/C][C]-53.8932291666667[/C][C]12.2265625[/C][/ROW]
[ROW][C]102[/C][C]510[/C][C]499.283854166667[/C][C]570.833333333333[/C][C]-71.5494791666667[/C][C]10.7161458333334[/C][/ROW]
[ROW][C]103[/C][C]670[/C][C]NA[/C][C]NA[/C][C]77.1484375[/C][C]NA[/C][/ROW]
[ROW][C]104[/C][C]770[/C][C]NA[/C][C]NA[/C][C]52.6692708333333[/C][C]NA[/C][/ROW]
[ROW][C]105[/C][C]570[/C][C]NA[/C][C]NA[/C][C]-17.6953125[/C][C]NA[/C][/ROW]
[ROW][C]106[/C][C]640[/C][C]NA[/C][C]NA[/C][C]102.7734375[/C][C]NA[/C][/ROW]
[ROW][C]107[/C][C]480[/C][C]NA[/C][C]NA[/C][C]27.6171875[/C][C]NA[/C][/ROW]
[ROW][C]108[/C][C]830[/C][C]NA[/C][C]NA[/C][C]229.3359375[/C][C]NA[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=169422&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=169422&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
1540NANA67.9817708333333NA
2520NANA-95.6640625NA
3550NANA-109.5703125NA
4440NANA-209.153645833333NA
5570NANA-53.8932291666667NA
6560NANA-71.5494791666667NA
7600660.481770833333583.33333333333377.1484375-60.4817708333334
8620635.5859375582.91666666666752.6692708333333-15.5859375
9690561.471354166667579.166666666667-17.6953125128.528645833333
10600679.440104166667576.666666666667102.7734375-79.4401041666666
11570602.200520833333574.58333333333327.6171875-32.2005208333333
12710799.3359375570229.3359375-89.3359375
13600634.231770833333566.2567.9817708333333-34.2317708333333
14450468.0859375563.75-95.6640625-18.0859375
15530446.6796875556.25-109.570312583.3203125
16400344.596354166667553.75-209.15364583333355.4036458333333
17560504.856770833333558.75-53.893229166666755.1432291666666
18460492.200520833333563.75-71.5494791666667-32.2005208333334
19610640.8984375563.7577.1484375-30.8984375
20550614.752604166667562.08333333333352.6692708333333-64.7526041666666
21580543.971354166667561.666666666667-17.695312536.0286458333334
22650662.356770833333559.583333333333102.7734375-12.3567708333333
23640584.700520833333557.08333333333327.617187555.2994791666666
24760783.0859375553.75229.3359375-23.0859374999999
25550618.3984375550.41666666666767.9817708333333-68.3984374999999
26460453.502604166667549.166666666667-95.66406256.49739583333337
27510435.846354166667545.416666666667-109.570312574.1536458333335
28370334.596354166667543.75-209.15364583333335.4036458333333
29530491.5234375545.416666666667-53.893229166666738.4765625
30410471.783854166667543.333333333333-71.5494791666667-61.7838541666667
31580618.3984375541.2577.1484375-38.3984375
32550595.169270833333542.552.6692708333333-45.1692708333333
33490523.971354166667541.666666666667-17.6953125-33.9713541666666
34700641.940104166667539.166666666667102.773437558.0598958333335
35630565.1171875537.527.617187564.8828125000001
36720766.419270833333537.083333333333229.3359375-46.4192708333333
37540607.1484375539.16666666666767.9817708333333-67.1484374999999
38500445.5859375541.25-95.664062554.4140625
39450433.346354166667542.916666666667-109.570312516.6536458333334
40370332.9296875542.083333333333-209.15364583333337.0703125
41490486.5234375540.416666666667-53.89322916666673.4765625
42440471.783854166667543.333333333333-71.5494791666667-31.7838541666666
43600627.981770833333550.83333333333377.1484375-27.9817708333333
44580603.0859375550.41666666666752.6692708333333-23.0859375
45500525.638020833333543.333333333333-17.6953125-25.6380208333334
46670644.440104166667541.666666666667102.773437525.5598958333334
47620568.8671875541.2527.617187551.1328125000001
48800770.169270833333540.833333333333229.335937529.8307291666666
49640610.481770833333542.567.981770833333329.5182291666667
50390447.252604166667542.916666666667-95.6640625-57.2526041666666
51390433.346354166667542.916666666667-109.5703125-43.3463541666667
52390332.9296875542.083333333333-209.15364583333357.0703125
53460485.690104166667539.583333333333-53.8932291666667-25.6901041666666
54460468.8671875540.416666666667-71.5494791666667-8.8671875
55620620.8984375543.7577.1484375-0.898437499999886
56570597.66927083333354552.6692708333333-27.6692708333333
57510528.138020833333545.833333333333-17.6953125-18.1380208333333
58640647.356770833333544.583333333333102.7734375-7.35677083333337
59590570.533854166667542.91666666666727.617187519.4661458333334
60850776.002604166667546.666666666667229.335937573.9973958333334
61670620.481770833333552.567.981770833333349.5182291666667
62390463.502604166667559.166666666667-95.6640625-73.5026041666665
63410455.013020833333564.583333333333-109.5703125-45.0130208333334
64340356.263020833333565.416666666667-209.153645833333-16.2630208333334
65470509.856770833333563.75-53.8932291666667-39.8567708333334
66540488.8671875560.416666666667-71.549479166666751.1328125
67680632.981770833333555.83333333333377.148437547.0182291666667
68670610.169270833333557.552.669270833333359.8307291666666
69540545.221354166667562.916666666667-17.6953125-5.22135416666674
70630666.5234375563.75102.7734375-36.5234374999999
71560591.783854166667564.16666666666727.6171875-31.7838541666666
72800796.419270833333567.083333333333229.33593753.58072916666663
73610637.565104166667569.58333333333367.9817708333333-27.5651041666666
74490473.502604166667569.166666666667-95.664062516.4973958333334
75440456.263020833333565.833333333333-109.5703125-16.2630208333333
76330356.6796875565.833333333333-209.153645833333-26.6796875
77490513.606770833333567.5-53.8932291666667-23.6067708333334
78590496.3671875567.916666666667-71.549479166666793.6328125
79690649.6484375572.577.148437540.3515625
80650628.919270833333576.2552.669270833333321.0807291666667
81480559.8046875577.5-17.6953125-79.8046875000001
82690680.2734375577.5102.77343759.7265625
83540604.283854166667576.66666666666727.6171875-64.2838541666666
84830801.002604166667571.666666666667229.335937528.9973958333333
85690635.481770833333567.567.981770833333354.5182291666667
86500475.169270833333570.833333333333-95.664062524.8307291666666
87460466.263020833333575.833333333333-109.5703125-6.26302083333337
88310369.596354166667578.75-209.153645833333-59.5963541666666
89490524.440104166667578.333333333333-53.8932291666667-34.4401041666666
90470505.1171875576.666666666667-71.5494791666667-35.1171875
91710652.981770833333575.83333333333377.148437557.0182291666666
92710628.919270833333576.2552.669270833333381.0807291666665
93540556.0546875573.75-17.6953125-16.0546875000001
94700671.940104166667569.166666666667102.773437528.0598958333333
95520596.783854166667569.16666666666727.6171875-76.7838541666666
96810801.8359375572.5229.33593758.1640625
97690640.481770833333572.567.981770833333349.5182291666667
98510477.669270833333573.333333333333-95.664062532.3307291666667
99390467.513020833333577.083333333333-109.5703125-77.5130208333333
100270366.6796875575.833333333333-209.153645833333-96.6796874999999
101530517.7734375571.666666666667-53.893229166666712.2265625
102510499.283854166667570.833333333333-71.549479166666710.7161458333334
103670NANA77.1484375NA
104770NANA52.6692708333333NA
105570NANA-17.6953125NA
106640NANA102.7734375NA
107480NANA27.6171875NA
108830NANA229.3359375NA



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