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 computationMon, 12 Dec 2016 19:33:11 +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/12/t1481567624t7ota6cz5i9pm3f.htm/, Retrieved Sat, 18 May 2024 01:41:02 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=298955, Retrieved Sat, 18 May 2024 01:41:02 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact70
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-       [Classical Decomposition] [classical decompo...] [2016-12-12 18:33:11] [130d73899007e5ff8a4f636b9bcfb397] [Current]
Feedback Forum

Post a new message
Dataseries X:
5622
5601
5358
5182
5133
5086
5101
5107
5096
5051
4942
4914
4881
4756
4749
4712
4676
4580
4529
4453
4400
4523
4462
4441
4551
4736
4772
4761
4704
4717
4819
4631
4583
4525
4496
4474
4419
4400
4352
4260
4206
4126
4119
4069
4035
4004
3983
3912
3882
3832
3793
3762
3744
3711
3722
3702
3845
3788
3768
3867
3999
3968
3920




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=298955&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=298955&T=0

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=298955&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
15622NANA0.316146NA
25601NANA27.0661NA
35358NANA40.2328NA
45182NANA23.6703NA
55133NANA7.80573NA
65086NANA-18.0589NA
751015155.55151.883.6224-54.4974
851075050.955085.79-34.844356.0526
950965015.365025.21-9.852680.6443
1050514986.334980.256.0765664.6734
1149424921.964941.62-19.66320.038
1249144875.134901.5-26.371438.8714
1348814856.94856.580.31614624.1005
1447564832.574805.527.0661-76.5661
1547494789.484749.2540.2328-40.4828
1647124721.924698.2523.6703-9.92031
1746764664.064656.257.8057311.9443
1845804598.484616.54-18.0589-18.4828
1945294586.714583.083.6224-57.7057
2044534533.664568.5-34.8443-80.6557
2144004558.774568.62-9.8526-158.772
2245234577.74571.626.07656-54.7016
2344624555.174574.83-19.663-93.1703
2444414555.344581.71-26.3714-114.337
2545514599.824599.50.316146-48.8161
2647364646.07461927.066189.9339
2747724674.274634.0440.232897.7255
2847614665.424641.7523.670395.5797
2947044651.064643.257.8057352.9443
3047174627.984646.04-18.058989.0172
3148194645.544641.923.6224173.461
3246314587.574622.42-34.844343.4276
3345834581.064590.92-9.85261.93594
3445254558.624552.546.07656-33.6182
3544964491.254510.92-19.6634.74635
3644744439.174465.54-26.371434.8297
3744194412.074411.750.3161466.93385
3844004386.234359.1727.066113.7672
3943524353.154312.9240.2328-1.14948
4042604292.054268.3823.6703-32.0453
4142064233.14225.297.80573-27.0974
4241264162.444180.5-18.0589-36.4411
4341194138.334134.713.6224-19.3307
4440694053.824088.67-34.844315.1776
4540354031.864041.71-9.85263.14427
4640044003.743997.676.076560.256771
47398339383957.67-19.66344.9964
4839123894.753921.12-26.371417.2464
4938823887.613887.290.316146-5.60781
5038323882.523855.4627.0661-50.5245
5137933872.483832.2540.2328-79.4828
52376238393815.3323.6703-77.0036
5337443805.183797.387.80573-61.1807
5437113768.483786.54-18.0589-57.4828
5537223793.163789.543.6224-71.1641
5637023765.243800.08-34.8443-63.2391
5738453801.193811.04-9.852643.8109
583788NANA6.07656NA
593768NANA-19.663NA
603867NANA-26.3714NA
613999NANA0.316146NA
623968NANA27.0661NA
633920NANA40.2328NA

\begin{tabular}{lllllllll}
\hline
Classical Decomposition by Moving Averages \tabularnewline
t & Observations & Fit & Trend & Seasonal & Random \tabularnewline
1 & 5622 & NA & NA & 0.316146 & NA \tabularnewline
2 & 5601 & NA & NA & 27.0661 & NA \tabularnewline
3 & 5358 & NA & NA & 40.2328 & NA \tabularnewline
4 & 5182 & NA & NA & 23.6703 & NA \tabularnewline
5 & 5133 & NA & NA & 7.80573 & NA \tabularnewline
6 & 5086 & NA & NA & -18.0589 & NA \tabularnewline
7 & 5101 & 5155.5 & 5151.88 & 3.6224 & -54.4974 \tabularnewline
8 & 5107 & 5050.95 & 5085.79 & -34.8443 & 56.0526 \tabularnewline
9 & 5096 & 5015.36 & 5025.21 & -9.8526 & 80.6443 \tabularnewline
10 & 5051 & 4986.33 & 4980.25 & 6.07656 & 64.6734 \tabularnewline
11 & 4942 & 4921.96 & 4941.62 & -19.663 & 20.038 \tabularnewline
12 & 4914 & 4875.13 & 4901.5 & -26.3714 & 38.8714 \tabularnewline
13 & 4881 & 4856.9 & 4856.58 & 0.316146 & 24.1005 \tabularnewline
14 & 4756 & 4832.57 & 4805.5 & 27.0661 & -76.5661 \tabularnewline
15 & 4749 & 4789.48 & 4749.25 & 40.2328 & -40.4828 \tabularnewline
16 & 4712 & 4721.92 & 4698.25 & 23.6703 & -9.92031 \tabularnewline
17 & 4676 & 4664.06 & 4656.25 & 7.80573 & 11.9443 \tabularnewline
18 & 4580 & 4598.48 & 4616.54 & -18.0589 & -18.4828 \tabularnewline
19 & 4529 & 4586.71 & 4583.08 & 3.6224 & -57.7057 \tabularnewline
20 & 4453 & 4533.66 & 4568.5 & -34.8443 & -80.6557 \tabularnewline
21 & 4400 & 4558.77 & 4568.62 & -9.8526 & -158.772 \tabularnewline
22 & 4523 & 4577.7 & 4571.62 & 6.07656 & -54.7016 \tabularnewline
23 & 4462 & 4555.17 & 4574.83 & -19.663 & -93.1703 \tabularnewline
24 & 4441 & 4555.34 & 4581.71 & -26.3714 & -114.337 \tabularnewline
25 & 4551 & 4599.82 & 4599.5 & 0.316146 & -48.8161 \tabularnewline
26 & 4736 & 4646.07 & 4619 & 27.0661 & 89.9339 \tabularnewline
27 & 4772 & 4674.27 & 4634.04 & 40.2328 & 97.7255 \tabularnewline
28 & 4761 & 4665.42 & 4641.75 & 23.6703 & 95.5797 \tabularnewline
29 & 4704 & 4651.06 & 4643.25 & 7.80573 & 52.9443 \tabularnewline
30 & 4717 & 4627.98 & 4646.04 & -18.0589 & 89.0172 \tabularnewline
31 & 4819 & 4645.54 & 4641.92 & 3.6224 & 173.461 \tabularnewline
32 & 4631 & 4587.57 & 4622.42 & -34.8443 & 43.4276 \tabularnewline
33 & 4583 & 4581.06 & 4590.92 & -9.8526 & 1.93594 \tabularnewline
34 & 4525 & 4558.62 & 4552.54 & 6.07656 & -33.6182 \tabularnewline
35 & 4496 & 4491.25 & 4510.92 & -19.663 & 4.74635 \tabularnewline
36 & 4474 & 4439.17 & 4465.54 & -26.3714 & 34.8297 \tabularnewline
37 & 4419 & 4412.07 & 4411.75 & 0.316146 & 6.93385 \tabularnewline
38 & 4400 & 4386.23 & 4359.17 & 27.0661 & 13.7672 \tabularnewline
39 & 4352 & 4353.15 & 4312.92 & 40.2328 & -1.14948 \tabularnewline
40 & 4260 & 4292.05 & 4268.38 & 23.6703 & -32.0453 \tabularnewline
41 & 4206 & 4233.1 & 4225.29 & 7.80573 & -27.0974 \tabularnewline
42 & 4126 & 4162.44 & 4180.5 & -18.0589 & -36.4411 \tabularnewline
43 & 4119 & 4138.33 & 4134.71 & 3.6224 & -19.3307 \tabularnewline
44 & 4069 & 4053.82 & 4088.67 & -34.8443 & 15.1776 \tabularnewline
45 & 4035 & 4031.86 & 4041.71 & -9.8526 & 3.14427 \tabularnewline
46 & 4004 & 4003.74 & 3997.67 & 6.07656 & 0.256771 \tabularnewline
47 & 3983 & 3938 & 3957.67 & -19.663 & 44.9964 \tabularnewline
48 & 3912 & 3894.75 & 3921.12 & -26.3714 & 17.2464 \tabularnewline
49 & 3882 & 3887.61 & 3887.29 & 0.316146 & -5.60781 \tabularnewline
50 & 3832 & 3882.52 & 3855.46 & 27.0661 & -50.5245 \tabularnewline
51 & 3793 & 3872.48 & 3832.25 & 40.2328 & -79.4828 \tabularnewline
52 & 3762 & 3839 & 3815.33 & 23.6703 & -77.0036 \tabularnewline
53 & 3744 & 3805.18 & 3797.38 & 7.80573 & -61.1807 \tabularnewline
54 & 3711 & 3768.48 & 3786.54 & -18.0589 & -57.4828 \tabularnewline
55 & 3722 & 3793.16 & 3789.54 & 3.6224 & -71.1641 \tabularnewline
56 & 3702 & 3765.24 & 3800.08 & -34.8443 & -63.2391 \tabularnewline
57 & 3845 & 3801.19 & 3811.04 & -9.8526 & 43.8109 \tabularnewline
58 & 3788 & NA & NA & 6.07656 & NA \tabularnewline
59 & 3768 & NA & NA & -19.663 & NA \tabularnewline
60 & 3867 & NA & NA & -26.3714 & NA \tabularnewline
61 & 3999 & NA & NA & 0.316146 & NA \tabularnewline
62 & 3968 & NA & NA & 27.0661 & NA \tabularnewline
63 & 3920 & NA & NA & 40.2328 & NA \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=298955&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]5622[/C][C]NA[/C][C]NA[/C][C]0.316146[/C][C]NA[/C][/ROW]
[ROW][C]2[/C][C]5601[/C][C]NA[/C][C]NA[/C][C]27.0661[/C][C]NA[/C][/ROW]
[ROW][C]3[/C][C]5358[/C][C]NA[/C][C]NA[/C][C]40.2328[/C][C]NA[/C][/ROW]
[ROW][C]4[/C][C]5182[/C][C]NA[/C][C]NA[/C][C]23.6703[/C][C]NA[/C][/ROW]
[ROW][C]5[/C][C]5133[/C][C]NA[/C][C]NA[/C][C]7.80573[/C][C]NA[/C][/ROW]
[ROW][C]6[/C][C]5086[/C][C]NA[/C][C]NA[/C][C]-18.0589[/C][C]NA[/C][/ROW]
[ROW][C]7[/C][C]5101[/C][C]5155.5[/C][C]5151.88[/C][C]3.6224[/C][C]-54.4974[/C][/ROW]
[ROW][C]8[/C][C]5107[/C][C]5050.95[/C][C]5085.79[/C][C]-34.8443[/C][C]56.0526[/C][/ROW]
[ROW][C]9[/C][C]5096[/C][C]5015.36[/C][C]5025.21[/C][C]-9.8526[/C][C]80.6443[/C][/ROW]
[ROW][C]10[/C][C]5051[/C][C]4986.33[/C][C]4980.25[/C][C]6.07656[/C][C]64.6734[/C][/ROW]
[ROW][C]11[/C][C]4942[/C][C]4921.96[/C][C]4941.62[/C][C]-19.663[/C][C]20.038[/C][/ROW]
[ROW][C]12[/C][C]4914[/C][C]4875.13[/C][C]4901.5[/C][C]-26.3714[/C][C]38.8714[/C][/ROW]
[ROW][C]13[/C][C]4881[/C][C]4856.9[/C][C]4856.58[/C][C]0.316146[/C][C]24.1005[/C][/ROW]
[ROW][C]14[/C][C]4756[/C][C]4832.57[/C][C]4805.5[/C][C]27.0661[/C][C]-76.5661[/C][/ROW]
[ROW][C]15[/C][C]4749[/C][C]4789.48[/C][C]4749.25[/C][C]40.2328[/C][C]-40.4828[/C][/ROW]
[ROW][C]16[/C][C]4712[/C][C]4721.92[/C][C]4698.25[/C][C]23.6703[/C][C]-9.92031[/C][/ROW]
[ROW][C]17[/C][C]4676[/C][C]4664.06[/C][C]4656.25[/C][C]7.80573[/C][C]11.9443[/C][/ROW]
[ROW][C]18[/C][C]4580[/C][C]4598.48[/C][C]4616.54[/C][C]-18.0589[/C][C]-18.4828[/C][/ROW]
[ROW][C]19[/C][C]4529[/C][C]4586.71[/C][C]4583.08[/C][C]3.6224[/C][C]-57.7057[/C][/ROW]
[ROW][C]20[/C][C]4453[/C][C]4533.66[/C][C]4568.5[/C][C]-34.8443[/C][C]-80.6557[/C][/ROW]
[ROW][C]21[/C][C]4400[/C][C]4558.77[/C][C]4568.62[/C][C]-9.8526[/C][C]-158.772[/C][/ROW]
[ROW][C]22[/C][C]4523[/C][C]4577.7[/C][C]4571.62[/C][C]6.07656[/C][C]-54.7016[/C][/ROW]
[ROW][C]23[/C][C]4462[/C][C]4555.17[/C][C]4574.83[/C][C]-19.663[/C][C]-93.1703[/C][/ROW]
[ROW][C]24[/C][C]4441[/C][C]4555.34[/C][C]4581.71[/C][C]-26.3714[/C][C]-114.337[/C][/ROW]
[ROW][C]25[/C][C]4551[/C][C]4599.82[/C][C]4599.5[/C][C]0.316146[/C][C]-48.8161[/C][/ROW]
[ROW][C]26[/C][C]4736[/C][C]4646.07[/C][C]4619[/C][C]27.0661[/C][C]89.9339[/C][/ROW]
[ROW][C]27[/C][C]4772[/C][C]4674.27[/C][C]4634.04[/C][C]40.2328[/C][C]97.7255[/C][/ROW]
[ROW][C]28[/C][C]4761[/C][C]4665.42[/C][C]4641.75[/C][C]23.6703[/C][C]95.5797[/C][/ROW]
[ROW][C]29[/C][C]4704[/C][C]4651.06[/C][C]4643.25[/C][C]7.80573[/C][C]52.9443[/C][/ROW]
[ROW][C]30[/C][C]4717[/C][C]4627.98[/C][C]4646.04[/C][C]-18.0589[/C][C]89.0172[/C][/ROW]
[ROW][C]31[/C][C]4819[/C][C]4645.54[/C][C]4641.92[/C][C]3.6224[/C][C]173.461[/C][/ROW]
[ROW][C]32[/C][C]4631[/C][C]4587.57[/C][C]4622.42[/C][C]-34.8443[/C][C]43.4276[/C][/ROW]
[ROW][C]33[/C][C]4583[/C][C]4581.06[/C][C]4590.92[/C][C]-9.8526[/C][C]1.93594[/C][/ROW]
[ROW][C]34[/C][C]4525[/C][C]4558.62[/C][C]4552.54[/C][C]6.07656[/C][C]-33.6182[/C][/ROW]
[ROW][C]35[/C][C]4496[/C][C]4491.25[/C][C]4510.92[/C][C]-19.663[/C][C]4.74635[/C][/ROW]
[ROW][C]36[/C][C]4474[/C][C]4439.17[/C][C]4465.54[/C][C]-26.3714[/C][C]34.8297[/C][/ROW]
[ROW][C]37[/C][C]4419[/C][C]4412.07[/C][C]4411.75[/C][C]0.316146[/C][C]6.93385[/C][/ROW]
[ROW][C]38[/C][C]4400[/C][C]4386.23[/C][C]4359.17[/C][C]27.0661[/C][C]13.7672[/C][/ROW]
[ROW][C]39[/C][C]4352[/C][C]4353.15[/C][C]4312.92[/C][C]40.2328[/C][C]-1.14948[/C][/ROW]
[ROW][C]40[/C][C]4260[/C][C]4292.05[/C][C]4268.38[/C][C]23.6703[/C][C]-32.0453[/C][/ROW]
[ROW][C]41[/C][C]4206[/C][C]4233.1[/C][C]4225.29[/C][C]7.80573[/C][C]-27.0974[/C][/ROW]
[ROW][C]42[/C][C]4126[/C][C]4162.44[/C][C]4180.5[/C][C]-18.0589[/C][C]-36.4411[/C][/ROW]
[ROW][C]43[/C][C]4119[/C][C]4138.33[/C][C]4134.71[/C][C]3.6224[/C][C]-19.3307[/C][/ROW]
[ROW][C]44[/C][C]4069[/C][C]4053.82[/C][C]4088.67[/C][C]-34.8443[/C][C]15.1776[/C][/ROW]
[ROW][C]45[/C][C]4035[/C][C]4031.86[/C][C]4041.71[/C][C]-9.8526[/C][C]3.14427[/C][/ROW]
[ROW][C]46[/C][C]4004[/C][C]4003.74[/C][C]3997.67[/C][C]6.07656[/C][C]0.256771[/C][/ROW]
[ROW][C]47[/C][C]3983[/C][C]3938[/C][C]3957.67[/C][C]-19.663[/C][C]44.9964[/C][/ROW]
[ROW][C]48[/C][C]3912[/C][C]3894.75[/C][C]3921.12[/C][C]-26.3714[/C][C]17.2464[/C][/ROW]
[ROW][C]49[/C][C]3882[/C][C]3887.61[/C][C]3887.29[/C][C]0.316146[/C][C]-5.60781[/C][/ROW]
[ROW][C]50[/C][C]3832[/C][C]3882.52[/C][C]3855.46[/C][C]27.0661[/C][C]-50.5245[/C][/ROW]
[ROW][C]51[/C][C]3793[/C][C]3872.48[/C][C]3832.25[/C][C]40.2328[/C][C]-79.4828[/C][/ROW]
[ROW][C]52[/C][C]3762[/C][C]3839[/C][C]3815.33[/C][C]23.6703[/C][C]-77.0036[/C][/ROW]
[ROW][C]53[/C][C]3744[/C][C]3805.18[/C][C]3797.38[/C][C]7.80573[/C][C]-61.1807[/C][/ROW]
[ROW][C]54[/C][C]3711[/C][C]3768.48[/C][C]3786.54[/C][C]-18.0589[/C][C]-57.4828[/C][/ROW]
[ROW][C]55[/C][C]3722[/C][C]3793.16[/C][C]3789.54[/C][C]3.6224[/C][C]-71.1641[/C][/ROW]
[ROW][C]56[/C][C]3702[/C][C]3765.24[/C][C]3800.08[/C][C]-34.8443[/C][C]-63.2391[/C][/ROW]
[ROW][C]57[/C][C]3845[/C][C]3801.19[/C][C]3811.04[/C][C]-9.8526[/C][C]43.8109[/C][/ROW]
[ROW][C]58[/C][C]3788[/C][C]NA[/C][C]NA[/C][C]6.07656[/C][C]NA[/C][/ROW]
[ROW][C]59[/C][C]3768[/C][C]NA[/C][C]NA[/C][C]-19.663[/C][C]NA[/C][/ROW]
[ROW][C]60[/C][C]3867[/C][C]NA[/C][C]NA[/C][C]-26.3714[/C][C]NA[/C][/ROW]
[ROW][C]61[/C][C]3999[/C][C]NA[/C][C]NA[/C][C]0.316146[/C][C]NA[/C][/ROW]
[ROW][C]62[/C][C]3968[/C][C]NA[/C][C]NA[/C][C]27.0661[/C][C]NA[/C][/ROW]
[ROW][C]63[/C][C]3920[/C][C]NA[/C][C]NA[/C][C]40.2328[/C][C]NA[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=298955&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=298955&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
15622NANA0.316146NA
25601NANA27.0661NA
35358NANA40.2328NA
45182NANA23.6703NA
55133NANA7.80573NA
65086NANA-18.0589NA
751015155.55151.883.6224-54.4974
851075050.955085.79-34.844356.0526
950965015.365025.21-9.852680.6443
1050514986.334980.256.0765664.6734
1149424921.964941.62-19.66320.038
1249144875.134901.5-26.371438.8714
1348814856.94856.580.31614624.1005
1447564832.574805.527.0661-76.5661
1547494789.484749.2540.2328-40.4828
1647124721.924698.2523.6703-9.92031
1746764664.064656.257.8057311.9443
1845804598.484616.54-18.0589-18.4828
1945294586.714583.083.6224-57.7057
2044534533.664568.5-34.8443-80.6557
2144004558.774568.62-9.8526-158.772
2245234577.74571.626.07656-54.7016
2344624555.174574.83-19.663-93.1703
2444414555.344581.71-26.3714-114.337
2545514599.824599.50.316146-48.8161
2647364646.07461927.066189.9339
2747724674.274634.0440.232897.7255
2847614665.424641.7523.670395.5797
2947044651.064643.257.8057352.9443
3047174627.984646.04-18.058989.0172
3148194645.544641.923.6224173.461
3246314587.574622.42-34.844343.4276
3345834581.064590.92-9.85261.93594
3445254558.624552.546.07656-33.6182
3544964491.254510.92-19.6634.74635
3644744439.174465.54-26.371434.8297
3744194412.074411.750.3161466.93385
3844004386.234359.1727.066113.7672
3943524353.154312.9240.2328-1.14948
4042604292.054268.3823.6703-32.0453
4142064233.14225.297.80573-27.0974
4241264162.444180.5-18.0589-36.4411
4341194138.334134.713.6224-19.3307
4440694053.824088.67-34.844315.1776
4540354031.864041.71-9.85263.14427
4640044003.743997.676.076560.256771
47398339383957.67-19.66344.9964
4839123894.753921.12-26.371417.2464
4938823887.613887.290.316146-5.60781
5038323882.523855.4627.0661-50.5245
5137933872.483832.2540.2328-79.4828
52376238393815.3323.6703-77.0036
5337443805.183797.387.80573-61.1807
5437113768.483786.54-18.0589-57.4828
5537223793.163789.543.6224-71.1641
5637023765.243800.08-34.8443-63.2391
5738453801.193811.04-9.852643.8109
583788NANA6.07656NA
593768NANA-19.663NA
603867NANA-26.3714NA
613999NANA0.316146NA
623968NANA27.0661NA
633920NANA40.2328NA



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