Free Statistics

of Irreproducible Research!

Author's title

Author*Unverified author*
R Software Modulerwasp_decompose.wasp
Title produced by softwareClassical Decomposition
Date of computationWed, 17 Aug 2011 13:12:25 -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/17/t1313601389385krm00jdn4a11.htm/, Retrieved Thu, 16 May 2024 02:22:25 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=123972, Retrieved Thu, 16 May 2024 02:22:25 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywordsMorel Sarah
Estimated Impact114
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-       [Classical Decomposition] [klassieke decompo...] [2011-08-17 17:12:25] [d41d8cd98f00b204e9800998ecf8427e] [Current]
Feedback Forum

Post a new message
Dataseries X:
240
150
290
210
240
240
310
310
190
230
260
320
270
250
240
250
230
230
240
300
190
270
300
330
230
260
300
330
190
260
240
270
170
230
270
320
190
300
310
360
170
280
270
260
280
300
320
370
210
310
290
450
190
290
280
310
340
220
390
410
250
310
280
450
210
390
300
310
370
250
440
360
290
300
340
600
220
410
360
250
410
290
470
350
330
250
270
580
260
450
320
240
420
380
400
370
300
310
280
560
280
480
320
170
420
310
470
420




Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time2 seconds
R Server'Herman Ole Andreas Wold' @ wold.wessa.net

\begin{tabular}{lllllllll}
\hline
Summary of computational transaction \tabularnewline
Raw Input & view raw input (R code)  \tabularnewline
Raw Output & view raw output of R engine  \tabularnewline
Computing time & 2 seconds \tabularnewline
R Server & 'Herman Ole Andreas Wold' @ wold.wessa.net \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=123972&T=0

[TABLE]
[ROW][C]Summary of computational transaction[/C][/ROW]
[ROW][C]Raw Input[/C][C]view raw input (R code) [/C][/ROW]
[ROW][C]Raw Output[/C][C]view raw output of R engine [/C][/ROW]
[ROW][C]Computing time[/C][C]2 seconds[/C][/ROW]
[ROW][C]R Server[/C][C]'Herman Ole Andreas Wold' @ wold.wessa.net[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=123972&T=0

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=123972&T=0

As an alternative you can also use a QR Code:  

The GUIDs for individual cells are displayed in the table below:

Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time2 seconds
R Server'Herman Ole Andreas Wold' @ wold.wessa.net







Classical Decomposition by Moving Averages
tObservationsFitTrendSeasonalRandom
1240NANA-51.3151041666667NA
2150NANA-23.1380208333333NA
3290NANA-21.1067708333333NA
4210NANA136.028645833333NA
5240NANA-94.2317708333333NA
6240NANA34.1536458333333NA
7310238.841145833333250.416666666667-11.575520833333371.1588541666667
8310234.361979166667255.833333333333-21.471354166666775.6380208333333
9190250.6640625257.916666666667-7.25260416666668-60.6640625
10230223.4765625257.5-34.02343756.5234375
11260307.6953125258.7548.9453125-47.6953125
12320302.903645833333257.91666666666744.986979166666717.0963541666667
13270203.268229166667254.583333333333-51.315104166666766.7317708333334
14250228.111979166667251.25-23.138020833333321.8880208333333
15240229.7265625250.833333333333-21.106770833333310.2734375
16250388.528645833333252.5136.028645833333-138.528645833333
17230161.6015625255.833333333333-94.231770833333368.3984375
18230292.0703125257.91666666666734.1536458333333-62.0703125
19240245.091145833333256.666666666667-11.5755208333333-5.09114583333331
20300233.9453125255.416666666667-21.471354166666766.0546875000001
21190251.080729166667258.333333333333-7.25260416666668-61.0807291666666
22270230.143229166667264.166666666667-34.023437539.8567708333334
23300314.778645833333265.83333333333348.9453125-14.7786458333333
24330310.403645833333265.41666666666744.986979166666719.5963541666666
25230215.3515625266.666666666667-51.315104166666714.6484375
26260242.278645833333265.416666666667-23.138020833333317.7213541666667
27300242.2265625263.333333333333-21.106770833333357.7734375
28330396.861979166667260.833333333333136.028645833333-66.8619791666666
29190163.684895833333257.916666666667-94.231770833333326.3151041666667
30260290.403645833333256.2534.1536458333333-30.4036458333333
31240242.591145833333254.166666666667-11.5755208333333-2.59114583333334
32270232.6953125254.166666666667-21.471354166666737.3046875
33170248.997395833333256.25-7.25260416666668-78.9973958333333
34230223.893229166667257.916666666667-34.02343756.10677083333337
35270307.278645833333258.33333333333348.9453125-37.2786458333333
36320303.3203125258.33333333333344.986979166666716.6796875
37190209.1015625260.416666666667-51.3151041666667-19.1015624999999
38300238.111979166667261.25-23.138020833333361.8880208333334
39310244.309895833333265.416666666667-21.106770833333365.6901041666667
40360408.9453125272.916666666667136.028645833333-48.9453125
41170183.684895833333277.916666666667-94.2317708333333-13.6848958333334
42280316.236979166667282.08333333333334.1536458333333-36.2369791666667
43270273.424479166667285-11.5755208333333-3.42447916666669
44260264.778645833333286.25-21.4713541666667-4.77864583333331
45280278.580729166667285.833333333333-7.252604166666681.41927083333337
46300254.7265625288.75-34.023437545.2734375
47320342.278645833333293.33333333333348.9453125-22.2786458333333
48370339.5703125294.58333333333344.986979166666730.4296874999999
49210244.1015625295.416666666667-51.3151041666667-34.1015625
50310274.778645833333297.916666666667-23.138020833333335.2213541666667
51290281.393229166667302.5-21.10677083333338.60677083333331
52450437.6953125301.666666666667136.02864583333312.3046874999999
53190207.018229166667301.25-94.2317708333333-17.0182291666666
54290339.986979166667305.83333333333334.1536458333333-49.9869791666667
55280297.591145833333309.166666666667-11.5755208333333-17.5911458333333
56310289.361979166667310.833333333333-21.471354166666720.6380208333333
57340303.1640625310.416666666667-7.2526041666666836.8359375
58220275.9765625310-34.0234375-55.9765625
59390359.778645833333310.83333333333348.945312530.2213541666666
60410360.8203125315.83333333333344.986979166666749.1796875
61250269.518229166667320.833333333333-51.3151041666667-19.5182291666666
62310298.528645833333321.666666666667-23.138020833333311.4713541666667
63280301.809895833333322.916666666667-21.1067708333333-21.8098958333334
64450461.4453125325.416666666667136.028645833333-11.4453125000001
65210234.518229166667328.75-94.2317708333333-24.5182291666667
66390362.903645833333328.7534.153645833333327.0963541666667
67300316.7578125328.333333333333-11.5755208333333-16.7578125
68310308.111979166667329.583333333333-21.47135416666671.88802083333337
69370324.4140625331.666666666667-7.2526041666666845.5859375
70250306.393229166667340.416666666667-34.0234375-56.3932291666667
71440396.028645833333347.08333333333348.945312543.9713541666667
72360393.3203125348.33333333333344.9869791666667-33.3203124999999
73290300.3515625351.666666666667-51.3151041666667-10.3515624999999
74300328.528645833333351.666666666667-23.1380208333333-28.5286458333333
75340329.7265625350.833333333333-21.106770833333310.2734375
76600490.1953125354.166666666667136.028645833333109.8046875
77220262.8515625357.083333333333-94.2317708333333-42.8515625
78410392.0703125357.91666666666734.153645833333317.9296874999999
79360347.591145833333359.166666666667-11.575520833333312.4088541666667
80250337.278645833333358.75-21.4713541666667-87.2786458333333
81410346.497395833333353.75-7.2526041666666863.5026041666667
82290315.9765625350-34.0234375-25.9765625
83470399.778645833333350.83333333333348.945312570.2213541666667
84350399.153645833333354.16666666666744.9869791666667-49.1536458333333
85330302.8515625354.166666666667-51.315104166666727.1484375
86250328.9453125352.083333333333-23.1380208333333-78.9453125000001
87270330.9765625352.083333333333-21.1067708333333-60.9765625000001
88580492.278645833333356.25136.02864583333387.7213541666666
89260262.8515625357.083333333333-94.2317708333333-2.8515625
90450389.15364583333335534.153645833333360.8463541666667
91320343.0078125354.583333333333-11.5755208333333-23.0078124999999
92240334.361979166667355.833333333333-21.4713541666667-94.3619791666666
93420351.497395833333358.75-7.2526041666666868.5026041666667
94380324.309895833333358.333333333333-34.023437555.6901041666666
95400407.278645833333358.33333333333348.9453125-7.27864583333331
96370405.403645833333360.41666666666744.9869791666667-35.4036458333334
97300310.3515625361.666666666667-51.3151041666667-10.3515625
98310335.611979166667358.75-23.1380208333333-25.6119791666667
99280334.7265625355.833333333333-21.1067708333333-54.7265625
100560488.9453125352.916666666667136.02864583333371.0546875
101280258.684895833333352.916666666667-94.231770833333321.3151041666666
102480392.0703125357.91666666666734.153645833333387.9296875
103320NANA-11.5755208333333NA
104170NANA-21.4713541666667NA
105420NANA-7.25260416666668NA
106310NANA-34.0234375NA
107470NANA48.9453125NA
108420NANA44.9869791666667NA

\begin{tabular}{lllllllll}
\hline
Classical Decomposition by Moving Averages \tabularnewline
t & Observations & Fit & Trend & Seasonal & Random \tabularnewline
1 & 240 & NA & NA & -51.3151041666667 & NA \tabularnewline
2 & 150 & NA & NA & -23.1380208333333 & NA \tabularnewline
3 & 290 & NA & NA & -21.1067708333333 & NA \tabularnewline
4 & 210 & NA & NA & 136.028645833333 & NA \tabularnewline
5 & 240 & NA & NA & -94.2317708333333 & NA \tabularnewline
6 & 240 & NA & NA & 34.1536458333333 & NA \tabularnewline
7 & 310 & 238.841145833333 & 250.416666666667 & -11.5755208333333 & 71.1588541666667 \tabularnewline
8 & 310 & 234.361979166667 & 255.833333333333 & -21.4713541666667 & 75.6380208333333 \tabularnewline
9 & 190 & 250.6640625 & 257.916666666667 & -7.25260416666668 & -60.6640625 \tabularnewline
10 & 230 & 223.4765625 & 257.5 & -34.0234375 & 6.5234375 \tabularnewline
11 & 260 & 307.6953125 & 258.75 & 48.9453125 & -47.6953125 \tabularnewline
12 & 320 & 302.903645833333 & 257.916666666667 & 44.9869791666667 & 17.0963541666667 \tabularnewline
13 & 270 & 203.268229166667 & 254.583333333333 & -51.3151041666667 & 66.7317708333334 \tabularnewline
14 & 250 & 228.111979166667 & 251.25 & -23.1380208333333 & 21.8880208333333 \tabularnewline
15 & 240 & 229.7265625 & 250.833333333333 & -21.1067708333333 & 10.2734375 \tabularnewline
16 & 250 & 388.528645833333 & 252.5 & 136.028645833333 & -138.528645833333 \tabularnewline
17 & 230 & 161.6015625 & 255.833333333333 & -94.2317708333333 & 68.3984375 \tabularnewline
18 & 230 & 292.0703125 & 257.916666666667 & 34.1536458333333 & -62.0703125 \tabularnewline
19 & 240 & 245.091145833333 & 256.666666666667 & -11.5755208333333 & -5.09114583333331 \tabularnewline
20 & 300 & 233.9453125 & 255.416666666667 & -21.4713541666667 & 66.0546875000001 \tabularnewline
21 & 190 & 251.080729166667 & 258.333333333333 & -7.25260416666668 & -61.0807291666666 \tabularnewline
22 & 270 & 230.143229166667 & 264.166666666667 & -34.0234375 & 39.8567708333334 \tabularnewline
23 & 300 & 314.778645833333 & 265.833333333333 & 48.9453125 & -14.7786458333333 \tabularnewline
24 & 330 & 310.403645833333 & 265.416666666667 & 44.9869791666667 & 19.5963541666666 \tabularnewline
25 & 230 & 215.3515625 & 266.666666666667 & -51.3151041666667 & 14.6484375 \tabularnewline
26 & 260 & 242.278645833333 & 265.416666666667 & -23.1380208333333 & 17.7213541666667 \tabularnewline
27 & 300 & 242.2265625 & 263.333333333333 & -21.1067708333333 & 57.7734375 \tabularnewline
28 & 330 & 396.861979166667 & 260.833333333333 & 136.028645833333 & -66.8619791666666 \tabularnewline
29 & 190 & 163.684895833333 & 257.916666666667 & -94.2317708333333 & 26.3151041666667 \tabularnewline
30 & 260 & 290.403645833333 & 256.25 & 34.1536458333333 & -30.4036458333333 \tabularnewline
31 & 240 & 242.591145833333 & 254.166666666667 & -11.5755208333333 & -2.59114583333334 \tabularnewline
32 & 270 & 232.6953125 & 254.166666666667 & -21.4713541666667 & 37.3046875 \tabularnewline
33 & 170 & 248.997395833333 & 256.25 & -7.25260416666668 & -78.9973958333333 \tabularnewline
34 & 230 & 223.893229166667 & 257.916666666667 & -34.0234375 & 6.10677083333337 \tabularnewline
35 & 270 & 307.278645833333 & 258.333333333333 & 48.9453125 & -37.2786458333333 \tabularnewline
36 & 320 & 303.3203125 & 258.333333333333 & 44.9869791666667 & 16.6796875 \tabularnewline
37 & 190 & 209.1015625 & 260.416666666667 & -51.3151041666667 & -19.1015624999999 \tabularnewline
38 & 300 & 238.111979166667 & 261.25 & -23.1380208333333 & 61.8880208333334 \tabularnewline
39 & 310 & 244.309895833333 & 265.416666666667 & -21.1067708333333 & 65.6901041666667 \tabularnewline
40 & 360 & 408.9453125 & 272.916666666667 & 136.028645833333 & -48.9453125 \tabularnewline
41 & 170 & 183.684895833333 & 277.916666666667 & -94.2317708333333 & -13.6848958333334 \tabularnewline
42 & 280 & 316.236979166667 & 282.083333333333 & 34.1536458333333 & -36.2369791666667 \tabularnewline
43 & 270 & 273.424479166667 & 285 & -11.5755208333333 & -3.42447916666669 \tabularnewline
44 & 260 & 264.778645833333 & 286.25 & -21.4713541666667 & -4.77864583333331 \tabularnewline
45 & 280 & 278.580729166667 & 285.833333333333 & -7.25260416666668 & 1.41927083333337 \tabularnewline
46 & 300 & 254.7265625 & 288.75 & -34.0234375 & 45.2734375 \tabularnewline
47 & 320 & 342.278645833333 & 293.333333333333 & 48.9453125 & -22.2786458333333 \tabularnewline
48 & 370 & 339.5703125 & 294.583333333333 & 44.9869791666667 & 30.4296874999999 \tabularnewline
49 & 210 & 244.1015625 & 295.416666666667 & -51.3151041666667 & -34.1015625 \tabularnewline
50 & 310 & 274.778645833333 & 297.916666666667 & -23.1380208333333 & 35.2213541666667 \tabularnewline
51 & 290 & 281.393229166667 & 302.5 & -21.1067708333333 & 8.60677083333331 \tabularnewline
52 & 450 & 437.6953125 & 301.666666666667 & 136.028645833333 & 12.3046874999999 \tabularnewline
53 & 190 & 207.018229166667 & 301.25 & -94.2317708333333 & -17.0182291666666 \tabularnewline
54 & 290 & 339.986979166667 & 305.833333333333 & 34.1536458333333 & -49.9869791666667 \tabularnewline
55 & 280 & 297.591145833333 & 309.166666666667 & -11.5755208333333 & -17.5911458333333 \tabularnewline
56 & 310 & 289.361979166667 & 310.833333333333 & -21.4713541666667 & 20.6380208333333 \tabularnewline
57 & 340 & 303.1640625 & 310.416666666667 & -7.25260416666668 & 36.8359375 \tabularnewline
58 & 220 & 275.9765625 & 310 & -34.0234375 & -55.9765625 \tabularnewline
59 & 390 & 359.778645833333 & 310.833333333333 & 48.9453125 & 30.2213541666666 \tabularnewline
60 & 410 & 360.8203125 & 315.833333333333 & 44.9869791666667 & 49.1796875 \tabularnewline
61 & 250 & 269.518229166667 & 320.833333333333 & -51.3151041666667 & -19.5182291666666 \tabularnewline
62 & 310 & 298.528645833333 & 321.666666666667 & -23.1380208333333 & 11.4713541666667 \tabularnewline
63 & 280 & 301.809895833333 & 322.916666666667 & -21.1067708333333 & -21.8098958333334 \tabularnewline
64 & 450 & 461.4453125 & 325.416666666667 & 136.028645833333 & -11.4453125000001 \tabularnewline
65 & 210 & 234.518229166667 & 328.75 & -94.2317708333333 & -24.5182291666667 \tabularnewline
66 & 390 & 362.903645833333 & 328.75 & 34.1536458333333 & 27.0963541666667 \tabularnewline
67 & 300 & 316.7578125 & 328.333333333333 & -11.5755208333333 & -16.7578125 \tabularnewline
68 & 310 & 308.111979166667 & 329.583333333333 & -21.4713541666667 & 1.88802083333337 \tabularnewline
69 & 370 & 324.4140625 & 331.666666666667 & -7.25260416666668 & 45.5859375 \tabularnewline
70 & 250 & 306.393229166667 & 340.416666666667 & -34.0234375 & -56.3932291666667 \tabularnewline
71 & 440 & 396.028645833333 & 347.083333333333 & 48.9453125 & 43.9713541666667 \tabularnewline
72 & 360 & 393.3203125 & 348.333333333333 & 44.9869791666667 & -33.3203124999999 \tabularnewline
73 & 290 & 300.3515625 & 351.666666666667 & -51.3151041666667 & -10.3515624999999 \tabularnewline
74 & 300 & 328.528645833333 & 351.666666666667 & -23.1380208333333 & -28.5286458333333 \tabularnewline
75 & 340 & 329.7265625 & 350.833333333333 & -21.1067708333333 & 10.2734375 \tabularnewline
76 & 600 & 490.1953125 & 354.166666666667 & 136.028645833333 & 109.8046875 \tabularnewline
77 & 220 & 262.8515625 & 357.083333333333 & -94.2317708333333 & -42.8515625 \tabularnewline
78 & 410 & 392.0703125 & 357.916666666667 & 34.1536458333333 & 17.9296874999999 \tabularnewline
79 & 360 & 347.591145833333 & 359.166666666667 & -11.5755208333333 & 12.4088541666667 \tabularnewline
80 & 250 & 337.278645833333 & 358.75 & -21.4713541666667 & -87.2786458333333 \tabularnewline
81 & 410 & 346.497395833333 & 353.75 & -7.25260416666668 & 63.5026041666667 \tabularnewline
82 & 290 & 315.9765625 & 350 & -34.0234375 & -25.9765625 \tabularnewline
83 & 470 & 399.778645833333 & 350.833333333333 & 48.9453125 & 70.2213541666667 \tabularnewline
84 & 350 & 399.153645833333 & 354.166666666667 & 44.9869791666667 & -49.1536458333333 \tabularnewline
85 & 330 & 302.8515625 & 354.166666666667 & -51.3151041666667 & 27.1484375 \tabularnewline
86 & 250 & 328.9453125 & 352.083333333333 & -23.1380208333333 & -78.9453125000001 \tabularnewline
87 & 270 & 330.9765625 & 352.083333333333 & -21.1067708333333 & -60.9765625000001 \tabularnewline
88 & 580 & 492.278645833333 & 356.25 & 136.028645833333 & 87.7213541666666 \tabularnewline
89 & 260 & 262.8515625 & 357.083333333333 & -94.2317708333333 & -2.8515625 \tabularnewline
90 & 450 & 389.153645833333 & 355 & 34.1536458333333 & 60.8463541666667 \tabularnewline
91 & 320 & 343.0078125 & 354.583333333333 & -11.5755208333333 & -23.0078124999999 \tabularnewline
92 & 240 & 334.361979166667 & 355.833333333333 & -21.4713541666667 & -94.3619791666666 \tabularnewline
93 & 420 & 351.497395833333 & 358.75 & -7.25260416666668 & 68.5026041666667 \tabularnewline
94 & 380 & 324.309895833333 & 358.333333333333 & -34.0234375 & 55.6901041666666 \tabularnewline
95 & 400 & 407.278645833333 & 358.333333333333 & 48.9453125 & -7.27864583333331 \tabularnewline
96 & 370 & 405.403645833333 & 360.416666666667 & 44.9869791666667 & -35.4036458333334 \tabularnewline
97 & 300 & 310.3515625 & 361.666666666667 & -51.3151041666667 & -10.3515625 \tabularnewline
98 & 310 & 335.611979166667 & 358.75 & -23.1380208333333 & -25.6119791666667 \tabularnewline
99 & 280 & 334.7265625 & 355.833333333333 & -21.1067708333333 & -54.7265625 \tabularnewline
100 & 560 & 488.9453125 & 352.916666666667 & 136.028645833333 & 71.0546875 \tabularnewline
101 & 280 & 258.684895833333 & 352.916666666667 & -94.2317708333333 & 21.3151041666666 \tabularnewline
102 & 480 & 392.0703125 & 357.916666666667 & 34.1536458333333 & 87.9296875 \tabularnewline
103 & 320 & NA & NA & -11.5755208333333 & NA \tabularnewline
104 & 170 & NA & NA & -21.4713541666667 & NA \tabularnewline
105 & 420 & NA & NA & -7.25260416666668 & NA \tabularnewline
106 & 310 & NA & NA & -34.0234375 & NA \tabularnewline
107 & 470 & NA & NA & 48.9453125 & NA \tabularnewline
108 & 420 & NA & NA & 44.9869791666667 & NA \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=123972&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]240[/C][C]NA[/C][C]NA[/C][C]-51.3151041666667[/C][C]NA[/C][/ROW]
[ROW][C]2[/C][C]150[/C][C]NA[/C][C]NA[/C][C]-23.1380208333333[/C][C]NA[/C][/ROW]
[ROW][C]3[/C][C]290[/C][C]NA[/C][C]NA[/C][C]-21.1067708333333[/C][C]NA[/C][/ROW]
[ROW][C]4[/C][C]210[/C][C]NA[/C][C]NA[/C][C]136.028645833333[/C][C]NA[/C][/ROW]
[ROW][C]5[/C][C]240[/C][C]NA[/C][C]NA[/C][C]-94.2317708333333[/C][C]NA[/C][/ROW]
[ROW][C]6[/C][C]240[/C][C]NA[/C][C]NA[/C][C]34.1536458333333[/C][C]NA[/C][/ROW]
[ROW][C]7[/C][C]310[/C][C]238.841145833333[/C][C]250.416666666667[/C][C]-11.5755208333333[/C][C]71.1588541666667[/C][/ROW]
[ROW][C]8[/C][C]310[/C][C]234.361979166667[/C][C]255.833333333333[/C][C]-21.4713541666667[/C][C]75.6380208333333[/C][/ROW]
[ROW][C]9[/C][C]190[/C][C]250.6640625[/C][C]257.916666666667[/C][C]-7.25260416666668[/C][C]-60.6640625[/C][/ROW]
[ROW][C]10[/C][C]230[/C][C]223.4765625[/C][C]257.5[/C][C]-34.0234375[/C][C]6.5234375[/C][/ROW]
[ROW][C]11[/C][C]260[/C][C]307.6953125[/C][C]258.75[/C][C]48.9453125[/C][C]-47.6953125[/C][/ROW]
[ROW][C]12[/C][C]320[/C][C]302.903645833333[/C][C]257.916666666667[/C][C]44.9869791666667[/C][C]17.0963541666667[/C][/ROW]
[ROW][C]13[/C][C]270[/C][C]203.268229166667[/C][C]254.583333333333[/C][C]-51.3151041666667[/C][C]66.7317708333334[/C][/ROW]
[ROW][C]14[/C][C]250[/C][C]228.111979166667[/C][C]251.25[/C][C]-23.1380208333333[/C][C]21.8880208333333[/C][/ROW]
[ROW][C]15[/C][C]240[/C][C]229.7265625[/C][C]250.833333333333[/C][C]-21.1067708333333[/C][C]10.2734375[/C][/ROW]
[ROW][C]16[/C][C]250[/C][C]388.528645833333[/C][C]252.5[/C][C]136.028645833333[/C][C]-138.528645833333[/C][/ROW]
[ROW][C]17[/C][C]230[/C][C]161.6015625[/C][C]255.833333333333[/C][C]-94.2317708333333[/C][C]68.3984375[/C][/ROW]
[ROW][C]18[/C][C]230[/C][C]292.0703125[/C][C]257.916666666667[/C][C]34.1536458333333[/C][C]-62.0703125[/C][/ROW]
[ROW][C]19[/C][C]240[/C][C]245.091145833333[/C][C]256.666666666667[/C][C]-11.5755208333333[/C][C]-5.09114583333331[/C][/ROW]
[ROW][C]20[/C][C]300[/C][C]233.9453125[/C][C]255.416666666667[/C][C]-21.4713541666667[/C][C]66.0546875000001[/C][/ROW]
[ROW][C]21[/C][C]190[/C][C]251.080729166667[/C][C]258.333333333333[/C][C]-7.25260416666668[/C][C]-61.0807291666666[/C][/ROW]
[ROW][C]22[/C][C]270[/C][C]230.143229166667[/C][C]264.166666666667[/C][C]-34.0234375[/C][C]39.8567708333334[/C][/ROW]
[ROW][C]23[/C][C]300[/C][C]314.778645833333[/C][C]265.833333333333[/C][C]48.9453125[/C][C]-14.7786458333333[/C][/ROW]
[ROW][C]24[/C][C]330[/C][C]310.403645833333[/C][C]265.416666666667[/C][C]44.9869791666667[/C][C]19.5963541666666[/C][/ROW]
[ROW][C]25[/C][C]230[/C][C]215.3515625[/C][C]266.666666666667[/C][C]-51.3151041666667[/C][C]14.6484375[/C][/ROW]
[ROW][C]26[/C][C]260[/C][C]242.278645833333[/C][C]265.416666666667[/C][C]-23.1380208333333[/C][C]17.7213541666667[/C][/ROW]
[ROW][C]27[/C][C]300[/C][C]242.2265625[/C][C]263.333333333333[/C][C]-21.1067708333333[/C][C]57.7734375[/C][/ROW]
[ROW][C]28[/C][C]330[/C][C]396.861979166667[/C][C]260.833333333333[/C][C]136.028645833333[/C][C]-66.8619791666666[/C][/ROW]
[ROW][C]29[/C][C]190[/C][C]163.684895833333[/C][C]257.916666666667[/C][C]-94.2317708333333[/C][C]26.3151041666667[/C][/ROW]
[ROW][C]30[/C][C]260[/C][C]290.403645833333[/C][C]256.25[/C][C]34.1536458333333[/C][C]-30.4036458333333[/C][/ROW]
[ROW][C]31[/C][C]240[/C][C]242.591145833333[/C][C]254.166666666667[/C][C]-11.5755208333333[/C][C]-2.59114583333334[/C][/ROW]
[ROW][C]32[/C][C]270[/C][C]232.6953125[/C][C]254.166666666667[/C][C]-21.4713541666667[/C][C]37.3046875[/C][/ROW]
[ROW][C]33[/C][C]170[/C][C]248.997395833333[/C][C]256.25[/C][C]-7.25260416666668[/C][C]-78.9973958333333[/C][/ROW]
[ROW][C]34[/C][C]230[/C][C]223.893229166667[/C][C]257.916666666667[/C][C]-34.0234375[/C][C]6.10677083333337[/C][/ROW]
[ROW][C]35[/C][C]270[/C][C]307.278645833333[/C][C]258.333333333333[/C][C]48.9453125[/C][C]-37.2786458333333[/C][/ROW]
[ROW][C]36[/C][C]320[/C][C]303.3203125[/C][C]258.333333333333[/C][C]44.9869791666667[/C][C]16.6796875[/C][/ROW]
[ROW][C]37[/C][C]190[/C][C]209.1015625[/C][C]260.416666666667[/C][C]-51.3151041666667[/C][C]-19.1015624999999[/C][/ROW]
[ROW][C]38[/C][C]300[/C][C]238.111979166667[/C][C]261.25[/C][C]-23.1380208333333[/C][C]61.8880208333334[/C][/ROW]
[ROW][C]39[/C][C]310[/C][C]244.309895833333[/C][C]265.416666666667[/C][C]-21.1067708333333[/C][C]65.6901041666667[/C][/ROW]
[ROW][C]40[/C][C]360[/C][C]408.9453125[/C][C]272.916666666667[/C][C]136.028645833333[/C][C]-48.9453125[/C][/ROW]
[ROW][C]41[/C][C]170[/C][C]183.684895833333[/C][C]277.916666666667[/C][C]-94.2317708333333[/C][C]-13.6848958333334[/C][/ROW]
[ROW][C]42[/C][C]280[/C][C]316.236979166667[/C][C]282.083333333333[/C][C]34.1536458333333[/C][C]-36.2369791666667[/C][/ROW]
[ROW][C]43[/C][C]270[/C][C]273.424479166667[/C][C]285[/C][C]-11.5755208333333[/C][C]-3.42447916666669[/C][/ROW]
[ROW][C]44[/C][C]260[/C][C]264.778645833333[/C][C]286.25[/C][C]-21.4713541666667[/C][C]-4.77864583333331[/C][/ROW]
[ROW][C]45[/C][C]280[/C][C]278.580729166667[/C][C]285.833333333333[/C][C]-7.25260416666668[/C][C]1.41927083333337[/C][/ROW]
[ROW][C]46[/C][C]300[/C][C]254.7265625[/C][C]288.75[/C][C]-34.0234375[/C][C]45.2734375[/C][/ROW]
[ROW][C]47[/C][C]320[/C][C]342.278645833333[/C][C]293.333333333333[/C][C]48.9453125[/C][C]-22.2786458333333[/C][/ROW]
[ROW][C]48[/C][C]370[/C][C]339.5703125[/C][C]294.583333333333[/C][C]44.9869791666667[/C][C]30.4296874999999[/C][/ROW]
[ROW][C]49[/C][C]210[/C][C]244.1015625[/C][C]295.416666666667[/C][C]-51.3151041666667[/C][C]-34.1015625[/C][/ROW]
[ROW][C]50[/C][C]310[/C][C]274.778645833333[/C][C]297.916666666667[/C][C]-23.1380208333333[/C][C]35.2213541666667[/C][/ROW]
[ROW][C]51[/C][C]290[/C][C]281.393229166667[/C][C]302.5[/C][C]-21.1067708333333[/C][C]8.60677083333331[/C][/ROW]
[ROW][C]52[/C][C]450[/C][C]437.6953125[/C][C]301.666666666667[/C][C]136.028645833333[/C][C]12.3046874999999[/C][/ROW]
[ROW][C]53[/C][C]190[/C][C]207.018229166667[/C][C]301.25[/C][C]-94.2317708333333[/C][C]-17.0182291666666[/C][/ROW]
[ROW][C]54[/C][C]290[/C][C]339.986979166667[/C][C]305.833333333333[/C][C]34.1536458333333[/C][C]-49.9869791666667[/C][/ROW]
[ROW][C]55[/C][C]280[/C][C]297.591145833333[/C][C]309.166666666667[/C][C]-11.5755208333333[/C][C]-17.5911458333333[/C][/ROW]
[ROW][C]56[/C][C]310[/C][C]289.361979166667[/C][C]310.833333333333[/C][C]-21.4713541666667[/C][C]20.6380208333333[/C][/ROW]
[ROW][C]57[/C][C]340[/C][C]303.1640625[/C][C]310.416666666667[/C][C]-7.25260416666668[/C][C]36.8359375[/C][/ROW]
[ROW][C]58[/C][C]220[/C][C]275.9765625[/C][C]310[/C][C]-34.0234375[/C][C]-55.9765625[/C][/ROW]
[ROW][C]59[/C][C]390[/C][C]359.778645833333[/C][C]310.833333333333[/C][C]48.9453125[/C][C]30.2213541666666[/C][/ROW]
[ROW][C]60[/C][C]410[/C][C]360.8203125[/C][C]315.833333333333[/C][C]44.9869791666667[/C][C]49.1796875[/C][/ROW]
[ROW][C]61[/C][C]250[/C][C]269.518229166667[/C][C]320.833333333333[/C][C]-51.3151041666667[/C][C]-19.5182291666666[/C][/ROW]
[ROW][C]62[/C][C]310[/C][C]298.528645833333[/C][C]321.666666666667[/C][C]-23.1380208333333[/C][C]11.4713541666667[/C][/ROW]
[ROW][C]63[/C][C]280[/C][C]301.809895833333[/C][C]322.916666666667[/C][C]-21.1067708333333[/C][C]-21.8098958333334[/C][/ROW]
[ROW][C]64[/C][C]450[/C][C]461.4453125[/C][C]325.416666666667[/C][C]136.028645833333[/C][C]-11.4453125000001[/C][/ROW]
[ROW][C]65[/C][C]210[/C][C]234.518229166667[/C][C]328.75[/C][C]-94.2317708333333[/C][C]-24.5182291666667[/C][/ROW]
[ROW][C]66[/C][C]390[/C][C]362.903645833333[/C][C]328.75[/C][C]34.1536458333333[/C][C]27.0963541666667[/C][/ROW]
[ROW][C]67[/C][C]300[/C][C]316.7578125[/C][C]328.333333333333[/C][C]-11.5755208333333[/C][C]-16.7578125[/C][/ROW]
[ROW][C]68[/C][C]310[/C][C]308.111979166667[/C][C]329.583333333333[/C][C]-21.4713541666667[/C][C]1.88802083333337[/C][/ROW]
[ROW][C]69[/C][C]370[/C][C]324.4140625[/C][C]331.666666666667[/C][C]-7.25260416666668[/C][C]45.5859375[/C][/ROW]
[ROW][C]70[/C][C]250[/C][C]306.393229166667[/C][C]340.416666666667[/C][C]-34.0234375[/C][C]-56.3932291666667[/C][/ROW]
[ROW][C]71[/C][C]440[/C][C]396.028645833333[/C][C]347.083333333333[/C][C]48.9453125[/C][C]43.9713541666667[/C][/ROW]
[ROW][C]72[/C][C]360[/C][C]393.3203125[/C][C]348.333333333333[/C][C]44.9869791666667[/C][C]-33.3203124999999[/C][/ROW]
[ROW][C]73[/C][C]290[/C][C]300.3515625[/C][C]351.666666666667[/C][C]-51.3151041666667[/C][C]-10.3515624999999[/C][/ROW]
[ROW][C]74[/C][C]300[/C][C]328.528645833333[/C][C]351.666666666667[/C][C]-23.1380208333333[/C][C]-28.5286458333333[/C][/ROW]
[ROW][C]75[/C][C]340[/C][C]329.7265625[/C][C]350.833333333333[/C][C]-21.1067708333333[/C][C]10.2734375[/C][/ROW]
[ROW][C]76[/C][C]600[/C][C]490.1953125[/C][C]354.166666666667[/C][C]136.028645833333[/C][C]109.8046875[/C][/ROW]
[ROW][C]77[/C][C]220[/C][C]262.8515625[/C][C]357.083333333333[/C][C]-94.2317708333333[/C][C]-42.8515625[/C][/ROW]
[ROW][C]78[/C][C]410[/C][C]392.0703125[/C][C]357.916666666667[/C][C]34.1536458333333[/C][C]17.9296874999999[/C][/ROW]
[ROW][C]79[/C][C]360[/C][C]347.591145833333[/C][C]359.166666666667[/C][C]-11.5755208333333[/C][C]12.4088541666667[/C][/ROW]
[ROW][C]80[/C][C]250[/C][C]337.278645833333[/C][C]358.75[/C][C]-21.4713541666667[/C][C]-87.2786458333333[/C][/ROW]
[ROW][C]81[/C][C]410[/C][C]346.497395833333[/C][C]353.75[/C][C]-7.25260416666668[/C][C]63.5026041666667[/C][/ROW]
[ROW][C]82[/C][C]290[/C][C]315.9765625[/C][C]350[/C][C]-34.0234375[/C][C]-25.9765625[/C][/ROW]
[ROW][C]83[/C][C]470[/C][C]399.778645833333[/C][C]350.833333333333[/C][C]48.9453125[/C][C]70.2213541666667[/C][/ROW]
[ROW][C]84[/C][C]350[/C][C]399.153645833333[/C][C]354.166666666667[/C][C]44.9869791666667[/C][C]-49.1536458333333[/C][/ROW]
[ROW][C]85[/C][C]330[/C][C]302.8515625[/C][C]354.166666666667[/C][C]-51.3151041666667[/C][C]27.1484375[/C][/ROW]
[ROW][C]86[/C][C]250[/C][C]328.9453125[/C][C]352.083333333333[/C][C]-23.1380208333333[/C][C]-78.9453125000001[/C][/ROW]
[ROW][C]87[/C][C]270[/C][C]330.9765625[/C][C]352.083333333333[/C][C]-21.1067708333333[/C][C]-60.9765625000001[/C][/ROW]
[ROW][C]88[/C][C]580[/C][C]492.278645833333[/C][C]356.25[/C][C]136.028645833333[/C][C]87.7213541666666[/C][/ROW]
[ROW][C]89[/C][C]260[/C][C]262.8515625[/C][C]357.083333333333[/C][C]-94.2317708333333[/C][C]-2.8515625[/C][/ROW]
[ROW][C]90[/C][C]450[/C][C]389.153645833333[/C][C]355[/C][C]34.1536458333333[/C][C]60.8463541666667[/C][/ROW]
[ROW][C]91[/C][C]320[/C][C]343.0078125[/C][C]354.583333333333[/C][C]-11.5755208333333[/C][C]-23.0078124999999[/C][/ROW]
[ROW][C]92[/C][C]240[/C][C]334.361979166667[/C][C]355.833333333333[/C][C]-21.4713541666667[/C][C]-94.3619791666666[/C][/ROW]
[ROW][C]93[/C][C]420[/C][C]351.497395833333[/C][C]358.75[/C][C]-7.25260416666668[/C][C]68.5026041666667[/C][/ROW]
[ROW][C]94[/C][C]380[/C][C]324.309895833333[/C][C]358.333333333333[/C][C]-34.0234375[/C][C]55.6901041666666[/C][/ROW]
[ROW][C]95[/C][C]400[/C][C]407.278645833333[/C][C]358.333333333333[/C][C]48.9453125[/C][C]-7.27864583333331[/C][/ROW]
[ROW][C]96[/C][C]370[/C][C]405.403645833333[/C][C]360.416666666667[/C][C]44.9869791666667[/C][C]-35.4036458333334[/C][/ROW]
[ROW][C]97[/C][C]300[/C][C]310.3515625[/C][C]361.666666666667[/C][C]-51.3151041666667[/C][C]-10.3515625[/C][/ROW]
[ROW][C]98[/C][C]310[/C][C]335.611979166667[/C][C]358.75[/C][C]-23.1380208333333[/C][C]-25.6119791666667[/C][/ROW]
[ROW][C]99[/C][C]280[/C][C]334.7265625[/C][C]355.833333333333[/C][C]-21.1067708333333[/C][C]-54.7265625[/C][/ROW]
[ROW][C]100[/C][C]560[/C][C]488.9453125[/C][C]352.916666666667[/C][C]136.028645833333[/C][C]71.0546875[/C][/ROW]
[ROW][C]101[/C][C]280[/C][C]258.684895833333[/C][C]352.916666666667[/C][C]-94.2317708333333[/C][C]21.3151041666666[/C][/ROW]
[ROW][C]102[/C][C]480[/C][C]392.0703125[/C][C]357.916666666667[/C][C]34.1536458333333[/C][C]87.9296875[/C][/ROW]
[ROW][C]103[/C][C]320[/C][C]NA[/C][C]NA[/C][C]-11.5755208333333[/C][C]NA[/C][/ROW]
[ROW][C]104[/C][C]170[/C][C]NA[/C][C]NA[/C][C]-21.4713541666667[/C][C]NA[/C][/ROW]
[ROW][C]105[/C][C]420[/C][C]NA[/C][C]NA[/C][C]-7.25260416666668[/C][C]NA[/C][/ROW]
[ROW][C]106[/C][C]310[/C][C]NA[/C][C]NA[/C][C]-34.0234375[/C][C]NA[/C][/ROW]
[ROW][C]107[/C][C]470[/C][C]NA[/C][C]NA[/C][C]48.9453125[/C][C]NA[/C][/ROW]
[ROW][C]108[/C][C]420[/C][C]NA[/C][C]NA[/C][C]44.9869791666667[/C][C]NA[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=123972&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=123972&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
1240NANA-51.3151041666667NA
2150NANA-23.1380208333333NA
3290NANA-21.1067708333333NA
4210NANA136.028645833333NA
5240NANA-94.2317708333333NA
6240NANA34.1536458333333NA
7310238.841145833333250.416666666667-11.575520833333371.1588541666667
8310234.361979166667255.833333333333-21.471354166666775.6380208333333
9190250.6640625257.916666666667-7.25260416666668-60.6640625
10230223.4765625257.5-34.02343756.5234375
11260307.6953125258.7548.9453125-47.6953125
12320302.903645833333257.91666666666744.986979166666717.0963541666667
13270203.268229166667254.583333333333-51.315104166666766.7317708333334
14250228.111979166667251.25-23.138020833333321.8880208333333
15240229.7265625250.833333333333-21.106770833333310.2734375
16250388.528645833333252.5136.028645833333-138.528645833333
17230161.6015625255.833333333333-94.231770833333368.3984375
18230292.0703125257.91666666666734.1536458333333-62.0703125
19240245.091145833333256.666666666667-11.5755208333333-5.09114583333331
20300233.9453125255.416666666667-21.471354166666766.0546875000001
21190251.080729166667258.333333333333-7.25260416666668-61.0807291666666
22270230.143229166667264.166666666667-34.023437539.8567708333334
23300314.778645833333265.83333333333348.9453125-14.7786458333333
24330310.403645833333265.41666666666744.986979166666719.5963541666666
25230215.3515625266.666666666667-51.315104166666714.6484375
26260242.278645833333265.416666666667-23.138020833333317.7213541666667
27300242.2265625263.333333333333-21.106770833333357.7734375
28330396.861979166667260.833333333333136.028645833333-66.8619791666666
29190163.684895833333257.916666666667-94.231770833333326.3151041666667
30260290.403645833333256.2534.1536458333333-30.4036458333333
31240242.591145833333254.166666666667-11.5755208333333-2.59114583333334
32270232.6953125254.166666666667-21.471354166666737.3046875
33170248.997395833333256.25-7.25260416666668-78.9973958333333
34230223.893229166667257.916666666667-34.02343756.10677083333337
35270307.278645833333258.33333333333348.9453125-37.2786458333333
36320303.3203125258.33333333333344.986979166666716.6796875
37190209.1015625260.416666666667-51.3151041666667-19.1015624999999
38300238.111979166667261.25-23.138020833333361.8880208333334
39310244.309895833333265.416666666667-21.106770833333365.6901041666667
40360408.9453125272.916666666667136.028645833333-48.9453125
41170183.684895833333277.916666666667-94.2317708333333-13.6848958333334
42280316.236979166667282.08333333333334.1536458333333-36.2369791666667
43270273.424479166667285-11.5755208333333-3.42447916666669
44260264.778645833333286.25-21.4713541666667-4.77864583333331
45280278.580729166667285.833333333333-7.252604166666681.41927083333337
46300254.7265625288.75-34.023437545.2734375
47320342.278645833333293.33333333333348.9453125-22.2786458333333
48370339.5703125294.58333333333344.986979166666730.4296874999999
49210244.1015625295.416666666667-51.3151041666667-34.1015625
50310274.778645833333297.916666666667-23.138020833333335.2213541666667
51290281.393229166667302.5-21.10677083333338.60677083333331
52450437.6953125301.666666666667136.02864583333312.3046874999999
53190207.018229166667301.25-94.2317708333333-17.0182291666666
54290339.986979166667305.83333333333334.1536458333333-49.9869791666667
55280297.591145833333309.166666666667-11.5755208333333-17.5911458333333
56310289.361979166667310.833333333333-21.471354166666720.6380208333333
57340303.1640625310.416666666667-7.2526041666666836.8359375
58220275.9765625310-34.0234375-55.9765625
59390359.778645833333310.83333333333348.945312530.2213541666666
60410360.8203125315.83333333333344.986979166666749.1796875
61250269.518229166667320.833333333333-51.3151041666667-19.5182291666666
62310298.528645833333321.666666666667-23.138020833333311.4713541666667
63280301.809895833333322.916666666667-21.1067708333333-21.8098958333334
64450461.4453125325.416666666667136.028645833333-11.4453125000001
65210234.518229166667328.75-94.2317708333333-24.5182291666667
66390362.903645833333328.7534.153645833333327.0963541666667
67300316.7578125328.333333333333-11.5755208333333-16.7578125
68310308.111979166667329.583333333333-21.47135416666671.88802083333337
69370324.4140625331.666666666667-7.2526041666666845.5859375
70250306.393229166667340.416666666667-34.0234375-56.3932291666667
71440396.028645833333347.08333333333348.945312543.9713541666667
72360393.3203125348.33333333333344.9869791666667-33.3203124999999
73290300.3515625351.666666666667-51.3151041666667-10.3515624999999
74300328.528645833333351.666666666667-23.1380208333333-28.5286458333333
75340329.7265625350.833333333333-21.106770833333310.2734375
76600490.1953125354.166666666667136.028645833333109.8046875
77220262.8515625357.083333333333-94.2317708333333-42.8515625
78410392.0703125357.91666666666734.153645833333317.9296874999999
79360347.591145833333359.166666666667-11.575520833333312.4088541666667
80250337.278645833333358.75-21.4713541666667-87.2786458333333
81410346.497395833333353.75-7.2526041666666863.5026041666667
82290315.9765625350-34.0234375-25.9765625
83470399.778645833333350.83333333333348.945312570.2213541666667
84350399.153645833333354.16666666666744.9869791666667-49.1536458333333
85330302.8515625354.166666666667-51.315104166666727.1484375
86250328.9453125352.083333333333-23.1380208333333-78.9453125000001
87270330.9765625352.083333333333-21.1067708333333-60.9765625000001
88580492.278645833333356.25136.02864583333387.7213541666666
89260262.8515625357.083333333333-94.2317708333333-2.8515625
90450389.15364583333335534.153645833333360.8463541666667
91320343.0078125354.583333333333-11.5755208333333-23.0078124999999
92240334.361979166667355.833333333333-21.4713541666667-94.3619791666666
93420351.497395833333358.75-7.2526041666666868.5026041666667
94380324.309895833333358.333333333333-34.023437555.6901041666666
95400407.278645833333358.33333333333348.9453125-7.27864583333331
96370405.403645833333360.41666666666744.9869791666667-35.4036458333334
97300310.3515625361.666666666667-51.3151041666667-10.3515625
98310335.611979166667358.75-23.1380208333333-25.6119791666667
99280334.7265625355.833333333333-21.1067708333333-54.7265625
100560488.9453125352.916666666667136.02864583333371.0546875
101280258.684895833333352.916666666667-94.231770833333321.3151041666666
102480392.0703125357.91666666666734.153645833333387.9296875
103320NANA-11.5755208333333NA
104170NANA-21.4713541666667NA
105420NANA-7.25260416666668NA
106310NANA-34.0234375NA
107470NANA48.9453125NA
108420NANA44.9869791666667NA



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