Free Statistics

of Irreproducible Research!

Author's title

Author*Unverified author*
R Software Modulerwasp_decompose.wasp
Title produced by softwareClassical Decomposition
Date of computationSun, 17 Aug 2008 10:55:27 -0600
Cite this page as followsStatistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?v=date/2008/Aug/17/t1218992287hrw7h5xw0smx8rj.htm/, Retrieved Tue, 14 May 2024 00:50:34 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=14184, Retrieved Tue, 14 May 2024 00:50:34 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywordsAlain Piscaer 2mar04
Estimated Impact184
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-       [Classical Decomposition] [Opgave 9] [2008-08-17 16:55:27] [a3ab1f5d18edf6efe0d68a62d436c7a5] [Current]
Feedback Forum

Post a new message
Dataseries X:
2005/12
2005/11
2005/10
2005/09
2005/08
2005/07
2005/06
2005/05
2005/04
2005/03
2005/02
2005/01
2004/12
2004/11
2004/10
2004/09
2004/08
2004/07
2004/06
2004/05
2004/04
2004/03
2004/02
2004/01
2003/12
2003/11
2003/10
2003/09
2003/08
2003/07
2003/06
2003/05
2003/04
2003/03
2003/02
2003/01
2002/12
2002/11
2002/10
2002/09
2002/08
2002/07
2002/06
2002/05
2002/04
2002/03
2002/02
2002/01
2001/12
2001/11
2001/10
2001/09
2001/08
2001/07
2001/06
2001/05
2001/04
2001/03
2001/02
2001/01
2000/12
2000/11
2000/10
2000/09
2000/08
2000/07
2000/06
2000/05
2000/04
2000/03
2000/02
2000/01
1999/12
1999/11
1999/10
1999/09
1999/08
1999/07
1999/06
1999/05
1999/04
1999/03
1999/02
1999/01
1998/12
1998/11
1998/10
1998/09
1998/08
1998/07
1998/06
1998/05
1998/04
1998/03
1998/02
1998/01




Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time3 seconds
R Server'Herman Ole Andreas Wold' @ 193.190.124.10:1001

\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 & 'Herman Ole Andreas Wold' @ 193.190.124.10:1001 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=14184&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]'Herman Ole Andreas Wold' @ 193.190.124.10:1001[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=14184&T=0

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=14184&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'Herman Ole Andreas Wold' @ 193.190.124.10:1001







Classical Decomposition by Moving Averages
tObservationsFitTrendSeasonalRandom
1167.083333333333NANA-350.938494443442NA
2182.272727272727NANA-335.760337877786NA
3200.5NANA-317.546133332331NA
4222.777777777778NANA-295.282938887887NA
5250.625NANA-267.449605554554NA
6286.428571428571NANA-231.646034125982NA
7334.166666666667334.545178596481518.491311928812-183.946133332331-0.378511929814067
8401401.261845263147518.484051827802-117.222206564654-0.261845263147393
9501.25501.336845263147518.476097282347-17.1392520191999-0.0868452631473247
10668.333333333333668.128511929814518.467300986051149.6612109437630.204821403519190
111002.51001.71184526315518.457463023088483.2543822400590.788154736852562
1220052002.46184526315518.4463023088021484.015542954342.53815473685279
13167167.494911039963518.433405483405-350.938494443442-0.494911039963085
14182.181818181818182.657789827842518.418127705628-335.760337877786-0.475971646023595
15200.4200.853244373296518.399377705628-317.546133332331-0.453244373296229
16222.666666666667223.092133262185518.375072150072-295.282938887887-0.425466595518515
17250.5250.890744373296518.34034992785-267.449605554554-0.390744373296457
18286.285714285714286.631815801868518.27784992785-231.646034125982-0.346101516153453
19334334.28657770663518.232711038961-183.946133332331-0.286577706629714
20400.8401.003244373296518.225450937951-117.222206564654-0.203244373296457
21501501.078244373296518.217496392496-17.1392520191999-0.078244373296343
22668667.869911039963518.2087000962149.6612109437630.130088960036915
2310021001.45324437330518.198862133237483.2543822400590.546755626703543
2420042002.20324437330518.1877014189511484.015542954341.79675562670366
25166.916666666667167.236310150112518.174804593555-350.938494443442-0.319643483445475
26182.090909090909182.399188937991518.159526815777-335.760337877786-0.308279847081963
27200.3200.594643483446518.140776815777-317.546133332331-0.294643483445611
28222.555555555556222.833532372334518.116471260221-295.282938887887-0.277976816778846
29250.375250.632143483446518.081749037999-267.449605554554-0.257143483445589
30286.142857142857286.373214912017518.019249037999-231.646034125982-0.230357769159809
31333.833333333333334.027976816779517.97411014911-183.946133332331-0.194643483445475
32400.6400.744643483446517.9668500481-117.222206564654-0.144643483445520
33500.75500.819643483445517.958895502645-17.1392520191999-0.0696434834454749
34667.666666666667667.611310150112517.950099206349149.6612109437630.0553565165544114
351001.51001.19464348345517.940261243386483.2543822400590.305356516554411
3620032001.94464348345517.9291005291011484.015542954341.05535651655453
37166.833333333333166.977709260261517.916203703704-350.938494443442-0.144375926927978
38182182.14058804814517.900925925926-335.760337877786-0.140588048140103
39200.2200.336042593595517.882175925926-317.546133332331-0.136042593594652
40222.444444444444222.574931482483517.85787037037-295.282938887887-0.130487038038950
41250.25250.373542593595517.823148148148-267.449605554554-0.123542593594607
42286286.114614022166517.760648148148-231.646034125982-0.114614022166052
43333.666666666667333.769375926928517.715509259259-183.946133332331-0.102709260261349
44400.4400.486042593595517.708249158249-117.222206564654-0.0860425935945841
45500.5500.561042593595517.700294612795-17.1392520191999-0.0610425935946068
46667.333333333333667.352709260261517.691498316498149.661210943763-0.0193759269279781
4710011000.93604259359517.681660353535483.2543822400590.0639574064052795
4820022001.68604259359517.670499639251484.015542954340.313957406405507
49166.75166.719108370410517.657602813853-350.9384944434420.0308916295896324
50181.909090909091181.881987158289517.642325036075-335.7603378777860.0271037508017571
51200.1200.077441703744517.623575036075-317.5461333323310.0225582962563067
52222.333333333333222.316330592633517.599269480519-295.2829388878870.0170027407007183
53250.125250.114941703744517.564547258297-267.4496055545540.0100582962562612
54285.857142857143285.856013132315517.502047258297-231.6460341259820.00112972482759233
55333.5333.510775037077517.456908369408-183.946133332331-0.0107750370771100
56400.2400.227441703744517.449648268398-117.222206564654-0.0274417037437615
57500.25500.302441703744517.441693722944-17.1392520191999-0.0524417037437388
58667667.09410837041517.432897426647149.661210943763-0.0941083704104813
591000.51000.67744170374517.423059463684483.254382240059-0.177441703743852
6020012001.42744170374517.4118987493991484.01554295434-0.427441703743625
61166.666666666667166.460507480560517.399001924002-350.9384944434420.206159186107129
62181.818181818182181.623386268438517.383724146224-335.7603378777860.194795549743390
63200199.818840813893517.364974146224-317.5461333323310.181159186107152
64222.222222222222222.057729702782517.340668590669-295.2829388878870.164492519440500
65250249.856340813893517.305946368446-267.4496055545540.143659186107129
66285.714285714286285.597412242464517.243446368446-231.6460341259820.116873471821464
67333.333333333333333.252174147226517.198307479557-183.9461333323310.0811591861071292
68400399.968840813893517.191047378547-117.2222065646540.0311591861070610
69500500.043840813893517.183092833093-17.1392520191999-0.0438408138928708
70666.666666666667666.83550748056517.174296536796149.661210943763-0.168840813892871
7110001000.41884081389517.164458573833483.254382240059-0.418840813892871
7220002001.16884081389517.1532978595481484.01554295434-1.16884081389276
73166.583333333333166.201906590709517.140401034151-350.9384944434420.38142674262474
74181.727272727273181.364785378587517.125123256373-335.7603378777860.362487348685363
75199.9199.560239924042517.106373256373-317.5461333323310.339760075958111
76222.111111111111221.799128812931517.082067700818-295.2829388878870.311982298180283
77249.875249.597739924042517.047345478595-267.4496055545540.277260075958111
78285.571428571429285.338811352613516.984845478596-231.6460341259820.232617218815108
79333.166666666667332.993573257375516.939706589706-183.9461333323310.173093409291369
80399.8399.710239924042516.932446488696-117.2222065646540.0897600759579973
81499.75499.785239924042516.924491943242-17.1392520191999-0.0352399240420027
82666.333333333333666.576906590709516.915695646946149.661210943763-0.243573257375374
83999.51000.16023992404516.905857683983483.254382240059-0.660239924042003
8419992000.91023992404516.8946969696971484.01554295434-1.91023992404189
85166.5165.943305700858516.8818001443-350.9384944434420.556694299142237
86181.636363636364181.106184488737516.866522366522-335.7603378777860.530179147627109
87199.8199.301639034191516.847772366522-317.5461333323310.498360965808956
88222221.54052792308516.823466810967-295.2829388878870.459472076919951
89249.75249.339139034191516.788744588745-267.4496055545540.410860965808979
90285.428571428571285.080210462762516.726244588745-231.6460341259820.348360965808979
91333NANA-183.946133332331NA
92399.6NANA-117.222206564654NA
93499.5NANA-17.1392520191999NA
94666NANA149.661210943763NA
95999NANA483.254382240059NA
961998NANA1484.01554295434NA

\begin{tabular}{lllllllll}
\hline
Classical Decomposition by Moving Averages \tabularnewline
t & Observations & Fit & Trend & Seasonal & Random \tabularnewline
1 & 167.083333333333 & NA & NA & -350.938494443442 & NA \tabularnewline
2 & 182.272727272727 & NA & NA & -335.760337877786 & NA \tabularnewline
3 & 200.5 & NA & NA & -317.546133332331 & NA \tabularnewline
4 & 222.777777777778 & NA & NA & -295.282938887887 & NA \tabularnewline
5 & 250.625 & NA & NA & -267.449605554554 & NA \tabularnewline
6 & 286.428571428571 & NA & NA & -231.646034125982 & NA \tabularnewline
7 & 334.166666666667 & 334.545178596481 & 518.491311928812 & -183.946133332331 & -0.378511929814067 \tabularnewline
8 & 401 & 401.261845263147 & 518.484051827802 & -117.222206564654 & -0.261845263147393 \tabularnewline
9 & 501.25 & 501.336845263147 & 518.476097282347 & -17.1392520191999 & -0.0868452631473247 \tabularnewline
10 & 668.333333333333 & 668.128511929814 & 518.467300986051 & 149.661210943763 & 0.204821403519190 \tabularnewline
11 & 1002.5 & 1001.71184526315 & 518.457463023088 & 483.254382240059 & 0.788154736852562 \tabularnewline
12 & 2005 & 2002.46184526315 & 518.446302308802 & 1484.01554295434 & 2.53815473685279 \tabularnewline
13 & 167 & 167.494911039963 & 518.433405483405 & -350.938494443442 & -0.494911039963085 \tabularnewline
14 & 182.181818181818 & 182.657789827842 & 518.418127705628 & -335.760337877786 & -0.475971646023595 \tabularnewline
15 & 200.4 & 200.853244373296 & 518.399377705628 & -317.546133332331 & -0.453244373296229 \tabularnewline
16 & 222.666666666667 & 223.092133262185 & 518.375072150072 & -295.282938887887 & -0.425466595518515 \tabularnewline
17 & 250.5 & 250.890744373296 & 518.34034992785 & -267.449605554554 & -0.390744373296457 \tabularnewline
18 & 286.285714285714 & 286.631815801868 & 518.27784992785 & -231.646034125982 & -0.346101516153453 \tabularnewline
19 & 334 & 334.28657770663 & 518.232711038961 & -183.946133332331 & -0.286577706629714 \tabularnewline
20 & 400.8 & 401.003244373296 & 518.225450937951 & -117.222206564654 & -0.203244373296457 \tabularnewline
21 & 501 & 501.078244373296 & 518.217496392496 & -17.1392520191999 & -0.078244373296343 \tabularnewline
22 & 668 & 667.869911039963 & 518.2087000962 & 149.661210943763 & 0.130088960036915 \tabularnewline
23 & 1002 & 1001.45324437330 & 518.198862133237 & 483.254382240059 & 0.546755626703543 \tabularnewline
24 & 2004 & 2002.20324437330 & 518.187701418951 & 1484.01554295434 & 1.79675562670366 \tabularnewline
25 & 166.916666666667 & 167.236310150112 & 518.174804593555 & -350.938494443442 & -0.319643483445475 \tabularnewline
26 & 182.090909090909 & 182.399188937991 & 518.159526815777 & -335.760337877786 & -0.308279847081963 \tabularnewline
27 & 200.3 & 200.594643483446 & 518.140776815777 & -317.546133332331 & -0.294643483445611 \tabularnewline
28 & 222.555555555556 & 222.833532372334 & 518.116471260221 & -295.282938887887 & -0.277976816778846 \tabularnewline
29 & 250.375 & 250.632143483446 & 518.081749037999 & -267.449605554554 & -0.257143483445589 \tabularnewline
30 & 286.142857142857 & 286.373214912017 & 518.019249037999 & -231.646034125982 & -0.230357769159809 \tabularnewline
31 & 333.833333333333 & 334.027976816779 & 517.97411014911 & -183.946133332331 & -0.194643483445475 \tabularnewline
32 & 400.6 & 400.744643483446 & 517.9668500481 & -117.222206564654 & -0.144643483445520 \tabularnewline
33 & 500.75 & 500.819643483445 & 517.958895502645 & -17.1392520191999 & -0.0696434834454749 \tabularnewline
34 & 667.666666666667 & 667.611310150112 & 517.950099206349 & 149.661210943763 & 0.0553565165544114 \tabularnewline
35 & 1001.5 & 1001.19464348345 & 517.940261243386 & 483.254382240059 & 0.305356516554411 \tabularnewline
36 & 2003 & 2001.94464348345 & 517.929100529101 & 1484.01554295434 & 1.05535651655453 \tabularnewline
37 & 166.833333333333 & 166.977709260261 & 517.916203703704 & -350.938494443442 & -0.144375926927978 \tabularnewline
38 & 182 & 182.14058804814 & 517.900925925926 & -335.760337877786 & -0.140588048140103 \tabularnewline
39 & 200.2 & 200.336042593595 & 517.882175925926 & -317.546133332331 & -0.136042593594652 \tabularnewline
40 & 222.444444444444 & 222.574931482483 & 517.85787037037 & -295.282938887887 & -0.130487038038950 \tabularnewline
41 & 250.25 & 250.373542593595 & 517.823148148148 & -267.449605554554 & -0.123542593594607 \tabularnewline
42 & 286 & 286.114614022166 & 517.760648148148 & -231.646034125982 & -0.114614022166052 \tabularnewline
43 & 333.666666666667 & 333.769375926928 & 517.715509259259 & -183.946133332331 & -0.102709260261349 \tabularnewline
44 & 400.4 & 400.486042593595 & 517.708249158249 & -117.222206564654 & -0.0860425935945841 \tabularnewline
45 & 500.5 & 500.561042593595 & 517.700294612795 & -17.1392520191999 & -0.0610425935946068 \tabularnewline
46 & 667.333333333333 & 667.352709260261 & 517.691498316498 & 149.661210943763 & -0.0193759269279781 \tabularnewline
47 & 1001 & 1000.93604259359 & 517.681660353535 & 483.254382240059 & 0.0639574064052795 \tabularnewline
48 & 2002 & 2001.68604259359 & 517.67049963925 & 1484.01554295434 & 0.313957406405507 \tabularnewline
49 & 166.75 & 166.719108370410 & 517.657602813853 & -350.938494443442 & 0.0308916295896324 \tabularnewline
50 & 181.909090909091 & 181.881987158289 & 517.642325036075 & -335.760337877786 & 0.0271037508017571 \tabularnewline
51 & 200.1 & 200.077441703744 & 517.623575036075 & -317.546133332331 & 0.0225582962563067 \tabularnewline
52 & 222.333333333333 & 222.316330592633 & 517.599269480519 & -295.282938887887 & 0.0170027407007183 \tabularnewline
53 & 250.125 & 250.114941703744 & 517.564547258297 & -267.449605554554 & 0.0100582962562612 \tabularnewline
54 & 285.857142857143 & 285.856013132315 & 517.502047258297 & -231.646034125982 & 0.00112972482759233 \tabularnewline
55 & 333.5 & 333.510775037077 & 517.456908369408 & -183.946133332331 & -0.0107750370771100 \tabularnewline
56 & 400.2 & 400.227441703744 & 517.449648268398 & -117.222206564654 & -0.0274417037437615 \tabularnewline
57 & 500.25 & 500.302441703744 & 517.441693722944 & -17.1392520191999 & -0.0524417037437388 \tabularnewline
58 & 667 & 667.09410837041 & 517.432897426647 & 149.661210943763 & -0.0941083704104813 \tabularnewline
59 & 1000.5 & 1000.67744170374 & 517.423059463684 & 483.254382240059 & -0.177441703743852 \tabularnewline
60 & 2001 & 2001.42744170374 & 517.411898749399 & 1484.01554295434 & -0.427441703743625 \tabularnewline
61 & 166.666666666667 & 166.460507480560 & 517.399001924002 & -350.938494443442 & 0.206159186107129 \tabularnewline
62 & 181.818181818182 & 181.623386268438 & 517.383724146224 & -335.760337877786 & 0.194795549743390 \tabularnewline
63 & 200 & 199.818840813893 & 517.364974146224 & -317.546133332331 & 0.181159186107152 \tabularnewline
64 & 222.222222222222 & 222.057729702782 & 517.340668590669 & -295.282938887887 & 0.164492519440500 \tabularnewline
65 & 250 & 249.856340813893 & 517.305946368446 & -267.449605554554 & 0.143659186107129 \tabularnewline
66 & 285.714285714286 & 285.597412242464 & 517.243446368446 & -231.646034125982 & 0.116873471821464 \tabularnewline
67 & 333.333333333333 & 333.252174147226 & 517.198307479557 & -183.946133332331 & 0.0811591861071292 \tabularnewline
68 & 400 & 399.968840813893 & 517.191047378547 & -117.222206564654 & 0.0311591861070610 \tabularnewline
69 & 500 & 500.043840813893 & 517.183092833093 & -17.1392520191999 & -0.0438408138928708 \tabularnewline
70 & 666.666666666667 & 666.83550748056 & 517.174296536796 & 149.661210943763 & -0.168840813892871 \tabularnewline
71 & 1000 & 1000.41884081389 & 517.164458573833 & 483.254382240059 & -0.418840813892871 \tabularnewline
72 & 2000 & 2001.16884081389 & 517.153297859548 & 1484.01554295434 & -1.16884081389276 \tabularnewline
73 & 166.583333333333 & 166.201906590709 & 517.140401034151 & -350.938494443442 & 0.38142674262474 \tabularnewline
74 & 181.727272727273 & 181.364785378587 & 517.125123256373 & -335.760337877786 & 0.362487348685363 \tabularnewline
75 & 199.9 & 199.560239924042 & 517.106373256373 & -317.546133332331 & 0.339760075958111 \tabularnewline
76 & 222.111111111111 & 221.799128812931 & 517.082067700818 & -295.282938887887 & 0.311982298180283 \tabularnewline
77 & 249.875 & 249.597739924042 & 517.047345478595 & -267.449605554554 & 0.277260075958111 \tabularnewline
78 & 285.571428571429 & 285.338811352613 & 516.984845478596 & -231.646034125982 & 0.232617218815108 \tabularnewline
79 & 333.166666666667 & 332.993573257375 & 516.939706589706 & -183.946133332331 & 0.173093409291369 \tabularnewline
80 & 399.8 & 399.710239924042 & 516.932446488696 & -117.222206564654 & 0.0897600759579973 \tabularnewline
81 & 499.75 & 499.785239924042 & 516.924491943242 & -17.1392520191999 & -0.0352399240420027 \tabularnewline
82 & 666.333333333333 & 666.576906590709 & 516.915695646946 & 149.661210943763 & -0.243573257375374 \tabularnewline
83 & 999.5 & 1000.16023992404 & 516.905857683983 & 483.254382240059 & -0.660239924042003 \tabularnewline
84 & 1999 & 2000.91023992404 & 516.894696969697 & 1484.01554295434 & -1.91023992404189 \tabularnewline
85 & 166.5 & 165.943305700858 & 516.8818001443 & -350.938494443442 & 0.556694299142237 \tabularnewline
86 & 181.636363636364 & 181.106184488737 & 516.866522366522 & -335.760337877786 & 0.530179147627109 \tabularnewline
87 & 199.8 & 199.301639034191 & 516.847772366522 & -317.546133332331 & 0.498360965808956 \tabularnewline
88 & 222 & 221.54052792308 & 516.823466810967 & -295.282938887887 & 0.459472076919951 \tabularnewline
89 & 249.75 & 249.339139034191 & 516.788744588745 & -267.449605554554 & 0.410860965808979 \tabularnewline
90 & 285.428571428571 & 285.080210462762 & 516.726244588745 & -231.646034125982 & 0.348360965808979 \tabularnewline
91 & 333 & NA & NA & -183.946133332331 & NA \tabularnewline
92 & 399.6 & NA & NA & -117.222206564654 & NA \tabularnewline
93 & 499.5 & NA & NA & -17.1392520191999 & NA \tabularnewline
94 & 666 & NA & NA & 149.661210943763 & NA \tabularnewline
95 & 999 & NA & NA & 483.254382240059 & NA \tabularnewline
96 & 1998 & NA & NA & 1484.01554295434 & NA \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=14184&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]167.083333333333[/C][C]NA[/C][C]NA[/C][C]-350.938494443442[/C][C]NA[/C][/ROW]
[ROW][C]2[/C][C]182.272727272727[/C][C]NA[/C][C]NA[/C][C]-335.760337877786[/C][C]NA[/C][/ROW]
[ROW][C]3[/C][C]200.5[/C][C]NA[/C][C]NA[/C][C]-317.546133332331[/C][C]NA[/C][/ROW]
[ROW][C]4[/C][C]222.777777777778[/C][C]NA[/C][C]NA[/C][C]-295.282938887887[/C][C]NA[/C][/ROW]
[ROW][C]5[/C][C]250.625[/C][C]NA[/C][C]NA[/C][C]-267.449605554554[/C][C]NA[/C][/ROW]
[ROW][C]6[/C][C]286.428571428571[/C][C]NA[/C][C]NA[/C][C]-231.646034125982[/C][C]NA[/C][/ROW]
[ROW][C]7[/C][C]334.166666666667[/C][C]334.545178596481[/C][C]518.491311928812[/C][C]-183.946133332331[/C][C]-0.378511929814067[/C][/ROW]
[ROW][C]8[/C][C]401[/C][C]401.261845263147[/C][C]518.484051827802[/C][C]-117.222206564654[/C][C]-0.261845263147393[/C][/ROW]
[ROW][C]9[/C][C]501.25[/C][C]501.336845263147[/C][C]518.476097282347[/C][C]-17.1392520191999[/C][C]-0.0868452631473247[/C][/ROW]
[ROW][C]10[/C][C]668.333333333333[/C][C]668.128511929814[/C][C]518.467300986051[/C][C]149.661210943763[/C][C]0.204821403519190[/C][/ROW]
[ROW][C]11[/C][C]1002.5[/C][C]1001.71184526315[/C][C]518.457463023088[/C][C]483.254382240059[/C][C]0.788154736852562[/C][/ROW]
[ROW][C]12[/C][C]2005[/C][C]2002.46184526315[/C][C]518.446302308802[/C][C]1484.01554295434[/C][C]2.53815473685279[/C][/ROW]
[ROW][C]13[/C][C]167[/C][C]167.494911039963[/C][C]518.433405483405[/C][C]-350.938494443442[/C][C]-0.494911039963085[/C][/ROW]
[ROW][C]14[/C][C]182.181818181818[/C][C]182.657789827842[/C][C]518.418127705628[/C][C]-335.760337877786[/C][C]-0.475971646023595[/C][/ROW]
[ROW][C]15[/C][C]200.4[/C][C]200.853244373296[/C][C]518.399377705628[/C][C]-317.546133332331[/C][C]-0.453244373296229[/C][/ROW]
[ROW][C]16[/C][C]222.666666666667[/C][C]223.092133262185[/C][C]518.375072150072[/C][C]-295.282938887887[/C][C]-0.425466595518515[/C][/ROW]
[ROW][C]17[/C][C]250.5[/C][C]250.890744373296[/C][C]518.34034992785[/C][C]-267.449605554554[/C][C]-0.390744373296457[/C][/ROW]
[ROW][C]18[/C][C]286.285714285714[/C][C]286.631815801868[/C][C]518.27784992785[/C][C]-231.646034125982[/C][C]-0.346101516153453[/C][/ROW]
[ROW][C]19[/C][C]334[/C][C]334.28657770663[/C][C]518.232711038961[/C][C]-183.946133332331[/C][C]-0.286577706629714[/C][/ROW]
[ROW][C]20[/C][C]400.8[/C][C]401.003244373296[/C][C]518.225450937951[/C][C]-117.222206564654[/C][C]-0.203244373296457[/C][/ROW]
[ROW][C]21[/C][C]501[/C][C]501.078244373296[/C][C]518.217496392496[/C][C]-17.1392520191999[/C][C]-0.078244373296343[/C][/ROW]
[ROW][C]22[/C][C]668[/C][C]667.869911039963[/C][C]518.2087000962[/C][C]149.661210943763[/C][C]0.130088960036915[/C][/ROW]
[ROW][C]23[/C][C]1002[/C][C]1001.45324437330[/C][C]518.198862133237[/C][C]483.254382240059[/C][C]0.546755626703543[/C][/ROW]
[ROW][C]24[/C][C]2004[/C][C]2002.20324437330[/C][C]518.187701418951[/C][C]1484.01554295434[/C][C]1.79675562670366[/C][/ROW]
[ROW][C]25[/C][C]166.916666666667[/C][C]167.236310150112[/C][C]518.174804593555[/C][C]-350.938494443442[/C][C]-0.319643483445475[/C][/ROW]
[ROW][C]26[/C][C]182.090909090909[/C][C]182.399188937991[/C][C]518.159526815777[/C][C]-335.760337877786[/C][C]-0.308279847081963[/C][/ROW]
[ROW][C]27[/C][C]200.3[/C][C]200.594643483446[/C][C]518.140776815777[/C][C]-317.546133332331[/C][C]-0.294643483445611[/C][/ROW]
[ROW][C]28[/C][C]222.555555555556[/C][C]222.833532372334[/C][C]518.116471260221[/C][C]-295.282938887887[/C][C]-0.277976816778846[/C][/ROW]
[ROW][C]29[/C][C]250.375[/C][C]250.632143483446[/C][C]518.081749037999[/C][C]-267.449605554554[/C][C]-0.257143483445589[/C][/ROW]
[ROW][C]30[/C][C]286.142857142857[/C][C]286.373214912017[/C][C]518.019249037999[/C][C]-231.646034125982[/C][C]-0.230357769159809[/C][/ROW]
[ROW][C]31[/C][C]333.833333333333[/C][C]334.027976816779[/C][C]517.97411014911[/C][C]-183.946133332331[/C][C]-0.194643483445475[/C][/ROW]
[ROW][C]32[/C][C]400.6[/C][C]400.744643483446[/C][C]517.9668500481[/C][C]-117.222206564654[/C][C]-0.144643483445520[/C][/ROW]
[ROW][C]33[/C][C]500.75[/C][C]500.819643483445[/C][C]517.958895502645[/C][C]-17.1392520191999[/C][C]-0.0696434834454749[/C][/ROW]
[ROW][C]34[/C][C]667.666666666667[/C][C]667.611310150112[/C][C]517.950099206349[/C][C]149.661210943763[/C][C]0.0553565165544114[/C][/ROW]
[ROW][C]35[/C][C]1001.5[/C][C]1001.19464348345[/C][C]517.940261243386[/C][C]483.254382240059[/C][C]0.305356516554411[/C][/ROW]
[ROW][C]36[/C][C]2003[/C][C]2001.94464348345[/C][C]517.929100529101[/C][C]1484.01554295434[/C][C]1.05535651655453[/C][/ROW]
[ROW][C]37[/C][C]166.833333333333[/C][C]166.977709260261[/C][C]517.916203703704[/C][C]-350.938494443442[/C][C]-0.144375926927978[/C][/ROW]
[ROW][C]38[/C][C]182[/C][C]182.14058804814[/C][C]517.900925925926[/C][C]-335.760337877786[/C][C]-0.140588048140103[/C][/ROW]
[ROW][C]39[/C][C]200.2[/C][C]200.336042593595[/C][C]517.882175925926[/C][C]-317.546133332331[/C][C]-0.136042593594652[/C][/ROW]
[ROW][C]40[/C][C]222.444444444444[/C][C]222.574931482483[/C][C]517.85787037037[/C][C]-295.282938887887[/C][C]-0.130487038038950[/C][/ROW]
[ROW][C]41[/C][C]250.25[/C][C]250.373542593595[/C][C]517.823148148148[/C][C]-267.449605554554[/C][C]-0.123542593594607[/C][/ROW]
[ROW][C]42[/C][C]286[/C][C]286.114614022166[/C][C]517.760648148148[/C][C]-231.646034125982[/C][C]-0.114614022166052[/C][/ROW]
[ROW][C]43[/C][C]333.666666666667[/C][C]333.769375926928[/C][C]517.715509259259[/C][C]-183.946133332331[/C][C]-0.102709260261349[/C][/ROW]
[ROW][C]44[/C][C]400.4[/C][C]400.486042593595[/C][C]517.708249158249[/C][C]-117.222206564654[/C][C]-0.0860425935945841[/C][/ROW]
[ROW][C]45[/C][C]500.5[/C][C]500.561042593595[/C][C]517.700294612795[/C][C]-17.1392520191999[/C][C]-0.0610425935946068[/C][/ROW]
[ROW][C]46[/C][C]667.333333333333[/C][C]667.352709260261[/C][C]517.691498316498[/C][C]149.661210943763[/C][C]-0.0193759269279781[/C][/ROW]
[ROW][C]47[/C][C]1001[/C][C]1000.93604259359[/C][C]517.681660353535[/C][C]483.254382240059[/C][C]0.0639574064052795[/C][/ROW]
[ROW][C]48[/C][C]2002[/C][C]2001.68604259359[/C][C]517.67049963925[/C][C]1484.01554295434[/C][C]0.313957406405507[/C][/ROW]
[ROW][C]49[/C][C]166.75[/C][C]166.719108370410[/C][C]517.657602813853[/C][C]-350.938494443442[/C][C]0.0308916295896324[/C][/ROW]
[ROW][C]50[/C][C]181.909090909091[/C][C]181.881987158289[/C][C]517.642325036075[/C][C]-335.760337877786[/C][C]0.0271037508017571[/C][/ROW]
[ROW][C]51[/C][C]200.1[/C][C]200.077441703744[/C][C]517.623575036075[/C][C]-317.546133332331[/C][C]0.0225582962563067[/C][/ROW]
[ROW][C]52[/C][C]222.333333333333[/C][C]222.316330592633[/C][C]517.599269480519[/C][C]-295.282938887887[/C][C]0.0170027407007183[/C][/ROW]
[ROW][C]53[/C][C]250.125[/C][C]250.114941703744[/C][C]517.564547258297[/C][C]-267.449605554554[/C][C]0.0100582962562612[/C][/ROW]
[ROW][C]54[/C][C]285.857142857143[/C][C]285.856013132315[/C][C]517.502047258297[/C][C]-231.646034125982[/C][C]0.00112972482759233[/C][/ROW]
[ROW][C]55[/C][C]333.5[/C][C]333.510775037077[/C][C]517.456908369408[/C][C]-183.946133332331[/C][C]-0.0107750370771100[/C][/ROW]
[ROW][C]56[/C][C]400.2[/C][C]400.227441703744[/C][C]517.449648268398[/C][C]-117.222206564654[/C][C]-0.0274417037437615[/C][/ROW]
[ROW][C]57[/C][C]500.25[/C][C]500.302441703744[/C][C]517.441693722944[/C][C]-17.1392520191999[/C][C]-0.0524417037437388[/C][/ROW]
[ROW][C]58[/C][C]667[/C][C]667.09410837041[/C][C]517.432897426647[/C][C]149.661210943763[/C][C]-0.0941083704104813[/C][/ROW]
[ROW][C]59[/C][C]1000.5[/C][C]1000.67744170374[/C][C]517.423059463684[/C][C]483.254382240059[/C][C]-0.177441703743852[/C][/ROW]
[ROW][C]60[/C][C]2001[/C][C]2001.42744170374[/C][C]517.411898749399[/C][C]1484.01554295434[/C][C]-0.427441703743625[/C][/ROW]
[ROW][C]61[/C][C]166.666666666667[/C][C]166.460507480560[/C][C]517.399001924002[/C][C]-350.938494443442[/C][C]0.206159186107129[/C][/ROW]
[ROW][C]62[/C][C]181.818181818182[/C][C]181.623386268438[/C][C]517.383724146224[/C][C]-335.760337877786[/C][C]0.194795549743390[/C][/ROW]
[ROW][C]63[/C][C]200[/C][C]199.818840813893[/C][C]517.364974146224[/C][C]-317.546133332331[/C][C]0.181159186107152[/C][/ROW]
[ROW][C]64[/C][C]222.222222222222[/C][C]222.057729702782[/C][C]517.340668590669[/C][C]-295.282938887887[/C][C]0.164492519440500[/C][/ROW]
[ROW][C]65[/C][C]250[/C][C]249.856340813893[/C][C]517.305946368446[/C][C]-267.449605554554[/C][C]0.143659186107129[/C][/ROW]
[ROW][C]66[/C][C]285.714285714286[/C][C]285.597412242464[/C][C]517.243446368446[/C][C]-231.646034125982[/C][C]0.116873471821464[/C][/ROW]
[ROW][C]67[/C][C]333.333333333333[/C][C]333.252174147226[/C][C]517.198307479557[/C][C]-183.946133332331[/C][C]0.0811591861071292[/C][/ROW]
[ROW][C]68[/C][C]400[/C][C]399.968840813893[/C][C]517.191047378547[/C][C]-117.222206564654[/C][C]0.0311591861070610[/C][/ROW]
[ROW][C]69[/C][C]500[/C][C]500.043840813893[/C][C]517.183092833093[/C][C]-17.1392520191999[/C][C]-0.0438408138928708[/C][/ROW]
[ROW][C]70[/C][C]666.666666666667[/C][C]666.83550748056[/C][C]517.174296536796[/C][C]149.661210943763[/C][C]-0.168840813892871[/C][/ROW]
[ROW][C]71[/C][C]1000[/C][C]1000.41884081389[/C][C]517.164458573833[/C][C]483.254382240059[/C][C]-0.418840813892871[/C][/ROW]
[ROW][C]72[/C][C]2000[/C][C]2001.16884081389[/C][C]517.153297859548[/C][C]1484.01554295434[/C][C]-1.16884081389276[/C][/ROW]
[ROW][C]73[/C][C]166.583333333333[/C][C]166.201906590709[/C][C]517.140401034151[/C][C]-350.938494443442[/C][C]0.38142674262474[/C][/ROW]
[ROW][C]74[/C][C]181.727272727273[/C][C]181.364785378587[/C][C]517.125123256373[/C][C]-335.760337877786[/C][C]0.362487348685363[/C][/ROW]
[ROW][C]75[/C][C]199.9[/C][C]199.560239924042[/C][C]517.106373256373[/C][C]-317.546133332331[/C][C]0.339760075958111[/C][/ROW]
[ROW][C]76[/C][C]222.111111111111[/C][C]221.799128812931[/C][C]517.082067700818[/C][C]-295.282938887887[/C][C]0.311982298180283[/C][/ROW]
[ROW][C]77[/C][C]249.875[/C][C]249.597739924042[/C][C]517.047345478595[/C][C]-267.449605554554[/C][C]0.277260075958111[/C][/ROW]
[ROW][C]78[/C][C]285.571428571429[/C][C]285.338811352613[/C][C]516.984845478596[/C][C]-231.646034125982[/C][C]0.232617218815108[/C][/ROW]
[ROW][C]79[/C][C]333.166666666667[/C][C]332.993573257375[/C][C]516.939706589706[/C][C]-183.946133332331[/C][C]0.173093409291369[/C][/ROW]
[ROW][C]80[/C][C]399.8[/C][C]399.710239924042[/C][C]516.932446488696[/C][C]-117.222206564654[/C][C]0.0897600759579973[/C][/ROW]
[ROW][C]81[/C][C]499.75[/C][C]499.785239924042[/C][C]516.924491943242[/C][C]-17.1392520191999[/C][C]-0.0352399240420027[/C][/ROW]
[ROW][C]82[/C][C]666.333333333333[/C][C]666.576906590709[/C][C]516.915695646946[/C][C]149.661210943763[/C][C]-0.243573257375374[/C][/ROW]
[ROW][C]83[/C][C]999.5[/C][C]1000.16023992404[/C][C]516.905857683983[/C][C]483.254382240059[/C][C]-0.660239924042003[/C][/ROW]
[ROW][C]84[/C][C]1999[/C][C]2000.91023992404[/C][C]516.894696969697[/C][C]1484.01554295434[/C][C]-1.91023992404189[/C][/ROW]
[ROW][C]85[/C][C]166.5[/C][C]165.943305700858[/C][C]516.8818001443[/C][C]-350.938494443442[/C][C]0.556694299142237[/C][/ROW]
[ROW][C]86[/C][C]181.636363636364[/C][C]181.106184488737[/C][C]516.866522366522[/C][C]-335.760337877786[/C][C]0.530179147627109[/C][/ROW]
[ROW][C]87[/C][C]199.8[/C][C]199.301639034191[/C][C]516.847772366522[/C][C]-317.546133332331[/C][C]0.498360965808956[/C][/ROW]
[ROW][C]88[/C][C]222[/C][C]221.54052792308[/C][C]516.823466810967[/C][C]-295.282938887887[/C][C]0.459472076919951[/C][/ROW]
[ROW][C]89[/C][C]249.75[/C][C]249.339139034191[/C][C]516.788744588745[/C][C]-267.449605554554[/C][C]0.410860965808979[/C][/ROW]
[ROW][C]90[/C][C]285.428571428571[/C][C]285.080210462762[/C][C]516.726244588745[/C][C]-231.646034125982[/C][C]0.348360965808979[/C][/ROW]
[ROW][C]91[/C][C]333[/C][C]NA[/C][C]NA[/C][C]-183.946133332331[/C][C]NA[/C][/ROW]
[ROW][C]92[/C][C]399.6[/C][C]NA[/C][C]NA[/C][C]-117.222206564654[/C][C]NA[/C][/ROW]
[ROW][C]93[/C][C]499.5[/C][C]NA[/C][C]NA[/C][C]-17.1392520191999[/C][C]NA[/C][/ROW]
[ROW][C]94[/C][C]666[/C][C]NA[/C][C]NA[/C][C]149.661210943763[/C][C]NA[/C][/ROW]
[ROW][C]95[/C][C]999[/C][C]NA[/C][C]NA[/C][C]483.254382240059[/C][C]NA[/C][/ROW]
[ROW][C]96[/C][C]1998[/C][C]NA[/C][C]NA[/C][C]1484.01554295434[/C][C]NA[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=14184&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=14184&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
1167.083333333333NANA-350.938494443442NA
2182.272727272727NANA-335.760337877786NA
3200.5NANA-317.546133332331NA
4222.777777777778NANA-295.282938887887NA
5250.625NANA-267.449605554554NA
6286.428571428571NANA-231.646034125982NA
7334.166666666667334.545178596481518.491311928812-183.946133332331-0.378511929814067
8401401.261845263147518.484051827802-117.222206564654-0.261845263147393
9501.25501.336845263147518.476097282347-17.1392520191999-0.0868452631473247
10668.333333333333668.128511929814518.467300986051149.6612109437630.204821403519190
111002.51001.71184526315518.457463023088483.2543822400590.788154736852562
1220052002.46184526315518.4463023088021484.015542954342.53815473685279
13167167.494911039963518.433405483405-350.938494443442-0.494911039963085
14182.181818181818182.657789827842518.418127705628-335.760337877786-0.475971646023595
15200.4200.853244373296518.399377705628-317.546133332331-0.453244373296229
16222.666666666667223.092133262185518.375072150072-295.282938887887-0.425466595518515
17250.5250.890744373296518.34034992785-267.449605554554-0.390744373296457
18286.285714285714286.631815801868518.27784992785-231.646034125982-0.346101516153453
19334334.28657770663518.232711038961-183.946133332331-0.286577706629714
20400.8401.003244373296518.225450937951-117.222206564654-0.203244373296457
21501501.078244373296518.217496392496-17.1392520191999-0.078244373296343
22668667.869911039963518.2087000962149.6612109437630.130088960036915
2310021001.45324437330518.198862133237483.2543822400590.546755626703543
2420042002.20324437330518.1877014189511484.015542954341.79675562670366
25166.916666666667167.236310150112518.174804593555-350.938494443442-0.319643483445475
26182.090909090909182.399188937991518.159526815777-335.760337877786-0.308279847081963
27200.3200.594643483446518.140776815777-317.546133332331-0.294643483445611
28222.555555555556222.833532372334518.116471260221-295.282938887887-0.277976816778846
29250.375250.632143483446518.081749037999-267.449605554554-0.257143483445589
30286.142857142857286.373214912017518.019249037999-231.646034125982-0.230357769159809
31333.833333333333334.027976816779517.97411014911-183.946133332331-0.194643483445475
32400.6400.744643483446517.9668500481-117.222206564654-0.144643483445520
33500.75500.819643483445517.958895502645-17.1392520191999-0.0696434834454749
34667.666666666667667.611310150112517.950099206349149.6612109437630.0553565165544114
351001.51001.19464348345517.940261243386483.2543822400590.305356516554411
3620032001.94464348345517.9291005291011484.015542954341.05535651655453
37166.833333333333166.977709260261517.916203703704-350.938494443442-0.144375926927978
38182182.14058804814517.900925925926-335.760337877786-0.140588048140103
39200.2200.336042593595517.882175925926-317.546133332331-0.136042593594652
40222.444444444444222.574931482483517.85787037037-295.282938887887-0.130487038038950
41250.25250.373542593595517.823148148148-267.449605554554-0.123542593594607
42286286.114614022166517.760648148148-231.646034125982-0.114614022166052
43333.666666666667333.769375926928517.715509259259-183.946133332331-0.102709260261349
44400.4400.486042593595517.708249158249-117.222206564654-0.0860425935945841
45500.5500.561042593595517.700294612795-17.1392520191999-0.0610425935946068
46667.333333333333667.352709260261517.691498316498149.661210943763-0.0193759269279781
4710011000.93604259359517.681660353535483.2543822400590.0639574064052795
4820022001.68604259359517.670499639251484.015542954340.313957406405507
49166.75166.719108370410517.657602813853-350.9384944434420.0308916295896324
50181.909090909091181.881987158289517.642325036075-335.7603378777860.0271037508017571
51200.1200.077441703744517.623575036075-317.5461333323310.0225582962563067
52222.333333333333222.316330592633517.599269480519-295.2829388878870.0170027407007183
53250.125250.114941703744517.564547258297-267.4496055545540.0100582962562612
54285.857142857143285.856013132315517.502047258297-231.6460341259820.00112972482759233
55333.5333.510775037077517.456908369408-183.946133332331-0.0107750370771100
56400.2400.227441703744517.449648268398-117.222206564654-0.0274417037437615
57500.25500.302441703744517.441693722944-17.1392520191999-0.0524417037437388
58667667.09410837041517.432897426647149.661210943763-0.0941083704104813
591000.51000.67744170374517.423059463684483.254382240059-0.177441703743852
6020012001.42744170374517.4118987493991484.01554295434-0.427441703743625
61166.666666666667166.460507480560517.399001924002-350.9384944434420.206159186107129
62181.818181818182181.623386268438517.383724146224-335.7603378777860.194795549743390
63200199.818840813893517.364974146224-317.5461333323310.181159186107152
64222.222222222222222.057729702782517.340668590669-295.2829388878870.164492519440500
65250249.856340813893517.305946368446-267.4496055545540.143659186107129
66285.714285714286285.597412242464517.243446368446-231.6460341259820.116873471821464
67333.333333333333333.252174147226517.198307479557-183.9461333323310.0811591861071292
68400399.968840813893517.191047378547-117.2222065646540.0311591861070610
69500500.043840813893517.183092833093-17.1392520191999-0.0438408138928708
70666.666666666667666.83550748056517.174296536796149.661210943763-0.168840813892871
7110001000.41884081389517.164458573833483.254382240059-0.418840813892871
7220002001.16884081389517.1532978595481484.01554295434-1.16884081389276
73166.583333333333166.201906590709517.140401034151-350.9384944434420.38142674262474
74181.727272727273181.364785378587517.125123256373-335.7603378777860.362487348685363
75199.9199.560239924042517.106373256373-317.5461333323310.339760075958111
76222.111111111111221.799128812931517.082067700818-295.2829388878870.311982298180283
77249.875249.597739924042517.047345478595-267.4496055545540.277260075958111
78285.571428571429285.338811352613516.984845478596-231.6460341259820.232617218815108
79333.166666666667332.993573257375516.939706589706-183.9461333323310.173093409291369
80399.8399.710239924042516.932446488696-117.2222065646540.0897600759579973
81499.75499.785239924042516.924491943242-17.1392520191999-0.0352399240420027
82666.333333333333666.576906590709516.915695646946149.661210943763-0.243573257375374
83999.51000.16023992404516.905857683983483.254382240059-0.660239924042003
8419992000.91023992404516.8946969696971484.01554295434-1.91023992404189
85166.5165.943305700858516.8818001443-350.9384944434420.556694299142237
86181.636363636364181.106184488737516.866522366522-335.7603378777860.530179147627109
87199.8199.301639034191516.847772366522-317.5461333323310.498360965808956
88222221.54052792308516.823466810967-295.2829388878870.459472076919951
89249.75249.339139034191516.788744588745-267.4496055545540.410860965808979
90285.428571428571285.080210462762516.726244588745-231.6460341259820.348360965808979
91333NANA-183.946133332331NA
92399.6NANA-117.222206564654NA
93499.5NANA-17.1392520191999NA
94666NANA149.661210943763NA
95999NANA483.254382240059NA
961998NANA1484.01554295434NA



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