Free Statistics

of Irreproducible Research!

Author's title

Author*Unverified author*
R Software Modulerwasp_decompose.wasp
Title produced by softwareClassical Decomposition
Date of computationSat, 26 Nov 2016 13:58:39 +0000
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/Nov/26/t1480168797deva6o9emgzg6np.htm/, Retrieved Sat, 04 May 2024 02:58:51 +0200
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=, Retrieved Sat, 04 May 2024 02:58:51 +0200
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact0
Dataseries X:
1336
1756
2279
1944
1642
2679
2690
2263
2002
2620
3694
3194
2089
2420
3108
2160
1713
1191
2897
1287
2891
2662
2440
1899
519
1079
955
684
1090
1802
1360
804
1905
1732
964
1424
661
579
378
629
737
877
746
518
1032
1227
1610
1268
935
1224
1313
1642
1431
1124
1915
1503
2035
2200
2205
2297
1818
3525
3458
3958
1987
2375
1728
1618
1614
1820
1969
1632




Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time1 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 & 1 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]1 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 time1 seconds
R Server'George Udny Yule' @ yule.wessa.net







Classical Decomposition by Moving Averages
tObservationsFitTrendSeasonalRandom
11336NANA0.669901NA
21756NANA0.937133NA
32279NANA0.943003NA
41944NANA0.975542NA
51642NANA0.837099NA
62679NANA0.944763NA
726902645.062372.961.114671.01699
822631760.2824320.7237981.28559
920023015.732494.211.209090.663852
1026203173.072537.751.250350.825699
1136943139.162549.711.231191.17675
1231942897.82490.671.163461.10221
1320891632.742437.290.6699011.27944
1424202254.042405.250.9371331.07363
1531082264.742401.620.9430031.37234
1621602380.732440.420.9755420.907285
1717132000.62389.920.8370990.856245
1811912157.562283.710.9447630.552011
1928972412.512164.331.114671.20082
2012871478.752043.040.7237980.87033
2128912294.211897.461.209091.26013
2226622183.421746.251.250351.21919
2324402042.281658.791.231191.19474
2418991929.361658.291.163460.984263
255191085.041619.710.6699010.478322
2610791439.011535.540.9371330.749823
279551390.31474.330.9430030.686902
286841360.391394.50.9755420.502796
2910901083.421294.250.8370991.00608
3018021145.961212.960.9447631.57248
3113601336.581199.081.114671.01752
32804857.0971184.170.7237980.93805
3319051377.511139.291.209091.38293
3417321391.591112.961.250351.24462
359641349.331095.961.231190.714429
3614241213.151042.711.163461.1738
37661655.554978.5830.6699011.00831
38579881.92941.0830.9371330.656522
39378841.905892.7920.9430030.448982
40629814.944835.3750.9755420.771832
41737704.209841.250.8370991.04656
42877814.071861.6670.9447631.0773
43746965.953866.5831.114670.772294
44518654.947904.8750.7237980.790904
4510321173.68970.7081.209090.879287
4612271315.211051.871.250350.932931
4716101382.6211231.231191.16445
4812681352.191162.211.163460.937739
49935818.0881221.210.6699011.14291
5012241228.541310.960.9371330.996303
5113131314.351393.790.9430030.998973
5216421440.021476.130.9755421.14026
5314311290.351541.460.8370991.109
5411241520.241609.120.9447630.739356
5519151882.441688.791.114671.0173
5615031318.371821.460.7237981.14005
5720352426.32006.711.209090.838726
5822002741.492192.581.250350.802483
5922052846.812312.251.231190.774551
6022972777.822387.541.163460.826907
6118181629.112431.880.6699011.11594
6235252276.182428.880.9371331.54865
6334582278.412416.120.9430031.51772
6439582324.472382.750.9755421.70275
6519871973.112357.080.8370991.00704
6623752191.422319.540.9447631.08377
671728NANA1.11467NA
681618NANA0.723798NA
691614NANA1.20909NA
701820NANA1.25035NA
711969NANA1.23119NA
721632NANA1.16346NA

\begin{tabular}{lllllllll}
\hline
Classical Decomposition by Moving Averages \tabularnewline
t & Observations & Fit & Trend & Seasonal & Random \tabularnewline
1 & 1336 & NA & NA & 0.669901 & NA \tabularnewline
2 & 1756 & NA & NA & 0.937133 & NA \tabularnewline
3 & 2279 & NA & NA & 0.943003 & NA \tabularnewline
4 & 1944 & NA & NA & 0.975542 & NA \tabularnewline
5 & 1642 & NA & NA & 0.837099 & NA \tabularnewline
6 & 2679 & NA & NA & 0.944763 & NA \tabularnewline
7 & 2690 & 2645.06 & 2372.96 & 1.11467 & 1.01699 \tabularnewline
8 & 2263 & 1760.28 & 2432 & 0.723798 & 1.28559 \tabularnewline
9 & 2002 & 3015.73 & 2494.21 & 1.20909 & 0.663852 \tabularnewline
10 & 2620 & 3173.07 & 2537.75 & 1.25035 & 0.825699 \tabularnewline
11 & 3694 & 3139.16 & 2549.71 & 1.23119 & 1.17675 \tabularnewline
12 & 3194 & 2897.8 & 2490.67 & 1.16346 & 1.10221 \tabularnewline
13 & 2089 & 1632.74 & 2437.29 & 0.669901 & 1.27944 \tabularnewline
14 & 2420 & 2254.04 & 2405.25 & 0.937133 & 1.07363 \tabularnewline
15 & 3108 & 2264.74 & 2401.62 & 0.943003 & 1.37234 \tabularnewline
16 & 2160 & 2380.73 & 2440.42 & 0.975542 & 0.907285 \tabularnewline
17 & 1713 & 2000.6 & 2389.92 & 0.837099 & 0.856245 \tabularnewline
18 & 1191 & 2157.56 & 2283.71 & 0.944763 & 0.552011 \tabularnewline
19 & 2897 & 2412.51 & 2164.33 & 1.11467 & 1.20082 \tabularnewline
20 & 1287 & 1478.75 & 2043.04 & 0.723798 & 0.87033 \tabularnewline
21 & 2891 & 2294.21 & 1897.46 & 1.20909 & 1.26013 \tabularnewline
22 & 2662 & 2183.42 & 1746.25 & 1.25035 & 1.21919 \tabularnewline
23 & 2440 & 2042.28 & 1658.79 & 1.23119 & 1.19474 \tabularnewline
24 & 1899 & 1929.36 & 1658.29 & 1.16346 & 0.984263 \tabularnewline
25 & 519 & 1085.04 & 1619.71 & 0.669901 & 0.478322 \tabularnewline
26 & 1079 & 1439.01 & 1535.54 & 0.937133 & 0.749823 \tabularnewline
27 & 955 & 1390.3 & 1474.33 & 0.943003 & 0.686902 \tabularnewline
28 & 684 & 1360.39 & 1394.5 & 0.975542 & 0.502796 \tabularnewline
29 & 1090 & 1083.42 & 1294.25 & 0.837099 & 1.00608 \tabularnewline
30 & 1802 & 1145.96 & 1212.96 & 0.944763 & 1.57248 \tabularnewline
31 & 1360 & 1336.58 & 1199.08 & 1.11467 & 1.01752 \tabularnewline
32 & 804 & 857.097 & 1184.17 & 0.723798 & 0.93805 \tabularnewline
33 & 1905 & 1377.51 & 1139.29 & 1.20909 & 1.38293 \tabularnewline
34 & 1732 & 1391.59 & 1112.96 & 1.25035 & 1.24462 \tabularnewline
35 & 964 & 1349.33 & 1095.96 & 1.23119 & 0.714429 \tabularnewline
36 & 1424 & 1213.15 & 1042.71 & 1.16346 & 1.1738 \tabularnewline
37 & 661 & 655.554 & 978.583 & 0.669901 & 1.00831 \tabularnewline
38 & 579 & 881.92 & 941.083 & 0.937133 & 0.656522 \tabularnewline
39 & 378 & 841.905 & 892.792 & 0.943003 & 0.448982 \tabularnewline
40 & 629 & 814.944 & 835.375 & 0.975542 & 0.771832 \tabularnewline
41 & 737 & 704.209 & 841.25 & 0.837099 & 1.04656 \tabularnewline
42 & 877 & 814.071 & 861.667 & 0.944763 & 1.0773 \tabularnewline
43 & 746 & 965.953 & 866.583 & 1.11467 & 0.772294 \tabularnewline
44 & 518 & 654.947 & 904.875 & 0.723798 & 0.790904 \tabularnewline
45 & 1032 & 1173.68 & 970.708 & 1.20909 & 0.879287 \tabularnewline
46 & 1227 & 1315.21 & 1051.87 & 1.25035 & 0.932931 \tabularnewline
47 & 1610 & 1382.62 & 1123 & 1.23119 & 1.16445 \tabularnewline
48 & 1268 & 1352.19 & 1162.21 & 1.16346 & 0.937739 \tabularnewline
49 & 935 & 818.088 & 1221.21 & 0.669901 & 1.14291 \tabularnewline
50 & 1224 & 1228.54 & 1310.96 & 0.937133 & 0.996303 \tabularnewline
51 & 1313 & 1314.35 & 1393.79 & 0.943003 & 0.998973 \tabularnewline
52 & 1642 & 1440.02 & 1476.13 & 0.975542 & 1.14026 \tabularnewline
53 & 1431 & 1290.35 & 1541.46 & 0.837099 & 1.109 \tabularnewline
54 & 1124 & 1520.24 & 1609.12 & 0.944763 & 0.739356 \tabularnewline
55 & 1915 & 1882.44 & 1688.79 & 1.11467 & 1.0173 \tabularnewline
56 & 1503 & 1318.37 & 1821.46 & 0.723798 & 1.14005 \tabularnewline
57 & 2035 & 2426.3 & 2006.71 & 1.20909 & 0.838726 \tabularnewline
58 & 2200 & 2741.49 & 2192.58 & 1.25035 & 0.802483 \tabularnewline
59 & 2205 & 2846.81 & 2312.25 & 1.23119 & 0.774551 \tabularnewline
60 & 2297 & 2777.82 & 2387.54 & 1.16346 & 0.826907 \tabularnewline
61 & 1818 & 1629.11 & 2431.88 & 0.669901 & 1.11594 \tabularnewline
62 & 3525 & 2276.18 & 2428.88 & 0.937133 & 1.54865 \tabularnewline
63 & 3458 & 2278.41 & 2416.12 & 0.943003 & 1.51772 \tabularnewline
64 & 3958 & 2324.47 & 2382.75 & 0.975542 & 1.70275 \tabularnewline
65 & 1987 & 1973.11 & 2357.08 & 0.837099 & 1.00704 \tabularnewline
66 & 2375 & 2191.42 & 2319.54 & 0.944763 & 1.08377 \tabularnewline
67 & 1728 & NA & NA & 1.11467 & NA \tabularnewline
68 & 1618 & NA & NA & 0.723798 & NA \tabularnewline
69 & 1614 & NA & NA & 1.20909 & NA \tabularnewline
70 & 1820 & NA & NA & 1.25035 & NA \tabularnewline
71 & 1969 & NA & NA & 1.23119 & NA \tabularnewline
72 & 1632 & NA & NA & 1.16346 & 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]1336[/C][C]NA[/C][C]NA[/C][C]0.669901[/C][C]NA[/C][/ROW]
[ROW][C]2[/C][C]1756[/C][C]NA[/C][C]NA[/C][C]0.937133[/C][C]NA[/C][/ROW]
[ROW][C]3[/C][C]2279[/C][C]NA[/C][C]NA[/C][C]0.943003[/C][C]NA[/C][/ROW]
[ROW][C]4[/C][C]1944[/C][C]NA[/C][C]NA[/C][C]0.975542[/C][C]NA[/C][/ROW]
[ROW][C]5[/C][C]1642[/C][C]NA[/C][C]NA[/C][C]0.837099[/C][C]NA[/C][/ROW]
[ROW][C]6[/C][C]2679[/C][C]NA[/C][C]NA[/C][C]0.944763[/C][C]NA[/C][/ROW]
[ROW][C]7[/C][C]2690[/C][C]2645.06[/C][C]2372.96[/C][C]1.11467[/C][C]1.01699[/C][/ROW]
[ROW][C]8[/C][C]2263[/C][C]1760.28[/C][C]2432[/C][C]0.723798[/C][C]1.28559[/C][/ROW]
[ROW][C]9[/C][C]2002[/C][C]3015.73[/C][C]2494.21[/C][C]1.20909[/C][C]0.663852[/C][/ROW]
[ROW][C]10[/C][C]2620[/C][C]3173.07[/C][C]2537.75[/C][C]1.25035[/C][C]0.825699[/C][/ROW]
[ROW][C]11[/C][C]3694[/C][C]3139.16[/C][C]2549.71[/C][C]1.23119[/C][C]1.17675[/C][/ROW]
[ROW][C]12[/C][C]3194[/C][C]2897.8[/C][C]2490.67[/C][C]1.16346[/C][C]1.10221[/C][/ROW]
[ROW][C]13[/C][C]2089[/C][C]1632.74[/C][C]2437.29[/C][C]0.669901[/C][C]1.27944[/C][/ROW]
[ROW][C]14[/C][C]2420[/C][C]2254.04[/C][C]2405.25[/C][C]0.937133[/C][C]1.07363[/C][/ROW]
[ROW][C]15[/C][C]3108[/C][C]2264.74[/C][C]2401.62[/C][C]0.943003[/C][C]1.37234[/C][/ROW]
[ROW][C]16[/C][C]2160[/C][C]2380.73[/C][C]2440.42[/C][C]0.975542[/C][C]0.907285[/C][/ROW]
[ROW][C]17[/C][C]1713[/C][C]2000.6[/C][C]2389.92[/C][C]0.837099[/C][C]0.856245[/C][/ROW]
[ROW][C]18[/C][C]1191[/C][C]2157.56[/C][C]2283.71[/C][C]0.944763[/C][C]0.552011[/C][/ROW]
[ROW][C]19[/C][C]2897[/C][C]2412.51[/C][C]2164.33[/C][C]1.11467[/C][C]1.20082[/C][/ROW]
[ROW][C]20[/C][C]1287[/C][C]1478.75[/C][C]2043.04[/C][C]0.723798[/C][C]0.87033[/C][/ROW]
[ROW][C]21[/C][C]2891[/C][C]2294.21[/C][C]1897.46[/C][C]1.20909[/C][C]1.26013[/C][/ROW]
[ROW][C]22[/C][C]2662[/C][C]2183.42[/C][C]1746.25[/C][C]1.25035[/C][C]1.21919[/C][/ROW]
[ROW][C]23[/C][C]2440[/C][C]2042.28[/C][C]1658.79[/C][C]1.23119[/C][C]1.19474[/C][/ROW]
[ROW][C]24[/C][C]1899[/C][C]1929.36[/C][C]1658.29[/C][C]1.16346[/C][C]0.984263[/C][/ROW]
[ROW][C]25[/C][C]519[/C][C]1085.04[/C][C]1619.71[/C][C]0.669901[/C][C]0.478322[/C][/ROW]
[ROW][C]26[/C][C]1079[/C][C]1439.01[/C][C]1535.54[/C][C]0.937133[/C][C]0.749823[/C][/ROW]
[ROW][C]27[/C][C]955[/C][C]1390.3[/C][C]1474.33[/C][C]0.943003[/C][C]0.686902[/C][/ROW]
[ROW][C]28[/C][C]684[/C][C]1360.39[/C][C]1394.5[/C][C]0.975542[/C][C]0.502796[/C][/ROW]
[ROW][C]29[/C][C]1090[/C][C]1083.42[/C][C]1294.25[/C][C]0.837099[/C][C]1.00608[/C][/ROW]
[ROW][C]30[/C][C]1802[/C][C]1145.96[/C][C]1212.96[/C][C]0.944763[/C][C]1.57248[/C][/ROW]
[ROW][C]31[/C][C]1360[/C][C]1336.58[/C][C]1199.08[/C][C]1.11467[/C][C]1.01752[/C][/ROW]
[ROW][C]32[/C][C]804[/C][C]857.097[/C][C]1184.17[/C][C]0.723798[/C][C]0.93805[/C][/ROW]
[ROW][C]33[/C][C]1905[/C][C]1377.51[/C][C]1139.29[/C][C]1.20909[/C][C]1.38293[/C][/ROW]
[ROW][C]34[/C][C]1732[/C][C]1391.59[/C][C]1112.96[/C][C]1.25035[/C][C]1.24462[/C][/ROW]
[ROW][C]35[/C][C]964[/C][C]1349.33[/C][C]1095.96[/C][C]1.23119[/C][C]0.714429[/C][/ROW]
[ROW][C]36[/C][C]1424[/C][C]1213.15[/C][C]1042.71[/C][C]1.16346[/C][C]1.1738[/C][/ROW]
[ROW][C]37[/C][C]661[/C][C]655.554[/C][C]978.583[/C][C]0.669901[/C][C]1.00831[/C][/ROW]
[ROW][C]38[/C][C]579[/C][C]881.92[/C][C]941.083[/C][C]0.937133[/C][C]0.656522[/C][/ROW]
[ROW][C]39[/C][C]378[/C][C]841.905[/C][C]892.792[/C][C]0.943003[/C][C]0.448982[/C][/ROW]
[ROW][C]40[/C][C]629[/C][C]814.944[/C][C]835.375[/C][C]0.975542[/C][C]0.771832[/C][/ROW]
[ROW][C]41[/C][C]737[/C][C]704.209[/C][C]841.25[/C][C]0.837099[/C][C]1.04656[/C][/ROW]
[ROW][C]42[/C][C]877[/C][C]814.071[/C][C]861.667[/C][C]0.944763[/C][C]1.0773[/C][/ROW]
[ROW][C]43[/C][C]746[/C][C]965.953[/C][C]866.583[/C][C]1.11467[/C][C]0.772294[/C][/ROW]
[ROW][C]44[/C][C]518[/C][C]654.947[/C][C]904.875[/C][C]0.723798[/C][C]0.790904[/C][/ROW]
[ROW][C]45[/C][C]1032[/C][C]1173.68[/C][C]970.708[/C][C]1.20909[/C][C]0.879287[/C][/ROW]
[ROW][C]46[/C][C]1227[/C][C]1315.21[/C][C]1051.87[/C][C]1.25035[/C][C]0.932931[/C][/ROW]
[ROW][C]47[/C][C]1610[/C][C]1382.62[/C][C]1123[/C][C]1.23119[/C][C]1.16445[/C][/ROW]
[ROW][C]48[/C][C]1268[/C][C]1352.19[/C][C]1162.21[/C][C]1.16346[/C][C]0.937739[/C][/ROW]
[ROW][C]49[/C][C]935[/C][C]818.088[/C][C]1221.21[/C][C]0.669901[/C][C]1.14291[/C][/ROW]
[ROW][C]50[/C][C]1224[/C][C]1228.54[/C][C]1310.96[/C][C]0.937133[/C][C]0.996303[/C][/ROW]
[ROW][C]51[/C][C]1313[/C][C]1314.35[/C][C]1393.79[/C][C]0.943003[/C][C]0.998973[/C][/ROW]
[ROW][C]52[/C][C]1642[/C][C]1440.02[/C][C]1476.13[/C][C]0.975542[/C][C]1.14026[/C][/ROW]
[ROW][C]53[/C][C]1431[/C][C]1290.35[/C][C]1541.46[/C][C]0.837099[/C][C]1.109[/C][/ROW]
[ROW][C]54[/C][C]1124[/C][C]1520.24[/C][C]1609.12[/C][C]0.944763[/C][C]0.739356[/C][/ROW]
[ROW][C]55[/C][C]1915[/C][C]1882.44[/C][C]1688.79[/C][C]1.11467[/C][C]1.0173[/C][/ROW]
[ROW][C]56[/C][C]1503[/C][C]1318.37[/C][C]1821.46[/C][C]0.723798[/C][C]1.14005[/C][/ROW]
[ROW][C]57[/C][C]2035[/C][C]2426.3[/C][C]2006.71[/C][C]1.20909[/C][C]0.838726[/C][/ROW]
[ROW][C]58[/C][C]2200[/C][C]2741.49[/C][C]2192.58[/C][C]1.25035[/C][C]0.802483[/C][/ROW]
[ROW][C]59[/C][C]2205[/C][C]2846.81[/C][C]2312.25[/C][C]1.23119[/C][C]0.774551[/C][/ROW]
[ROW][C]60[/C][C]2297[/C][C]2777.82[/C][C]2387.54[/C][C]1.16346[/C][C]0.826907[/C][/ROW]
[ROW][C]61[/C][C]1818[/C][C]1629.11[/C][C]2431.88[/C][C]0.669901[/C][C]1.11594[/C][/ROW]
[ROW][C]62[/C][C]3525[/C][C]2276.18[/C][C]2428.88[/C][C]0.937133[/C][C]1.54865[/C][/ROW]
[ROW][C]63[/C][C]3458[/C][C]2278.41[/C][C]2416.12[/C][C]0.943003[/C][C]1.51772[/C][/ROW]
[ROW][C]64[/C][C]3958[/C][C]2324.47[/C][C]2382.75[/C][C]0.975542[/C][C]1.70275[/C][/ROW]
[ROW][C]65[/C][C]1987[/C][C]1973.11[/C][C]2357.08[/C][C]0.837099[/C][C]1.00704[/C][/ROW]
[ROW][C]66[/C][C]2375[/C][C]2191.42[/C][C]2319.54[/C][C]0.944763[/C][C]1.08377[/C][/ROW]
[ROW][C]67[/C][C]1728[/C][C]NA[/C][C]NA[/C][C]1.11467[/C][C]NA[/C][/ROW]
[ROW][C]68[/C][C]1618[/C][C]NA[/C][C]NA[/C][C]0.723798[/C][C]NA[/C][/ROW]
[ROW][C]69[/C][C]1614[/C][C]NA[/C][C]NA[/C][C]1.20909[/C][C]NA[/C][/ROW]
[ROW][C]70[/C][C]1820[/C][C]NA[/C][C]NA[/C][C]1.25035[/C][C]NA[/C][/ROW]
[ROW][C]71[/C][C]1969[/C][C]NA[/C][C]NA[/C][C]1.23119[/C][C]NA[/C][/ROW]
[ROW][C]72[/C][C]1632[/C][C]NA[/C][C]NA[/C][C]1.16346[/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
11336NANA0.669901NA
21756NANA0.937133NA
32279NANA0.943003NA
41944NANA0.975542NA
51642NANA0.837099NA
62679NANA0.944763NA
726902645.062372.961.114671.01699
822631760.2824320.7237981.28559
920023015.732494.211.209090.663852
1026203173.072537.751.250350.825699
1136943139.162549.711.231191.17675
1231942897.82490.671.163461.10221
1320891632.742437.290.6699011.27944
1424202254.042405.250.9371331.07363
1531082264.742401.620.9430031.37234
1621602380.732440.420.9755420.907285
1717132000.62389.920.8370990.856245
1811912157.562283.710.9447630.552011
1928972412.512164.331.114671.20082
2012871478.752043.040.7237980.87033
2128912294.211897.461.209091.26013
2226622183.421746.251.250351.21919
2324402042.281658.791.231191.19474
2418991929.361658.291.163460.984263
255191085.041619.710.6699010.478322
2610791439.011535.540.9371330.749823
279551390.31474.330.9430030.686902
286841360.391394.50.9755420.502796
2910901083.421294.250.8370991.00608
3018021145.961212.960.9447631.57248
3113601336.581199.081.114671.01752
32804857.0971184.170.7237980.93805
3319051377.511139.291.209091.38293
3417321391.591112.961.250351.24462
359641349.331095.961.231190.714429
3614241213.151042.711.163461.1738
37661655.554978.5830.6699011.00831
38579881.92941.0830.9371330.656522
39378841.905892.7920.9430030.448982
40629814.944835.3750.9755420.771832
41737704.209841.250.8370991.04656
42877814.071861.6670.9447631.0773
43746965.953866.5831.114670.772294
44518654.947904.8750.7237980.790904
4510321173.68970.7081.209090.879287
4612271315.211051.871.250350.932931
4716101382.6211231.231191.16445
4812681352.191162.211.163460.937739
49935818.0881221.210.6699011.14291
5012241228.541310.960.9371330.996303
5113131314.351393.790.9430030.998973
5216421440.021476.130.9755421.14026
5314311290.351541.460.8370991.109
5411241520.241609.120.9447630.739356
5519151882.441688.791.114671.0173
5615031318.371821.460.7237981.14005
5720352426.32006.711.209090.838726
5822002741.492192.581.250350.802483
5922052846.812312.251.231190.774551
6022972777.822387.541.163460.826907
6118181629.112431.880.6699011.11594
6235252276.182428.880.9371331.54865
6334582278.412416.120.9430031.51772
6439582324.472382.750.9755421.70275
6519871973.112357.080.8370991.00704
6623752191.422319.540.9447631.08377
671728NANA1.11467NA
681618NANA0.723798NA
691614NANA1.20909NA
701820NANA1.25035NA
711969NANA1.23119NA
721632NANA1.16346NA



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