Free Statistics

of Irreproducible Research!

Author's title

Author*The author of this computation has been verified*
R Software Modulerwasp_structuraltimeseries.wasp
Title produced by softwareStructural Time Series Models
Date of computationMon, 21 Jan 2019 09:35:03 +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/2019/Jan/21/t1548059753wznkeiuc9sa13j4.htm/, Retrieved Sat, 04 May 2024 15:04:37 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=316637, Retrieved Sat, 04 May 2024 15:04:37 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact87
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-       [Structural Time Series Models] [] [2019-01-21 08:35:03] [3fa40383269827a971a1f8ad1ff27005] [Current]
Feedback Forum

Post a new message
Dataseries X:
3035
2552
2704
2554
2014
1655
1721
1524
1596
2074
2199
2512
2933
2889
2938
2497
1870
1726
1607
1545
1396
1787
2076
2837
2787
3891
3179
2011
1636
1580
1489
1300
1356
1653
2013
2823
3102
2294
2385
2444
1748
1554
1498
1361
1346
1564
1640
2293
2815
3137
2679
1969
1870
1633
1529
1366
1357
1570
1535
2491
3084
2605
2573
2143
1693
1504
1461
1354
1333
1492
1781
1915




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

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







Structural Time Series Model -- Interpolation
tObservedLevelSlopeSeasonalStand. Residuals
130353035000
225522577.11599564318-25.11599559821-25.1159956431792-0.681762312620333
327042728.41035427799-24.4103542779859-24.41035427798590.438333035551145
425542578.90872580421-24.9087258042088-24.9087258042088-0.310816238834155
520142040.94465935339-26.944659353387-26.944659353387-1.27478656489884
616551683.25196362607-28.2519636260711-28.2519636260712-0.821801911363314
717211748.88234814385-27.8823481438474-27.88234814384740.233265467142426
815241552.54296386208-28.5429638620846-28.5429638620845-0.418554795969133
915961624.15174616836-28.1517461683574-28.15174616835740.248838961119292
1020742100.18991801698-26.1899180169847-26.18991801698471.25271051616705
1121992224.60617325526-25.6061732552617-25.60617325526170.374193360701731
1225122536.30384203187-24.3038420318728-24.30384203187290.838052748547691
1329332616.85830408262-28.7401541610121316.1416959173790.314768965458636
1428892909.94908933771-20.9490892271136-20.94908933771050.680315900680117
1529382958.82213988343-20.8221398834326-20.82213988343250.173300926092452
1624972518.58333160517-21.5833316051739-21.5833316051738-1.04100472444294
1718701892.67811754669-22.6781175466866-22.6781175466867-1.49994253878516
1817261748.89711009886-22.8971100988604-22.8971100988604-0.300580012757606
1916071630.07026844686-23.0702684468629-23.0702684468629-0.238099297076276
2015451568.14028594474-23.1402859447402-23.1402859447402-0.0964503437287518
2113961419.36624591823-23.3662459182308-23.3662459182308-0.311824197909125
2217871809.62365413162-22.6236541316198-22.62365413161981.02661627256554
2320762098.06618788409-22.0661878840898-22.06618788408990.772066815616905
2428372857.6678555032-20.6678555032042-20.66785550320411.94009786314121
2527872608.9324638353-16.1879578081921178.067536164699-0.623672055461057
2638913887.08470610423.915293920387943.915293895801322.9175565199336
2731793175.925969685493.074030314505953.07403031450609-1.7742695441215
2820112009.30046966671.699530333298721.69953033329876-2.90230204472656
2916361634.742086918111.257913081892981.25791308189295-0.933584506095741
3015801578.809133652091.190866347909181.19086634790917-0.141903912624387
3114891487.916959222521.083040777483721.08304077748375-0.228479399749395
3213001299.139018840850.8609811591505220.860981159150452-0.471088845183622
3313561355.07467926480.9253207351976130.9253207351975890.136652877231904
3416531651.72960389461.270396105400911.270396105400950.733772293952912
3520132011.311990868031.688009131966031.688009131965980.88905280179455
3628232820.372093241072.627906758930982.62790675893112.00327076260357
3731023092.92864435822-0.824668761785729.071355641779520.714903667878759
3822942303.83739044764-9.83739100257778-9.83739044763627-1.82603607224978
3923852394.74978248743-9.74978248743126-9.7497824874310.249945968387018
4024442453.69010385817-9.69010385816554-9.690103858165480.170410372467922
4117481758.28534226272-10.2853422627184-10.2853422627184-1.70115984170702
4215541564.4445404027-10.4445404027013-10.4445404027014-0.45537463087236
4314981508.48398235816-10.4839823581624-10.4839823581623-0.112918635032151
4413611371.5934252775-10.593425277502-10.593425277502-0.313596251746477
4513461356.59723389861-10.5972338986101-10.5972338986102-0.0109226156404255
4615641574.39982696537-10.399826965368-10.3998269653680.56662619204054
4716401650.32528009306-10.3252800930642-10.32528009306420.21416017318151
4822932302.75344796805-9.75344796804893-9.753447968048781.64419206296057
4928152668.53942710581-13.314597589394146.4605728941940.978620668578418
5031373145.87586117877-8.87586189289068-8.875861178774141.15395212160484
5126792688.18538925105-9.1853892510505-9.18538925105029-1.11334551954673
5219691978.66804393599-9.66804393599269-9.66804393599262-1.7372680014837
5318701879.72952497868-9.7295249786753-9.72952497867531-0.221447417341103
5416331642.88583204357-9.88583204357323-9.88583204357323-0.563387099848647
5515291538.95051531976-9.95051531976276-9.95051531976273-0.233302282994874
5613661376.05563172285-10.0556317228476-10.0556317228477-0.379398802493486
5713571367.05490719868-10.0549071986812-10.05490719868130.00261683668403749
5815701579.90192029567-9.90192029566647-9.901920295666430.552937533572252
5915351544.91912254338-9.91912254337834-9.91912254337826-0.0622164010088982
6024912500.25753411099-9.25753411099087-9.257534110990672.39444715667773
6130842944.57622097995-12.6748891160769139.4237790200461.1704505225562
6226052620.00914145838-15.0091426311065-15.009141458378-0.740632757881822
6325732588.01884614856-15.0188461485578-15.0188461485575-0.0421215641751013
6421432158.25570753698-15.2557075369768-15.2557075369768-1.0287685305937
6516931708.50370770301-15.5037077030115-15.5037077030115-1.0777629674125
6615041519.60262235052-15.602622350524-15.602622350524-0.430110095720722
6714611476.61823339187-15.6182333918693-15.6182333918693-0.0679201294877077
6813541369.67027312212-15.6702731221162-15.6702731221162-0.226542208083385
6913331348.67330654662-15.6733065466242-15.6733065466244-0.013212792179406
7014921507.57394744197-15.573947441969-15.57394744196890.433028281819559
7117811796.40079568162-15.4007956816156-15.40079568161540.755061875753675
7219151930.31590886616-15.3159088661605-15.31590886616040.370375943849921

\begin{tabular}{lllllllll}
\hline
Structural Time Series Model -- Interpolation \tabularnewline
t & Observed & Level & Slope & Seasonal & Stand. Residuals \tabularnewline
1 & 3035 & 3035 & 0 & 0 & 0 \tabularnewline
2 & 2552 & 2577.11599564318 & -25.11599559821 & -25.1159956431792 & -0.681762312620333 \tabularnewline
3 & 2704 & 2728.41035427799 & -24.4103542779859 & -24.4103542779859 & 0.438333035551145 \tabularnewline
4 & 2554 & 2578.90872580421 & -24.9087258042088 & -24.9087258042088 & -0.310816238834155 \tabularnewline
5 & 2014 & 2040.94465935339 & -26.944659353387 & -26.944659353387 & -1.27478656489884 \tabularnewline
6 & 1655 & 1683.25196362607 & -28.2519636260711 & -28.2519636260712 & -0.821801911363314 \tabularnewline
7 & 1721 & 1748.88234814385 & -27.8823481438474 & -27.8823481438474 & 0.233265467142426 \tabularnewline
8 & 1524 & 1552.54296386208 & -28.5429638620846 & -28.5429638620845 & -0.418554795969133 \tabularnewline
9 & 1596 & 1624.15174616836 & -28.1517461683574 & -28.1517461683574 & 0.248838961119292 \tabularnewline
10 & 2074 & 2100.18991801698 & -26.1899180169847 & -26.1899180169847 & 1.25271051616705 \tabularnewline
11 & 2199 & 2224.60617325526 & -25.6061732552617 & -25.6061732552617 & 0.374193360701731 \tabularnewline
12 & 2512 & 2536.30384203187 & -24.3038420318728 & -24.3038420318729 & 0.838052748547691 \tabularnewline
13 & 2933 & 2616.85830408262 & -28.7401541610121 & 316.141695917379 & 0.314768965458636 \tabularnewline
14 & 2889 & 2909.94908933771 & -20.9490892271136 & -20.9490893377105 & 0.680315900680117 \tabularnewline
15 & 2938 & 2958.82213988343 & -20.8221398834326 & -20.8221398834325 & 0.173300926092452 \tabularnewline
16 & 2497 & 2518.58333160517 & -21.5833316051739 & -21.5833316051738 & -1.04100472444294 \tabularnewline
17 & 1870 & 1892.67811754669 & -22.6781175466866 & -22.6781175466867 & -1.49994253878516 \tabularnewline
18 & 1726 & 1748.89711009886 & -22.8971100988604 & -22.8971100988604 & -0.300580012757606 \tabularnewline
19 & 1607 & 1630.07026844686 & -23.0702684468629 & -23.0702684468629 & -0.238099297076276 \tabularnewline
20 & 1545 & 1568.14028594474 & -23.1402859447402 & -23.1402859447402 & -0.0964503437287518 \tabularnewline
21 & 1396 & 1419.36624591823 & -23.3662459182308 & -23.3662459182308 & -0.311824197909125 \tabularnewline
22 & 1787 & 1809.62365413162 & -22.6236541316198 & -22.6236541316198 & 1.02661627256554 \tabularnewline
23 & 2076 & 2098.06618788409 & -22.0661878840898 & -22.0661878840899 & 0.772066815616905 \tabularnewline
24 & 2837 & 2857.6678555032 & -20.6678555032042 & -20.6678555032041 & 1.94009786314121 \tabularnewline
25 & 2787 & 2608.9324638353 & -16.1879578081921 & 178.067536164699 & -0.623672055461057 \tabularnewline
26 & 3891 & 3887.0847061042 & 3.91529392038794 & 3.91529389580132 & 2.9175565199336 \tabularnewline
27 & 3179 & 3175.92596968549 & 3.07403031450595 & 3.07403031450609 & -1.7742695441215 \tabularnewline
28 & 2011 & 2009.3004696667 & 1.69953033329872 & 1.69953033329876 & -2.90230204472656 \tabularnewline
29 & 1636 & 1634.74208691811 & 1.25791308189298 & 1.25791308189295 & -0.933584506095741 \tabularnewline
30 & 1580 & 1578.80913365209 & 1.19086634790918 & 1.19086634790917 & -0.141903912624387 \tabularnewline
31 & 1489 & 1487.91695922252 & 1.08304077748372 & 1.08304077748375 & -0.228479399749395 \tabularnewline
32 & 1300 & 1299.13901884085 & 0.860981159150522 & 0.860981159150452 & -0.471088845183622 \tabularnewline
33 & 1356 & 1355.0746792648 & 0.925320735197613 & 0.925320735197589 & 0.136652877231904 \tabularnewline
34 & 1653 & 1651.7296038946 & 1.27039610540091 & 1.27039610540095 & 0.733772293952912 \tabularnewline
35 & 2013 & 2011.31199086803 & 1.68800913196603 & 1.68800913196598 & 0.88905280179455 \tabularnewline
36 & 2823 & 2820.37209324107 & 2.62790675893098 & 2.6279067589311 & 2.00327076260357 \tabularnewline
37 & 3102 & 3092.92864435822 & -0.82466876178572 & 9.07135564177952 & 0.714903667878759 \tabularnewline
38 & 2294 & 2303.83739044764 & -9.83739100257778 & -9.83739044763627 & -1.82603607224978 \tabularnewline
39 & 2385 & 2394.74978248743 & -9.74978248743126 & -9.749782487431 & 0.249945968387018 \tabularnewline
40 & 2444 & 2453.69010385817 & -9.69010385816554 & -9.69010385816548 & 0.170410372467922 \tabularnewline
41 & 1748 & 1758.28534226272 & -10.2853422627184 & -10.2853422627184 & -1.70115984170702 \tabularnewline
42 & 1554 & 1564.4445404027 & -10.4445404027013 & -10.4445404027014 & -0.45537463087236 \tabularnewline
43 & 1498 & 1508.48398235816 & -10.4839823581624 & -10.4839823581623 & -0.112918635032151 \tabularnewline
44 & 1361 & 1371.5934252775 & -10.593425277502 & -10.593425277502 & -0.313596251746477 \tabularnewline
45 & 1346 & 1356.59723389861 & -10.5972338986101 & -10.5972338986102 & -0.0109226156404255 \tabularnewline
46 & 1564 & 1574.39982696537 & -10.399826965368 & -10.399826965368 & 0.56662619204054 \tabularnewline
47 & 1640 & 1650.32528009306 & -10.3252800930642 & -10.3252800930642 & 0.21416017318151 \tabularnewline
48 & 2293 & 2302.75344796805 & -9.75344796804893 & -9.75344796804878 & 1.64419206296057 \tabularnewline
49 & 2815 & 2668.53942710581 & -13.314597589394 & 146.460572894194 & 0.978620668578418 \tabularnewline
50 & 3137 & 3145.87586117877 & -8.87586189289068 & -8.87586117877414 & 1.15395212160484 \tabularnewline
51 & 2679 & 2688.18538925105 & -9.1853892510505 & -9.18538925105029 & -1.11334551954673 \tabularnewline
52 & 1969 & 1978.66804393599 & -9.66804393599269 & -9.66804393599262 & -1.7372680014837 \tabularnewline
53 & 1870 & 1879.72952497868 & -9.7295249786753 & -9.72952497867531 & -0.221447417341103 \tabularnewline
54 & 1633 & 1642.88583204357 & -9.88583204357323 & -9.88583204357323 & -0.563387099848647 \tabularnewline
55 & 1529 & 1538.95051531976 & -9.95051531976276 & -9.95051531976273 & -0.233302282994874 \tabularnewline
56 & 1366 & 1376.05563172285 & -10.0556317228476 & -10.0556317228477 & -0.379398802493486 \tabularnewline
57 & 1357 & 1367.05490719868 & -10.0549071986812 & -10.0549071986813 & 0.00261683668403749 \tabularnewline
58 & 1570 & 1579.90192029567 & -9.90192029566647 & -9.90192029566643 & 0.552937533572252 \tabularnewline
59 & 1535 & 1544.91912254338 & -9.91912254337834 & -9.91912254337826 & -0.0622164010088982 \tabularnewline
60 & 2491 & 2500.25753411099 & -9.25753411099087 & -9.25753411099067 & 2.39444715667773 \tabularnewline
61 & 3084 & 2944.57622097995 & -12.6748891160769 & 139.423779020046 & 1.1704505225562 \tabularnewline
62 & 2605 & 2620.00914145838 & -15.0091426311065 & -15.009141458378 & -0.740632757881822 \tabularnewline
63 & 2573 & 2588.01884614856 & -15.0188461485578 & -15.0188461485575 & -0.0421215641751013 \tabularnewline
64 & 2143 & 2158.25570753698 & -15.2557075369768 & -15.2557075369768 & -1.0287685305937 \tabularnewline
65 & 1693 & 1708.50370770301 & -15.5037077030115 & -15.5037077030115 & -1.0777629674125 \tabularnewline
66 & 1504 & 1519.60262235052 & -15.602622350524 & -15.602622350524 & -0.430110095720722 \tabularnewline
67 & 1461 & 1476.61823339187 & -15.6182333918693 & -15.6182333918693 & -0.0679201294877077 \tabularnewline
68 & 1354 & 1369.67027312212 & -15.6702731221162 & -15.6702731221162 & -0.226542208083385 \tabularnewline
69 & 1333 & 1348.67330654662 & -15.6733065466242 & -15.6733065466244 & -0.013212792179406 \tabularnewline
70 & 1492 & 1507.57394744197 & -15.573947441969 & -15.5739474419689 & 0.433028281819559 \tabularnewline
71 & 1781 & 1796.40079568162 & -15.4007956816156 & -15.4007956816154 & 0.755061875753675 \tabularnewline
72 & 1915 & 1930.31590886616 & -15.3159088661605 & -15.3159088661604 & 0.370375943849921 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=316637&T=1

[TABLE]
[ROW][C]Structural Time Series Model -- Interpolation[/C][/ROW]
[ROW][C]t[/C][C]Observed[/C][C]Level[/C][C]Slope[/C][C]Seasonal[/C][C]Stand. Residuals[/C][/ROW]
[ROW][C]1[/C][C]3035[/C][C]3035[/C][C]0[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]2[/C][C]2552[/C][C]2577.11599564318[/C][C]-25.11599559821[/C][C]-25.1159956431792[/C][C]-0.681762312620333[/C][/ROW]
[ROW][C]3[/C][C]2704[/C][C]2728.41035427799[/C][C]-24.4103542779859[/C][C]-24.4103542779859[/C][C]0.438333035551145[/C][/ROW]
[ROW][C]4[/C][C]2554[/C][C]2578.90872580421[/C][C]-24.9087258042088[/C][C]-24.9087258042088[/C][C]-0.310816238834155[/C][/ROW]
[ROW][C]5[/C][C]2014[/C][C]2040.94465935339[/C][C]-26.944659353387[/C][C]-26.944659353387[/C][C]-1.27478656489884[/C][/ROW]
[ROW][C]6[/C][C]1655[/C][C]1683.25196362607[/C][C]-28.2519636260711[/C][C]-28.2519636260712[/C][C]-0.821801911363314[/C][/ROW]
[ROW][C]7[/C][C]1721[/C][C]1748.88234814385[/C][C]-27.8823481438474[/C][C]-27.8823481438474[/C][C]0.233265467142426[/C][/ROW]
[ROW][C]8[/C][C]1524[/C][C]1552.54296386208[/C][C]-28.5429638620846[/C][C]-28.5429638620845[/C][C]-0.418554795969133[/C][/ROW]
[ROW][C]9[/C][C]1596[/C][C]1624.15174616836[/C][C]-28.1517461683574[/C][C]-28.1517461683574[/C][C]0.248838961119292[/C][/ROW]
[ROW][C]10[/C][C]2074[/C][C]2100.18991801698[/C][C]-26.1899180169847[/C][C]-26.1899180169847[/C][C]1.25271051616705[/C][/ROW]
[ROW][C]11[/C][C]2199[/C][C]2224.60617325526[/C][C]-25.6061732552617[/C][C]-25.6061732552617[/C][C]0.374193360701731[/C][/ROW]
[ROW][C]12[/C][C]2512[/C][C]2536.30384203187[/C][C]-24.3038420318728[/C][C]-24.3038420318729[/C][C]0.838052748547691[/C][/ROW]
[ROW][C]13[/C][C]2933[/C][C]2616.85830408262[/C][C]-28.7401541610121[/C][C]316.141695917379[/C][C]0.314768965458636[/C][/ROW]
[ROW][C]14[/C][C]2889[/C][C]2909.94908933771[/C][C]-20.9490892271136[/C][C]-20.9490893377105[/C][C]0.680315900680117[/C][/ROW]
[ROW][C]15[/C][C]2938[/C][C]2958.82213988343[/C][C]-20.8221398834326[/C][C]-20.8221398834325[/C][C]0.173300926092452[/C][/ROW]
[ROW][C]16[/C][C]2497[/C][C]2518.58333160517[/C][C]-21.5833316051739[/C][C]-21.5833316051738[/C][C]-1.04100472444294[/C][/ROW]
[ROW][C]17[/C][C]1870[/C][C]1892.67811754669[/C][C]-22.6781175466866[/C][C]-22.6781175466867[/C][C]-1.49994253878516[/C][/ROW]
[ROW][C]18[/C][C]1726[/C][C]1748.89711009886[/C][C]-22.8971100988604[/C][C]-22.8971100988604[/C][C]-0.300580012757606[/C][/ROW]
[ROW][C]19[/C][C]1607[/C][C]1630.07026844686[/C][C]-23.0702684468629[/C][C]-23.0702684468629[/C][C]-0.238099297076276[/C][/ROW]
[ROW][C]20[/C][C]1545[/C][C]1568.14028594474[/C][C]-23.1402859447402[/C][C]-23.1402859447402[/C][C]-0.0964503437287518[/C][/ROW]
[ROW][C]21[/C][C]1396[/C][C]1419.36624591823[/C][C]-23.3662459182308[/C][C]-23.3662459182308[/C][C]-0.311824197909125[/C][/ROW]
[ROW][C]22[/C][C]1787[/C][C]1809.62365413162[/C][C]-22.6236541316198[/C][C]-22.6236541316198[/C][C]1.02661627256554[/C][/ROW]
[ROW][C]23[/C][C]2076[/C][C]2098.06618788409[/C][C]-22.0661878840898[/C][C]-22.0661878840899[/C][C]0.772066815616905[/C][/ROW]
[ROW][C]24[/C][C]2837[/C][C]2857.6678555032[/C][C]-20.6678555032042[/C][C]-20.6678555032041[/C][C]1.94009786314121[/C][/ROW]
[ROW][C]25[/C][C]2787[/C][C]2608.9324638353[/C][C]-16.1879578081921[/C][C]178.067536164699[/C][C]-0.623672055461057[/C][/ROW]
[ROW][C]26[/C][C]3891[/C][C]3887.0847061042[/C][C]3.91529392038794[/C][C]3.91529389580132[/C][C]2.9175565199336[/C][/ROW]
[ROW][C]27[/C][C]3179[/C][C]3175.92596968549[/C][C]3.07403031450595[/C][C]3.07403031450609[/C][C]-1.7742695441215[/C][/ROW]
[ROW][C]28[/C][C]2011[/C][C]2009.3004696667[/C][C]1.69953033329872[/C][C]1.69953033329876[/C][C]-2.90230204472656[/C][/ROW]
[ROW][C]29[/C][C]1636[/C][C]1634.74208691811[/C][C]1.25791308189298[/C][C]1.25791308189295[/C][C]-0.933584506095741[/C][/ROW]
[ROW][C]30[/C][C]1580[/C][C]1578.80913365209[/C][C]1.19086634790918[/C][C]1.19086634790917[/C][C]-0.141903912624387[/C][/ROW]
[ROW][C]31[/C][C]1489[/C][C]1487.91695922252[/C][C]1.08304077748372[/C][C]1.08304077748375[/C][C]-0.228479399749395[/C][/ROW]
[ROW][C]32[/C][C]1300[/C][C]1299.13901884085[/C][C]0.860981159150522[/C][C]0.860981159150452[/C][C]-0.471088845183622[/C][/ROW]
[ROW][C]33[/C][C]1356[/C][C]1355.0746792648[/C][C]0.925320735197613[/C][C]0.925320735197589[/C][C]0.136652877231904[/C][/ROW]
[ROW][C]34[/C][C]1653[/C][C]1651.7296038946[/C][C]1.27039610540091[/C][C]1.27039610540095[/C][C]0.733772293952912[/C][/ROW]
[ROW][C]35[/C][C]2013[/C][C]2011.31199086803[/C][C]1.68800913196603[/C][C]1.68800913196598[/C][C]0.88905280179455[/C][/ROW]
[ROW][C]36[/C][C]2823[/C][C]2820.37209324107[/C][C]2.62790675893098[/C][C]2.6279067589311[/C][C]2.00327076260357[/C][/ROW]
[ROW][C]37[/C][C]3102[/C][C]3092.92864435822[/C][C]-0.82466876178572[/C][C]9.07135564177952[/C][C]0.714903667878759[/C][/ROW]
[ROW][C]38[/C][C]2294[/C][C]2303.83739044764[/C][C]-9.83739100257778[/C][C]-9.83739044763627[/C][C]-1.82603607224978[/C][/ROW]
[ROW][C]39[/C][C]2385[/C][C]2394.74978248743[/C][C]-9.74978248743126[/C][C]-9.749782487431[/C][C]0.249945968387018[/C][/ROW]
[ROW][C]40[/C][C]2444[/C][C]2453.69010385817[/C][C]-9.69010385816554[/C][C]-9.69010385816548[/C][C]0.170410372467922[/C][/ROW]
[ROW][C]41[/C][C]1748[/C][C]1758.28534226272[/C][C]-10.2853422627184[/C][C]-10.2853422627184[/C][C]-1.70115984170702[/C][/ROW]
[ROW][C]42[/C][C]1554[/C][C]1564.4445404027[/C][C]-10.4445404027013[/C][C]-10.4445404027014[/C][C]-0.45537463087236[/C][/ROW]
[ROW][C]43[/C][C]1498[/C][C]1508.48398235816[/C][C]-10.4839823581624[/C][C]-10.4839823581623[/C][C]-0.112918635032151[/C][/ROW]
[ROW][C]44[/C][C]1361[/C][C]1371.5934252775[/C][C]-10.593425277502[/C][C]-10.593425277502[/C][C]-0.313596251746477[/C][/ROW]
[ROW][C]45[/C][C]1346[/C][C]1356.59723389861[/C][C]-10.5972338986101[/C][C]-10.5972338986102[/C][C]-0.0109226156404255[/C][/ROW]
[ROW][C]46[/C][C]1564[/C][C]1574.39982696537[/C][C]-10.399826965368[/C][C]-10.399826965368[/C][C]0.56662619204054[/C][/ROW]
[ROW][C]47[/C][C]1640[/C][C]1650.32528009306[/C][C]-10.3252800930642[/C][C]-10.3252800930642[/C][C]0.21416017318151[/C][/ROW]
[ROW][C]48[/C][C]2293[/C][C]2302.75344796805[/C][C]-9.75344796804893[/C][C]-9.75344796804878[/C][C]1.64419206296057[/C][/ROW]
[ROW][C]49[/C][C]2815[/C][C]2668.53942710581[/C][C]-13.314597589394[/C][C]146.460572894194[/C][C]0.978620668578418[/C][/ROW]
[ROW][C]50[/C][C]3137[/C][C]3145.87586117877[/C][C]-8.87586189289068[/C][C]-8.87586117877414[/C][C]1.15395212160484[/C][/ROW]
[ROW][C]51[/C][C]2679[/C][C]2688.18538925105[/C][C]-9.1853892510505[/C][C]-9.18538925105029[/C][C]-1.11334551954673[/C][/ROW]
[ROW][C]52[/C][C]1969[/C][C]1978.66804393599[/C][C]-9.66804393599269[/C][C]-9.66804393599262[/C][C]-1.7372680014837[/C][/ROW]
[ROW][C]53[/C][C]1870[/C][C]1879.72952497868[/C][C]-9.7295249786753[/C][C]-9.72952497867531[/C][C]-0.221447417341103[/C][/ROW]
[ROW][C]54[/C][C]1633[/C][C]1642.88583204357[/C][C]-9.88583204357323[/C][C]-9.88583204357323[/C][C]-0.563387099848647[/C][/ROW]
[ROW][C]55[/C][C]1529[/C][C]1538.95051531976[/C][C]-9.95051531976276[/C][C]-9.95051531976273[/C][C]-0.233302282994874[/C][/ROW]
[ROW][C]56[/C][C]1366[/C][C]1376.05563172285[/C][C]-10.0556317228476[/C][C]-10.0556317228477[/C][C]-0.379398802493486[/C][/ROW]
[ROW][C]57[/C][C]1357[/C][C]1367.05490719868[/C][C]-10.0549071986812[/C][C]-10.0549071986813[/C][C]0.00261683668403749[/C][/ROW]
[ROW][C]58[/C][C]1570[/C][C]1579.90192029567[/C][C]-9.90192029566647[/C][C]-9.90192029566643[/C][C]0.552937533572252[/C][/ROW]
[ROW][C]59[/C][C]1535[/C][C]1544.91912254338[/C][C]-9.91912254337834[/C][C]-9.91912254337826[/C][C]-0.0622164010088982[/C][/ROW]
[ROW][C]60[/C][C]2491[/C][C]2500.25753411099[/C][C]-9.25753411099087[/C][C]-9.25753411099067[/C][C]2.39444715667773[/C][/ROW]
[ROW][C]61[/C][C]3084[/C][C]2944.57622097995[/C][C]-12.6748891160769[/C][C]139.423779020046[/C][C]1.1704505225562[/C][/ROW]
[ROW][C]62[/C][C]2605[/C][C]2620.00914145838[/C][C]-15.0091426311065[/C][C]-15.009141458378[/C][C]-0.740632757881822[/C][/ROW]
[ROW][C]63[/C][C]2573[/C][C]2588.01884614856[/C][C]-15.0188461485578[/C][C]-15.0188461485575[/C][C]-0.0421215641751013[/C][/ROW]
[ROW][C]64[/C][C]2143[/C][C]2158.25570753698[/C][C]-15.2557075369768[/C][C]-15.2557075369768[/C][C]-1.0287685305937[/C][/ROW]
[ROW][C]65[/C][C]1693[/C][C]1708.50370770301[/C][C]-15.5037077030115[/C][C]-15.5037077030115[/C][C]-1.0777629674125[/C][/ROW]
[ROW][C]66[/C][C]1504[/C][C]1519.60262235052[/C][C]-15.602622350524[/C][C]-15.602622350524[/C][C]-0.430110095720722[/C][/ROW]
[ROW][C]67[/C][C]1461[/C][C]1476.61823339187[/C][C]-15.6182333918693[/C][C]-15.6182333918693[/C][C]-0.0679201294877077[/C][/ROW]
[ROW][C]68[/C][C]1354[/C][C]1369.67027312212[/C][C]-15.6702731221162[/C][C]-15.6702731221162[/C][C]-0.226542208083385[/C][/ROW]
[ROW][C]69[/C][C]1333[/C][C]1348.67330654662[/C][C]-15.6733065466242[/C][C]-15.6733065466244[/C][C]-0.013212792179406[/C][/ROW]
[ROW][C]70[/C][C]1492[/C][C]1507.57394744197[/C][C]-15.573947441969[/C][C]-15.5739474419689[/C][C]0.433028281819559[/C][/ROW]
[ROW][C]71[/C][C]1781[/C][C]1796.40079568162[/C][C]-15.4007956816156[/C][C]-15.4007956816154[/C][C]0.755061875753675[/C][/ROW]
[ROW][C]72[/C][C]1915[/C][C]1930.31590886616[/C][C]-15.3159088661605[/C][C]-15.3159088661604[/C][C]0.370375943849921[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=316637&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=316637&T=1

As an alternative you can also use a QR Code:  

The GUIDs for individual cells are displayed in the table below:

Structural Time Series Model -- Interpolation
tObservedLevelSlopeSeasonalStand. Residuals
130353035000
225522577.11599564318-25.11599559821-25.1159956431792-0.681762312620333
327042728.41035427799-24.4103542779859-24.41035427798590.438333035551145
425542578.90872580421-24.9087258042088-24.9087258042088-0.310816238834155
520142040.94465935339-26.944659353387-26.944659353387-1.27478656489884
616551683.25196362607-28.2519636260711-28.2519636260712-0.821801911363314
717211748.88234814385-27.8823481438474-27.88234814384740.233265467142426
815241552.54296386208-28.5429638620846-28.5429638620845-0.418554795969133
915961624.15174616836-28.1517461683574-28.15174616835740.248838961119292
1020742100.18991801698-26.1899180169847-26.18991801698471.25271051616705
1121992224.60617325526-25.6061732552617-25.60617325526170.374193360701731
1225122536.30384203187-24.3038420318728-24.30384203187290.838052748547691
1329332616.85830408262-28.7401541610121316.1416959173790.314768965458636
1428892909.94908933771-20.9490892271136-20.94908933771050.680315900680117
1529382958.82213988343-20.8221398834326-20.82213988343250.173300926092452
1624972518.58333160517-21.5833316051739-21.5833316051738-1.04100472444294
1718701892.67811754669-22.6781175466866-22.6781175466867-1.49994253878516
1817261748.89711009886-22.8971100988604-22.8971100988604-0.300580012757606
1916071630.07026844686-23.0702684468629-23.0702684468629-0.238099297076276
2015451568.14028594474-23.1402859447402-23.1402859447402-0.0964503437287518
2113961419.36624591823-23.3662459182308-23.3662459182308-0.311824197909125
2217871809.62365413162-22.6236541316198-22.62365413161981.02661627256554
2320762098.06618788409-22.0661878840898-22.06618788408990.772066815616905
2428372857.6678555032-20.6678555032042-20.66785550320411.94009786314121
2527872608.9324638353-16.1879578081921178.067536164699-0.623672055461057
2638913887.08470610423.915293920387943.915293895801322.9175565199336
2731793175.925969685493.074030314505953.07403031450609-1.7742695441215
2820112009.30046966671.699530333298721.69953033329876-2.90230204472656
2916361634.742086918111.257913081892981.25791308189295-0.933584506095741
3015801578.809133652091.190866347909181.19086634790917-0.141903912624387
3114891487.916959222521.083040777483721.08304077748375-0.228479399749395
3213001299.139018840850.8609811591505220.860981159150452-0.471088845183622
3313561355.07467926480.9253207351976130.9253207351975890.136652877231904
3416531651.72960389461.270396105400911.270396105400950.733772293952912
3520132011.311990868031.688009131966031.688009131965980.88905280179455
3628232820.372093241072.627906758930982.62790675893112.00327076260357
3731023092.92864435822-0.824668761785729.071355641779520.714903667878759
3822942303.83739044764-9.83739100257778-9.83739044763627-1.82603607224978
3923852394.74978248743-9.74978248743126-9.7497824874310.249945968387018
4024442453.69010385817-9.69010385816554-9.690103858165480.170410372467922
4117481758.28534226272-10.2853422627184-10.2853422627184-1.70115984170702
4215541564.4445404027-10.4445404027013-10.4445404027014-0.45537463087236
4314981508.48398235816-10.4839823581624-10.4839823581623-0.112918635032151
4413611371.5934252775-10.593425277502-10.593425277502-0.313596251746477
4513461356.59723389861-10.5972338986101-10.5972338986102-0.0109226156404255
4615641574.39982696537-10.399826965368-10.3998269653680.56662619204054
4716401650.32528009306-10.3252800930642-10.32528009306420.21416017318151
4822932302.75344796805-9.75344796804893-9.753447968048781.64419206296057
4928152668.53942710581-13.314597589394146.4605728941940.978620668578418
5031373145.87586117877-8.87586189289068-8.875861178774141.15395212160484
5126792688.18538925105-9.1853892510505-9.18538925105029-1.11334551954673
5219691978.66804393599-9.66804393599269-9.66804393599262-1.7372680014837
5318701879.72952497868-9.7295249786753-9.72952497867531-0.221447417341103
5416331642.88583204357-9.88583204357323-9.88583204357323-0.563387099848647
5515291538.95051531976-9.95051531976276-9.95051531976273-0.233302282994874
5613661376.05563172285-10.0556317228476-10.0556317228477-0.379398802493486
5713571367.05490719868-10.0549071986812-10.05490719868130.00261683668403749
5815701579.90192029567-9.90192029566647-9.901920295666430.552937533572252
5915351544.91912254338-9.91912254337834-9.91912254337826-0.0622164010088982
6024912500.25753411099-9.25753411099087-9.257534110990672.39444715667773
6130842944.57622097995-12.6748891160769139.4237790200461.1704505225562
6226052620.00914145838-15.0091426311065-15.009141458378-0.740632757881822
6325732588.01884614856-15.0188461485578-15.0188461485575-0.0421215641751013
6421432158.25570753698-15.2557075369768-15.2557075369768-1.0287685305937
6516931708.50370770301-15.5037077030115-15.5037077030115-1.0777629674125
6615041519.60262235052-15.602622350524-15.602622350524-0.430110095720722
6714611476.61823339187-15.6182333918693-15.6182333918693-0.0679201294877077
6813541369.67027312212-15.6702731221162-15.6702731221162-0.226542208083385
6913331348.67330654662-15.6733065466242-15.6733065466244-0.013212792179406
7014921507.57394744197-15.573947441969-15.57394744196890.433028281819559
7117811796.40079568162-15.4007956816156-15.40079568161540.755061875753675
7219151930.31590886616-15.3159088661605-15.31590886616040.370375943849921







Structural Time Series Model -- Extrapolation
tObservedLevelSeasonal
12036.739995552581180.19476655322856.545228999362
21697.94070428138904.735462710854793.20524157053
31274.27948395203629.276158868487645.00332508354
4531.083673583018353.816855026121177.266818556897
5-201.15799494928878.3575511837548-279.515546133043
6-663.29124312472-197.101752658611-466.189490466108
7-984.657962123811-472.561056500978-512.096905622833
8-1388.59598312841-748.020360343344-640.575622785062
9-1658.94072770656-1023.47966418571-635.461063520852
10-1623.52243334406-1298.93896802808-324.583465315988
11-1694.66438733118-1574.39827187044-120.266115460741
12-1343.18998061851-1849.85757571281506.667595094299

\begin{tabular}{lllllllll}
\hline
Structural Time Series Model -- Extrapolation \tabularnewline
t & Observed & Level & Seasonal \tabularnewline
1 & 2036.73999555258 & 1180.19476655322 & 856.545228999362 \tabularnewline
2 & 1697.94070428138 & 904.735462710854 & 793.20524157053 \tabularnewline
3 & 1274.27948395203 & 629.276158868487 & 645.00332508354 \tabularnewline
4 & 531.083673583018 & 353.816855026121 & 177.266818556897 \tabularnewline
5 & -201.157994949288 & 78.3575511837548 & -279.515546133043 \tabularnewline
6 & -663.29124312472 & -197.101752658611 & -466.189490466108 \tabularnewline
7 & -984.657962123811 & -472.561056500978 & -512.096905622833 \tabularnewline
8 & -1388.59598312841 & -748.020360343344 & -640.575622785062 \tabularnewline
9 & -1658.94072770656 & -1023.47966418571 & -635.461063520852 \tabularnewline
10 & -1623.52243334406 & -1298.93896802808 & -324.583465315988 \tabularnewline
11 & -1694.66438733118 & -1574.39827187044 & -120.266115460741 \tabularnewline
12 & -1343.18998061851 & -1849.85757571281 & 506.667595094299 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=316637&T=2

[TABLE]
[ROW][C]Structural Time Series Model -- Extrapolation[/C][/ROW]
[ROW][C]t[/C][C]Observed[/C][C]Level[/C][C]Seasonal[/C][/ROW]
[ROW][C]1[/C][C]2036.73999555258[/C][C]1180.19476655322[/C][C]856.545228999362[/C][/ROW]
[ROW][C]2[/C][C]1697.94070428138[/C][C]904.735462710854[/C][C]793.20524157053[/C][/ROW]
[ROW][C]3[/C][C]1274.27948395203[/C][C]629.276158868487[/C][C]645.00332508354[/C][/ROW]
[ROW][C]4[/C][C]531.083673583018[/C][C]353.816855026121[/C][C]177.266818556897[/C][/ROW]
[ROW][C]5[/C][C]-201.157994949288[/C][C]78.3575511837548[/C][C]-279.515546133043[/C][/ROW]
[ROW][C]6[/C][C]-663.29124312472[/C][C]-197.101752658611[/C][C]-466.189490466108[/C][/ROW]
[ROW][C]7[/C][C]-984.657962123811[/C][C]-472.561056500978[/C][C]-512.096905622833[/C][/ROW]
[ROW][C]8[/C][C]-1388.59598312841[/C][C]-748.020360343344[/C][C]-640.575622785062[/C][/ROW]
[ROW][C]9[/C][C]-1658.94072770656[/C][C]-1023.47966418571[/C][C]-635.461063520852[/C][/ROW]
[ROW][C]10[/C][C]-1623.52243334406[/C][C]-1298.93896802808[/C][C]-324.583465315988[/C][/ROW]
[ROW][C]11[/C][C]-1694.66438733118[/C][C]-1574.39827187044[/C][C]-120.266115460741[/C][/ROW]
[ROW][C]12[/C][C]-1343.18998061851[/C][C]-1849.85757571281[/C][C]506.667595094299[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=316637&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=316637&T=2

As an alternative you can also use a QR Code:  

The GUIDs for individual cells are displayed in the table below:

Structural Time Series Model -- Extrapolation
tObservedLevelSeasonal
12036.739995552581180.19476655322856.545228999362
21697.94070428138904.735462710854793.20524157053
31274.27948395203629.276158868487645.00332508354
4531.083673583018353.816855026121177.266818556897
5-201.15799494928878.3575511837548-279.515546133043
6-663.29124312472-197.101752658611-466.189490466108
7-984.657962123811-472.561056500978-512.096905622833
8-1388.59598312841-748.020360343344-640.575622785062
9-1658.94072770656-1023.47966418571-635.461063520852
10-1623.52243334406-1298.93896802808-324.583465315988
11-1694.66438733118-1574.39827187044-120.266115460741
12-1343.18998061851-1849.85757571281506.667595094299



Parameters (Session):
par1 = 12 ; par2 = 12 ; par3 = BFGS ;
Parameters (R input):
par1 = 12 ; par2 = 12 ; par3 = BFGS ;
R code (references can be found in the software module):
require('stsm')
require('stsm.class')
require('KFKSDS')
par1 <- as.numeric(par1)
par2 <- as.numeric(par2)
nx <- length(x)
x <- ts(x,frequency=par1)
m <- StructTS(x,type='BSM')
print(m$coef)
print(m$fitted)
print(m$resid)
mylevel <- as.numeric(m$fitted[,'level'])
myslope <- as.numeric(m$fitted[,'slope'])
myseas <- as.numeric(m$fitted[,'sea'])
myresid <- as.numeric(m$resid)
myfit <- mylevel+myseas
mm <- stsm.model(model = 'BSM', y = x, transPars = 'StructTS')
fit2 <- stsmFit(mm, stsm.method = 'maxlik.td.optim', method = par3, KF.args = list(P0cov = TRUE))
(fit2.comps <- tsSmooth(fit2, P0cov = FALSE)$states)
m2 <- set.pars(mm, pmax(fit2$par, .Machine$double.eps))
(ss <- char2numeric(m2))
(pred <- predict(ss, x, n.ahead = par2))
mylagmax <- nx/2
bitmap(file='test2.png')
op <- par(mfrow = c(2,2))
acf(as.numeric(x),lag.max = mylagmax,main='Observed')
acf(mylevel,na.action=na.pass,lag.max = mylagmax,main='Level')
acf(myseas,na.action=na.pass,lag.max = mylagmax,main='Seasonal')
acf(myresid,na.action=na.pass,lag.max = mylagmax,main='Standardized Residals')
par(op)
dev.off()
bitmap(file='test3.png')
op <- par(mfrow = c(2,2))
spectrum(as.numeric(x),main='Observed')
spectrum(mylevel,main='Level')
spectrum(myseas,main='Seasonal')
spectrum(myresid,main='Standardized Residals')
par(op)
dev.off()
bitmap(file='test4.png')
op <- par(mfrow = c(2,2))
cpgram(as.numeric(x),main='Observed')
cpgram(mylevel,main='Level')
cpgram(myseas,main='Seasonal')
cpgram(myresid,main='Standardized Residals')
par(op)
dev.off()
bitmap(file='test1.png')
plot(as.numeric(m$resid),main='Standardized Residuals',ylab='Residuals',xlab='time',type='b')
grid()
dev.off()
bitmap(file='test5.png')
op <- par(mfrow = c(2,2))
hist(m$resid,main='Residual Histogram')
plot(density(m$resid),main='Residual Kernel Density')
qqnorm(m$resid,main='Residual Normal QQ Plot')
qqline(m$resid)
plot(m$resid^2, myfit^2,main='Sq.Resid vs. Sq.Fit',xlab='Squared residuals',ylab='Squared Fit')
par(op)
dev.off()
bitmap(file='test6.png')
par(mfrow = c(3,1), mar = c(3,3,3,3))
plot(cbind(x, pred$pred), type = 'n', plot.type = 'single', ylab = '')
lines(x)
polygon(c(time(pred$pred), rev(time(pred$pred))), c(pred$pred + 2 * pred$se, rev(pred$pred)), col = 'gray85', border = NA)
polygon(c(time(pred$pred), rev(time(pred$pred))), c(pred$pred - 2 * pred$se, rev(pred$pred)), col = ' gray85', border = NA)
lines(pred$pred, col = 'blue', lwd = 1.5)
mtext(text = 'forecasts of the observed series', side = 3, adj = 0)
plot(cbind(x, pred$a[,1]), type = 'n', plot.type = 'single', ylab = '')
lines(x)
polygon(c(time(pred$a[,1]), rev(time(pred$a[,1]))), c(pred$a[,1] + 2 * sqrt(pred$P[,1]), rev(pred$a[,1])), col = 'gray85', border = NA)
polygon(c(time(pred$a[,1]), rev(time(pred$a[,1]))), c(pred$a[,1] - 2 * sqrt(pred$P[,1]), rev(pred$a[,1])), col = ' gray85', border = NA)
lines(pred$a[,1], col = 'blue', lwd = 1.5)
mtext(text = 'forecasts of the level component', side = 3, adj = 0)
plot(cbind(fit2.comps[,3], pred$a[,3]), type = 'n', plot.type = 'single', ylab = '')
lines(fit2.comps[,3])
polygon(c(time(pred$a[,3]), rev(time(pred$a[,3]))), c(pred$a[,3] + 2 * sqrt(pred$P[,3]), rev(pred$a[,3])), col = 'gray85', border = NA)
polygon(c(time(pred$a[,3]), rev(time(pred$a[,3]))), c(pred$a[,3] - 2 * sqrt(pred$P[,3]), rev(pred$a[,3])), col = ' gray85', border = NA)
lines(pred$a[,3], col = 'blue', lwd = 1.5)
mtext(text = 'forecasts of the seasonal component', side = 3, adj = 0)
dev.off()
load(file='createtable')
a<-table.start()
a<-table.row.start(a)
a<-table.element(a,'Structural Time Series Model -- Interpolation',6,TRUE)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'t',header=TRUE)
a<-table.element(a,'Observed',header=TRUE)
a<-table.element(a,'Level',header=TRUE)
a<-table.element(a,'Slope',header=TRUE)
a<-table.element(a,'Seasonal',header=TRUE)
a<-table.element(a,'Stand. Residuals',header=TRUE)
a<-table.row.end(a)
for (i in 1:nx) {
a<-table.row.start(a)
a<-table.element(a,i,header=TRUE)
a<-table.element(a,x[i])
a<-table.element(a,mylevel[i])
a<-table.element(a,myslope[i])
a<-table.element(a,myseas[i])
a<-table.element(a,myresid[i])
a<-table.row.end(a)
}
a<-table.end(a)
table.save(a,file='mytable.tab')
a<-table.start()
a<-table.row.start(a)
a<-table.element(a,'Structural Time Series Model -- Extrapolation',4,TRUE)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'t',header=TRUE)
a<-table.element(a,'Observed',header=TRUE)
a<-table.element(a,'Level',header=TRUE)
a<-table.element(a,'Seasonal',header=TRUE)
a<-table.row.end(a)
for (i in 1:par2) {
a<-table.row.start(a)
a<-table.element(a,i,header=TRUE)
a<-table.element(a,pred$pred[i])
a<-table.element(a,pred$a[i,1])
a<-table.element(a,pred$a[i,3])
a<-table.row.end(a)
}
a<-table.end(a)
table.save(a,file='mytable1.tab')