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, 21 Dec 2016 07:37:23 +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/21/t1482302346db7qoc5hl4dv7lm.htm/, Retrieved Mon, 06 May 2024 18:17:53 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=301851, Retrieved Mon, 06 May 2024 18:17:53 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact115
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-       [Classical Decomposition] [] [2016-12-21 06:37:23] [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=301851&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=301851&T=0

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=301851&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.8NANA0.984209NA
21861.4NANA0.939231NA
32170.22288.422027.591.128640.948338
41999.61996.282105.960.9479161.00167
52225.52180.632215.610.9842091.02058
62195.72193.132335.020.9392311.00117
72713.12741.962429.431.128640.989476
824122394.222525.780.9479161.00742
92568.32596.662638.320.9842090.989077
102623.72569.922736.20.9392311.02093
113185.53199.452834.781.128640.995639
122722.62771.082923.340.9479160.982505
133046.32924.242971.160.9842091.04174
142854.22831.683014.890.9392311.00795
153337.63432.323041.11.128640.972404
162920.32893.553052.540.9479161.00924
173058.33067.733116.950.9842090.996926
182933.73010.773205.570.9392310.9744
193773.43714.893291.461.128641.01575
203193.53217.873394.680.9479160.992427
213472.23423.13478.020.9842091.01434
223345.53328.263543.60.9392311.00518
234028.44066.173602.71.128640.990712
243463.13457.543647.510.9479161.00161
253675.43623.013681.140.9842091.01446
263500.83486.623712.210.9392311.00407
274142.14221.483740.311.128640.981196
2835983562.93758.660.9479161.00985
293765.33726.183785.960.9842091.0105
303557.73577.453808.910.9392310.99448
314303.64291.563802.41.128641.00281
323620.13609.833808.180.9479161.00284
333691.13787.733848.50.9842090.974489
343678.13647.163883.140.9392311.00848
354505.84421.893917.881.128641.01898
3636953742.713948.350.9479160.987254
373894.13921.043983.950.9842090.99313
383718.93789.394034.560.9392310.981399
394749.84592.884069.371.128641.03417
403855.93893.724107.660.9479160.990287
414011.74073.734139.090.9842090.984774
423907.63920.214173.850.9392310.996784
434812.54762.584219.741.128641.01048
444071.34038.084259.950.9479161.00823
454163.44250.14318.290.9842090.979601
464077.64106.74372.410.9392310.992913
475109.24976.334409.121.128641.0267
484207.64235.974468.710.9479160.993304
494320.84468.144539.820.9842090.967025
504396.9NANA0.939231NA
515358.8NANA1.12864NA

\begin{tabular}{lllllllll}
\hline
Classical Decomposition by Moving Averages \tabularnewline
t & Observations & Fit & Trend & Seasonal & Random \tabularnewline
1 & 1932.8 & NA & NA & 0.984209 & NA \tabularnewline
2 & 1861.4 & NA & NA & 0.939231 & NA \tabularnewline
3 & 2170.2 & 2288.42 & 2027.59 & 1.12864 & 0.948338 \tabularnewline
4 & 1999.6 & 1996.28 & 2105.96 & 0.947916 & 1.00167 \tabularnewline
5 & 2225.5 & 2180.63 & 2215.61 & 0.984209 & 1.02058 \tabularnewline
6 & 2195.7 & 2193.13 & 2335.02 & 0.939231 & 1.00117 \tabularnewline
7 & 2713.1 & 2741.96 & 2429.43 & 1.12864 & 0.989476 \tabularnewline
8 & 2412 & 2394.22 & 2525.78 & 0.947916 & 1.00742 \tabularnewline
9 & 2568.3 & 2596.66 & 2638.32 & 0.984209 & 0.989077 \tabularnewline
10 & 2623.7 & 2569.92 & 2736.2 & 0.939231 & 1.02093 \tabularnewline
11 & 3185.5 & 3199.45 & 2834.78 & 1.12864 & 0.995639 \tabularnewline
12 & 2722.6 & 2771.08 & 2923.34 & 0.947916 & 0.982505 \tabularnewline
13 & 3046.3 & 2924.24 & 2971.16 & 0.984209 & 1.04174 \tabularnewline
14 & 2854.2 & 2831.68 & 3014.89 & 0.939231 & 1.00795 \tabularnewline
15 & 3337.6 & 3432.32 & 3041.1 & 1.12864 & 0.972404 \tabularnewline
16 & 2920.3 & 2893.55 & 3052.54 & 0.947916 & 1.00924 \tabularnewline
17 & 3058.3 & 3067.73 & 3116.95 & 0.984209 & 0.996926 \tabularnewline
18 & 2933.7 & 3010.77 & 3205.57 & 0.939231 & 0.9744 \tabularnewline
19 & 3773.4 & 3714.89 & 3291.46 & 1.12864 & 1.01575 \tabularnewline
20 & 3193.5 & 3217.87 & 3394.68 & 0.947916 & 0.992427 \tabularnewline
21 & 3472.2 & 3423.1 & 3478.02 & 0.984209 & 1.01434 \tabularnewline
22 & 3345.5 & 3328.26 & 3543.6 & 0.939231 & 1.00518 \tabularnewline
23 & 4028.4 & 4066.17 & 3602.7 & 1.12864 & 0.990712 \tabularnewline
24 & 3463.1 & 3457.54 & 3647.51 & 0.947916 & 1.00161 \tabularnewline
25 & 3675.4 & 3623.01 & 3681.14 & 0.984209 & 1.01446 \tabularnewline
26 & 3500.8 & 3486.62 & 3712.21 & 0.939231 & 1.00407 \tabularnewline
27 & 4142.1 & 4221.48 & 3740.31 & 1.12864 & 0.981196 \tabularnewline
28 & 3598 & 3562.9 & 3758.66 & 0.947916 & 1.00985 \tabularnewline
29 & 3765.3 & 3726.18 & 3785.96 & 0.984209 & 1.0105 \tabularnewline
30 & 3557.7 & 3577.45 & 3808.91 & 0.939231 & 0.99448 \tabularnewline
31 & 4303.6 & 4291.56 & 3802.4 & 1.12864 & 1.00281 \tabularnewline
32 & 3620.1 & 3609.83 & 3808.18 & 0.947916 & 1.00284 \tabularnewline
33 & 3691.1 & 3787.73 & 3848.5 & 0.984209 & 0.974489 \tabularnewline
34 & 3678.1 & 3647.16 & 3883.14 & 0.939231 & 1.00848 \tabularnewline
35 & 4505.8 & 4421.89 & 3917.88 & 1.12864 & 1.01898 \tabularnewline
36 & 3695 & 3742.71 & 3948.35 & 0.947916 & 0.987254 \tabularnewline
37 & 3894.1 & 3921.04 & 3983.95 & 0.984209 & 0.99313 \tabularnewline
38 & 3718.9 & 3789.39 & 4034.56 & 0.939231 & 0.981399 \tabularnewline
39 & 4749.8 & 4592.88 & 4069.37 & 1.12864 & 1.03417 \tabularnewline
40 & 3855.9 & 3893.72 & 4107.66 & 0.947916 & 0.990287 \tabularnewline
41 & 4011.7 & 4073.73 & 4139.09 & 0.984209 & 0.984774 \tabularnewline
42 & 3907.6 & 3920.21 & 4173.85 & 0.939231 & 0.996784 \tabularnewline
43 & 4812.5 & 4762.58 & 4219.74 & 1.12864 & 1.01048 \tabularnewline
44 & 4071.3 & 4038.08 & 4259.95 & 0.947916 & 1.00823 \tabularnewline
45 & 4163.4 & 4250.1 & 4318.29 & 0.984209 & 0.979601 \tabularnewline
46 & 4077.6 & 4106.7 & 4372.41 & 0.939231 & 0.992913 \tabularnewline
47 & 5109.2 & 4976.33 & 4409.12 & 1.12864 & 1.0267 \tabularnewline
48 & 4207.6 & 4235.97 & 4468.71 & 0.947916 & 0.993304 \tabularnewline
49 & 4320.8 & 4468.14 & 4539.82 & 0.984209 & 0.967025 \tabularnewline
50 & 4396.9 & NA & NA & 0.939231 & NA \tabularnewline
51 & 5358.8 & NA & NA & 1.12864 & NA \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=301851&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]0.984209[/C][C]NA[/C][/ROW]
[ROW][C]2[/C][C]1861.4[/C][C]NA[/C][C]NA[/C][C]0.939231[/C][C]NA[/C][/ROW]
[ROW][C]3[/C][C]2170.2[/C][C]2288.42[/C][C]2027.59[/C][C]1.12864[/C][C]0.948338[/C][/ROW]
[ROW][C]4[/C][C]1999.6[/C][C]1996.28[/C][C]2105.96[/C][C]0.947916[/C][C]1.00167[/C][/ROW]
[ROW][C]5[/C][C]2225.5[/C][C]2180.63[/C][C]2215.61[/C][C]0.984209[/C][C]1.02058[/C][/ROW]
[ROW][C]6[/C][C]2195.7[/C][C]2193.13[/C][C]2335.02[/C][C]0.939231[/C][C]1.00117[/C][/ROW]
[ROW][C]7[/C][C]2713.1[/C][C]2741.96[/C][C]2429.43[/C][C]1.12864[/C][C]0.989476[/C][/ROW]
[ROW][C]8[/C][C]2412[/C][C]2394.22[/C][C]2525.78[/C][C]0.947916[/C][C]1.00742[/C][/ROW]
[ROW][C]9[/C][C]2568.3[/C][C]2596.66[/C][C]2638.32[/C][C]0.984209[/C][C]0.989077[/C][/ROW]
[ROW][C]10[/C][C]2623.7[/C][C]2569.92[/C][C]2736.2[/C][C]0.939231[/C][C]1.02093[/C][/ROW]
[ROW][C]11[/C][C]3185.5[/C][C]3199.45[/C][C]2834.78[/C][C]1.12864[/C][C]0.995639[/C][/ROW]
[ROW][C]12[/C][C]2722.6[/C][C]2771.08[/C][C]2923.34[/C][C]0.947916[/C][C]0.982505[/C][/ROW]
[ROW][C]13[/C][C]3046.3[/C][C]2924.24[/C][C]2971.16[/C][C]0.984209[/C][C]1.04174[/C][/ROW]
[ROW][C]14[/C][C]2854.2[/C][C]2831.68[/C][C]3014.89[/C][C]0.939231[/C][C]1.00795[/C][/ROW]
[ROW][C]15[/C][C]3337.6[/C][C]3432.32[/C][C]3041.1[/C][C]1.12864[/C][C]0.972404[/C][/ROW]
[ROW][C]16[/C][C]2920.3[/C][C]2893.55[/C][C]3052.54[/C][C]0.947916[/C][C]1.00924[/C][/ROW]
[ROW][C]17[/C][C]3058.3[/C][C]3067.73[/C][C]3116.95[/C][C]0.984209[/C][C]0.996926[/C][/ROW]
[ROW][C]18[/C][C]2933.7[/C][C]3010.77[/C][C]3205.57[/C][C]0.939231[/C][C]0.9744[/C][/ROW]
[ROW][C]19[/C][C]3773.4[/C][C]3714.89[/C][C]3291.46[/C][C]1.12864[/C][C]1.01575[/C][/ROW]
[ROW][C]20[/C][C]3193.5[/C][C]3217.87[/C][C]3394.68[/C][C]0.947916[/C][C]0.992427[/C][/ROW]
[ROW][C]21[/C][C]3472.2[/C][C]3423.1[/C][C]3478.02[/C][C]0.984209[/C][C]1.01434[/C][/ROW]
[ROW][C]22[/C][C]3345.5[/C][C]3328.26[/C][C]3543.6[/C][C]0.939231[/C][C]1.00518[/C][/ROW]
[ROW][C]23[/C][C]4028.4[/C][C]4066.17[/C][C]3602.7[/C][C]1.12864[/C][C]0.990712[/C][/ROW]
[ROW][C]24[/C][C]3463.1[/C][C]3457.54[/C][C]3647.51[/C][C]0.947916[/C][C]1.00161[/C][/ROW]
[ROW][C]25[/C][C]3675.4[/C][C]3623.01[/C][C]3681.14[/C][C]0.984209[/C][C]1.01446[/C][/ROW]
[ROW][C]26[/C][C]3500.8[/C][C]3486.62[/C][C]3712.21[/C][C]0.939231[/C][C]1.00407[/C][/ROW]
[ROW][C]27[/C][C]4142.1[/C][C]4221.48[/C][C]3740.31[/C][C]1.12864[/C][C]0.981196[/C][/ROW]
[ROW][C]28[/C][C]3598[/C][C]3562.9[/C][C]3758.66[/C][C]0.947916[/C][C]1.00985[/C][/ROW]
[ROW][C]29[/C][C]3765.3[/C][C]3726.18[/C][C]3785.96[/C][C]0.984209[/C][C]1.0105[/C][/ROW]
[ROW][C]30[/C][C]3557.7[/C][C]3577.45[/C][C]3808.91[/C][C]0.939231[/C][C]0.99448[/C][/ROW]
[ROW][C]31[/C][C]4303.6[/C][C]4291.56[/C][C]3802.4[/C][C]1.12864[/C][C]1.00281[/C][/ROW]
[ROW][C]32[/C][C]3620.1[/C][C]3609.83[/C][C]3808.18[/C][C]0.947916[/C][C]1.00284[/C][/ROW]
[ROW][C]33[/C][C]3691.1[/C][C]3787.73[/C][C]3848.5[/C][C]0.984209[/C][C]0.974489[/C][/ROW]
[ROW][C]34[/C][C]3678.1[/C][C]3647.16[/C][C]3883.14[/C][C]0.939231[/C][C]1.00848[/C][/ROW]
[ROW][C]35[/C][C]4505.8[/C][C]4421.89[/C][C]3917.88[/C][C]1.12864[/C][C]1.01898[/C][/ROW]
[ROW][C]36[/C][C]3695[/C][C]3742.71[/C][C]3948.35[/C][C]0.947916[/C][C]0.987254[/C][/ROW]
[ROW][C]37[/C][C]3894.1[/C][C]3921.04[/C][C]3983.95[/C][C]0.984209[/C][C]0.99313[/C][/ROW]
[ROW][C]38[/C][C]3718.9[/C][C]3789.39[/C][C]4034.56[/C][C]0.939231[/C][C]0.981399[/C][/ROW]
[ROW][C]39[/C][C]4749.8[/C][C]4592.88[/C][C]4069.37[/C][C]1.12864[/C][C]1.03417[/C][/ROW]
[ROW][C]40[/C][C]3855.9[/C][C]3893.72[/C][C]4107.66[/C][C]0.947916[/C][C]0.990287[/C][/ROW]
[ROW][C]41[/C][C]4011.7[/C][C]4073.73[/C][C]4139.09[/C][C]0.984209[/C][C]0.984774[/C][/ROW]
[ROW][C]42[/C][C]3907.6[/C][C]3920.21[/C][C]4173.85[/C][C]0.939231[/C][C]0.996784[/C][/ROW]
[ROW][C]43[/C][C]4812.5[/C][C]4762.58[/C][C]4219.74[/C][C]1.12864[/C][C]1.01048[/C][/ROW]
[ROW][C]44[/C][C]4071.3[/C][C]4038.08[/C][C]4259.95[/C][C]0.947916[/C][C]1.00823[/C][/ROW]
[ROW][C]45[/C][C]4163.4[/C][C]4250.1[/C][C]4318.29[/C][C]0.984209[/C][C]0.979601[/C][/ROW]
[ROW][C]46[/C][C]4077.6[/C][C]4106.7[/C][C]4372.41[/C][C]0.939231[/C][C]0.992913[/C][/ROW]
[ROW][C]47[/C][C]5109.2[/C][C]4976.33[/C][C]4409.12[/C][C]1.12864[/C][C]1.0267[/C][/ROW]
[ROW][C]48[/C][C]4207.6[/C][C]4235.97[/C][C]4468.71[/C][C]0.947916[/C][C]0.993304[/C][/ROW]
[ROW][C]49[/C][C]4320.8[/C][C]4468.14[/C][C]4539.82[/C][C]0.984209[/C][C]0.967025[/C][/ROW]
[ROW][C]50[/C][C]4396.9[/C][C]NA[/C][C]NA[/C][C]0.939231[/C][C]NA[/C][/ROW]
[ROW][C]51[/C][C]5358.8[/C][C]NA[/C][C]NA[/C][C]1.12864[/C][C]NA[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=301851&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=301851&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.8NANA0.984209NA
21861.4NANA0.939231NA
32170.22288.422027.591.128640.948338
41999.61996.282105.960.9479161.00167
52225.52180.632215.610.9842091.02058
62195.72193.132335.020.9392311.00117
72713.12741.962429.431.128640.989476
824122394.222525.780.9479161.00742
92568.32596.662638.320.9842090.989077
102623.72569.922736.20.9392311.02093
113185.53199.452834.781.128640.995639
122722.62771.082923.340.9479160.982505
133046.32924.242971.160.9842091.04174
142854.22831.683014.890.9392311.00795
153337.63432.323041.11.128640.972404
162920.32893.553052.540.9479161.00924
173058.33067.733116.950.9842090.996926
182933.73010.773205.570.9392310.9744
193773.43714.893291.461.128641.01575
203193.53217.873394.680.9479160.992427
213472.23423.13478.020.9842091.01434
223345.53328.263543.60.9392311.00518
234028.44066.173602.71.128640.990712
243463.13457.543647.510.9479161.00161
253675.43623.013681.140.9842091.01446
263500.83486.623712.210.9392311.00407
274142.14221.483740.311.128640.981196
2835983562.93758.660.9479161.00985
293765.33726.183785.960.9842091.0105
303557.73577.453808.910.9392310.99448
314303.64291.563802.41.128641.00281
323620.13609.833808.180.9479161.00284
333691.13787.733848.50.9842090.974489
343678.13647.163883.140.9392311.00848
354505.84421.893917.881.128641.01898
3636953742.713948.350.9479160.987254
373894.13921.043983.950.9842090.99313
383718.93789.394034.560.9392310.981399
394749.84592.884069.371.128641.03417
403855.93893.724107.660.9479160.990287
414011.74073.734139.090.9842090.984774
423907.63920.214173.850.9392310.996784
434812.54762.584219.741.128641.01048
444071.34038.084259.950.9479161.00823
454163.44250.14318.290.9842090.979601
464077.64106.74372.410.9392310.992913
475109.24976.334409.121.128641.0267
484207.64235.974468.710.9479160.993304
494320.84468.144539.820.9842090.967025
504396.9NANA0.939231NA
515358.8NANA1.12864NA



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