Free Statistics

of Irreproducible Research!

Author's title

Author*Unverified author*
R Software Modulerwasp_decompose.wasp
Title produced by softwareClassical Decomposition
Date of computationSat, 29 Nov 2014 13:52:37 +0000
Cite this page as followsStatistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?v=date/2014/Nov/29/t1417269166rx3huyncbaypj8o.htm/, Retrieved Sun, 19 May 2024 14:46:18 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=261117, Retrieved Sun, 19 May 2024 14:46:18 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact81
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-       [Classical Decomposition] [] [2014-11-29 13:52:37] [dfd11b28041a8e54be4091fbe3743b64] [Current]
Feedback Forum

Post a new message
Dataseries X:
376
376
377
380
380
381
385
385
386
386
385
384
382
379
376
375
370
367
369
366
363
359
355
350
349
351
351
352
352
354
355
356
354
349
350
349
350
352
370
370
371
372
373
373
375
381
383
386
390
394
397
401
403
405
407
406
406
407
406
404
405
404
402
401
401
398
401
399
390
391
390
387




Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time2 seconds
R Server'Gertrude Mary Cox' @ cox.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 & 'Gertrude Mary Cox' @ cox.wessa.net \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=261117&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]'Gertrude Mary Cox' @ cox.wessa.net[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=261117&T=0

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=261117&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'Gertrude Mary Cox' @ cox.wessa.net







Classical Decomposition by Moving Averages
tObservationsFitTrendSeasonalRandom
1376NANA-2.48611NA
2376NANA-1.93611NA
3377NANA1.11389NA
4380NANA1.63889NA
5380NANA1.15556NA
6381NANA0.888889NA
7385384.3563822.355560.644444
8385383.656382.3751.280561.34444
9386382.897382.4580.4388893.10278
10386381.864382.208-0.3444444.13611
11385380.289381.583-1.294444.71111
12384377.772380.583-2.811116.22778
13382376.847379.333-2.486115.15278
14379375.939377.875-1.936113.06111
15376377.239376.1251.11389-1.23889
16375375.681374.0421.63889-0.680556
17370372.822371.6671.15556-2.82222
18367369.8893690.888889-2.88889
19369368.564366.2082.355560.436111
20366364.947363.6671.280561.05278
21363361.897361.4580.4388891.10278
22359359.114359.458-0.344444-0.113889
23355356.456357.75-1.29444-1.45556
24350353.647356.458-2.81111-3.64722
25349352.847355.333-2.48611-3.84722
26351352.397354.333-1.93611-1.39722
27351354.656353.5421.11389-3.65556
28352354.389352.751.63889-2.38889
29352353.281352.1251.15556-1.28056
30354352.764351.8750.8888891.23611
31355354.231351.8752.355560.769444
32356353.239351.9581.280562.76111
33354353.231352.7920.4388890.769444
34349353.989354.333-0.344444-4.98889
35350354.581355.875-1.29444-4.58056
36349354.606357.417-2.81111-5.60556
37350356.431358.917-2.48611-6.43056
38352358.439360.375-1.93611-6.43889
39370363.072361.9581.113896.92778
40370365.806364.1671.638894.19444
41371368.031366.8751.155562.96944
42372370.681369.7920.8888891.31944
43373375.3563732.35556-2.35556
44373377.697376.4171.28056-4.69722
45375379.731379.2920.438889-4.73056
46381381.364381.708-0.344444-0.363889
47383383.039384.333-1.29444-0.0388889
48386384.231387.042-2.811111.76944
49390387.347389.833-2.486112.65278
50394390.689392.625-1.936113.31111
51397396.406395.2921.113890.594444
52401399.306397.6671.638891.69444
53403400.864399.7081.155562.13611
54405402.306401.4170.8888892.69444
55407405.147402.7922.355561.85278
56406405.114403.8331.280560.886111
57406404.897404.4580.4388891.10278
58407404.322404.667-0.3444442.67778
59406403.289404.583-1.294442.71111
60404401.397404.208-2.811112.60278
61405401.181403.667-2.486113.81944
62404401.189403.125-1.936112.81111
63402403.281402.1671.11389-1.28056
64401402.472400.8331.63889-1.47222
65401400.656399.51.155560.344444
66398399.014398.1250.888889-1.01389
67401NANA2.35556NA
68399NANA1.28056NA
69390NANA0.438889NA
70391NANA-0.344444NA
71390NANA-1.29444NA
72387NANA-2.81111NA

\begin{tabular}{lllllllll}
\hline
Classical Decomposition by Moving Averages \tabularnewline
t & Observations & Fit & Trend & Seasonal & Random \tabularnewline
1 & 376 & NA & NA & -2.48611 & NA \tabularnewline
2 & 376 & NA & NA & -1.93611 & NA \tabularnewline
3 & 377 & NA & NA & 1.11389 & NA \tabularnewline
4 & 380 & NA & NA & 1.63889 & NA \tabularnewline
5 & 380 & NA & NA & 1.15556 & NA \tabularnewline
6 & 381 & NA & NA & 0.888889 & NA \tabularnewline
7 & 385 & 384.356 & 382 & 2.35556 & 0.644444 \tabularnewline
8 & 385 & 383.656 & 382.375 & 1.28056 & 1.34444 \tabularnewline
9 & 386 & 382.897 & 382.458 & 0.438889 & 3.10278 \tabularnewline
10 & 386 & 381.864 & 382.208 & -0.344444 & 4.13611 \tabularnewline
11 & 385 & 380.289 & 381.583 & -1.29444 & 4.71111 \tabularnewline
12 & 384 & 377.772 & 380.583 & -2.81111 & 6.22778 \tabularnewline
13 & 382 & 376.847 & 379.333 & -2.48611 & 5.15278 \tabularnewline
14 & 379 & 375.939 & 377.875 & -1.93611 & 3.06111 \tabularnewline
15 & 376 & 377.239 & 376.125 & 1.11389 & -1.23889 \tabularnewline
16 & 375 & 375.681 & 374.042 & 1.63889 & -0.680556 \tabularnewline
17 & 370 & 372.822 & 371.667 & 1.15556 & -2.82222 \tabularnewline
18 & 367 & 369.889 & 369 & 0.888889 & -2.88889 \tabularnewline
19 & 369 & 368.564 & 366.208 & 2.35556 & 0.436111 \tabularnewline
20 & 366 & 364.947 & 363.667 & 1.28056 & 1.05278 \tabularnewline
21 & 363 & 361.897 & 361.458 & 0.438889 & 1.10278 \tabularnewline
22 & 359 & 359.114 & 359.458 & -0.344444 & -0.113889 \tabularnewline
23 & 355 & 356.456 & 357.75 & -1.29444 & -1.45556 \tabularnewline
24 & 350 & 353.647 & 356.458 & -2.81111 & -3.64722 \tabularnewline
25 & 349 & 352.847 & 355.333 & -2.48611 & -3.84722 \tabularnewline
26 & 351 & 352.397 & 354.333 & -1.93611 & -1.39722 \tabularnewline
27 & 351 & 354.656 & 353.542 & 1.11389 & -3.65556 \tabularnewline
28 & 352 & 354.389 & 352.75 & 1.63889 & -2.38889 \tabularnewline
29 & 352 & 353.281 & 352.125 & 1.15556 & -1.28056 \tabularnewline
30 & 354 & 352.764 & 351.875 & 0.888889 & 1.23611 \tabularnewline
31 & 355 & 354.231 & 351.875 & 2.35556 & 0.769444 \tabularnewline
32 & 356 & 353.239 & 351.958 & 1.28056 & 2.76111 \tabularnewline
33 & 354 & 353.231 & 352.792 & 0.438889 & 0.769444 \tabularnewline
34 & 349 & 353.989 & 354.333 & -0.344444 & -4.98889 \tabularnewline
35 & 350 & 354.581 & 355.875 & -1.29444 & -4.58056 \tabularnewline
36 & 349 & 354.606 & 357.417 & -2.81111 & -5.60556 \tabularnewline
37 & 350 & 356.431 & 358.917 & -2.48611 & -6.43056 \tabularnewline
38 & 352 & 358.439 & 360.375 & -1.93611 & -6.43889 \tabularnewline
39 & 370 & 363.072 & 361.958 & 1.11389 & 6.92778 \tabularnewline
40 & 370 & 365.806 & 364.167 & 1.63889 & 4.19444 \tabularnewline
41 & 371 & 368.031 & 366.875 & 1.15556 & 2.96944 \tabularnewline
42 & 372 & 370.681 & 369.792 & 0.888889 & 1.31944 \tabularnewline
43 & 373 & 375.356 & 373 & 2.35556 & -2.35556 \tabularnewline
44 & 373 & 377.697 & 376.417 & 1.28056 & -4.69722 \tabularnewline
45 & 375 & 379.731 & 379.292 & 0.438889 & -4.73056 \tabularnewline
46 & 381 & 381.364 & 381.708 & -0.344444 & -0.363889 \tabularnewline
47 & 383 & 383.039 & 384.333 & -1.29444 & -0.0388889 \tabularnewline
48 & 386 & 384.231 & 387.042 & -2.81111 & 1.76944 \tabularnewline
49 & 390 & 387.347 & 389.833 & -2.48611 & 2.65278 \tabularnewline
50 & 394 & 390.689 & 392.625 & -1.93611 & 3.31111 \tabularnewline
51 & 397 & 396.406 & 395.292 & 1.11389 & 0.594444 \tabularnewline
52 & 401 & 399.306 & 397.667 & 1.63889 & 1.69444 \tabularnewline
53 & 403 & 400.864 & 399.708 & 1.15556 & 2.13611 \tabularnewline
54 & 405 & 402.306 & 401.417 & 0.888889 & 2.69444 \tabularnewline
55 & 407 & 405.147 & 402.792 & 2.35556 & 1.85278 \tabularnewline
56 & 406 & 405.114 & 403.833 & 1.28056 & 0.886111 \tabularnewline
57 & 406 & 404.897 & 404.458 & 0.438889 & 1.10278 \tabularnewline
58 & 407 & 404.322 & 404.667 & -0.344444 & 2.67778 \tabularnewline
59 & 406 & 403.289 & 404.583 & -1.29444 & 2.71111 \tabularnewline
60 & 404 & 401.397 & 404.208 & -2.81111 & 2.60278 \tabularnewline
61 & 405 & 401.181 & 403.667 & -2.48611 & 3.81944 \tabularnewline
62 & 404 & 401.189 & 403.125 & -1.93611 & 2.81111 \tabularnewline
63 & 402 & 403.281 & 402.167 & 1.11389 & -1.28056 \tabularnewline
64 & 401 & 402.472 & 400.833 & 1.63889 & -1.47222 \tabularnewline
65 & 401 & 400.656 & 399.5 & 1.15556 & 0.344444 \tabularnewline
66 & 398 & 399.014 & 398.125 & 0.888889 & -1.01389 \tabularnewline
67 & 401 & NA & NA & 2.35556 & NA \tabularnewline
68 & 399 & NA & NA & 1.28056 & NA \tabularnewline
69 & 390 & NA & NA & 0.438889 & NA \tabularnewline
70 & 391 & NA & NA & -0.344444 & NA \tabularnewline
71 & 390 & NA & NA & -1.29444 & NA \tabularnewline
72 & 387 & NA & NA & -2.81111 & NA \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=261117&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]376[/C][C]NA[/C][C]NA[/C][C]-2.48611[/C][C]NA[/C][/ROW]
[ROW][C]2[/C][C]376[/C][C]NA[/C][C]NA[/C][C]-1.93611[/C][C]NA[/C][/ROW]
[ROW][C]3[/C][C]377[/C][C]NA[/C][C]NA[/C][C]1.11389[/C][C]NA[/C][/ROW]
[ROW][C]4[/C][C]380[/C][C]NA[/C][C]NA[/C][C]1.63889[/C][C]NA[/C][/ROW]
[ROW][C]5[/C][C]380[/C][C]NA[/C][C]NA[/C][C]1.15556[/C][C]NA[/C][/ROW]
[ROW][C]6[/C][C]381[/C][C]NA[/C][C]NA[/C][C]0.888889[/C][C]NA[/C][/ROW]
[ROW][C]7[/C][C]385[/C][C]384.356[/C][C]382[/C][C]2.35556[/C][C]0.644444[/C][/ROW]
[ROW][C]8[/C][C]385[/C][C]383.656[/C][C]382.375[/C][C]1.28056[/C][C]1.34444[/C][/ROW]
[ROW][C]9[/C][C]386[/C][C]382.897[/C][C]382.458[/C][C]0.438889[/C][C]3.10278[/C][/ROW]
[ROW][C]10[/C][C]386[/C][C]381.864[/C][C]382.208[/C][C]-0.344444[/C][C]4.13611[/C][/ROW]
[ROW][C]11[/C][C]385[/C][C]380.289[/C][C]381.583[/C][C]-1.29444[/C][C]4.71111[/C][/ROW]
[ROW][C]12[/C][C]384[/C][C]377.772[/C][C]380.583[/C][C]-2.81111[/C][C]6.22778[/C][/ROW]
[ROW][C]13[/C][C]382[/C][C]376.847[/C][C]379.333[/C][C]-2.48611[/C][C]5.15278[/C][/ROW]
[ROW][C]14[/C][C]379[/C][C]375.939[/C][C]377.875[/C][C]-1.93611[/C][C]3.06111[/C][/ROW]
[ROW][C]15[/C][C]376[/C][C]377.239[/C][C]376.125[/C][C]1.11389[/C][C]-1.23889[/C][/ROW]
[ROW][C]16[/C][C]375[/C][C]375.681[/C][C]374.042[/C][C]1.63889[/C][C]-0.680556[/C][/ROW]
[ROW][C]17[/C][C]370[/C][C]372.822[/C][C]371.667[/C][C]1.15556[/C][C]-2.82222[/C][/ROW]
[ROW][C]18[/C][C]367[/C][C]369.889[/C][C]369[/C][C]0.888889[/C][C]-2.88889[/C][/ROW]
[ROW][C]19[/C][C]369[/C][C]368.564[/C][C]366.208[/C][C]2.35556[/C][C]0.436111[/C][/ROW]
[ROW][C]20[/C][C]366[/C][C]364.947[/C][C]363.667[/C][C]1.28056[/C][C]1.05278[/C][/ROW]
[ROW][C]21[/C][C]363[/C][C]361.897[/C][C]361.458[/C][C]0.438889[/C][C]1.10278[/C][/ROW]
[ROW][C]22[/C][C]359[/C][C]359.114[/C][C]359.458[/C][C]-0.344444[/C][C]-0.113889[/C][/ROW]
[ROW][C]23[/C][C]355[/C][C]356.456[/C][C]357.75[/C][C]-1.29444[/C][C]-1.45556[/C][/ROW]
[ROW][C]24[/C][C]350[/C][C]353.647[/C][C]356.458[/C][C]-2.81111[/C][C]-3.64722[/C][/ROW]
[ROW][C]25[/C][C]349[/C][C]352.847[/C][C]355.333[/C][C]-2.48611[/C][C]-3.84722[/C][/ROW]
[ROW][C]26[/C][C]351[/C][C]352.397[/C][C]354.333[/C][C]-1.93611[/C][C]-1.39722[/C][/ROW]
[ROW][C]27[/C][C]351[/C][C]354.656[/C][C]353.542[/C][C]1.11389[/C][C]-3.65556[/C][/ROW]
[ROW][C]28[/C][C]352[/C][C]354.389[/C][C]352.75[/C][C]1.63889[/C][C]-2.38889[/C][/ROW]
[ROW][C]29[/C][C]352[/C][C]353.281[/C][C]352.125[/C][C]1.15556[/C][C]-1.28056[/C][/ROW]
[ROW][C]30[/C][C]354[/C][C]352.764[/C][C]351.875[/C][C]0.888889[/C][C]1.23611[/C][/ROW]
[ROW][C]31[/C][C]355[/C][C]354.231[/C][C]351.875[/C][C]2.35556[/C][C]0.769444[/C][/ROW]
[ROW][C]32[/C][C]356[/C][C]353.239[/C][C]351.958[/C][C]1.28056[/C][C]2.76111[/C][/ROW]
[ROW][C]33[/C][C]354[/C][C]353.231[/C][C]352.792[/C][C]0.438889[/C][C]0.769444[/C][/ROW]
[ROW][C]34[/C][C]349[/C][C]353.989[/C][C]354.333[/C][C]-0.344444[/C][C]-4.98889[/C][/ROW]
[ROW][C]35[/C][C]350[/C][C]354.581[/C][C]355.875[/C][C]-1.29444[/C][C]-4.58056[/C][/ROW]
[ROW][C]36[/C][C]349[/C][C]354.606[/C][C]357.417[/C][C]-2.81111[/C][C]-5.60556[/C][/ROW]
[ROW][C]37[/C][C]350[/C][C]356.431[/C][C]358.917[/C][C]-2.48611[/C][C]-6.43056[/C][/ROW]
[ROW][C]38[/C][C]352[/C][C]358.439[/C][C]360.375[/C][C]-1.93611[/C][C]-6.43889[/C][/ROW]
[ROW][C]39[/C][C]370[/C][C]363.072[/C][C]361.958[/C][C]1.11389[/C][C]6.92778[/C][/ROW]
[ROW][C]40[/C][C]370[/C][C]365.806[/C][C]364.167[/C][C]1.63889[/C][C]4.19444[/C][/ROW]
[ROW][C]41[/C][C]371[/C][C]368.031[/C][C]366.875[/C][C]1.15556[/C][C]2.96944[/C][/ROW]
[ROW][C]42[/C][C]372[/C][C]370.681[/C][C]369.792[/C][C]0.888889[/C][C]1.31944[/C][/ROW]
[ROW][C]43[/C][C]373[/C][C]375.356[/C][C]373[/C][C]2.35556[/C][C]-2.35556[/C][/ROW]
[ROW][C]44[/C][C]373[/C][C]377.697[/C][C]376.417[/C][C]1.28056[/C][C]-4.69722[/C][/ROW]
[ROW][C]45[/C][C]375[/C][C]379.731[/C][C]379.292[/C][C]0.438889[/C][C]-4.73056[/C][/ROW]
[ROW][C]46[/C][C]381[/C][C]381.364[/C][C]381.708[/C][C]-0.344444[/C][C]-0.363889[/C][/ROW]
[ROW][C]47[/C][C]383[/C][C]383.039[/C][C]384.333[/C][C]-1.29444[/C][C]-0.0388889[/C][/ROW]
[ROW][C]48[/C][C]386[/C][C]384.231[/C][C]387.042[/C][C]-2.81111[/C][C]1.76944[/C][/ROW]
[ROW][C]49[/C][C]390[/C][C]387.347[/C][C]389.833[/C][C]-2.48611[/C][C]2.65278[/C][/ROW]
[ROW][C]50[/C][C]394[/C][C]390.689[/C][C]392.625[/C][C]-1.93611[/C][C]3.31111[/C][/ROW]
[ROW][C]51[/C][C]397[/C][C]396.406[/C][C]395.292[/C][C]1.11389[/C][C]0.594444[/C][/ROW]
[ROW][C]52[/C][C]401[/C][C]399.306[/C][C]397.667[/C][C]1.63889[/C][C]1.69444[/C][/ROW]
[ROW][C]53[/C][C]403[/C][C]400.864[/C][C]399.708[/C][C]1.15556[/C][C]2.13611[/C][/ROW]
[ROW][C]54[/C][C]405[/C][C]402.306[/C][C]401.417[/C][C]0.888889[/C][C]2.69444[/C][/ROW]
[ROW][C]55[/C][C]407[/C][C]405.147[/C][C]402.792[/C][C]2.35556[/C][C]1.85278[/C][/ROW]
[ROW][C]56[/C][C]406[/C][C]405.114[/C][C]403.833[/C][C]1.28056[/C][C]0.886111[/C][/ROW]
[ROW][C]57[/C][C]406[/C][C]404.897[/C][C]404.458[/C][C]0.438889[/C][C]1.10278[/C][/ROW]
[ROW][C]58[/C][C]407[/C][C]404.322[/C][C]404.667[/C][C]-0.344444[/C][C]2.67778[/C][/ROW]
[ROW][C]59[/C][C]406[/C][C]403.289[/C][C]404.583[/C][C]-1.29444[/C][C]2.71111[/C][/ROW]
[ROW][C]60[/C][C]404[/C][C]401.397[/C][C]404.208[/C][C]-2.81111[/C][C]2.60278[/C][/ROW]
[ROW][C]61[/C][C]405[/C][C]401.181[/C][C]403.667[/C][C]-2.48611[/C][C]3.81944[/C][/ROW]
[ROW][C]62[/C][C]404[/C][C]401.189[/C][C]403.125[/C][C]-1.93611[/C][C]2.81111[/C][/ROW]
[ROW][C]63[/C][C]402[/C][C]403.281[/C][C]402.167[/C][C]1.11389[/C][C]-1.28056[/C][/ROW]
[ROW][C]64[/C][C]401[/C][C]402.472[/C][C]400.833[/C][C]1.63889[/C][C]-1.47222[/C][/ROW]
[ROW][C]65[/C][C]401[/C][C]400.656[/C][C]399.5[/C][C]1.15556[/C][C]0.344444[/C][/ROW]
[ROW][C]66[/C][C]398[/C][C]399.014[/C][C]398.125[/C][C]0.888889[/C][C]-1.01389[/C][/ROW]
[ROW][C]67[/C][C]401[/C][C]NA[/C][C]NA[/C][C]2.35556[/C][C]NA[/C][/ROW]
[ROW][C]68[/C][C]399[/C][C]NA[/C][C]NA[/C][C]1.28056[/C][C]NA[/C][/ROW]
[ROW][C]69[/C][C]390[/C][C]NA[/C][C]NA[/C][C]0.438889[/C][C]NA[/C][/ROW]
[ROW][C]70[/C][C]391[/C][C]NA[/C][C]NA[/C][C]-0.344444[/C][C]NA[/C][/ROW]
[ROW][C]71[/C][C]390[/C][C]NA[/C][C]NA[/C][C]-1.29444[/C][C]NA[/C][/ROW]
[ROW][C]72[/C][C]387[/C][C]NA[/C][C]NA[/C][C]-2.81111[/C][C]NA[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=261117&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=261117&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
1376NANA-2.48611NA
2376NANA-1.93611NA
3377NANA1.11389NA
4380NANA1.63889NA
5380NANA1.15556NA
6381NANA0.888889NA
7385384.3563822.355560.644444
8385383.656382.3751.280561.34444
9386382.897382.4580.4388893.10278
10386381.864382.208-0.3444444.13611
11385380.289381.583-1.294444.71111
12384377.772380.583-2.811116.22778
13382376.847379.333-2.486115.15278
14379375.939377.875-1.936113.06111
15376377.239376.1251.11389-1.23889
16375375.681374.0421.63889-0.680556
17370372.822371.6671.15556-2.82222
18367369.8893690.888889-2.88889
19369368.564366.2082.355560.436111
20366364.947363.6671.280561.05278
21363361.897361.4580.4388891.10278
22359359.114359.458-0.344444-0.113889
23355356.456357.75-1.29444-1.45556
24350353.647356.458-2.81111-3.64722
25349352.847355.333-2.48611-3.84722
26351352.397354.333-1.93611-1.39722
27351354.656353.5421.11389-3.65556
28352354.389352.751.63889-2.38889
29352353.281352.1251.15556-1.28056
30354352.764351.8750.8888891.23611
31355354.231351.8752.355560.769444
32356353.239351.9581.280562.76111
33354353.231352.7920.4388890.769444
34349353.989354.333-0.344444-4.98889
35350354.581355.875-1.29444-4.58056
36349354.606357.417-2.81111-5.60556
37350356.431358.917-2.48611-6.43056
38352358.439360.375-1.93611-6.43889
39370363.072361.9581.113896.92778
40370365.806364.1671.638894.19444
41371368.031366.8751.155562.96944
42372370.681369.7920.8888891.31944
43373375.3563732.35556-2.35556
44373377.697376.4171.28056-4.69722
45375379.731379.2920.438889-4.73056
46381381.364381.708-0.344444-0.363889
47383383.039384.333-1.29444-0.0388889
48386384.231387.042-2.811111.76944
49390387.347389.833-2.486112.65278
50394390.689392.625-1.936113.31111
51397396.406395.2921.113890.594444
52401399.306397.6671.638891.69444
53403400.864399.7081.155562.13611
54405402.306401.4170.8888892.69444
55407405.147402.7922.355561.85278
56406405.114403.8331.280560.886111
57406404.897404.4580.4388891.10278
58407404.322404.667-0.3444442.67778
59406403.289404.583-1.294442.71111
60404401.397404.208-2.811112.60278
61405401.181403.667-2.486113.81944
62404401.189403.125-1.936112.81111
63402403.281402.1671.11389-1.28056
64401402.472400.8331.63889-1.47222
65401400.656399.51.155560.344444
66398399.014398.1250.888889-1.01389
67401NANA2.35556NA
68399NANA1.28056NA
69390NANA0.438889NA
70391NANA-0.344444NA
71390NANA-1.29444NA
72387NANA-2.81111NA



Parameters (Session):
par1 = additive ; par2 = 12 ;
Parameters (R input):
par1 = additive ; par2 = 12 ;
R code (references can be found in the software module):
par2 <- '12'
par1 <- 'multiplicative'
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,signif(m$trend[i]+m$seasonal[i],6)) else a<-table.element(a,signif(m$trend[i]*m$seasonal[i],6))
a<-table.element(a,signif(m$trend[i],6))
a<-table.element(a,signif(m$seasonal[i],6))
a<-table.element(a,signif(m$random[i],6))
a<-table.row.end(a)
}
a<-table.end(a)
table.save(a,file='mytable.tab')