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 computationThu, 06 Sep 2018 13:58:11 +0200
Cite this page as followsStatistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?v=date/2018/Sep/06/t15362351319s328p0kzzih7b8.htm/, Retrieved Thu, 02 May 2024 00:59:30 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=315427, Retrieved Thu, 02 May 2024 00:59:30 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact67
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-       [Structural Time Series Models] [] [2018-09-06 11:58:11] [a0c5ecdf8f2a1a070f47cb7d81822904] [Current]
Feedback Forum

Post a new message
Dataseries X:
1.72923686058208
0.122433126801145
0.523768788982079
-0.50175942601324
-1.86386120887019
0.0717422351702872
-0.380578531491989
-0.29851611788274
1.94316215667028
-1.24779901378139
1.35257277275093
2.84406850014719
1.12274878943606
-2.32540657982629
-2.89902363942181
0.246874012745119
-0.731094375584061
1.97769407549524
-0.089308186457892
-1.64931358279907
1.78988776616251
-0.655026882699021
-0.95518008982139
-0.501427837065876
-1.47468882156665
2.4255103110643
-0.388732570521789
-1.41970373897772
-0.435743764210552
0.588337253253952
-1.73087780677345
0.416192838768035
-0.135602934239543
1.5607508968729
-0.619488852927662
0.130061173484127
-0.485714783249833
1.19042117073251
0.504940688912012
-0.266725732456376
1.8987616014054
0.9835731579105
0.221023228988728
-0.176860990484583
-0.162198287814433
0.78911590880292
1.41209201053576
0.518161844628975
2.36462043434148
-1.24446105804486
1.09138861156198
0.422175612267996
-0.997989397904933
0.754650745534752
-1.44375392644115
0.568632265545353
1.35413305240232
-1.34288885715882
-0.0968579661829751
0.242767533935212
0.255744783559028
-0.243232899636027
0.461607264600104
0.0650797112167817
2.25999343044582
1.80462197944889
2.32548979115297
0.682758803307819
-0.335554613197298
-0.997929583796738
0.97507128242145
-1.17268516900173
-0.000337278483281606
-1.71460596672184
-1.34872342854985
-1.6521456119588
-1.48335049731373
0.925016701443022
-0.226525557050897
0.774905929042345
-0.339789522342372
0.89311055438168
-0.864578780222597
-1.95217915873499
-0.11317194501752
1.02470860347022
-1.25650654087286
-0.602130638597027
-0.83233134657693
-0.446577198612737
-4.01053303468812
0.288513333839785
-1.00798474916531
-0.572816189634855
-0.297410570159231
1.21578539483534
-0.727486991378146
-0.843943364912431
-1.20889338911855
-0.649656515850742
3.19984732249364
0.572738529480399
-0.0199646221520179
0.462316869083462
-1.28699501625665
-1.80757939159691
-2.15431670426712
0.707840316820782
1.36410372036211
0.314718394752158
-4.10025158356




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

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







Structural Time Series Model -- Interpolation
tObservedLevelSlopeSeasonalStand. Residuals
11.729236860582081.72923686058208000
20.1224331268011451.42066832527123-0.0674902134508326-0.0703337793262853-1.11322464542268
30.5237687889820791.17849685106303-0.0969487846547913-0.0970096079048034-0.517251721347985
4-0.501759426013240.716179796478104-0.147297143239133-0.150130684114363-0.998733050740824
5-1.86386120887019-0.00487587422129143-0.214272051559109-0.21833017378633-1.53519956169114
60.0717422351702872-0.0935776671046023-0.201545907576142-0.1978553619916360.33864193861942
7-0.380578531491989-0.266465820959501-0.198977887822426-0.1992272020976210.0789640747935046
8-0.29851611788274-0.377419017783281-0.191903532563968-0.1911102598678010.249156230522857
91.943162156670280.0664026100512477-0.145550539363683-0.1391159326377321.85062442639201
10-1.24779901378139-0.313593190958833-0.161208038649045-0.166800437232212-0.701218437603303
111.35257277275093-0.0275348271453015-0.133626544992129-0.1274133513096431.3718236698777
122.844068500147190.532269798704619-0.0938697271638612-0.08806936646507382.17597679196222
131.122748789436060.403528059375137-0.09011302509624060.986877143662351-0.240841169099235
14-2.32540657982629-0.319013033810243-0.124872672716689-0.136327005108213-1.73006870889212
15-2.89902363942181-0.992280231118665-0.152630362214299-0.156769511484653-1.60307123401005
160.246874012745119-0.799614170890165-0.136507496080386-0.1229216690310321.06310395029717
17-0.731094375584061-0.86024628993833-0.13321729986723-0.139664822446340.243019838474193
181.97769407549524-0.338232808831384-0.106663912877936-0.0879615520205592.16407173630238
19-0.089308186457892-0.347644629766973-0.102959350880298-0.1084254202419860.329099734651183
20-1.64931358279907-0.672589960749849-0.110949263230237-0.120854778877491-0.766008346822422
211.78988776616251-0.247206942791754-0.0926237963102215-0.06826486952693861.88041508948696
22-0.655026882699021-0.381041117981377-0.0939660339434592-0.109797373011461-0.146397888406776
23-0.95518008982139-0.551266352849277-0.0963423278747375-0.0962961994931586-0.273900825337492
24-0.501427837065876-0.601786173407589-0.0949751530622079-0.0865116845147820.166174392788391
25-1.47468882156665-0.949325902553826-0.08544981298133450.931359463758483-1.29215441992588
262.4255103110643-0.289762578154682-0.0610208819453241-0.03658437221185012.47570318876581
27-0.388732570521789-0.34181475584472-0.0607437169333842-0.0811259655159380.0306744030423367
28-1.41970373897772-0.596673872487376-0.0663629812349783-0.0614064364454494-0.680793251494686
29-0.435743764210552-0.602820584863073-0.0647204734083732-0.07445526644495980.215374912400946
300.588337253253952-0.414153274173736-0.0581717711482467-0.03175039654753610.920486293429886
31-1.73087780677345-0.701673004525845-0.0638161523721626-0.0799106225553953-0.84360832817803
320.416192838768035-0.525708804584087-0.0581715621738578-0.06189245125664710.890954867736974
33-0.135602934239543-0.492017260106759-0.0560948355858048-0.03175048257714860.34418703297678
341.5607508968729-0.138199086130052-0.047164625421677-0.04657190588037691.54648276331611
35-0.619488852927662-0.256156263721066-0.0486553501236381-0.05991346327413-0.268634414673304
360.130061173484127-0.217208540023051-0.0468809470525117-0.03061158173874840.334297407235192
37-0.485714783249833-0.371395812250127-0.04444418588509810.463512829617528-0.510447427974759
381.19042117073251-0.0963726493171698-0.03698074879077510.004274665736535411.14405465298991
390.5049406889120120.00202884285619165-0.033952534027224-0.05042450701851210.492854487138981
40-0.266725732456376-0.0703550140234057-0.0347629338422259-0.036420141782497-0.142195473277595
411.89876160140540.282514005090526-0.0270138510979637-0.02032067361719561.45272473858135
420.98357315791050.39265134294621-0.02440064440534690.005240028841753080.519273146775269
430.2210232289887280.350065894598688-0.0247324773224876-0.0506717769711603-0.0694185925934969
44-0.1768609904845830.23815407456363-0.0262625799411255-0.0364829501533889-0.335033543812621
45-0.1621982878144330.144817873920369-0.0273991361054354-0.0139886604686768-0.259190047139376
460.789115908802920.24463812660047-0.0253110286818171-0.01415510745502250.493864089395401
471.412092010535760.444510820117414-0.0217210809886013-0.02547764771363440.877531361637408
480.5181618446289750.442073349696332-0.0214262444748485-0.00937471865335130.0754708160802484
492.364620434341480.689702723170563-0.02572606404235030.2727770006622131.23683528366464
50-1.244461058044860.302042931004535-0.0322652460677288-0.0294172203494087-1.34840513297745
511.091388611561980.43105701613893-0.029433282726447-0.02314149899175090.607066241098618
520.4221756122679960.414289198147141-0.0292228254438863-0.04650503047363140.0482456587314793
53-0.9979893979049330.135110632826765-0.0331737993407916-0.0482704533962383-0.961218039438096
540.7546507455347520.220564898382364-0.03138061518044870.01486831703803740.459661353530381
55-1.44375392644115-0.0975897314200813-0.0355458133257807-0.0824291968363004-1.11800948642207
560.5686322655453530.000386038144290834-0.0336745669850763-0.0234156689902920.52314209218672
571.354133052402320.222490524830171-0.0302029759896085-0.006941678987800671.00626205185869
58-1.34288885715882-0.078039515795553-0.0337677208700913-0.0569482993817878-1.06711461667415
59-0.0968579661829751-0.103800723399257-0.033664888033202-0.02894693533965490.0316962578949502
600.242767533935212-0.0640881701874135-0.0327675168148226-0.02351814720639260.291585226393718
610.255744783559028-0.0977242550530477-0.03275698509395140.357906997394836-0.00391314724293109
62-0.243232899636027-0.144747196073928-0.0329661102225352-0.0370907333022272-0.0544745403416102
630.461607264600104-0.0550510031133952-0.0311912207577905-0.0147752002862980.471441440470494
640.0650797112167817-0.0506371960518564-0.0307023357714469-0.04015867937877010.138136212435546
652.259993430445820.352893745217789-0.0250180948572972-0.009920582398604631.69743252329413
661.804621979448890.591548008374376-0.02171022509725780.04121435292345481.03693429898951
672.325489791152970.900451828512872-0.0177164150867484-0.05229281295502321.30653048709734
680.6827588033078190.852252700999863-0.018072464955393-0.0326833692216933-0.120940279276825
69-0.3355546131972980.622309921747584-0.0204740677190233-0.00352176778862701-0.843333565858318
70-0.9979295837967380.32322722696244-0.0235485297897433-0.0624383323161159-1.11197177273138
710.975071282421450.421689742585015-0.02223505317093110.0007490960796018040.488077985028606
72-1.172685169001730.124304183330854-0.0250269061867095-0.0454558744654631-1.10461509897169
73-0.0003372784832816060.0370535286774044-0.02442931677668440.276283832035355-0.276603854141521
74-1.71460596672184-0.296344998543734-0.0282219331181328-0.0648416190214689-1.19989434870135
75-1.34872342854985-0.510547037686219-0.0305125376514991-0.0204408841684793-0.725079989389367
76-1.6521456119588-0.732232473987128-0.0327521629418877-0.0721369954745074-0.751094273557141
77-1.48335049731373-0.890006689218339-0.0341506651702719-0.0350601411876899-0.494277409678202
780.925016701443022-0.597216305455206-0.03064044397469510.05415458362550331.29905402921566
79-0.226525557050897-0.542553409438106-0.0297572413351297-0.06873332319569270.340312077146539
800.774905929042345-0.326359320645214-0.0272913541855263-0.01215033101892220.984435491021306
81-0.339789522342372-0.34967877548123-0.0272526529381392-0.008145290120033560.0159406809747742
820.89311055438168-0.139775694027938-0.0249998927481379-0.04659641666250940.953917918055976
83-0.864578780222597-0.288277584355624-0.0261453070818456-0.0129495106843119-0.497714538294172
84-1.95217915873499-0.595930603969983-0.0285756644104421-0.0667581992898301-1.13847395040919
85-0.11317194501752-0.597951355951487-0.02878313868678840.3522424751193340.116912909055032
861.02470860347022-0.318877775766069-0.0255472201708525-0.02210156430084641.21039932677834
87-1.25650654087286-0.504823142966663-0.0272681409354501-0.0390088391122991-0.631881193950983
88-0.602130638597027-0.535112680853938-0.0272990461136172-0.0534966632248898-0.0119802725243005
89-0.83233134657693-0.602434059438572-0.027690393620061-0.0497253922280459-0.159545268395938
90-0.446577198612737-0.607215608514993-0.02747514896679040.05701683094701860.0917160627086576
91-4.01053303468812-1.21702385450499-0.0327572460725854-0.149384035275267-2.33945394078059
920.288513333839785-0.980436078206719-0.03038889702179040.04215375099335381.08510640550615
93-1.00798474916531-1.00395148336994-0.0303300962116012-0.03542024827755280.0277549854997712
94-0.572816189634855-0.945220168131082-0.0295865709486082-0.03514429533061330.360313326293192
95-0.297410570159231-0.854992321109193-0.02860976247843420.008291911769499360.485533617421124
961.21578539483534-0.503424472564066-0.0257651512334394-0.03111953898248331.54607031881396
97-0.727486991378146-0.607991922168099-0.0252554747032260.270763416664877-0.344416652479155
98-0.843943364912431-0.669328865394966-0.0255856950823407-0.0130383897271675-0.143201004319679
99-1.20889338911855-0.780334569126671-0.0263979995215923-0.0460683337466225-0.339183668074968
100-0.649656515850742-0.770737562111514-0.0260708814844208-0.04108937950051950.143727285201544
1013.19984732249364-0.0815384112047425-0.0198510216261050.04211529267949852.86943865596466
1020.5727385294803990.00675065841139394-0.01894667792257470.07421147742103780.435453914676917
103-0.01996462215201790.0142351116153043-0.0187331119321938-0.1548008689878910.106754092983454
1040.4623168690834620.0682588279021193-0.01816274569190270.0611750010874290.294584440077821
105-1.28699501625665-0.178181484392155-0.0199052361694686-0.0620479348886354-0.926132781635256
106-1.80757939159691-0.475654822782469-0.021974451203362-0.0567873356084995-1.12798241463065
107-2.15431670426712-0.788095224574026-0.0240882955619989-0.0296184655182242-1.18214611718573
1080.707840316820782-0.546133627571622-0.02233854141307130.02443606544969921.08665255729433
1091.36410372036211-0.289951416380829-0.02384701646713780.2833774627371111.21033161471207
1100.314718394752158-0.197977078004069-0.0229120099052798-0.009739140440946920.463091457568367
111-4.10025158356-0.898823845379302-0.0287030817304252-0.147680104468609-2.70877542184062

\begin{tabular}{lllllllll}
\hline
Structural Time Series Model -- Interpolation \tabularnewline
t & Observed & Level & Slope & Seasonal & Stand. Residuals \tabularnewline
1 & 1.72923686058208 & 1.72923686058208 & 0 & 0 & 0 \tabularnewline
2 & 0.122433126801145 & 1.42066832527123 & -0.0674902134508326 & -0.0703337793262853 & -1.11322464542268 \tabularnewline
3 & 0.523768788982079 & 1.17849685106303 & -0.0969487846547913 & -0.0970096079048034 & -0.517251721347985 \tabularnewline
4 & -0.50175942601324 & 0.716179796478104 & -0.147297143239133 & -0.150130684114363 & -0.998733050740824 \tabularnewline
5 & -1.86386120887019 & -0.00487587422129143 & -0.214272051559109 & -0.21833017378633 & -1.53519956169114 \tabularnewline
6 & 0.0717422351702872 & -0.0935776671046023 & -0.201545907576142 & -0.197855361991636 & 0.33864193861942 \tabularnewline
7 & -0.380578531491989 & -0.266465820959501 & -0.198977887822426 & -0.199227202097621 & 0.0789640747935046 \tabularnewline
8 & -0.29851611788274 & -0.377419017783281 & -0.191903532563968 & -0.191110259867801 & 0.249156230522857 \tabularnewline
9 & 1.94316215667028 & 0.0664026100512477 & -0.145550539363683 & -0.139115932637732 & 1.85062442639201 \tabularnewline
10 & -1.24779901378139 & -0.313593190958833 & -0.161208038649045 & -0.166800437232212 & -0.701218437603303 \tabularnewline
11 & 1.35257277275093 & -0.0275348271453015 & -0.133626544992129 & -0.127413351309643 & 1.3718236698777 \tabularnewline
12 & 2.84406850014719 & 0.532269798704619 & -0.0938697271638612 & -0.0880693664650738 & 2.17597679196222 \tabularnewline
13 & 1.12274878943606 & 0.403528059375137 & -0.0901130250962406 & 0.986877143662351 & -0.240841169099235 \tabularnewline
14 & -2.32540657982629 & -0.319013033810243 & -0.124872672716689 & -0.136327005108213 & -1.73006870889212 \tabularnewline
15 & -2.89902363942181 & -0.992280231118665 & -0.152630362214299 & -0.156769511484653 & -1.60307123401005 \tabularnewline
16 & 0.246874012745119 & -0.799614170890165 & -0.136507496080386 & -0.122921669031032 & 1.06310395029717 \tabularnewline
17 & -0.731094375584061 & -0.86024628993833 & -0.13321729986723 & -0.13966482244634 & 0.243019838474193 \tabularnewline
18 & 1.97769407549524 & -0.338232808831384 & -0.106663912877936 & -0.087961552020559 & 2.16407173630238 \tabularnewline
19 & -0.089308186457892 & -0.347644629766973 & -0.102959350880298 & -0.108425420241986 & 0.329099734651183 \tabularnewline
20 & -1.64931358279907 & -0.672589960749849 & -0.110949263230237 & -0.120854778877491 & -0.766008346822422 \tabularnewline
21 & 1.78988776616251 & -0.247206942791754 & -0.0926237963102215 & -0.0682648695269386 & 1.88041508948696 \tabularnewline
22 & -0.655026882699021 & -0.381041117981377 & -0.0939660339434592 & -0.109797373011461 & -0.146397888406776 \tabularnewline
23 & -0.95518008982139 & -0.551266352849277 & -0.0963423278747375 & -0.0962961994931586 & -0.273900825337492 \tabularnewline
24 & -0.501427837065876 & -0.601786173407589 & -0.0949751530622079 & -0.086511684514782 & 0.166174392788391 \tabularnewline
25 & -1.47468882156665 & -0.949325902553826 & -0.0854498129813345 & 0.931359463758483 & -1.29215441992588 \tabularnewline
26 & 2.4255103110643 & -0.289762578154682 & -0.0610208819453241 & -0.0365843722118501 & 2.47570318876581 \tabularnewline
27 & -0.388732570521789 & -0.34181475584472 & -0.0607437169333842 & -0.081125965515938 & 0.0306744030423367 \tabularnewline
28 & -1.41970373897772 & -0.596673872487376 & -0.0663629812349783 & -0.0614064364454494 & -0.680793251494686 \tabularnewline
29 & -0.435743764210552 & -0.602820584863073 & -0.0647204734083732 & -0.0744552664449598 & 0.215374912400946 \tabularnewline
30 & 0.588337253253952 & -0.414153274173736 & -0.0581717711482467 & -0.0317503965475361 & 0.920486293429886 \tabularnewline
31 & -1.73087780677345 & -0.701673004525845 & -0.0638161523721626 & -0.0799106225553953 & -0.84360832817803 \tabularnewline
32 & 0.416192838768035 & -0.525708804584087 & -0.0581715621738578 & -0.0618924512566471 & 0.890954867736974 \tabularnewline
33 & -0.135602934239543 & -0.492017260106759 & -0.0560948355858048 & -0.0317504825771486 & 0.34418703297678 \tabularnewline
34 & 1.5607508968729 & -0.138199086130052 & -0.047164625421677 & -0.0465719058803769 & 1.54648276331611 \tabularnewline
35 & -0.619488852927662 & -0.256156263721066 & -0.0486553501236381 & -0.05991346327413 & -0.268634414673304 \tabularnewline
36 & 0.130061173484127 & -0.217208540023051 & -0.0468809470525117 & -0.0306115817387484 & 0.334297407235192 \tabularnewline
37 & -0.485714783249833 & -0.371395812250127 & -0.0444441858850981 & 0.463512829617528 & -0.510447427974759 \tabularnewline
38 & 1.19042117073251 & -0.0963726493171698 & -0.0369807487907751 & 0.00427466573653541 & 1.14405465298991 \tabularnewline
39 & 0.504940688912012 & 0.00202884285619165 & -0.033952534027224 & -0.0504245070185121 & 0.492854487138981 \tabularnewline
40 & -0.266725732456376 & -0.0703550140234057 & -0.0347629338422259 & -0.036420141782497 & -0.142195473277595 \tabularnewline
41 & 1.8987616014054 & 0.282514005090526 & -0.0270138510979637 & -0.0203206736171956 & 1.45272473858135 \tabularnewline
42 & 0.9835731579105 & 0.39265134294621 & -0.0244006444053469 & 0.00524002884175308 & 0.519273146775269 \tabularnewline
43 & 0.221023228988728 & 0.350065894598688 & -0.0247324773224876 & -0.0506717769711603 & -0.0694185925934969 \tabularnewline
44 & -0.176860990484583 & 0.23815407456363 & -0.0262625799411255 & -0.0364829501533889 & -0.335033543812621 \tabularnewline
45 & -0.162198287814433 & 0.144817873920369 & -0.0273991361054354 & -0.0139886604686768 & -0.259190047139376 \tabularnewline
46 & 0.78911590880292 & 0.24463812660047 & -0.0253110286818171 & -0.0141551074550225 & 0.493864089395401 \tabularnewline
47 & 1.41209201053576 & 0.444510820117414 & -0.0217210809886013 & -0.0254776477136344 & 0.877531361637408 \tabularnewline
48 & 0.518161844628975 & 0.442073349696332 & -0.0214262444748485 & -0.0093747186533513 & 0.0754708160802484 \tabularnewline
49 & 2.36462043434148 & 0.689702723170563 & -0.0257260640423503 & 0.272777000662213 & 1.23683528366464 \tabularnewline
50 & -1.24446105804486 & 0.302042931004535 & -0.0322652460677288 & -0.0294172203494087 & -1.34840513297745 \tabularnewline
51 & 1.09138861156198 & 0.43105701613893 & -0.029433282726447 & -0.0231414989917509 & 0.607066241098618 \tabularnewline
52 & 0.422175612267996 & 0.414289198147141 & -0.0292228254438863 & -0.0465050304736314 & 0.0482456587314793 \tabularnewline
53 & -0.997989397904933 & 0.135110632826765 & -0.0331737993407916 & -0.0482704533962383 & -0.961218039438096 \tabularnewline
54 & 0.754650745534752 & 0.220564898382364 & -0.0313806151804487 & 0.0148683170380374 & 0.459661353530381 \tabularnewline
55 & -1.44375392644115 & -0.0975897314200813 & -0.0355458133257807 & -0.0824291968363004 & -1.11800948642207 \tabularnewline
56 & 0.568632265545353 & 0.000386038144290834 & -0.0336745669850763 & -0.023415668990292 & 0.52314209218672 \tabularnewline
57 & 1.35413305240232 & 0.222490524830171 & -0.0302029759896085 & -0.00694167898780067 & 1.00626205185869 \tabularnewline
58 & -1.34288885715882 & -0.078039515795553 & -0.0337677208700913 & -0.0569482993817878 & -1.06711461667415 \tabularnewline
59 & -0.0968579661829751 & -0.103800723399257 & -0.033664888033202 & -0.0289469353396549 & 0.0316962578949502 \tabularnewline
60 & 0.242767533935212 & -0.0640881701874135 & -0.0327675168148226 & -0.0235181472063926 & 0.291585226393718 \tabularnewline
61 & 0.255744783559028 & -0.0977242550530477 & -0.0327569850939514 & 0.357906997394836 & -0.00391314724293109 \tabularnewline
62 & -0.243232899636027 & -0.144747196073928 & -0.0329661102225352 & -0.0370907333022272 & -0.0544745403416102 \tabularnewline
63 & 0.461607264600104 & -0.0550510031133952 & -0.0311912207577905 & -0.014775200286298 & 0.471441440470494 \tabularnewline
64 & 0.0650797112167817 & -0.0506371960518564 & -0.0307023357714469 & -0.0401586793787701 & 0.138136212435546 \tabularnewline
65 & 2.25999343044582 & 0.352893745217789 & -0.0250180948572972 & -0.00992058239860463 & 1.69743252329413 \tabularnewline
66 & 1.80462197944889 & 0.591548008374376 & -0.0217102250972578 & 0.0412143529234548 & 1.03693429898951 \tabularnewline
67 & 2.32548979115297 & 0.900451828512872 & -0.0177164150867484 & -0.0522928129550232 & 1.30653048709734 \tabularnewline
68 & 0.682758803307819 & 0.852252700999863 & -0.018072464955393 & -0.0326833692216933 & -0.120940279276825 \tabularnewline
69 & -0.335554613197298 & 0.622309921747584 & -0.0204740677190233 & -0.00352176778862701 & -0.843333565858318 \tabularnewline
70 & -0.997929583796738 & 0.32322722696244 & -0.0235485297897433 & -0.0624383323161159 & -1.11197177273138 \tabularnewline
71 & 0.97507128242145 & 0.421689742585015 & -0.0222350531709311 & 0.000749096079601804 & 0.488077985028606 \tabularnewline
72 & -1.17268516900173 & 0.124304183330854 & -0.0250269061867095 & -0.0454558744654631 & -1.10461509897169 \tabularnewline
73 & -0.000337278483281606 & 0.0370535286774044 & -0.0244293167766844 & 0.276283832035355 & -0.276603854141521 \tabularnewline
74 & -1.71460596672184 & -0.296344998543734 & -0.0282219331181328 & -0.0648416190214689 & -1.19989434870135 \tabularnewline
75 & -1.34872342854985 & -0.510547037686219 & -0.0305125376514991 & -0.0204408841684793 & -0.725079989389367 \tabularnewline
76 & -1.6521456119588 & -0.732232473987128 & -0.0327521629418877 & -0.0721369954745074 & -0.751094273557141 \tabularnewline
77 & -1.48335049731373 & -0.890006689218339 & -0.0341506651702719 & -0.0350601411876899 & -0.494277409678202 \tabularnewline
78 & 0.925016701443022 & -0.597216305455206 & -0.0306404439746951 & 0.0541545836255033 & 1.29905402921566 \tabularnewline
79 & -0.226525557050897 & -0.542553409438106 & -0.0297572413351297 & -0.0687333231956927 & 0.340312077146539 \tabularnewline
80 & 0.774905929042345 & -0.326359320645214 & -0.0272913541855263 & -0.0121503310189222 & 0.984435491021306 \tabularnewline
81 & -0.339789522342372 & -0.34967877548123 & -0.0272526529381392 & -0.00814529012003356 & 0.0159406809747742 \tabularnewline
82 & 0.89311055438168 & -0.139775694027938 & -0.0249998927481379 & -0.0465964166625094 & 0.953917918055976 \tabularnewline
83 & -0.864578780222597 & -0.288277584355624 & -0.0261453070818456 & -0.0129495106843119 & -0.497714538294172 \tabularnewline
84 & -1.95217915873499 & -0.595930603969983 & -0.0285756644104421 & -0.0667581992898301 & -1.13847395040919 \tabularnewline
85 & -0.11317194501752 & -0.597951355951487 & -0.0287831386867884 & 0.352242475119334 & 0.116912909055032 \tabularnewline
86 & 1.02470860347022 & -0.318877775766069 & -0.0255472201708525 & -0.0221015643008464 & 1.21039932677834 \tabularnewline
87 & -1.25650654087286 & -0.504823142966663 & -0.0272681409354501 & -0.0390088391122991 & -0.631881193950983 \tabularnewline
88 & -0.602130638597027 & -0.535112680853938 & -0.0272990461136172 & -0.0534966632248898 & -0.0119802725243005 \tabularnewline
89 & -0.83233134657693 & -0.602434059438572 & -0.027690393620061 & -0.0497253922280459 & -0.159545268395938 \tabularnewline
90 & -0.446577198612737 & -0.607215608514993 & -0.0274751489667904 & 0.0570168309470186 & 0.0917160627086576 \tabularnewline
91 & -4.01053303468812 & -1.21702385450499 & -0.0327572460725854 & -0.149384035275267 & -2.33945394078059 \tabularnewline
92 & 0.288513333839785 & -0.980436078206719 & -0.0303888970217904 & 0.0421537509933538 & 1.08510640550615 \tabularnewline
93 & -1.00798474916531 & -1.00395148336994 & -0.0303300962116012 & -0.0354202482775528 & 0.0277549854997712 \tabularnewline
94 & -0.572816189634855 & -0.945220168131082 & -0.0295865709486082 & -0.0351442953306133 & 0.360313326293192 \tabularnewline
95 & -0.297410570159231 & -0.854992321109193 & -0.0286097624784342 & 0.00829191176949936 & 0.485533617421124 \tabularnewline
96 & 1.21578539483534 & -0.503424472564066 & -0.0257651512334394 & -0.0311195389824833 & 1.54607031881396 \tabularnewline
97 & -0.727486991378146 & -0.607991922168099 & -0.025255474703226 & 0.270763416664877 & -0.344416652479155 \tabularnewline
98 & -0.843943364912431 & -0.669328865394966 & -0.0255856950823407 & -0.0130383897271675 & -0.143201004319679 \tabularnewline
99 & -1.20889338911855 & -0.780334569126671 & -0.0263979995215923 & -0.0460683337466225 & -0.339183668074968 \tabularnewline
100 & -0.649656515850742 & -0.770737562111514 & -0.0260708814844208 & -0.0410893795005195 & 0.143727285201544 \tabularnewline
101 & 3.19984732249364 & -0.0815384112047425 & -0.019851021626105 & 0.0421152926794985 & 2.86943865596466 \tabularnewline
102 & 0.572738529480399 & 0.00675065841139394 & -0.0189466779225747 & 0.0742114774210378 & 0.435453914676917 \tabularnewline
103 & -0.0199646221520179 & 0.0142351116153043 & -0.0187331119321938 & -0.154800868987891 & 0.106754092983454 \tabularnewline
104 & 0.462316869083462 & 0.0682588279021193 & -0.0181627456919027 & 0.061175001087429 & 0.294584440077821 \tabularnewline
105 & -1.28699501625665 & -0.178181484392155 & -0.0199052361694686 & -0.0620479348886354 & -0.926132781635256 \tabularnewline
106 & -1.80757939159691 & -0.475654822782469 & -0.021974451203362 & -0.0567873356084995 & -1.12798241463065 \tabularnewline
107 & -2.15431670426712 & -0.788095224574026 & -0.0240882955619989 & -0.0296184655182242 & -1.18214611718573 \tabularnewline
108 & 0.707840316820782 & -0.546133627571622 & -0.0223385414130713 & 0.0244360654496992 & 1.08665255729433 \tabularnewline
109 & 1.36410372036211 & -0.289951416380829 & -0.0238470164671378 & 0.283377462737111 & 1.21033161471207 \tabularnewline
110 & 0.314718394752158 & -0.197977078004069 & -0.0229120099052798 & -0.00973914044094692 & 0.463091457568367 \tabularnewline
111 & -4.10025158356 & -0.898823845379302 & -0.0287030817304252 & -0.147680104468609 & -2.70877542184062 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=315427&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]1.72923686058208[/C][C]1.72923686058208[/C][C]0[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]2[/C][C]0.122433126801145[/C][C]1.42066832527123[/C][C]-0.0674902134508326[/C][C]-0.0703337793262853[/C][C]-1.11322464542268[/C][/ROW]
[ROW][C]3[/C][C]0.523768788982079[/C][C]1.17849685106303[/C][C]-0.0969487846547913[/C][C]-0.0970096079048034[/C][C]-0.517251721347985[/C][/ROW]
[ROW][C]4[/C][C]-0.50175942601324[/C][C]0.716179796478104[/C][C]-0.147297143239133[/C][C]-0.150130684114363[/C][C]-0.998733050740824[/C][/ROW]
[ROW][C]5[/C][C]-1.86386120887019[/C][C]-0.00487587422129143[/C][C]-0.214272051559109[/C][C]-0.21833017378633[/C][C]-1.53519956169114[/C][/ROW]
[ROW][C]6[/C][C]0.0717422351702872[/C][C]-0.0935776671046023[/C][C]-0.201545907576142[/C][C]-0.197855361991636[/C][C]0.33864193861942[/C][/ROW]
[ROW][C]7[/C][C]-0.380578531491989[/C][C]-0.266465820959501[/C][C]-0.198977887822426[/C][C]-0.199227202097621[/C][C]0.0789640747935046[/C][/ROW]
[ROW][C]8[/C][C]-0.29851611788274[/C][C]-0.377419017783281[/C][C]-0.191903532563968[/C][C]-0.191110259867801[/C][C]0.249156230522857[/C][/ROW]
[ROW][C]9[/C][C]1.94316215667028[/C][C]0.0664026100512477[/C][C]-0.145550539363683[/C][C]-0.139115932637732[/C][C]1.85062442639201[/C][/ROW]
[ROW][C]10[/C][C]-1.24779901378139[/C][C]-0.313593190958833[/C][C]-0.161208038649045[/C][C]-0.166800437232212[/C][C]-0.701218437603303[/C][/ROW]
[ROW][C]11[/C][C]1.35257277275093[/C][C]-0.0275348271453015[/C][C]-0.133626544992129[/C][C]-0.127413351309643[/C][C]1.3718236698777[/C][/ROW]
[ROW][C]12[/C][C]2.84406850014719[/C][C]0.532269798704619[/C][C]-0.0938697271638612[/C][C]-0.0880693664650738[/C][C]2.17597679196222[/C][/ROW]
[ROW][C]13[/C][C]1.12274878943606[/C][C]0.403528059375137[/C][C]-0.0901130250962406[/C][C]0.986877143662351[/C][C]-0.240841169099235[/C][/ROW]
[ROW][C]14[/C][C]-2.32540657982629[/C][C]-0.319013033810243[/C][C]-0.124872672716689[/C][C]-0.136327005108213[/C][C]-1.73006870889212[/C][/ROW]
[ROW][C]15[/C][C]-2.89902363942181[/C][C]-0.992280231118665[/C][C]-0.152630362214299[/C][C]-0.156769511484653[/C][C]-1.60307123401005[/C][/ROW]
[ROW][C]16[/C][C]0.246874012745119[/C][C]-0.799614170890165[/C][C]-0.136507496080386[/C][C]-0.122921669031032[/C][C]1.06310395029717[/C][/ROW]
[ROW][C]17[/C][C]-0.731094375584061[/C][C]-0.86024628993833[/C][C]-0.13321729986723[/C][C]-0.13966482244634[/C][C]0.243019838474193[/C][/ROW]
[ROW][C]18[/C][C]1.97769407549524[/C][C]-0.338232808831384[/C][C]-0.106663912877936[/C][C]-0.087961552020559[/C][C]2.16407173630238[/C][/ROW]
[ROW][C]19[/C][C]-0.089308186457892[/C][C]-0.347644629766973[/C][C]-0.102959350880298[/C][C]-0.108425420241986[/C][C]0.329099734651183[/C][/ROW]
[ROW][C]20[/C][C]-1.64931358279907[/C][C]-0.672589960749849[/C][C]-0.110949263230237[/C][C]-0.120854778877491[/C][C]-0.766008346822422[/C][/ROW]
[ROW][C]21[/C][C]1.78988776616251[/C][C]-0.247206942791754[/C][C]-0.0926237963102215[/C][C]-0.0682648695269386[/C][C]1.88041508948696[/C][/ROW]
[ROW][C]22[/C][C]-0.655026882699021[/C][C]-0.381041117981377[/C][C]-0.0939660339434592[/C][C]-0.109797373011461[/C][C]-0.146397888406776[/C][/ROW]
[ROW][C]23[/C][C]-0.95518008982139[/C][C]-0.551266352849277[/C][C]-0.0963423278747375[/C][C]-0.0962961994931586[/C][C]-0.273900825337492[/C][/ROW]
[ROW][C]24[/C][C]-0.501427837065876[/C][C]-0.601786173407589[/C][C]-0.0949751530622079[/C][C]-0.086511684514782[/C][C]0.166174392788391[/C][/ROW]
[ROW][C]25[/C][C]-1.47468882156665[/C][C]-0.949325902553826[/C][C]-0.0854498129813345[/C][C]0.931359463758483[/C][C]-1.29215441992588[/C][/ROW]
[ROW][C]26[/C][C]2.4255103110643[/C][C]-0.289762578154682[/C][C]-0.0610208819453241[/C][C]-0.0365843722118501[/C][C]2.47570318876581[/C][/ROW]
[ROW][C]27[/C][C]-0.388732570521789[/C][C]-0.34181475584472[/C][C]-0.0607437169333842[/C][C]-0.081125965515938[/C][C]0.0306744030423367[/C][/ROW]
[ROW][C]28[/C][C]-1.41970373897772[/C][C]-0.596673872487376[/C][C]-0.0663629812349783[/C][C]-0.0614064364454494[/C][C]-0.680793251494686[/C][/ROW]
[ROW][C]29[/C][C]-0.435743764210552[/C][C]-0.602820584863073[/C][C]-0.0647204734083732[/C][C]-0.0744552664449598[/C][C]0.215374912400946[/C][/ROW]
[ROW][C]30[/C][C]0.588337253253952[/C][C]-0.414153274173736[/C][C]-0.0581717711482467[/C][C]-0.0317503965475361[/C][C]0.920486293429886[/C][/ROW]
[ROW][C]31[/C][C]-1.73087780677345[/C][C]-0.701673004525845[/C][C]-0.0638161523721626[/C][C]-0.0799106225553953[/C][C]-0.84360832817803[/C][/ROW]
[ROW][C]32[/C][C]0.416192838768035[/C][C]-0.525708804584087[/C][C]-0.0581715621738578[/C][C]-0.0618924512566471[/C][C]0.890954867736974[/C][/ROW]
[ROW][C]33[/C][C]-0.135602934239543[/C][C]-0.492017260106759[/C][C]-0.0560948355858048[/C][C]-0.0317504825771486[/C][C]0.34418703297678[/C][/ROW]
[ROW][C]34[/C][C]1.5607508968729[/C][C]-0.138199086130052[/C][C]-0.047164625421677[/C][C]-0.0465719058803769[/C][C]1.54648276331611[/C][/ROW]
[ROW][C]35[/C][C]-0.619488852927662[/C][C]-0.256156263721066[/C][C]-0.0486553501236381[/C][C]-0.05991346327413[/C][C]-0.268634414673304[/C][/ROW]
[ROW][C]36[/C][C]0.130061173484127[/C][C]-0.217208540023051[/C][C]-0.0468809470525117[/C][C]-0.0306115817387484[/C][C]0.334297407235192[/C][/ROW]
[ROW][C]37[/C][C]-0.485714783249833[/C][C]-0.371395812250127[/C][C]-0.0444441858850981[/C][C]0.463512829617528[/C][C]-0.510447427974759[/C][/ROW]
[ROW][C]38[/C][C]1.19042117073251[/C][C]-0.0963726493171698[/C][C]-0.0369807487907751[/C][C]0.00427466573653541[/C][C]1.14405465298991[/C][/ROW]
[ROW][C]39[/C][C]0.504940688912012[/C][C]0.00202884285619165[/C][C]-0.033952534027224[/C][C]-0.0504245070185121[/C][C]0.492854487138981[/C][/ROW]
[ROW][C]40[/C][C]-0.266725732456376[/C][C]-0.0703550140234057[/C][C]-0.0347629338422259[/C][C]-0.036420141782497[/C][C]-0.142195473277595[/C][/ROW]
[ROW][C]41[/C][C]1.8987616014054[/C][C]0.282514005090526[/C][C]-0.0270138510979637[/C][C]-0.0203206736171956[/C][C]1.45272473858135[/C][/ROW]
[ROW][C]42[/C][C]0.9835731579105[/C][C]0.39265134294621[/C][C]-0.0244006444053469[/C][C]0.00524002884175308[/C][C]0.519273146775269[/C][/ROW]
[ROW][C]43[/C][C]0.221023228988728[/C][C]0.350065894598688[/C][C]-0.0247324773224876[/C][C]-0.0506717769711603[/C][C]-0.0694185925934969[/C][/ROW]
[ROW][C]44[/C][C]-0.176860990484583[/C][C]0.23815407456363[/C][C]-0.0262625799411255[/C][C]-0.0364829501533889[/C][C]-0.335033543812621[/C][/ROW]
[ROW][C]45[/C][C]-0.162198287814433[/C][C]0.144817873920369[/C][C]-0.0273991361054354[/C][C]-0.0139886604686768[/C][C]-0.259190047139376[/C][/ROW]
[ROW][C]46[/C][C]0.78911590880292[/C][C]0.24463812660047[/C][C]-0.0253110286818171[/C][C]-0.0141551074550225[/C][C]0.493864089395401[/C][/ROW]
[ROW][C]47[/C][C]1.41209201053576[/C][C]0.444510820117414[/C][C]-0.0217210809886013[/C][C]-0.0254776477136344[/C][C]0.877531361637408[/C][/ROW]
[ROW][C]48[/C][C]0.518161844628975[/C][C]0.442073349696332[/C][C]-0.0214262444748485[/C][C]-0.0093747186533513[/C][C]0.0754708160802484[/C][/ROW]
[ROW][C]49[/C][C]2.36462043434148[/C][C]0.689702723170563[/C][C]-0.0257260640423503[/C][C]0.272777000662213[/C][C]1.23683528366464[/C][/ROW]
[ROW][C]50[/C][C]-1.24446105804486[/C][C]0.302042931004535[/C][C]-0.0322652460677288[/C][C]-0.0294172203494087[/C][C]-1.34840513297745[/C][/ROW]
[ROW][C]51[/C][C]1.09138861156198[/C][C]0.43105701613893[/C][C]-0.029433282726447[/C][C]-0.0231414989917509[/C][C]0.607066241098618[/C][/ROW]
[ROW][C]52[/C][C]0.422175612267996[/C][C]0.414289198147141[/C][C]-0.0292228254438863[/C][C]-0.0465050304736314[/C][C]0.0482456587314793[/C][/ROW]
[ROW][C]53[/C][C]-0.997989397904933[/C][C]0.135110632826765[/C][C]-0.0331737993407916[/C][C]-0.0482704533962383[/C][C]-0.961218039438096[/C][/ROW]
[ROW][C]54[/C][C]0.754650745534752[/C][C]0.220564898382364[/C][C]-0.0313806151804487[/C][C]0.0148683170380374[/C][C]0.459661353530381[/C][/ROW]
[ROW][C]55[/C][C]-1.44375392644115[/C][C]-0.0975897314200813[/C][C]-0.0355458133257807[/C][C]-0.0824291968363004[/C][C]-1.11800948642207[/C][/ROW]
[ROW][C]56[/C][C]0.568632265545353[/C][C]0.000386038144290834[/C][C]-0.0336745669850763[/C][C]-0.023415668990292[/C][C]0.52314209218672[/C][/ROW]
[ROW][C]57[/C][C]1.35413305240232[/C][C]0.222490524830171[/C][C]-0.0302029759896085[/C][C]-0.00694167898780067[/C][C]1.00626205185869[/C][/ROW]
[ROW][C]58[/C][C]-1.34288885715882[/C][C]-0.078039515795553[/C][C]-0.0337677208700913[/C][C]-0.0569482993817878[/C][C]-1.06711461667415[/C][/ROW]
[ROW][C]59[/C][C]-0.0968579661829751[/C][C]-0.103800723399257[/C][C]-0.033664888033202[/C][C]-0.0289469353396549[/C][C]0.0316962578949502[/C][/ROW]
[ROW][C]60[/C][C]0.242767533935212[/C][C]-0.0640881701874135[/C][C]-0.0327675168148226[/C][C]-0.0235181472063926[/C][C]0.291585226393718[/C][/ROW]
[ROW][C]61[/C][C]0.255744783559028[/C][C]-0.0977242550530477[/C][C]-0.0327569850939514[/C][C]0.357906997394836[/C][C]-0.00391314724293109[/C][/ROW]
[ROW][C]62[/C][C]-0.243232899636027[/C][C]-0.144747196073928[/C][C]-0.0329661102225352[/C][C]-0.0370907333022272[/C][C]-0.0544745403416102[/C][/ROW]
[ROW][C]63[/C][C]0.461607264600104[/C][C]-0.0550510031133952[/C][C]-0.0311912207577905[/C][C]-0.014775200286298[/C][C]0.471441440470494[/C][/ROW]
[ROW][C]64[/C][C]0.0650797112167817[/C][C]-0.0506371960518564[/C][C]-0.0307023357714469[/C][C]-0.0401586793787701[/C][C]0.138136212435546[/C][/ROW]
[ROW][C]65[/C][C]2.25999343044582[/C][C]0.352893745217789[/C][C]-0.0250180948572972[/C][C]-0.00992058239860463[/C][C]1.69743252329413[/C][/ROW]
[ROW][C]66[/C][C]1.80462197944889[/C][C]0.591548008374376[/C][C]-0.0217102250972578[/C][C]0.0412143529234548[/C][C]1.03693429898951[/C][/ROW]
[ROW][C]67[/C][C]2.32548979115297[/C][C]0.900451828512872[/C][C]-0.0177164150867484[/C][C]-0.0522928129550232[/C][C]1.30653048709734[/C][/ROW]
[ROW][C]68[/C][C]0.682758803307819[/C][C]0.852252700999863[/C][C]-0.018072464955393[/C][C]-0.0326833692216933[/C][C]-0.120940279276825[/C][/ROW]
[ROW][C]69[/C][C]-0.335554613197298[/C][C]0.622309921747584[/C][C]-0.0204740677190233[/C][C]-0.00352176778862701[/C][C]-0.843333565858318[/C][/ROW]
[ROW][C]70[/C][C]-0.997929583796738[/C][C]0.32322722696244[/C][C]-0.0235485297897433[/C][C]-0.0624383323161159[/C][C]-1.11197177273138[/C][/ROW]
[ROW][C]71[/C][C]0.97507128242145[/C][C]0.421689742585015[/C][C]-0.0222350531709311[/C][C]0.000749096079601804[/C][C]0.488077985028606[/C][/ROW]
[ROW][C]72[/C][C]-1.17268516900173[/C][C]0.124304183330854[/C][C]-0.0250269061867095[/C][C]-0.0454558744654631[/C][C]-1.10461509897169[/C][/ROW]
[ROW][C]73[/C][C]-0.000337278483281606[/C][C]0.0370535286774044[/C][C]-0.0244293167766844[/C][C]0.276283832035355[/C][C]-0.276603854141521[/C][/ROW]
[ROW][C]74[/C][C]-1.71460596672184[/C][C]-0.296344998543734[/C][C]-0.0282219331181328[/C][C]-0.0648416190214689[/C][C]-1.19989434870135[/C][/ROW]
[ROW][C]75[/C][C]-1.34872342854985[/C][C]-0.510547037686219[/C][C]-0.0305125376514991[/C][C]-0.0204408841684793[/C][C]-0.725079989389367[/C][/ROW]
[ROW][C]76[/C][C]-1.6521456119588[/C][C]-0.732232473987128[/C][C]-0.0327521629418877[/C][C]-0.0721369954745074[/C][C]-0.751094273557141[/C][/ROW]
[ROW][C]77[/C][C]-1.48335049731373[/C][C]-0.890006689218339[/C][C]-0.0341506651702719[/C][C]-0.0350601411876899[/C][C]-0.494277409678202[/C][/ROW]
[ROW][C]78[/C][C]0.925016701443022[/C][C]-0.597216305455206[/C][C]-0.0306404439746951[/C][C]0.0541545836255033[/C][C]1.29905402921566[/C][/ROW]
[ROW][C]79[/C][C]-0.226525557050897[/C][C]-0.542553409438106[/C][C]-0.0297572413351297[/C][C]-0.0687333231956927[/C][C]0.340312077146539[/C][/ROW]
[ROW][C]80[/C][C]0.774905929042345[/C][C]-0.326359320645214[/C][C]-0.0272913541855263[/C][C]-0.0121503310189222[/C][C]0.984435491021306[/C][/ROW]
[ROW][C]81[/C][C]-0.339789522342372[/C][C]-0.34967877548123[/C][C]-0.0272526529381392[/C][C]-0.00814529012003356[/C][C]0.0159406809747742[/C][/ROW]
[ROW][C]82[/C][C]0.89311055438168[/C][C]-0.139775694027938[/C][C]-0.0249998927481379[/C][C]-0.0465964166625094[/C][C]0.953917918055976[/C][/ROW]
[ROW][C]83[/C][C]-0.864578780222597[/C][C]-0.288277584355624[/C][C]-0.0261453070818456[/C][C]-0.0129495106843119[/C][C]-0.497714538294172[/C][/ROW]
[ROW][C]84[/C][C]-1.95217915873499[/C][C]-0.595930603969983[/C][C]-0.0285756644104421[/C][C]-0.0667581992898301[/C][C]-1.13847395040919[/C][/ROW]
[ROW][C]85[/C][C]-0.11317194501752[/C][C]-0.597951355951487[/C][C]-0.0287831386867884[/C][C]0.352242475119334[/C][C]0.116912909055032[/C][/ROW]
[ROW][C]86[/C][C]1.02470860347022[/C][C]-0.318877775766069[/C][C]-0.0255472201708525[/C][C]-0.0221015643008464[/C][C]1.21039932677834[/C][/ROW]
[ROW][C]87[/C][C]-1.25650654087286[/C][C]-0.504823142966663[/C][C]-0.0272681409354501[/C][C]-0.0390088391122991[/C][C]-0.631881193950983[/C][/ROW]
[ROW][C]88[/C][C]-0.602130638597027[/C][C]-0.535112680853938[/C][C]-0.0272990461136172[/C][C]-0.0534966632248898[/C][C]-0.0119802725243005[/C][/ROW]
[ROW][C]89[/C][C]-0.83233134657693[/C][C]-0.602434059438572[/C][C]-0.027690393620061[/C][C]-0.0497253922280459[/C][C]-0.159545268395938[/C][/ROW]
[ROW][C]90[/C][C]-0.446577198612737[/C][C]-0.607215608514993[/C][C]-0.0274751489667904[/C][C]0.0570168309470186[/C][C]0.0917160627086576[/C][/ROW]
[ROW][C]91[/C][C]-4.01053303468812[/C][C]-1.21702385450499[/C][C]-0.0327572460725854[/C][C]-0.149384035275267[/C][C]-2.33945394078059[/C][/ROW]
[ROW][C]92[/C][C]0.288513333839785[/C][C]-0.980436078206719[/C][C]-0.0303888970217904[/C][C]0.0421537509933538[/C][C]1.08510640550615[/C][/ROW]
[ROW][C]93[/C][C]-1.00798474916531[/C][C]-1.00395148336994[/C][C]-0.0303300962116012[/C][C]-0.0354202482775528[/C][C]0.0277549854997712[/C][/ROW]
[ROW][C]94[/C][C]-0.572816189634855[/C][C]-0.945220168131082[/C][C]-0.0295865709486082[/C][C]-0.0351442953306133[/C][C]0.360313326293192[/C][/ROW]
[ROW][C]95[/C][C]-0.297410570159231[/C][C]-0.854992321109193[/C][C]-0.0286097624784342[/C][C]0.00829191176949936[/C][C]0.485533617421124[/C][/ROW]
[ROW][C]96[/C][C]1.21578539483534[/C][C]-0.503424472564066[/C][C]-0.0257651512334394[/C][C]-0.0311195389824833[/C][C]1.54607031881396[/C][/ROW]
[ROW][C]97[/C][C]-0.727486991378146[/C][C]-0.607991922168099[/C][C]-0.025255474703226[/C][C]0.270763416664877[/C][C]-0.344416652479155[/C][/ROW]
[ROW][C]98[/C][C]-0.843943364912431[/C][C]-0.669328865394966[/C][C]-0.0255856950823407[/C][C]-0.0130383897271675[/C][C]-0.143201004319679[/C][/ROW]
[ROW][C]99[/C][C]-1.20889338911855[/C][C]-0.780334569126671[/C][C]-0.0263979995215923[/C][C]-0.0460683337466225[/C][C]-0.339183668074968[/C][/ROW]
[ROW][C]100[/C][C]-0.649656515850742[/C][C]-0.770737562111514[/C][C]-0.0260708814844208[/C][C]-0.0410893795005195[/C][C]0.143727285201544[/C][/ROW]
[ROW][C]101[/C][C]3.19984732249364[/C][C]-0.0815384112047425[/C][C]-0.019851021626105[/C][C]0.0421152926794985[/C][C]2.86943865596466[/C][/ROW]
[ROW][C]102[/C][C]0.572738529480399[/C][C]0.00675065841139394[/C][C]-0.0189466779225747[/C][C]0.0742114774210378[/C][C]0.435453914676917[/C][/ROW]
[ROW][C]103[/C][C]-0.0199646221520179[/C][C]0.0142351116153043[/C][C]-0.0187331119321938[/C][C]-0.154800868987891[/C][C]0.106754092983454[/C][/ROW]
[ROW][C]104[/C][C]0.462316869083462[/C][C]0.0682588279021193[/C][C]-0.0181627456919027[/C][C]0.061175001087429[/C][C]0.294584440077821[/C][/ROW]
[ROW][C]105[/C][C]-1.28699501625665[/C][C]-0.178181484392155[/C][C]-0.0199052361694686[/C][C]-0.0620479348886354[/C][C]-0.926132781635256[/C][/ROW]
[ROW][C]106[/C][C]-1.80757939159691[/C][C]-0.475654822782469[/C][C]-0.021974451203362[/C][C]-0.0567873356084995[/C][C]-1.12798241463065[/C][/ROW]
[ROW][C]107[/C][C]-2.15431670426712[/C][C]-0.788095224574026[/C][C]-0.0240882955619989[/C][C]-0.0296184655182242[/C][C]-1.18214611718573[/C][/ROW]
[ROW][C]108[/C][C]0.707840316820782[/C][C]-0.546133627571622[/C][C]-0.0223385414130713[/C][C]0.0244360654496992[/C][C]1.08665255729433[/C][/ROW]
[ROW][C]109[/C][C]1.36410372036211[/C][C]-0.289951416380829[/C][C]-0.0238470164671378[/C][C]0.283377462737111[/C][C]1.21033161471207[/C][/ROW]
[ROW][C]110[/C][C]0.314718394752158[/C][C]-0.197977078004069[/C][C]-0.0229120099052798[/C][C]-0.00973914044094692[/C][C]0.463091457568367[/C][/ROW]
[ROW][C]111[/C][C]-4.10025158356[/C][C]-0.898823845379302[/C][C]-0.0287030817304252[/C][C]-0.147680104468609[/C][C]-2.70877542184062[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=315427&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=315427&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
11.729236860582081.72923686058208000
20.1224331268011451.42066832527123-0.0674902134508326-0.0703337793262853-1.11322464542268
30.5237687889820791.17849685106303-0.0969487846547913-0.0970096079048034-0.517251721347985
4-0.501759426013240.716179796478104-0.147297143239133-0.150130684114363-0.998733050740824
5-1.86386120887019-0.00487587422129143-0.214272051559109-0.21833017378633-1.53519956169114
60.0717422351702872-0.0935776671046023-0.201545907576142-0.1978553619916360.33864193861942
7-0.380578531491989-0.266465820959501-0.198977887822426-0.1992272020976210.0789640747935046
8-0.29851611788274-0.377419017783281-0.191903532563968-0.1911102598678010.249156230522857
91.943162156670280.0664026100512477-0.145550539363683-0.1391159326377321.85062442639201
10-1.24779901378139-0.313593190958833-0.161208038649045-0.166800437232212-0.701218437603303
111.35257277275093-0.0275348271453015-0.133626544992129-0.1274133513096431.3718236698777
122.844068500147190.532269798704619-0.0938697271638612-0.08806936646507382.17597679196222
131.122748789436060.403528059375137-0.09011302509624060.986877143662351-0.240841169099235
14-2.32540657982629-0.319013033810243-0.124872672716689-0.136327005108213-1.73006870889212
15-2.89902363942181-0.992280231118665-0.152630362214299-0.156769511484653-1.60307123401005
160.246874012745119-0.799614170890165-0.136507496080386-0.1229216690310321.06310395029717
17-0.731094375584061-0.86024628993833-0.13321729986723-0.139664822446340.243019838474193
181.97769407549524-0.338232808831384-0.106663912877936-0.0879615520205592.16407173630238
19-0.089308186457892-0.347644629766973-0.102959350880298-0.1084254202419860.329099734651183
20-1.64931358279907-0.672589960749849-0.110949263230237-0.120854778877491-0.766008346822422
211.78988776616251-0.247206942791754-0.0926237963102215-0.06826486952693861.88041508948696
22-0.655026882699021-0.381041117981377-0.0939660339434592-0.109797373011461-0.146397888406776
23-0.95518008982139-0.551266352849277-0.0963423278747375-0.0962961994931586-0.273900825337492
24-0.501427837065876-0.601786173407589-0.0949751530622079-0.0865116845147820.166174392788391
25-1.47468882156665-0.949325902553826-0.08544981298133450.931359463758483-1.29215441992588
262.4255103110643-0.289762578154682-0.0610208819453241-0.03658437221185012.47570318876581
27-0.388732570521789-0.34181475584472-0.0607437169333842-0.0811259655159380.0306744030423367
28-1.41970373897772-0.596673872487376-0.0663629812349783-0.0614064364454494-0.680793251494686
29-0.435743764210552-0.602820584863073-0.0647204734083732-0.07445526644495980.215374912400946
300.588337253253952-0.414153274173736-0.0581717711482467-0.03175039654753610.920486293429886
31-1.73087780677345-0.701673004525845-0.0638161523721626-0.0799106225553953-0.84360832817803
320.416192838768035-0.525708804584087-0.0581715621738578-0.06189245125664710.890954867736974
33-0.135602934239543-0.492017260106759-0.0560948355858048-0.03175048257714860.34418703297678
341.5607508968729-0.138199086130052-0.047164625421677-0.04657190588037691.54648276331611
35-0.619488852927662-0.256156263721066-0.0486553501236381-0.05991346327413-0.268634414673304
360.130061173484127-0.217208540023051-0.0468809470525117-0.03061158173874840.334297407235192
37-0.485714783249833-0.371395812250127-0.04444418588509810.463512829617528-0.510447427974759
381.19042117073251-0.0963726493171698-0.03698074879077510.004274665736535411.14405465298991
390.5049406889120120.00202884285619165-0.033952534027224-0.05042450701851210.492854487138981
40-0.266725732456376-0.0703550140234057-0.0347629338422259-0.036420141782497-0.142195473277595
411.89876160140540.282514005090526-0.0270138510979637-0.02032067361719561.45272473858135
420.98357315791050.39265134294621-0.02440064440534690.005240028841753080.519273146775269
430.2210232289887280.350065894598688-0.0247324773224876-0.0506717769711603-0.0694185925934969
44-0.1768609904845830.23815407456363-0.0262625799411255-0.0364829501533889-0.335033543812621
45-0.1621982878144330.144817873920369-0.0273991361054354-0.0139886604686768-0.259190047139376
460.789115908802920.24463812660047-0.0253110286818171-0.01415510745502250.493864089395401
471.412092010535760.444510820117414-0.0217210809886013-0.02547764771363440.877531361637408
480.5181618446289750.442073349696332-0.0214262444748485-0.00937471865335130.0754708160802484
492.364620434341480.689702723170563-0.02572606404235030.2727770006622131.23683528366464
50-1.244461058044860.302042931004535-0.0322652460677288-0.0294172203494087-1.34840513297745
511.091388611561980.43105701613893-0.029433282726447-0.02314149899175090.607066241098618
520.4221756122679960.414289198147141-0.0292228254438863-0.04650503047363140.0482456587314793
53-0.9979893979049330.135110632826765-0.0331737993407916-0.0482704533962383-0.961218039438096
540.7546507455347520.220564898382364-0.03138061518044870.01486831703803740.459661353530381
55-1.44375392644115-0.0975897314200813-0.0355458133257807-0.0824291968363004-1.11800948642207
560.5686322655453530.000386038144290834-0.0336745669850763-0.0234156689902920.52314209218672
571.354133052402320.222490524830171-0.0302029759896085-0.006941678987800671.00626205185869
58-1.34288885715882-0.078039515795553-0.0337677208700913-0.0569482993817878-1.06711461667415
59-0.0968579661829751-0.103800723399257-0.033664888033202-0.02894693533965490.0316962578949502
600.242767533935212-0.0640881701874135-0.0327675168148226-0.02351814720639260.291585226393718
610.255744783559028-0.0977242550530477-0.03275698509395140.357906997394836-0.00391314724293109
62-0.243232899636027-0.144747196073928-0.0329661102225352-0.0370907333022272-0.0544745403416102
630.461607264600104-0.0550510031133952-0.0311912207577905-0.0147752002862980.471441440470494
640.0650797112167817-0.0506371960518564-0.0307023357714469-0.04015867937877010.138136212435546
652.259993430445820.352893745217789-0.0250180948572972-0.009920582398604631.69743252329413
661.804621979448890.591548008374376-0.02171022509725780.04121435292345481.03693429898951
672.325489791152970.900451828512872-0.0177164150867484-0.05229281295502321.30653048709734
680.6827588033078190.852252700999863-0.018072464955393-0.0326833692216933-0.120940279276825
69-0.3355546131972980.622309921747584-0.0204740677190233-0.00352176778862701-0.843333565858318
70-0.9979295837967380.32322722696244-0.0235485297897433-0.0624383323161159-1.11197177273138
710.975071282421450.421689742585015-0.02223505317093110.0007490960796018040.488077985028606
72-1.172685169001730.124304183330854-0.0250269061867095-0.0454558744654631-1.10461509897169
73-0.0003372784832816060.0370535286774044-0.02442931677668440.276283832035355-0.276603854141521
74-1.71460596672184-0.296344998543734-0.0282219331181328-0.0648416190214689-1.19989434870135
75-1.34872342854985-0.510547037686219-0.0305125376514991-0.0204408841684793-0.725079989389367
76-1.6521456119588-0.732232473987128-0.0327521629418877-0.0721369954745074-0.751094273557141
77-1.48335049731373-0.890006689218339-0.0341506651702719-0.0350601411876899-0.494277409678202
780.925016701443022-0.597216305455206-0.03064044397469510.05415458362550331.29905402921566
79-0.226525557050897-0.542553409438106-0.0297572413351297-0.06873332319569270.340312077146539
800.774905929042345-0.326359320645214-0.0272913541855263-0.01215033101892220.984435491021306
81-0.339789522342372-0.34967877548123-0.0272526529381392-0.008145290120033560.0159406809747742
820.89311055438168-0.139775694027938-0.0249998927481379-0.04659641666250940.953917918055976
83-0.864578780222597-0.288277584355624-0.0261453070818456-0.0129495106843119-0.497714538294172
84-1.95217915873499-0.595930603969983-0.0285756644104421-0.0667581992898301-1.13847395040919
85-0.11317194501752-0.597951355951487-0.02878313868678840.3522424751193340.116912909055032
861.02470860347022-0.318877775766069-0.0255472201708525-0.02210156430084641.21039932677834
87-1.25650654087286-0.504823142966663-0.0272681409354501-0.0390088391122991-0.631881193950983
88-0.602130638597027-0.535112680853938-0.0272990461136172-0.0534966632248898-0.0119802725243005
89-0.83233134657693-0.602434059438572-0.027690393620061-0.0497253922280459-0.159545268395938
90-0.446577198612737-0.607215608514993-0.02747514896679040.05701683094701860.0917160627086576
91-4.01053303468812-1.21702385450499-0.0327572460725854-0.149384035275267-2.33945394078059
920.288513333839785-0.980436078206719-0.03038889702179040.04215375099335381.08510640550615
93-1.00798474916531-1.00395148336994-0.0303300962116012-0.03542024827755280.0277549854997712
94-0.572816189634855-0.945220168131082-0.0295865709486082-0.03514429533061330.360313326293192
95-0.297410570159231-0.854992321109193-0.02860976247843420.008291911769499360.485533617421124
961.21578539483534-0.503424472564066-0.0257651512334394-0.03111953898248331.54607031881396
97-0.727486991378146-0.607991922168099-0.0252554747032260.270763416664877-0.344416652479155
98-0.843943364912431-0.669328865394966-0.0255856950823407-0.0130383897271675-0.143201004319679
99-1.20889338911855-0.780334569126671-0.0263979995215923-0.0460683337466225-0.339183668074968
100-0.649656515850742-0.770737562111514-0.0260708814844208-0.04108937950051950.143727285201544
1013.19984732249364-0.0815384112047425-0.0198510216261050.04211529267949852.86943865596466
1020.5727385294803990.00675065841139394-0.01894667792257470.07421147742103780.435453914676917
103-0.01996462215201790.0142351116153043-0.0187331119321938-0.1548008689878910.106754092983454
1040.4623168690834620.0682588279021193-0.01816274569190270.0611750010874290.294584440077821
105-1.28699501625665-0.178181484392155-0.0199052361694686-0.0620479348886354-0.926132781635256
106-1.80757939159691-0.475654822782469-0.021974451203362-0.0567873356084995-1.12798241463065
107-2.15431670426712-0.788095224574026-0.0240882955619989-0.0296184655182242-1.18214611718573
1080.707840316820782-0.546133627571622-0.02233854141307130.02443606544969921.08665255729433
1091.36410372036211-0.289951416380829-0.02384701646713780.2833774627371111.21033161471207
1100.314718394752158-0.197977078004069-0.0229120099052798-0.009739140440946920.463091457568367
111-4.10025158356-0.898823845379302-0.0287030817304252-0.147680104468609-2.70877542184062







Structural Time Series Model -- Extrapolation
tObservedLevelSeasonal
1-1.92595138326871-1.47698369961162-0.448967683657093
20.0432752115202966-1.855205059800141.89848027132043
3-2.25278751271694-2.23342641998866-0.0193610927282767
4-3.26104921259339-2.61164778017718-0.64940143241621
5-2.11582543901538-2.989869140365710.874043701350328
6-3.67078672847912-3.36809050055423-0.302696227924896
7-4.18178406818175-3.74631186074275-0.435472207439001
8-5.08193943377367-4.12453322093127-0.9574062128424
9-3.48360160819372-4.50275458111981.01915297292607
10-3.83639425615597-4.880975941308321.04458168515235
11-4.68540427270375-5.259197301496840.573793028793086
12-8.23416546421976-5.63741866168536-2.5967468025344

\begin{tabular}{lllllllll}
\hline
Structural Time Series Model -- Extrapolation \tabularnewline
t & Observed & Level & Seasonal \tabularnewline
1 & -1.92595138326871 & -1.47698369961162 & -0.448967683657093 \tabularnewline
2 & 0.0432752115202966 & -1.85520505980014 & 1.89848027132043 \tabularnewline
3 & -2.25278751271694 & -2.23342641998866 & -0.0193610927282767 \tabularnewline
4 & -3.26104921259339 & -2.61164778017718 & -0.64940143241621 \tabularnewline
5 & -2.11582543901538 & -2.98986914036571 & 0.874043701350328 \tabularnewline
6 & -3.67078672847912 & -3.36809050055423 & -0.302696227924896 \tabularnewline
7 & -4.18178406818175 & -3.74631186074275 & -0.435472207439001 \tabularnewline
8 & -5.08193943377367 & -4.12453322093127 & -0.9574062128424 \tabularnewline
9 & -3.48360160819372 & -4.5027545811198 & 1.01915297292607 \tabularnewline
10 & -3.83639425615597 & -4.88097594130832 & 1.04458168515235 \tabularnewline
11 & -4.68540427270375 & -5.25919730149684 & 0.573793028793086 \tabularnewline
12 & -8.23416546421976 & -5.63741866168536 & -2.5967468025344 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=315427&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]-1.92595138326871[/C][C]-1.47698369961162[/C][C]-0.448967683657093[/C][/ROW]
[ROW][C]2[/C][C]0.0432752115202966[/C][C]-1.85520505980014[/C][C]1.89848027132043[/C][/ROW]
[ROW][C]3[/C][C]-2.25278751271694[/C][C]-2.23342641998866[/C][C]-0.0193610927282767[/C][/ROW]
[ROW][C]4[/C][C]-3.26104921259339[/C][C]-2.61164778017718[/C][C]-0.64940143241621[/C][/ROW]
[ROW][C]5[/C][C]-2.11582543901538[/C][C]-2.98986914036571[/C][C]0.874043701350328[/C][/ROW]
[ROW][C]6[/C][C]-3.67078672847912[/C][C]-3.36809050055423[/C][C]-0.302696227924896[/C][/ROW]
[ROW][C]7[/C][C]-4.18178406818175[/C][C]-3.74631186074275[/C][C]-0.435472207439001[/C][/ROW]
[ROW][C]8[/C][C]-5.08193943377367[/C][C]-4.12453322093127[/C][C]-0.9574062128424[/C][/ROW]
[ROW][C]9[/C][C]-3.48360160819372[/C][C]-4.5027545811198[/C][C]1.01915297292607[/C][/ROW]
[ROW][C]10[/C][C]-3.83639425615597[/C][C]-4.88097594130832[/C][C]1.04458168515235[/C][/ROW]
[ROW][C]11[/C][C]-4.68540427270375[/C][C]-5.25919730149684[/C][C]0.573793028793086[/C][/ROW]
[ROW][C]12[/C][C]-8.23416546421976[/C][C]-5.63741866168536[/C][C]-2.5967468025344[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=315427&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=315427&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
1-1.92595138326871-1.47698369961162-0.448967683657093
20.0432752115202966-1.855205059800141.89848027132043
3-2.25278751271694-2.23342641998866-0.0193610927282767
4-3.26104921259339-2.61164778017718-0.64940143241621
5-2.11582543901538-2.989869140365710.874043701350328
6-3.67078672847912-3.36809050055423-0.302696227924896
7-4.18178406818175-3.74631186074275-0.435472207439001
8-5.08193943377367-4.12453322093127-0.9574062128424
9-3.48360160819372-4.50275458111981.01915297292607
10-3.83639425615597-4.880975941308321.04458168515235
11-4.68540427270375-5.259197301496840.573793028793086
12-8.23416546421976-5.63741866168536-2.5967468025344



Parameters (Session):
par1 = FALSE ; par2 = 1 ; par3 = 0 ; par4 = 1 ; par5 = 12 ; par6 = 0 ; par7 = 1 ; par8 = 2 ; par9 = 1 ;
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')