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 computationTue, 20 Dec 2016 20:37:07 +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/20/t1482262686tah1johjg4nhfq1.htm/, Retrieved Sat, 27 Apr 2024 22:38:04 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=301788, Retrieved Sat, 27 Apr 2024 22:38:04 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact69
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-       [Classical Decomposition] [] [2016-12-20 19:37:07] [672675941468e072e71d9fb024f2b817] [Current]
Feedback Forum

Post a new message
Dataseries X:
1932.8
1861.4
2170.2
1999.6
2225.5
2195.7
2713.1
2412
2568.3
2623.7
3185.5
2722.6
3046.3
2854.2
3337.6
2920.3
3058.3
2933.7
3773.4
3193.5
3472.2
3345.5
4028.4
3463.1
3675.4
3500.8
4142.1
3598
3765.3
3557.7
4303.6
3620.1
3691.1
3678.1
4505.8
3695
3894.1
3718.9
4749.8
3855.9
4011.7
3907.6
4812.5
4071.3
4163.4
4077.6
5109.2
4207.6
4320.8
4396.9
5358.8




Summary of computational transaction
Raw Input view raw input (R code)
Raw Outputview raw output of R engine
Computing time1 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 time1 seconds \tabularnewline
R ServerBig Analytics Cloud Computing Center \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=301788&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]1 seconds[/C][/ROW] [ROW]R Server[/C]Big Analytics Cloud Computing Center[/C][/ROW] [/TABLE] Source: https://freestatistics.org/blog/index.php?pk=301788&T=0

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=301788&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 time1 seconds
R ServerBig Analytics Cloud Computing Center







Classical Decomposition by Moving Averages
tObservationsFitTrendSeasonalRandom
11932.8NANA-63.0997NA
21861.4NANA-215.023NA
32170.22486.972027.59459.379-316.767
41999.61924.712105.96-181.25774.8945
52225.52152.512215.61-63.099772.9872
62195.721202335.02-215.02375.6977
72713.12888.82429.43459.379-175.704
824122344.522525.78-181.25767.482
92568.32575.232638.32-63.0997-6.92526
102623.72521.182736.2-215.023102.523
113185.53294.152834.78459.379-108.654
122722.62742.082923.34-181.257-19.4805
133046.32908.062971.16-63.0997138.237
142854.22799.863014.89-215.02354.3352
153337.63500.483041.1459.379-162.879
162920.32871.283052.54-181.25749.0195
173058.33053.853116.95-63.09974.44974
182933.72990.553205.57-215.023-56.8523
193773.43750.843291.46459.37922.5581
203193.53213.423394.68-181.257-19.918
213472.23414.933478.02-63.099757.2747
223345.53328.583543.6-215.02316.9227
234028.44062.083602.7459.379-33.6794
243463.13466.263647.51-181.257-3.15547
253675.43618.043681.14-63.099757.3622
263500.83497.193712.21-215.0233.61016
274142.14199.693740.31459.379-57.5919
2835983577.413758.66-181.25720.5945
293765.33722.863785.96-63.099742.4372
303557.73593.893808.91-215.023-36.1898
314303.64261.783802.4459.37941.8206
323620.13626.923808.18-181.257-6.81797
333691.13785.43848.5-63.0997-94.3003
343678.13668.113883.14-215.0239.98516
354505.84377.253917.88459.379128.546
3636953767.093948.35-181.257-72.093
373894.13920.853983.95-63.0997-26.7503
383718.93819.544034.56-215.023-100.64
394749.84528.754069.37459.379221.046
403855.93926.414107.66-181.257-70.5055
414011.74075.994139.09-63.0997-64.2878
423907.63958.834173.85-215.023-51.2273
434812.54679.124219.74459.379133.383
444071.34078.694259.95-181.257-7.39297
454163.44255.194318.29-63.0997-91.7878
464077.64157.394372.41-215.023-79.7898
475109.24868.54409.12459.379240.696
484207.64287.464468.71-181.257-79.8555
494320.84476.734539.82-63.0997-155.925
504396.9NANA-215.023NA
515358.8NANA459.379NA

\begin{tabular}{lllllllll}
\hline
Classical Decomposition by Moving Averages \tabularnewline
t & Observations & Fit & Trend & Seasonal & Random \tabularnewline
1 & 1932.8 & NA & NA & -63.0997 & NA \tabularnewline
2 & 1861.4 & NA & NA & -215.023 & NA \tabularnewline
3 & 2170.2 & 2486.97 & 2027.59 & 459.379 & -316.767 \tabularnewline
4 & 1999.6 & 1924.71 & 2105.96 & -181.257 & 74.8945 \tabularnewline
5 & 2225.5 & 2152.51 & 2215.61 & -63.0997 & 72.9872 \tabularnewline
6 & 2195.7 & 2120 & 2335.02 & -215.023 & 75.6977 \tabularnewline
7 & 2713.1 & 2888.8 & 2429.43 & 459.379 & -175.704 \tabularnewline
8 & 2412 & 2344.52 & 2525.78 & -181.257 & 67.482 \tabularnewline
9 & 2568.3 & 2575.23 & 2638.32 & -63.0997 & -6.92526 \tabularnewline
10 & 2623.7 & 2521.18 & 2736.2 & -215.023 & 102.523 \tabularnewline
11 & 3185.5 & 3294.15 & 2834.78 & 459.379 & -108.654 \tabularnewline
12 & 2722.6 & 2742.08 & 2923.34 & -181.257 & -19.4805 \tabularnewline
13 & 3046.3 & 2908.06 & 2971.16 & -63.0997 & 138.237 \tabularnewline
14 & 2854.2 & 2799.86 & 3014.89 & -215.023 & 54.3352 \tabularnewline
15 & 3337.6 & 3500.48 & 3041.1 & 459.379 & -162.879 \tabularnewline
16 & 2920.3 & 2871.28 & 3052.54 & -181.257 & 49.0195 \tabularnewline
17 & 3058.3 & 3053.85 & 3116.95 & -63.0997 & 4.44974 \tabularnewline
18 & 2933.7 & 2990.55 & 3205.57 & -215.023 & -56.8523 \tabularnewline
19 & 3773.4 & 3750.84 & 3291.46 & 459.379 & 22.5581 \tabularnewline
20 & 3193.5 & 3213.42 & 3394.68 & -181.257 & -19.918 \tabularnewline
21 & 3472.2 & 3414.93 & 3478.02 & -63.0997 & 57.2747 \tabularnewline
22 & 3345.5 & 3328.58 & 3543.6 & -215.023 & 16.9227 \tabularnewline
23 & 4028.4 & 4062.08 & 3602.7 & 459.379 & -33.6794 \tabularnewline
24 & 3463.1 & 3466.26 & 3647.51 & -181.257 & -3.15547 \tabularnewline
25 & 3675.4 & 3618.04 & 3681.14 & -63.0997 & 57.3622 \tabularnewline
26 & 3500.8 & 3497.19 & 3712.21 & -215.023 & 3.61016 \tabularnewline
27 & 4142.1 & 4199.69 & 3740.31 & 459.379 & -57.5919 \tabularnewline
28 & 3598 & 3577.41 & 3758.66 & -181.257 & 20.5945 \tabularnewline
29 & 3765.3 & 3722.86 & 3785.96 & -63.0997 & 42.4372 \tabularnewline
30 & 3557.7 & 3593.89 & 3808.91 & -215.023 & -36.1898 \tabularnewline
31 & 4303.6 & 4261.78 & 3802.4 & 459.379 & 41.8206 \tabularnewline
32 & 3620.1 & 3626.92 & 3808.18 & -181.257 & -6.81797 \tabularnewline
33 & 3691.1 & 3785.4 & 3848.5 & -63.0997 & -94.3003 \tabularnewline
34 & 3678.1 & 3668.11 & 3883.14 & -215.023 & 9.98516 \tabularnewline
35 & 4505.8 & 4377.25 & 3917.88 & 459.379 & 128.546 \tabularnewline
36 & 3695 & 3767.09 & 3948.35 & -181.257 & -72.093 \tabularnewline
37 & 3894.1 & 3920.85 & 3983.95 & -63.0997 & -26.7503 \tabularnewline
38 & 3718.9 & 3819.54 & 4034.56 & -215.023 & -100.64 \tabularnewline
39 & 4749.8 & 4528.75 & 4069.37 & 459.379 & 221.046 \tabularnewline
40 & 3855.9 & 3926.41 & 4107.66 & -181.257 & -70.5055 \tabularnewline
41 & 4011.7 & 4075.99 & 4139.09 & -63.0997 & -64.2878 \tabularnewline
42 & 3907.6 & 3958.83 & 4173.85 & -215.023 & -51.2273 \tabularnewline
43 & 4812.5 & 4679.12 & 4219.74 & 459.379 & 133.383 \tabularnewline
44 & 4071.3 & 4078.69 & 4259.95 & -181.257 & -7.39297 \tabularnewline
45 & 4163.4 & 4255.19 & 4318.29 & -63.0997 & -91.7878 \tabularnewline
46 & 4077.6 & 4157.39 & 4372.41 & -215.023 & -79.7898 \tabularnewline
47 & 5109.2 & 4868.5 & 4409.12 & 459.379 & 240.696 \tabularnewline
48 & 4207.6 & 4287.46 & 4468.71 & -181.257 & -79.8555 \tabularnewline
49 & 4320.8 & 4476.73 & 4539.82 & -63.0997 & -155.925 \tabularnewline
50 & 4396.9 & NA & NA & -215.023 & NA \tabularnewline
51 & 5358.8 & NA & NA & 459.379 & NA \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=301788&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]1932.8[/C][C]NA[/C][C]NA[/C][C]-63.0997[/C][C]NA[/C][/ROW]
[ROW][C]2[/C][C]1861.4[/C][C]NA[/C][C]NA[/C][C]-215.023[/C][C]NA[/C][/ROW]
[ROW][C]3[/C][C]2170.2[/C][C]2486.97[/C][C]2027.59[/C][C]459.379[/C][C]-316.767[/C][/ROW]
[ROW][C]4[/C][C]1999.6[/C][C]1924.71[/C][C]2105.96[/C][C]-181.257[/C][C]74.8945[/C][/ROW]
[ROW][C]5[/C][C]2225.5[/C][C]2152.51[/C][C]2215.61[/C][C]-63.0997[/C][C]72.9872[/C][/ROW]
[ROW][C]6[/C][C]2195.7[/C][C]2120[/C][C]2335.02[/C][C]-215.023[/C][C]75.6977[/C][/ROW]
[ROW][C]7[/C][C]2713.1[/C][C]2888.8[/C][C]2429.43[/C][C]459.379[/C][C]-175.704[/C][/ROW]
[ROW][C]8[/C][C]2412[/C][C]2344.52[/C][C]2525.78[/C][C]-181.257[/C][C]67.482[/C][/ROW]
[ROW][C]9[/C][C]2568.3[/C][C]2575.23[/C][C]2638.32[/C][C]-63.0997[/C][C]-6.92526[/C][/ROW]
[ROW][C]10[/C][C]2623.7[/C][C]2521.18[/C][C]2736.2[/C][C]-215.023[/C][C]102.523[/C][/ROW]
[ROW][C]11[/C][C]3185.5[/C][C]3294.15[/C][C]2834.78[/C][C]459.379[/C][C]-108.654[/C][/ROW]
[ROW][C]12[/C][C]2722.6[/C][C]2742.08[/C][C]2923.34[/C][C]-181.257[/C][C]-19.4805[/C][/ROW]
[ROW][C]13[/C][C]3046.3[/C][C]2908.06[/C][C]2971.16[/C][C]-63.0997[/C][C]138.237[/C][/ROW]
[ROW][C]14[/C][C]2854.2[/C][C]2799.86[/C][C]3014.89[/C][C]-215.023[/C][C]54.3352[/C][/ROW]
[ROW][C]15[/C][C]3337.6[/C][C]3500.48[/C][C]3041.1[/C][C]459.379[/C][C]-162.879[/C][/ROW]
[ROW][C]16[/C][C]2920.3[/C][C]2871.28[/C][C]3052.54[/C][C]-181.257[/C][C]49.0195[/C][/ROW]
[ROW][C]17[/C][C]3058.3[/C][C]3053.85[/C][C]3116.95[/C][C]-63.0997[/C][C]4.44974[/C][/ROW]
[ROW][C]18[/C][C]2933.7[/C][C]2990.55[/C][C]3205.57[/C][C]-215.023[/C][C]-56.8523[/C][/ROW]
[ROW][C]19[/C][C]3773.4[/C][C]3750.84[/C][C]3291.46[/C][C]459.379[/C][C]22.5581[/C][/ROW]
[ROW][C]20[/C][C]3193.5[/C][C]3213.42[/C][C]3394.68[/C][C]-181.257[/C][C]-19.918[/C][/ROW]
[ROW][C]21[/C][C]3472.2[/C][C]3414.93[/C][C]3478.02[/C][C]-63.0997[/C][C]57.2747[/C][/ROW]
[ROW][C]22[/C][C]3345.5[/C][C]3328.58[/C][C]3543.6[/C][C]-215.023[/C][C]16.9227[/C][/ROW]
[ROW][C]23[/C][C]4028.4[/C][C]4062.08[/C][C]3602.7[/C][C]459.379[/C][C]-33.6794[/C][/ROW]
[ROW][C]24[/C][C]3463.1[/C][C]3466.26[/C][C]3647.51[/C][C]-181.257[/C][C]-3.15547[/C][/ROW]
[ROW][C]25[/C][C]3675.4[/C][C]3618.04[/C][C]3681.14[/C][C]-63.0997[/C][C]57.3622[/C][/ROW]
[ROW][C]26[/C][C]3500.8[/C][C]3497.19[/C][C]3712.21[/C][C]-215.023[/C][C]3.61016[/C][/ROW]
[ROW][C]27[/C][C]4142.1[/C][C]4199.69[/C][C]3740.31[/C][C]459.379[/C][C]-57.5919[/C][/ROW]
[ROW][C]28[/C][C]3598[/C][C]3577.41[/C][C]3758.66[/C][C]-181.257[/C][C]20.5945[/C][/ROW]
[ROW][C]29[/C][C]3765.3[/C][C]3722.86[/C][C]3785.96[/C][C]-63.0997[/C][C]42.4372[/C][/ROW]
[ROW][C]30[/C][C]3557.7[/C][C]3593.89[/C][C]3808.91[/C][C]-215.023[/C][C]-36.1898[/C][/ROW]
[ROW][C]31[/C][C]4303.6[/C][C]4261.78[/C][C]3802.4[/C][C]459.379[/C][C]41.8206[/C][/ROW]
[ROW][C]32[/C][C]3620.1[/C][C]3626.92[/C][C]3808.18[/C][C]-181.257[/C][C]-6.81797[/C][/ROW]
[ROW][C]33[/C][C]3691.1[/C][C]3785.4[/C][C]3848.5[/C][C]-63.0997[/C][C]-94.3003[/C][/ROW]
[ROW][C]34[/C][C]3678.1[/C][C]3668.11[/C][C]3883.14[/C][C]-215.023[/C][C]9.98516[/C][/ROW]
[ROW][C]35[/C][C]4505.8[/C][C]4377.25[/C][C]3917.88[/C][C]459.379[/C][C]128.546[/C][/ROW]
[ROW][C]36[/C][C]3695[/C][C]3767.09[/C][C]3948.35[/C][C]-181.257[/C][C]-72.093[/C][/ROW]
[ROW][C]37[/C][C]3894.1[/C][C]3920.85[/C][C]3983.95[/C][C]-63.0997[/C][C]-26.7503[/C][/ROW]
[ROW][C]38[/C][C]3718.9[/C][C]3819.54[/C][C]4034.56[/C][C]-215.023[/C][C]-100.64[/C][/ROW]
[ROW][C]39[/C][C]4749.8[/C][C]4528.75[/C][C]4069.37[/C][C]459.379[/C][C]221.046[/C][/ROW]
[ROW][C]40[/C][C]3855.9[/C][C]3926.41[/C][C]4107.66[/C][C]-181.257[/C][C]-70.5055[/C][/ROW]
[ROW][C]41[/C][C]4011.7[/C][C]4075.99[/C][C]4139.09[/C][C]-63.0997[/C][C]-64.2878[/C][/ROW]
[ROW][C]42[/C][C]3907.6[/C][C]3958.83[/C][C]4173.85[/C][C]-215.023[/C][C]-51.2273[/C][/ROW]
[ROW][C]43[/C][C]4812.5[/C][C]4679.12[/C][C]4219.74[/C][C]459.379[/C][C]133.383[/C][/ROW]
[ROW][C]44[/C][C]4071.3[/C][C]4078.69[/C][C]4259.95[/C][C]-181.257[/C][C]-7.39297[/C][/ROW]
[ROW][C]45[/C][C]4163.4[/C][C]4255.19[/C][C]4318.29[/C][C]-63.0997[/C][C]-91.7878[/C][/ROW]
[ROW][C]46[/C][C]4077.6[/C][C]4157.39[/C][C]4372.41[/C][C]-215.023[/C][C]-79.7898[/C][/ROW]
[ROW][C]47[/C][C]5109.2[/C][C]4868.5[/C][C]4409.12[/C][C]459.379[/C][C]240.696[/C][/ROW]
[ROW][C]48[/C][C]4207.6[/C][C]4287.46[/C][C]4468.71[/C][C]-181.257[/C][C]-79.8555[/C][/ROW]
[ROW][C]49[/C][C]4320.8[/C][C]4476.73[/C][C]4539.82[/C][C]-63.0997[/C][C]-155.925[/C][/ROW]
[ROW][C]50[/C][C]4396.9[/C][C]NA[/C][C]NA[/C][C]-215.023[/C][C]NA[/C][/ROW]
[ROW][C]51[/C][C]5358.8[/C][C]NA[/C][C]NA[/C][C]459.379[/C][C]NA[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=301788&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=301788&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
11932.8NANA-63.0997NA
21861.4NANA-215.023NA
32170.22486.972027.59459.379-316.767
41999.61924.712105.96-181.25774.8945
52225.52152.512215.61-63.099772.9872
62195.721202335.02-215.02375.6977
72713.12888.82429.43459.379-175.704
824122344.522525.78-181.25767.482
92568.32575.232638.32-63.0997-6.92526
102623.72521.182736.2-215.023102.523
113185.53294.152834.78459.379-108.654
122722.62742.082923.34-181.257-19.4805
133046.32908.062971.16-63.0997138.237
142854.22799.863014.89-215.02354.3352
153337.63500.483041.1459.379-162.879
162920.32871.283052.54-181.25749.0195
173058.33053.853116.95-63.09974.44974
182933.72990.553205.57-215.023-56.8523
193773.43750.843291.46459.37922.5581
203193.53213.423394.68-181.257-19.918
213472.23414.933478.02-63.099757.2747
223345.53328.583543.6-215.02316.9227
234028.44062.083602.7459.379-33.6794
243463.13466.263647.51-181.257-3.15547
253675.43618.043681.14-63.099757.3622
263500.83497.193712.21-215.0233.61016
274142.14199.693740.31459.379-57.5919
2835983577.413758.66-181.25720.5945
293765.33722.863785.96-63.099742.4372
303557.73593.893808.91-215.023-36.1898
314303.64261.783802.4459.37941.8206
323620.13626.923808.18-181.257-6.81797
333691.13785.43848.5-63.0997-94.3003
343678.13668.113883.14-215.0239.98516
354505.84377.253917.88459.379128.546
3636953767.093948.35-181.257-72.093
373894.13920.853983.95-63.0997-26.7503
383718.93819.544034.56-215.023-100.64
394749.84528.754069.37459.379221.046
403855.93926.414107.66-181.257-70.5055
414011.74075.994139.09-63.0997-64.2878
423907.63958.834173.85-215.023-51.2273
434812.54679.124219.74459.379133.383
444071.34078.694259.95-181.257-7.39297
454163.44255.194318.29-63.0997-91.7878
464077.64157.394372.41-215.023-79.7898
475109.24868.54409.12459.379240.696
484207.64287.464468.71-181.257-79.8555
494320.84476.734539.82-63.0997-155.925
504396.9NANA-215.023NA
515358.8NANA459.379NA



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