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 computationWed, 14 Dec 2016 21:19:37 +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/14/t1481748619yo2bhtgat1re23u.htm/, Retrieved Fri, 03 May 2024 23:34:55 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=299721, Retrieved Fri, 03 May 2024 23:34:55 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact78
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-       [Structural Time Series Models] [] [2016-12-14 20:19:37] [6deb082de88ded72ec069288c69f9f98] [Current]
Feedback Forum

Post a new message
Dataseries X:
5410.4
5432.2
5452.9
5477.6
5472.5
5454.9
5446
5010.6
5395.9
5360
5336.9
5333.9
5329.6
5345.7
5353.8
5377.2
5334.1
5351.1
5001
5246.4
5230
5115.8
4972.6
5077.6
5056.9
5070.7
4799.3
5076
5021.5
5026.4
4981.9
4936.6
4901.8
4853.8
4839.2
4821.3
4840.5
4847.6
4832.3
4814.7
4806.4
4803.4
4770.3
4723.4
4667.1
4636.8
4613.2
4605.3
4590.4
4595.4
4600.1
4543.3
4596.4
4575.4
4547.9
4503.7
4446.3
4401.4
4354.3
4336.3
4300.9
4304.1
4273.2
4279.9
4243.1
4199.1
4177.6
4141.7
4088.3
4021.4
3981.2
3937.2
3893.1
3864.7
3847.8
3840.8
3828.4
3798.6
3773
3737.8
3699
3674
3648.8
3645.6
3331
3674.7
3714.5
3739.7
3759.7
3708.6
3717.3
3705.3
3612.8
3665
3670.8
3687.6
3708.2
3737.2
3748.7
3785.3
3787.1
3785.8
3749.7
3716.3
3650
3096.9
3703.2
3716
3736.9
3771.9
3704
3824.2
3733.5
3827.5
3827.6
3696.5
3675.8
3757.5
3753.3
3418.7
3772.9




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

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







Structural Time Series Model -- Interpolation
tObservedLevelSlopeSeasonalStand. Residuals
15410.45410.4000
25432.25424.444562803111.053582294073361.046779129094810.158795674176923
35452.95440.524797359741.729611399412541.698344715591190.220265489784964
45477.65460.906869981462.308881027927792.221715109265090.289749606540252
55472.55467.103942095472.407598099430692.303287601241540.0613686680756545
65454.95460.212684315612.189639980887842.13932870108778-0.147422300816482
754465452.207071043391.953998236881211.9767840363771-0.161750555870443
85010.65208.99329206508-3.80225301133109-1.69796913599156-3.8871554865883
95395.95311.16856357655-1.24552965936639-0.1762090426863751.67832609152837
1053605337.63051420025-0.5564439579160080.208190686006470.438199536764512
115336.95336.86309273777-0.561852070272640.205352735402477-0.00333197872191522
125333.95334.86116813283-0.5998429697285930.186548109008099-0.0227115357340083
135329.65333.32055189507-0.54361260401253-2.92405870255995-0.0189297683194742
145345.75340.51218749834-0.1875503601725070.5240725494638240.100885607790225
155353.85347.672707634650.0636736300426070.6629867317151680.110462941470582
165377.25363.820533003330.5316773290416960.8540201614930150.24939642006076
175334.15347.034950608490.05940997400695150.70519457530243-0.270474160491817
185351.15348.931311011860.1087944091179480.7180999842688220.0287310185281016
1950015154.83924955324-5.15557360380756-0.491707901895929-3.0366393698895
205246.45203.84739607941-3.66181256303787-0.1785342586450010.846283547410261
2152305216.90882185633-3.1912812628745-0.08669639830863270.261050706907144
225115.85159.13321260598-4.75847950586114-0.37452220633234-0.851247813511936
234972.65053.09774409296-7.72328656279637-0.889810310934878-1.57793700795053
245077.65063.87442688761-7.1717587747414-0.798806791987360.287975860798655
255056.95052.88680114501-7.168180846327757.03948619210451-0.0669472422062821
265070.75060.90263007093-6.53901575087403-0.3191024929582650.21140146946253
274799.34910.06066766145-11.6601344354819-1.95582223214289-2.18609548970377
2850764999.22014120101-8.32836574090675-1.281182669236481.55456492225941
295021.55008.77278387305-7.75237778613436-1.200202656793430.276726743626684
305026.45015.92572774179-7.27435489639141-1.148000850879820.230788389642405
314981.94994.28822275836-7.73710133025694-1.19094596564455-0.222329648932086
324936.64959.1862678843-8.62583191468598-1.26512980812008-0.423380072906137
334901.84923.89514309547-9.49972549682458-1.33281540232591-0.412340467095664
344853.84881.11154165411-10.600483135269-1.41319700064182-0.51442131335093
354839.24853.71370154465-11.1608565823508-1.45208597207154-0.259484310607536
364821.34831.42473889214-11.5351448259493-1.47686996952139-0.171825675587763
374840.54821.97921183989-11.493970552020616.90640572806780.0348561830104203
384847.64833.07608152098-10.5936620523992-1.192321335844870.323631836326698
394832.34828.7178721717-10.3645484152735-1.143799368654410.0947169818868356
404814.74816.93995147355-10.4146958793386-1.14984383833508-0.0217181582436447
414806.44807.10194153088-10.3944886624581-1.148310369878070.00888002545882972
424803.44801.12150788001-10.2402127964292-1.13991568028990.0679808057999533
434770.34779.93369030976-10.6234623472888-1.15671178147641-0.168568596759937
444723.44744.1031281593-11.5087600103807-1.19057816830156-0.388028109427032
454667.14696.36830817979-12.7858282955904-1.23526516505707-0.557501447177696
464636.84657.91846455601-13.693992055911-1.26505776241499-0.39485807596404
474613.24627.45351083-14.2896288802549-1.28360312143501-0.257972390446505
484605.34609.45499987759-14.4218063864337-1.28753249648963-0.0570379599019543
494590.44585.68370736332-14.690592012744511.8610365943848-0.152166559466435
504595.44585.77173710528-14.1155492070666-0.9024375107665590.215112129972145
514600.14588.27200498629-13.4966195237019-0.8056487157455230.252832685508591
524543.34557.47715011913-14.1292755672761-0.857572636303156-0.26539506355132
534596.44573.74552114996-13.0250079950831-0.8056624803408630.466972551917692
544575.44569.45393083107-12.7082971683058-0.7959722838567050.134167089967771
554547.94552.20478603692-12.8730270868432-0.799725318362162-0.069747584346914
564503.74519.67988900518-13.5867968666157-0.813212996599486-0.301805543393731
574446.34472.81351804017-14.7973245588424-0.833553046558098-0.511024527078402
584401.44426.53784002858-15.9440892498756-0.851365869837167-0.483308419391783
594354.34379.3050022044-17.0856435807132-0.868088638010555-0.480346257752973
604336.34348.08077961742-17.6022084784545-0.875295668671983-0.217035080785475
614300.94310.5159586293-18.25990551970315.57760980235188-0.320481753044903
624304.14299.38251516006-17.9871873007294-0.4374717497085120.104774640976001
634273.24277.00426070125-18.1512601180837-0.457845598393804-0.0669041909892866
644279.94270.9900352305-17.7022262164564-0.4302784158486370.186097201586637
654243.14247.7813007924-17.9051827343376-0.436838895497123-0.0845033395867627
664199.14212.75077266262-18.5356533254959-0.448772863013778-0.262793780183487
674177.64185.08826697949-18.871642344029-0.45303738543456-0.14003534667345
684141.74152.62985152738-19.3720150882607-0.457896460384156-0.208442686578474
694088.34108.13057092343-20.2979218331789-0.465497179045116-0.385462276827973
704021.44050.5819485702-21.6713934734684-0.475636421929197-0.571406479396246
713981.24002.23667992761-22.6554746340025-0.48239365574566-0.409143238660028
723937.23955.91992161083-23.5289086861618-0.488068429304409-0.362918286982217
733893.13909.28912787594-24.33677515371041.37531711702791-0.36776298990242
743864.73873.37853076706-24.7747642711293-0.221075061684391-0.171318983225133
753847.83848.2740518063-24.7870772367479-0.22234995771874-0.0050286878237221
763840.83833.38671599492-24.419379140814-0.2043154474911080.151760655016107
773828.43820.05356073458-24.0084861070055-0.1944049994446020.170051445117981
783798.63797.59757296445-23.9509870336277-0.1936726301311740.023811663770694
7937733773.39079519448-23.9604593452535-0.193743803209111-0.00392274323684168
803737.83742.97077027366-24.1996930433929-0.194959893719626-0.0990541824545416
8136993707.71365347936-24.609295065311-0.196565163135752-0.169551426175097
8236743678.07271283812-24.7957269950941-0.197186025804777-0.0771512610991383
833648.83650.85945592648-24.8853222914329-0.197455169425477-0.0370675811230856
843645.63637.17189697567-24.4702308538253-0.1962933980815180.171690063072867
8533313464.1626262889-29.8145947201488-20.2056813978768-2.35126642749571
863674.73571.16711689568-24.67382280596572.826362769061822.03506982636721
873714.53639.93838447661-21.18884664581963.136674842575631.42625349331553
883739.73685.27255962559-18.71530014924873.238187825119061.01971790467233
893759.73717.32382306727-16.82986613637173.274335768481370.778541985069368
903708.63703.22285487745-16.72856101511543.275272152961420.0418452467761451
913717.33702.04529963348-16.15132813651833.278001511498030.238433726134544
923705.33695.00480034223-15.81314097424723.278902759385630.139680953835726
933612.83639.83284840642-17.27421219726193.27640229633703-0.603399365897095
9436653644.68442974693-16.45278918354553.277437826605640.339197340756245
953670.83650.42884480989-15.62863830631773.278293374344480.340287574201854
963687.63662.77732947578-14.58979271927163.279248555941830.428890900467077
973708.23698.91116774695-12.7383642158587-29.30992450423740.799659750134901
983737.23713.86456218336-11.70246523235472.842314131821550.413382176070736
993748.73726.8769230786-10.78183456175472.914515664343120.377433671225846
1003785.33753.52898095237-9.389684258245952.963909831873260.573809504849862
1013787.13766.72685275197-8.550206932192672.977328045709160.346359913551384
1023785.83772.09782512833-8.032949430829062.981032433899840.21344529078557
1033749.73754.26592534717-8.397010726987982.9798772350301-0.150225560299583
1043716.33727.48047645809-9.080191099143792.97894027026352-0.281891973809933
10536503678.07335823246-10.57847617021822.97810274018223-0.618186515404454
1063096.93343.44011441721-22.61861985234792.97576896300269-4.96747893861799
1073703.23535.17637399307-14.65405335582582.97601524650133.2858477957693
10837163629.28229182626-10.61282498961332.975851210091731.66717477181149
1093736.93698.92214425193-7.66135931686059-23.14073135373511.2612966258618
1103771.93736.16588060261-5.98599121002292.363208316523760.672217261914803
11137043714.03772218068-6.586779679995622.32100371152399-0.246620957810436
1123824.23772.07173500598-4.183777448525832.39645744439610.990549014104982
1133733.53747.11314123031-4.956050387155032.38579914656267-0.318544513209349
1143827.53789.01752397614-3.214322176414372.395995485503030.718441917303306
1153827.63808.06225356391-2.387030526304472.397877119781890.341231315338384
1163696.53742.63963850554-4.72981358591532.39630837247136-0.9662824587332
1173675.83701.46474492625-6.084337591962782.39636599044295-0.558657363152632
1183757.53729.12361980848-4.830218549347782.395925266609960.517234636428009
1193753.33739.32832864711-4.271414771364492.395657933952010.230462376481164
1203418.73554.96255220884-10.96508081602672.39916265784697-2.76056339130113
1213772.93680.4810728295-5.92494736309601-11.60763619368452.13985547915509

\begin{tabular}{lllllllll}
\hline
Structural Time Series Model -- Interpolation \tabularnewline
t & Observed & Level & Slope & Seasonal & Stand. Residuals \tabularnewline
1 & 5410.4 & 5410.4 & 0 & 0 & 0 \tabularnewline
2 & 5432.2 & 5424.44456280311 & 1.05358229407336 & 1.04677912909481 & 0.158795674176923 \tabularnewline
3 & 5452.9 & 5440.52479735974 & 1.72961139941254 & 1.69834471559119 & 0.220265489784964 \tabularnewline
4 & 5477.6 & 5460.90686998146 & 2.30888102792779 & 2.22171510926509 & 0.289749606540252 \tabularnewline
5 & 5472.5 & 5467.10394209547 & 2.40759809943069 & 2.30328760124154 & 0.0613686680756545 \tabularnewline
6 & 5454.9 & 5460.21268431561 & 2.18963998088784 & 2.13932870108778 & -0.147422300816482 \tabularnewline
7 & 5446 & 5452.20707104339 & 1.95399823688121 & 1.9767840363771 & -0.161750555870443 \tabularnewline
8 & 5010.6 & 5208.99329206508 & -3.80225301133109 & -1.69796913599156 & -3.8871554865883 \tabularnewline
9 & 5395.9 & 5311.16856357655 & -1.24552965936639 & -0.176209042686375 & 1.67832609152837 \tabularnewline
10 & 5360 & 5337.63051420025 & -0.556443957916008 & 0.20819068600647 & 0.438199536764512 \tabularnewline
11 & 5336.9 & 5336.86309273777 & -0.56185207027264 & 0.205352735402477 & -0.00333197872191522 \tabularnewline
12 & 5333.9 & 5334.86116813283 & -0.599842969728593 & 0.186548109008099 & -0.0227115357340083 \tabularnewline
13 & 5329.6 & 5333.32055189507 & -0.54361260401253 & -2.92405870255995 & -0.0189297683194742 \tabularnewline
14 & 5345.7 & 5340.51218749834 & -0.187550360172507 & 0.524072549463824 & 0.100885607790225 \tabularnewline
15 & 5353.8 & 5347.67270763465 & 0.063673630042607 & 0.662986731715168 & 0.110462941470582 \tabularnewline
16 & 5377.2 & 5363.82053300333 & 0.531677329041696 & 0.854020161493015 & 0.24939642006076 \tabularnewline
17 & 5334.1 & 5347.03495060849 & 0.0594099740069515 & 0.70519457530243 & -0.270474160491817 \tabularnewline
18 & 5351.1 & 5348.93131101186 & 0.108794409117948 & 0.718099984268822 & 0.0287310185281016 \tabularnewline
19 & 5001 & 5154.83924955324 & -5.15557360380756 & -0.491707901895929 & -3.0366393698895 \tabularnewline
20 & 5246.4 & 5203.84739607941 & -3.66181256303787 & -0.178534258645001 & 0.846283547410261 \tabularnewline
21 & 5230 & 5216.90882185633 & -3.1912812628745 & -0.0866963983086327 & 0.261050706907144 \tabularnewline
22 & 5115.8 & 5159.13321260598 & -4.75847950586114 & -0.37452220633234 & -0.851247813511936 \tabularnewline
23 & 4972.6 & 5053.09774409296 & -7.72328656279637 & -0.889810310934878 & -1.57793700795053 \tabularnewline
24 & 5077.6 & 5063.87442688761 & -7.1717587747414 & -0.79880679198736 & 0.287975860798655 \tabularnewline
25 & 5056.9 & 5052.88680114501 & -7.16818084632775 & 7.03948619210451 & -0.0669472422062821 \tabularnewline
26 & 5070.7 & 5060.90263007093 & -6.53901575087403 & -0.319102492958265 & 0.21140146946253 \tabularnewline
27 & 4799.3 & 4910.06066766145 & -11.6601344354819 & -1.95582223214289 & -2.18609548970377 \tabularnewline
28 & 5076 & 4999.22014120101 & -8.32836574090675 & -1.28118266923648 & 1.55456492225941 \tabularnewline
29 & 5021.5 & 5008.77278387305 & -7.75237778613436 & -1.20020265679343 & 0.276726743626684 \tabularnewline
30 & 5026.4 & 5015.92572774179 & -7.27435489639141 & -1.14800085087982 & 0.230788389642405 \tabularnewline
31 & 4981.9 & 4994.28822275836 & -7.73710133025694 & -1.19094596564455 & -0.222329648932086 \tabularnewline
32 & 4936.6 & 4959.1862678843 & -8.62583191468598 & -1.26512980812008 & -0.423380072906137 \tabularnewline
33 & 4901.8 & 4923.89514309547 & -9.49972549682458 & -1.33281540232591 & -0.412340467095664 \tabularnewline
34 & 4853.8 & 4881.11154165411 & -10.600483135269 & -1.41319700064182 & -0.51442131335093 \tabularnewline
35 & 4839.2 & 4853.71370154465 & -11.1608565823508 & -1.45208597207154 & -0.259484310607536 \tabularnewline
36 & 4821.3 & 4831.42473889214 & -11.5351448259493 & -1.47686996952139 & -0.171825675587763 \tabularnewline
37 & 4840.5 & 4821.97921183989 & -11.4939705520206 & 16.9064057280678 & 0.0348561830104203 \tabularnewline
38 & 4847.6 & 4833.07608152098 & -10.5936620523992 & -1.19232133584487 & 0.323631836326698 \tabularnewline
39 & 4832.3 & 4828.7178721717 & -10.3645484152735 & -1.14379936865441 & 0.0947169818868356 \tabularnewline
40 & 4814.7 & 4816.93995147355 & -10.4146958793386 & -1.14984383833508 & -0.0217181582436447 \tabularnewline
41 & 4806.4 & 4807.10194153088 & -10.3944886624581 & -1.14831036987807 & 0.00888002545882972 \tabularnewline
42 & 4803.4 & 4801.12150788001 & -10.2402127964292 & -1.1399156802899 & 0.0679808057999533 \tabularnewline
43 & 4770.3 & 4779.93369030976 & -10.6234623472888 & -1.15671178147641 & -0.168568596759937 \tabularnewline
44 & 4723.4 & 4744.1031281593 & -11.5087600103807 & -1.19057816830156 & -0.388028109427032 \tabularnewline
45 & 4667.1 & 4696.36830817979 & -12.7858282955904 & -1.23526516505707 & -0.557501447177696 \tabularnewline
46 & 4636.8 & 4657.91846455601 & -13.693992055911 & -1.26505776241499 & -0.39485807596404 \tabularnewline
47 & 4613.2 & 4627.45351083 & -14.2896288802549 & -1.28360312143501 & -0.257972390446505 \tabularnewline
48 & 4605.3 & 4609.45499987759 & -14.4218063864337 & -1.28753249648963 & -0.0570379599019543 \tabularnewline
49 & 4590.4 & 4585.68370736332 & -14.6905920127445 & 11.8610365943848 & -0.152166559466435 \tabularnewline
50 & 4595.4 & 4585.77173710528 & -14.1155492070666 & -0.902437510766559 & 0.215112129972145 \tabularnewline
51 & 4600.1 & 4588.27200498629 & -13.4966195237019 & -0.805648715745523 & 0.252832685508591 \tabularnewline
52 & 4543.3 & 4557.47715011913 & -14.1292755672761 & -0.857572636303156 & -0.26539506355132 \tabularnewline
53 & 4596.4 & 4573.74552114996 & -13.0250079950831 & -0.805662480340863 & 0.466972551917692 \tabularnewline
54 & 4575.4 & 4569.45393083107 & -12.7082971683058 & -0.795972283856705 & 0.134167089967771 \tabularnewline
55 & 4547.9 & 4552.20478603692 & -12.8730270868432 & -0.799725318362162 & -0.069747584346914 \tabularnewline
56 & 4503.7 & 4519.67988900518 & -13.5867968666157 & -0.813212996599486 & -0.301805543393731 \tabularnewline
57 & 4446.3 & 4472.81351804017 & -14.7973245588424 & -0.833553046558098 & -0.511024527078402 \tabularnewline
58 & 4401.4 & 4426.53784002858 & -15.9440892498756 & -0.851365869837167 & -0.483308419391783 \tabularnewline
59 & 4354.3 & 4379.3050022044 & -17.0856435807132 & -0.868088638010555 & -0.480346257752973 \tabularnewline
60 & 4336.3 & 4348.08077961742 & -17.6022084784545 & -0.875295668671983 & -0.217035080785475 \tabularnewline
61 & 4300.9 & 4310.5159586293 & -18.2599055197031 & 5.57760980235188 & -0.320481753044903 \tabularnewline
62 & 4304.1 & 4299.38251516006 & -17.9871873007294 & -0.437471749708512 & 0.104774640976001 \tabularnewline
63 & 4273.2 & 4277.00426070125 & -18.1512601180837 & -0.457845598393804 & -0.0669041909892866 \tabularnewline
64 & 4279.9 & 4270.9900352305 & -17.7022262164564 & -0.430278415848637 & 0.186097201586637 \tabularnewline
65 & 4243.1 & 4247.7813007924 & -17.9051827343376 & -0.436838895497123 & -0.0845033395867627 \tabularnewline
66 & 4199.1 & 4212.75077266262 & -18.5356533254959 & -0.448772863013778 & -0.262793780183487 \tabularnewline
67 & 4177.6 & 4185.08826697949 & -18.871642344029 & -0.45303738543456 & -0.14003534667345 \tabularnewline
68 & 4141.7 & 4152.62985152738 & -19.3720150882607 & -0.457896460384156 & -0.208442686578474 \tabularnewline
69 & 4088.3 & 4108.13057092343 & -20.2979218331789 & -0.465497179045116 & -0.385462276827973 \tabularnewline
70 & 4021.4 & 4050.5819485702 & -21.6713934734684 & -0.475636421929197 & -0.571406479396246 \tabularnewline
71 & 3981.2 & 4002.23667992761 & -22.6554746340025 & -0.48239365574566 & -0.409143238660028 \tabularnewline
72 & 3937.2 & 3955.91992161083 & -23.5289086861618 & -0.488068429304409 & -0.362918286982217 \tabularnewline
73 & 3893.1 & 3909.28912787594 & -24.3367751537104 & 1.37531711702791 & -0.36776298990242 \tabularnewline
74 & 3864.7 & 3873.37853076706 & -24.7747642711293 & -0.221075061684391 & -0.171318983225133 \tabularnewline
75 & 3847.8 & 3848.2740518063 & -24.7870772367479 & -0.22234995771874 & -0.0050286878237221 \tabularnewline
76 & 3840.8 & 3833.38671599492 & -24.419379140814 & -0.204315447491108 & 0.151760655016107 \tabularnewline
77 & 3828.4 & 3820.05356073458 & -24.0084861070055 & -0.194404999444602 & 0.170051445117981 \tabularnewline
78 & 3798.6 & 3797.59757296445 & -23.9509870336277 & -0.193672630131174 & 0.023811663770694 \tabularnewline
79 & 3773 & 3773.39079519448 & -23.9604593452535 & -0.193743803209111 & -0.00392274323684168 \tabularnewline
80 & 3737.8 & 3742.97077027366 & -24.1996930433929 & -0.194959893719626 & -0.0990541824545416 \tabularnewline
81 & 3699 & 3707.71365347936 & -24.609295065311 & -0.196565163135752 & -0.169551426175097 \tabularnewline
82 & 3674 & 3678.07271283812 & -24.7957269950941 & -0.197186025804777 & -0.0771512610991383 \tabularnewline
83 & 3648.8 & 3650.85945592648 & -24.8853222914329 & -0.197455169425477 & -0.0370675811230856 \tabularnewline
84 & 3645.6 & 3637.17189697567 & -24.4702308538253 & -0.196293398081518 & 0.171690063072867 \tabularnewline
85 & 3331 & 3464.1626262889 & -29.8145947201488 & -20.2056813978768 & -2.35126642749571 \tabularnewline
86 & 3674.7 & 3571.16711689568 & -24.6738228059657 & 2.82636276906182 & 2.03506982636721 \tabularnewline
87 & 3714.5 & 3639.93838447661 & -21.1888466458196 & 3.13667484257563 & 1.42625349331553 \tabularnewline
88 & 3739.7 & 3685.27255962559 & -18.7153001492487 & 3.23818782511906 & 1.01971790467233 \tabularnewline
89 & 3759.7 & 3717.32382306727 & -16.8298661363717 & 3.27433576848137 & 0.778541985069368 \tabularnewline
90 & 3708.6 & 3703.22285487745 & -16.7285610151154 & 3.27527215296142 & 0.0418452467761451 \tabularnewline
91 & 3717.3 & 3702.04529963348 & -16.1513281365183 & 3.27800151149803 & 0.238433726134544 \tabularnewline
92 & 3705.3 & 3695.00480034223 & -15.8131409742472 & 3.27890275938563 & 0.139680953835726 \tabularnewline
93 & 3612.8 & 3639.83284840642 & -17.2742121972619 & 3.27640229633703 & -0.603399365897095 \tabularnewline
94 & 3665 & 3644.68442974693 & -16.4527891835455 & 3.27743782660564 & 0.339197340756245 \tabularnewline
95 & 3670.8 & 3650.42884480989 & -15.6286383063177 & 3.27829337434448 & 0.340287574201854 \tabularnewline
96 & 3687.6 & 3662.77732947578 & -14.5897927192716 & 3.27924855594183 & 0.428890900467077 \tabularnewline
97 & 3708.2 & 3698.91116774695 & -12.7383642158587 & -29.3099245042374 & 0.799659750134901 \tabularnewline
98 & 3737.2 & 3713.86456218336 & -11.7024652323547 & 2.84231413182155 & 0.413382176070736 \tabularnewline
99 & 3748.7 & 3726.8769230786 & -10.7818345617547 & 2.91451566434312 & 0.377433671225846 \tabularnewline
100 & 3785.3 & 3753.52898095237 & -9.38968425824595 & 2.96390983187326 & 0.573809504849862 \tabularnewline
101 & 3787.1 & 3766.72685275197 & -8.55020693219267 & 2.97732804570916 & 0.346359913551384 \tabularnewline
102 & 3785.8 & 3772.09782512833 & -8.03294943082906 & 2.98103243389984 & 0.21344529078557 \tabularnewline
103 & 3749.7 & 3754.26592534717 & -8.39701072698798 & 2.9798772350301 & -0.150225560299583 \tabularnewline
104 & 3716.3 & 3727.48047645809 & -9.08019109914379 & 2.97894027026352 & -0.281891973809933 \tabularnewline
105 & 3650 & 3678.07335823246 & -10.5784761702182 & 2.97810274018223 & -0.618186515404454 \tabularnewline
106 & 3096.9 & 3343.44011441721 & -22.6186198523479 & 2.97576896300269 & -4.96747893861799 \tabularnewline
107 & 3703.2 & 3535.17637399307 & -14.6540533558258 & 2.9760152465013 & 3.2858477957693 \tabularnewline
108 & 3716 & 3629.28229182626 & -10.6128249896133 & 2.97585121009173 & 1.66717477181149 \tabularnewline
109 & 3736.9 & 3698.92214425193 & -7.66135931686059 & -23.1407313537351 & 1.2612966258618 \tabularnewline
110 & 3771.9 & 3736.16588060261 & -5.9859912100229 & 2.36320831652376 & 0.672217261914803 \tabularnewline
111 & 3704 & 3714.03772218068 & -6.58677967999562 & 2.32100371152399 & -0.246620957810436 \tabularnewline
112 & 3824.2 & 3772.07173500598 & -4.18377744852583 & 2.3964574443961 & 0.990549014104982 \tabularnewline
113 & 3733.5 & 3747.11314123031 & -4.95605038715503 & 2.38579914656267 & -0.318544513209349 \tabularnewline
114 & 3827.5 & 3789.01752397614 & -3.21432217641437 & 2.39599548550303 & 0.718441917303306 \tabularnewline
115 & 3827.6 & 3808.06225356391 & -2.38703052630447 & 2.39787711978189 & 0.341231315338384 \tabularnewline
116 & 3696.5 & 3742.63963850554 & -4.7298135859153 & 2.39630837247136 & -0.9662824587332 \tabularnewline
117 & 3675.8 & 3701.46474492625 & -6.08433759196278 & 2.39636599044295 & -0.558657363152632 \tabularnewline
118 & 3757.5 & 3729.12361980848 & -4.83021854934778 & 2.39592526660996 & 0.517234636428009 \tabularnewline
119 & 3753.3 & 3739.32832864711 & -4.27141477136449 & 2.39565793395201 & 0.230462376481164 \tabularnewline
120 & 3418.7 & 3554.96255220884 & -10.9650808160267 & 2.39916265784697 & -2.76056339130113 \tabularnewline
121 & 3772.9 & 3680.4810728295 & -5.92494736309601 & -11.6076361936845 & 2.13985547915509 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=299721&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]5410.4[/C][C]5410.4[/C][C]0[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]2[/C][C]5432.2[/C][C]5424.44456280311[/C][C]1.05358229407336[/C][C]1.04677912909481[/C][C]0.158795674176923[/C][/ROW]
[ROW][C]3[/C][C]5452.9[/C][C]5440.52479735974[/C][C]1.72961139941254[/C][C]1.69834471559119[/C][C]0.220265489784964[/C][/ROW]
[ROW][C]4[/C][C]5477.6[/C][C]5460.90686998146[/C][C]2.30888102792779[/C][C]2.22171510926509[/C][C]0.289749606540252[/C][/ROW]
[ROW][C]5[/C][C]5472.5[/C][C]5467.10394209547[/C][C]2.40759809943069[/C][C]2.30328760124154[/C][C]0.0613686680756545[/C][/ROW]
[ROW][C]6[/C][C]5454.9[/C][C]5460.21268431561[/C][C]2.18963998088784[/C][C]2.13932870108778[/C][C]-0.147422300816482[/C][/ROW]
[ROW][C]7[/C][C]5446[/C][C]5452.20707104339[/C][C]1.95399823688121[/C][C]1.9767840363771[/C][C]-0.161750555870443[/C][/ROW]
[ROW][C]8[/C][C]5010.6[/C][C]5208.99329206508[/C][C]-3.80225301133109[/C][C]-1.69796913599156[/C][C]-3.8871554865883[/C][/ROW]
[ROW][C]9[/C][C]5395.9[/C][C]5311.16856357655[/C][C]-1.24552965936639[/C][C]-0.176209042686375[/C][C]1.67832609152837[/C][/ROW]
[ROW][C]10[/C][C]5360[/C][C]5337.63051420025[/C][C]-0.556443957916008[/C][C]0.20819068600647[/C][C]0.438199536764512[/C][/ROW]
[ROW][C]11[/C][C]5336.9[/C][C]5336.86309273777[/C][C]-0.56185207027264[/C][C]0.205352735402477[/C][C]-0.00333197872191522[/C][/ROW]
[ROW][C]12[/C][C]5333.9[/C][C]5334.86116813283[/C][C]-0.599842969728593[/C][C]0.186548109008099[/C][C]-0.0227115357340083[/C][/ROW]
[ROW][C]13[/C][C]5329.6[/C][C]5333.32055189507[/C][C]-0.54361260401253[/C][C]-2.92405870255995[/C][C]-0.0189297683194742[/C][/ROW]
[ROW][C]14[/C][C]5345.7[/C][C]5340.51218749834[/C][C]-0.187550360172507[/C][C]0.524072549463824[/C][C]0.100885607790225[/C][/ROW]
[ROW][C]15[/C][C]5353.8[/C][C]5347.67270763465[/C][C]0.063673630042607[/C][C]0.662986731715168[/C][C]0.110462941470582[/C][/ROW]
[ROW][C]16[/C][C]5377.2[/C][C]5363.82053300333[/C][C]0.531677329041696[/C][C]0.854020161493015[/C][C]0.24939642006076[/C][/ROW]
[ROW][C]17[/C][C]5334.1[/C][C]5347.03495060849[/C][C]0.0594099740069515[/C][C]0.70519457530243[/C][C]-0.270474160491817[/C][/ROW]
[ROW][C]18[/C][C]5351.1[/C][C]5348.93131101186[/C][C]0.108794409117948[/C][C]0.718099984268822[/C][C]0.0287310185281016[/C][/ROW]
[ROW][C]19[/C][C]5001[/C][C]5154.83924955324[/C][C]-5.15557360380756[/C][C]-0.491707901895929[/C][C]-3.0366393698895[/C][/ROW]
[ROW][C]20[/C][C]5246.4[/C][C]5203.84739607941[/C][C]-3.66181256303787[/C][C]-0.178534258645001[/C][C]0.846283547410261[/C][/ROW]
[ROW][C]21[/C][C]5230[/C][C]5216.90882185633[/C][C]-3.1912812628745[/C][C]-0.0866963983086327[/C][C]0.261050706907144[/C][/ROW]
[ROW][C]22[/C][C]5115.8[/C][C]5159.13321260598[/C][C]-4.75847950586114[/C][C]-0.37452220633234[/C][C]-0.851247813511936[/C][/ROW]
[ROW][C]23[/C][C]4972.6[/C][C]5053.09774409296[/C][C]-7.72328656279637[/C][C]-0.889810310934878[/C][C]-1.57793700795053[/C][/ROW]
[ROW][C]24[/C][C]5077.6[/C][C]5063.87442688761[/C][C]-7.1717587747414[/C][C]-0.79880679198736[/C][C]0.287975860798655[/C][/ROW]
[ROW][C]25[/C][C]5056.9[/C][C]5052.88680114501[/C][C]-7.16818084632775[/C][C]7.03948619210451[/C][C]-0.0669472422062821[/C][/ROW]
[ROW][C]26[/C][C]5070.7[/C][C]5060.90263007093[/C][C]-6.53901575087403[/C][C]-0.319102492958265[/C][C]0.21140146946253[/C][/ROW]
[ROW][C]27[/C][C]4799.3[/C][C]4910.06066766145[/C][C]-11.6601344354819[/C][C]-1.95582223214289[/C][C]-2.18609548970377[/C][/ROW]
[ROW][C]28[/C][C]5076[/C][C]4999.22014120101[/C][C]-8.32836574090675[/C][C]-1.28118266923648[/C][C]1.55456492225941[/C][/ROW]
[ROW][C]29[/C][C]5021.5[/C][C]5008.77278387305[/C][C]-7.75237778613436[/C][C]-1.20020265679343[/C][C]0.276726743626684[/C][/ROW]
[ROW][C]30[/C][C]5026.4[/C][C]5015.92572774179[/C][C]-7.27435489639141[/C][C]-1.14800085087982[/C][C]0.230788389642405[/C][/ROW]
[ROW][C]31[/C][C]4981.9[/C][C]4994.28822275836[/C][C]-7.73710133025694[/C][C]-1.19094596564455[/C][C]-0.222329648932086[/C][/ROW]
[ROW][C]32[/C][C]4936.6[/C][C]4959.1862678843[/C][C]-8.62583191468598[/C][C]-1.26512980812008[/C][C]-0.423380072906137[/C][/ROW]
[ROW][C]33[/C][C]4901.8[/C][C]4923.89514309547[/C][C]-9.49972549682458[/C][C]-1.33281540232591[/C][C]-0.412340467095664[/C][/ROW]
[ROW][C]34[/C][C]4853.8[/C][C]4881.11154165411[/C][C]-10.600483135269[/C][C]-1.41319700064182[/C][C]-0.51442131335093[/C][/ROW]
[ROW][C]35[/C][C]4839.2[/C][C]4853.71370154465[/C][C]-11.1608565823508[/C][C]-1.45208597207154[/C][C]-0.259484310607536[/C][/ROW]
[ROW][C]36[/C][C]4821.3[/C][C]4831.42473889214[/C][C]-11.5351448259493[/C][C]-1.47686996952139[/C][C]-0.171825675587763[/C][/ROW]
[ROW][C]37[/C][C]4840.5[/C][C]4821.97921183989[/C][C]-11.4939705520206[/C][C]16.9064057280678[/C][C]0.0348561830104203[/C][/ROW]
[ROW][C]38[/C][C]4847.6[/C][C]4833.07608152098[/C][C]-10.5936620523992[/C][C]-1.19232133584487[/C][C]0.323631836326698[/C][/ROW]
[ROW][C]39[/C][C]4832.3[/C][C]4828.7178721717[/C][C]-10.3645484152735[/C][C]-1.14379936865441[/C][C]0.0947169818868356[/C][/ROW]
[ROW][C]40[/C][C]4814.7[/C][C]4816.93995147355[/C][C]-10.4146958793386[/C][C]-1.14984383833508[/C][C]-0.0217181582436447[/C][/ROW]
[ROW][C]41[/C][C]4806.4[/C][C]4807.10194153088[/C][C]-10.3944886624581[/C][C]-1.14831036987807[/C][C]0.00888002545882972[/C][/ROW]
[ROW][C]42[/C][C]4803.4[/C][C]4801.12150788001[/C][C]-10.2402127964292[/C][C]-1.1399156802899[/C][C]0.0679808057999533[/C][/ROW]
[ROW][C]43[/C][C]4770.3[/C][C]4779.93369030976[/C][C]-10.6234623472888[/C][C]-1.15671178147641[/C][C]-0.168568596759937[/C][/ROW]
[ROW][C]44[/C][C]4723.4[/C][C]4744.1031281593[/C][C]-11.5087600103807[/C][C]-1.19057816830156[/C][C]-0.388028109427032[/C][/ROW]
[ROW][C]45[/C][C]4667.1[/C][C]4696.36830817979[/C][C]-12.7858282955904[/C][C]-1.23526516505707[/C][C]-0.557501447177696[/C][/ROW]
[ROW][C]46[/C][C]4636.8[/C][C]4657.91846455601[/C][C]-13.693992055911[/C][C]-1.26505776241499[/C][C]-0.39485807596404[/C][/ROW]
[ROW][C]47[/C][C]4613.2[/C][C]4627.45351083[/C][C]-14.2896288802549[/C][C]-1.28360312143501[/C][C]-0.257972390446505[/C][/ROW]
[ROW][C]48[/C][C]4605.3[/C][C]4609.45499987759[/C][C]-14.4218063864337[/C][C]-1.28753249648963[/C][C]-0.0570379599019543[/C][/ROW]
[ROW][C]49[/C][C]4590.4[/C][C]4585.68370736332[/C][C]-14.6905920127445[/C][C]11.8610365943848[/C][C]-0.152166559466435[/C][/ROW]
[ROW][C]50[/C][C]4595.4[/C][C]4585.77173710528[/C][C]-14.1155492070666[/C][C]-0.902437510766559[/C][C]0.215112129972145[/C][/ROW]
[ROW][C]51[/C][C]4600.1[/C][C]4588.27200498629[/C][C]-13.4966195237019[/C][C]-0.805648715745523[/C][C]0.252832685508591[/C][/ROW]
[ROW][C]52[/C][C]4543.3[/C][C]4557.47715011913[/C][C]-14.1292755672761[/C][C]-0.857572636303156[/C][C]-0.26539506355132[/C][/ROW]
[ROW][C]53[/C][C]4596.4[/C][C]4573.74552114996[/C][C]-13.0250079950831[/C][C]-0.805662480340863[/C][C]0.466972551917692[/C][/ROW]
[ROW][C]54[/C][C]4575.4[/C][C]4569.45393083107[/C][C]-12.7082971683058[/C][C]-0.795972283856705[/C][C]0.134167089967771[/C][/ROW]
[ROW][C]55[/C][C]4547.9[/C][C]4552.20478603692[/C][C]-12.8730270868432[/C][C]-0.799725318362162[/C][C]-0.069747584346914[/C][/ROW]
[ROW][C]56[/C][C]4503.7[/C][C]4519.67988900518[/C][C]-13.5867968666157[/C][C]-0.813212996599486[/C][C]-0.301805543393731[/C][/ROW]
[ROW][C]57[/C][C]4446.3[/C][C]4472.81351804017[/C][C]-14.7973245588424[/C][C]-0.833553046558098[/C][C]-0.511024527078402[/C][/ROW]
[ROW][C]58[/C][C]4401.4[/C][C]4426.53784002858[/C][C]-15.9440892498756[/C][C]-0.851365869837167[/C][C]-0.483308419391783[/C][/ROW]
[ROW][C]59[/C][C]4354.3[/C][C]4379.3050022044[/C][C]-17.0856435807132[/C][C]-0.868088638010555[/C][C]-0.480346257752973[/C][/ROW]
[ROW][C]60[/C][C]4336.3[/C][C]4348.08077961742[/C][C]-17.6022084784545[/C][C]-0.875295668671983[/C][C]-0.217035080785475[/C][/ROW]
[ROW][C]61[/C][C]4300.9[/C][C]4310.5159586293[/C][C]-18.2599055197031[/C][C]5.57760980235188[/C][C]-0.320481753044903[/C][/ROW]
[ROW][C]62[/C][C]4304.1[/C][C]4299.38251516006[/C][C]-17.9871873007294[/C][C]-0.437471749708512[/C][C]0.104774640976001[/C][/ROW]
[ROW][C]63[/C][C]4273.2[/C][C]4277.00426070125[/C][C]-18.1512601180837[/C][C]-0.457845598393804[/C][C]-0.0669041909892866[/C][/ROW]
[ROW][C]64[/C][C]4279.9[/C][C]4270.9900352305[/C][C]-17.7022262164564[/C][C]-0.430278415848637[/C][C]0.186097201586637[/C][/ROW]
[ROW][C]65[/C][C]4243.1[/C][C]4247.7813007924[/C][C]-17.9051827343376[/C][C]-0.436838895497123[/C][C]-0.0845033395867627[/C][/ROW]
[ROW][C]66[/C][C]4199.1[/C][C]4212.75077266262[/C][C]-18.5356533254959[/C][C]-0.448772863013778[/C][C]-0.262793780183487[/C][/ROW]
[ROW][C]67[/C][C]4177.6[/C][C]4185.08826697949[/C][C]-18.871642344029[/C][C]-0.45303738543456[/C][C]-0.14003534667345[/C][/ROW]
[ROW][C]68[/C][C]4141.7[/C][C]4152.62985152738[/C][C]-19.3720150882607[/C][C]-0.457896460384156[/C][C]-0.208442686578474[/C][/ROW]
[ROW][C]69[/C][C]4088.3[/C][C]4108.13057092343[/C][C]-20.2979218331789[/C][C]-0.465497179045116[/C][C]-0.385462276827973[/C][/ROW]
[ROW][C]70[/C][C]4021.4[/C][C]4050.5819485702[/C][C]-21.6713934734684[/C][C]-0.475636421929197[/C][C]-0.571406479396246[/C][/ROW]
[ROW][C]71[/C][C]3981.2[/C][C]4002.23667992761[/C][C]-22.6554746340025[/C][C]-0.48239365574566[/C][C]-0.409143238660028[/C][/ROW]
[ROW][C]72[/C][C]3937.2[/C][C]3955.91992161083[/C][C]-23.5289086861618[/C][C]-0.488068429304409[/C][C]-0.362918286982217[/C][/ROW]
[ROW][C]73[/C][C]3893.1[/C][C]3909.28912787594[/C][C]-24.3367751537104[/C][C]1.37531711702791[/C][C]-0.36776298990242[/C][/ROW]
[ROW][C]74[/C][C]3864.7[/C][C]3873.37853076706[/C][C]-24.7747642711293[/C][C]-0.221075061684391[/C][C]-0.171318983225133[/C][/ROW]
[ROW][C]75[/C][C]3847.8[/C][C]3848.2740518063[/C][C]-24.7870772367479[/C][C]-0.22234995771874[/C][C]-0.0050286878237221[/C][/ROW]
[ROW][C]76[/C][C]3840.8[/C][C]3833.38671599492[/C][C]-24.419379140814[/C][C]-0.204315447491108[/C][C]0.151760655016107[/C][/ROW]
[ROW][C]77[/C][C]3828.4[/C][C]3820.05356073458[/C][C]-24.0084861070055[/C][C]-0.194404999444602[/C][C]0.170051445117981[/C][/ROW]
[ROW][C]78[/C][C]3798.6[/C][C]3797.59757296445[/C][C]-23.9509870336277[/C][C]-0.193672630131174[/C][C]0.023811663770694[/C][/ROW]
[ROW][C]79[/C][C]3773[/C][C]3773.39079519448[/C][C]-23.9604593452535[/C][C]-0.193743803209111[/C][C]-0.00392274323684168[/C][/ROW]
[ROW][C]80[/C][C]3737.8[/C][C]3742.97077027366[/C][C]-24.1996930433929[/C][C]-0.194959893719626[/C][C]-0.0990541824545416[/C][/ROW]
[ROW][C]81[/C][C]3699[/C][C]3707.71365347936[/C][C]-24.609295065311[/C][C]-0.196565163135752[/C][C]-0.169551426175097[/C][/ROW]
[ROW][C]82[/C][C]3674[/C][C]3678.07271283812[/C][C]-24.7957269950941[/C][C]-0.197186025804777[/C][C]-0.0771512610991383[/C][/ROW]
[ROW][C]83[/C][C]3648.8[/C][C]3650.85945592648[/C][C]-24.8853222914329[/C][C]-0.197455169425477[/C][C]-0.0370675811230856[/C][/ROW]
[ROW][C]84[/C][C]3645.6[/C][C]3637.17189697567[/C][C]-24.4702308538253[/C][C]-0.196293398081518[/C][C]0.171690063072867[/C][/ROW]
[ROW][C]85[/C][C]3331[/C][C]3464.1626262889[/C][C]-29.8145947201488[/C][C]-20.2056813978768[/C][C]-2.35126642749571[/C][/ROW]
[ROW][C]86[/C][C]3674.7[/C][C]3571.16711689568[/C][C]-24.6738228059657[/C][C]2.82636276906182[/C][C]2.03506982636721[/C][/ROW]
[ROW][C]87[/C][C]3714.5[/C][C]3639.93838447661[/C][C]-21.1888466458196[/C][C]3.13667484257563[/C][C]1.42625349331553[/C][/ROW]
[ROW][C]88[/C][C]3739.7[/C][C]3685.27255962559[/C][C]-18.7153001492487[/C][C]3.23818782511906[/C][C]1.01971790467233[/C][/ROW]
[ROW][C]89[/C][C]3759.7[/C][C]3717.32382306727[/C][C]-16.8298661363717[/C][C]3.27433576848137[/C][C]0.778541985069368[/C][/ROW]
[ROW][C]90[/C][C]3708.6[/C][C]3703.22285487745[/C][C]-16.7285610151154[/C][C]3.27527215296142[/C][C]0.0418452467761451[/C][/ROW]
[ROW][C]91[/C][C]3717.3[/C][C]3702.04529963348[/C][C]-16.1513281365183[/C][C]3.27800151149803[/C][C]0.238433726134544[/C][/ROW]
[ROW][C]92[/C][C]3705.3[/C][C]3695.00480034223[/C][C]-15.8131409742472[/C][C]3.27890275938563[/C][C]0.139680953835726[/C][/ROW]
[ROW][C]93[/C][C]3612.8[/C][C]3639.83284840642[/C][C]-17.2742121972619[/C][C]3.27640229633703[/C][C]-0.603399365897095[/C][/ROW]
[ROW][C]94[/C][C]3665[/C][C]3644.68442974693[/C][C]-16.4527891835455[/C][C]3.27743782660564[/C][C]0.339197340756245[/C][/ROW]
[ROW][C]95[/C][C]3670.8[/C][C]3650.42884480989[/C][C]-15.6286383063177[/C][C]3.27829337434448[/C][C]0.340287574201854[/C][/ROW]
[ROW][C]96[/C][C]3687.6[/C][C]3662.77732947578[/C][C]-14.5897927192716[/C][C]3.27924855594183[/C][C]0.428890900467077[/C][/ROW]
[ROW][C]97[/C][C]3708.2[/C][C]3698.91116774695[/C][C]-12.7383642158587[/C][C]-29.3099245042374[/C][C]0.799659750134901[/C][/ROW]
[ROW][C]98[/C][C]3737.2[/C][C]3713.86456218336[/C][C]-11.7024652323547[/C][C]2.84231413182155[/C][C]0.413382176070736[/C][/ROW]
[ROW][C]99[/C][C]3748.7[/C][C]3726.8769230786[/C][C]-10.7818345617547[/C][C]2.91451566434312[/C][C]0.377433671225846[/C][/ROW]
[ROW][C]100[/C][C]3785.3[/C][C]3753.52898095237[/C][C]-9.38968425824595[/C][C]2.96390983187326[/C][C]0.573809504849862[/C][/ROW]
[ROW][C]101[/C][C]3787.1[/C][C]3766.72685275197[/C][C]-8.55020693219267[/C][C]2.97732804570916[/C][C]0.346359913551384[/C][/ROW]
[ROW][C]102[/C][C]3785.8[/C][C]3772.09782512833[/C][C]-8.03294943082906[/C][C]2.98103243389984[/C][C]0.21344529078557[/C][/ROW]
[ROW][C]103[/C][C]3749.7[/C][C]3754.26592534717[/C][C]-8.39701072698798[/C][C]2.9798772350301[/C][C]-0.150225560299583[/C][/ROW]
[ROW][C]104[/C][C]3716.3[/C][C]3727.48047645809[/C][C]-9.08019109914379[/C][C]2.97894027026352[/C][C]-0.281891973809933[/C][/ROW]
[ROW][C]105[/C][C]3650[/C][C]3678.07335823246[/C][C]-10.5784761702182[/C][C]2.97810274018223[/C][C]-0.618186515404454[/C][/ROW]
[ROW][C]106[/C][C]3096.9[/C][C]3343.44011441721[/C][C]-22.6186198523479[/C][C]2.97576896300269[/C][C]-4.96747893861799[/C][/ROW]
[ROW][C]107[/C][C]3703.2[/C][C]3535.17637399307[/C][C]-14.6540533558258[/C][C]2.9760152465013[/C][C]3.2858477957693[/C][/ROW]
[ROW][C]108[/C][C]3716[/C][C]3629.28229182626[/C][C]-10.6128249896133[/C][C]2.97585121009173[/C][C]1.66717477181149[/C][/ROW]
[ROW][C]109[/C][C]3736.9[/C][C]3698.92214425193[/C][C]-7.66135931686059[/C][C]-23.1407313537351[/C][C]1.2612966258618[/C][/ROW]
[ROW][C]110[/C][C]3771.9[/C][C]3736.16588060261[/C][C]-5.9859912100229[/C][C]2.36320831652376[/C][C]0.672217261914803[/C][/ROW]
[ROW][C]111[/C][C]3704[/C][C]3714.03772218068[/C][C]-6.58677967999562[/C][C]2.32100371152399[/C][C]-0.246620957810436[/C][/ROW]
[ROW][C]112[/C][C]3824.2[/C][C]3772.07173500598[/C][C]-4.18377744852583[/C][C]2.3964574443961[/C][C]0.990549014104982[/C][/ROW]
[ROW][C]113[/C][C]3733.5[/C][C]3747.11314123031[/C][C]-4.95605038715503[/C][C]2.38579914656267[/C][C]-0.318544513209349[/C][/ROW]
[ROW][C]114[/C][C]3827.5[/C][C]3789.01752397614[/C][C]-3.21432217641437[/C][C]2.39599548550303[/C][C]0.718441917303306[/C][/ROW]
[ROW][C]115[/C][C]3827.6[/C][C]3808.06225356391[/C][C]-2.38703052630447[/C][C]2.39787711978189[/C][C]0.341231315338384[/C][/ROW]
[ROW][C]116[/C][C]3696.5[/C][C]3742.63963850554[/C][C]-4.7298135859153[/C][C]2.39630837247136[/C][C]-0.9662824587332[/C][/ROW]
[ROW][C]117[/C][C]3675.8[/C][C]3701.46474492625[/C][C]-6.08433759196278[/C][C]2.39636599044295[/C][C]-0.558657363152632[/C][/ROW]
[ROW][C]118[/C][C]3757.5[/C][C]3729.12361980848[/C][C]-4.83021854934778[/C][C]2.39592526660996[/C][C]0.517234636428009[/C][/ROW]
[ROW][C]119[/C][C]3753.3[/C][C]3739.32832864711[/C][C]-4.27141477136449[/C][C]2.39565793395201[/C][C]0.230462376481164[/C][/ROW]
[ROW][C]120[/C][C]3418.7[/C][C]3554.96255220884[/C][C]-10.9650808160267[/C][C]2.39916265784697[/C][C]-2.76056339130113[/C][/ROW]
[ROW][C]121[/C][C]3772.9[/C][C]3680.4810728295[/C][C]-5.92494736309601[/C][C]-11.6076361936845[/C][C]2.13985547915509[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=299721&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=299721&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
15410.45410.4000
25432.25424.444562803111.053582294073361.046779129094810.158795674176923
35452.95440.524797359741.729611399412541.698344715591190.220265489784964
45477.65460.906869981462.308881027927792.221715109265090.289749606540252
55472.55467.103942095472.407598099430692.303287601241540.0613686680756545
65454.95460.212684315612.189639980887842.13932870108778-0.147422300816482
754465452.207071043391.953998236881211.9767840363771-0.161750555870443
85010.65208.99329206508-3.80225301133109-1.69796913599156-3.8871554865883
95395.95311.16856357655-1.24552965936639-0.1762090426863751.67832609152837
1053605337.63051420025-0.5564439579160080.208190686006470.438199536764512
115336.95336.86309273777-0.561852070272640.205352735402477-0.00333197872191522
125333.95334.86116813283-0.5998429697285930.186548109008099-0.0227115357340083
135329.65333.32055189507-0.54361260401253-2.92405870255995-0.0189297683194742
145345.75340.51218749834-0.1875503601725070.5240725494638240.100885607790225
155353.85347.672707634650.0636736300426070.6629867317151680.110462941470582
165377.25363.820533003330.5316773290416960.8540201614930150.24939642006076
175334.15347.034950608490.05940997400695150.70519457530243-0.270474160491817
185351.15348.931311011860.1087944091179480.7180999842688220.0287310185281016
1950015154.83924955324-5.15557360380756-0.491707901895929-3.0366393698895
205246.45203.84739607941-3.66181256303787-0.1785342586450010.846283547410261
2152305216.90882185633-3.1912812628745-0.08669639830863270.261050706907144
225115.85159.13321260598-4.75847950586114-0.37452220633234-0.851247813511936
234972.65053.09774409296-7.72328656279637-0.889810310934878-1.57793700795053
245077.65063.87442688761-7.1717587747414-0.798806791987360.287975860798655
255056.95052.88680114501-7.168180846327757.03948619210451-0.0669472422062821
265070.75060.90263007093-6.53901575087403-0.3191024929582650.21140146946253
274799.34910.06066766145-11.6601344354819-1.95582223214289-2.18609548970377
2850764999.22014120101-8.32836574090675-1.281182669236481.55456492225941
295021.55008.77278387305-7.75237778613436-1.200202656793430.276726743626684
305026.45015.92572774179-7.27435489639141-1.148000850879820.230788389642405
314981.94994.28822275836-7.73710133025694-1.19094596564455-0.222329648932086
324936.64959.1862678843-8.62583191468598-1.26512980812008-0.423380072906137
334901.84923.89514309547-9.49972549682458-1.33281540232591-0.412340467095664
344853.84881.11154165411-10.600483135269-1.41319700064182-0.51442131335093
354839.24853.71370154465-11.1608565823508-1.45208597207154-0.259484310607536
364821.34831.42473889214-11.5351448259493-1.47686996952139-0.171825675587763
374840.54821.97921183989-11.493970552020616.90640572806780.0348561830104203
384847.64833.07608152098-10.5936620523992-1.192321335844870.323631836326698
394832.34828.7178721717-10.3645484152735-1.143799368654410.0947169818868356
404814.74816.93995147355-10.4146958793386-1.14984383833508-0.0217181582436447
414806.44807.10194153088-10.3944886624581-1.148310369878070.00888002545882972
424803.44801.12150788001-10.2402127964292-1.13991568028990.0679808057999533
434770.34779.93369030976-10.6234623472888-1.15671178147641-0.168568596759937
444723.44744.1031281593-11.5087600103807-1.19057816830156-0.388028109427032
454667.14696.36830817979-12.7858282955904-1.23526516505707-0.557501447177696
464636.84657.91846455601-13.693992055911-1.26505776241499-0.39485807596404
474613.24627.45351083-14.2896288802549-1.28360312143501-0.257972390446505
484605.34609.45499987759-14.4218063864337-1.28753249648963-0.0570379599019543
494590.44585.68370736332-14.690592012744511.8610365943848-0.152166559466435
504595.44585.77173710528-14.1155492070666-0.9024375107665590.215112129972145
514600.14588.27200498629-13.4966195237019-0.8056487157455230.252832685508591
524543.34557.47715011913-14.1292755672761-0.857572636303156-0.26539506355132
534596.44573.74552114996-13.0250079950831-0.8056624803408630.466972551917692
544575.44569.45393083107-12.7082971683058-0.7959722838567050.134167089967771
554547.94552.20478603692-12.8730270868432-0.799725318362162-0.069747584346914
564503.74519.67988900518-13.5867968666157-0.813212996599486-0.301805543393731
574446.34472.81351804017-14.7973245588424-0.833553046558098-0.511024527078402
584401.44426.53784002858-15.9440892498756-0.851365869837167-0.483308419391783
594354.34379.3050022044-17.0856435807132-0.868088638010555-0.480346257752973
604336.34348.08077961742-17.6022084784545-0.875295668671983-0.217035080785475
614300.94310.5159586293-18.25990551970315.57760980235188-0.320481753044903
624304.14299.38251516006-17.9871873007294-0.4374717497085120.104774640976001
634273.24277.00426070125-18.1512601180837-0.457845598393804-0.0669041909892866
644279.94270.9900352305-17.7022262164564-0.4302784158486370.186097201586637
654243.14247.7813007924-17.9051827343376-0.436838895497123-0.0845033395867627
664199.14212.75077266262-18.5356533254959-0.448772863013778-0.262793780183487
674177.64185.08826697949-18.871642344029-0.45303738543456-0.14003534667345
684141.74152.62985152738-19.3720150882607-0.457896460384156-0.208442686578474
694088.34108.13057092343-20.2979218331789-0.465497179045116-0.385462276827973
704021.44050.5819485702-21.6713934734684-0.475636421929197-0.571406479396246
713981.24002.23667992761-22.6554746340025-0.48239365574566-0.409143238660028
723937.23955.91992161083-23.5289086861618-0.488068429304409-0.362918286982217
733893.13909.28912787594-24.33677515371041.37531711702791-0.36776298990242
743864.73873.37853076706-24.7747642711293-0.221075061684391-0.171318983225133
753847.83848.2740518063-24.7870772367479-0.22234995771874-0.0050286878237221
763840.83833.38671599492-24.419379140814-0.2043154474911080.151760655016107
773828.43820.05356073458-24.0084861070055-0.1944049994446020.170051445117981
783798.63797.59757296445-23.9509870336277-0.1936726301311740.023811663770694
7937733773.39079519448-23.9604593452535-0.193743803209111-0.00392274323684168
803737.83742.97077027366-24.1996930433929-0.194959893719626-0.0990541824545416
8136993707.71365347936-24.609295065311-0.196565163135752-0.169551426175097
8236743678.07271283812-24.7957269950941-0.197186025804777-0.0771512610991383
833648.83650.85945592648-24.8853222914329-0.197455169425477-0.0370675811230856
843645.63637.17189697567-24.4702308538253-0.1962933980815180.171690063072867
8533313464.1626262889-29.8145947201488-20.2056813978768-2.35126642749571
863674.73571.16711689568-24.67382280596572.826362769061822.03506982636721
873714.53639.93838447661-21.18884664581963.136674842575631.42625349331553
883739.73685.27255962559-18.71530014924873.238187825119061.01971790467233
893759.73717.32382306727-16.82986613637173.274335768481370.778541985069368
903708.63703.22285487745-16.72856101511543.275272152961420.0418452467761451
913717.33702.04529963348-16.15132813651833.278001511498030.238433726134544
923705.33695.00480034223-15.81314097424723.278902759385630.139680953835726
933612.83639.83284840642-17.27421219726193.27640229633703-0.603399365897095
9436653644.68442974693-16.45278918354553.277437826605640.339197340756245
953670.83650.42884480989-15.62863830631773.278293374344480.340287574201854
963687.63662.77732947578-14.58979271927163.279248555941830.428890900467077
973708.23698.91116774695-12.7383642158587-29.30992450423740.799659750134901
983737.23713.86456218336-11.70246523235472.842314131821550.413382176070736
993748.73726.8769230786-10.78183456175472.914515664343120.377433671225846
1003785.33753.52898095237-9.389684258245952.963909831873260.573809504849862
1013787.13766.72685275197-8.550206932192672.977328045709160.346359913551384
1023785.83772.09782512833-8.032949430829062.981032433899840.21344529078557
1033749.73754.26592534717-8.397010726987982.9798772350301-0.150225560299583
1043716.33727.48047645809-9.080191099143792.97894027026352-0.281891973809933
10536503678.07335823246-10.57847617021822.97810274018223-0.618186515404454
1063096.93343.44011441721-22.61861985234792.97576896300269-4.96747893861799
1073703.23535.17637399307-14.65405335582582.97601524650133.2858477957693
10837163629.28229182626-10.61282498961332.975851210091731.66717477181149
1093736.93698.92214425193-7.66135931686059-23.14073135373511.2612966258618
1103771.93736.16588060261-5.98599121002292.363208316523760.672217261914803
11137043714.03772218068-6.586779679995622.32100371152399-0.246620957810436
1123824.23772.07173500598-4.183777448525832.39645744439610.990549014104982
1133733.53747.11314123031-4.956050387155032.38579914656267-0.318544513209349
1143827.53789.01752397614-3.214322176414372.395995485503030.718441917303306
1153827.63808.06225356391-2.387030526304472.397877119781890.341231315338384
1163696.53742.63963850554-4.72981358591532.39630837247136-0.9662824587332
1173675.83701.46474492625-6.084337591962782.39636599044295-0.558657363152632
1183757.53729.12361980848-4.830218549347782.395925266609960.517234636428009
1193753.33739.32832864711-4.271414771364492.395657933952010.230462376481164
1203418.73554.96255220884-10.96508081602672.39916265784697-2.76056339130113
1213772.93680.4810728295-5.92494736309601-11.60763619368452.13985547915509







Structural Time Series Model -- Extrapolation
tObservedLevelSeasonal
13711.428481262523699.5174304707911.9110507917295
23690.524578025343691.07923564133-0.554657615987239
33745.08334869843682.6410408118762.4423078865251
43717.668494467733674.2028459824143.4656484853127
53723.343515383493665.7646511529557.5788642305368
63693.52493823553657.326456323536.1984819120031
73641.870394742773648.88826149404-7.01786675126371
83624.050651193723640.45006666458-16.3994154708585
93526.778587685693632.01187183512-105.23328414943
103637.993494248363623.5736770056614.4198172427011
113530.568853522523615.1354821762-84.5666286536834
123594.452969439163606.69728734674-12.2443179075851

\begin{tabular}{lllllllll}
\hline
Structural Time Series Model -- Extrapolation \tabularnewline
t & Observed & Level & Seasonal \tabularnewline
1 & 3711.42848126252 & 3699.51743047079 & 11.9110507917295 \tabularnewline
2 & 3690.52457802534 & 3691.07923564133 & -0.554657615987239 \tabularnewline
3 & 3745.0833486984 & 3682.64104081187 & 62.4423078865251 \tabularnewline
4 & 3717.66849446773 & 3674.20284598241 & 43.4656484853127 \tabularnewline
5 & 3723.34351538349 & 3665.76465115295 & 57.5788642305368 \tabularnewline
6 & 3693.5249382355 & 3657.3264563235 & 36.1984819120031 \tabularnewline
7 & 3641.87039474277 & 3648.88826149404 & -7.01786675126371 \tabularnewline
8 & 3624.05065119372 & 3640.45006666458 & -16.3994154708585 \tabularnewline
9 & 3526.77858768569 & 3632.01187183512 & -105.23328414943 \tabularnewline
10 & 3637.99349424836 & 3623.57367700566 & 14.4198172427011 \tabularnewline
11 & 3530.56885352252 & 3615.1354821762 & -84.5666286536834 \tabularnewline
12 & 3594.45296943916 & 3606.69728734674 & -12.2443179075851 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=299721&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]3711.42848126252[/C][C]3699.51743047079[/C][C]11.9110507917295[/C][/ROW]
[ROW][C]2[/C][C]3690.52457802534[/C][C]3691.07923564133[/C][C]-0.554657615987239[/C][/ROW]
[ROW][C]3[/C][C]3745.0833486984[/C][C]3682.64104081187[/C][C]62.4423078865251[/C][/ROW]
[ROW][C]4[/C][C]3717.66849446773[/C][C]3674.20284598241[/C][C]43.4656484853127[/C][/ROW]
[ROW][C]5[/C][C]3723.34351538349[/C][C]3665.76465115295[/C][C]57.5788642305368[/C][/ROW]
[ROW][C]6[/C][C]3693.5249382355[/C][C]3657.3264563235[/C][C]36.1984819120031[/C][/ROW]
[ROW][C]7[/C][C]3641.87039474277[/C][C]3648.88826149404[/C][C]-7.01786675126371[/C][/ROW]
[ROW][C]8[/C][C]3624.05065119372[/C][C]3640.45006666458[/C][C]-16.3994154708585[/C][/ROW]
[ROW][C]9[/C][C]3526.77858768569[/C][C]3632.01187183512[/C][C]-105.23328414943[/C][/ROW]
[ROW][C]10[/C][C]3637.99349424836[/C][C]3623.57367700566[/C][C]14.4198172427011[/C][/ROW]
[ROW][C]11[/C][C]3530.56885352252[/C][C]3615.1354821762[/C][C]-84.5666286536834[/C][/ROW]
[ROW][C]12[/C][C]3594.45296943916[/C][C]3606.69728734674[/C][C]-12.2443179075851[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=299721&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=299721&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
13711.428481262523699.5174304707911.9110507917295
23690.524578025343691.07923564133-0.554657615987239
33745.08334869843682.6410408118762.4423078865251
43717.668494467733674.2028459824143.4656484853127
53723.343515383493665.7646511529557.5788642305368
63693.52493823553657.326456323536.1984819120031
73641.870394742773648.88826149404-7.01786675126371
83624.050651193723640.45006666458-16.3994154708585
93526.778587685693632.01187183512-105.23328414943
103637.993494248363623.5736770056614.4198172427011
113530.568853522523615.1354821762-84.5666286536834
123594.452969439163606.69728734674-12.2443179075851



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