Free Statistics

of Irreproducible Research!

Author's title

Author*Unverified author*
R Software Modulerwasp_decompose.wasp
Title produced by softwareClassical Decomposition
Date of computationMon, 01 May 2017 15:41:47 +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/2017/May/01/t1493649782f74oymudi12d6ey.htm/, Retrieved Sat, 18 Apr 2026 20:13:13 +0200
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=, Retrieved Sat, 18 Apr 2026 20:13:13 +0200
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact0
Dataseries X:
92.76
93.12
93.6
93.24
93.4
93.32
93.13
93.19
93.84
94.01
93.78
93.47
93.6
92.85
92.91
92.29
92.5
93.1
92.86
93.19
93.73
93.88
93.85
93.45
93.43
93.59
95.28
94.95
94.49
94.45
94.35
95.52
96.89
97.54
97.65
97.35
98.2
99.46
100.35
99.72
99.69
99.62
99.77
100.19
100.82
100.36
101.08
100.73
101.51
102.12
102.88
103.47
103.53
103.67
103.68
103.76
103.67
103.01
103.39
103.43
103.4
104.8




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

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







Classical Decomposition by Moving Averages
tObservationsFitTrendSeasonalRandom
192.76NANA0.998418NA
293.12NANA0.999302NA
393.6NANA1.00589NA
493.24NANA1.00119NA
593.4NANA0.99864NA
693.32NANA0.998245NA
793.1393.050593.440.9958321.00085
893.1993.297393.46370.9982190.99885
993.8493.742293.42381.003411.00104
1094.0193.608593.35541.002711.00429
1193.7893.45793.27831.001921.00346
1293.4792.880193.23170.9962291.00635
1393.693.063893.21120.9984181.00576
1492.8593.134993.20.9993020.996941
1592.9193.743993.19541.005890.991104
1692.2993.296693.18541.001190.98921
1792.593.056293.18290.998640.994023
1893.193.021593.1850.9982451.00084
1992.8692.788793.17710.9958321.00077
2093.1993.034993.20080.9982191.00167
2193.7393.648593.33041.003411.00087
2293.8893.793693.541.002711.00092
2393.8593.913393.73381.001920.999326
2493.4593.51993.87290.9962290.999263
2593.4393.842693.99130.9984180.995603
2693.5994.084794.15040.9993020.994742
2795.2894.934694.37921.005891.00364
2894.9594.776394.66331.001191.00183
2994.4994.84594.97420.998640.996257
3094.4595.127895.2950.9982450.992875
3194.3595.257595.65620.9958320.990473
3295.5295.928596.09960.9982190.995742
3396.8996.884596.55541.003411.00006
3497.5497.228396.96541.002711.00321
3597.6597.567397.38081.001921.00085
3697.3597.444197.81290.9962290.999034
3798.298.098898.25420.9984181.00103
3899.4698.605798.67460.9993021.00866
39100.3599.615899.03291.005891.00737
4099.7299.432799.31421.001191.00289
4199.6999.439299.57460.998641.00252
4299.6299.683199.85830.9982450.999367
4399.7799.7197100.1370.9958321.0005
44100.19100.207100.3860.9982190.999829
45100.82100.945100.6021.003410.998762
46100.36101.137100.8641.002710.992315
47101.08101.374101.181.001920.997102
48100.73101.126101.5090.9962290.996084
49101.51101.679101.840.9984180.998335
50102.12102.081102.1520.9993021.00038
51102.88103.022102.421.005890.998618
52103.47102.771102.6491.001191.0068
53103.53102.716102.8550.998641.00793
54103.67102.883103.0640.9982451.00765
55103.68102.825103.2550.9958321.00831
56103.76103.262103.4460.9982191.00483
57103.67NANA1.00341NA
58103.01NANA1.00271NA
59103.39NANA1.00192NA
60103.43NANA0.996229NA
61103.4NANA0.998418NA
62104.8NANA0.999302NA

\begin{tabular}{lllllllll}
\hline
Classical Decomposition by Moving Averages \tabularnewline
t & Observations & Fit & Trend & Seasonal & Random \tabularnewline
1 & 92.76 & NA & NA & 0.998418 & NA \tabularnewline
2 & 93.12 & NA & NA & 0.999302 & NA \tabularnewline
3 & 93.6 & NA & NA & 1.00589 & NA \tabularnewline
4 & 93.24 & NA & NA & 1.00119 & NA \tabularnewline
5 & 93.4 & NA & NA & 0.99864 & NA \tabularnewline
6 & 93.32 & NA & NA & 0.998245 & NA \tabularnewline
7 & 93.13 & 93.0505 & 93.44 & 0.995832 & 1.00085 \tabularnewline
8 & 93.19 & 93.2973 & 93.4637 & 0.998219 & 0.99885 \tabularnewline
9 & 93.84 & 93.7422 & 93.4238 & 1.00341 & 1.00104 \tabularnewline
10 & 94.01 & 93.6085 & 93.3554 & 1.00271 & 1.00429 \tabularnewline
11 & 93.78 & 93.457 & 93.2783 & 1.00192 & 1.00346 \tabularnewline
12 & 93.47 & 92.8801 & 93.2317 & 0.996229 & 1.00635 \tabularnewline
13 & 93.6 & 93.0638 & 93.2112 & 0.998418 & 1.00576 \tabularnewline
14 & 92.85 & 93.1349 & 93.2 & 0.999302 & 0.996941 \tabularnewline
15 & 92.91 & 93.7439 & 93.1954 & 1.00589 & 0.991104 \tabularnewline
16 & 92.29 & 93.2966 & 93.1854 & 1.00119 & 0.98921 \tabularnewline
17 & 92.5 & 93.0562 & 93.1829 & 0.99864 & 0.994023 \tabularnewline
18 & 93.1 & 93.0215 & 93.185 & 0.998245 & 1.00084 \tabularnewline
19 & 92.86 & 92.7887 & 93.1771 & 0.995832 & 1.00077 \tabularnewline
20 & 93.19 & 93.0349 & 93.2008 & 0.998219 & 1.00167 \tabularnewline
21 & 93.73 & 93.6485 & 93.3304 & 1.00341 & 1.00087 \tabularnewline
22 & 93.88 & 93.7936 & 93.54 & 1.00271 & 1.00092 \tabularnewline
23 & 93.85 & 93.9133 & 93.7338 & 1.00192 & 0.999326 \tabularnewline
24 & 93.45 & 93.519 & 93.8729 & 0.996229 & 0.999263 \tabularnewline
25 & 93.43 & 93.8426 & 93.9913 & 0.998418 & 0.995603 \tabularnewline
26 & 93.59 & 94.0847 & 94.1504 & 0.999302 & 0.994742 \tabularnewline
27 & 95.28 & 94.9346 & 94.3792 & 1.00589 & 1.00364 \tabularnewline
28 & 94.95 & 94.7763 & 94.6633 & 1.00119 & 1.00183 \tabularnewline
29 & 94.49 & 94.845 & 94.9742 & 0.99864 & 0.996257 \tabularnewline
30 & 94.45 & 95.1278 & 95.295 & 0.998245 & 0.992875 \tabularnewline
31 & 94.35 & 95.2575 & 95.6562 & 0.995832 & 0.990473 \tabularnewline
32 & 95.52 & 95.9285 & 96.0996 & 0.998219 & 0.995742 \tabularnewline
33 & 96.89 & 96.8845 & 96.5554 & 1.00341 & 1.00006 \tabularnewline
34 & 97.54 & 97.2283 & 96.9654 & 1.00271 & 1.00321 \tabularnewline
35 & 97.65 & 97.5673 & 97.3808 & 1.00192 & 1.00085 \tabularnewline
36 & 97.35 & 97.4441 & 97.8129 & 0.996229 & 0.999034 \tabularnewline
37 & 98.2 & 98.0988 & 98.2542 & 0.998418 & 1.00103 \tabularnewline
38 & 99.46 & 98.6057 & 98.6746 & 0.999302 & 1.00866 \tabularnewline
39 & 100.35 & 99.6158 & 99.0329 & 1.00589 & 1.00737 \tabularnewline
40 & 99.72 & 99.4327 & 99.3142 & 1.00119 & 1.00289 \tabularnewline
41 & 99.69 & 99.4392 & 99.5746 & 0.99864 & 1.00252 \tabularnewline
42 & 99.62 & 99.6831 & 99.8583 & 0.998245 & 0.999367 \tabularnewline
43 & 99.77 & 99.7197 & 100.137 & 0.995832 & 1.0005 \tabularnewline
44 & 100.19 & 100.207 & 100.386 & 0.998219 & 0.999829 \tabularnewline
45 & 100.82 & 100.945 & 100.602 & 1.00341 & 0.998762 \tabularnewline
46 & 100.36 & 101.137 & 100.864 & 1.00271 & 0.992315 \tabularnewline
47 & 101.08 & 101.374 & 101.18 & 1.00192 & 0.997102 \tabularnewline
48 & 100.73 & 101.126 & 101.509 & 0.996229 & 0.996084 \tabularnewline
49 & 101.51 & 101.679 & 101.84 & 0.998418 & 0.998335 \tabularnewline
50 & 102.12 & 102.081 & 102.152 & 0.999302 & 1.00038 \tabularnewline
51 & 102.88 & 103.022 & 102.42 & 1.00589 & 0.998618 \tabularnewline
52 & 103.47 & 102.771 & 102.649 & 1.00119 & 1.0068 \tabularnewline
53 & 103.53 & 102.716 & 102.855 & 0.99864 & 1.00793 \tabularnewline
54 & 103.67 & 102.883 & 103.064 & 0.998245 & 1.00765 \tabularnewline
55 & 103.68 & 102.825 & 103.255 & 0.995832 & 1.00831 \tabularnewline
56 & 103.76 & 103.262 & 103.446 & 0.998219 & 1.00483 \tabularnewline
57 & 103.67 & NA & NA & 1.00341 & NA \tabularnewline
58 & 103.01 & NA & NA & 1.00271 & NA \tabularnewline
59 & 103.39 & NA & NA & 1.00192 & NA \tabularnewline
60 & 103.43 & NA & NA & 0.996229 & NA \tabularnewline
61 & 103.4 & NA & NA & 0.998418 & NA \tabularnewline
62 & 104.8 & NA & NA & 0.999302 & NA \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=&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]92.76[/C][C]NA[/C][C]NA[/C][C]0.998418[/C][C]NA[/C][/ROW]
[ROW][C]2[/C][C]93.12[/C][C]NA[/C][C]NA[/C][C]0.999302[/C][C]NA[/C][/ROW]
[ROW][C]3[/C][C]93.6[/C][C]NA[/C][C]NA[/C][C]1.00589[/C][C]NA[/C][/ROW]
[ROW][C]4[/C][C]93.24[/C][C]NA[/C][C]NA[/C][C]1.00119[/C][C]NA[/C][/ROW]
[ROW][C]5[/C][C]93.4[/C][C]NA[/C][C]NA[/C][C]0.99864[/C][C]NA[/C][/ROW]
[ROW][C]6[/C][C]93.32[/C][C]NA[/C][C]NA[/C][C]0.998245[/C][C]NA[/C][/ROW]
[ROW][C]7[/C][C]93.13[/C][C]93.0505[/C][C]93.44[/C][C]0.995832[/C][C]1.00085[/C][/ROW]
[ROW][C]8[/C][C]93.19[/C][C]93.2973[/C][C]93.4637[/C][C]0.998219[/C][C]0.99885[/C][/ROW]
[ROW][C]9[/C][C]93.84[/C][C]93.7422[/C][C]93.4238[/C][C]1.00341[/C][C]1.00104[/C][/ROW]
[ROW][C]10[/C][C]94.01[/C][C]93.6085[/C][C]93.3554[/C][C]1.00271[/C][C]1.00429[/C][/ROW]
[ROW][C]11[/C][C]93.78[/C][C]93.457[/C][C]93.2783[/C][C]1.00192[/C][C]1.00346[/C][/ROW]
[ROW][C]12[/C][C]93.47[/C][C]92.8801[/C][C]93.2317[/C][C]0.996229[/C][C]1.00635[/C][/ROW]
[ROW][C]13[/C][C]93.6[/C][C]93.0638[/C][C]93.2112[/C][C]0.998418[/C][C]1.00576[/C][/ROW]
[ROW][C]14[/C][C]92.85[/C][C]93.1349[/C][C]93.2[/C][C]0.999302[/C][C]0.996941[/C][/ROW]
[ROW][C]15[/C][C]92.91[/C][C]93.7439[/C][C]93.1954[/C][C]1.00589[/C][C]0.991104[/C][/ROW]
[ROW][C]16[/C][C]92.29[/C][C]93.2966[/C][C]93.1854[/C][C]1.00119[/C][C]0.98921[/C][/ROW]
[ROW][C]17[/C][C]92.5[/C][C]93.0562[/C][C]93.1829[/C][C]0.99864[/C][C]0.994023[/C][/ROW]
[ROW][C]18[/C][C]93.1[/C][C]93.0215[/C][C]93.185[/C][C]0.998245[/C][C]1.00084[/C][/ROW]
[ROW][C]19[/C][C]92.86[/C][C]92.7887[/C][C]93.1771[/C][C]0.995832[/C][C]1.00077[/C][/ROW]
[ROW][C]20[/C][C]93.19[/C][C]93.0349[/C][C]93.2008[/C][C]0.998219[/C][C]1.00167[/C][/ROW]
[ROW][C]21[/C][C]93.73[/C][C]93.6485[/C][C]93.3304[/C][C]1.00341[/C][C]1.00087[/C][/ROW]
[ROW][C]22[/C][C]93.88[/C][C]93.7936[/C][C]93.54[/C][C]1.00271[/C][C]1.00092[/C][/ROW]
[ROW][C]23[/C][C]93.85[/C][C]93.9133[/C][C]93.7338[/C][C]1.00192[/C][C]0.999326[/C][/ROW]
[ROW][C]24[/C][C]93.45[/C][C]93.519[/C][C]93.8729[/C][C]0.996229[/C][C]0.999263[/C][/ROW]
[ROW][C]25[/C][C]93.43[/C][C]93.8426[/C][C]93.9913[/C][C]0.998418[/C][C]0.995603[/C][/ROW]
[ROW][C]26[/C][C]93.59[/C][C]94.0847[/C][C]94.1504[/C][C]0.999302[/C][C]0.994742[/C][/ROW]
[ROW][C]27[/C][C]95.28[/C][C]94.9346[/C][C]94.3792[/C][C]1.00589[/C][C]1.00364[/C][/ROW]
[ROW][C]28[/C][C]94.95[/C][C]94.7763[/C][C]94.6633[/C][C]1.00119[/C][C]1.00183[/C][/ROW]
[ROW][C]29[/C][C]94.49[/C][C]94.845[/C][C]94.9742[/C][C]0.99864[/C][C]0.996257[/C][/ROW]
[ROW][C]30[/C][C]94.45[/C][C]95.1278[/C][C]95.295[/C][C]0.998245[/C][C]0.992875[/C][/ROW]
[ROW][C]31[/C][C]94.35[/C][C]95.2575[/C][C]95.6562[/C][C]0.995832[/C][C]0.990473[/C][/ROW]
[ROW][C]32[/C][C]95.52[/C][C]95.9285[/C][C]96.0996[/C][C]0.998219[/C][C]0.995742[/C][/ROW]
[ROW][C]33[/C][C]96.89[/C][C]96.8845[/C][C]96.5554[/C][C]1.00341[/C][C]1.00006[/C][/ROW]
[ROW][C]34[/C][C]97.54[/C][C]97.2283[/C][C]96.9654[/C][C]1.00271[/C][C]1.00321[/C][/ROW]
[ROW][C]35[/C][C]97.65[/C][C]97.5673[/C][C]97.3808[/C][C]1.00192[/C][C]1.00085[/C][/ROW]
[ROW][C]36[/C][C]97.35[/C][C]97.4441[/C][C]97.8129[/C][C]0.996229[/C][C]0.999034[/C][/ROW]
[ROW][C]37[/C][C]98.2[/C][C]98.0988[/C][C]98.2542[/C][C]0.998418[/C][C]1.00103[/C][/ROW]
[ROW][C]38[/C][C]99.46[/C][C]98.6057[/C][C]98.6746[/C][C]0.999302[/C][C]1.00866[/C][/ROW]
[ROW][C]39[/C][C]100.35[/C][C]99.6158[/C][C]99.0329[/C][C]1.00589[/C][C]1.00737[/C][/ROW]
[ROW][C]40[/C][C]99.72[/C][C]99.4327[/C][C]99.3142[/C][C]1.00119[/C][C]1.00289[/C][/ROW]
[ROW][C]41[/C][C]99.69[/C][C]99.4392[/C][C]99.5746[/C][C]0.99864[/C][C]1.00252[/C][/ROW]
[ROW][C]42[/C][C]99.62[/C][C]99.6831[/C][C]99.8583[/C][C]0.998245[/C][C]0.999367[/C][/ROW]
[ROW][C]43[/C][C]99.77[/C][C]99.7197[/C][C]100.137[/C][C]0.995832[/C][C]1.0005[/C][/ROW]
[ROW][C]44[/C][C]100.19[/C][C]100.207[/C][C]100.386[/C][C]0.998219[/C][C]0.999829[/C][/ROW]
[ROW][C]45[/C][C]100.82[/C][C]100.945[/C][C]100.602[/C][C]1.00341[/C][C]0.998762[/C][/ROW]
[ROW][C]46[/C][C]100.36[/C][C]101.137[/C][C]100.864[/C][C]1.00271[/C][C]0.992315[/C][/ROW]
[ROW][C]47[/C][C]101.08[/C][C]101.374[/C][C]101.18[/C][C]1.00192[/C][C]0.997102[/C][/ROW]
[ROW][C]48[/C][C]100.73[/C][C]101.126[/C][C]101.509[/C][C]0.996229[/C][C]0.996084[/C][/ROW]
[ROW][C]49[/C][C]101.51[/C][C]101.679[/C][C]101.84[/C][C]0.998418[/C][C]0.998335[/C][/ROW]
[ROW][C]50[/C][C]102.12[/C][C]102.081[/C][C]102.152[/C][C]0.999302[/C][C]1.00038[/C][/ROW]
[ROW][C]51[/C][C]102.88[/C][C]103.022[/C][C]102.42[/C][C]1.00589[/C][C]0.998618[/C][/ROW]
[ROW][C]52[/C][C]103.47[/C][C]102.771[/C][C]102.649[/C][C]1.00119[/C][C]1.0068[/C][/ROW]
[ROW][C]53[/C][C]103.53[/C][C]102.716[/C][C]102.855[/C][C]0.99864[/C][C]1.00793[/C][/ROW]
[ROW][C]54[/C][C]103.67[/C][C]102.883[/C][C]103.064[/C][C]0.998245[/C][C]1.00765[/C][/ROW]
[ROW][C]55[/C][C]103.68[/C][C]102.825[/C][C]103.255[/C][C]0.995832[/C][C]1.00831[/C][/ROW]
[ROW][C]56[/C][C]103.76[/C][C]103.262[/C][C]103.446[/C][C]0.998219[/C][C]1.00483[/C][/ROW]
[ROW][C]57[/C][C]103.67[/C][C]NA[/C][C]NA[/C][C]1.00341[/C][C]NA[/C][/ROW]
[ROW][C]58[/C][C]103.01[/C][C]NA[/C][C]NA[/C][C]1.00271[/C][C]NA[/C][/ROW]
[ROW][C]59[/C][C]103.39[/C][C]NA[/C][C]NA[/C][C]1.00192[/C][C]NA[/C][/ROW]
[ROW][C]60[/C][C]103.43[/C][C]NA[/C][C]NA[/C][C]0.996229[/C][C]NA[/C][/ROW]
[ROW][C]61[/C][C]103.4[/C][C]NA[/C][C]NA[/C][C]0.998418[/C][C]NA[/C][/ROW]
[ROW][C]62[/C][C]104.8[/C][C]NA[/C][C]NA[/C][C]0.999302[/C][C]NA[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=&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
192.76NANA0.998418NA
293.12NANA0.999302NA
393.6NANA1.00589NA
493.24NANA1.00119NA
593.4NANA0.99864NA
693.32NANA0.998245NA
793.1393.050593.440.9958321.00085
893.1993.297393.46370.9982190.99885
993.8493.742293.42381.003411.00104
1094.0193.608593.35541.002711.00429
1193.7893.45793.27831.001921.00346
1293.4792.880193.23170.9962291.00635
1393.693.063893.21120.9984181.00576
1492.8593.134993.20.9993020.996941
1592.9193.743993.19541.005890.991104
1692.2993.296693.18541.001190.98921
1792.593.056293.18290.998640.994023
1893.193.021593.1850.9982451.00084
1992.8692.788793.17710.9958321.00077
2093.1993.034993.20080.9982191.00167
2193.7393.648593.33041.003411.00087
2293.8893.793693.541.002711.00092
2393.8593.913393.73381.001920.999326
2493.4593.51993.87290.9962290.999263
2593.4393.842693.99130.9984180.995603
2693.5994.084794.15040.9993020.994742
2795.2894.934694.37921.005891.00364
2894.9594.776394.66331.001191.00183
2994.4994.84594.97420.998640.996257
3094.4595.127895.2950.9982450.992875
3194.3595.257595.65620.9958320.990473
3295.5295.928596.09960.9982190.995742
3396.8996.884596.55541.003411.00006
3497.5497.228396.96541.002711.00321
3597.6597.567397.38081.001921.00085
3697.3597.444197.81290.9962290.999034
3798.298.098898.25420.9984181.00103
3899.4698.605798.67460.9993021.00866
39100.3599.615899.03291.005891.00737
4099.7299.432799.31421.001191.00289
4199.6999.439299.57460.998641.00252
4299.6299.683199.85830.9982450.999367
4399.7799.7197100.1370.9958321.0005
44100.19100.207100.3860.9982190.999829
45100.82100.945100.6021.003410.998762
46100.36101.137100.8641.002710.992315
47101.08101.374101.181.001920.997102
48100.73101.126101.5090.9962290.996084
49101.51101.679101.840.9984180.998335
50102.12102.081102.1520.9993021.00038
51102.88103.022102.421.005890.998618
52103.47102.771102.6491.001191.0068
53103.53102.716102.8550.998641.00793
54103.67102.883103.0640.9982451.00765
55103.68102.825103.2550.9958321.00831
56103.76103.262103.4460.9982191.00483
57103.67NANA1.00341NA
58103.01NANA1.00271NA
59103.39NANA1.00192NA
60103.43NANA0.996229NA
61103.4NANA0.998418NA
62104.8NANA0.999302NA



Parameters (Session):
par1 = multiplicative ; par2 = 12 ;
Parameters (R input):
par1 = multiplicative ; 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')