Free Statistics

of Irreproducible Research!

Author's title

Author*Unverified author*
R Software Modulerwasp_decompose.wasp
Title produced by softwareClassical Decomposition
Date of computationSun, 30 Nov 2014 17:08:50 +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/30/t141736734823c3af1ulv82h5s.htm/, Retrieved Sun, 19 May 2024 16:36:40 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=261544, Retrieved Sun, 19 May 2024 16:36:40 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact72
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-       [Classical Decomposition] [] [2014-11-30 17:08:50] [f3f8000f3957416038d6f50ac60d9d25] [Current]
Feedback Forum

Post a new message
Dataseries X:
412
406
398
397
385
390
413
413
401
397
397
409
419
424
428
430
424
433
456
459
446
441
439
454
460
457
451
444
437
443
471
469
454
444
436
442
446
442
438
433
428
426
452
455
439
434
431
435
450
449
442
437
431
433
460
465
451
447
446
449
460
457
454
453
449
451
482
486
476
472
471
479




Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time3 seconds
R Server'Gwilym Jenkins' @ jenkins.wessa.net

\begin{tabular}{lllllllll}
\hline
Summary of computational transaction \tabularnewline
Raw Input & view raw input (R code)  \tabularnewline
Raw Output & view raw output of R engine  \tabularnewline
Computing time & 3 seconds \tabularnewline
R Server & 'Gwilym Jenkins' @ jenkins.wessa.net \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=261544&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]'Gwilym Jenkins' @ jenkins.wessa.net[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=261544&T=0

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







Classical Decomposition by Moving Averages
tObservationsFitTrendSeasonalRandom
1412NANA6.19722NA
2406NANA3.81389NA
3398NANA-0.619444NA
4397NANA-5.06944NA
5385NANA-11.9111NA
6390NANA-9.71111NA
7413417.164401.79215.3722-4.16389
8413419.181402.83316.3472-6.18056
9401406.289404.8331.45556-5.28889
10397402.381407.458-5.07778-5.38056
11397401.581410.458-8.87778-4.58056
12409411.956413.875-1.91944-2.95556
13419423.656417.4586.19722-4.65556
14424424.981421.1673.81389-0.980556
15428424.339424.958-0.6194443.66111
16430423.597428.667-5.069446.40278
17424420.339432.25-11.91113.66111
18433426.164435.875-9.711116.83611
19456454.831439.45815.37221.16944
20459458.889442.54216.34720.111111
21446446.331444.8751.45556-0.330556
22441441.339446.417-5.07778-0.338889
23439438.664447.542-8.877780.336111
24454446.581448.5-1.919447.41944
25460455.739449.5426.197224.26111
26457454.397450.5833.813892.60278
27451450.714451.333-0.6194440.286111
28444446.722451.792-5.06944-2.72222
29437439.881451.792-11.9111-2.88056
30443441.456451.167-9.711111.54444
31471465.456450.08315.37225.54444
32469465.222448.87516.34723.77778
33454449.164447.7081.455564.83611
34444441.631446.708-5.077782.36944
35436436.997445.875-8.87778-0.997222
36442442.872444.792-1.91944-0.872222
37446449.489443.2926.19722-3.48889
38442445.731441.9173.81389-3.73056
39438440.089440.708-0.619444-2.08889
40433434.597439.667-5.06944-1.59722
41428427.131439.042-11.91110.869444
42426428.831438.542-9.71111-2.83056
43452453.789438.41715.3722-1.78889
44455455.222438.87516.3472-0.222222
45439440.789439.3331.45556-1.78889
46434434.589439.667-5.07778-0.588889
47431431.081439.958-8.87778-0.0805556
48435438.456440.375-1.91944-3.45556
49450447.1974416.197222.80278
50449445.564441.753.813893.43611
51442442.047442.667-0.619444-0.0472222
52437438.639443.708-5.06944-1.63889
53431432.964444.875-11.9111-1.96389
54433436.372446.083-9.71111-3.37222
55460462.456447.08315.3722-2.45556
56465464.181447.83316.34720.819444
57451450.122448.6671.455560.877778
58447444.756449.833-5.077782.24444
59446442.372451.25-8.877783.62778
60449450.831452.75-1.91944-1.83056
61460460.614454.4176.19722-0.613889
62457460.022456.2083.81389-3.02222
63454457.506458.125-0.619444-3.50556
64453455.139460.208-5.06944-2.13889
65449450.381462.292-11.9111-1.38056
66451454.872464.583-9.71111-3.87222
67482NANA15.3722NA
68486NANA16.3472NA
69476NANA1.45556NA
70472NANA-5.07778NA
71471NANA-8.87778NA
72479NANA-1.91944NA

\begin{tabular}{lllllllll}
\hline
Classical Decomposition by Moving Averages \tabularnewline
t & Observations & Fit & Trend & Seasonal & Random \tabularnewline
1 & 412 & NA & NA & 6.19722 & NA \tabularnewline
2 & 406 & NA & NA & 3.81389 & NA \tabularnewline
3 & 398 & NA & NA & -0.619444 & NA \tabularnewline
4 & 397 & NA & NA & -5.06944 & NA \tabularnewline
5 & 385 & NA & NA & -11.9111 & NA \tabularnewline
6 & 390 & NA & NA & -9.71111 & NA \tabularnewline
7 & 413 & 417.164 & 401.792 & 15.3722 & -4.16389 \tabularnewline
8 & 413 & 419.181 & 402.833 & 16.3472 & -6.18056 \tabularnewline
9 & 401 & 406.289 & 404.833 & 1.45556 & -5.28889 \tabularnewline
10 & 397 & 402.381 & 407.458 & -5.07778 & -5.38056 \tabularnewline
11 & 397 & 401.581 & 410.458 & -8.87778 & -4.58056 \tabularnewline
12 & 409 & 411.956 & 413.875 & -1.91944 & -2.95556 \tabularnewline
13 & 419 & 423.656 & 417.458 & 6.19722 & -4.65556 \tabularnewline
14 & 424 & 424.981 & 421.167 & 3.81389 & -0.980556 \tabularnewline
15 & 428 & 424.339 & 424.958 & -0.619444 & 3.66111 \tabularnewline
16 & 430 & 423.597 & 428.667 & -5.06944 & 6.40278 \tabularnewline
17 & 424 & 420.339 & 432.25 & -11.9111 & 3.66111 \tabularnewline
18 & 433 & 426.164 & 435.875 & -9.71111 & 6.83611 \tabularnewline
19 & 456 & 454.831 & 439.458 & 15.3722 & 1.16944 \tabularnewline
20 & 459 & 458.889 & 442.542 & 16.3472 & 0.111111 \tabularnewline
21 & 446 & 446.331 & 444.875 & 1.45556 & -0.330556 \tabularnewline
22 & 441 & 441.339 & 446.417 & -5.07778 & -0.338889 \tabularnewline
23 & 439 & 438.664 & 447.542 & -8.87778 & 0.336111 \tabularnewline
24 & 454 & 446.581 & 448.5 & -1.91944 & 7.41944 \tabularnewline
25 & 460 & 455.739 & 449.542 & 6.19722 & 4.26111 \tabularnewline
26 & 457 & 454.397 & 450.583 & 3.81389 & 2.60278 \tabularnewline
27 & 451 & 450.714 & 451.333 & -0.619444 & 0.286111 \tabularnewline
28 & 444 & 446.722 & 451.792 & -5.06944 & -2.72222 \tabularnewline
29 & 437 & 439.881 & 451.792 & -11.9111 & -2.88056 \tabularnewline
30 & 443 & 441.456 & 451.167 & -9.71111 & 1.54444 \tabularnewline
31 & 471 & 465.456 & 450.083 & 15.3722 & 5.54444 \tabularnewline
32 & 469 & 465.222 & 448.875 & 16.3472 & 3.77778 \tabularnewline
33 & 454 & 449.164 & 447.708 & 1.45556 & 4.83611 \tabularnewline
34 & 444 & 441.631 & 446.708 & -5.07778 & 2.36944 \tabularnewline
35 & 436 & 436.997 & 445.875 & -8.87778 & -0.997222 \tabularnewline
36 & 442 & 442.872 & 444.792 & -1.91944 & -0.872222 \tabularnewline
37 & 446 & 449.489 & 443.292 & 6.19722 & -3.48889 \tabularnewline
38 & 442 & 445.731 & 441.917 & 3.81389 & -3.73056 \tabularnewline
39 & 438 & 440.089 & 440.708 & -0.619444 & -2.08889 \tabularnewline
40 & 433 & 434.597 & 439.667 & -5.06944 & -1.59722 \tabularnewline
41 & 428 & 427.131 & 439.042 & -11.9111 & 0.869444 \tabularnewline
42 & 426 & 428.831 & 438.542 & -9.71111 & -2.83056 \tabularnewline
43 & 452 & 453.789 & 438.417 & 15.3722 & -1.78889 \tabularnewline
44 & 455 & 455.222 & 438.875 & 16.3472 & -0.222222 \tabularnewline
45 & 439 & 440.789 & 439.333 & 1.45556 & -1.78889 \tabularnewline
46 & 434 & 434.589 & 439.667 & -5.07778 & -0.588889 \tabularnewline
47 & 431 & 431.081 & 439.958 & -8.87778 & -0.0805556 \tabularnewline
48 & 435 & 438.456 & 440.375 & -1.91944 & -3.45556 \tabularnewline
49 & 450 & 447.197 & 441 & 6.19722 & 2.80278 \tabularnewline
50 & 449 & 445.564 & 441.75 & 3.81389 & 3.43611 \tabularnewline
51 & 442 & 442.047 & 442.667 & -0.619444 & -0.0472222 \tabularnewline
52 & 437 & 438.639 & 443.708 & -5.06944 & -1.63889 \tabularnewline
53 & 431 & 432.964 & 444.875 & -11.9111 & -1.96389 \tabularnewline
54 & 433 & 436.372 & 446.083 & -9.71111 & -3.37222 \tabularnewline
55 & 460 & 462.456 & 447.083 & 15.3722 & -2.45556 \tabularnewline
56 & 465 & 464.181 & 447.833 & 16.3472 & 0.819444 \tabularnewline
57 & 451 & 450.122 & 448.667 & 1.45556 & 0.877778 \tabularnewline
58 & 447 & 444.756 & 449.833 & -5.07778 & 2.24444 \tabularnewline
59 & 446 & 442.372 & 451.25 & -8.87778 & 3.62778 \tabularnewline
60 & 449 & 450.831 & 452.75 & -1.91944 & -1.83056 \tabularnewline
61 & 460 & 460.614 & 454.417 & 6.19722 & -0.613889 \tabularnewline
62 & 457 & 460.022 & 456.208 & 3.81389 & -3.02222 \tabularnewline
63 & 454 & 457.506 & 458.125 & -0.619444 & -3.50556 \tabularnewline
64 & 453 & 455.139 & 460.208 & -5.06944 & -2.13889 \tabularnewline
65 & 449 & 450.381 & 462.292 & -11.9111 & -1.38056 \tabularnewline
66 & 451 & 454.872 & 464.583 & -9.71111 & -3.87222 \tabularnewline
67 & 482 & NA & NA & 15.3722 & NA \tabularnewline
68 & 486 & NA & NA & 16.3472 & NA \tabularnewline
69 & 476 & NA & NA & 1.45556 & NA \tabularnewline
70 & 472 & NA & NA & -5.07778 & NA \tabularnewline
71 & 471 & NA & NA & -8.87778 & NA \tabularnewline
72 & 479 & NA & NA & -1.91944 & NA \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=261544&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]412[/C][C]NA[/C][C]NA[/C][C]6.19722[/C][C]NA[/C][/ROW]
[ROW][C]2[/C][C]406[/C][C]NA[/C][C]NA[/C][C]3.81389[/C][C]NA[/C][/ROW]
[ROW][C]3[/C][C]398[/C][C]NA[/C][C]NA[/C][C]-0.619444[/C][C]NA[/C][/ROW]
[ROW][C]4[/C][C]397[/C][C]NA[/C][C]NA[/C][C]-5.06944[/C][C]NA[/C][/ROW]
[ROW][C]5[/C][C]385[/C][C]NA[/C][C]NA[/C][C]-11.9111[/C][C]NA[/C][/ROW]
[ROW][C]6[/C][C]390[/C][C]NA[/C][C]NA[/C][C]-9.71111[/C][C]NA[/C][/ROW]
[ROW][C]7[/C][C]413[/C][C]417.164[/C][C]401.792[/C][C]15.3722[/C][C]-4.16389[/C][/ROW]
[ROW][C]8[/C][C]413[/C][C]419.181[/C][C]402.833[/C][C]16.3472[/C][C]-6.18056[/C][/ROW]
[ROW][C]9[/C][C]401[/C][C]406.289[/C][C]404.833[/C][C]1.45556[/C][C]-5.28889[/C][/ROW]
[ROW][C]10[/C][C]397[/C][C]402.381[/C][C]407.458[/C][C]-5.07778[/C][C]-5.38056[/C][/ROW]
[ROW][C]11[/C][C]397[/C][C]401.581[/C][C]410.458[/C][C]-8.87778[/C][C]-4.58056[/C][/ROW]
[ROW][C]12[/C][C]409[/C][C]411.956[/C][C]413.875[/C][C]-1.91944[/C][C]-2.95556[/C][/ROW]
[ROW][C]13[/C][C]419[/C][C]423.656[/C][C]417.458[/C][C]6.19722[/C][C]-4.65556[/C][/ROW]
[ROW][C]14[/C][C]424[/C][C]424.981[/C][C]421.167[/C][C]3.81389[/C][C]-0.980556[/C][/ROW]
[ROW][C]15[/C][C]428[/C][C]424.339[/C][C]424.958[/C][C]-0.619444[/C][C]3.66111[/C][/ROW]
[ROW][C]16[/C][C]430[/C][C]423.597[/C][C]428.667[/C][C]-5.06944[/C][C]6.40278[/C][/ROW]
[ROW][C]17[/C][C]424[/C][C]420.339[/C][C]432.25[/C][C]-11.9111[/C][C]3.66111[/C][/ROW]
[ROW][C]18[/C][C]433[/C][C]426.164[/C][C]435.875[/C][C]-9.71111[/C][C]6.83611[/C][/ROW]
[ROW][C]19[/C][C]456[/C][C]454.831[/C][C]439.458[/C][C]15.3722[/C][C]1.16944[/C][/ROW]
[ROW][C]20[/C][C]459[/C][C]458.889[/C][C]442.542[/C][C]16.3472[/C][C]0.111111[/C][/ROW]
[ROW][C]21[/C][C]446[/C][C]446.331[/C][C]444.875[/C][C]1.45556[/C][C]-0.330556[/C][/ROW]
[ROW][C]22[/C][C]441[/C][C]441.339[/C][C]446.417[/C][C]-5.07778[/C][C]-0.338889[/C][/ROW]
[ROW][C]23[/C][C]439[/C][C]438.664[/C][C]447.542[/C][C]-8.87778[/C][C]0.336111[/C][/ROW]
[ROW][C]24[/C][C]454[/C][C]446.581[/C][C]448.5[/C][C]-1.91944[/C][C]7.41944[/C][/ROW]
[ROW][C]25[/C][C]460[/C][C]455.739[/C][C]449.542[/C][C]6.19722[/C][C]4.26111[/C][/ROW]
[ROW][C]26[/C][C]457[/C][C]454.397[/C][C]450.583[/C][C]3.81389[/C][C]2.60278[/C][/ROW]
[ROW][C]27[/C][C]451[/C][C]450.714[/C][C]451.333[/C][C]-0.619444[/C][C]0.286111[/C][/ROW]
[ROW][C]28[/C][C]444[/C][C]446.722[/C][C]451.792[/C][C]-5.06944[/C][C]-2.72222[/C][/ROW]
[ROW][C]29[/C][C]437[/C][C]439.881[/C][C]451.792[/C][C]-11.9111[/C][C]-2.88056[/C][/ROW]
[ROW][C]30[/C][C]443[/C][C]441.456[/C][C]451.167[/C][C]-9.71111[/C][C]1.54444[/C][/ROW]
[ROW][C]31[/C][C]471[/C][C]465.456[/C][C]450.083[/C][C]15.3722[/C][C]5.54444[/C][/ROW]
[ROW][C]32[/C][C]469[/C][C]465.222[/C][C]448.875[/C][C]16.3472[/C][C]3.77778[/C][/ROW]
[ROW][C]33[/C][C]454[/C][C]449.164[/C][C]447.708[/C][C]1.45556[/C][C]4.83611[/C][/ROW]
[ROW][C]34[/C][C]444[/C][C]441.631[/C][C]446.708[/C][C]-5.07778[/C][C]2.36944[/C][/ROW]
[ROW][C]35[/C][C]436[/C][C]436.997[/C][C]445.875[/C][C]-8.87778[/C][C]-0.997222[/C][/ROW]
[ROW][C]36[/C][C]442[/C][C]442.872[/C][C]444.792[/C][C]-1.91944[/C][C]-0.872222[/C][/ROW]
[ROW][C]37[/C][C]446[/C][C]449.489[/C][C]443.292[/C][C]6.19722[/C][C]-3.48889[/C][/ROW]
[ROW][C]38[/C][C]442[/C][C]445.731[/C][C]441.917[/C][C]3.81389[/C][C]-3.73056[/C][/ROW]
[ROW][C]39[/C][C]438[/C][C]440.089[/C][C]440.708[/C][C]-0.619444[/C][C]-2.08889[/C][/ROW]
[ROW][C]40[/C][C]433[/C][C]434.597[/C][C]439.667[/C][C]-5.06944[/C][C]-1.59722[/C][/ROW]
[ROW][C]41[/C][C]428[/C][C]427.131[/C][C]439.042[/C][C]-11.9111[/C][C]0.869444[/C][/ROW]
[ROW][C]42[/C][C]426[/C][C]428.831[/C][C]438.542[/C][C]-9.71111[/C][C]-2.83056[/C][/ROW]
[ROW][C]43[/C][C]452[/C][C]453.789[/C][C]438.417[/C][C]15.3722[/C][C]-1.78889[/C][/ROW]
[ROW][C]44[/C][C]455[/C][C]455.222[/C][C]438.875[/C][C]16.3472[/C][C]-0.222222[/C][/ROW]
[ROW][C]45[/C][C]439[/C][C]440.789[/C][C]439.333[/C][C]1.45556[/C][C]-1.78889[/C][/ROW]
[ROW][C]46[/C][C]434[/C][C]434.589[/C][C]439.667[/C][C]-5.07778[/C][C]-0.588889[/C][/ROW]
[ROW][C]47[/C][C]431[/C][C]431.081[/C][C]439.958[/C][C]-8.87778[/C][C]-0.0805556[/C][/ROW]
[ROW][C]48[/C][C]435[/C][C]438.456[/C][C]440.375[/C][C]-1.91944[/C][C]-3.45556[/C][/ROW]
[ROW][C]49[/C][C]450[/C][C]447.197[/C][C]441[/C][C]6.19722[/C][C]2.80278[/C][/ROW]
[ROW][C]50[/C][C]449[/C][C]445.564[/C][C]441.75[/C][C]3.81389[/C][C]3.43611[/C][/ROW]
[ROW][C]51[/C][C]442[/C][C]442.047[/C][C]442.667[/C][C]-0.619444[/C][C]-0.0472222[/C][/ROW]
[ROW][C]52[/C][C]437[/C][C]438.639[/C][C]443.708[/C][C]-5.06944[/C][C]-1.63889[/C][/ROW]
[ROW][C]53[/C][C]431[/C][C]432.964[/C][C]444.875[/C][C]-11.9111[/C][C]-1.96389[/C][/ROW]
[ROW][C]54[/C][C]433[/C][C]436.372[/C][C]446.083[/C][C]-9.71111[/C][C]-3.37222[/C][/ROW]
[ROW][C]55[/C][C]460[/C][C]462.456[/C][C]447.083[/C][C]15.3722[/C][C]-2.45556[/C][/ROW]
[ROW][C]56[/C][C]465[/C][C]464.181[/C][C]447.833[/C][C]16.3472[/C][C]0.819444[/C][/ROW]
[ROW][C]57[/C][C]451[/C][C]450.122[/C][C]448.667[/C][C]1.45556[/C][C]0.877778[/C][/ROW]
[ROW][C]58[/C][C]447[/C][C]444.756[/C][C]449.833[/C][C]-5.07778[/C][C]2.24444[/C][/ROW]
[ROW][C]59[/C][C]446[/C][C]442.372[/C][C]451.25[/C][C]-8.87778[/C][C]3.62778[/C][/ROW]
[ROW][C]60[/C][C]449[/C][C]450.831[/C][C]452.75[/C][C]-1.91944[/C][C]-1.83056[/C][/ROW]
[ROW][C]61[/C][C]460[/C][C]460.614[/C][C]454.417[/C][C]6.19722[/C][C]-0.613889[/C][/ROW]
[ROW][C]62[/C][C]457[/C][C]460.022[/C][C]456.208[/C][C]3.81389[/C][C]-3.02222[/C][/ROW]
[ROW][C]63[/C][C]454[/C][C]457.506[/C][C]458.125[/C][C]-0.619444[/C][C]-3.50556[/C][/ROW]
[ROW][C]64[/C][C]453[/C][C]455.139[/C][C]460.208[/C][C]-5.06944[/C][C]-2.13889[/C][/ROW]
[ROW][C]65[/C][C]449[/C][C]450.381[/C][C]462.292[/C][C]-11.9111[/C][C]-1.38056[/C][/ROW]
[ROW][C]66[/C][C]451[/C][C]454.872[/C][C]464.583[/C][C]-9.71111[/C][C]-3.87222[/C][/ROW]
[ROW][C]67[/C][C]482[/C][C]NA[/C][C]NA[/C][C]15.3722[/C][C]NA[/C][/ROW]
[ROW][C]68[/C][C]486[/C][C]NA[/C][C]NA[/C][C]16.3472[/C][C]NA[/C][/ROW]
[ROW][C]69[/C][C]476[/C][C]NA[/C][C]NA[/C][C]1.45556[/C][C]NA[/C][/ROW]
[ROW][C]70[/C][C]472[/C][C]NA[/C][C]NA[/C][C]-5.07778[/C][C]NA[/C][/ROW]
[ROW][C]71[/C][C]471[/C][C]NA[/C][C]NA[/C][C]-8.87778[/C][C]NA[/C][/ROW]
[ROW][C]72[/C][C]479[/C][C]NA[/C][C]NA[/C][C]-1.91944[/C][C]NA[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=261544&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=261544&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
1412NANA6.19722NA
2406NANA3.81389NA
3398NANA-0.619444NA
4397NANA-5.06944NA
5385NANA-11.9111NA
6390NANA-9.71111NA
7413417.164401.79215.3722-4.16389
8413419.181402.83316.3472-6.18056
9401406.289404.8331.45556-5.28889
10397402.381407.458-5.07778-5.38056
11397401.581410.458-8.87778-4.58056
12409411.956413.875-1.91944-2.95556
13419423.656417.4586.19722-4.65556
14424424.981421.1673.81389-0.980556
15428424.339424.958-0.6194443.66111
16430423.597428.667-5.069446.40278
17424420.339432.25-11.91113.66111
18433426.164435.875-9.711116.83611
19456454.831439.45815.37221.16944
20459458.889442.54216.34720.111111
21446446.331444.8751.45556-0.330556
22441441.339446.417-5.07778-0.338889
23439438.664447.542-8.877780.336111
24454446.581448.5-1.919447.41944
25460455.739449.5426.197224.26111
26457454.397450.5833.813892.60278
27451450.714451.333-0.6194440.286111
28444446.722451.792-5.06944-2.72222
29437439.881451.792-11.9111-2.88056
30443441.456451.167-9.711111.54444
31471465.456450.08315.37225.54444
32469465.222448.87516.34723.77778
33454449.164447.7081.455564.83611
34444441.631446.708-5.077782.36944
35436436.997445.875-8.87778-0.997222
36442442.872444.792-1.91944-0.872222
37446449.489443.2926.19722-3.48889
38442445.731441.9173.81389-3.73056
39438440.089440.708-0.619444-2.08889
40433434.597439.667-5.06944-1.59722
41428427.131439.042-11.91110.869444
42426428.831438.542-9.71111-2.83056
43452453.789438.41715.3722-1.78889
44455455.222438.87516.3472-0.222222
45439440.789439.3331.45556-1.78889
46434434.589439.667-5.07778-0.588889
47431431.081439.958-8.87778-0.0805556
48435438.456440.375-1.91944-3.45556
49450447.1974416.197222.80278
50449445.564441.753.813893.43611
51442442.047442.667-0.619444-0.0472222
52437438.639443.708-5.06944-1.63889
53431432.964444.875-11.9111-1.96389
54433436.372446.083-9.71111-3.37222
55460462.456447.08315.3722-2.45556
56465464.181447.83316.34720.819444
57451450.122448.6671.455560.877778
58447444.756449.833-5.077782.24444
59446442.372451.25-8.877783.62778
60449450.831452.75-1.91944-1.83056
61460460.614454.4176.19722-0.613889
62457460.022456.2083.81389-3.02222
63454457.506458.125-0.619444-3.50556
64453455.139460.208-5.06944-2.13889
65449450.381462.292-11.9111-1.38056
66451454.872464.583-9.71111-3.87222
67482NANA15.3722NA
68486NANA16.3472NA
69476NANA1.45556NA
70472NANA-5.07778NA
71471NANA-8.87778NA
72479NANA-1.91944NA



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