Free Statistics

of Irreproducible Research!

Author's title

Author*The author of this computation has been verified*
R Software Modulerwasp_structuraltimeseries.wasp
Title produced by softwareStructural Time Series Models
Date of computationWed, 14 Dec 2016 11:23:53 +0100
Cite this page as followsStatistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?v=date/2016/Dec/14/t1481711249a9p7ogmgwq5bfe9.htm/, Retrieved Sat, 04 May 2024 05:01:26 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=299283, Retrieved Sat, 04 May 2024 05:01:26 +0000
QR Codes:

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

Post a new message
Dataseries X:
4250
4400
4350
4500
4550
4500
4050
2250
4450
4650
4700
4350
4450
4500
4400
4350
4350
4450
3850
2400
4350
4350
4300
4150
4100
4400
4250
4300
4200
4300
3900
2250
4300
4500
4400
4250
4300
4350
4450
3700
4300
4500
3750
2500
4400
4500
4500
4400
4450
4650
4750
4700
2900
3600
4050
2600
4600
5000
5100
4850
4950
4950
4950
5050
5250
5200
4150
2750
5000
5150
5350
5150
5400
5600
5400
5450
5500
5200
4350
2700
5100
5200
5300
4850
5200
5250
5250
5100
4950
4750
4000
2900
5050
5250
5100
4950
5050
5150
5200
5250
5350
5200
4100
3100
5200
5300
5400
5200
5350
5600
5600
5500
5600
5700
4400
3250
5400
5600
5800
5500
6000
6200
6050
5950
6300
5800




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

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=299283&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
142504250000
244004271.78740448402-0.29000271222165991.03143111627310.401024035837646
343504315.13223559654.4737760333630911.18217276764250.306464139385692
445004385.621135364511.487674655968882.02865967676020.446116929026651
545504450.831669371416.440315734815568.53285607072150.412438516884759
645004484.0098908727517.74093766594145.065748976842330.142868526508532
740504390.2954688522910.3850572101281-261.039101058891-1.01645474089703
822503851.76533823123-21.2060819105575-1191.36324427638-5.20160750161811
944503828.35981976801-21.3199833224992623.332473236456-0.021300013471169
1046504008.76381128829-11.6535485881809483.4536245186171.97774849164562
1147004221.98808770376-1.46853679568293300.4316803555122.22034867046032
1243504316.428452781242.69753463437601-42.59862350218660.950885975005479
1344504381.129859368851.9684406505624613.32278755599590.71617982743868
1445004423.580612506022.5134620705575643.56147362759840.425149567033215
1544004446.797826467353.26801634496999-61.31102280178660.192544144549957
1643504418.569685189361.80668411602726-47.8605845504558-0.280305291480834
1743504361.63095799208-1.0456087041036727.1742589810836-0.528294489447765
1844504306.65971185508-3.57821611863183180.07098009708-0.498771824707518
1938504153.69121972663-10.1495327713418-198.650006752444-1.41926918761019
2024003998.46362433803-16.0732342894105-1493.89988832032-1.40612881366242
2143503939.14774657149-17.7136252050414442.561072585487-0.424765564598665
2243503945.14440267394-16.8785829953466387.2643939974880.23489994030354
2343003973.65915818545-15.4168465703556292.3652736247580.452339411972193
2441504036.05330659661-13.241936867041155.13986702369780.780715425645346
2541004060.11811636118-12.467150557299511.09928893206950.381968421495737
2644004119.15279254423-10.7790491867226226.6223947587080.720677196588561
2742504157.16095384499-9.3360635187444357.25276220257750.4759599480529
2843004183.71120696086-8.1110169034768490.86214189074360.342574650745448
2942004156.95325113469-8.7896058459711856.1430721215159-0.177240605014934
3043004097.54283593255-10.6534968173966238.215265155891-0.484488339720599
3139004048.6655986018-12.0339216418862-121.347570487339-0.369760243876115
3222503959.56068086452-14.7168429848464-1653.82102217111-0.753003704161107
3343003917.27630669645-15.6329367152581402.854475391697-0.271378804158273
3445003957.13665320206-13.8842458409785502.0538738330230.549070908795457
3544004014.03334388171-11.7825750132722333.6487491045940.702776806052158
3642504078.07651896876-9.67030005903329115.6397081232530.755219533307516
3743004154.2533749366-7.3998820994809181.81258411130410.857447119684246
3843504174.9754582645-6.63837412614675154.1909381381570.279539558146734
3944504226.81841167129-4.94844770845744180.385335298950.575328721837989
4037004092.71287520425-8.91597269015853-299.287622766828-1.25930580790419
4143004070.30190088006-9.34688863253461239.404071799097-0.131113471233608
4245004088.49598555828-8.45395757987889391.686658844880.267975574825701
4337504030.11191984719-10.0673623637961-244.033233017531-0.48783249144823
4425004041.71625081985-9.37841148848327-1557.459291332560.212707456108952
4544004051.4776550126-8.78469603659642334.5519741484290.188564171170329
4645004061.54843153131-8.21652065750514424.6387790032180.186253611261897
4745004104.93529102108-6.70735503992882357.1657085425590.510644646838783
4844004169.44455174441-4.67782074873253178.162289848610.705605230153202
4944504231.87805116375-2.79187203864629168.7217007874340.665172471592232
5046504303.6236376017-0.682390527240951291.6207050230120.737411215174556
5147504357.561202855880.897655674571358352.4894682502970.538365188036818
5247004511.79156520895.4441409992849876.57710716774581.50587315511744
5329004155.86901914556-5.47471031252083-993.524637113136-3.54230081767819
5436003848.16969411206-14.6950875832984-28.8426775447733-2.96312453303228
5540503863.59047450494-13.7757651662738164.5217159950240.295731326373377
5626003933.25154860876-11.2457262094426-1394.031007350450.820974352261003
5746004031.25268098758-7.97125512018232488.9893213650621.07683084348952
5850004191.62604034418-2.99572499153858685.255431861541.66148232237491
5951004374.77828953172.43027463285609588.9174146521721.83877095837939
6048504508.697050670126.22157054623472244.9523017533311.29951278908708
6149504621.158840086979.26940549640166250.9830061935331.05001466730285
6249504666.1840526326210.2976368336366257.6337145861720.353123733821754
6349504654.316483506699.65506032760128311.886946924273-0.218591943939606
6450504642.041004490499.01289058224441423.96092479706-0.215957676288145
6552504950.7616180773817.863928689480680.83509660308742.9486956734625
6652005127.6931863245222.5851787110568-43.57108375578911.56491029706513
6741504978.4368779410717.4798074070882-703.18855694526-1.6915799229252
6827504815.0311364097312.1197157265449-1933.06428714959-1.78213635201015
6950004766.9835251915410.3459731855592276.956182755299-0.593262304841372
7051504744.124491068739.37332744253699430.144631350974-0.327606476126631
7153504781.5429475645810.1897213785614547.9475722564090.276810178274278
7251504847.5664216356511.8073845274472261.5889689437820.551212878369473
7354004947.2958890270114.3492712587613388.3832529686910.868000805370714
7456005075.1146545875917.6323878810988441.9023056752741.1198719721155
7554005144.4242262630819.1322764674778217.8080248478630.509731773914793
7654505201.5987550506120.2409674360256220.6198282649870.375009687288859
7755005278.215571954721.8901164108015180.6380711946950.555511364957989
7852005254.181759407420.543477913396-20.6703187330492-0.452489689266397
7943505178.9369345277117.732765452182-759.026217872266-0.944013264475892
8027005041.081444804113.1718231860033-2227.48072647301-1.53390934624999
8151004966.9685946783210.6188013086737196.789401579011-0.860828545076515
8252004927.034605235799.14434372559977309.905982837244-0.498706748371339
8353004907.207445057158.30167860691416413.968565386697-0.285859821791787
8448504865.374253923336.8465017199444821.27605578496-0.494728085397469
8552004871.546966075976.82696399137266328.945606844402-0.0066489242624517
8652504873.84489588426.69560431700306379.465609346768-0.0446867599129286
8752504916.373689457597.73618018276059307.441010684250.353474920953844
8851004919.614681126437.60542015996912183.669151389007-0.0443311953137989
8949504865.092059430645.79524974981738130.282339827254-0.612590484766032
9047504796.586355385763.627999833737027.67287802423712-0.732583459581586
9140004733.119072752621.67018722747563-684.11897721933-0.661591879239815
9229004779.813577065352.98350573419826-1912.700494016380.44402872037385
9350504795.572640182843.35581000658197245.0939613328140.126012158846952
9452504823.202793236794.06234029690663409.0601876976830.239461376645251
9551004793.934611871233.09340477080521330.422623743949-0.328827477760418
9649504816.540302205063.66010774196215119.1995453721130.192510695765287
9750504803.070478116223.16282546893154259.448729533726-0.169006536733595
9851504794.85075702012.8323700397146363.46760563447-0.112296359869704
9952004804.633916050883.03426136446067390.2870057411910.0685676546227292
10052504846.176775628064.15356676902566375.6880059303850.379835811090999
10153504923.76285101826.28948130247305372.5916976643110.724255073478965
10252004998.89408153288.2928742946081150.8167147025620.678959720251051
10341004986.465384079197.68972872067638-871.327902339153-0.204374966658803
10431004996.329440279987.75300907305826-1897.917931754450.021446540601203
10552004996.079108616527.52017485742974209.768354908847-0.0789466306159925
10653004972.673998790186.62096974433468349.92258038907-0.305071079051232
10754004993.657582493627.03836328365095395.8473157456720.141689722510366
10852005020.264864506717.60682024922703165.4351988583880.193055159771334
10953505049.428893336448.23289869958448284.8181200897480.212670959216662
11056005111.386113901619.79320346489283449.355501649140.530002604879391
11156005170.1505940854611.2157374556658394.0658580834390.483093945961079
11255005199.7872812698811.7509930808182286.7532001309120.181711471692155
11356005230.0394290590512.288741736153356.4431011943730.182496155368845
11457005309.6473179060314.2458602367353341.1685722145530.664030100108085
11544005329.3420638951614.4042869521047-933.3231006943950.0537478922843495
11632505300.9180414313213.1591052519442-2019.62619655839-0.422470049446059
11754005274.7553079955612.0160530230198153.975618680174-0.387892897598553
11856005276.0990246222211.7058878084882331.699095122902-0.105280698073218
11958005319.6919858125812.6323899325123457.0080055311790.314566132038549
12055005352.833650697713.228190423516132.1799140840230.202326225055094
12160005462.8155938107816.0386268004592466.4846991664080.954487966236457
12262005575.1964087508918.8370886325178554.4051753690380.950420418888081
12360505639.9896868597220.1720822527056376.4301812560150.453352804946283
12459505681.179393533420.782703686402253.4634177012950.20733257376351
12563005769.8389030327622.7549731013715480.5658118426910.669573915637083
12658005734.2985244244921.0609381073424108.295440160595-0.575053457035129

\begin{tabular}{lllllllll}
\hline
Structural Time Series Model -- Interpolation \tabularnewline
t & Observed & Level & Slope & Seasonal & Stand. Residuals \tabularnewline
1 & 4250 & 4250 & 0 & 0 & 0 \tabularnewline
2 & 4400 & 4271.78740448402 & -0.290002712221659 & 91.0314311162731 & 0.401024035837646 \tabularnewline
3 & 4350 & 4315.1322355965 & 4.47377603336309 & 11.1821727676425 & 0.306464139385692 \tabularnewline
4 & 4500 & 4385.6211353645 & 11.4876746559688 & 82.0286596767602 & 0.446116929026651 \tabularnewline
5 & 4550 & 4450.8316693714 & 16.4403157348155 & 68.5328560707215 & 0.412438516884759 \tabularnewline
6 & 4500 & 4484.00989087275 & 17.7409376659414 & 5.06574897684233 & 0.142868526508532 \tabularnewline
7 & 4050 & 4390.29546885229 & 10.3850572101281 & -261.039101058891 & -1.01645474089703 \tabularnewline
8 & 2250 & 3851.76533823123 & -21.2060819105575 & -1191.36324427638 & -5.20160750161811 \tabularnewline
9 & 4450 & 3828.35981976801 & -21.3199833224992 & 623.332473236456 & -0.021300013471169 \tabularnewline
10 & 4650 & 4008.76381128829 & -11.6535485881809 & 483.453624518617 & 1.97774849164562 \tabularnewline
11 & 4700 & 4221.98808770376 & -1.46853679568293 & 300.431680355512 & 2.22034867046032 \tabularnewline
12 & 4350 & 4316.42845278124 & 2.69753463437601 & -42.5986235021866 & 0.950885975005479 \tabularnewline
13 & 4450 & 4381.12985936885 & 1.96844065056246 & 13.3227875559959 & 0.71617982743868 \tabularnewline
14 & 4500 & 4423.58061250602 & 2.51346207055756 & 43.5614736275984 & 0.425149567033215 \tabularnewline
15 & 4400 & 4446.79782646735 & 3.26801634496999 & -61.3110228017866 & 0.192544144549957 \tabularnewline
16 & 4350 & 4418.56968518936 & 1.80668411602726 & -47.8605845504558 & -0.280305291480834 \tabularnewline
17 & 4350 & 4361.63095799208 & -1.04560870410367 & 27.1742589810836 & -0.528294489447765 \tabularnewline
18 & 4450 & 4306.65971185508 & -3.57821611863183 & 180.07098009708 & -0.498771824707518 \tabularnewline
19 & 3850 & 4153.69121972663 & -10.1495327713418 & -198.650006752444 & -1.41926918761019 \tabularnewline
20 & 2400 & 3998.46362433803 & -16.0732342894105 & -1493.89988832032 & -1.40612881366242 \tabularnewline
21 & 4350 & 3939.14774657149 & -17.7136252050414 & 442.561072585487 & -0.424765564598665 \tabularnewline
22 & 4350 & 3945.14440267394 & -16.8785829953466 & 387.264393997488 & 0.23489994030354 \tabularnewline
23 & 4300 & 3973.65915818545 & -15.4168465703556 & 292.365273624758 & 0.452339411972193 \tabularnewline
24 & 4150 & 4036.05330659661 & -13.2419368670411 & 55.1398670236978 & 0.780715425645346 \tabularnewline
25 & 4100 & 4060.11811636118 & -12.4671505572995 & 11.0992889320695 & 0.381968421495737 \tabularnewline
26 & 4400 & 4119.15279254423 & -10.7790491867226 & 226.622394758708 & 0.720677196588561 \tabularnewline
27 & 4250 & 4157.16095384499 & -9.33606351874443 & 57.2527622025775 & 0.4759599480529 \tabularnewline
28 & 4300 & 4183.71120696086 & -8.11101690347684 & 90.8621418907436 & 0.342574650745448 \tabularnewline
29 & 4200 & 4156.95325113469 & -8.78960584597118 & 56.1430721215159 & -0.177240605014934 \tabularnewline
30 & 4300 & 4097.54283593255 & -10.6534968173966 & 238.215265155891 & -0.484488339720599 \tabularnewline
31 & 3900 & 4048.6655986018 & -12.0339216418862 & -121.347570487339 & -0.369760243876115 \tabularnewline
32 & 2250 & 3959.56068086452 & -14.7168429848464 & -1653.82102217111 & -0.753003704161107 \tabularnewline
33 & 4300 & 3917.27630669645 & -15.6329367152581 & 402.854475391697 & -0.271378804158273 \tabularnewline
34 & 4500 & 3957.13665320206 & -13.8842458409785 & 502.053873833023 & 0.549070908795457 \tabularnewline
35 & 4400 & 4014.03334388171 & -11.7825750132722 & 333.648749104594 & 0.702776806052158 \tabularnewline
36 & 4250 & 4078.07651896876 & -9.67030005903329 & 115.639708123253 & 0.755219533307516 \tabularnewline
37 & 4300 & 4154.2533749366 & -7.39988209948091 & 81.8125841113041 & 0.857447119684246 \tabularnewline
38 & 4350 & 4174.9754582645 & -6.63837412614675 & 154.190938138157 & 0.279539558146734 \tabularnewline
39 & 4450 & 4226.81841167129 & -4.94844770845744 & 180.38533529895 & 0.575328721837989 \tabularnewline
40 & 3700 & 4092.71287520425 & -8.91597269015853 & -299.287622766828 & -1.25930580790419 \tabularnewline
41 & 4300 & 4070.30190088006 & -9.34688863253461 & 239.404071799097 & -0.131113471233608 \tabularnewline
42 & 4500 & 4088.49598555828 & -8.45395757987889 & 391.68665884488 & 0.267975574825701 \tabularnewline
43 & 3750 & 4030.11191984719 & -10.0673623637961 & -244.033233017531 & -0.48783249144823 \tabularnewline
44 & 2500 & 4041.71625081985 & -9.37841148848327 & -1557.45929133256 & 0.212707456108952 \tabularnewline
45 & 4400 & 4051.4776550126 & -8.78469603659642 & 334.551974148429 & 0.188564171170329 \tabularnewline
46 & 4500 & 4061.54843153131 & -8.21652065750514 & 424.638779003218 & 0.186253611261897 \tabularnewline
47 & 4500 & 4104.93529102108 & -6.70735503992882 & 357.165708542559 & 0.510644646838783 \tabularnewline
48 & 4400 & 4169.44455174441 & -4.67782074873253 & 178.16228984861 & 0.705605230153202 \tabularnewline
49 & 4450 & 4231.87805116375 & -2.79187203864629 & 168.721700787434 & 0.665172471592232 \tabularnewline
50 & 4650 & 4303.6236376017 & -0.682390527240951 & 291.620705023012 & 0.737411215174556 \tabularnewline
51 & 4750 & 4357.56120285588 & 0.897655674571358 & 352.489468250297 & 0.538365188036818 \tabularnewline
52 & 4700 & 4511.7915652089 & 5.44414099928498 & 76.5771071677458 & 1.50587315511744 \tabularnewline
53 & 2900 & 4155.86901914556 & -5.47471031252083 & -993.524637113136 & -3.54230081767819 \tabularnewline
54 & 3600 & 3848.16969411206 & -14.6950875832984 & -28.8426775447733 & -2.96312453303228 \tabularnewline
55 & 4050 & 3863.59047450494 & -13.7757651662738 & 164.521715995024 & 0.295731326373377 \tabularnewline
56 & 2600 & 3933.25154860876 & -11.2457262094426 & -1394.03100735045 & 0.820974352261003 \tabularnewline
57 & 4600 & 4031.25268098758 & -7.97125512018232 & 488.989321365062 & 1.07683084348952 \tabularnewline
58 & 5000 & 4191.62604034418 & -2.99572499153858 & 685.25543186154 & 1.66148232237491 \tabularnewline
59 & 5100 & 4374.7782895317 & 2.43027463285609 & 588.917414652172 & 1.83877095837939 \tabularnewline
60 & 4850 & 4508.69705067012 & 6.22157054623472 & 244.952301753331 & 1.29951278908708 \tabularnewline
61 & 4950 & 4621.15884008697 & 9.26940549640166 & 250.983006193533 & 1.05001466730285 \tabularnewline
62 & 4950 & 4666.18405263262 & 10.2976368336366 & 257.633714586172 & 0.353123733821754 \tabularnewline
63 & 4950 & 4654.31648350669 & 9.65506032760128 & 311.886946924273 & -0.218591943939606 \tabularnewline
64 & 5050 & 4642.04100449049 & 9.01289058224441 & 423.96092479706 & -0.215957676288145 \tabularnewline
65 & 5250 & 4950.76161807738 & 17.8639286894806 & 80.8350966030874 & 2.9486956734625 \tabularnewline
66 & 5200 & 5127.69318632452 & 22.5851787110568 & -43.5710837557891 & 1.56491029706513 \tabularnewline
67 & 4150 & 4978.43687794107 & 17.4798074070882 & -703.18855694526 & -1.6915799229252 \tabularnewline
68 & 2750 & 4815.03113640973 & 12.1197157265449 & -1933.06428714959 & -1.78213635201015 \tabularnewline
69 & 5000 & 4766.98352519154 & 10.3459731855592 & 276.956182755299 & -0.593262304841372 \tabularnewline
70 & 5150 & 4744.12449106873 & 9.37332744253699 & 430.144631350974 & -0.327606476126631 \tabularnewline
71 & 5350 & 4781.54294756458 & 10.1897213785614 & 547.947572256409 & 0.276810178274278 \tabularnewline
72 & 5150 & 4847.56642163565 & 11.8073845274472 & 261.588968943782 & 0.551212878369473 \tabularnewline
73 & 5400 & 4947.29588902701 & 14.3492712587613 & 388.383252968691 & 0.868000805370714 \tabularnewline
74 & 5600 & 5075.11465458759 & 17.6323878810988 & 441.902305675274 & 1.1198719721155 \tabularnewline
75 & 5400 & 5144.42422626308 & 19.1322764674778 & 217.808024847863 & 0.509731773914793 \tabularnewline
76 & 5450 & 5201.59875505061 & 20.2409674360256 & 220.619828264987 & 0.375009687288859 \tabularnewline
77 & 5500 & 5278.2155719547 & 21.8901164108015 & 180.638071194695 & 0.555511364957989 \tabularnewline
78 & 5200 & 5254.1817594074 & 20.543477913396 & -20.6703187330492 & -0.452489689266397 \tabularnewline
79 & 4350 & 5178.93693452771 & 17.732765452182 & -759.026217872266 & -0.944013264475892 \tabularnewline
80 & 2700 & 5041.0814448041 & 13.1718231860033 & -2227.48072647301 & -1.53390934624999 \tabularnewline
81 & 5100 & 4966.96859467832 & 10.6188013086737 & 196.789401579011 & -0.860828545076515 \tabularnewline
82 & 5200 & 4927.03460523579 & 9.14434372559977 & 309.905982837244 & -0.498706748371339 \tabularnewline
83 & 5300 & 4907.20744505715 & 8.30167860691416 & 413.968565386697 & -0.285859821791787 \tabularnewline
84 & 4850 & 4865.37425392333 & 6.84650171994448 & 21.27605578496 & -0.494728085397469 \tabularnewline
85 & 5200 & 4871.54696607597 & 6.82696399137266 & 328.945606844402 & -0.0066489242624517 \tabularnewline
86 & 5250 & 4873.8448958842 & 6.69560431700306 & 379.465609346768 & -0.0446867599129286 \tabularnewline
87 & 5250 & 4916.37368945759 & 7.73618018276059 & 307.44101068425 & 0.353474920953844 \tabularnewline
88 & 5100 & 4919.61468112643 & 7.60542015996912 & 183.669151389007 & -0.0443311953137989 \tabularnewline
89 & 4950 & 4865.09205943064 & 5.79524974981738 & 130.282339827254 & -0.612590484766032 \tabularnewline
90 & 4750 & 4796.58635538576 & 3.62799983373702 & 7.67287802423712 & -0.732583459581586 \tabularnewline
91 & 4000 & 4733.11907275262 & 1.67018722747563 & -684.11897721933 & -0.661591879239815 \tabularnewline
92 & 2900 & 4779.81357706535 & 2.98350573419826 & -1912.70049401638 & 0.44402872037385 \tabularnewline
93 & 5050 & 4795.57264018284 & 3.35581000658197 & 245.093961332814 & 0.126012158846952 \tabularnewline
94 & 5250 & 4823.20279323679 & 4.06234029690663 & 409.060187697683 & 0.239461376645251 \tabularnewline
95 & 5100 & 4793.93461187123 & 3.09340477080521 & 330.422623743949 & -0.328827477760418 \tabularnewline
96 & 4950 & 4816.54030220506 & 3.66010774196215 & 119.199545372113 & 0.192510695765287 \tabularnewline
97 & 5050 & 4803.07047811622 & 3.16282546893154 & 259.448729533726 & -0.169006536733595 \tabularnewline
98 & 5150 & 4794.8507570201 & 2.8323700397146 & 363.46760563447 & -0.112296359869704 \tabularnewline
99 & 5200 & 4804.63391605088 & 3.03426136446067 & 390.287005741191 & 0.0685676546227292 \tabularnewline
100 & 5250 & 4846.17677562806 & 4.15356676902566 & 375.688005930385 & 0.379835811090999 \tabularnewline
101 & 5350 & 4923.7628510182 & 6.28948130247305 & 372.591697664311 & 0.724255073478965 \tabularnewline
102 & 5200 & 4998.8940815328 & 8.2928742946081 & 150.816714702562 & 0.678959720251051 \tabularnewline
103 & 4100 & 4986.46538407919 & 7.68972872067638 & -871.327902339153 & -0.204374966658803 \tabularnewline
104 & 3100 & 4996.32944027998 & 7.75300907305826 & -1897.91793175445 & 0.021446540601203 \tabularnewline
105 & 5200 & 4996.07910861652 & 7.52017485742974 & 209.768354908847 & -0.0789466306159925 \tabularnewline
106 & 5300 & 4972.67399879018 & 6.62096974433468 & 349.92258038907 & -0.305071079051232 \tabularnewline
107 & 5400 & 4993.65758249362 & 7.03836328365095 & 395.847315745672 & 0.141689722510366 \tabularnewline
108 & 5200 & 5020.26486450671 & 7.60682024922703 & 165.435198858388 & 0.193055159771334 \tabularnewline
109 & 5350 & 5049.42889333644 & 8.23289869958448 & 284.818120089748 & 0.212670959216662 \tabularnewline
110 & 5600 & 5111.38611390161 & 9.79320346489283 & 449.35550164914 & 0.530002604879391 \tabularnewline
111 & 5600 & 5170.15059408546 & 11.2157374556658 & 394.065858083439 & 0.483093945961079 \tabularnewline
112 & 5500 & 5199.78728126988 & 11.7509930808182 & 286.753200130912 & 0.181711471692155 \tabularnewline
113 & 5600 & 5230.03942905905 & 12.288741736153 & 356.443101194373 & 0.182496155368845 \tabularnewline
114 & 5700 & 5309.64731790603 & 14.2458602367353 & 341.168572214553 & 0.664030100108085 \tabularnewline
115 & 4400 & 5329.34206389516 & 14.4042869521047 & -933.323100694395 & 0.0537478922843495 \tabularnewline
116 & 3250 & 5300.91804143132 & 13.1591052519442 & -2019.62619655839 & -0.422470049446059 \tabularnewline
117 & 5400 & 5274.75530799556 & 12.0160530230198 & 153.975618680174 & -0.387892897598553 \tabularnewline
118 & 5600 & 5276.09902462222 & 11.7058878084882 & 331.699095122902 & -0.105280698073218 \tabularnewline
119 & 5800 & 5319.69198581258 & 12.6323899325123 & 457.008005531179 & 0.314566132038549 \tabularnewline
120 & 5500 & 5352.8336506977 & 13.228190423516 & 132.179914084023 & 0.202326225055094 \tabularnewline
121 & 6000 & 5462.81559381078 & 16.0386268004592 & 466.484699166408 & 0.954487966236457 \tabularnewline
122 & 6200 & 5575.19640875089 & 18.8370886325178 & 554.405175369038 & 0.950420418888081 \tabularnewline
123 & 6050 & 5639.98968685972 & 20.1720822527056 & 376.430181256015 & 0.453352804946283 \tabularnewline
124 & 5950 & 5681.1793935334 & 20.782703686402 & 253.463417701295 & 0.20733257376351 \tabularnewline
125 & 6300 & 5769.83890303276 & 22.7549731013715 & 480.565811842691 & 0.669573915637083 \tabularnewline
126 & 5800 & 5734.29852442449 & 21.0609381073424 & 108.295440160595 & -0.575053457035129 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=299283&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]4250[/C][C]4250[/C][C]0[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]2[/C][C]4400[/C][C]4271.78740448402[/C][C]-0.290002712221659[/C][C]91.0314311162731[/C][C]0.401024035837646[/C][/ROW]
[ROW][C]3[/C][C]4350[/C][C]4315.1322355965[/C][C]4.47377603336309[/C][C]11.1821727676425[/C][C]0.306464139385692[/C][/ROW]
[ROW][C]4[/C][C]4500[/C][C]4385.6211353645[/C][C]11.4876746559688[/C][C]82.0286596767602[/C][C]0.446116929026651[/C][/ROW]
[ROW][C]5[/C][C]4550[/C][C]4450.8316693714[/C][C]16.4403157348155[/C][C]68.5328560707215[/C][C]0.412438516884759[/C][/ROW]
[ROW][C]6[/C][C]4500[/C][C]4484.00989087275[/C][C]17.7409376659414[/C][C]5.06574897684233[/C][C]0.142868526508532[/C][/ROW]
[ROW][C]7[/C][C]4050[/C][C]4390.29546885229[/C][C]10.3850572101281[/C][C]-261.039101058891[/C][C]-1.01645474089703[/C][/ROW]
[ROW][C]8[/C][C]2250[/C][C]3851.76533823123[/C][C]-21.2060819105575[/C][C]-1191.36324427638[/C][C]-5.20160750161811[/C][/ROW]
[ROW][C]9[/C][C]4450[/C][C]3828.35981976801[/C][C]-21.3199833224992[/C][C]623.332473236456[/C][C]-0.021300013471169[/C][/ROW]
[ROW][C]10[/C][C]4650[/C][C]4008.76381128829[/C][C]-11.6535485881809[/C][C]483.453624518617[/C][C]1.97774849164562[/C][/ROW]
[ROW][C]11[/C][C]4700[/C][C]4221.98808770376[/C][C]-1.46853679568293[/C][C]300.431680355512[/C][C]2.22034867046032[/C][/ROW]
[ROW][C]12[/C][C]4350[/C][C]4316.42845278124[/C][C]2.69753463437601[/C][C]-42.5986235021866[/C][C]0.950885975005479[/C][/ROW]
[ROW][C]13[/C][C]4450[/C][C]4381.12985936885[/C][C]1.96844065056246[/C][C]13.3227875559959[/C][C]0.71617982743868[/C][/ROW]
[ROW][C]14[/C][C]4500[/C][C]4423.58061250602[/C][C]2.51346207055756[/C][C]43.5614736275984[/C][C]0.425149567033215[/C][/ROW]
[ROW][C]15[/C][C]4400[/C][C]4446.79782646735[/C][C]3.26801634496999[/C][C]-61.3110228017866[/C][C]0.192544144549957[/C][/ROW]
[ROW][C]16[/C][C]4350[/C][C]4418.56968518936[/C][C]1.80668411602726[/C][C]-47.8605845504558[/C][C]-0.280305291480834[/C][/ROW]
[ROW][C]17[/C][C]4350[/C][C]4361.63095799208[/C][C]-1.04560870410367[/C][C]27.1742589810836[/C][C]-0.528294489447765[/C][/ROW]
[ROW][C]18[/C][C]4450[/C][C]4306.65971185508[/C][C]-3.57821611863183[/C][C]180.07098009708[/C][C]-0.498771824707518[/C][/ROW]
[ROW][C]19[/C][C]3850[/C][C]4153.69121972663[/C][C]-10.1495327713418[/C][C]-198.650006752444[/C][C]-1.41926918761019[/C][/ROW]
[ROW][C]20[/C][C]2400[/C][C]3998.46362433803[/C][C]-16.0732342894105[/C][C]-1493.89988832032[/C][C]-1.40612881366242[/C][/ROW]
[ROW][C]21[/C][C]4350[/C][C]3939.14774657149[/C][C]-17.7136252050414[/C][C]442.561072585487[/C][C]-0.424765564598665[/C][/ROW]
[ROW][C]22[/C][C]4350[/C][C]3945.14440267394[/C][C]-16.8785829953466[/C][C]387.264393997488[/C][C]0.23489994030354[/C][/ROW]
[ROW][C]23[/C][C]4300[/C][C]3973.65915818545[/C][C]-15.4168465703556[/C][C]292.365273624758[/C][C]0.452339411972193[/C][/ROW]
[ROW][C]24[/C][C]4150[/C][C]4036.05330659661[/C][C]-13.2419368670411[/C][C]55.1398670236978[/C][C]0.780715425645346[/C][/ROW]
[ROW][C]25[/C][C]4100[/C][C]4060.11811636118[/C][C]-12.4671505572995[/C][C]11.0992889320695[/C][C]0.381968421495737[/C][/ROW]
[ROW][C]26[/C][C]4400[/C][C]4119.15279254423[/C][C]-10.7790491867226[/C][C]226.622394758708[/C][C]0.720677196588561[/C][/ROW]
[ROW][C]27[/C][C]4250[/C][C]4157.16095384499[/C][C]-9.33606351874443[/C][C]57.2527622025775[/C][C]0.4759599480529[/C][/ROW]
[ROW][C]28[/C][C]4300[/C][C]4183.71120696086[/C][C]-8.11101690347684[/C][C]90.8621418907436[/C][C]0.342574650745448[/C][/ROW]
[ROW][C]29[/C][C]4200[/C][C]4156.95325113469[/C][C]-8.78960584597118[/C][C]56.1430721215159[/C][C]-0.177240605014934[/C][/ROW]
[ROW][C]30[/C][C]4300[/C][C]4097.54283593255[/C][C]-10.6534968173966[/C][C]238.215265155891[/C][C]-0.484488339720599[/C][/ROW]
[ROW][C]31[/C][C]3900[/C][C]4048.6655986018[/C][C]-12.0339216418862[/C][C]-121.347570487339[/C][C]-0.369760243876115[/C][/ROW]
[ROW][C]32[/C][C]2250[/C][C]3959.56068086452[/C][C]-14.7168429848464[/C][C]-1653.82102217111[/C][C]-0.753003704161107[/C][/ROW]
[ROW][C]33[/C][C]4300[/C][C]3917.27630669645[/C][C]-15.6329367152581[/C][C]402.854475391697[/C][C]-0.271378804158273[/C][/ROW]
[ROW][C]34[/C][C]4500[/C][C]3957.13665320206[/C][C]-13.8842458409785[/C][C]502.053873833023[/C][C]0.549070908795457[/C][/ROW]
[ROW][C]35[/C][C]4400[/C][C]4014.03334388171[/C][C]-11.7825750132722[/C][C]333.648749104594[/C][C]0.702776806052158[/C][/ROW]
[ROW][C]36[/C][C]4250[/C][C]4078.07651896876[/C][C]-9.67030005903329[/C][C]115.639708123253[/C][C]0.755219533307516[/C][/ROW]
[ROW][C]37[/C][C]4300[/C][C]4154.2533749366[/C][C]-7.39988209948091[/C][C]81.8125841113041[/C][C]0.857447119684246[/C][/ROW]
[ROW][C]38[/C][C]4350[/C][C]4174.9754582645[/C][C]-6.63837412614675[/C][C]154.190938138157[/C][C]0.279539558146734[/C][/ROW]
[ROW][C]39[/C][C]4450[/C][C]4226.81841167129[/C][C]-4.94844770845744[/C][C]180.38533529895[/C][C]0.575328721837989[/C][/ROW]
[ROW][C]40[/C][C]3700[/C][C]4092.71287520425[/C][C]-8.91597269015853[/C][C]-299.287622766828[/C][C]-1.25930580790419[/C][/ROW]
[ROW][C]41[/C][C]4300[/C][C]4070.30190088006[/C][C]-9.34688863253461[/C][C]239.404071799097[/C][C]-0.131113471233608[/C][/ROW]
[ROW][C]42[/C][C]4500[/C][C]4088.49598555828[/C][C]-8.45395757987889[/C][C]391.68665884488[/C][C]0.267975574825701[/C][/ROW]
[ROW][C]43[/C][C]3750[/C][C]4030.11191984719[/C][C]-10.0673623637961[/C][C]-244.033233017531[/C][C]-0.48783249144823[/C][/ROW]
[ROW][C]44[/C][C]2500[/C][C]4041.71625081985[/C][C]-9.37841148848327[/C][C]-1557.45929133256[/C][C]0.212707456108952[/C][/ROW]
[ROW][C]45[/C][C]4400[/C][C]4051.4776550126[/C][C]-8.78469603659642[/C][C]334.551974148429[/C][C]0.188564171170329[/C][/ROW]
[ROW][C]46[/C][C]4500[/C][C]4061.54843153131[/C][C]-8.21652065750514[/C][C]424.638779003218[/C][C]0.186253611261897[/C][/ROW]
[ROW][C]47[/C][C]4500[/C][C]4104.93529102108[/C][C]-6.70735503992882[/C][C]357.165708542559[/C][C]0.510644646838783[/C][/ROW]
[ROW][C]48[/C][C]4400[/C][C]4169.44455174441[/C][C]-4.67782074873253[/C][C]178.16228984861[/C][C]0.705605230153202[/C][/ROW]
[ROW][C]49[/C][C]4450[/C][C]4231.87805116375[/C][C]-2.79187203864629[/C][C]168.721700787434[/C][C]0.665172471592232[/C][/ROW]
[ROW][C]50[/C][C]4650[/C][C]4303.6236376017[/C][C]-0.682390527240951[/C][C]291.620705023012[/C][C]0.737411215174556[/C][/ROW]
[ROW][C]51[/C][C]4750[/C][C]4357.56120285588[/C][C]0.897655674571358[/C][C]352.489468250297[/C][C]0.538365188036818[/C][/ROW]
[ROW][C]52[/C][C]4700[/C][C]4511.7915652089[/C][C]5.44414099928498[/C][C]76.5771071677458[/C][C]1.50587315511744[/C][/ROW]
[ROW][C]53[/C][C]2900[/C][C]4155.86901914556[/C][C]-5.47471031252083[/C][C]-993.524637113136[/C][C]-3.54230081767819[/C][/ROW]
[ROW][C]54[/C][C]3600[/C][C]3848.16969411206[/C][C]-14.6950875832984[/C][C]-28.8426775447733[/C][C]-2.96312453303228[/C][/ROW]
[ROW][C]55[/C][C]4050[/C][C]3863.59047450494[/C][C]-13.7757651662738[/C][C]164.521715995024[/C][C]0.295731326373377[/C][/ROW]
[ROW][C]56[/C][C]2600[/C][C]3933.25154860876[/C][C]-11.2457262094426[/C][C]-1394.03100735045[/C][C]0.820974352261003[/C][/ROW]
[ROW][C]57[/C][C]4600[/C][C]4031.25268098758[/C][C]-7.97125512018232[/C][C]488.989321365062[/C][C]1.07683084348952[/C][/ROW]
[ROW][C]58[/C][C]5000[/C][C]4191.62604034418[/C][C]-2.99572499153858[/C][C]685.25543186154[/C][C]1.66148232237491[/C][/ROW]
[ROW][C]59[/C][C]5100[/C][C]4374.7782895317[/C][C]2.43027463285609[/C][C]588.917414652172[/C][C]1.83877095837939[/C][/ROW]
[ROW][C]60[/C][C]4850[/C][C]4508.69705067012[/C][C]6.22157054623472[/C][C]244.952301753331[/C][C]1.29951278908708[/C][/ROW]
[ROW][C]61[/C][C]4950[/C][C]4621.15884008697[/C][C]9.26940549640166[/C][C]250.983006193533[/C][C]1.05001466730285[/C][/ROW]
[ROW][C]62[/C][C]4950[/C][C]4666.18405263262[/C][C]10.2976368336366[/C][C]257.633714586172[/C][C]0.353123733821754[/C][/ROW]
[ROW][C]63[/C][C]4950[/C][C]4654.31648350669[/C][C]9.65506032760128[/C][C]311.886946924273[/C][C]-0.218591943939606[/C][/ROW]
[ROW][C]64[/C][C]5050[/C][C]4642.04100449049[/C][C]9.01289058224441[/C][C]423.96092479706[/C][C]-0.215957676288145[/C][/ROW]
[ROW][C]65[/C][C]5250[/C][C]4950.76161807738[/C][C]17.8639286894806[/C][C]80.8350966030874[/C][C]2.9486956734625[/C][/ROW]
[ROW][C]66[/C][C]5200[/C][C]5127.69318632452[/C][C]22.5851787110568[/C][C]-43.5710837557891[/C][C]1.56491029706513[/C][/ROW]
[ROW][C]67[/C][C]4150[/C][C]4978.43687794107[/C][C]17.4798074070882[/C][C]-703.18855694526[/C][C]-1.6915799229252[/C][/ROW]
[ROW][C]68[/C][C]2750[/C][C]4815.03113640973[/C][C]12.1197157265449[/C][C]-1933.06428714959[/C][C]-1.78213635201015[/C][/ROW]
[ROW][C]69[/C][C]5000[/C][C]4766.98352519154[/C][C]10.3459731855592[/C][C]276.956182755299[/C][C]-0.593262304841372[/C][/ROW]
[ROW][C]70[/C][C]5150[/C][C]4744.12449106873[/C][C]9.37332744253699[/C][C]430.144631350974[/C][C]-0.327606476126631[/C][/ROW]
[ROW][C]71[/C][C]5350[/C][C]4781.54294756458[/C][C]10.1897213785614[/C][C]547.947572256409[/C][C]0.276810178274278[/C][/ROW]
[ROW][C]72[/C][C]5150[/C][C]4847.56642163565[/C][C]11.8073845274472[/C][C]261.588968943782[/C][C]0.551212878369473[/C][/ROW]
[ROW][C]73[/C][C]5400[/C][C]4947.29588902701[/C][C]14.3492712587613[/C][C]388.383252968691[/C][C]0.868000805370714[/C][/ROW]
[ROW][C]74[/C][C]5600[/C][C]5075.11465458759[/C][C]17.6323878810988[/C][C]441.902305675274[/C][C]1.1198719721155[/C][/ROW]
[ROW][C]75[/C][C]5400[/C][C]5144.42422626308[/C][C]19.1322764674778[/C][C]217.808024847863[/C][C]0.509731773914793[/C][/ROW]
[ROW][C]76[/C][C]5450[/C][C]5201.59875505061[/C][C]20.2409674360256[/C][C]220.619828264987[/C][C]0.375009687288859[/C][/ROW]
[ROW][C]77[/C][C]5500[/C][C]5278.2155719547[/C][C]21.8901164108015[/C][C]180.638071194695[/C][C]0.555511364957989[/C][/ROW]
[ROW][C]78[/C][C]5200[/C][C]5254.1817594074[/C][C]20.543477913396[/C][C]-20.6703187330492[/C][C]-0.452489689266397[/C][/ROW]
[ROW][C]79[/C][C]4350[/C][C]5178.93693452771[/C][C]17.732765452182[/C][C]-759.026217872266[/C][C]-0.944013264475892[/C][/ROW]
[ROW][C]80[/C][C]2700[/C][C]5041.0814448041[/C][C]13.1718231860033[/C][C]-2227.48072647301[/C][C]-1.53390934624999[/C][/ROW]
[ROW][C]81[/C][C]5100[/C][C]4966.96859467832[/C][C]10.6188013086737[/C][C]196.789401579011[/C][C]-0.860828545076515[/C][/ROW]
[ROW][C]82[/C][C]5200[/C][C]4927.03460523579[/C][C]9.14434372559977[/C][C]309.905982837244[/C][C]-0.498706748371339[/C][/ROW]
[ROW][C]83[/C][C]5300[/C][C]4907.20744505715[/C][C]8.30167860691416[/C][C]413.968565386697[/C][C]-0.285859821791787[/C][/ROW]
[ROW][C]84[/C][C]4850[/C][C]4865.37425392333[/C][C]6.84650171994448[/C][C]21.27605578496[/C][C]-0.494728085397469[/C][/ROW]
[ROW][C]85[/C][C]5200[/C][C]4871.54696607597[/C][C]6.82696399137266[/C][C]328.945606844402[/C][C]-0.0066489242624517[/C][/ROW]
[ROW][C]86[/C][C]5250[/C][C]4873.8448958842[/C][C]6.69560431700306[/C][C]379.465609346768[/C][C]-0.0446867599129286[/C][/ROW]
[ROW][C]87[/C][C]5250[/C][C]4916.37368945759[/C][C]7.73618018276059[/C][C]307.44101068425[/C][C]0.353474920953844[/C][/ROW]
[ROW][C]88[/C][C]5100[/C][C]4919.61468112643[/C][C]7.60542015996912[/C][C]183.669151389007[/C][C]-0.0443311953137989[/C][/ROW]
[ROW][C]89[/C][C]4950[/C][C]4865.09205943064[/C][C]5.79524974981738[/C][C]130.282339827254[/C][C]-0.612590484766032[/C][/ROW]
[ROW][C]90[/C][C]4750[/C][C]4796.58635538576[/C][C]3.62799983373702[/C][C]7.67287802423712[/C][C]-0.732583459581586[/C][/ROW]
[ROW][C]91[/C][C]4000[/C][C]4733.11907275262[/C][C]1.67018722747563[/C][C]-684.11897721933[/C][C]-0.661591879239815[/C][/ROW]
[ROW][C]92[/C][C]2900[/C][C]4779.81357706535[/C][C]2.98350573419826[/C][C]-1912.70049401638[/C][C]0.44402872037385[/C][/ROW]
[ROW][C]93[/C][C]5050[/C][C]4795.57264018284[/C][C]3.35581000658197[/C][C]245.093961332814[/C][C]0.126012158846952[/C][/ROW]
[ROW][C]94[/C][C]5250[/C][C]4823.20279323679[/C][C]4.06234029690663[/C][C]409.060187697683[/C][C]0.239461376645251[/C][/ROW]
[ROW][C]95[/C][C]5100[/C][C]4793.93461187123[/C][C]3.09340477080521[/C][C]330.422623743949[/C][C]-0.328827477760418[/C][/ROW]
[ROW][C]96[/C][C]4950[/C][C]4816.54030220506[/C][C]3.66010774196215[/C][C]119.199545372113[/C][C]0.192510695765287[/C][/ROW]
[ROW][C]97[/C][C]5050[/C][C]4803.07047811622[/C][C]3.16282546893154[/C][C]259.448729533726[/C][C]-0.169006536733595[/C][/ROW]
[ROW][C]98[/C][C]5150[/C][C]4794.8507570201[/C][C]2.8323700397146[/C][C]363.46760563447[/C][C]-0.112296359869704[/C][/ROW]
[ROW][C]99[/C][C]5200[/C][C]4804.63391605088[/C][C]3.03426136446067[/C][C]390.287005741191[/C][C]0.0685676546227292[/C][/ROW]
[ROW][C]100[/C][C]5250[/C][C]4846.17677562806[/C][C]4.15356676902566[/C][C]375.688005930385[/C][C]0.379835811090999[/C][/ROW]
[ROW][C]101[/C][C]5350[/C][C]4923.7628510182[/C][C]6.28948130247305[/C][C]372.591697664311[/C][C]0.724255073478965[/C][/ROW]
[ROW][C]102[/C][C]5200[/C][C]4998.8940815328[/C][C]8.2928742946081[/C][C]150.816714702562[/C][C]0.678959720251051[/C][/ROW]
[ROW][C]103[/C][C]4100[/C][C]4986.46538407919[/C][C]7.68972872067638[/C][C]-871.327902339153[/C][C]-0.204374966658803[/C][/ROW]
[ROW][C]104[/C][C]3100[/C][C]4996.32944027998[/C][C]7.75300907305826[/C][C]-1897.91793175445[/C][C]0.021446540601203[/C][/ROW]
[ROW][C]105[/C][C]5200[/C][C]4996.07910861652[/C][C]7.52017485742974[/C][C]209.768354908847[/C][C]-0.0789466306159925[/C][/ROW]
[ROW][C]106[/C][C]5300[/C][C]4972.67399879018[/C][C]6.62096974433468[/C][C]349.92258038907[/C][C]-0.305071079051232[/C][/ROW]
[ROW][C]107[/C][C]5400[/C][C]4993.65758249362[/C][C]7.03836328365095[/C][C]395.847315745672[/C][C]0.141689722510366[/C][/ROW]
[ROW][C]108[/C][C]5200[/C][C]5020.26486450671[/C][C]7.60682024922703[/C][C]165.435198858388[/C][C]0.193055159771334[/C][/ROW]
[ROW][C]109[/C][C]5350[/C][C]5049.42889333644[/C][C]8.23289869958448[/C][C]284.818120089748[/C][C]0.212670959216662[/C][/ROW]
[ROW][C]110[/C][C]5600[/C][C]5111.38611390161[/C][C]9.79320346489283[/C][C]449.35550164914[/C][C]0.530002604879391[/C][/ROW]
[ROW][C]111[/C][C]5600[/C][C]5170.15059408546[/C][C]11.2157374556658[/C][C]394.065858083439[/C][C]0.483093945961079[/C][/ROW]
[ROW][C]112[/C][C]5500[/C][C]5199.78728126988[/C][C]11.7509930808182[/C][C]286.753200130912[/C][C]0.181711471692155[/C][/ROW]
[ROW][C]113[/C][C]5600[/C][C]5230.03942905905[/C][C]12.288741736153[/C][C]356.443101194373[/C][C]0.182496155368845[/C][/ROW]
[ROW][C]114[/C][C]5700[/C][C]5309.64731790603[/C][C]14.2458602367353[/C][C]341.168572214553[/C][C]0.664030100108085[/C][/ROW]
[ROW][C]115[/C][C]4400[/C][C]5329.34206389516[/C][C]14.4042869521047[/C][C]-933.323100694395[/C][C]0.0537478922843495[/C][/ROW]
[ROW][C]116[/C][C]3250[/C][C]5300.91804143132[/C][C]13.1591052519442[/C][C]-2019.62619655839[/C][C]-0.422470049446059[/C][/ROW]
[ROW][C]117[/C][C]5400[/C][C]5274.75530799556[/C][C]12.0160530230198[/C][C]153.975618680174[/C][C]-0.387892897598553[/C][/ROW]
[ROW][C]118[/C][C]5600[/C][C]5276.09902462222[/C][C]11.7058878084882[/C][C]331.699095122902[/C][C]-0.105280698073218[/C][/ROW]
[ROW][C]119[/C][C]5800[/C][C]5319.69198581258[/C][C]12.6323899325123[/C][C]457.008005531179[/C][C]0.314566132038549[/C][/ROW]
[ROW][C]120[/C][C]5500[/C][C]5352.8336506977[/C][C]13.228190423516[/C][C]132.179914084023[/C][C]0.202326225055094[/C][/ROW]
[ROW][C]121[/C][C]6000[/C][C]5462.81559381078[/C][C]16.0386268004592[/C][C]466.484699166408[/C][C]0.954487966236457[/C][/ROW]
[ROW][C]122[/C][C]6200[/C][C]5575.19640875089[/C][C]18.8370886325178[/C][C]554.405175369038[/C][C]0.950420418888081[/C][/ROW]
[ROW][C]123[/C][C]6050[/C][C]5639.98968685972[/C][C]20.1720822527056[/C][C]376.430181256015[/C][C]0.453352804946283[/C][/ROW]
[ROW][C]124[/C][C]5950[/C][C]5681.1793935334[/C][C]20.782703686402[/C][C]253.463417701295[/C][C]0.20733257376351[/C][/ROW]
[ROW][C]125[/C][C]6300[/C][C]5769.83890303276[/C][C]22.7549731013715[/C][C]480.565811842691[/C][C]0.669573915637083[/C][/ROW]
[ROW][C]126[/C][C]5800[/C][C]5734.29852442449[/C][C]21.0609381073424[/C][C]108.295440160595[/C][C]-0.575053457035129[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=299283&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=299283&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
142504250000
244004271.78740448402-0.29000271222165991.03143111627310.401024035837646
343504315.13223559654.4737760333630911.18217276764250.306464139385692
445004385.621135364511.487674655968882.02865967676020.446116929026651
545504450.831669371416.440315734815568.53285607072150.412438516884759
645004484.0098908727517.74093766594145.065748976842330.142868526508532
740504390.2954688522910.3850572101281-261.039101058891-1.01645474089703
822503851.76533823123-21.2060819105575-1191.36324427638-5.20160750161811
944503828.35981976801-21.3199833224992623.332473236456-0.021300013471169
1046504008.76381128829-11.6535485881809483.4536245186171.97774849164562
1147004221.98808770376-1.46853679568293300.4316803555122.22034867046032
1243504316.428452781242.69753463437601-42.59862350218660.950885975005479
1344504381.129859368851.9684406505624613.32278755599590.71617982743868
1445004423.580612506022.5134620705575643.56147362759840.425149567033215
1544004446.797826467353.26801634496999-61.31102280178660.192544144549957
1643504418.569685189361.80668411602726-47.8605845504558-0.280305291480834
1743504361.63095799208-1.0456087041036727.1742589810836-0.528294489447765
1844504306.65971185508-3.57821611863183180.07098009708-0.498771824707518
1938504153.69121972663-10.1495327713418-198.650006752444-1.41926918761019
2024003998.46362433803-16.0732342894105-1493.89988832032-1.40612881366242
2143503939.14774657149-17.7136252050414442.561072585487-0.424765564598665
2243503945.14440267394-16.8785829953466387.2643939974880.23489994030354
2343003973.65915818545-15.4168465703556292.3652736247580.452339411972193
2441504036.05330659661-13.241936867041155.13986702369780.780715425645346
2541004060.11811636118-12.467150557299511.09928893206950.381968421495737
2644004119.15279254423-10.7790491867226226.6223947587080.720677196588561
2742504157.16095384499-9.3360635187444357.25276220257750.4759599480529
2843004183.71120696086-8.1110169034768490.86214189074360.342574650745448
2942004156.95325113469-8.7896058459711856.1430721215159-0.177240605014934
3043004097.54283593255-10.6534968173966238.215265155891-0.484488339720599
3139004048.6655986018-12.0339216418862-121.347570487339-0.369760243876115
3222503959.56068086452-14.7168429848464-1653.82102217111-0.753003704161107
3343003917.27630669645-15.6329367152581402.854475391697-0.271378804158273
3445003957.13665320206-13.8842458409785502.0538738330230.549070908795457
3544004014.03334388171-11.7825750132722333.6487491045940.702776806052158
3642504078.07651896876-9.67030005903329115.6397081232530.755219533307516
3743004154.2533749366-7.3998820994809181.81258411130410.857447119684246
3843504174.9754582645-6.63837412614675154.1909381381570.279539558146734
3944504226.81841167129-4.94844770845744180.385335298950.575328721837989
4037004092.71287520425-8.91597269015853-299.287622766828-1.25930580790419
4143004070.30190088006-9.34688863253461239.404071799097-0.131113471233608
4245004088.49598555828-8.45395757987889391.686658844880.267975574825701
4337504030.11191984719-10.0673623637961-244.033233017531-0.48783249144823
4425004041.71625081985-9.37841148848327-1557.459291332560.212707456108952
4544004051.4776550126-8.78469603659642334.5519741484290.188564171170329
4645004061.54843153131-8.21652065750514424.6387790032180.186253611261897
4745004104.93529102108-6.70735503992882357.1657085425590.510644646838783
4844004169.44455174441-4.67782074873253178.162289848610.705605230153202
4944504231.87805116375-2.79187203864629168.7217007874340.665172471592232
5046504303.6236376017-0.682390527240951291.6207050230120.737411215174556
5147504357.561202855880.897655674571358352.4894682502970.538365188036818
5247004511.79156520895.4441409992849876.57710716774581.50587315511744
5329004155.86901914556-5.47471031252083-993.524637113136-3.54230081767819
5436003848.16969411206-14.6950875832984-28.8426775447733-2.96312453303228
5540503863.59047450494-13.7757651662738164.5217159950240.295731326373377
5626003933.25154860876-11.2457262094426-1394.031007350450.820974352261003
5746004031.25268098758-7.97125512018232488.9893213650621.07683084348952
5850004191.62604034418-2.99572499153858685.255431861541.66148232237491
5951004374.77828953172.43027463285609588.9174146521721.83877095837939
6048504508.697050670126.22157054623472244.9523017533311.29951278908708
6149504621.158840086979.26940549640166250.9830061935331.05001466730285
6249504666.1840526326210.2976368336366257.6337145861720.353123733821754
6349504654.316483506699.65506032760128311.886946924273-0.218591943939606
6450504642.041004490499.01289058224441423.96092479706-0.215957676288145
6552504950.7616180773817.863928689480680.83509660308742.9486956734625
6652005127.6931863245222.5851787110568-43.57108375578911.56491029706513
6741504978.4368779410717.4798074070882-703.18855694526-1.6915799229252
6827504815.0311364097312.1197157265449-1933.06428714959-1.78213635201015
6950004766.9835251915410.3459731855592276.956182755299-0.593262304841372
7051504744.124491068739.37332744253699430.144631350974-0.327606476126631
7153504781.5429475645810.1897213785614547.9475722564090.276810178274278
7251504847.5664216356511.8073845274472261.5889689437820.551212878369473
7354004947.2958890270114.3492712587613388.3832529686910.868000805370714
7456005075.1146545875917.6323878810988441.9023056752741.1198719721155
7554005144.4242262630819.1322764674778217.8080248478630.509731773914793
7654505201.5987550506120.2409674360256220.6198282649870.375009687288859
7755005278.215571954721.8901164108015180.6380711946950.555511364957989
7852005254.181759407420.543477913396-20.6703187330492-0.452489689266397
7943505178.9369345277117.732765452182-759.026217872266-0.944013264475892
8027005041.081444804113.1718231860033-2227.48072647301-1.53390934624999
8151004966.9685946783210.6188013086737196.789401579011-0.860828545076515
8252004927.034605235799.14434372559977309.905982837244-0.498706748371339
8353004907.207445057158.30167860691416413.968565386697-0.285859821791787
8448504865.374253923336.8465017199444821.27605578496-0.494728085397469
8552004871.546966075976.82696399137266328.945606844402-0.0066489242624517
8652504873.84489588426.69560431700306379.465609346768-0.0446867599129286
8752504916.373689457597.73618018276059307.441010684250.353474920953844
8851004919.614681126437.60542015996912183.669151389007-0.0443311953137989
8949504865.092059430645.79524974981738130.282339827254-0.612590484766032
9047504796.586355385763.627999833737027.67287802423712-0.732583459581586
9140004733.119072752621.67018722747563-684.11897721933-0.661591879239815
9229004779.813577065352.98350573419826-1912.700494016380.44402872037385
9350504795.572640182843.35581000658197245.0939613328140.126012158846952
9452504823.202793236794.06234029690663409.0601876976830.239461376645251
9551004793.934611871233.09340477080521330.422623743949-0.328827477760418
9649504816.540302205063.66010774196215119.1995453721130.192510695765287
9750504803.070478116223.16282546893154259.448729533726-0.169006536733595
9851504794.85075702012.8323700397146363.46760563447-0.112296359869704
9952004804.633916050883.03426136446067390.2870057411910.0685676546227292
10052504846.176775628064.15356676902566375.6880059303850.379835811090999
10153504923.76285101826.28948130247305372.5916976643110.724255073478965
10252004998.89408153288.2928742946081150.8167147025620.678959720251051
10341004986.465384079197.68972872067638-871.327902339153-0.204374966658803
10431004996.329440279987.75300907305826-1897.917931754450.021446540601203
10552004996.079108616527.52017485742974209.768354908847-0.0789466306159925
10653004972.673998790186.62096974433468349.92258038907-0.305071079051232
10754004993.657582493627.03836328365095395.8473157456720.141689722510366
10852005020.264864506717.60682024922703165.4351988583880.193055159771334
10953505049.428893336448.23289869958448284.8181200897480.212670959216662
11056005111.386113901619.79320346489283449.355501649140.530002604879391
11156005170.1505940854611.2157374556658394.0658580834390.483093945961079
11255005199.7872812698811.7509930808182286.7532001309120.181711471692155
11356005230.0394290590512.288741736153356.4431011943730.182496155368845
11457005309.6473179060314.2458602367353341.1685722145530.664030100108085
11544005329.3420638951614.4042869521047-933.3231006943950.0537478922843495
11632505300.9180414313213.1591052519442-2019.62619655839-0.422470049446059
11754005274.7553079955612.0160530230198153.975618680174-0.387892897598553
11856005276.0990246222211.7058878084882331.699095122902-0.105280698073218
11958005319.6919858125812.6323899325123457.0080055311790.314566132038549
12055005352.833650697713.228190423516132.1799140840230.202326225055094
12160005462.8155938107816.0386268004592466.4846991664080.954487966236457
12262005575.1964087508918.8370886325178554.4051753690380.950420418888081
12360505639.9896868597220.1720822527056376.4301812560150.453352804946283
12459505681.179393533420.782703686402253.4634177012950.20733257376351
12563005769.8389030327622.7549731013715480.5658118426910.669573915637083
12658005734.2985244244921.0609381073424108.295440160595-0.575053457035129







Structural Time Series Model -- Extrapolation
tObservedLevelSeasonal
14931.003887602625762.97155754582-831.967669943202
23792.020073986025787.26294419577-1995.24287020975
35945.144615560945811.55433084573133.590284715215
46103.743357132055835.84571749568267.897639636367
56235.071404110625860.13710414563374.934299964988
65893.122532319735884.428490795588.69404152414745
76263.191500448915908.71987744554354.471623003372
86427.038799410815933.01126409549494.027535315322
96302.473178695995957.30265074544345.170527950551
106203.184824940855981.5940373954221.590787545452
116518.053922447146005.88542404535512.168498401796
126144.842112791056030.1768106953114.665302095744
135222.500527402056054.46819734526-831.967669943201
144083.516713785466078.75958399521-1995.24287020975
156236.641255360386103.05097064516133.590284715214
166395.239996931486127.34235729511267.897639636367
176526.568043910066151.63374394507374.934299964988
186184.619172119176175.925130595028.69404152414808

\begin{tabular}{lllllllll}
\hline
Structural Time Series Model -- Extrapolation \tabularnewline
t & Observed & Level & Seasonal \tabularnewline
1 & 4931.00388760262 & 5762.97155754582 & -831.967669943202 \tabularnewline
2 & 3792.02007398602 & 5787.26294419577 & -1995.24287020975 \tabularnewline
3 & 5945.14461556094 & 5811.55433084573 & 133.590284715215 \tabularnewline
4 & 6103.74335713205 & 5835.84571749568 & 267.897639636367 \tabularnewline
5 & 6235.07140411062 & 5860.13710414563 & 374.934299964988 \tabularnewline
6 & 5893.12253231973 & 5884.42849079558 & 8.69404152414745 \tabularnewline
7 & 6263.19150044891 & 5908.71987744554 & 354.471623003372 \tabularnewline
8 & 6427.03879941081 & 5933.01126409549 & 494.027535315322 \tabularnewline
9 & 6302.47317869599 & 5957.30265074544 & 345.170527950551 \tabularnewline
10 & 6203.18482494085 & 5981.5940373954 & 221.590787545452 \tabularnewline
11 & 6518.05392244714 & 6005.88542404535 & 512.168498401796 \tabularnewline
12 & 6144.84211279105 & 6030.1768106953 & 114.665302095744 \tabularnewline
13 & 5222.50052740205 & 6054.46819734526 & -831.967669943201 \tabularnewline
14 & 4083.51671378546 & 6078.75958399521 & -1995.24287020975 \tabularnewline
15 & 6236.64125536038 & 6103.05097064516 & 133.590284715214 \tabularnewline
16 & 6395.23999693148 & 6127.34235729511 & 267.897639636367 \tabularnewline
17 & 6526.56804391006 & 6151.63374394507 & 374.934299964988 \tabularnewline
18 & 6184.61917211917 & 6175.92513059502 & 8.69404152414808 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=299283&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]4931.00388760262[/C][C]5762.97155754582[/C][C]-831.967669943202[/C][/ROW]
[ROW][C]2[/C][C]3792.02007398602[/C][C]5787.26294419577[/C][C]-1995.24287020975[/C][/ROW]
[ROW][C]3[/C][C]5945.14461556094[/C][C]5811.55433084573[/C][C]133.590284715215[/C][/ROW]
[ROW][C]4[/C][C]6103.74335713205[/C][C]5835.84571749568[/C][C]267.897639636367[/C][/ROW]
[ROW][C]5[/C][C]6235.07140411062[/C][C]5860.13710414563[/C][C]374.934299964988[/C][/ROW]
[ROW][C]6[/C][C]5893.12253231973[/C][C]5884.42849079558[/C][C]8.69404152414745[/C][/ROW]
[ROW][C]7[/C][C]6263.19150044891[/C][C]5908.71987744554[/C][C]354.471623003372[/C][/ROW]
[ROW][C]8[/C][C]6427.03879941081[/C][C]5933.01126409549[/C][C]494.027535315322[/C][/ROW]
[ROW][C]9[/C][C]6302.47317869599[/C][C]5957.30265074544[/C][C]345.170527950551[/C][/ROW]
[ROW][C]10[/C][C]6203.18482494085[/C][C]5981.5940373954[/C][C]221.590787545452[/C][/ROW]
[ROW][C]11[/C][C]6518.05392244714[/C][C]6005.88542404535[/C][C]512.168498401796[/C][/ROW]
[ROW][C]12[/C][C]6144.84211279105[/C][C]6030.1768106953[/C][C]114.665302095744[/C][/ROW]
[ROW][C]13[/C][C]5222.50052740205[/C][C]6054.46819734526[/C][C]-831.967669943201[/C][/ROW]
[ROW][C]14[/C][C]4083.51671378546[/C][C]6078.75958399521[/C][C]-1995.24287020975[/C][/ROW]
[ROW][C]15[/C][C]6236.64125536038[/C][C]6103.05097064516[/C][C]133.590284715214[/C][/ROW]
[ROW][C]16[/C][C]6395.23999693148[/C][C]6127.34235729511[/C][C]267.897639636367[/C][/ROW]
[ROW][C]17[/C][C]6526.56804391006[/C][C]6151.63374394507[/C][C]374.934299964988[/C][/ROW]
[ROW][C]18[/C][C]6184.61917211917[/C][C]6175.92513059502[/C][C]8.69404152414808[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=299283&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=299283&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
14931.003887602625762.97155754582-831.967669943202
23792.020073986025787.26294419577-1995.24287020975
35945.144615560945811.55433084573133.590284715215
46103.743357132055835.84571749568267.897639636367
56235.071404110625860.13710414563374.934299964988
65893.122532319735884.428490795588.69404152414745
76263.191500448915908.71987744554354.471623003372
86427.038799410815933.01126409549494.027535315322
96302.473178695995957.30265074544345.170527950551
106203.184824940855981.5940373954221.590787545452
116518.053922447146005.88542404535512.168498401796
126144.842112791056030.1768106953114.665302095744
135222.500527402056054.46819734526-831.967669943201
144083.516713785466078.75958399521-1995.24287020975
156236.641255360386103.05097064516133.590284715214
166395.239996931486127.34235729511267.897639636367
176526.568043910066151.63374394507374.934299964988
186184.619172119176175.925130595028.69404152414808



Parameters (Session):
par1 = 12 ; par2 = 18 ; par3 = BFGS ;
Parameters (R input):
par1 = 12 ; par2 = 18 ; par3 = BFGS ;
R code (references can be found in the software module):
par3 <- 'BFGS'
par2 <- '12'
par1 <- '12'
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')