Free Statistics

of Irreproducible Research!

Author's title

Author*Unverified author*
R Software Modulerwasp_decompose.wasp
Title produced by softwareClassical Decomposition
Date of computationMon, 15 Aug 2011 12:56:35 -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/2011/Aug/15/t1313427515wwxwmhs3xtd28mu.htm/, Retrieved Tue, 14 May 2024 07:41:05 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=123800, Retrieved Tue, 14 May 2024 07:41:05 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywordsBerns Sophie
Estimated Impact113
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-       [Classical Decomposition] [Tijdreeks B - Sta...] [2011-08-15 16:56:35] [adf65953347764930908a56f01d4e8ba] [Current]
Feedback Forum

Post a new message
Dataseries X:
860
950
780
840
840
900
860
810
870
930
790
930
820
930
730
860
800
890
850
890
850
1040
740
940
790
920
770
780
770
890
890
860
830
1020
740
940
780
860
820
760
780
900
820
980
830
930
770
960
750
850
850
820
730
960
760
940
880
890
830
850
850
860
800
840
760
910
650
990
780
910
820
780
890
810
830
890
760
860
670
940
740
920
800
800
920
810
790
850
780
900
710
960
760
920
740
800
870
740
710
900
740
880
700
1040
880
900
820
740




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=123800&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=123800&T=0

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=123800&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
1860NANA-4.94791666666665NA
2950NANA8.43750000000002NA
3780NANA-52.8125NA
4840NANA-2.70833333333333NA
5840NANA-75.2083333333334NA
6900NANA59.375NA
7860794.895833333333861.666666666667-66.770833333333365.1041666666667
8810938.4375859.16666666666779.2708333333333-128.4375
9870833.229166666667856.25-23.020833333333336.7708333333335
10930959.53125855104.53125-29.5312499999999
11790792.65625854.166666666667-61.5104166666667-2.65624999999989
12930887.447916666667852.08333333333335.364583333333342.5520833333335
13820846.302083333333851.25-4.94791666666665-26.3020833333334
14930862.604166666667854.1666666666678.4375000000000267.3958333333334
15730803.854166666667856.666666666667-52.8125-73.8541666666667
16860857.708333333333860.416666666667-2.708333333333332.29166666666663
17800787.708333333333862.916666666667-75.208333333333412.2916666666666
18890920.625861.2559.375-30.625
19850793.645833333333860.416666666667-66.770833333333356.3541666666669
20890938.020833333333858.7579.2708333333333-48.0208333333331
21850836.979166666667860-23.020833333333313.0208333333335
221040962.864583333333858.333333333333104.5312577.1354166666666
23740792.239583333333853.75-61.5104166666667-52.2395833333334
24940887.864583333333852.535.364583333333352.1354166666667
25790849.21875854.166666666667-4.94791666666665-59.2187499999999
26920863.020833333333854.5833333333338.4375000000000256.9791666666666
27770799.6875852.5-52.8125-29.6875
28780848.125850.833333333333-2.70833333333333-68.125
29770774.791666666667850-75.2083333333334-4.79166666666674
30890909.37585059.375-19.3749999999999
31890782.8125849.583333333333-66.7708333333333107.1875
32860925.9375846.66666666666779.2708333333333-65.9374999999999
33830823.229166666667846.25-23.02083333333336.77083333333348
341020952.03125847.5104.5312567.9687500000001
35740785.572916666667847.083333333333-61.5104166666667-45.5729166666665
36940883.28125847.91666666666735.364583333333356.7187500000001
37780840.46875845.416666666667-4.94791666666665-60.46875
38860855.9375847.58.437500000000024.0625
39820799.6875852.5-52.812520.3125
40760846.041666666667848.75-2.70833333333333-86.0416666666665
41780771.041666666667846.25-75.20833333333348.95833333333326
42900907.708333333333848.33333333333359.375-7.70833333333326
43820781.145833333333847.916666666667-66.770833333333338.8541666666667
44980925.520833333333846.2579.270833333333354.4791666666666
45830824.0625847.083333333333-23.02083333333335.9375
46930955.364583333333850.833333333333104.53125-25.3645833333333
47770789.739583333333851.25-61.5104166666667-19.7395833333334
48960887.03125851.66666666666735.364583333333372.9687500000001
49750846.71875851.666666666667-4.94791666666665-96.7187499999999
50850855.9375847.58.43750000000002-5.93749999999989
51850795.104166666667847.916666666667-52.812554.8958333333334
52820845.625848.333333333333-2.70833333333333-25.6249999999999
53730773.958333333333849.166666666667-75.2083333333334-43.9583333333334
54960906.458333333333847.08333333333359.37553.5416666666665
55760779.895833333333846.666666666667-66.7708333333333-19.8958333333334
56940930.520833333333851.2579.27083333333339.47916666666674
57880826.5625849.583333333333-23.020833333333353.4375
58890952.864583333333848.333333333333104.53125-62.8645833333335
59830788.90625850.416666666667-61.510416666666741.0937499999999
60850884.947916666667849.58333333333335.3645833333333-34.9479166666666
61850837.96875842.916666666667-4.9479166666666512.03125
62860848.854166666667840.4166666666678.4375000000000211.1458333333334
63800785.520833333333838.333333333333-52.812514.4791666666667
64840832.291666666667835-2.708333333333337.70833333333337
65760760.208333333333835.416666666667-75.2083333333334-0.208333333333258
66910891.458333333333832.08333333333359.37518.5416666666667
67650764.0625830.833333333333-66.7708333333333-114.0625
68990909.6875830.41666666666779.270833333333380.3125
69780806.5625829.583333333333-23.0208333333333-26.5625
70910937.447916666667832.916666666667104.53125-27.4479166666666
71820773.489583333333835-61.510416666666746.5104166666666
72780868.28125832.91666666666735.3645833333333-88.2812499999999
73890826.71875831.666666666667-4.9479166666666563.2812499999999
74810838.854166666667830.4166666666678.43750000000002-28.8541666666667
75830773.854166666667826.666666666667-52.812556.1458333333333
76890822.708333333333825.416666666667-2.7083333333333367.2916666666667
77760749.791666666667825-75.208333333333410.2083333333335
78860884.37582559.375-24.3749999999999
79670760.3125827.083333333333-66.7708333333333-90.3124999999999
80940907.604166666667828.33333333333379.270833333333332.3958333333335
81740803.645833333333826.666666666667-23.0208333333333-63.6458333333334
82920927.864583333333823.333333333333104.53125-7.86458333333348
83800760.989583333333822.5-61.510416666666739.0104166666666
84800860.36458333333382535.3645833333333-60.3645833333334
85920823.385416666667828.333333333333-4.9479166666666596.6145833333334
86810839.270833333333830.8333333333338.43750000000002-29.2708333333331
87790779.6875832.5-52.812510.3125000000002
88850830.625833.333333333333-2.7083333333333319.3750000000001
89780755.625830.833333333333-75.208333333333424.375
90900887.708333333333828.33333333333359.37512.2916666666666
91710759.479166666667826.25-66.7708333333333-49.4791666666667
92960900.520833333333821.2579.270833333333359.4791666666667
93760791.979166666667815-23.0208333333333-31.9791666666665
94920918.28125813.75104.531251.71875000000011
95740752.65625814.166666666667-61.5104166666667-12.65625
96800847.03125811.66666666666735.3645833333333-47.0312499999999
97870805.46875810.416666666667-4.9479166666666564.5312499999999
98740821.770833333333813.3333333333338.43750000000002-81.7708333333333
99710768.854166666667821.666666666667-52.8125-58.8541666666665
100900823.125825.833333333333-2.7083333333333376.8750000000001
101740753.125828.333333333333-75.2083333333334-13.1249999999999
102880888.541666666667829.16666666666759.375-8.54166666666663
103700NANA-66.7708333333333NA
1041040NANA79.2708333333333NA
105880NANA-23.0208333333333NA
106900NANA104.53125NA
107820NANA-61.5104166666667NA
108740NANA35.3645833333333NA

\begin{tabular}{lllllllll}
\hline
Classical Decomposition by Moving Averages \tabularnewline
t & Observations & Fit & Trend & Seasonal & Random \tabularnewline
1 & 860 & NA & NA & -4.94791666666665 & NA \tabularnewline
2 & 950 & NA & NA & 8.43750000000002 & NA \tabularnewline
3 & 780 & NA & NA & -52.8125 & NA \tabularnewline
4 & 840 & NA & NA & -2.70833333333333 & NA \tabularnewline
5 & 840 & NA & NA & -75.2083333333334 & NA \tabularnewline
6 & 900 & NA & NA & 59.375 & NA \tabularnewline
7 & 860 & 794.895833333333 & 861.666666666667 & -66.7708333333333 & 65.1041666666667 \tabularnewline
8 & 810 & 938.4375 & 859.166666666667 & 79.2708333333333 & -128.4375 \tabularnewline
9 & 870 & 833.229166666667 & 856.25 & -23.0208333333333 & 36.7708333333335 \tabularnewline
10 & 930 & 959.53125 & 855 & 104.53125 & -29.5312499999999 \tabularnewline
11 & 790 & 792.65625 & 854.166666666667 & -61.5104166666667 & -2.65624999999989 \tabularnewline
12 & 930 & 887.447916666667 & 852.083333333333 & 35.3645833333333 & 42.5520833333335 \tabularnewline
13 & 820 & 846.302083333333 & 851.25 & -4.94791666666665 & -26.3020833333334 \tabularnewline
14 & 930 & 862.604166666667 & 854.166666666667 & 8.43750000000002 & 67.3958333333334 \tabularnewline
15 & 730 & 803.854166666667 & 856.666666666667 & -52.8125 & -73.8541666666667 \tabularnewline
16 & 860 & 857.708333333333 & 860.416666666667 & -2.70833333333333 & 2.29166666666663 \tabularnewline
17 & 800 & 787.708333333333 & 862.916666666667 & -75.2083333333334 & 12.2916666666666 \tabularnewline
18 & 890 & 920.625 & 861.25 & 59.375 & -30.625 \tabularnewline
19 & 850 & 793.645833333333 & 860.416666666667 & -66.7708333333333 & 56.3541666666669 \tabularnewline
20 & 890 & 938.020833333333 & 858.75 & 79.2708333333333 & -48.0208333333331 \tabularnewline
21 & 850 & 836.979166666667 & 860 & -23.0208333333333 & 13.0208333333335 \tabularnewline
22 & 1040 & 962.864583333333 & 858.333333333333 & 104.53125 & 77.1354166666666 \tabularnewline
23 & 740 & 792.239583333333 & 853.75 & -61.5104166666667 & -52.2395833333334 \tabularnewline
24 & 940 & 887.864583333333 & 852.5 & 35.3645833333333 & 52.1354166666667 \tabularnewline
25 & 790 & 849.21875 & 854.166666666667 & -4.94791666666665 & -59.2187499999999 \tabularnewline
26 & 920 & 863.020833333333 & 854.583333333333 & 8.43750000000002 & 56.9791666666666 \tabularnewline
27 & 770 & 799.6875 & 852.5 & -52.8125 & -29.6875 \tabularnewline
28 & 780 & 848.125 & 850.833333333333 & -2.70833333333333 & -68.125 \tabularnewline
29 & 770 & 774.791666666667 & 850 & -75.2083333333334 & -4.79166666666674 \tabularnewline
30 & 890 & 909.375 & 850 & 59.375 & -19.3749999999999 \tabularnewline
31 & 890 & 782.8125 & 849.583333333333 & -66.7708333333333 & 107.1875 \tabularnewline
32 & 860 & 925.9375 & 846.666666666667 & 79.2708333333333 & -65.9374999999999 \tabularnewline
33 & 830 & 823.229166666667 & 846.25 & -23.0208333333333 & 6.77083333333348 \tabularnewline
34 & 1020 & 952.03125 & 847.5 & 104.53125 & 67.9687500000001 \tabularnewline
35 & 740 & 785.572916666667 & 847.083333333333 & -61.5104166666667 & -45.5729166666665 \tabularnewline
36 & 940 & 883.28125 & 847.916666666667 & 35.3645833333333 & 56.7187500000001 \tabularnewline
37 & 780 & 840.46875 & 845.416666666667 & -4.94791666666665 & -60.46875 \tabularnewline
38 & 860 & 855.9375 & 847.5 & 8.43750000000002 & 4.0625 \tabularnewline
39 & 820 & 799.6875 & 852.5 & -52.8125 & 20.3125 \tabularnewline
40 & 760 & 846.041666666667 & 848.75 & -2.70833333333333 & -86.0416666666665 \tabularnewline
41 & 780 & 771.041666666667 & 846.25 & -75.2083333333334 & 8.95833333333326 \tabularnewline
42 & 900 & 907.708333333333 & 848.333333333333 & 59.375 & -7.70833333333326 \tabularnewline
43 & 820 & 781.145833333333 & 847.916666666667 & -66.7708333333333 & 38.8541666666667 \tabularnewline
44 & 980 & 925.520833333333 & 846.25 & 79.2708333333333 & 54.4791666666666 \tabularnewline
45 & 830 & 824.0625 & 847.083333333333 & -23.0208333333333 & 5.9375 \tabularnewline
46 & 930 & 955.364583333333 & 850.833333333333 & 104.53125 & -25.3645833333333 \tabularnewline
47 & 770 & 789.739583333333 & 851.25 & -61.5104166666667 & -19.7395833333334 \tabularnewline
48 & 960 & 887.03125 & 851.666666666667 & 35.3645833333333 & 72.9687500000001 \tabularnewline
49 & 750 & 846.71875 & 851.666666666667 & -4.94791666666665 & -96.7187499999999 \tabularnewline
50 & 850 & 855.9375 & 847.5 & 8.43750000000002 & -5.93749999999989 \tabularnewline
51 & 850 & 795.104166666667 & 847.916666666667 & -52.8125 & 54.8958333333334 \tabularnewline
52 & 820 & 845.625 & 848.333333333333 & -2.70833333333333 & -25.6249999999999 \tabularnewline
53 & 730 & 773.958333333333 & 849.166666666667 & -75.2083333333334 & -43.9583333333334 \tabularnewline
54 & 960 & 906.458333333333 & 847.083333333333 & 59.375 & 53.5416666666665 \tabularnewline
55 & 760 & 779.895833333333 & 846.666666666667 & -66.7708333333333 & -19.8958333333334 \tabularnewline
56 & 940 & 930.520833333333 & 851.25 & 79.2708333333333 & 9.47916666666674 \tabularnewline
57 & 880 & 826.5625 & 849.583333333333 & -23.0208333333333 & 53.4375 \tabularnewline
58 & 890 & 952.864583333333 & 848.333333333333 & 104.53125 & -62.8645833333335 \tabularnewline
59 & 830 & 788.90625 & 850.416666666667 & -61.5104166666667 & 41.0937499999999 \tabularnewline
60 & 850 & 884.947916666667 & 849.583333333333 & 35.3645833333333 & -34.9479166666666 \tabularnewline
61 & 850 & 837.96875 & 842.916666666667 & -4.94791666666665 & 12.03125 \tabularnewline
62 & 860 & 848.854166666667 & 840.416666666667 & 8.43750000000002 & 11.1458333333334 \tabularnewline
63 & 800 & 785.520833333333 & 838.333333333333 & -52.8125 & 14.4791666666667 \tabularnewline
64 & 840 & 832.291666666667 & 835 & -2.70833333333333 & 7.70833333333337 \tabularnewline
65 & 760 & 760.208333333333 & 835.416666666667 & -75.2083333333334 & -0.208333333333258 \tabularnewline
66 & 910 & 891.458333333333 & 832.083333333333 & 59.375 & 18.5416666666667 \tabularnewline
67 & 650 & 764.0625 & 830.833333333333 & -66.7708333333333 & -114.0625 \tabularnewline
68 & 990 & 909.6875 & 830.416666666667 & 79.2708333333333 & 80.3125 \tabularnewline
69 & 780 & 806.5625 & 829.583333333333 & -23.0208333333333 & -26.5625 \tabularnewline
70 & 910 & 937.447916666667 & 832.916666666667 & 104.53125 & -27.4479166666666 \tabularnewline
71 & 820 & 773.489583333333 & 835 & -61.5104166666667 & 46.5104166666666 \tabularnewline
72 & 780 & 868.28125 & 832.916666666667 & 35.3645833333333 & -88.2812499999999 \tabularnewline
73 & 890 & 826.71875 & 831.666666666667 & -4.94791666666665 & 63.2812499999999 \tabularnewline
74 & 810 & 838.854166666667 & 830.416666666667 & 8.43750000000002 & -28.8541666666667 \tabularnewline
75 & 830 & 773.854166666667 & 826.666666666667 & -52.8125 & 56.1458333333333 \tabularnewline
76 & 890 & 822.708333333333 & 825.416666666667 & -2.70833333333333 & 67.2916666666667 \tabularnewline
77 & 760 & 749.791666666667 & 825 & -75.2083333333334 & 10.2083333333335 \tabularnewline
78 & 860 & 884.375 & 825 & 59.375 & -24.3749999999999 \tabularnewline
79 & 670 & 760.3125 & 827.083333333333 & -66.7708333333333 & -90.3124999999999 \tabularnewline
80 & 940 & 907.604166666667 & 828.333333333333 & 79.2708333333333 & 32.3958333333335 \tabularnewline
81 & 740 & 803.645833333333 & 826.666666666667 & -23.0208333333333 & -63.6458333333334 \tabularnewline
82 & 920 & 927.864583333333 & 823.333333333333 & 104.53125 & -7.86458333333348 \tabularnewline
83 & 800 & 760.989583333333 & 822.5 & -61.5104166666667 & 39.0104166666666 \tabularnewline
84 & 800 & 860.364583333333 & 825 & 35.3645833333333 & -60.3645833333334 \tabularnewline
85 & 920 & 823.385416666667 & 828.333333333333 & -4.94791666666665 & 96.6145833333334 \tabularnewline
86 & 810 & 839.270833333333 & 830.833333333333 & 8.43750000000002 & -29.2708333333331 \tabularnewline
87 & 790 & 779.6875 & 832.5 & -52.8125 & 10.3125000000002 \tabularnewline
88 & 850 & 830.625 & 833.333333333333 & -2.70833333333333 & 19.3750000000001 \tabularnewline
89 & 780 & 755.625 & 830.833333333333 & -75.2083333333334 & 24.375 \tabularnewline
90 & 900 & 887.708333333333 & 828.333333333333 & 59.375 & 12.2916666666666 \tabularnewline
91 & 710 & 759.479166666667 & 826.25 & -66.7708333333333 & -49.4791666666667 \tabularnewline
92 & 960 & 900.520833333333 & 821.25 & 79.2708333333333 & 59.4791666666667 \tabularnewline
93 & 760 & 791.979166666667 & 815 & -23.0208333333333 & -31.9791666666665 \tabularnewline
94 & 920 & 918.28125 & 813.75 & 104.53125 & 1.71875000000011 \tabularnewline
95 & 740 & 752.65625 & 814.166666666667 & -61.5104166666667 & -12.65625 \tabularnewline
96 & 800 & 847.03125 & 811.666666666667 & 35.3645833333333 & -47.0312499999999 \tabularnewline
97 & 870 & 805.46875 & 810.416666666667 & -4.94791666666665 & 64.5312499999999 \tabularnewline
98 & 740 & 821.770833333333 & 813.333333333333 & 8.43750000000002 & -81.7708333333333 \tabularnewline
99 & 710 & 768.854166666667 & 821.666666666667 & -52.8125 & -58.8541666666665 \tabularnewline
100 & 900 & 823.125 & 825.833333333333 & -2.70833333333333 & 76.8750000000001 \tabularnewline
101 & 740 & 753.125 & 828.333333333333 & -75.2083333333334 & -13.1249999999999 \tabularnewline
102 & 880 & 888.541666666667 & 829.166666666667 & 59.375 & -8.54166666666663 \tabularnewline
103 & 700 & NA & NA & -66.7708333333333 & NA \tabularnewline
104 & 1040 & NA & NA & 79.2708333333333 & NA \tabularnewline
105 & 880 & NA & NA & -23.0208333333333 & NA \tabularnewline
106 & 900 & NA & NA & 104.53125 & NA \tabularnewline
107 & 820 & NA & NA & -61.5104166666667 & NA \tabularnewline
108 & 740 & NA & NA & 35.3645833333333 & NA \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=123800&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]860[/C][C]NA[/C][C]NA[/C][C]-4.94791666666665[/C][C]NA[/C][/ROW]
[ROW][C]2[/C][C]950[/C][C]NA[/C][C]NA[/C][C]8.43750000000002[/C][C]NA[/C][/ROW]
[ROW][C]3[/C][C]780[/C][C]NA[/C][C]NA[/C][C]-52.8125[/C][C]NA[/C][/ROW]
[ROW][C]4[/C][C]840[/C][C]NA[/C][C]NA[/C][C]-2.70833333333333[/C][C]NA[/C][/ROW]
[ROW][C]5[/C][C]840[/C][C]NA[/C][C]NA[/C][C]-75.2083333333334[/C][C]NA[/C][/ROW]
[ROW][C]6[/C][C]900[/C][C]NA[/C][C]NA[/C][C]59.375[/C][C]NA[/C][/ROW]
[ROW][C]7[/C][C]860[/C][C]794.895833333333[/C][C]861.666666666667[/C][C]-66.7708333333333[/C][C]65.1041666666667[/C][/ROW]
[ROW][C]8[/C][C]810[/C][C]938.4375[/C][C]859.166666666667[/C][C]79.2708333333333[/C][C]-128.4375[/C][/ROW]
[ROW][C]9[/C][C]870[/C][C]833.229166666667[/C][C]856.25[/C][C]-23.0208333333333[/C][C]36.7708333333335[/C][/ROW]
[ROW][C]10[/C][C]930[/C][C]959.53125[/C][C]855[/C][C]104.53125[/C][C]-29.5312499999999[/C][/ROW]
[ROW][C]11[/C][C]790[/C][C]792.65625[/C][C]854.166666666667[/C][C]-61.5104166666667[/C][C]-2.65624999999989[/C][/ROW]
[ROW][C]12[/C][C]930[/C][C]887.447916666667[/C][C]852.083333333333[/C][C]35.3645833333333[/C][C]42.5520833333335[/C][/ROW]
[ROW][C]13[/C][C]820[/C][C]846.302083333333[/C][C]851.25[/C][C]-4.94791666666665[/C][C]-26.3020833333334[/C][/ROW]
[ROW][C]14[/C][C]930[/C][C]862.604166666667[/C][C]854.166666666667[/C][C]8.43750000000002[/C][C]67.3958333333334[/C][/ROW]
[ROW][C]15[/C][C]730[/C][C]803.854166666667[/C][C]856.666666666667[/C][C]-52.8125[/C][C]-73.8541666666667[/C][/ROW]
[ROW][C]16[/C][C]860[/C][C]857.708333333333[/C][C]860.416666666667[/C][C]-2.70833333333333[/C][C]2.29166666666663[/C][/ROW]
[ROW][C]17[/C][C]800[/C][C]787.708333333333[/C][C]862.916666666667[/C][C]-75.2083333333334[/C][C]12.2916666666666[/C][/ROW]
[ROW][C]18[/C][C]890[/C][C]920.625[/C][C]861.25[/C][C]59.375[/C][C]-30.625[/C][/ROW]
[ROW][C]19[/C][C]850[/C][C]793.645833333333[/C][C]860.416666666667[/C][C]-66.7708333333333[/C][C]56.3541666666669[/C][/ROW]
[ROW][C]20[/C][C]890[/C][C]938.020833333333[/C][C]858.75[/C][C]79.2708333333333[/C][C]-48.0208333333331[/C][/ROW]
[ROW][C]21[/C][C]850[/C][C]836.979166666667[/C][C]860[/C][C]-23.0208333333333[/C][C]13.0208333333335[/C][/ROW]
[ROW][C]22[/C][C]1040[/C][C]962.864583333333[/C][C]858.333333333333[/C][C]104.53125[/C][C]77.1354166666666[/C][/ROW]
[ROW][C]23[/C][C]740[/C][C]792.239583333333[/C][C]853.75[/C][C]-61.5104166666667[/C][C]-52.2395833333334[/C][/ROW]
[ROW][C]24[/C][C]940[/C][C]887.864583333333[/C][C]852.5[/C][C]35.3645833333333[/C][C]52.1354166666667[/C][/ROW]
[ROW][C]25[/C][C]790[/C][C]849.21875[/C][C]854.166666666667[/C][C]-4.94791666666665[/C][C]-59.2187499999999[/C][/ROW]
[ROW][C]26[/C][C]920[/C][C]863.020833333333[/C][C]854.583333333333[/C][C]8.43750000000002[/C][C]56.9791666666666[/C][/ROW]
[ROW][C]27[/C][C]770[/C][C]799.6875[/C][C]852.5[/C][C]-52.8125[/C][C]-29.6875[/C][/ROW]
[ROW][C]28[/C][C]780[/C][C]848.125[/C][C]850.833333333333[/C][C]-2.70833333333333[/C][C]-68.125[/C][/ROW]
[ROW][C]29[/C][C]770[/C][C]774.791666666667[/C][C]850[/C][C]-75.2083333333334[/C][C]-4.79166666666674[/C][/ROW]
[ROW][C]30[/C][C]890[/C][C]909.375[/C][C]850[/C][C]59.375[/C][C]-19.3749999999999[/C][/ROW]
[ROW][C]31[/C][C]890[/C][C]782.8125[/C][C]849.583333333333[/C][C]-66.7708333333333[/C][C]107.1875[/C][/ROW]
[ROW][C]32[/C][C]860[/C][C]925.9375[/C][C]846.666666666667[/C][C]79.2708333333333[/C][C]-65.9374999999999[/C][/ROW]
[ROW][C]33[/C][C]830[/C][C]823.229166666667[/C][C]846.25[/C][C]-23.0208333333333[/C][C]6.77083333333348[/C][/ROW]
[ROW][C]34[/C][C]1020[/C][C]952.03125[/C][C]847.5[/C][C]104.53125[/C][C]67.9687500000001[/C][/ROW]
[ROW][C]35[/C][C]740[/C][C]785.572916666667[/C][C]847.083333333333[/C][C]-61.5104166666667[/C][C]-45.5729166666665[/C][/ROW]
[ROW][C]36[/C][C]940[/C][C]883.28125[/C][C]847.916666666667[/C][C]35.3645833333333[/C][C]56.7187500000001[/C][/ROW]
[ROW][C]37[/C][C]780[/C][C]840.46875[/C][C]845.416666666667[/C][C]-4.94791666666665[/C][C]-60.46875[/C][/ROW]
[ROW][C]38[/C][C]860[/C][C]855.9375[/C][C]847.5[/C][C]8.43750000000002[/C][C]4.0625[/C][/ROW]
[ROW][C]39[/C][C]820[/C][C]799.6875[/C][C]852.5[/C][C]-52.8125[/C][C]20.3125[/C][/ROW]
[ROW][C]40[/C][C]760[/C][C]846.041666666667[/C][C]848.75[/C][C]-2.70833333333333[/C][C]-86.0416666666665[/C][/ROW]
[ROW][C]41[/C][C]780[/C][C]771.041666666667[/C][C]846.25[/C][C]-75.2083333333334[/C][C]8.95833333333326[/C][/ROW]
[ROW][C]42[/C][C]900[/C][C]907.708333333333[/C][C]848.333333333333[/C][C]59.375[/C][C]-7.70833333333326[/C][/ROW]
[ROW][C]43[/C][C]820[/C][C]781.145833333333[/C][C]847.916666666667[/C][C]-66.7708333333333[/C][C]38.8541666666667[/C][/ROW]
[ROW][C]44[/C][C]980[/C][C]925.520833333333[/C][C]846.25[/C][C]79.2708333333333[/C][C]54.4791666666666[/C][/ROW]
[ROW][C]45[/C][C]830[/C][C]824.0625[/C][C]847.083333333333[/C][C]-23.0208333333333[/C][C]5.9375[/C][/ROW]
[ROW][C]46[/C][C]930[/C][C]955.364583333333[/C][C]850.833333333333[/C][C]104.53125[/C][C]-25.3645833333333[/C][/ROW]
[ROW][C]47[/C][C]770[/C][C]789.739583333333[/C][C]851.25[/C][C]-61.5104166666667[/C][C]-19.7395833333334[/C][/ROW]
[ROW][C]48[/C][C]960[/C][C]887.03125[/C][C]851.666666666667[/C][C]35.3645833333333[/C][C]72.9687500000001[/C][/ROW]
[ROW][C]49[/C][C]750[/C][C]846.71875[/C][C]851.666666666667[/C][C]-4.94791666666665[/C][C]-96.7187499999999[/C][/ROW]
[ROW][C]50[/C][C]850[/C][C]855.9375[/C][C]847.5[/C][C]8.43750000000002[/C][C]-5.93749999999989[/C][/ROW]
[ROW][C]51[/C][C]850[/C][C]795.104166666667[/C][C]847.916666666667[/C][C]-52.8125[/C][C]54.8958333333334[/C][/ROW]
[ROW][C]52[/C][C]820[/C][C]845.625[/C][C]848.333333333333[/C][C]-2.70833333333333[/C][C]-25.6249999999999[/C][/ROW]
[ROW][C]53[/C][C]730[/C][C]773.958333333333[/C][C]849.166666666667[/C][C]-75.2083333333334[/C][C]-43.9583333333334[/C][/ROW]
[ROW][C]54[/C][C]960[/C][C]906.458333333333[/C][C]847.083333333333[/C][C]59.375[/C][C]53.5416666666665[/C][/ROW]
[ROW][C]55[/C][C]760[/C][C]779.895833333333[/C][C]846.666666666667[/C][C]-66.7708333333333[/C][C]-19.8958333333334[/C][/ROW]
[ROW][C]56[/C][C]940[/C][C]930.520833333333[/C][C]851.25[/C][C]79.2708333333333[/C][C]9.47916666666674[/C][/ROW]
[ROW][C]57[/C][C]880[/C][C]826.5625[/C][C]849.583333333333[/C][C]-23.0208333333333[/C][C]53.4375[/C][/ROW]
[ROW][C]58[/C][C]890[/C][C]952.864583333333[/C][C]848.333333333333[/C][C]104.53125[/C][C]-62.8645833333335[/C][/ROW]
[ROW][C]59[/C][C]830[/C][C]788.90625[/C][C]850.416666666667[/C][C]-61.5104166666667[/C][C]41.0937499999999[/C][/ROW]
[ROW][C]60[/C][C]850[/C][C]884.947916666667[/C][C]849.583333333333[/C][C]35.3645833333333[/C][C]-34.9479166666666[/C][/ROW]
[ROW][C]61[/C][C]850[/C][C]837.96875[/C][C]842.916666666667[/C][C]-4.94791666666665[/C][C]12.03125[/C][/ROW]
[ROW][C]62[/C][C]860[/C][C]848.854166666667[/C][C]840.416666666667[/C][C]8.43750000000002[/C][C]11.1458333333334[/C][/ROW]
[ROW][C]63[/C][C]800[/C][C]785.520833333333[/C][C]838.333333333333[/C][C]-52.8125[/C][C]14.4791666666667[/C][/ROW]
[ROW][C]64[/C][C]840[/C][C]832.291666666667[/C][C]835[/C][C]-2.70833333333333[/C][C]7.70833333333337[/C][/ROW]
[ROW][C]65[/C][C]760[/C][C]760.208333333333[/C][C]835.416666666667[/C][C]-75.2083333333334[/C][C]-0.208333333333258[/C][/ROW]
[ROW][C]66[/C][C]910[/C][C]891.458333333333[/C][C]832.083333333333[/C][C]59.375[/C][C]18.5416666666667[/C][/ROW]
[ROW][C]67[/C][C]650[/C][C]764.0625[/C][C]830.833333333333[/C][C]-66.7708333333333[/C][C]-114.0625[/C][/ROW]
[ROW][C]68[/C][C]990[/C][C]909.6875[/C][C]830.416666666667[/C][C]79.2708333333333[/C][C]80.3125[/C][/ROW]
[ROW][C]69[/C][C]780[/C][C]806.5625[/C][C]829.583333333333[/C][C]-23.0208333333333[/C][C]-26.5625[/C][/ROW]
[ROW][C]70[/C][C]910[/C][C]937.447916666667[/C][C]832.916666666667[/C][C]104.53125[/C][C]-27.4479166666666[/C][/ROW]
[ROW][C]71[/C][C]820[/C][C]773.489583333333[/C][C]835[/C][C]-61.5104166666667[/C][C]46.5104166666666[/C][/ROW]
[ROW][C]72[/C][C]780[/C][C]868.28125[/C][C]832.916666666667[/C][C]35.3645833333333[/C][C]-88.2812499999999[/C][/ROW]
[ROW][C]73[/C][C]890[/C][C]826.71875[/C][C]831.666666666667[/C][C]-4.94791666666665[/C][C]63.2812499999999[/C][/ROW]
[ROW][C]74[/C][C]810[/C][C]838.854166666667[/C][C]830.416666666667[/C][C]8.43750000000002[/C][C]-28.8541666666667[/C][/ROW]
[ROW][C]75[/C][C]830[/C][C]773.854166666667[/C][C]826.666666666667[/C][C]-52.8125[/C][C]56.1458333333333[/C][/ROW]
[ROW][C]76[/C][C]890[/C][C]822.708333333333[/C][C]825.416666666667[/C][C]-2.70833333333333[/C][C]67.2916666666667[/C][/ROW]
[ROW][C]77[/C][C]760[/C][C]749.791666666667[/C][C]825[/C][C]-75.2083333333334[/C][C]10.2083333333335[/C][/ROW]
[ROW][C]78[/C][C]860[/C][C]884.375[/C][C]825[/C][C]59.375[/C][C]-24.3749999999999[/C][/ROW]
[ROW][C]79[/C][C]670[/C][C]760.3125[/C][C]827.083333333333[/C][C]-66.7708333333333[/C][C]-90.3124999999999[/C][/ROW]
[ROW][C]80[/C][C]940[/C][C]907.604166666667[/C][C]828.333333333333[/C][C]79.2708333333333[/C][C]32.3958333333335[/C][/ROW]
[ROW][C]81[/C][C]740[/C][C]803.645833333333[/C][C]826.666666666667[/C][C]-23.0208333333333[/C][C]-63.6458333333334[/C][/ROW]
[ROW][C]82[/C][C]920[/C][C]927.864583333333[/C][C]823.333333333333[/C][C]104.53125[/C][C]-7.86458333333348[/C][/ROW]
[ROW][C]83[/C][C]800[/C][C]760.989583333333[/C][C]822.5[/C][C]-61.5104166666667[/C][C]39.0104166666666[/C][/ROW]
[ROW][C]84[/C][C]800[/C][C]860.364583333333[/C][C]825[/C][C]35.3645833333333[/C][C]-60.3645833333334[/C][/ROW]
[ROW][C]85[/C][C]920[/C][C]823.385416666667[/C][C]828.333333333333[/C][C]-4.94791666666665[/C][C]96.6145833333334[/C][/ROW]
[ROW][C]86[/C][C]810[/C][C]839.270833333333[/C][C]830.833333333333[/C][C]8.43750000000002[/C][C]-29.2708333333331[/C][/ROW]
[ROW][C]87[/C][C]790[/C][C]779.6875[/C][C]832.5[/C][C]-52.8125[/C][C]10.3125000000002[/C][/ROW]
[ROW][C]88[/C][C]850[/C][C]830.625[/C][C]833.333333333333[/C][C]-2.70833333333333[/C][C]19.3750000000001[/C][/ROW]
[ROW][C]89[/C][C]780[/C][C]755.625[/C][C]830.833333333333[/C][C]-75.2083333333334[/C][C]24.375[/C][/ROW]
[ROW][C]90[/C][C]900[/C][C]887.708333333333[/C][C]828.333333333333[/C][C]59.375[/C][C]12.2916666666666[/C][/ROW]
[ROW][C]91[/C][C]710[/C][C]759.479166666667[/C][C]826.25[/C][C]-66.7708333333333[/C][C]-49.4791666666667[/C][/ROW]
[ROW][C]92[/C][C]960[/C][C]900.520833333333[/C][C]821.25[/C][C]79.2708333333333[/C][C]59.4791666666667[/C][/ROW]
[ROW][C]93[/C][C]760[/C][C]791.979166666667[/C][C]815[/C][C]-23.0208333333333[/C][C]-31.9791666666665[/C][/ROW]
[ROW][C]94[/C][C]920[/C][C]918.28125[/C][C]813.75[/C][C]104.53125[/C][C]1.71875000000011[/C][/ROW]
[ROW][C]95[/C][C]740[/C][C]752.65625[/C][C]814.166666666667[/C][C]-61.5104166666667[/C][C]-12.65625[/C][/ROW]
[ROW][C]96[/C][C]800[/C][C]847.03125[/C][C]811.666666666667[/C][C]35.3645833333333[/C][C]-47.0312499999999[/C][/ROW]
[ROW][C]97[/C][C]870[/C][C]805.46875[/C][C]810.416666666667[/C][C]-4.94791666666665[/C][C]64.5312499999999[/C][/ROW]
[ROW][C]98[/C][C]740[/C][C]821.770833333333[/C][C]813.333333333333[/C][C]8.43750000000002[/C][C]-81.7708333333333[/C][/ROW]
[ROW][C]99[/C][C]710[/C][C]768.854166666667[/C][C]821.666666666667[/C][C]-52.8125[/C][C]-58.8541666666665[/C][/ROW]
[ROW][C]100[/C][C]900[/C][C]823.125[/C][C]825.833333333333[/C][C]-2.70833333333333[/C][C]76.8750000000001[/C][/ROW]
[ROW][C]101[/C][C]740[/C][C]753.125[/C][C]828.333333333333[/C][C]-75.2083333333334[/C][C]-13.1249999999999[/C][/ROW]
[ROW][C]102[/C][C]880[/C][C]888.541666666667[/C][C]829.166666666667[/C][C]59.375[/C][C]-8.54166666666663[/C][/ROW]
[ROW][C]103[/C][C]700[/C][C]NA[/C][C]NA[/C][C]-66.7708333333333[/C][C]NA[/C][/ROW]
[ROW][C]104[/C][C]1040[/C][C]NA[/C][C]NA[/C][C]79.2708333333333[/C][C]NA[/C][/ROW]
[ROW][C]105[/C][C]880[/C][C]NA[/C][C]NA[/C][C]-23.0208333333333[/C][C]NA[/C][/ROW]
[ROW][C]106[/C][C]900[/C][C]NA[/C][C]NA[/C][C]104.53125[/C][C]NA[/C][/ROW]
[ROW][C]107[/C][C]820[/C][C]NA[/C][C]NA[/C][C]-61.5104166666667[/C][C]NA[/C][/ROW]
[ROW][C]108[/C][C]740[/C][C]NA[/C][C]NA[/C][C]35.3645833333333[/C][C]NA[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=123800&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=123800&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
1860NANA-4.94791666666665NA
2950NANA8.43750000000002NA
3780NANA-52.8125NA
4840NANA-2.70833333333333NA
5840NANA-75.2083333333334NA
6900NANA59.375NA
7860794.895833333333861.666666666667-66.770833333333365.1041666666667
8810938.4375859.16666666666779.2708333333333-128.4375
9870833.229166666667856.25-23.020833333333336.7708333333335
10930959.53125855104.53125-29.5312499999999
11790792.65625854.166666666667-61.5104166666667-2.65624999999989
12930887.447916666667852.08333333333335.364583333333342.5520833333335
13820846.302083333333851.25-4.94791666666665-26.3020833333334
14930862.604166666667854.1666666666678.4375000000000267.3958333333334
15730803.854166666667856.666666666667-52.8125-73.8541666666667
16860857.708333333333860.416666666667-2.708333333333332.29166666666663
17800787.708333333333862.916666666667-75.208333333333412.2916666666666
18890920.625861.2559.375-30.625
19850793.645833333333860.416666666667-66.770833333333356.3541666666669
20890938.020833333333858.7579.2708333333333-48.0208333333331
21850836.979166666667860-23.020833333333313.0208333333335
221040962.864583333333858.333333333333104.5312577.1354166666666
23740792.239583333333853.75-61.5104166666667-52.2395833333334
24940887.864583333333852.535.364583333333352.1354166666667
25790849.21875854.166666666667-4.94791666666665-59.2187499999999
26920863.020833333333854.5833333333338.4375000000000256.9791666666666
27770799.6875852.5-52.8125-29.6875
28780848.125850.833333333333-2.70833333333333-68.125
29770774.791666666667850-75.2083333333334-4.79166666666674
30890909.37585059.375-19.3749999999999
31890782.8125849.583333333333-66.7708333333333107.1875
32860925.9375846.66666666666779.2708333333333-65.9374999999999
33830823.229166666667846.25-23.02083333333336.77083333333348
341020952.03125847.5104.5312567.9687500000001
35740785.572916666667847.083333333333-61.5104166666667-45.5729166666665
36940883.28125847.91666666666735.364583333333356.7187500000001
37780840.46875845.416666666667-4.94791666666665-60.46875
38860855.9375847.58.437500000000024.0625
39820799.6875852.5-52.812520.3125
40760846.041666666667848.75-2.70833333333333-86.0416666666665
41780771.041666666667846.25-75.20833333333348.95833333333326
42900907.708333333333848.33333333333359.375-7.70833333333326
43820781.145833333333847.916666666667-66.770833333333338.8541666666667
44980925.520833333333846.2579.270833333333354.4791666666666
45830824.0625847.083333333333-23.02083333333335.9375
46930955.364583333333850.833333333333104.53125-25.3645833333333
47770789.739583333333851.25-61.5104166666667-19.7395833333334
48960887.03125851.66666666666735.364583333333372.9687500000001
49750846.71875851.666666666667-4.94791666666665-96.7187499999999
50850855.9375847.58.43750000000002-5.93749999999989
51850795.104166666667847.916666666667-52.812554.8958333333334
52820845.625848.333333333333-2.70833333333333-25.6249999999999
53730773.958333333333849.166666666667-75.2083333333334-43.9583333333334
54960906.458333333333847.08333333333359.37553.5416666666665
55760779.895833333333846.666666666667-66.7708333333333-19.8958333333334
56940930.520833333333851.2579.27083333333339.47916666666674
57880826.5625849.583333333333-23.020833333333353.4375
58890952.864583333333848.333333333333104.53125-62.8645833333335
59830788.90625850.416666666667-61.510416666666741.0937499999999
60850884.947916666667849.58333333333335.3645833333333-34.9479166666666
61850837.96875842.916666666667-4.9479166666666512.03125
62860848.854166666667840.4166666666678.4375000000000211.1458333333334
63800785.520833333333838.333333333333-52.812514.4791666666667
64840832.291666666667835-2.708333333333337.70833333333337
65760760.208333333333835.416666666667-75.2083333333334-0.208333333333258
66910891.458333333333832.08333333333359.37518.5416666666667
67650764.0625830.833333333333-66.7708333333333-114.0625
68990909.6875830.41666666666779.270833333333380.3125
69780806.5625829.583333333333-23.0208333333333-26.5625
70910937.447916666667832.916666666667104.53125-27.4479166666666
71820773.489583333333835-61.510416666666746.5104166666666
72780868.28125832.91666666666735.3645833333333-88.2812499999999
73890826.71875831.666666666667-4.9479166666666563.2812499999999
74810838.854166666667830.4166666666678.43750000000002-28.8541666666667
75830773.854166666667826.666666666667-52.812556.1458333333333
76890822.708333333333825.416666666667-2.7083333333333367.2916666666667
77760749.791666666667825-75.208333333333410.2083333333335
78860884.37582559.375-24.3749999999999
79670760.3125827.083333333333-66.7708333333333-90.3124999999999
80940907.604166666667828.33333333333379.270833333333332.3958333333335
81740803.645833333333826.666666666667-23.0208333333333-63.6458333333334
82920927.864583333333823.333333333333104.53125-7.86458333333348
83800760.989583333333822.5-61.510416666666739.0104166666666
84800860.36458333333382535.3645833333333-60.3645833333334
85920823.385416666667828.333333333333-4.9479166666666596.6145833333334
86810839.270833333333830.8333333333338.43750000000002-29.2708333333331
87790779.6875832.5-52.812510.3125000000002
88850830.625833.333333333333-2.7083333333333319.3750000000001
89780755.625830.833333333333-75.208333333333424.375
90900887.708333333333828.33333333333359.37512.2916666666666
91710759.479166666667826.25-66.7708333333333-49.4791666666667
92960900.520833333333821.2579.270833333333359.4791666666667
93760791.979166666667815-23.0208333333333-31.9791666666665
94920918.28125813.75104.531251.71875000000011
95740752.65625814.166666666667-61.5104166666667-12.65625
96800847.03125811.66666666666735.3645833333333-47.0312499999999
97870805.46875810.416666666667-4.9479166666666564.5312499999999
98740821.770833333333813.3333333333338.43750000000002-81.7708333333333
99710768.854166666667821.666666666667-52.8125-58.8541666666665
100900823.125825.833333333333-2.7083333333333376.8750000000001
101740753.125828.333333333333-75.2083333333334-13.1249999999999
102880888.541666666667829.16666666666759.375-8.54166666666663
103700NANA-66.7708333333333NA
1041040NANA79.2708333333333NA
105880NANA-23.0208333333333NA
106900NANA104.53125NA
107820NANA-61.5104166666667NA
108740NANA35.3645833333333NA



Parameters (Session):
par1 = 48 ; par2 = 1 ; par3 = 0 ; par4 = 0 ; par5 = 12 ; par6 = White Noise ; par7 = 0.95 ;
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')