Free Statistics

of Irreproducible Research!

Author's title

Author*Unverified author*
R Software Modulerwasp_decompose.wasp
Title produced by softwareClassical Decomposition
Date of computationFri, 03 Aug 2012 17:41:31 -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/03/t1344030269re7ou4n0wsxszgy.htm/, Retrieved Mon, 29 Apr 2024 23:47:10 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=169011, Retrieved Mon, 29 Apr 2024 23:47:10 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywordsyasmien naciri
Estimated Impact100
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-       [Classical Decomposition] [] [2012-08-03 21:41:31] [d06e8713ea83045a022ab0926c74dd0b] [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 time2 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 & 2 seconds \tabularnewline
R Server & 'Gwilym Jenkins' @ jenkins.wessa.net \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=169011&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]'Gwilym Jenkins' @ jenkins.wessa.net[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=169011&T=0

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







Classical Decomposition by Moving Averages
tObservationsFitTrendSeasonalRandom
1540NANA1.12138118533293NA
2520NANA0.827644120179382NA
3550NANA0.804041462512377NA
4440NANA0.626062162693577NA
5570NANA0.903226598242016NA
6560NANA0.870353844385814NA
7600663.534489108891583.3333333333331.137487695615240.904248399816841
8620637.053948206882582.9166666666671.092873106287720.97322997800283
9690560.159741562847579.1666666666670.9671822875905271.23179148518403
10600683.520523418759576.6666666666671.185295705350450.877808316565222
11570604.203031868504574.5833333333331.051549874172890.943391492487665
12710805.3541158531375701.412901957637080.881599765896614
13600634.982096194772566.251.121381185332930.944908531430402
14450466.584372751127563.750.8276441201793820.964455790378619
15530447.24806352251556.250.8040414625123771.18502469485444
16400346.681922591568553.750.6260621626935771.15379537822411
17560504.677861767726558.750.9032265982420161.10961871408129
18460490.661979772503563.750.8703538443858140.937508955173745
19610641.258688403093563.751.137487695615240.951254167829
20550614.285758492555562.0833333333331.092873106287720.895348772775865
21580543.234051530012561.6666666666670.9671822875905271.06767975675758
22650663.271721785689559.5833333333331.185295705350450.979990520702499
23640585.800909070479557.0833333333331.051549874172891.0925213499848
24760782.394459041534553.751.412901957637080.971377022443425
25550617.226894093667550.4166666666671.121381185332930.891082364140366
26460454.514562665177549.1666666666670.8276441201793821.01206878235685
27510438.537614345292545.4166666666670.8040414625123771.16295611440628
28370340.421300964632543.750.6260621626935771.08688850830295
29530492.634840457833545.4166666666670.9032265982420161.07584757811169
30410472.892255449626543.3333333333330.8703538443858140.86700510586745
31580615.66521525175541.251.137487695615240.942070439634687
32550592.883660161087542.51.092873106287720.927669350594963
33490523.890405778202541.6666666666670.9671822875905270.935310123254004
34700639.071934468117539.1666666666671.185295705350451.09533835276711
35630565.208057367926537.51.051549874172891.11463379155244
36720758.846093080916537.0833333333331.412901957637080.948808996402418
37540604.611355758671539.1666666666671.121381185332930.893135722405352
38500447.962380047091541.250.8276441201793821.11616515642996
39450436.527510689011542.9166666666670.8040414625123771.0308628642665
40370339.37786402681542.0833333333330.6260621626935771.09023021009635
41490488.118707466623540.4166666666670.9032265982420161.0038541701119
42440472.892255449626543.3333333333330.8703538443858140.930444503857752
43600626.566139001396550.8333333333331.137487695615240.957600423406639
44580601.535572252531550.4166666666671.092873106287720.964199004604352
45500525.50237625752543.3333333333330.9671822875905270.951470483465479
46670642.035173731493541.6666666666671.185295705350451.04355653305718
47620569.151369396075541.251.051549874172891.08934113724066
48800764.144475422056540.8333333333331.412901957637081.04692244167327
49640608.349293043114542.51.121381185332931.05202719444048
50390449.341786914056542.9166666666670.8276441201793820.867936193244796
51390436.527510689011542.9166666666670.8040414625123770.893414482364301
52390339.37786402681542.0833333333330.6260621626935771.14916157280426
53460487.366018634754539.5833333333330.9032265982420160.94384914501956
54460470.3537234035540.4166666666670.8703538443858140.977987368041694
55620618.508934490788543.751.137487695615241.00241074207027
56570595.6158429268065451.092873106287720.956992677023277
57510527.920331976496545.8333333333330.9671822875905270.966054855456308
58640645.492286205432544.5833333333331.185295705350450.991491321704681
59590570.903952519696542.9166666666671.051549874172891.03344879186074
60850772.386403508272546.6666666666671.412901957637081.10048545150355
61670619.563104896444552.51.121381185332931.08140719598206
62390462.791003866971559.1666666666670.8276441201793820.842713010281646
63410453.948409043446564.5833333333330.8040414625123770.903186335345786
64340353.985981156326565.4166666666670.6260621626935770.960490014009481
65470509.193994758936563.750.9032265982420160.923027382171913
66540487.760800291217560.4166666666670.8703538443858141.1071000368984
67680632.253577479472555.8333333333331.137487695615241.07551783686361
68670609.276756755403557.51.092873106287721.09966446704445
69540544.443029389501562.9166666666670.9671822875905270.991839312564103
70630668.210453891316563.751.185295705350450.942816737348544
71560593.24938734587564.1666666666671.051549874172890.943953777188673
72800801.233151810029567.0833333333331.412901957637080.998460932617125
73610638.720033479215569.5833333333331.121381185332930.955035020081064
74490471.067445068765569.1666666666670.8276441201793821.04019075215115
75440454.953460871587565.8333333333330.8040414625123770.967131888956424
76330354.246840390782565.8333333333330.6260621626935770.93155382737067
77490512.581094502344567.50.9032265982420160.955946298557368
78590494.28845412411567.9166666666670.8703538443858141.19363500214767
79690651.211705739726572.51.137487695615241.05956326324972
80650629.768127498297576.251.092873106287721.03212590732731
81480558.547771083529577.50.9671822875905270.859371435801894
82690684.508269839885577.51.185295705350451.0080228835824
83540606.393760773031576.6666666666671.051549874172890.890510481690326
84830807.708952449199571.6666666666671.412901957637081.02759787109355
85690636.383822676438567.51.121381185332931.08425132037152
86500472.446851935731570.8333333333330.8276441201793821.05832010087775
87460462.99387549671575.8333333333330.8040414625123770.993533660691519
88310362.333476658907578.750.6260621626935770.855565438939077
89490522.366049316632578.3333333333330.9032265982420160.938039523512345
90470501.904050262486576.6666666666670.8703538443858140.936433965325044
91710655.003331391777575.8333333333331.137487695615241.08396395250596
92710629.768127498298576.251.092873106287721.12739906800367
93540554.920837505065573.750.9671822875905270.973111772893321
94700674.630805628631569.1666666666671.185295705350451.03760455964908
95520598.507136716734569.1666666666671.051549874172890.868828403371419
96810808.88637074723572.51.412901957637081.00137674374677
97690641.990728603102572.51.121381185332931.07478187652548
98510474.515962236179573.3333333333330.8276441201793821.07477943965594
99390463.998927324851577.0833333333330.8040414625123770.840519184491469
100270360.507462017718575.8333333333330.6260621626935770.748944275629807
101530516.344538661686571.6666666666670.9032265982420161.02644641381065
102510496.826986170235570.8333333333330.8703538443858141.02651428806496
103670NANA1.13748769561524NA
104770NANA1.09287310628772NA
105570NANA0.967182287590527NA
106640NANA1.18529570535045NA
107480NANA1.05154987417289NA
108830NANA1.41290195763708NA

\begin{tabular}{lllllllll}
\hline
Classical Decomposition by Moving Averages \tabularnewline
t & Observations & Fit & Trend & Seasonal & Random \tabularnewline
1 & 540 & NA & NA & 1.12138118533293 & NA \tabularnewline
2 & 520 & NA & NA & 0.827644120179382 & NA \tabularnewline
3 & 550 & NA & NA & 0.804041462512377 & NA \tabularnewline
4 & 440 & NA & NA & 0.626062162693577 & NA \tabularnewline
5 & 570 & NA & NA & 0.903226598242016 & NA \tabularnewline
6 & 560 & NA & NA & 0.870353844385814 & NA \tabularnewline
7 & 600 & 663.534489108891 & 583.333333333333 & 1.13748769561524 & 0.904248399816841 \tabularnewline
8 & 620 & 637.053948206882 & 582.916666666667 & 1.09287310628772 & 0.97322997800283 \tabularnewline
9 & 690 & 560.159741562847 & 579.166666666667 & 0.967182287590527 & 1.23179148518403 \tabularnewline
10 & 600 & 683.520523418759 & 576.666666666667 & 1.18529570535045 & 0.877808316565222 \tabularnewline
11 & 570 & 604.203031868504 & 574.583333333333 & 1.05154987417289 & 0.943391492487665 \tabularnewline
12 & 710 & 805.354115853137 & 570 & 1.41290195763708 & 0.881599765896614 \tabularnewline
13 & 600 & 634.982096194772 & 566.25 & 1.12138118533293 & 0.944908531430402 \tabularnewline
14 & 450 & 466.584372751127 & 563.75 & 0.827644120179382 & 0.964455790378619 \tabularnewline
15 & 530 & 447.24806352251 & 556.25 & 0.804041462512377 & 1.18502469485444 \tabularnewline
16 & 400 & 346.681922591568 & 553.75 & 0.626062162693577 & 1.15379537822411 \tabularnewline
17 & 560 & 504.677861767726 & 558.75 & 0.903226598242016 & 1.10961871408129 \tabularnewline
18 & 460 & 490.661979772503 & 563.75 & 0.870353844385814 & 0.937508955173745 \tabularnewline
19 & 610 & 641.258688403093 & 563.75 & 1.13748769561524 & 0.951254167829 \tabularnewline
20 & 550 & 614.285758492555 & 562.083333333333 & 1.09287310628772 & 0.895348772775865 \tabularnewline
21 & 580 & 543.234051530012 & 561.666666666667 & 0.967182287590527 & 1.06767975675758 \tabularnewline
22 & 650 & 663.271721785689 & 559.583333333333 & 1.18529570535045 & 0.979990520702499 \tabularnewline
23 & 640 & 585.800909070479 & 557.083333333333 & 1.05154987417289 & 1.0925213499848 \tabularnewline
24 & 760 & 782.394459041534 & 553.75 & 1.41290195763708 & 0.971377022443425 \tabularnewline
25 & 550 & 617.226894093667 & 550.416666666667 & 1.12138118533293 & 0.891082364140366 \tabularnewline
26 & 460 & 454.514562665177 & 549.166666666667 & 0.827644120179382 & 1.01206878235685 \tabularnewline
27 & 510 & 438.537614345292 & 545.416666666667 & 0.804041462512377 & 1.16295611440628 \tabularnewline
28 & 370 & 340.421300964632 & 543.75 & 0.626062162693577 & 1.08688850830295 \tabularnewline
29 & 530 & 492.634840457833 & 545.416666666667 & 0.903226598242016 & 1.07584757811169 \tabularnewline
30 & 410 & 472.892255449626 & 543.333333333333 & 0.870353844385814 & 0.86700510586745 \tabularnewline
31 & 580 & 615.66521525175 & 541.25 & 1.13748769561524 & 0.942070439634687 \tabularnewline
32 & 550 & 592.883660161087 & 542.5 & 1.09287310628772 & 0.927669350594963 \tabularnewline
33 & 490 & 523.890405778202 & 541.666666666667 & 0.967182287590527 & 0.935310123254004 \tabularnewline
34 & 700 & 639.071934468117 & 539.166666666667 & 1.18529570535045 & 1.09533835276711 \tabularnewline
35 & 630 & 565.208057367926 & 537.5 & 1.05154987417289 & 1.11463379155244 \tabularnewline
36 & 720 & 758.846093080916 & 537.083333333333 & 1.41290195763708 & 0.948808996402418 \tabularnewline
37 & 540 & 604.611355758671 & 539.166666666667 & 1.12138118533293 & 0.893135722405352 \tabularnewline
38 & 500 & 447.962380047091 & 541.25 & 0.827644120179382 & 1.11616515642996 \tabularnewline
39 & 450 & 436.527510689011 & 542.916666666667 & 0.804041462512377 & 1.0308628642665 \tabularnewline
40 & 370 & 339.37786402681 & 542.083333333333 & 0.626062162693577 & 1.09023021009635 \tabularnewline
41 & 490 & 488.118707466623 & 540.416666666667 & 0.903226598242016 & 1.0038541701119 \tabularnewline
42 & 440 & 472.892255449626 & 543.333333333333 & 0.870353844385814 & 0.930444503857752 \tabularnewline
43 & 600 & 626.566139001396 & 550.833333333333 & 1.13748769561524 & 0.957600423406639 \tabularnewline
44 & 580 & 601.535572252531 & 550.416666666667 & 1.09287310628772 & 0.964199004604352 \tabularnewline
45 & 500 & 525.50237625752 & 543.333333333333 & 0.967182287590527 & 0.951470483465479 \tabularnewline
46 & 670 & 642.035173731493 & 541.666666666667 & 1.18529570535045 & 1.04355653305718 \tabularnewline
47 & 620 & 569.151369396075 & 541.25 & 1.05154987417289 & 1.08934113724066 \tabularnewline
48 & 800 & 764.144475422056 & 540.833333333333 & 1.41290195763708 & 1.04692244167327 \tabularnewline
49 & 640 & 608.349293043114 & 542.5 & 1.12138118533293 & 1.05202719444048 \tabularnewline
50 & 390 & 449.341786914056 & 542.916666666667 & 0.827644120179382 & 0.867936193244796 \tabularnewline
51 & 390 & 436.527510689011 & 542.916666666667 & 0.804041462512377 & 0.893414482364301 \tabularnewline
52 & 390 & 339.37786402681 & 542.083333333333 & 0.626062162693577 & 1.14916157280426 \tabularnewline
53 & 460 & 487.366018634754 & 539.583333333333 & 0.903226598242016 & 0.94384914501956 \tabularnewline
54 & 460 & 470.3537234035 & 540.416666666667 & 0.870353844385814 & 0.977987368041694 \tabularnewline
55 & 620 & 618.508934490788 & 543.75 & 1.13748769561524 & 1.00241074207027 \tabularnewline
56 & 570 & 595.615842926806 & 545 & 1.09287310628772 & 0.956992677023277 \tabularnewline
57 & 510 & 527.920331976496 & 545.833333333333 & 0.967182287590527 & 0.966054855456308 \tabularnewline
58 & 640 & 645.492286205432 & 544.583333333333 & 1.18529570535045 & 0.991491321704681 \tabularnewline
59 & 590 & 570.903952519696 & 542.916666666667 & 1.05154987417289 & 1.03344879186074 \tabularnewline
60 & 850 & 772.386403508272 & 546.666666666667 & 1.41290195763708 & 1.10048545150355 \tabularnewline
61 & 670 & 619.563104896444 & 552.5 & 1.12138118533293 & 1.08140719598206 \tabularnewline
62 & 390 & 462.791003866971 & 559.166666666667 & 0.827644120179382 & 0.842713010281646 \tabularnewline
63 & 410 & 453.948409043446 & 564.583333333333 & 0.804041462512377 & 0.903186335345786 \tabularnewline
64 & 340 & 353.985981156326 & 565.416666666667 & 0.626062162693577 & 0.960490014009481 \tabularnewline
65 & 470 & 509.193994758936 & 563.75 & 0.903226598242016 & 0.923027382171913 \tabularnewline
66 & 540 & 487.760800291217 & 560.416666666667 & 0.870353844385814 & 1.1071000368984 \tabularnewline
67 & 680 & 632.253577479472 & 555.833333333333 & 1.13748769561524 & 1.07551783686361 \tabularnewline
68 & 670 & 609.276756755403 & 557.5 & 1.09287310628772 & 1.09966446704445 \tabularnewline
69 & 540 & 544.443029389501 & 562.916666666667 & 0.967182287590527 & 0.991839312564103 \tabularnewline
70 & 630 & 668.210453891316 & 563.75 & 1.18529570535045 & 0.942816737348544 \tabularnewline
71 & 560 & 593.24938734587 & 564.166666666667 & 1.05154987417289 & 0.943953777188673 \tabularnewline
72 & 800 & 801.233151810029 & 567.083333333333 & 1.41290195763708 & 0.998460932617125 \tabularnewline
73 & 610 & 638.720033479215 & 569.583333333333 & 1.12138118533293 & 0.955035020081064 \tabularnewline
74 & 490 & 471.067445068765 & 569.166666666667 & 0.827644120179382 & 1.04019075215115 \tabularnewline
75 & 440 & 454.953460871587 & 565.833333333333 & 0.804041462512377 & 0.967131888956424 \tabularnewline
76 & 330 & 354.246840390782 & 565.833333333333 & 0.626062162693577 & 0.93155382737067 \tabularnewline
77 & 490 & 512.581094502344 & 567.5 & 0.903226598242016 & 0.955946298557368 \tabularnewline
78 & 590 & 494.28845412411 & 567.916666666667 & 0.870353844385814 & 1.19363500214767 \tabularnewline
79 & 690 & 651.211705739726 & 572.5 & 1.13748769561524 & 1.05956326324972 \tabularnewline
80 & 650 & 629.768127498297 & 576.25 & 1.09287310628772 & 1.03212590732731 \tabularnewline
81 & 480 & 558.547771083529 & 577.5 & 0.967182287590527 & 0.859371435801894 \tabularnewline
82 & 690 & 684.508269839885 & 577.5 & 1.18529570535045 & 1.0080228835824 \tabularnewline
83 & 540 & 606.393760773031 & 576.666666666667 & 1.05154987417289 & 0.890510481690326 \tabularnewline
84 & 830 & 807.708952449199 & 571.666666666667 & 1.41290195763708 & 1.02759787109355 \tabularnewline
85 & 690 & 636.383822676438 & 567.5 & 1.12138118533293 & 1.08425132037152 \tabularnewline
86 & 500 & 472.446851935731 & 570.833333333333 & 0.827644120179382 & 1.05832010087775 \tabularnewline
87 & 460 & 462.99387549671 & 575.833333333333 & 0.804041462512377 & 0.993533660691519 \tabularnewline
88 & 310 & 362.333476658907 & 578.75 & 0.626062162693577 & 0.855565438939077 \tabularnewline
89 & 490 & 522.366049316632 & 578.333333333333 & 0.903226598242016 & 0.938039523512345 \tabularnewline
90 & 470 & 501.904050262486 & 576.666666666667 & 0.870353844385814 & 0.936433965325044 \tabularnewline
91 & 710 & 655.003331391777 & 575.833333333333 & 1.13748769561524 & 1.08396395250596 \tabularnewline
92 & 710 & 629.768127498298 & 576.25 & 1.09287310628772 & 1.12739906800367 \tabularnewline
93 & 540 & 554.920837505065 & 573.75 & 0.967182287590527 & 0.973111772893321 \tabularnewline
94 & 700 & 674.630805628631 & 569.166666666667 & 1.18529570535045 & 1.03760455964908 \tabularnewline
95 & 520 & 598.507136716734 & 569.166666666667 & 1.05154987417289 & 0.868828403371419 \tabularnewline
96 & 810 & 808.88637074723 & 572.5 & 1.41290195763708 & 1.00137674374677 \tabularnewline
97 & 690 & 641.990728603102 & 572.5 & 1.12138118533293 & 1.07478187652548 \tabularnewline
98 & 510 & 474.515962236179 & 573.333333333333 & 0.827644120179382 & 1.07477943965594 \tabularnewline
99 & 390 & 463.998927324851 & 577.083333333333 & 0.804041462512377 & 0.840519184491469 \tabularnewline
100 & 270 & 360.507462017718 & 575.833333333333 & 0.626062162693577 & 0.748944275629807 \tabularnewline
101 & 530 & 516.344538661686 & 571.666666666667 & 0.903226598242016 & 1.02644641381065 \tabularnewline
102 & 510 & 496.826986170235 & 570.833333333333 & 0.870353844385814 & 1.02651428806496 \tabularnewline
103 & 670 & NA & NA & 1.13748769561524 & NA \tabularnewline
104 & 770 & NA & NA & 1.09287310628772 & NA \tabularnewline
105 & 570 & NA & NA & 0.967182287590527 & NA \tabularnewline
106 & 640 & NA & NA & 1.18529570535045 & NA \tabularnewline
107 & 480 & NA & NA & 1.05154987417289 & NA \tabularnewline
108 & 830 & NA & NA & 1.41290195763708 & NA \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=169011&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]1.12138118533293[/C][C]NA[/C][/ROW]
[ROW][C]2[/C][C]520[/C][C]NA[/C][C]NA[/C][C]0.827644120179382[/C][C]NA[/C][/ROW]
[ROW][C]3[/C][C]550[/C][C]NA[/C][C]NA[/C][C]0.804041462512377[/C][C]NA[/C][/ROW]
[ROW][C]4[/C][C]440[/C][C]NA[/C][C]NA[/C][C]0.626062162693577[/C][C]NA[/C][/ROW]
[ROW][C]5[/C][C]570[/C][C]NA[/C][C]NA[/C][C]0.903226598242016[/C][C]NA[/C][/ROW]
[ROW][C]6[/C][C]560[/C][C]NA[/C][C]NA[/C][C]0.870353844385814[/C][C]NA[/C][/ROW]
[ROW][C]7[/C][C]600[/C][C]663.534489108891[/C][C]583.333333333333[/C][C]1.13748769561524[/C][C]0.904248399816841[/C][/ROW]
[ROW][C]8[/C][C]620[/C][C]637.053948206882[/C][C]582.916666666667[/C][C]1.09287310628772[/C][C]0.97322997800283[/C][/ROW]
[ROW][C]9[/C][C]690[/C][C]560.159741562847[/C][C]579.166666666667[/C][C]0.967182287590527[/C][C]1.23179148518403[/C][/ROW]
[ROW][C]10[/C][C]600[/C][C]683.520523418759[/C][C]576.666666666667[/C][C]1.18529570535045[/C][C]0.877808316565222[/C][/ROW]
[ROW][C]11[/C][C]570[/C][C]604.203031868504[/C][C]574.583333333333[/C][C]1.05154987417289[/C][C]0.943391492487665[/C][/ROW]
[ROW][C]12[/C][C]710[/C][C]805.354115853137[/C][C]570[/C][C]1.41290195763708[/C][C]0.881599765896614[/C][/ROW]
[ROW][C]13[/C][C]600[/C][C]634.982096194772[/C][C]566.25[/C][C]1.12138118533293[/C][C]0.944908531430402[/C][/ROW]
[ROW][C]14[/C][C]450[/C][C]466.584372751127[/C][C]563.75[/C][C]0.827644120179382[/C][C]0.964455790378619[/C][/ROW]
[ROW][C]15[/C][C]530[/C][C]447.24806352251[/C][C]556.25[/C][C]0.804041462512377[/C][C]1.18502469485444[/C][/ROW]
[ROW][C]16[/C][C]400[/C][C]346.681922591568[/C][C]553.75[/C][C]0.626062162693577[/C][C]1.15379537822411[/C][/ROW]
[ROW][C]17[/C][C]560[/C][C]504.677861767726[/C][C]558.75[/C][C]0.903226598242016[/C][C]1.10961871408129[/C][/ROW]
[ROW][C]18[/C][C]460[/C][C]490.661979772503[/C][C]563.75[/C][C]0.870353844385814[/C][C]0.937508955173745[/C][/ROW]
[ROW][C]19[/C][C]610[/C][C]641.258688403093[/C][C]563.75[/C][C]1.13748769561524[/C][C]0.951254167829[/C][/ROW]
[ROW][C]20[/C][C]550[/C][C]614.285758492555[/C][C]562.083333333333[/C][C]1.09287310628772[/C][C]0.895348772775865[/C][/ROW]
[ROW][C]21[/C][C]580[/C][C]543.234051530012[/C][C]561.666666666667[/C][C]0.967182287590527[/C][C]1.06767975675758[/C][/ROW]
[ROW][C]22[/C][C]650[/C][C]663.271721785689[/C][C]559.583333333333[/C][C]1.18529570535045[/C][C]0.979990520702499[/C][/ROW]
[ROW][C]23[/C][C]640[/C][C]585.800909070479[/C][C]557.083333333333[/C][C]1.05154987417289[/C][C]1.0925213499848[/C][/ROW]
[ROW][C]24[/C][C]760[/C][C]782.394459041534[/C][C]553.75[/C][C]1.41290195763708[/C][C]0.971377022443425[/C][/ROW]
[ROW][C]25[/C][C]550[/C][C]617.226894093667[/C][C]550.416666666667[/C][C]1.12138118533293[/C][C]0.891082364140366[/C][/ROW]
[ROW][C]26[/C][C]460[/C][C]454.514562665177[/C][C]549.166666666667[/C][C]0.827644120179382[/C][C]1.01206878235685[/C][/ROW]
[ROW][C]27[/C][C]510[/C][C]438.537614345292[/C][C]545.416666666667[/C][C]0.804041462512377[/C][C]1.16295611440628[/C][/ROW]
[ROW][C]28[/C][C]370[/C][C]340.421300964632[/C][C]543.75[/C][C]0.626062162693577[/C][C]1.08688850830295[/C][/ROW]
[ROW][C]29[/C][C]530[/C][C]492.634840457833[/C][C]545.416666666667[/C][C]0.903226598242016[/C][C]1.07584757811169[/C][/ROW]
[ROW][C]30[/C][C]410[/C][C]472.892255449626[/C][C]543.333333333333[/C][C]0.870353844385814[/C][C]0.86700510586745[/C][/ROW]
[ROW][C]31[/C][C]580[/C][C]615.66521525175[/C][C]541.25[/C][C]1.13748769561524[/C][C]0.942070439634687[/C][/ROW]
[ROW][C]32[/C][C]550[/C][C]592.883660161087[/C][C]542.5[/C][C]1.09287310628772[/C][C]0.927669350594963[/C][/ROW]
[ROW][C]33[/C][C]490[/C][C]523.890405778202[/C][C]541.666666666667[/C][C]0.967182287590527[/C][C]0.935310123254004[/C][/ROW]
[ROW][C]34[/C][C]700[/C][C]639.071934468117[/C][C]539.166666666667[/C][C]1.18529570535045[/C][C]1.09533835276711[/C][/ROW]
[ROW][C]35[/C][C]630[/C][C]565.208057367926[/C][C]537.5[/C][C]1.05154987417289[/C][C]1.11463379155244[/C][/ROW]
[ROW][C]36[/C][C]720[/C][C]758.846093080916[/C][C]537.083333333333[/C][C]1.41290195763708[/C][C]0.948808996402418[/C][/ROW]
[ROW][C]37[/C][C]540[/C][C]604.611355758671[/C][C]539.166666666667[/C][C]1.12138118533293[/C][C]0.893135722405352[/C][/ROW]
[ROW][C]38[/C][C]500[/C][C]447.962380047091[/C][C]541.25[/C][C]0.827644120179382[/C][C]1.11616515642996[/C][/ROW]
[ROW][C]39[/C][C]450[/C][C]436.527510689011[/C][C]542.916666666667[/C][C]0.804041462512377[/C][C]1.0308628642665[/C][/ROW]
[ROW][C]40[/C][C]370[/C][C]339.37786402681[/C][C]542.083333333333[/C][C]0.626062162693577[/C][C]1.09023021009635[/C][/ROW]
[ROW][C]41[/C][C]490[/C][C]488.118707466623[/C][C]540.416666666667[/C][C]0.903226598242016[/C][C]1.0038541701119[/C][/ROW]
[ROW][C]42[/C][C]440[/C][C]472.892255449626[/C][C]543.333333333333[/C][C]0.870353844385814[/C][C]0.930444503857752[/C][/ROW]
[ROW][C]43[/C][C]600[/C][C]626.566139001396[/C][C]550.833333333333[/C][C]1.13748769561524[/C][C]0.957600423406639[/C][/ROW]
[ROW][C]44[/C][C]580[/C][C]601.535572252531[/C][C]550.416666666667[/C][C]1.09287310628772[/C][C]0.964199004604352[/C][/ROW]
[ROW][C]45[/C][C]500[/C][C]525.50237625752[/C][C]543.333333333333[/C][C]0.967182287590527[/C][C]0.951470483465479[/C][/ROW]
[ROW][C]46[/C][C]670[/C][C]642.035173731493[/C][C]541.666666666667[/C][C]1.18529570535045[/C][C]1.04355653305718[/C][/ROW]
[ROW][C]47[/C][C]620[/C][C]569.151369396075[/C][C]541.25[/C][C]1.05154987417289[/C][C]1.08934113724066[/C][/ROW]
[ROW][C]48[/C][C]800[/C][C]764.144475422056[/C][C]540.833333333333[/C][C]1.41290195763708[/C][C]1.04692244167327[/C][/ROW]
[ROW][C]49[/C][C]640[/C][C]608.349293043114[/C][C]542.5[/C][C]1.12138118533293[/C][C]1.05202719444048[/C][/ROW]
[ROW][C]50[/C][C]390[/C][C]449.341786914056[/C][C]542.916666666667[/C][C]0.827644120179382[/C][C]0.867936193244796[/C][/ROW]
[ROW][C]51[/C][C]390[/C][C]436.527510689011[/C][C]542.916666666667[/C][C]0.804041462512377[/C][C]0.893414482364301[/C][/ROW]
[ROW][C]52[/C][C]390[/C][C]339.37786402681[/C][C]542.083333333333[/C][C]0.626062162693577[/C][C]1.14916157280426[/C][/ROW]
[ROW][C]53[/C][C]460[/C][C]487.366018634754[/C][C]539.583333333333[/C][C]0.903226598242016[/C][C]0.94384914501956[/C][/ROW]
[ROW][C]54[/C][C]460[/C][C]470.3537234035[/C][C]540.416666666667[/C][C]0.870353844385814[/C][C]0.977987368041694[/C][/ROW]
[ROW][C]55[/C][C]620[/C][C]618.508934490788[/C][C]543.75[/C][C]1.13748769561524[/C][C]1.00241074207027[/C][/ROW]
[ROW][C]56[/C][C]570[/C][C]595.615842926806[/C][C]545[/C][C]1.09287310628772[/C][C]0.956992677023277[/C][/ROW]
[ROW][C]57[/C][C]510[/C][C]527.920331976496[/C][C]545.833333333333[/C][C]0.967182287590527[/C][C]0.966054855456308[/C][/ROW]
[ROW][C]58[/C][C]640[/C][C]645.492286205432[/C][C]544.583333333333[/C][C]1.18529570535045[/C][C]0.991491321704681[/C][/ROW]
[ROW][C]59[/C][C]590[/C][C]570.903952519696[/C][C]542.916666666667[/C][C]1.05154987417289[/C][C]1.03344879186074[/C][/ROW]
[ROW][C]60[/C][C]850[/C][C]772.386403508272[/C][C]546.666666666667[/C][C]1.41290195763708[/C][C]1.10048545150355[/C][/ROW]
[ROW][C]61[/C][C]670[/C][C]619.563104896444[/C][C]552.5[/C][C]1.12138118533293[/C][C]1.08140719598206[/C][/ROW]
[ROW][C]62[/C][C]390[/C][C]462.791003866971[/C][C]559.166666666667[/C][C]0.827644120179382[/C][C]0.842713010281646[/C][/ROW]
[ROW][C]63[/C][C]410[/C][C]453.948409043446[/C][C]564.583333333333[/C][C]0.804041462512377[/C][C]0.903186335345786[/C][/ROW]
[ROW][C]64[/C][C]340[/C][C]353.985981156326[/C][C]565.416666666667[/C][C]0.626062162693577[/C][C]0.960490014009481[/C][/ROW]
[ROW][C]65[/C][C]470[/C][C]509.193994758936[/C][C]563.75[/C][C]0.903226598242016[/C][C]0.923027382171913[/C][/ROW]
[ROW][C]66[/C][C]540[/C][C]487.760800291217[/C][C]560.416666666667[/C][C]0.870353844385814[/C][C]1.1071000368984[/C][/ROW]
[ROW][C]67[/C][C]680[/C][C]632.253577479472[/C][C]555.833333333333[/C][C]1.13748769561524[/C][C]1.07551783686361[/C][/ROW]
[ROW][C]68[/C][C]670[/C][C]609.276756755403[/C][C]557.5[/C][C]1.09287310628772[/C][C]1.09966446704445[/C][/ROW]
[ROW][C]69[/C][C]540[/C][C]544.443029389501[/C][C]562.916666666667[/C][C]0.967182287590527[/C][C]0.991839312564103[/C][/ROW]
[ROW][C]70[/C][C]630[/C][C]668.210453891316[/C][C]563.75[/C][C]1.18529570535045[/C][C]0.942816737348544[/C][/ROW]
[ROW][C]71[/C][C]560[/C][C]593.24938734587[/C][C]564.166666666667[/C][C]1.05154987417289[/C][C]0.943953777188673[/C][/ROW]
[ROW][C]72[/C][C]800[/C][C]801.233151810029[/C][C]567.083333333333[/C][C]1.41290195763708[/C][C]0.998460932617125[/C][/ROW]
[ROW][C]73[/C][C]610[/C][C]638.720033479215[/C][C]569.583333333333[/C][C]1.12138118533293[/C][C]0.955035020081064[/C][/ROW]
[ROW][C]74[/C][C]490[/C][C]471.067445068765[/C][C]569.166666666667[/C][C]0.827644120179382[/C][C]1.04019075215115[/C][/ROW]
[ROW][C]75[/C][C]440[/C][C]454.953460871587[/C][C]565.833333333333[/C][C]0.804041462512377[/C][C]0.967131888956424[/C][/ROW]
[ROW][C]76[/C][C]330[/C][C]354.246840390782[/C][C]565.833333333333[/C][C]0.626062162693577[/C][C]0.93155382737067[/C][/ROW]
[ROW][C]77[/C][C]490[/C][C]512.581094502344[/C][C]567.5[/C][C]0.903226598242016[/C][C]0.955946298557368[/C][/ROW]
[ROW][C]78[/C][C]590[/C][C]494.28845412411[/C][C]567.916666666667[/C][C]0.870353844385814[/C][C]1.19363500214767[/C][/ROW]
[ROW][C]79[/C][C]690[/C][C]651.211705739726[/C][C]572.5[/C][C]1.13748769561524[/C][C]1.05956326324972[/C][/ROW]
[ROW][C]80[/C][C]650[/C][C]629.768127498297[/C][C]576.25[/C][C]1.09287310628772[/C][C]1.03212590732731[/C][/ROW]
[ROW][C]81[/C][C]480[/C][C]558.547771083529[/C][C]577.5[/C][C]0.967182287590527[/C][C]0.859371435801894[/C][/ROW]
[ROW][C]82[/C][C]690[/C][C]684.508269839885[/C][C]577.5[/C][C]1.18529570535045[/C][C]1.0080228835824[/C][/ROW]
[ROW][C]83[/C][C]540[/C][C]606.393760773031[/C][C]576.666666666667[/C][C]1.05154987417289[/C][C]0.890510481690326[/C][/ROW]
[ROW][C]84[/C][C]830[/C][C]807.708952449199[/C][C]571.666666666667[/C][C]1.41290195763708[/C][C]1.02759787109355[/C][/ROW]
[ROW][C]85[/C][C]690[/C][C]636.383822676438[/C][C]567.5[/C][C]1.12138118533293[/C][C]1.08425132037152[/C][/ROW]
[ROW][C]86[/C][C]500[/C][C]472.446851935731[/C][C]570.833333333333[/C][C]0.827644120179382[/C][C]1.05832010087775[/C][/ROW]
[ROW][C]87[/C][C]460[/C][C]462.99387549671[/C][C]575.833333333333[/C][C]0.804041462512377[/C][C]0.993533660691519[/C][/ROW]
[ROW][C]88[/C][C]310[/C][C]362.333476658907[/C][C]578.75[/C][C]0.626062162693577[/C][C]0.855565438939077[/C][/ROW]
[ROW][C]89[/C][C]490[/C][C]522.366049316632[/C][C]578.333333333333[/C][C]0.903226598242016[/C][C]0.938039523512345[/C][/ROW]
[ROW][C]90[/C][C]470[/C][C]501.904050262486[/C][C]576.666666666667[/C][C]0.870353844385814[/C][C]0.936433965325044[/C][/ROW]
[ROW][C]91[/C][C]710[/C][C]655.003331391777[/C][C]575.833333333333[/C][C]1.13748769561524[/C][C]1.08396395250596[/C][/ROW]
[ROW][C]92[/C][C]710[/C][C]629.768127498298[/C][C]576.25[/C][C]1.09287310628772[/C][C]1.12739906800367[/C][/ROW]
[ROW][C]93[/C][C]540[/C][C]554.920837505065[/C][C]573.75[/C][C]0.967182287590527[/C][C]0.973111772893321[/C][/ROW]
[ROW][C]94[/C][C]700[/C][C]674.630805628631[/C][C]569.166666666667[/C][C]1.18529570535045[/C][C]1.03760455964908[/C][/ROW]
[ROW][C]95[/C][C]520[/C][C]598.507136716734[/C][C]569.166666666667[/C][C]1.05154987417289[/C][C]0.868828403371419[/C][/ROW]
[ROW][C]96[/C][C]810[/C][C]808.88637074723[/C][C]572.5[/C][C]1.41290195763708[/C][C]1.00137674374677[/C][/ROW]
[ROW][C]97[/C][C]690[/C][C]641.990728603102[/C][C]572.5[/C][C]1.12138118533293[/C][C]1.07478187652548[/C][/ROW]
[ROW][C]98[/C][C]510[/C][C]474.515962236179[/C][C]573.333333333333[/C][C]0.827644120179382[/C][C]1.07477943965594[/C][/ROW]
[ROW][C]99[/C][C]390[/C][C]463.998927324851[/C][C]577.083333333333[/C][C]0.804041462512377[/C][C]0.840519184491469[/C][/ROW]
[ROW][C]100[/C][C]270[/C][C]360.507462017718[/C][C]575.833333333333[/C][C]0.626062162693577[/C][C]0.748944275629807[/C][/ROW]
[ROW][C]101[/C][C]530[/C][C]516.344538661686[/C][C]571.666666666667[/C][C]0.903226598242016[/C][C]1.02644641381065[/C][/ROW]
[ROW][C]102[/C][C]510[/C][C]496.826986170235[/C][C]570.833333333333[/C][C]0.870353844385814[/C][C]1.02651428806496[/C][/ROW]
[ROW][C]103[/C][C]670[/C][C]NA[/C][C]NA[/C][C]1.13748769561524[/C][C]NA[/C][/ROW]
[ROW][C]104[/C][C]770[/C][C]NA[/C][C]NA[/C][C]1.09287310628772[/C][C]NA[/C][/ROW]
[ROW][C]105[/C][C]570[/C][C]NA[/C][C]NA[/C][C]0.967182287590527[/C][C]NA[/C][/ROW]
[ROW][C]106[/C][C]640[/C][C]NA[/C][C]NA[/C][C]1.18529570535045[/C][C]NA[/C][/ROW]
[ROW][C]107[/C][C]480[/C][C]NA[/C][C]NA[/C][C]1.05154987417289[/C][C]NA[/C][/ROW]
[ROW][C]108[/C][C]830[/C][C]NA[/C][C]NA[/C][C]1.41290195763708[/C][C]NA[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=169011&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=169011&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
1540NANA1.12138118533293NA
2520NANA0.827644120179382NA
3550NANA0.804041462512377NA
4440NANA0.626062162693577NA
5570NANA0.903226598242016NA
6560NANA0.870353844385814NA
7600663.534489108891583.3333333333331.137487695615240.904248399816841
8620637.053948206882582.9166666666671.092873106287720.97322997800283
9690560.159741562847579.1666666666670.9671822875905271.23179148518403
10600683.520523418759576.6666666666671.185295705350450.877808316565222
11570604.203031868504574.5833333333331.051549874172890.943391492487665
12710805.3541158531375701.412901957637080.881599765896614
13600634.982096194772566.251.121381185332930.944908531430402
14450466.584372751127563.750.8276441201793820.964455790378619
15530447.24806352251556.250.8040414625123771.18502469485444
16400346.681922591568553.750.6260621626935771.15379537822411
17560504.677861767726558.750.9032265982420161.10961871408129
18460490.661979772503563.750.8703538443858140.937508955173745
19610641.258688403093563.751.137487695615240.951254167829
20550614.285758492555562.0833333333331.092873106287720.895348772775865
21580543.234051530012561.6666666666670.9671822875905271.06767975675758
22650663.271721785689559.5833333333331.185295705350450.979990520702499
23640585.800909070479557.0833333333331.051549874172891.0925213499848
24760782.394459041534553.751.412901957637080.971377022443425
25550617.226894093667550.4166666666671.121381185332930.891082364140366
26460454.514562665177549.1666666666670.8276441201793821.01206878235685
27510438.537614345292545.4166666666670.8040414625123771.16295611440628
28370340.421300964632543.750.6260621626935771.08688850830295
29530492.634840457833545.4166666666670.9032265982420161.07584757811169
30410472.892255449626543.3333333333330.8703538443858140.86700510586745
31580615.66521525175541.251.137487695615240.942070439634687
32550592.883660161087542.51.092873106287720.927669350594963
33490523.890405778202541.6666666666670.9671822875905270.935310123254004
34700639.071934468117539.1666666666671.185295705350451.09533835276711
35630565.208057367926537.51.051549874172891.11463379155244
36720758.846093080916537.0833333333331.412901957637080.948808996402418
37540604.611355758671539.1666666666671.121381185332930.893135722405352
38500447.962380047091541.250.8276441201793821.11616515642996
39450436.527510689011542.9166666666670.8040414625123771.0308628642665
40370339.37786402681542.0833333333330.6260621626935771.09023021009635
41490488.118707466623540.4166666666670.9032265982420161.0038541701119
42440472.892255449626543.3333333333330.8703538443858140.930444503857752
43600626.566139001396550.8333333333331.137487695615240.957600423406639
44580601.535572252531550.4166666666671.092873106287720.964199004604352
45500525.50237625752543.3333333333330.9671822875905270.951470483465479
46670642.035173731493541.6666666666671.185295705350451.04355653305718
47620569.151369396075541.251.051549874172891.08934113724066
48800764.144475422056540.8333333333331.412901957637081.04692244167327
49640608.349293043114542.51.121381185332931.05202719444048
50390449.341786914056542.9166666666670.8276441201793820.867936193244796
51390436.527510689011542.9166666666670.8040414625123770.893414482364301
52390339.37786402681542.0833333333330.6260621626935771.14916157280426
53460487.366018634754539.5833333333330.9032265982420160.94384914501956
54460470.3537234035540.4166666666670.8703538443858140.977987368041694
55620618.508934490788543.751.137487695615241.00241074207027
56570595.6158429268065451.092873106287720.956992677023277
57510527.920331976496545.8333333333330.9671822875905270.966054855456308
58640645.492286205432544.5833333333331.185295705350450.991491321704681
59590570.903952519696542.9166666666671.051549874172891.03344879186074
60850772.386403508272546.6666666666671.412901957637081.10048545150355
61670619.563104896444552.51.121381185332931.08140719598206
62390462.791003866971559.1666666666670.8276441201793820.842713010281646
63410453.948409043446564.5833333333330.8040414625123770.903186335345786
64340353.985981156326565.4166666666670.6260621626935770.960490014009481
65470509.193994758936563.750.9032265982420160.923027382171913
66540487.760800291217560.4166666666670.8703538443858141.1071000368984
67680632.253577479472555.8333333333331.137487695615241.07551783686361
68670609.276756755403557.51.092873106287721.09966446704445
69540544.443029389501562.9166666666670.9671822875905270.991839312564103
70630668.210453891316563.751.185295705350450.942816737348544
71560593.24938734587564.1666666666671.051549874172890.943953777188673
72800801.233151810029567.0833333333331.412901957637080.998460932617125
73610638.720033479215569.5833333333331.121381185332930.955035020081064
74490471.067445068765569.1666666666670.8276441201793821.04019075215115
75440454.953460871587565.8333333333330.8040414625123770.967131888956424
76330354.246840390782565.8333333333330.6260621626935770.93155382737067
77490512.581094502344567.50.9032265982420160.955946298557368
78590494.28845412411567.9166666666670.8703538443858141.19363500214767
79690651.211705739726572.51.137487695615241.05956326324972
80650629.768127498297576.251.092873106287721.03212590732731
81480558.547771083529577.50.9671822875905270.859371435801894
82690684.508269839885577.51.185295705350451.0080228835824
83540606.393760773031576.6666666666671.051549874172890.890510481690326
84830807.708952449199571.6666666666671.412901957637081.02759787109355
85690636.383822676438567.51.121381185332931.08425132037152
86500472.446851935731570.8333333333330.8276441201793821.05832010087775
87460462.99387549671575.8333333333330.8040414625123770.993533660691519
88310362.333476658907578.750.6260621626935770.855565438939077
89490522.366049316632578.3333333333330.9032265982420160.938039523512345
90470501.904050262486576.6666666666670.8703538443858140.936433965325044
91710655.003331391777575.8333333333331.137487695615241.08396395250596
92710629.768127498298576.251.092873106287721.12739906800367
93540554.920837505065573.750.9671822875905270.973111772893321
94700674.630805628631569.1666666666671.185295705350451.03760455964908
95520598.507136716734569.1666666666671.051549874172890.868828403371419
96810808.88637074723572.51.412901957637081.00137674374677
97690641.990728603102572.51.121381185332931.07478187652548
98510474.515962236179573.3333333333330.8276441201793821.07477943965594
99390463.998927324851577.0833333333330.8040414625123770.840519184491469
100270360.507462017718575.8333333333330.6260621626935770.748944275629807
101530516.344538661686571.6666666666670.9032265982420161.02644641381065
102510496.826986170235570.8333333333330.8703538443858141.02651428806496
103670NANA1.13748769561524NA
104770NANA1.09287310628772NA
105570NANA0.967182287590527NA
106640NANA1.18529570535045NA
107480NANA1.05154987417289NA
108830NANA1.41290195763708NA



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