Free Statistics

of Irreproducible Research!

Author's title

Author*The author of this computation has been verified*
R Software Modulerwasp_decompose.wasp
Title produced by softwareClassical Decomposition
Date of computationWed, 14 Dec 2016 13:45:15 +0100
Cite this page as followsStatistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?v=date/2016/Dec/14/t1481719560xf85gl0970r5csy.htm/, Retrieved Fri, 03 May 2024 23:43:47 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=299374, Retrieved Fri, 03 May 2024 23:43:47 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact61
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-       [Classical Decomposition] [F1-competitie (ko...] [2016-12-14 12:45:15] [55eb8f21ed24cda91766c505eb72bb6f] [Current]
Feedback Forum

Post a new message
Dataseries X:
4352
4320
4440
4408
4426
4404
4427
4375
4327
4336
4325
4365
4305
4282
4256
4181
4163
4268
4212
4220
4243
4243
4245
4221
4195
4219
4219
4198
4103
4122
4062
4061
4015
3927
3938
3927
3904
3810
3755
3728
3700
3637
3584
3551
3500
3428
3433
3385
3391
3354
3334
3327
3169
3169
3130
3094
3074
3036
3018
2999
2932
2943
2926




Summary of computational transaction
Raw Input view raw input (R code)
Raw Outputview raw output of R engine
Computing time2 seconds
R ServerBig Analytics Cloud Computing Center

\begin{tabular}{lllllllll}
\hline
Summary of computational transaction \tabularnewline
Raw Input view raw input (R code)  \tabularnewline
Raw Outputview raw output of R engine  \tabularnewline
Computing time2 seconds \tabularnewline
R ServerBig Analytics Cloud Computing Center \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=299374&T=0

[TABLE]
[ROW]
Summary of computational transaction[/C][/ROW] [ROW]Raw Input[/C] view raw input (R code) [/C][/ROW] [ROW]Raw Output[/C]view raw output of R engine [/C][/ROW] [ROW]Computing time[/C]2 seconds[/C][/ROW] [ROW]R Server[/C]Big Analytics Cloud Computing Center[/C][/ROW] [/TABLE] Source: https://freestatistics.org/blog/index.php?pk=299374&T=0

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=299374&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 Input view raw input (R code)
Raw Outputview raw output of R engine
Computing time2 seconds
R ServerBig Analytics Cloud Computing Center







Classical Decomposition by Moving Averages
tObservationsFitTrendSeasonalRandom
14352NANA19.02NA
24320NANA13.3741NA
34440NANA14.52NA
44408NANA8.61372NA
54426NANA-38.98NA
64404NANA4.11372NA
744274368.114373.46-5.3446258.8863
843754365.084369.92-4.836289.91962
943274351.524360.67-9.14462-24.522
1043364320.624343.54-22.917515.3759
1143254326.314323.133.18663-1.31163
1243654324.894306.518.39540.105
1343054310.894291.8819.02-5.89497
1442824289.834276.4613.3741-7.83247
1542564281.024266.514.52-25.02
1641814267.744259.128.61372-86.7387
1741634212.944251.92-38.98-49.9366
1842684246.74242.584.1137221.303
1942124226.664232-5.34462-14.6554
2042204219.964224.79-4.836280.0446181
2142434211.484220.62-9.1446231.5196
2242434196.874219.79-22.917546.1259
2342454221.1942183.1866323.8134
2442214227.814209.4218.395-6.81163
2541954216.14197.0819.02-21.1033
2642194197.584184.2113.374121.4175
2742194182.64168.0814.5236.3967
2841984154.034145.428.6137243.9696
2941034080.484119.46-38.9822.5217
3041224098.534094.424.1137223.4696
3140624064.74070.04-5.34462-2.69705
3240614036.044040.88-4.8362824.9613
3340153995.364004.5-9.1446219.6446
3439273942.673965.58-22.9175-15.6658
3539383932.393929.213.186635.60503
3639273910.63892.2118.39516.3967
3739043871.13852.0819.0232.8967
3838103824.293810.9213.3741-14.2908
3937553782.733768.2114.52-27.7283
4037283734.573725.968.61372-6.57205
4137003645.143684.12-38.9854.855
4236373644.613640.54.11372-7.61372
4335843591.23596.54-5.34462-7.19705
4435513551.333556.17-4.83628-0.330382
4535003510.483519.62-9.14462-10.4804
4634283462.463485.37-22.9175-34.4575
4734333449.733446.543.18663-16.7283
4833853423.313404.9218.395-38.3116
4933913385.523366.519.025.48003
5033543341.923328.5413.374112.0842
5133343306.273291.7514.5227.73
5233273266.283257.678.6137260.7196
5331693185.063224.04-38.98-16.0616
5431693194.783190.674.11372-25.7804
5531303150.113155.46-5.34462-20.1137
5630943114.373119.21-4.83628-20.372
5730743075.943085.08-9.14462-1.93872
583036NANA-22.9175NA
593018NANA3.18663NA
602999NANA18.395NA
612932NANA19.02NA
622943NANA13.3741NA
632926NANA14.52NA

\begin{tabular}{lllllllll}
\hline
Classical Decomposition by Moving Averages \tabularnewline
t & Observations & Fit & Trend & Seasonal & Random \tabularnewline
1 & 4352 & NA & NA & 19.02 & NA \tabularnewline
2 & 4320 & NA & NA & 13.3741 & NA \tabularnewline
3 & 4440 & NA & NA & 14.52 & NA \tabularnewline
4 & 4408 & NA & NA & 8.61372 & NA \tabularnewline
5 & 4426 & NA & NA & -38.98 & NA \tabularnewline
6 & 4404 & NA & NA & 4.11372 & NA \tabularnewline
7 & 4427 & 4368.11 & 4373.46 & -5.34462 & 58.8863 \tabularnewline
8 & 4375 & 4365.08 & 4369.92 & -4.83628 & 9.91962 \tabularnewline
9 & 4327 & 4351.52 & 4360.67 & -9.14462 & -24.522 \tabularnewline
10 & 4336 & 4320.62 & 4343.54 & -22.9175 & 15.3759 \tabularnewline
11 & 4325 & 4326.31 & 4323.13 & 3.18663 & -1.31163 \tabularnewline
12 & 4365 & 4324.89 & 4306.5 & 18.395 & 40.105 \tabularnewline
13 & 4305 & 4310.89 & 4291.88 & 19.02 & -5.89497 \tabularnewline
14 & 4282 & 4289.83 & 4276.46 & 13.3741 & -7.83247 \tabularnewline
15 & 4256 & 4281.02 & 4266.5 & 14.52 & -25.02 \tabularnewline
16 & 4181 & 4267.74 & 4259.12 & 8.61372 & -86.7387 \tabularnewline
17 & 4163 & 4212.94 & 4251.92 & -38.98 & -49.9366 \tabularnewline
18 & 4268 & 4246.7 & 4242.58 & 4.11372 & 21.303 \tabularnewline
19 & 4212 & 4226.66 & 4232 & -5.34462 & -14.6554 \tabularnewline
20 & 4220 & 4219.96 & 4224.79 & -4.83628 & 0.0446181 \tabularnewline
21 & 4243 & 4211.48 & 4220.62 & -9.14462 & 31.5196 \tabularnewline
22 & 4243 & 4196.87 & 4219.79 & -22.9175 & 46.1259 \tabularnewline
23 & 4245 & 4221.19 & 4218 & 3.18663 & 23.8134 \tabularnewline
24 & 4221 & 4227.81 & 4209.42 & 18.395 & -6.81163 \tabularnewline
25 & 4195 & 4216.1 & 4197.08 & 19.02 & -21.1033 \tabularnewline
26 & 4219 & 4197.58 & 4184.21 & 13.3741 & 21.4175 \tabularnewline
27 & 4219 & 4182.6 & 4168.08 & 14.52 & 36.3967 \tabularnewline
28 & 4198 & 4154.03 & 4145.42 & 8.61372 & 43.9696 \tabularnewline
29 & 4103 & 4080.48 & 4119.46 & -38.98 & 22.5217 \tabularnewline
30 & 4122 & 4098.53 & 4094.42 & 4.11372 & 23.4696 \tabularnewline
31 & 4062 & 4064.7 & 4070.04 & -5.34462 & -2.69705 \tabularnewline
32 & 4061 & 4036.04 & 4040.88 & -4.83628 & 24.9613 \tabularnewline
33 & 4015 & 3995.36 & 4004.5 & -9.14462 & 19.6446 \tabularnewline
34 & 3927 & 3942.67 & 3965.58 & -22.9175 & -15.6658 \tabularnewline
35 & 3938 & 3932.39 & 3929.21 & 3.18663 & 5.60503 \tabularnewline
36 & 3927 & 3910.6 & 3892.21 & 18.395 & 16.3967 \tabularnewline
37 & 3904 & 3871.1 & 3852.08 & 19.02 & 32.8967 \tabularnewline
38 & 3810 & 3824.29 & 3810.92 & 13.3741 & -14.2908 \tabularnewline
39 & 3755 & 3782.73 & 3768.21 & 14.52 & -27.7283 \tabularnewline
40 & 3728 & 3734.57 & 3725.96 & 8.61372 & -6.57205 \tabularnewline
41 & 3700 & 3645.14 & 3684.12 & -38.98 & 54.855 \tabularnewline
42 & 3637 & 3644.61 & 3640.5 & 4.11372 & -7.61372 \tabularnewline
43 & 3584 & 3591.2 & 3596.54 & -5.34462 & -7.19705 \tabularnewline
44 & 3551 & 3551.33 & 3556.17 & -4.83628 & -0.330382 \tabularnewline
45 & 3500 & 3510.48 & 3519.62 & -9.14462 & -10.4804 \tabularnewline
46 & 3428 & 3462.46 & 3485.37 & -22.9175 & -34.4575 \tabularnewline
47 & 3433 & 3449.73 & 3446.54 & 3.18663 & -16.7283 \tabularnewline
48 & 3385 & 3423.31 & 3404.92 & 18.395 & -38.3116 \tabularnewline
49 & 3391 & 3385.52 & 3366.5 & 19.02 & 5.48003 \tabularnewline
50 & 3354 & 3341.92 & 3328.54 & 13.3741 & 12.0842 \tabularnewline
51 & 3334 & 3306.27 & 3291.75 & 14.52 & 27.73 \tabularnewline
52 & 3327 & 3266.28 & 3257.67 & 8.61372 & 60.7196 \tabularnewline
53 & 3169 & 3185.06 & 3224.04 & -38.98 & -16.0616 \tabularnewline
54 & 3169 & 3194.78 & 3190.67 & 4.11372 & -25.7804 \tabularnewline
55 & 3130 & 3150.11 & 3155.46 & -5.34462 & -20.1137 \tabularnewline
56 & 3094 & 3114.37 & 3119.21 & -4.83628 & -20.372 \tabularnewline
57 & 3074 & 3075.94 & 3085.08 & -9.14462 & -1.93872 \tabularnewline
58 & 3036 & NA & NA & -22.9175 & NA \tabularnewline
59 & 3018 & NA & NA & 3.18663 & NA \tabularnewline
60 & 2999 & NA & NA & 18.395 & NA \tabularnewline
61 & 2932 & NA & NA & 19.02 & NA \tabularnewline
62 & 2943 & NA & NA & 13.3741 & NA \tabularnewline
63 & 2926 & NA & NA & 14.52 & NA \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=299374&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]4352[/C][C]NA[/C][C]NA[/C][C]19.02[/C][C]NA[/C][/ROW]
[ROW][C]2[/C][C]4320[/C][C]NA[/C][C]NA[/C][C]13.3741[/C][C]NA[/C][/ROW]
[ROW][C]3[/C][C]4440[/C][C]NA[/C][C]NA[/C][C]14.52[/C][C]NA[/C][/ROW]
[ROW][C]4[/C][C]4408[/C][C]NA[/C][C]NA[/C][C]8.61372[/C][C]NA[/C][/ROW]
[ROW][C]5[/C][C]4426[/C][C]NA[/C][C]NA[/C][C]-38.98[/C][C]NA[/C][/ROW]
[ROW][C]6[/C][C]4404[/C][C]NA[/C][C]NA[/C][C]4.11372[/C][C]NA[/C][/ROW]
[ROW][C]7[/C][C]4427[/C][C]4368.11[/C][C]4373.46[/C][C]-5.34462[/C][C]58.8863[/C][/ROW]
[ROW][C]8[/C][C]4375[/C][C]4365.08[/C][C]4369.92[/C][C]-4.83628[/C][C]9.91962[/C][/ROW]
[ROW][C]9[/C][C]4327[/C][C]4351.52[/C][C]4360.67[/C][C]-9.14462[/C][C]-24.522[/C][/ROW]
[ROW][C]10[/C][C]4336[/C][C]4320.62[/C][C]4343.54[/C][C]-22.9175[/C][C]15.3759[/C][/ROW]
[ROW][C]11[/C][C]4325[/C][C]4326.31[/C][C]4323.13[/C][C]3.18663[/C][C]-1.31163[/C][/ROW]
[ROW][C]12[/C][C]4365[/C][C]4324.89[/C][C]4306.5[/C][C]18.395[/C][C]40.105[/C][/ROW]
[ROW][C]13[/C][C]4305[/C][C]4310.89[/C][C]4291.88[/C][C]19.02[/C][C]-5.89497[/C][/ROW]
[ROW][C]14[/C][C]4282[/C][C]4289.83[/C][C]4276.46[/C][C]13.3741[/C][C]-7.83247[/C][/ROW]
[ROW][C]15[/C][C]4256[/C][C]4281.02[/C][C]4266.5[/C][C]14.52[/C][C]-25.02[/C][/ROW]
[ROW][C]16[/C][C]4181[/C][C]4267.74[/C][C]4259.12[/C][C]8.61372[/C][C]-86.7387[/C][/ROW]
[ROW][C]17[/C][C]4163[/C][C]4212.94[/C][C]4251.92[/C][C]-38.98[/C][C]-49.9366[/C][/ROW]
[ROW][C]18[/C][C]4268[/C][C]4246.7[/C][C]4242.58[/C][C]4.11372[/C][C]21.303[/C][/ROW]
[ROW][C]19[/C][C]4212[/C][C]4226.66[/C][C]4232[/C][C]-5.34462[/C][C]-14.6554[/C][/ROW]
[ROW][C]20[/C][C]4220[/C][C]4219.96[/C][C]4224.79[/C][C]-4.83628[/C][C]0.0446181[/C][/ROW]
[ROW][C]21[/C][C]4243[/C][C]4211.48[/C][C]4220.62[/C][C]-9.14462[/C][C]31.5196[/C][/ROW]
[ROW][C]22[/C][C]4243[/C][C]4196.87[/C][C]4219.79[/C][C]-22.9175[/C][C]46.1259[/C][/ROW]
[ROW][C]23[/C][C]4245[/C][C]4221.19[/C][C]4218[/C][C]3.18663[/C][C]23.8134[/C][/ROW]
[ROW][C]24[/C][C]4221[/C][C]4227.81[/C][C]4209.42[/C][C]18.395[/C][C]-6.81163[/C][/ROW]
[ROW][C]25[/C][C]4195[/C][C]4216.1[/C][C]4197.08[/C][C]19.02[/C][C]-21.1033[/C][/ROW]
[ROW][C]26[/C][C]4219[/C][C]4197.58[/C][C]4184.21[/C][C]13.3741[/C][C]21.4175[/C][/ROW]
[ROW][C]27[/C][C]4219[/C][C]4182.6[/C][C]4168.08[/C][C]14.52[/C][C]36.3967[/C][/ROW]
[ROW][C]28[/C][C]4198[/C][C]4154.03[/C][C]4145.42[/C][C]8.61372[/C][C]43.9696[/C][/ROW]
[ROW][C]29[/C][C]4103[/C][C]4080.48[/C][C]4119.46[/C][C]-38.98[/C][C]22.5217[/C][/ROW]
[ROW][C]30[/C][C]4122[/C][C]4098.53[/C][C]4094.42[/C][C]4.11372[/C][C]23.4696[/C][/ROW]
[ROW][C]31[/C][C]4062[/C][C]4064.7[/C][C]4070.04[/C][C]-5.34462[/C][C]-2.69705[/C][/ROW]
[ROW][C]32[/C][C]4061[/C][C]4036.04[/C][C]4040.88[/C][C]-4.83628[/C][C]24.9613[/C][/ROW]
[ROW][C]33[/C][C]4015[/C][C]3995.36[/C][C]4004.5[/C][C]-9.14462[/C][C]19.6446[/C][/ROW]
[ROW][C]34[/C][C]3927[/C][C]3942.67[/C][C]3965.58[/C][C]-22.9175[/C][C]-15.6658[/C][/ROW]
[ROW][C]35[/C][C]3938[/C][C]3932.39[/C][C]3929.21[/C][C]3.18663[/C][C]5.60503[/C][/ROW]
[ROW][C]36[/C][C]3927[/C][C]3910.6[/C][C]3892.21[/C][C]18.395[/C][C]16.3967[/C][/ROW]
[ROW][C]37[/C][C]3904[/C][C]3871.1[/C][C]3852.08[/C][C]19.02[/C][C]32.8967[/C][/ROW]
[ROW][C]38[/C][C]3810[/C][C]3824.29[/C][C]3810.92[/C][C]13.3741[/C][C]-14.2908[/C][/ROW]
[ROW][C]39[/C][C]3755[/C][C]3782.73[/C][C]3768.21[/C][C]14.52[/C][C]-27.7283[/C][/ROW]
[ROW][C]40[/C][C]3728[/C][C]3734.57[/C][C]3725.96[/C][C]8.61372[/C][C]-6.57205[/C][/ROW]
[ROW][C]41[/C][C]3700[/C][C]3645.14[/C][C]3684.12[/C][C]-38.98[/C][C]54.855[/C][/ROW]
[ROW][C]42[/C][C]3637[/C][C]3644.61[/C][C]3640.5[/C][C]4.11372[/C][C]-7.61372[/C][/ROW]
[ROW][C]43[/C][C]3584[/C][C]3591.2[/C][C]3596.54[/C][C]-5.34462[/C][C]-7.19705[/C][/ROW]
[ROW][C]44[/C][C]3551[/C][C]3551.33[/C][C]3556.17[/C][C]-4.83628[/C][C]-0.330382[/C][/ROW]
[ROW][C]45[/C][C]3500[/C][C]3510.48[/C][C]3519.62[/C][C]-9.14462[/C][C]-10.4804[/C][/ROW]
[ROW][C]46[/C][C]3428[/C][C]3462.46[/C][C]3485.37[/C][C]-22.9175[/C][C]-34.4575[/C][/ROW]
[ROW][C]47[/C][C]3433[/C][C]3449.73[/C][C]3446.54[/C][C]3.18663[/C][C]-16.7283[/C][/ROW]
[ROW][C]48[/C][C]3385[/C][C]3423.31[/C][C]3404.92[/C][C]18.395[/C][C]-38.3116[/C][/ROW]
[ROW][C]49[/C][C]3391[/C][C]3385.52[/C][C]3366.5[/C][C]19.02[/C][C]5.48003[/C][/ROW]
[ROW][C]50[/C][C]3354[/C][C]3341.92[/C][C]3328.54[/C][C]13.3741[/C][C]12.0842[/C][/ROW]
[ROW][C]51[/C][C]3334[/C][C]3306.27[/C][C]3291.75[/C][C]14.52[/C][C]27.73[/C][/ROW]
[ROW][C]52[/C][C]3327[/C][C]3266.28[/C][C]3257.67[/C][C]8.61372[/C][C]60.7196[/C][/ROW]
[ROW][C]53[/C][C]3169[/C][C]3185.06[/C][C]3224.04[/C][C]-38.98[/C][C]-16.0616[/C][/ROW]
[ROW][C]54[/C][C]3169[/C][C]3194.78[/C][C]3190.67[/C][C]4.11372[/C][C]-25.7804[/C][/ROW]
[ROW][C]55[/C][C]3130[/C][C]3150.11[/C][C]3155.46[/C][C]-5.34462[/C][C]-20.1137[/C][/ROW]
[ROW][C]56[/C][C]3094[/C][C]3114.37[/C][C]3119.21[/C][C]-4.83628[/C][C]-20.372[/C][/ROW]
[ROW][C]57[/C][C]3074[/C][C]3075.94[/C][C]3085.08[/C][C]-9.14462[/C][C]-1.93872[/C][/ROW]
[ROW][C]58[/C][C]3036[/C][C]NA[/C][C]NA[/C][C]-22.9175[/C][C]NA[/C][/ROW]
[ROW][C]59[/C][C]3018[/C][C]NA[/C][C]NA[/C][C]3.18663[/C][C]NA[/C][/ROW]
[ROW][C]60[/C][C]2999[/C][C]NA[/C][C]NA[/C][C]18.395[/C][C]NA[/C][/ROW]
[ROW][C]61[/C][C]2932[/C][C]NA[/C][C]NA[/C][C]19.02[/C][C]NA[/C][/ROW]
[ROW][C]62[/C][C]2943[/C][C]NA[/C][C]NA[/C][C]13.3741[/C][C]NA[/C][/ROW]
[ROW][C]63[/C][C]2926[/C][C]NA[/C][C]NA[/C][C]14.52[/C][C]NA[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=299374&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=299374&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
14352NANA19.02NA
24320NANA13.3741NA
34440NANA14.52NA
44408NANA8.61372NA
54426NANA-38.98NA
64404NANA4.11372NA
744274368.114373.46-5.3446258.8863
843754365.084369.92-4.836289.91962
943274351.524360.67-9.14462-24.522
1043364320.624343.54-22.917515.3759
1143254326.314323.133.18663-1.31163
1243654324.894306.518.39540.105
1343054310.894291.8819.02-5.89497
1442824289.834276.4613.3741-7.83247
1542564281.024266.514.52-25.02
1641814267.744259.128.61372-86.7387
1741634212.944251.92-38.98-49.9366
1842684246.74242.584.1137221.303
1942124226.664232-5.34462-14.6554
2042204219.964224.79-4.836280.0446181
2142434211.484220.62-9.1446231.5196
2242434196.874219.79-22.917546.1259
2342454221.1942183.1866323.8134
2442214227.814209.4218.395-6.81163
2541954216.14197.0819.02-21.1033
2642194197.584184.2113.374121.4175
2742194182.64168.0814.5236.3967
2841984154.034145.428.6137243.9696
2941034080.484119.46-38.9822.5217
3041224098.534094.424.1137223.4696
3140624064.74070.04-5.34462-2.69705
3240614036.044040.88-4.8362824.9613
3340153995.364004.5-9.1446219.6446
3439273942.673965.58-22.9175-15.6658
3539383932.393929.213.186635.60503
3639273910.63892.2118.39516.3967
3739043871.13852.0819.0232.8967
3838103824.293810.9213.3741-14.2908
3937553782.733768.2114.52-27.7283
4037283734.573725.968.61372-6.57205
4137003645.143684.12-38.9854.855
4236373644.613640.54.11372-7.61372
4335843591.23596.54-5.34462-7.19705
4435513551.333556.17-4.83628-0.330382
4535003510.483519.62-9.14462-10.4804
4634283462.463485.37-22.9175-34.4575
4734333449.733446.543.18663-16.7283
4833853423.313404.9218.395-38.3116
4933913385.523366.519.025.48003
5033543341.923328.5413.374112.0842
5133343306.273291.7514.5227.73
5233273266.283257.678.6137260.7196
5331693185.063224.04-38.98-16.0616
5431693194.783190.674.11372-25.7804
5531303150.113155.46-5.34462-20.1137
5630943114.373119.21-4.83628-20.372
5730743075.943085.08-9.14462-1.93872
583036NANA-22.9175NA
593018NANA3.18663NA
602999NANA18.395NA
612932NANA19.02NA
622943NANA13.3741NA
632926NANA14.52NA



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