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 computationFri, 09 Dec 2016 16:09:46 +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/09/t14812966088auagvrisozjbvx.htm/, Retrieved Fri, 17 May 2024 14:03:35 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=298572, Retrieved Fri, 17 May 2024 14:03:35 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact62
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-       [Structural Time Series Models] [Time series ] [2016-12-09 15:09:46] [9fb47d69755d1f4b66b6f2591280f9e0] [Current]
Feedback Forum

Post a new message
Dataseries X:
4307.5
4234
5156.5
4844
4606
4850
4294
3190
3811.5
4160.5
4538.5
3792.5
4660
3504.5
3521
4560
4549
3543
2996
3762
4156.5
4525
4058
4871.5
4870
4953
5028.5
5252.5
4907
4641
5447.5
4544.5
4493
5522
3896.5
3108.5
4415
2912.5
3536
3183
3643.5
3412
3202.5
3374.5
3226.5
3927.5
3498.5
3614.5
3740
2857.5
4100
3684
3601.5
3663.5
2586.5
2825
2866.5
2722
2164
2113.5
2379
2811
3539
3474
3909.5
4049.5
3156.5
3435
3058.5
4103
3726.5
4703.5
4020.5
3636
4289
5570.5
5283
4618
4765
3937.5
4717.5
4206.5
4506.5
4306
5281.5
5495.5
5304
5935
5974
9239
6054.5
6072
6279
5260
5966
6764.5
8028.5
6063.5
7531.5
7347
6571
7337.5
7519.5
7358
4746
5173.5
6433.5
4508
4912.5
6246
7557.5
7111
6304.5
6166
5735
4583
4657.5
4712.5
5647
5277
4812.5
4702
6047
5470
4540.5
5112.5




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=298572&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=298572&T=0

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=298572&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
14307.54307.5000
242344264.26604387529-3.45428114239469-3.76820904446617-0.0836026377117751
35156.54734.8522093259820.638155856805728.85572787156471.12568788327509
448444791.5984388213521.890950520822319.54442844549980.091410442329687
546064698.1151869124518.826853014723716.4748044812447-0.298818226475757
648504773.7784321946420.100740821515121.97172733275230.148588320543931
742944534.0045807140914.84512043503689.64058538774695-0.682265432194513
831903861.443259468621.79021467535258-9.00595766857333-1.8083770283014
93811.53833.978394990131.256858906959835.76114084109895-0.0770430377880064
104160.53996.935759034134.119964227587657.326559033355880.426086339493365
114538.54267.962837569738.7377618670376912.48752560899230.70356201020949
123792.54031.547296100774.5800877578185-1.92354020226843-0.646379335855062
1346604252.51804450932-15.1992928569228175.1438955084740.747891757080064
143504.53843.19113005367-28.9940706118583-46.594278509306-0.862008652159634
1535213672.16277001803-32.3188687206708-25.4739377458912-0.352813971905985
1645604118.08662626383-24.5852730806941-6.737588893612071.23791975707873
1745494338.0900600207-21.5281653759271-23.05772182748070.641740312934661
1835433941.99838572183-25.5173838697474-38.0246769430433-0.987762778292918
1929963467.30978781916-29.8756521720689-37.0578243533978-1.18703876694209
2037623615.25604590006-28.2398184971071-25.42539130578320.470393957486006
214156.53883.77259899593-25.5943202087324-14.80643753992740.785386899635162
2245254204.26634307623-22.5697305550677-14.72979635022280.91617566698005
2340584130.57515332914-23.0102742861551-23.0116691106769-0.13534992226209
244871.54502.38864064038-19.7860544231679-13.87664736532541.04544747165337
2548704546.17871857168-22.4875358956669258.8880056971530.193271463801365
2649534772.04650877957-16.9566579690278-24.03303337206240.586917941006654
275028.54906.81768251163-14.5888894315417-16.40788268343220.385558521578159
285252.55074.85585416886-12.61779035569114.912724650521540.476928070085265
2949074989.66712340608-13.2227897258201-13.1257459122796-0.191250917652643
3046414816.63873358141-14.3589494554743-21.7394654509286-0.422583355860891
315447.55131.70719763943-12.2208813946899-2.131114657775980.872365870818644
324544.54846.98962330114-13.9021595406664-39.2525879480159-0.722072965043228
3344934668.05197090678-14.8919589381454-15.5488592876491-0.437454897285813
3455225082.71019503448-12.357731394932424.03723314003751.13878217690606
353896.54506.17378406636-15.6466659309505-64.1919861342882-1.49584004593081
363108.53808.1905853789-19.1301061181894-39.4562885668306-1.80929836163444
3744153957.56298544741-23.6877633140471288.5839611602620.489174599721251
382912.53424.83819310745-31.8394422636018-72.073314956605-1.24683474034519
3935363478.86739563959-30.8146536196058-21.8352744794350.220485703403657
4031833323.35502236444-31.8476205347591-22.2611797982212-0.326968850461094
413643.53476.04616020763-30.6704239308126-9.101978894181160.487328401320258
4234123456.31247610005-30.6110211075389-54.81667753478970.0289582048133813
433202.53321.606947149-31.1271798947786-18.9661264696518-0.275923547911555
443374.53355.53461459644-30.8201958317504-43.66504024298890.172526527854165
453226.53301.45126904167-30.9270856414552-52.5470676278278-0.0617090142523857
463927.53580.7853162244-29.521764949835747.85485341894760.823118091993437
473498.53555.74049520826-29.5017762235984-61.55349947488210.0118781938951686
483614.53595.83190567152-29.2592524381658-48.44462970760840.184670207915549
4937403482.1974178563-27.6256846021475341.39524105325-0.239085992997071
502857.53187.19210937657-30.9051405240661-92.4424343618301-0.668735162620353
5141003629.25561951598-26.26739650348633.83096462183541.22168726149674
5236843661.97822394031-25.8627698986213-33.79709959889260.15502610535419
533601.53622.56630710811-25.9340755844432-8.13458992214333-0.0358219945894009
543663.53651.19311826084-25.6903103827031-39.93779502619160.144573161548044
552586.53125.84130720143-27.726400770239-60.2394363588418-1.32519755950569
5628252976.07388144514-28.199864419722-33.9826800994636-0.323809079657891
572866.52937.29037300246-28.2398946908721-60.6330220902738-0.0280869392340179
5827222793.44669555419-28.671520796336539.5173222358533-0.30682275205648
5921642500.5536296702-29.6364229246585-82.8996565944922-0.701316586818381
602113.52313.24758277004-30.0246877476-48.2019998011508-0.418587719013502
6123792152.89376654291-28.1078814072027354.177939182714-0.363760965644613
6228112526.92404521754-24.1824172914043-78.42322273204521.01965439267347
6335393005.2531470917-19.957701261081168.56323266532931.30304120415653
6434743246.98455801654-18.3994252618803-20.23013592480940.688679471856391
653909.53567.834946626-16.854528979330518.67939627025190.897577394205425
664049.53802.05840819357-15.8875783379647.707376489250270.665610748331816
673156.53504.44141834035-16.8755604943064-78.6182732862977-0.747470599311833
6834353468.53844991965-16.9390897125215-15.3392300551168-0.0505006642898573
693058.53280.48964049165-17.4966439657994-58.2865533964207-0.454220972087722
7041033637.21083745632-16.292361516197107.7224121631720.993478826973968
713726.53707.48948172036-16.0235873895644-63.83849915048280.229844786325324
724703.54204.98837831243-15.12041855744826.410250534394541.363811764535
734020.54020.70905833722-13.1637869842941164.96798224907-0.467257216988909
7436363874.53717428959-14.2244563604366-117.376848172732-0.34052240960503
7542894040.09232113648-12.893021732765382.2974135625770.467477317821986
765570.54800.69175035547-8.7668279740028840.19845205701732.03745947557802
7752835039.06856297585-7.760633487510629.172526418050620.654199855125035
7846184819.53707834922-8.486620780452360.158596373140455-0.561587938207557
7947654818.07184549582-8.46475103607778-59.76649708033940.0186334736048511
803937.54383.62625667202-9.72768468310508-39.7729073981047-1.1308406616609
814717.54568.16286784303-9.16514462553818-36.01778004261830.515789231501858
824206.54337.57006057932-9.7978960340433380.2287427425999-0.58796299747393
834506.54453.90628001849-9.45690303728446-67.79576257294660.334947390062745
8443064370.22012970619-9.549870308999986.7293121522521-0.19719551721779
855281.54719.04516787289-12.8821291721895214.3165257335360.982432955468654
865495.55168.98463536744-9.80792189762456-98.17365629780381.19333950579013
8753045223.38083716529-9.38147393531921.07556232655220.167306782509303
8859355555.69476273374-7.7129408421619857.48208894847920.900644748100608
8959745750.36754402173-6.9588862895555731.76996586430690.53590141450619
9092397441.27195109694-1.65604115582503184.0911082327024.50353902169783
916054.56812.59246412885-3.43051245053637-161.562794294137-1.66430950442918
9260726465.02413176488-4.35703478124616-65.476807978388-0.913720012611609
9362796372.95137285983-4.58780232366508-10.4471065356266-0.232927848996494
9452605790.51753219113-6.0843373372879219.6528246160795-1.53459271631342
9559665889.61643445047-5.8328926752412-23.78664618060730.279351496013106
966764.56320.81698267799-5.4480889896754626.86564888808241.16129679834936
978028.57064.3614931302-11.1281536091653239.6563515472352.0414489851327
986063.56630.76805168855-13.5020388917342-177.555235122616-1.09516061549251
997531.57059.81568326568-10.833025492113461.01833877145691.15523170140792
10073477185.65211745223-10.212875423203932.79477155718230.360407171319553
10165716930.62408863897-11.0619941130281-127.92793521246-0.648403515432599
1027337.57011.51329421008-10.7957850248509238.7522894274770.243939268976298
1037519.57323.01883814522-9.95292170844073-109.5875711939680.855603645608057
10473587370.79242559626-9.80942714510046-67.63468440579330.153288500071178
10547466085.20738989567-12.9081799968326-126.93843365503-3.38819748790601
1065173.55610.73466577363-14.00708060311111.41006742151055-1.22592098899005
1076433.56020.84436198452-13.10124455277279.485805722515371.12651294723491
10845085299.11411536732-13.5302976272649-116.47880357283-1.88337757006889
1094912.54963.33263159903-11.5175372716816259.74701345103-0.874379009113638
11062465682.90085552224-7.99645845247634-113.9628546471431.90310756094155
1117557.56579.33005490169-2.99992321239639138.4261153052652.36439312152177
11271116826.52088784122-1.9337859554203449.40041947275520.660015265768186
1136304.56643.1915230696-2.52692484152607-167.256366516935-0.480515545465334
11461666303.36303985318-3.44415183075101182.167385261503-0.894947200557442
11557356070.06742692112-4.00684359206719-117.117757629792-0.610245767928431
11645835327.95049936229-5.72226310987121-44.7750757324671-1.96019020989923
1174657.55028.85503338498-6.38799145320047-93.0070068871032-0.77921212062565
1184712.54873.64528929128-6.7169802602116-19.9262353769378-0.3953082688093
11956475204.62581475093-6.06781952826181121.8286695395040.897046822287723
12052775290.29228332401-6.03087092956983-100.4970306743490.243851328537442
1214812.54987.84781013945-4.49600502681837109.452523910731-0.801393132384086
12247024933.10890150951-4.70582239171371-184.439692684554-0.131217361575801
12360475414.33522807887-2.23063187990915181.2176192045431.2719756009395
12454705419.12850195431-2.2023126940024844.27756117344810.0185349818228087
1254540.55064.00595617489-3.30054883410677-190.348839357955-0.934999495888421
1265112.54981.02247832796-3.50616545284423206.871672638487-0.211439390917082

\begin{tabular}{lllllllll}
\hline
Structural Time Series Model -- Interpolation \tabularnewline
t & Observed & Level & Slope & Seasonal & Stand. Residuals \tabularnewline
1 & 4307.5 & 4307.5 & 0 & 0 & 0 \tabularnewline
2 & 4234 & 4264.26604387529 & -3.45428114239469 & -3.76820904446617 & -0.0836026377117751 \tabularnewline
3 & 5156.5 & 4734.85220932598 & 20.6381558568057 & 28.8557278715647 & 1.12568788327509 \tabularnewline
4 & 4844 & 4791.59843882135 & 21.8909505208223 & 19.5444284454998 & 0.091410442329687 \tabularnewline
5 & 4606 & 4698.11518691245 & 18.8268530147237 & 16.4748044812447 & -0.298818226475757 \tabularnewline
6 & 4850 & 4773.77843219464 & 20.1007408215151 & 21.9717273327523 & 0.148588320543931 \tabularnewline
7 & 4294 & 4534.00458071409 & 14.8451204350368 & 9.64058538774695 & -0.682265432194513 \tabularnewline
8 & 3190 & 3861.44325946862 & 1.79021467535258 & -9.00595766857333 & -1.8083770283014 \tabularnewline
9 & 3811.5 & 3833.97839499013 & 1.25685890695983 & 5.76114084109895 & -0.0770430377880064 \tabularnewline
10 & 4160.5 & 3996.93575903413 & 4.11996422758765 & 7.32655903335588 & 0.426086339493365 \tabularnewline
11 & 4538.5 & 4267.96283756973 & 8.73776186703769 & 12.4875256089923 & 0.70356201020949 \tabularnewline
12 & 3792.5 & 4031.54729610077 & 4.5800877578185 & -1.92354020226843 & -0.646379335855062 \tabularnewline
13 & 4660 & 4252.51804450932 & -15.1992928569228 & 175.143895508474 & 0.747891757080064 \tabularnewline
14 & 3504.5 & 3843.19113005367 & -28.9940706118583 & -46.594278509306 & -0.862008652159634 \tabularnewline
15 & 3521 & 3672.16277001803 & -32.3188687206708 & -25.4739377458912 & -0.352813971905985 \tabularnewline
16 & 4560 & 4118.08662626383 & -24.5852730806941 & -6.73758889361207 & 1.23791975707873 \tabularnewline
17 & 4549 & 4338.0900600207 & -21.5281653759271 & -23.0577218274807 & 0.641740312934661 \tabularnewline
18 & 3543 & 3941.99838572183 & -25.5173838697474 & -38.0246769430433 & -0.987762778292918 \tabularnewline
19 & 2996 & 3467.30978781916 & -29.8756521720689 & -37.0578243533978 & -1.18703876694209 \tabularnewline
20 & 3762 & 3615.25604590006 & -28.2398184971071 & -25.4253913057832 & 0.470393957486006 \tabularnewline
21 & 4156.5 & 3883.77259899593 & -25.5943202087324 & -14.8064375399274 & 0.785386899635162 \tabularnewline
22 & 4525 & 4204.26634307623 & -22.5697305550677 & -14.7297963502228 & 0.91617566698005 \tabularnewline
23 & 4058 & 4130.57515332914 & -23.0102742861551 & -23.0116691106769 & -0.13534992226209 \tabularnewline
24 & 4871.5 & 4502.38864064038 & -19.7860544231679 & -13.8766473653254 & 1.04544747165337 \tabularnewline
25 & 4870 & 4546.17871857168 & -22.4875358956669 & 258.888005697153 & 0.193271463801365 \tabularnewline
26 & 4953 & 4772.04650877957 & -16.9566579690278 & -24.0330333720624 & 0.586917941006654 \tabularnewline
27 & 5028.5 & 4906.81768251163 & -14.5888894315417 & -16.4078826834322 & 0.385558521578159 \tabularnewline
28 & 5252.5 & 5074.85585416886 & -12.6177903556911 & 4.91272465052154 & 0.476928070085265 \tabularnewline
29 & 4907 & 4989.66712340608 & -13.2227897258201 & -13.1257459122796 & -0.191250917652643 \tabularnewline
30 & 4641 & 4816.63873358141 & -14.3589494554743 & -21.7394654509286 & -0.422583355860891 \tabularnewline
31 & 5447.5 & 5131.70719763943 & -12.2208813946899 & -2.13111465777598 & 0.872365870818644 \tabularnewline
32 & 4544.5 & 4846.98962330114 & -13.9021595406664 & -39.2525879480159 & -0.722072965043228 \tabularnewline
33 & 4493 & 4668.05197090678 & -14.8919589381454 & -15.5488592876491 & -0.437454897285813 \tabularnewline
34 & 5522 & 5082.71019503448 & -12.3577313949324 & 24.0372331400375 & 1.13878217690606 \tabularnewline
35 & 3896.5 & 4506.17378406636 & -15.6466659309505 & -64.1919861342882 & -1.49584004593081 \tabularnewline
36 & 3108.5 & 3808.1905853789 & -19.1301061181894 & -39.4562885668306 & -1.80929836163444 \tabularnewline
37 & 4415 & 3957.56298544741 & -23.6877633140471 & 288.583961160262 & 0.489174599721251 \tabularnewline
38 & 2912.5 & 3424.83819310745 & -31.8394422636018 & -72.073314956605 & -1.24683474034519 \tabularnewline
39 & 3536 & 3478.86739563959 & -30.8146536196058 & -21.835274479435 & 0.220485703403657 \tabularnewline
40 & 3183 & 3323.35502236444 & -31.8476205347591 & -22.2611797982212 & -0.326968850461094 \tabularnewline
41 & 3643.5 & 3476.04616020763 & -30.6704239308126 & -9.10197889418116 & 0.487328401320258 \tabularnewline
42 & 3412 & 3456.31247610005 & -30.6110211075389 & -54.8166775347897 & 0.0289582048133813 \tabularnewline
43 & 3202.5 & 3321.606947149 & -31.1271798947786 & -18.9661264696518 & -0.275923547911555 \tabularnewline
44 & 3374.5 & 3355.53461459644 & -30.8201958317504 & -43.6650402429889 & 0.172526527854165 \tabularnewline
45 & 3226.5 & 3301.45126904167 & -30.9270856414552 & -52.5470676278278 & -0.0617090142523857 \tabularnewline
46 & 3927.5 & 3580.7853162244 & -29.5217649498357 & 47.8548534189476 & 0.823118091993437 \tabularnewline
47 & 3498.5 & 3555.74049520826 & -29.5017762235984 & -61.5534994748821 & 0.0118781938951686 \tabularnewline
48 & 3614.5 & 3595.83190567152 & -29.2592524381658 & -48.4446297076084 & 0.184670207915549 \tabularnewline
49 & 3740 & 3482.1974178563 & -27.6256846021475 & 341.39524105325 & -0.239085992997071 \tabularnewline
50 & 2857.5 & 3187.19210937657 & -30.9051405240661 & -92.4424343618301 & -0.668735162620353 \tabularnewline
51 & 4100 & 3629.25561951598 & -26.267396503486 & 33.8309646218354 & 1.22168726149674 \tabularnewline
52 & 3684 & 3661.97822394031 & -25.8627698986213 & -33.7970995988926 & 0.15502610535419 \tabularnewline
53 & 3601.5 & 3622.56630710811 & -25.9340755844432 & -8.13458992214333 & -0.0358219945894009 \tabularnewline
54 & 3663.5 & 3651.19311826084 & -25.6903103827031 & -39.9377950261916 & 0.144573161548044 \tabularnewline
55 & 2586.5 & 3125.84130720143 & -27.726400770239 & -60.2394363588418 & -1.32519755950569 \tabularnewline
56 & 2825 & 2976.07388144514 & -28.199864419722 & -33.9826800994636 & -0.323809079657891 \tabularnewline
57 & 2866.5 & 2937.29037300246 & -28.2398946908721 & -60.6330220902738 & -0.0280869392340179 \tabularnewline
58 & 2722 & 2793.44669555419 & -28.6715207963365 & 39.5173222358533 & -0.30682275205648 \tabularnewline
59 & 2164 & 2500.5536296702 & -29.6364229246585 & -82.8996565944922 & -0.701316586818381 \tabularnewline
60 & 2113.5 & 2313.24758277004 & -30.0246877476 & -48.2019998011508 & -0.418587719013502 \tabularnewline
61 & 2379 & 2152.89376654291 & -28.1078814072027 & 354.177939182714 & -0.363760965644613 \tabularnewline
62 & 2811 & 2526.92404521754 & -24.1824172914043 & -78.4232227320452 & 1.01965439267347 \tabularnewline
63 & 3539 & 3005.2531470917 & -19.9577012610811 & 68.5632326653293 & 1.30304120415653 \tabularnewline
64 & 3474 & 3246.98455801654 & -18.3994252618803 & -20.2301359248094 & 0.688679471856391 \tabularnewline
65 & 3909.5 & 3567.834946626 & -16.8545289793305 & 18.6793962702519 & 0.897577394205425 \tabularnewline
66 & 4049.5 & 3802.05840819357 & -15.887578337964 & 7.70737648925027 & 0.665610748331816 \tabularnewline
67 & 3156.5 & 3504.44141834035 & -16.8755604943064 & -78.6182732862977 & -0.747470599311833 \tabularnewline
68 & 3435 & 3468.53844991965 & -16.9390897125215 & -15.3392300551168 & -0.0505006642898573 \tabularnewline
69 & 3058.5 & 3280.48964049165 & -17.4966439657994 & -58.2865533964207 & -0.454220972087722 \tabularnewline
70 & 4103 & 3637.21083745632 & -16.292361516197 & 107.722412163172 & 0.993478826973968 \tabularnewline
71 & 3726.5 & 3707.48948172036 & -16.0235873895644 & -63.8384991504828 & 0.229844786325324 \tabularnewline
72 & 4703.5 & 4204.98837831243 & -15.1204185574482 & 6.41025053439454 & 1.363811764535 \tabularnewline
73 & 4020.5 & 4020.70905833722 & -13.1637869842941 & 164.96798224907 & -0.467257216988909 \tabularnewline
74 & 3636 & 3874.53717428959 & -14.2244563604366 & -117.376848172732 & -0.34052240960503 \tabularnewline
75 & 4289 & 4040.09232113648 & -12.8930217327653 & 82.297413562577 & 0.467477317821986 \tabularnewline
76 & 5570.5 & 4800.69175035547 & -8.76682797400288 & 40.1984520570173 & 2.03745947557802 \tabularnewline
77 & 5283 & 5039.06856297585 & -7.76063348751062 & 9.17252641805062 & 0.654199855125035 \tabularnewline
78 & 4618 & 4819.53707834922 & -8.48662078045236 & 0.158596373140455 & -0.561587938207557 \tabularnewline
79 & 4765 & 4818.07184549582 & -8.46475103607778 & -59.7664970803394 & 0.0186334736048511 \tabularnewline
80 & 3937.5 & 4383.62625667202 & -9.72768468310508 & -39.7729073981047 & -1.1308406616609 \tabularnewline
81 & 4717.5 & 4568.16286784303 & -9.16514462553818 & -36.0177800426183 & 0.515789231501858 \tabularnewline
82 & 4206.5 & 4337.57006057932 & -9.79789603404333 & 80.2287427425999 & -0.58796299747393 \tabularnewline
83 & 4506.5 & 4453.90628001849 & -9.45690303728446 & -67.7957625729466 & 0.334947390062745 \tabularnewline
84 & 4306 & 4370.22012970619 & -9.54987030899998 & 6.7293121522521 & -0.19719551721779 \tabularnewline
85 & 5281.5 & 4719.04516787289 & -12.8821291721895 & 214.316525733536 & 0.982432955468654 \tabularnewline
86 & 5495.5 & 5168.98463536744 & -9.80792189762456 & -98.1736562978038 & 1.19333950579013 \tabularnewline
87 & 5304 & 5223.38083716529 & -9.381473935319 & 21.0755623265522 & 0.167306782509303 \tabularnewline
88 & 5935 & 5555.69476273374 & -7.71294084216198 & 57.4820889484792 & 0.900644748100608 \tabularnewline
89 & 5974 & 5750.36754402173 & -6.95888628955557 & 31.7699658643069 & 0.53590141450619 \tabularnewline
90 & 9239 & 7441.27195109694 & -1.65604115582503 & 184.091108232702 & 4.50353902169783 \tabularnewline
91 & 6054.5 & 6812.59246412885 & -3.43051245053637 & -161.562794294137 & -1.66430950442918 \tabularnewline
92 & 6072 & 6465.02413176488 & -4.35703478124616 & -65.476807978388 & -0.913720012611609 \tabularnewline
93 & 6279 & 6372.95137285983 & -4.58780232366508 & -10.4471065356266 & -0.232927848996494 \tabularnewline
94 & 5260 & 5790.51753219113 & -6.08433733728792 & 19.6528246160795 & -1.53459271631342 \tabularnewline
95 & 5966 & 5889.61643445047 & -5.8328926752412 & -23.7866461806073 & 0.279351496013106 \tabularnewline
96 & 6764.5 & 6320.81698267799 & -5.44808898967546 & 26.8656488880824 & 1.16129679834936 \tabularnewline
97 & 8028.5 & 7064.3614931302 & -11.1281536091653 & 239.656351547235 & 2.0414489851327 \tabularnewline
98 & 6063.5 & 6630.76805168855 & -13.5020388917342 & -177.555235122616 & -1.09516061549251 \tabularnewline
99 & 7531.5 & 7059.81568326568 & -10.8330254921134 & 61.0183387714569 & 1.15523170140792 \tabularnewline
100 & 7347 & 7185.65211745223 & -10.2128754232039 & 32.7947715571823 & 0.360407171319553 \tabularnewline
101 & 6571 & 6930.62408863897 & -11.0619941130281 & -127.92793521246 & -0.648403515432599 \tabularnewline
102 & 7337.5 & 7011.51329421008 & -10.7957850248509 & 238.752289427477 & 0.243939268976298 \tabularnewline
103 & 7519.5 & 7323.01883814522 & -9.95292170844073 & -109.587571193968 & 0.855603645608057 \tabularnewline
104 & 7358 & 7370.79242559626 & -9.80942714510046 & -67.6346844057933 & 0.153288500071178 \tabularnewline
105 & 4746 & 6085.20738989567 & -12.9081799968326 & -126.93843365503 & -3.38819748790601 \tabularnewline
106 & 5173.5 & 5610.73466577363 & -14.0070806031111 & 1.41006742151055 & -1.22592098899005 \tabularnewline
107 & 6433.5 & 6020.84436198452 & -13.1012445527727 & 9.48580572251537 & 1.12651294723491 \tabularnewline
108 & 4508 & 5299.11411536732 & -13.5302976272649 & -116.47880357283 & -1.88337757006889 \tabularnewline
109 & 4912.5 & 4963.33263159903 & -11.5175372716816 & 259.74701345103 & -0.874379009113638 \tabularnewline
110 & 6246 & 5682.90085552224 & -7.99645845247634 & -113.962854647143 & 1.90310756094155 \tabularnewline
111 & 7557.5 & 6579.33005490169 & -2.99992321239639 & 138.426115305265 & 2.36439312152177 \tabularnewline
112 & 7111 & 6826.52088784122 & -1.93378595542034 & 49.4004194727552 & 0.660015265768186 \tabularnewline
113 & 6304.5 & 6643.1915230696 & -2.52692484152607 & -167.256366516935 & -0.480515545465334 \tabularnewline
114 & 6166 & 6303.36303985318 & -3.44415183075101 & 182.167385261503 & -0.894947200557442 \tabularnewline
115 & 5735 & 6070.06742692112 & -4.00684359206719 & -117.117757629792 & -0.610245767928431 \tabularnewline
116 & 4583 & 5327.95049936229 & -5.72226310987121 & -44.7750757324671 & -1.96019020989923 \tabularnewline
117 & 4657.5 & 5028.85503338498 & -6.38799145320047 & -93.0070068871032 & -0.77921212062565 \tabularnewline
118 & 4712.5 & 4873.64528929128 & -6.7169802602116 & -19.9262353769378 & -0.3953082688093 \tabularnewline
119 & 5647 & 5204.62581475093 & -6.06781952826181 & 121.828669539504 & 0.897046822287723 \tabularnewline
120 & 5277 & 5290.29228332401 & -6.03087092956983 & -100.497030674349 & 0.243851328537442 \tabularnewline
121 & 4812.5 & 4987.84781013945 & -4.49600502681837 & 109.452523910731 & -0.801393132384086 \tabularnewline
122 & 4702 & 4933.10890150951 & -4.70582239171371 & -184.439692684554 & -0.131217361575801 \tabularnewline
123 & 6047 & 5414.33522807887 & -2.23063187990915 & 181.217619204543 & 1.2719756009395 \tabularnewline
124 & 5470 & 5419.12850195431 & -2.20231269400248 & 44.2775611734481 & 0.0185349818228087 \tabularnewline
125 & 4540.5 & 5064.00595617489 & -3.30054883410677 & -190.348839357955 & -0.934999495888421 \tabularnewline
126 & 5112.5 & 4981.02247832796 & -3.50616545284423 & 206.871672638487 & -0.211439390917082 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=298572&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]4307.5[/C][C]4307.5[/C][C]0[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]2[/C][C]4234[/C][C]4264.26604387529[/C][C]-3.45428114239469[/C][C]-3.76820904446617[/C][C]-0.0836026377117751[/C][/ROW]
[ROW][C]3[/C][C]5156.5[/C][C]4734.85220932598[/C][C]20.6381558568057[/C][C]28.8557278715647[/C][C]1.12568788327509[/C][/ROW]
[ROW][C]4[/C][C]4844[/C][C]4791.59843882135[/C][C]21.8909505208223[/C][C]19.5444284454998[/C][C]0.091410442329687[/C][/ROW]
[ROW][C]5[/C][C]4606[/C][C]4698.11518691245[/C][C]18.8268530147237[/C][C]16.4748044812447[/C][C]-0.298818226475757[/C][/ROW]
[ROW][C]6[/C][C]4850[/C][C]4773.77843219464[/C][C]20.1007408215151[/C][C]21.9717273327523[/C][C]0.148588320543931[/C][/ROW]
[ROW][C]7[/C][C]4294[/C][C]4534.00458071409[/C][C]14.8451204350368[/C][C]9.64058538774695[/C][C]-0.682265432194513[/C][/ROW]
[ROW][C]8[/C][C]3190[/C][C]3861.44325946862[/C][C]1.79021467535258[/C][C]-9.00595766857333[/C][C]-1.8083770283014[/C][/ROW]
[ROW][C]9[/C][C]3811.5[/C][C]3833.97839499013[/C][C]1.25685890695983[/C][C]5.76114084109895[/C][C]-0.0770430377880064[/C][/ROW]
[ROW][C]10[/C][C]4160.5[/C][C]3996.93575903413[/C][C]4.11996422758765[/C][C]7.32655903335588[/C][C]0.426086339493365[/C][/ROW]
[ROW][C]11[/C][C]4538.5[/C][C]4267.96283756973[/C][C]8.73776186703769[/C][C]12.4875256089923[/C][C]0.70356201020949[/C][/ROW]
[ROW][C]12[/C][C]3792.5[/C][C]4031.54729610077[/C][C]4.5800877578185[/C][C]-1.92354020226843[/C][C]-0.646379335855062[/C][/ROW]
[ROW][C]13[/C][C]4660[/C][C]4252.51804450932[/C][C]-15.1992928569228[/C][C]175.143895508474[/C][C]0.747891757080064[/C][/ROW]
[ROW][C]14[/C][C]3504.5[/C][C]3843.19113005367[/C][C]-28.9940706118583[/C][C]-46.594278509306[/C][C]-0.862008652159634[/C][/ROW]
[ROW][C]15[/C][C]3521[/C][C]3672.16277001803[/C][C]-32.3188687206708[/C][C]-25.4739377458912[/C][C]-0.352813971905985[/C][/ROW]
[ROW][C]16[/C][C]4560[/C][C]4118.08662626383[/C][C]-24.5852730806941[/C][C]-6.73758889361207[/C][C]1.23791975707873[/C][/ROW]
[ROW][C]17[/C][C]4549[/C][C]4338.0900600207[/C][C]-21.5281653759271[/C][C]-23.0577218274807[/C][C]0.641740312934661[/C][/ROW]
[ROW][C]18[/C][C]3543[/C][C]3941.99838572183[/C][C]-25.5173838697474[/C][C]-38.0246769430433[/C][C]-0.987762778292918[/C][/ROW]
[ROW][C]19[/C][C]2996[/C][C]3467.30978781916[/C][C]-29.8756521720689[/C][C]-37.0578243533978[/C][C]-1.18703876694209[/C][/ROW]
[ROW][C]20[/C][C]3762[/C][C]3615.25604590006[/C][C]-28.2398184971071[/C][C]-25.4253913057832[/C][C]0.470393957486006[/C][/ROW]
[ROW][C]21[/C][C]4156.5[/C][C]3883.77259899593[/C][C]-25.5943202087324[/C][C]-14.8064375399274[/C][C]0.785386899635162[/C][/ROW]
[ROW][C]22[/C][C]4525[/C][C]4204.26634307623[/C][C]-22.5697305550677[/C][C]-14.7297963502228[/C][C]0.91617566698005[/C][/ROW]
[ROW][C]23[/C][C]4058[/C][C]4130.57515332914[/C][C]-23.0102742861551[/C][C]-23.0116691106769[/C][C]-0.13534992226209[/C][/ROW]
[ROW][C]24[/C][C]4871.5[/C][C]4502.38864064038[/C][C]-19.7860544231679[/C][C]-13.8766473653254[/C][C]1.04544747165337[/C][/ROW]
[ROW][C]25[/C][C]4870[/C][C]4546.17871857168[/C][C]-22.4875358956669[/C][C]258.888005697153[/C][C]0.193271463801365[/C][/ROW]
[ROW][C]26[/C][C]4953[/C][C]4772.04650877957[/C][C]-16.9566579690278[/C][C]-24.0330333720624[/C][C]0.586917941006654[/C][/ROW]
[ROW][C]27[/C][C]5028.5[/C][C]4906.81768251163[/C][C]-14.5888894315417[/C][C]-16.4078826834322[/C][C]0.385558521578159[/C][/ROW]
[ROW][C]28[/C][C]5252.5[/C][C]5074.85585416886[/C][C]-12.6177903556911[/C][C]4.91272465052154[/C][C]0.476928070085265[/C][/ROW]
[ROW][C]29[/C][C]4907[/C][C]4989.66712340608[/C][C]-13.2227897258201[/C][C]-13.1257459122796[/C][C]-0.191250917652643[/C][/ROW]
[ROW][C]30[/C][C]4641[/C][C]4816.63873358141[/C][C]-14.3589494554743[/C][C]-21.7394654509286[/C][C]-0.422583355860891[/C][/ROW]
[ROW][C]31[/C][C]5447.5[/C][C]5131.70719763943[/C][C]-12.2208813946899[/C][C]-2.13111465777598[/C][C]0.872365870818644[/C][/ROW]
[ROW][C]32[/C][C]4544.5[/C][C]4846.98962330114[/C][C]-13.9021595406664[/C][C]-39.2525879480159[/C][C]-0.722072965043228[/C][/ROW]
[ROW][C]33[/C][C]4493[/C][C]4668.05197090678[/C][C]-14.8919589381454[/C][C]-15.5488592876491[/C][C]-0.437454897285813[/C][/ROW]
[ROW][C]34[/C][C]5522[/C][C]5082.71019503448[/C][C]-12.3577313949324[/C][C]24.0372331400375[/C][C]1.13878217690606[/C][/ROW]
[ROW][C]35[/C][C]3896.5[/C][C]4506.17378406636[/C][C]-15.6466659309505[/C][C]-64.1919861342882[/C][C]-1.49584004593081[/C][/ROW]
[ROW][C]36[/C][C]3108.5[/C][C]3808.1905853789[/C][C]-19.1301061181894[/C][C]-39.4562885668306[/C][C]-1.80929836163444[/C][/ROW]
[ROW][C]37[/C][C]4415[/C][C]3957.56298544741[/C][C]-23.6877633140471[/C][C]288.583961160262[/C][C]0.489174599721251[/C][/ROW]
[ROW][C]38[/C][C]2912.5[/C][C]3424.83819310745[/C][C]-31.8394422636018[/C][C]-72.073314956605[/C][C]-1.24683474034519[/C][/ROW]
[ROW][C]39[/C][C]3536[/C][C]3478.86739563959[/C][C]-30.8146536196058[/C][C]-21.835274479435[/C][C]0.220485703403657[/C][/ROW]
[ROW][C]40[/C][C]3183[/C][C]3323.35502236444[/C][C]-31.8476205347591[/C][C]-22.2611797982212[/C][C]-0.326968850461094[/C][/ROW]
[ROW][C]41[/C][C]3643.5[/C][C]3476.04616020763[/C][C]-30.6704239308126[/C][C]-9.10197889418116[/C][C]0.487328401320258[/C][/ROW]
[ROW][C]42[/C][C]3412[/C][C]3456.31247610005[/C][C]-30.6110211075389[/C][C]-54.8166775347897[/C][C]0.0289582048133813[/C][/ROW]
[ROW][C]43[/C][C]3202.5[/C][C]3321.606947149[/C][C]-31.1271798947786[/C][C]-18.9661264696518[/C][C]-0.275923547911555[/C][/ROW]
[ROW][C]44[/C][C]3374.5[/C][C]3355.53461459644[/C][C]-30.8201958317504[/C][C]-43.6650402429889[/C][C]0.172526527854165[/C][/ROW]
[ROW][C]45[/C][C]3226.5[/C][C]3301.45126904167[/C][C]-30.9270856414552[/C][C]-52.5470676278278[/C][C]-0.0617090142523857[/C][/ROW]
[ROW][C]46[/C][C]3927.5[/C][C]3580.7853162244[/C][C]-29.5217649498357[/C][C]47.8548534189476[/C][C]0.823118091993437[/C][/ROW]
[ROW][C]47[/C][C]3498.5[/C][C]3555.74049520826[/C][C]-29.5017762235984[/C][C]-61.5534994748821[/C][C]0.0118781938951686[/C][/ROW]
[ROW][C]48[/C][C]3614.5[/C][C]3595.83190567152[/C][C]-29.2592524381658[/C][C]-48.4446297076084[/C][C]0.184670207915549[/C][/ROW]
[ROW][C]49[/C][C]3740[/C][C]3482.1974178563[/C][C]-27.6256846021475[/C][C]341.39524105325[/C][C]-0.239085992997071[/C][/ROW]
[ROW][C]50[/C][C]2857.5[/C][C]3187.19210937657[/C][C]-30.9051405240661[/C][C]-92.4424343618301[/C][C]-0.668735162620353[/C][/ROW]
[ROW][C]51[/C][C]4100[/C][C]3629.25561951598[/C][C]-26.267396503486[/C][C]33.8309646218354[/C][C]1.22168726149674[/C][/ROW]
[ROW][C]52[/C][C]3684[/C][C]3661.97822394031[/C][C]-25.8627698986213[/C][C]-33.7970995988926[/C][C]0.15502610535419[/C][/ROW]
[ROW][C]53[/C][C]3601.5[/C][C]3622.56630710811[/C][C]-25.9340755844432[/C][C]-8.13458992214333[/C][C]-0.0358219945894009[/C][/ROW]
[ROW][C]54[/C][C]3663.5[/C][C]3651.19311826084[/C][C]-25.6903103827031[/C][C]-39.9377950261916[/C][C]0.144573161548044[/C][/ROW]
[ROW][C]55[/C][C]2586.5[/C][C]3125.84130720143[/C][C]-27.726400770239[/C][C]-60.2394363588418[/C][C]-1.32519755950569[/C][/ROW]
[ROW][C]56[/C][C]2825[/C][C]2976.07388144514[/C][C]-28.199864419722[/C][C]-33.9826800994636[/C][C]-0.323809079657891[/C][/ROW]
[ROW][C]57[/C][C]2866.5[/C][C]2937.29037300246[/C][C]-28.2398946908721[/C][C]-60.6330220902738[/C][C]-0.0280869392340179[/C][/ROW]
[ROW][C]58[/C][C]2722[/C][C]2793.44669555419[/C][C]-28.6715207963365[/C][C]39.5173222358533[/C][C]-0.30682275205648[/C][/ROW]
[ROW][C]59[/C][C]2164[/C][C]2500.5536296702[/C][C]-29.6364229246585[/C][C]-82.8996565944922[/C][C]-0.701316586818381[/C][/ROW]
[ROW][C]60[/C][C]2113.5[/C][C]2313.24758277004[/C][C]-30.0246877476[/C][C]-48.2019998011508[/C][C]-0.418587719013502[/C][/ROW]
[ROW][C]61[/C][C]2379[/C][C]2152.89376654291[/C][C]-28.1078814072027[/C][C]354.177939182714[/C][C]-0.363760965644613[/C][/ROW]
[ROW][C]62[/C][C]2811[/C][C]2526.92404521754[/C][C]-24.1824172914043[/C][C]-78.4232227320452[/C][C]1.01965439267347[/C][/ROW]
[ROW][C]63[/C][C]3539[/C][C]3005.2531470917[/C][C]-19.9577012610811[/C][C]68.5632326653293[/C][C]1.30304120415653[/C][/ROW]
[ROW][C]64[/C][C]3474[/C][C]3246.98455801654[/C][C]-18.3994252618803[/C][C]-20.2301359248094[/C][C]0.688679471856391[/C][/ROW]
[ROW][C]65[/C][C]3909.5[/C][C]3567.834946626[/C][C]-16.8545289793305[/C][C]18.6793962702519[/C][C]0.897577394205425[/C][/ROW]
[ROW][C]66[/C][C]4049.5[/C][C]3802.05840819357[/C][C]-15.887578337964[/C][C]7.70737648925027[/C][C]0.665610748331816[/C][/ROW]
[ROW][C]67[/C][C]3156.5[/C][C]3504.44141834035[/C][C]-16.8755604943064[/C][C]-78.6182732862977[/C][C]-0.747470599311833[/C][/ROW]
[ROW][C]68[/C][C]3435[/C][C]3468.53844991965[/C][C]-16.9390897125215[/C][C]-15.3392300551168[/C][C]-0.0505006642898573[/C][/ROW]
[ROW][C]69[/C][C]3058.5[/C][C]3280.48964049165[/C][C]-17.4966439657994[/C][C]-58.2865533964207[/C][C]-0.454220972087722[/C][/ROW]
[ROW][C]70[/C][C]4103[/C][C]3637.21083745632[/C][C]-16.292361516197[/C][C]107.722412163172[/C][C]0.993478826973968[/C][/ROW]
[ROW][C]71[/C][C]3726.5[/C][C]3707.48948172036[/C][C]-16.0235873895644[/C][C]-63.8384991504828[/C][C]0.229844786325324[/C][/ROW]
[ROW][C]72[/C][C]4703.5[/C][C]4204.98837831243[/C][C]-15.1204185574482[/C][C]6.41025053439454[/C][C]1.363811764535[/C][/ROW]
[ROW][C]73[/C][C]4020.5[/C][C]4020.70905833722[/C][C]-13.1637869842941[/C][C]164.96798224907[/C][C]-0.467257216988909[/C][/ROW]
[ROW][C]74[/C][C]3636[/C][C]3874.53717428959[/C][C]-14.2244563604366[/C][C]-117.376848172732[/C][C]-0.34052240960503[/C][/ROW]
[ROW][C]75[/C][C]4289[/C][C]4040.09232113648[/C][C]-12.8930217327653[/C][C]82.297413562577[/C][C]0.467477317821986[/C][/ROW]
[ROW][C]76[/C][C]5570.5[/C][C]4800.69175035547[/C][C]-8.76682797400288[/C][C]40.1984520570173[/C][C]2.03745947557802[/C][/ROW]
[ROW][C]77[/C][C]5283[/C][C]5039.06856297585[/C][C]-7.76063348751062[/C][C]9.17252641805062[/C][C]0.654199855125035[/C][/ROW]
[ROW][C]78[/C][C]4618[/C][C]4819.53707834922[/C][C]-8.48662078045236[/C][C]0.158596373140455[/C][C]-0.561587938207557[/C][/ROW]
[ROW][C]79[/C][C]4765[/C][C]4818.07184549582[/C][C]-8.46475103607778[/C][C]-59.7664970803394[/C][C]0.0186334736048511[/C][/ROW]
[ROW][C]80[/C][C]3937.5[/C][C]4383.62625667202[/C][C]-9.72768468310508[/C][C]-39.7729073981047[/C][C]-1.1308406616609[/C][/ROW]
[ROW][C]81[/C][C]4717.5[/C][C]4568.16286784303[/C][C]-9.16514462553818[/C][C]-36.0177800426183[/C][C]0.515789231501858[/C][/ROW]
[ROW][C]82[/C][C]4206.5[/C][C]4337.57006057932[/C][C]-9.79789603404333[/C][C]80.2287427425999[/C][C]-0.58796299747393[/C][/ROW]
[ROW][C]83[/C][C]4506.5[/C][C]4453.90628001849[/C][C]-9.45690303728446[/C][C]-67.7957625729466[/C][C]0.334947390062745[/C][/ROW]
[ROW][C]84[/C][C]4306[/C][C]4370.22012970619[/C][C]-9.54987030899998[/C][C]6.7293121522521[/C][C]-0.19719551721779[/C][/ROW]
[ROW][C]85[/C][C]5281.5[/C][C]4719.04516787289[/C][C]-12.8821291721895[/C][C]214.316525733536[/C][C]0.982432955468654[/C][/ROW]
[ROW][C]86[/C][C]5495.5[/C][C]5168.98463536744[/C][C]-9.80792189762456[/C][C]-98.1736562978038[/C][C]1.19333950579013[/C][/ROW]
[ROW][C]87[/C][C]5304[/C][C]5223.38083716529[/C][C]-9.381473935319[/C][C]21.0755623265522[/C][C]0.167306782509303[/C][/ROW]
[ROW][C]88[/C][C]5935[/C][C]5555.69476273374[/C][C]-7.71294084216198[/C][C]57.4820889484792[/C][C]0.900644748100608[/C][/ROW]
[ROW][C]89[/C][C]5974[/C][C]5750.36754402173[/C][C]-6.95888628955557[/C][C]31.7699658643069[/C][C]0.53590141450619[/C][/ROW]
[ROW][C]90[/C][C]9239[/C][C]7441.27195109694[/C][C]-1.65604115582503[/C][C]184.091108232702[/C][C]4.50353902169783[/C][/ROW]
[ROW][C]91[/C][C]6054.5[/C][C]6812.59246412885[/C][C]-3.43051245053637[/C][C]-161.562794294137[/C][C]-1.66430950442918[/C][/ROW]
[ROW][C]92[/C][C]6072[/C][C]6465.02413176488[/C][C]-4.35703478124616[/C][C]-65.476807978388[/C][C]-0.913720012611609[/C][/ROW]
[ROW][C]93[/C][C]6279[/C][C]6372.95137285983[/C][C]-4.58780232366508[/C][C]-10.4471065356266[/C][C]-0.232927848996494[/C][/ROW]
[ROW][C]94[/C][C]5260[/C][C]5790.51753219113[/C][C]-6.08433733728792[/C][C]19.6528246160795[/C][C]-1.53459271631342[/C][/ROW]
[ROW][C]95[/C][C]5966[/C][C]5889.61643445047[/C][C]-5.8328926752412[/C][C]-23.7866461806073[/C][C]0.279351496013106[/C][/ROW]
[ROW][C]96[/C][C]6764.5[/C][C]6320.81698267799[/C][C]-5.44808898967546[/C][C]26.8656488880824[/C][C]1.16129679834936[/C][/ROW]
[ROW][C]97[/C][C]8028.5[/C][C]7064.3614931302[/C][C]-11.1281536091653[/C][C]239.656351547235[/C][C]2.0414489851327[/C][/ROW]
[ROW][C]98[/C][C]6063.5[/C][C]6630.76805168855[/C][C]-13.5020388917342[/C][C]-177.555235122616[/C][C]-1.09516061549251[/C][/ROW]
[ROW][C]99[/C][C]7531.5[/C][C]7059.81568326568[/C][C]-10.8330254921134[/C][C]61.0183387714569[/C][C]1.15523170140792[/C][/ROW]
[ROW][C]100[/C][C]7347[/C][C]7185.65211745223[/C][C]-10.2128754232039[/C][C]32.7947715571823[/C][C]0.360407171319553[/C][/ROW]
[ROW][C]101[/C][C]6571[/C][C]6930.62408863897[/C][C]-11.0619941130281[/C][C]-127.92793521246[/C][C]-0.648403515432599[/C][/ROW]
[ROW][C]102[/C][C]7337.5[/C][C]7011.51329421008[/C][C]-10.7957850248509[/C][C]238.752289427477[/C][C]0.243939268976298[/C][/ROW]
[ROW][C]103[/C][C]7519.5[/C][C]7323.01883814522[/C][C]-9.95292170844073[/C][C]-109.587571193968[/C][C]0.855603645608057[/C][/ROW]
[ROW][C]104[/C][C]7358[/C][C]7370.79242559626[/C][C]-9.80942714510046[/C][C]-67.6346844057933[/C][C]0.153288500071178[/C][/ROW]
[ROW][C]105[/C][C]4746[/C][C]6085.20738989567[/C][C]-12.9081799968326[/C][C]-126.93843365503[/C][C]-3.38819748790601[/C][/ROW]
[ROW][C]106[/C][C]5173.5[/C][C]5610.73466577363[/C][C]-14.0070806031111[/C][C]1.41006742151055[/C][C]-1.22592098899005[/C][/ROW]
[ROW][C]107[/C][C]6433.5[/C][C]6020.84436198452[/C][C]-13.1012445527727[/C][C]9.48580572251537[/C][C]1.12651294723491[/C][/ROW]
[ROW][C]108[/C][C]4508[/C][C]5299.11411536732[/C][C]-13.5302976272649[/C][C]-116.47880357283[/C][C]-1.88337757006889[/C][/ROW]
[ROW][C]109[/C][C]4912.5[/C][C]4963.33263159903[/C][C]-11.5175372716816[/C][C]259.74701345103[/C][C]-0.874379009113638[/C][/ROW]
[ROW][C]110[/C][C]6246[/C][C]5682.90085552224[/C][C]-7.99645845247634[/C][C]-113.962854647143[/C][C]1.90310756094155[/C][/ROW]
[ROW][C]111[/C][C]7557.5[/C][C]6579.33005490169[/C][C]-2.99992321239639[/C][C]138.426115305265[/C][C]2.36439312152177[/C][/ROW]
[ROW][C]112[/C][C]7111[/C][C]6826.52088784122[/C][C]-1.93378595542034[/C][C]49.4004194727552[/C][C]0.660015265768186[/C][/ROW]
[ROW][C]113[/C][C]6304.5[/C][C]6643.1915230696[/C][C]-2.52692484152607[/C][C]-167.256366516935[/C][C]-0.480515545465334[/C][/ROW]
[ROW][C]114[/C][C]6166[/C][C]6303.36303985318[/C][C]-3.44415183075101[/C][C]182.167385261503[/C][C]-0.894947200557442[/C][/ROW]
[ROW][C]115[/C][C]5735[/C][C]6070.06742692112[/C][C]-4.00684359206719[/C][C]-117.117757629792[/C][C]-0.610245767928431[/C][/ROW]
[ROW][C]116[/C][C]4583[/C][C]5327.95049936229[/C][C]-5.72226310987121[/C][C]-44.7750757324671[/C][C]-1.96019020989923[/C][/ROW]
[ROW][C]117[/C][C]4657.5[/C][C]5028.85503338498[/C][C]-6.38799145320047[/C][C]-93.0070068871032[/C][C]-0.77921212062565[/C][/ROW]
[ROW][C]118[/C][C]4712.5[/C][C]4873.64528929128[/C][C]-6.7169802602116[/C][C]-19.9262353769378[/C][C]-0.3953082688093[/C][/ROW]
[ROW][C]119[/C][C]5647[/C][C]5204.62581475093[/C][C]-6.06781952826181[/C][C]121.828669539504[/C][C]0.897046822287723[/C][/ROW]
[ROW][C]120[/C][C]5277[/C][C]5290.29228332401[/C][C]-6.03087092956983[/C][C]-100.497030674349[/C][C]0.243851328537442[/C][/ROW]
[ROW][C]121[/C][C]4812.5[/C][C]4987.84781013945[/C][C]-4.49600502681837[/C][C]109.452523910731[/C][C]-0.801393132384086[/C][/ROW]
[ROW][C]122[/C][C]4702[/C][C]4933.10890150951[/C][C]-4.70582239171371[/C][C]-184.439692684554[/C][C]-0.131217361575801[/C][/ROW]
[ROW][C]123[/C][C]6047[/C][C]5414.33522807887[/C][C]-2.23063187990915[/C][C]181.217619204543[/C][C]1.2719756009395[/C][/ROW]
[ROW][C]124[/C][C]5470[/C][C]5419.12850195431[/C][C]-2.20231269400248[/C][C]44.2775611734481[/C][C]0.0185349818228087[/C][/ROW]
[ROW][C]125[/C][C]4540.5[/C][C]5064.00595617489[/C][C]-3.30054883410677[/C][C]-190.348839357955[/C][C]-0.934999495888421[/C][/ROW]
[ROW][C]126[/C][C]5112.5[/C][C]4981.02247832796[/C][C]-3.50616545284423[/C][C]206.871672638487[/C][C]-0.211439390917082[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=298572&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=298572&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
14307.54307.5000
242344264.26604387529-3.45428114239469-3.76820904446617-0.0836026377117751
35156.54734.8522093259820.638155856805728.85572787156471.12568788327509
448444791.5984388213521.890950520822319.54442844549980.091410442329687
546064698.1151869124518.826853014723716.4748044812447-0.298818226475757
648504773.7784321946420.100740821515121.97172733275230.148588320543931
742944534.0045807140914.84512043503689.64058538774695-0.682265432194513
831903861.443259468621.79021467535258-9.00595766857333-1.8083770283014
93811.53833.978394990131.256858906959835.76114084109895-0.0770430377880064
104160.53996.935759034134.119964227587657.326559033355880.426086339493365
114538.54267.962837569738.7377618670376912.48752560899230.70356201020949
123792.54031.547296100774.5800877578185-1.92354020226843-0.646379335855062
1346604252.51804450932-15.1992928569228175.1438955084740.747891757080064
143504.53843.19113005367-28.9940706118583-46.594278509306-0.862008652159634
1535213672.16277001803-32.3188687206708-25.4739377458912-0.352813971905985
1645604118.08662626383-24.5852730806941-6.737588893612071.23791975707873
1745494338.0900600207-21.5281653759271-23.05772182748070.641740312934661
1835433941.99838572183-25.5173838697474-38.0246769430433-0.987762778292918
1929963467.30978781916-29.8756521720689-37.0578243533978-1.18703876694209
2037623615.25604590006-28.2398184971071-25.42539130578320.470393957486006
214156.53883.77259899593-25.5943202087324-14.80643753992740.785386899635162
2245254204.26634307623-22.5697305550677-14.72979635022280.91617566698005
2340584130.57515332914-23.0102742861551-23.0116691106769-0.13534992226209
244871.54502.38864064038-19.7860544231679-13.87664736532541.04544747165337
2548704546.17871857168-22.4875358956669258.8880056971530.193271463801365
2649534772.04650877957-16.9566579690278-24.03303337206240.586917941006654
275028.54906.81768251163-14.5888894315417-16.40788268343220.385558521578159
285252.55074.85585416886-12.61779035569114.912724650521540.476928070085265
2949074989.66712340608-13.2227897258201-13.1257459122796-0.191250917652643
3046414816.63873358141-14.3589494554743-21.7394654509286-0.422583355860891
315447.55131.70719763943-12.2208813946899-2.131114657775980.872365870818644
324544.54846.98962330114-13.9021595406664-39.2525879480159-0.722072965043228
3344934668.05197090678-14.8919589381454-15.5488592876491-0.437454897285813
3455225082.71019503448-12.357731394932424.03723314003751.13878217690606
353896.54506.17378406636-15.6466659309505-64.1919861342882-1.49584004593081
363108.53808.1905853789-19.1301061181894-39.4562885668306-1.80929836163444
3744153957.56298544741-23.6877633140471288.5839611602620.489174599721251
382912.53424.83819310745-31.8394422636018-72.073314956605-1.24683474034519
3935363478.86739563959-30.8146536196058-21.8352744794350.220485703403657
4031833323.35502236444-31.8476205347591-22.2611797982212-0.326968850461094
413643.53476.04616020763-30.6704239308126-9.101978894181160.487328401320258
4234123456.31247610005-30.6110211075389-54.81667753478970.0289582048133813
433202.53321.606947149-31.1271798947786-18.9661264696518-0.275923547911555
443374.53355.53461459644-30.8201958317504-43.66504024298890.172526527854165
453226.53301.45126904167-30.9270856414552-52.5470676278278-0.0617090142523857
463927.53580.7853162244-29.521764949835747.85485341894760.823118091993437
473498.53555.74049520826-29.5017762235984-61.55349947488210.0118781938951686
483614.53595.83190567152-29.2592524381658-48.44462970760840.184670207915549
4937403482.1974178563-27.6256846021475341.39524105325-0.239085992997071
502857.53187.19210937657-30.9051405240661-92.4424343618301-0.668735162620353
5141003629.25561951598-26.26739650348633.83096462183541.22168726149674
5236843661.97822394031-25.8627698986213-33.79709959889260.15502610535419
533601.53622.56630710811-25.9340755844432-8.13458992214333-0.0358219945894009
543663.53651.19311826084-25.6903103827031-39.93779502619160.144573161548044
552586.53125.84130720143-27.726400770239-60.2394363588418-1.32519755950569
5628252976.07388144514-28.199864419722-33.9826800994636-0.323809079657891
572866.52937.29037300246-28.2398946908721-60.6330220902738-0.0280869392340179
5827222793.44669555419-28.671520796336539.5173222358533-0.30682275205648
5921642500.5536296702-29.6364229246585-82.8996565944922-0.701316586818381
602113.52313.24758277004-30.0246877476-48.2019998011508-0.418587719013502
6123792152.89376654291-28.1078814072027354.177939182714-0.363760965644613
6228112526.92404521754-24.1824172914043-78.42322273204521.01965439267347
6335393005.2531470917-19.957701261081168.56323266532931.30304120415653
6434743246.98455801654-18.3994252618803-20.23013592480940.688679471856391
653909.53567.834946626-16.854528979330518.67939627025190.897577394205425
664049.53802.05840819357-15.8875783379647.707376489250270.665610748331816
673156.53504.44141834035-16.8755604943064-78.6182732862977-0.747470599311833
6834353468.53844991965-16.9390897125215-15.3392300551168-0.0505006642898573
693058.53280.48964049165-17.4966439657994-58.2865533964207-0.454220972087722
7041033637.21083745632-16.292361516197107.7224121631720.993478826973968
713726.53707.48948172036-16.0235873895644-63.83849915048280.229844786325324
724703.54204.98837831243-15.12041855744826.410250534394541.363811764535
734020.54020.70905833722-13.1637869842941164.96798224907-0.467257216988909
7436363874.53717428959-14.2244563604366-117.376848172732-0.34052240960503
7542894040.09232113648-12.893021732765382.2974135625770.467477317821986
765570.54800.69175035547-8.7668279740028840.19845205701732.03745947557802
7752835039.06856297585-7.760633487510629.172526418050620.654199855125035
7846184819.53707834922-8.486620780452360.158596373140455-0.561587938207557
7947654818.07184549582-8.46475103607778-59.76649708033940.0186334736048511
803937.54383.62625667202-9.72768468310508-39.7729073981047-1.1308406616609
814717.54568.16286784303-9.16514462553818-36.01778004261830.515789231501858
824206.54337.57006057932-9.7978960340433380.2287427425999-0.58796299747393
834506.54453.90628001849-9.45690303728446-67.79576257294660.334947390062745
8443064370.22012970619-9.549870308999986.7293121522521-0.19719551721779
855281.54719.04516787289-12.8821291721895214.3165257335360.982432955468654
865495.55168.98463536744-9.80792189762456-98.17365629780381.19333950579013
8753045223.38083716529-9.38147393531921.07556232655220.167306782509303
8859355555.69476273374-7.7129408421619857.48208894847920.900644748100608
8959745750.36754402173-6.9588862895555731.76996586430690.53590141450619
9092397441.27195109694-1.65604115582503184.0911082327024.50353902169783
916054.56812.59246412885-3.43051245053637-161.562794294137-1.66430950442918
9260726465.02413176488-4.35703478124616-65.476807978388-0.913720012611609
9362796372.95137285983-4.58780232366508-10.4471065356266-0.232927848996494
9452605790.51753219113-6.0843373372879219.6528246160795-1.53459271631342
9559665889.61643445047-5.8328926752412-23.78664618060730.279351496013106
966764.56320.81698267799-5.4480889896754626.86564888808241.16129679834936
978028.57064.3614931302-11.1281536091653239.6563515472352.0414489851327
986063.56630.76805168855-13.5020388917342-177.555235122616-1.09516061549251
997531.57059.81568326568-10.833025492113461.01833877145691.15523170140792
10073477185.65211745223-10.212875423203932.79477155718230.360407171319553
10165716930.62408863897-11.0619941130281-127.92793521246-0.648403515432599
1027337.57011.51329421008-10.7957850248509238.7522894274770.243939268976298
1037519.57323.01883814522-9.95292170844073-109.5875711939680.855603645608057
10473587370.79242559626-9.80942714510046-67.63468440579330.153288500071178
10547466085.20738989567-12.9081799968326-126.93843365503-3.38819748790601
1065173.55610.73466577363-14.00708060311111.41006742151055-1.22592098899005
1076433.56020.84436198452-13.10124455277279.485805722515371.12651294723491
10845085299.11411536732-13.5302976272649-116.47880357283-1.88337757006889
1094912.54963.33263159903-11.5175372716816259.74701345103-0.874379009113638
11062465682.90085552224-7.99645845247634-113.9628546471431.90310756094155
1117557.56579.33005490169-2.99992321239639138.4261153052652.36439312152177
11271116826.52088784122-1.9337859554203449.40041947275520.660015265768186
1136304.56643.1915230696-2.52692484152607-167.256366516935-0.480515545465334
11461666303.36303985318-3.44415183075101182.167385261503-0.894947200557442
11557356070.06742692112-4.00684359206719-117.117757629792-0.610245767928431
11645835327.95049936229-5.72226310987121-44.7750757324671-1.96019020989923
1174657.55028.85503338498-6.38799145320047-93.0070068871032-0.77921212062565
1184712.54873.64528929128-6.7169802602116-19.9262353769378-0.3953082688093
11956475204.62581475093-6.06781952826181121.8286695395040.897046822287723
12052775290.29228332401-6.03087092956983-100.4970306743490.243851328537442
1214812.54987.84781013945-4.49600502681837109.452523910731-0.801393132384086
12247024933.10890150951-4.70582239171371-184.439692684554-0.131217361575801
12360475414.33522807887-2.23063187990915181.2176192045431.2719756009395
12454705419.12850195431-2.2023126940024844.27756117344810.0185349818228087
1254540.55064.00595617489-3.30054883410677-190.348839357955-0.934999495888421
1265112.54981.02247832796-3.50616545284423206.871672638487-0.211439390917082







Structural Time Series Model -- Extrapolation
tObservedLevelSeasonal
15211.013430584694692.2949884887518.718442095983
24314.85906109964694.51599540763-379.656934308027
33939.248941466934696.73700232655-757.488060859615
43956.24537057664698.95800924547-742.712638668869
54913.73965687064701.1790161644212.560640706202
64387.224382427034703.40002308332-316.175640656285
74270.07854616514705.62103000224-435.542483837144
84415.923097704934707.84203692117-291.918939216231
95783.368302534854710.063043840091073.30525869477
105379.015497006934712.28405075901666.731446247917
114656.072065251624714.50505767793-58.4329924263166
125227.337966824484716.72606459686510.611902227619

\begin{tabular}{lllllllll}
\hline
Structural Time Series Model -- Extrapolation \tabularnewline
t & Observed & Level & Seasonal \tabularnewline
1 & 5211.01343058469 & 4692.2949884887 & 518.718442095983 \tabularnewline
2 & 4314.8590610996 & 4694.51599540763 & -379.656934308027 \tabularnewline
3 & 3939.24894146693 & 4696.73700232655 & -757.488060859615 \tabularnewline
4 & 3956.2453705766 & 4698.95800924547 & -742.712638668869 \tabularnewline
5 & 4913.7396568706 & 4701.1790161644 & 212.560640706202 \tabularnewline
6 & 4387.22438242703 & 4703.40002308332 & -316.175640656285 \tabularnewline
7 & 4270.0785461651 & 4705.62103000224 & -435.542483837144 \tabularnewline
8 & 4415.92309770493 & 4707.84203692117 & -291.918939216231 \tabularnewline
9 & 5783.36830253485 & 4710.06304384009 & 1073.30525869477 \tabularnewline
10 & 5379.01549700693 & 4712.28405075901 & 666.731446247917 \tabularnewline
11 & 4656.07206525162 & 4714.50505767793 & -58.4329924263166 \tabularnewline
12 & 5227.33796682448 & 4716.72606459686 & 510.611902227619 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=298572&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]5211.01343058469[/C][C]4692.2949884887[/C][C]518.718442095983[/C][/ROW]
[ROW][C]2[/C][C]4314.8590610996[/C][C]4694.51599540763[/C][C]-379.656934308027[/C][/ROW]
[ROW][C]3[/C][C]3939.24894146693[/C][C]4696.73700232655[/C][C]-757.488060859615[/C][/ROW]
[ROW][C]4[/C][C]3956.2453705766[/C][C]4698.95800924547[/C][C]-742.712638668869[/C][/ROW]
[ROW][C]5[/C][C]4913.7396568706[/C][C]4701.1790161644[/C][C]212.560640706202[/C][/ROW]
[ROW][C]6[/C][C]4387.22438242703[/C][C]4703.40002308332[/C][C]-316.175640656285[/C][/ROW]
[ROW][C]7[/C][C]4270.0785461651[/C][C]4705.62103000224[/C][C]-435.542483837144[/C][/ROW]
[ROW][C]8[/C][C]4415.92309770493[/C][C]4707.84203692117[/C][C]-291.918939216231[/C][/ROW]
[ROW][C]9[/C][C]5783.36830253485[/C][C]4710.06304384009[/C][C]1073.30525869477[/C][/ROW]
[ROW][C]10[/C][C]5379.01549700693[/C][C]4712.28405075901[/C][C]666.731446247917[/C][/ROW]
[ROW][C]11[/C][C]4656.07206525162[/C][C]4714.50505767793[/C][C]-58.4329924263166[/C][/ROW]
[ROW][C]12[/C][C]5227.33796682448[/C][C]4716.72606459686[/C][C]510.611902227619[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=298572&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=298572&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
15211.013430584694692.2949884887518.718442095983
24314.85906109964694.51599540763-379.656934308027
33939.248941466934696.73700232655-757.488060859615
43956.24537057664698.95800924547-742.712638668869
54913.73965687064701.1790161644212.560640706202
64387.224382427034703.40002308332-316.175640656285
74270.07854616514705.62103000224-435.542483837144
84415.923097704934707.84203692117-291.918939216231
95783.368302534854710.063043840091073.30525869477
105379.015497006934712.28405075901666.731446247917
114656.072065251624714.50505767793-58.4329924263166
125227.337966824484716.72606459686510.611902227619



Parameters (Session):
par4 = 12 ;
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')