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, 07 Dec 2016 14:19:55 +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/07/t14811168860hw4tyhhgjv542m.htm/, Retrieved Tue, 07 May 2024 17:24:05 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=298093, Retrieved Tue, 07 May 2024 17:24:05 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact55
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-       [Structural Time Series Models] [Structural Time S...] [2016-12-07 13:19:55] [f916b4255bf1e1993d1067800ff1f972] [Current]
Feedback Forum

Post a new message
Dataseries X:
5033
4509.5
3970
3378
2866
2315.5
1895
8401.5
8040
7534
7135.5
6466.5
5661.5
4896
4064.5
3296
2593.5
2007
1513.5
6645
6221.5
5474
5135.5
4630.5
4164
3600.5
2969
2503.5
2054.5
1608.5
1297.5
8485
8163.5
7814
7453.5
6888.5
6283.5
5712
5030
4488
4058.5
3585
3199.5
8181
8219.5
7865.5
7516.5
7116
6615.5
6216.5
5699.5
5179
4727.5
4224.5
3780.5
7023.5
6558
6257.5
5862.5
5343
4756
4173.5
3451.5
2849
2351
1887.5
1416.5
7399
7013
6644.5
6238.5
5721
5137.5
4357
3750.5
3324
2861
2455.5
2027.5
8388.5
7910
7686
7163
6841.5
6448.5
6060.5
5739
5362.5
5081
4764
4522.5
9056.5
8352
7683
7319.5
6708
6204.5
5576.5
4776.5
4279.5
3918
3288.5
2393.5
8131.5
8121
7790.5
7411.5
6861
6197
5622.5
4855.5
4303.5
3853.5
3283.5
2861.5
9486.5
9061
8877.5
8557.5
8031
7404.5
6852.5
6174.5
5341.5
4975.5
4290




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

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







Structural Time Series Model -- Interpolation
tObservedLevelSlopeSeasonalStand. Residuals
150335033000
24509.54616.82750595925-425.042535799469-107.327505959245-0.704521482610434
339703958.43793899277-592.53223145845511.5620610072287-0.26544046162309
433783359.94214191376-597.05902224764418.0578580862443-0.00685227625260278
528662844.20114208326-536.68050429235921.79885791674260.0891283776203645
62315.52317.54646501701-529.252181208503-2.046465017009720.0110530070076059
718951873.31083452835-466.0989495283421.68916547165160.0938516448066338
88401.57017.958873110773703.08607882291383.541126889236.19445517173349
980408902.166183089342351.72757153991-862.166183089342-2.00790732594875
1075348160.8210041554.0411689999787-626.82100415-3.41394320543733
117135.57163.47410254672-726.958438908862-27.9741025467206-1.16042332026323
126466.56395.86139596866-757.15823559420570.6386040313425-0.0448714134403162
135661.55659.08984148977-742.0483504762882.410158510231530.0225121205318313
1448964960.22615877008-709.929713047367-64.22615877008420.0484541716588885
154064.54132.18433838217-794.376044125048-67.6843383821715-0.125049631224822
1632963250.57679053648-856.85980343610245.4232094635243-0.0942114623146908
172593.52280.34431873416-938.334322044441313.155681265841-0.120841549962953
1820071765.92367876622-635.842291090403241.0763212337840.448820748933709
191513.52768.19136793266533.869314195179-1254.691367932661.73919387884509
2066454703.823374548311536.044270449761941.176625451691.48912088612596
216221.56383.543449449731638.78233060113-162.0434494497250.152644209791081
2254746305.60864804918411.273981118909-831.608648049184-1.82395375463778
235135.55413.74260539255-520.250934411812-278.242605392548-1.38408184110276
244630.54580.6741213022-743.6581941758149.825878697798-0.332029506874725
2541644091.89845398471-561.6241487187972.10154601529090.271245678948102
263600.53622.6134394073-495.594746664965-22.11343940730380.0982448629977701
2729692997.30942627341-587.3228042132-28.3094262734095-0.136031560021605
282503.52303.67270115391-662.393154133228199.827298846085-0.112184016866781
292054.51702.36671828469-619.073117320586352.1332817153130.0644341555125677
301608.51670.67766421777-203.965387645647-62.17766421776810.615719290701315
311297.52765.20130364783712.514521995945-1467.701303647831.3619009978878
3284856091.006834101642558.980000792272393.993165898362.74412982793698
338163.58128.653353528612190.4377497457434.8466464713947-0.547563075819571
3478148677.525812519951030.01038747875-863.525812519954-1.72427255610985
357453.58029.24659595275-155.818224741883-575.746595952748-1.76192457258335
366888.57079.55275317667-716.3744615793-191.052753176672-0.833373948845052
376283.56250.78059525447-795.79303342773232.7194047455265-0.118214891987606
3857125622.14044916234-677.72881256096989.85955083765650.175393843517265
3950304935.21809982455-684.1882319749894.7819001754528-0.00958822264751012
4044884152.09134392705-753.63500593061335.908656072945-0.103466667713145
414058.53639.84876571992-583.719859878278418.6512342800840.252797288971783
4235853859.1600231785-19.1611745514269-274.1600231785030.837925865116478
433199.55250.70824382091971.120903938951-2051.208243820911.47090179633525
4481815908.57241182703751.1165971032182272.42758817297-0.326938049625503
458219.57540.314191430991369.9534762577679.185808569010.919481170753568
467865.58426.131367736971029.72922651928-560.631367736974-0.505515022777389
477516.58174.87067894616129.879126563379-658.370678946158-1.33709636584919
4871167464.09549937966-460.516753109036-348.095499379664-0.877770965165623
496615.56695.34473728391-677.123078729056-79.8447372839071-0.322158642392882
506216.56061.17934638592-646.957365821803155.3206536140830.0448028211366937
515699.55463.93453231774-612.155846088507235.565467682260.0516801584300121
5251794816.08796373896-637.12677281301362.912036261036-0.0371592401678603
534727.54438.65930203557-455.097305306777288.8406979644290.270763332590963
544224.54708.1870591507952.6675493768345-483.6870591507940.754021208767095
553780.55602.90317137503642.004705742926-1822.403171375030.875238100163451
567023.55363.6293027804325.20335280570691659.87069721957-0.916466654950347
5765585695.80600488102240.148645954458862.1939951189830.319378742991654
586257.56381.00021492944551.79685562073-123.5002149294430.463060149870137
595862.56424.76657535545196.123523296877-562.266575355455-0.528540713362876
6053435790.91714052728-384.968994469587-447.917140527281-0.863867636687984
6147564936.12671966934-714.042913644619-180.126719669338-0.489199816026761
624173.54032.99323885813-846.385512330679140.506761141871-0.196555646168693
633451.53147.77958128464-873.506416076379303.720418715359-0.0402827713556766
6428492471.52581658941-735.778536261193377.4741834105950.204839416941093
6523512184.98661144077-421.71276192229166.0133885592290.467061684556341
661887.52435.7358554574948.4495469370833-548.2358554574940.698402196374016
671416.52880.07479072482324.999372090203-1463.574790724820.41071664291179
6873995351.110242737541823.728558336882047.889757262462.2266081918263
6970136577.73576319281406.6304898479435.264236807203-0.619749598877089
706644.56900.03075333667649.11324979097-255.530753336669-1.1256050740561
716238.56755.7104736493794.8536803418322-517.210473649372-0.823701569424322
7257216196.30723524615-362.263961962818-475.30723524615-0.679495415566534
735137.55352.15701021391-699.030897582827-214.657010213912-0.5005015799871
7443574241.22093179296-986.686685652645115.779068207038-0.427240344959149
753750.53376.97701934883-901.298562687177373.5229806511680.126841480154405
7633242881.82496658116-618.131783261509442.1750334188420.42102472266378
7728612691.38742769239-319.670518033371169.6125723076130.443783402606002
782455.53014.76875763391129.177041780151-559.2687576339060.666860765231486
792027.54022.15495584736741.776283660819-1994.654955847360.909857269557189
808388.55961.167847023291576.580457897552427.332152976711.24014900432542
8179107305.372349613961414.54376108862604.627650386045-0.240760776159438
8276867934.52624864184866.841379650267-248.526248641841-0.813881939479454
8371637758.23902028627139.351906012161-595.239020286273-1.08119739115744
846841.57296.7175740084-279.801075394354-455.2175740084-0.623009326805955
856448.56603.58321459681-568.165013720301-155.083214596808-0.428499267142166
866060.55940.60514345085-634.268846321716119.894856549153-0.0981841086194269
8757395380.97958259093-582.281906662251358.0204174090730.0772300814682105
885362.54919.90058193071-497.881524452602442.5994180692890.125469196656764
8950814915.59222377344-153.93939990387165.4077762265640.511349710983088
9047645459.22520141862332.290909027028-695.2252014186180.722474658254793
914522.56737.95224804766991.681096074005-2215.452248047660.97941948045958
929056.56877.74011070784398.4339736252912178.75988929216-0.881268584848559
9383527477.34877209462538.514276904892874.6512279053770.20813373308593
9476837740.09037277685346.477300800139-57.0903727768479-0.285377743659764
957319.57808.06003208778152.505692179379-488.560032087782-0.288290495545492
9667087212.17622617011-368.853815665858-504.176226170114-0.774874926864072
976204.56392.88366133331-682.658251771912-188.383661333306-0.466261469787355
985576.55473.68987473691-847.346381425933102.810125263094-0.244619313169586
994776.54434.63911240655-980.711519933395341.860887593448-0.198130866033711
1004279.53845.89282296226-708.06086702305433.6071770377390.40527924737016
10139183832.96019382371-224.26042775820385.03980617628680.719220779503521
1023288.54150.45701220558152.902366994604-861.9570122055760.560446194635532
1032393.54367.72641006507197.697940525091-1974.226410065070.0665405302108675
1048131.55756.957569380271026.534357799572374.542430619731.23121634440665
10581217170.040276968651295.36363141051950.9597230313550.399425596939863
1067790.57938.63037010766928.994875091754-148.130370107664-0.544459541667031
1077411.57912.32384191004264.447934917164-500.82384191004-0.987700379586081
10868617399.49485229179-276.393684463675-538.494852291792-0.803792907259258
10961976434.89519508021-755.246596117707-237.895195080214-0.711459616116014
1105622.55450.70136845376-914.461209630728171.798631546236-0.23649572181471
1114855.54572.14212539255-889.510884681236283.3578746074540.037067854123982
1124303.53960.12144385645-696.683743604824343.378556143550.286606698239224
1133853.53742.38991308731-363.706755809204111.1100869126880.494974176451367
1143283.54011.9918922025876.7032536096454-728.4918922025810.65444799613853
1152861.55036.86845754502735.892819771258-2175.368457545020.979221643993651
1169486.57026.250270580161606.928694242222460.249729419841.29389861947987
11790618166.954095607511283.04075571302894.045904392494-0.481226536165337
1188877.58893.9988825171896.775715804177-16.4988825171034-0.574035507906367
1198557.59020.24680957318361.342303805422-462.746809573184-0.795806294056555
12080318547.10900987456-218.672934087086-516.109009874563-0.861982901331574
1217404.57685.09370812763-665.809113205428-280.593708127626-0.664317027981105
1226852.56702.39001613454-885.946985850447150.109983865458-0.326998232875611
1236174.55877.36910638902-843.647072875306297.1308936109790.0628446720174994
1245341.55052.56394060276-830.566310418471288.936059397240.0194415268655483
1254975.54845.23398685088-397.720184830635130.2660131491240.643398643264597
12642905183.52502954804113.583455297198-893.5250295480390.759806199471076

\begin{tabular}{lllllllll}
\hline
Structural Time Series Model -- Interpolation \tabularnewline
t & Observed & Level & Slope & Seasonal & Stand. Residuals \tabularnewline
1 & 5033 & 5033 & 0 & 0 & 0 \tabularnewline
2 & 4509.5 & 4616.82750595925 & -425.042535799469 & -107.327505959245 & -0.704521482610434 \tabularnewline
3 & 3970 & 3958.43793899277 & -592.532231458455 & 11.5620610072287 & -0.26544046162309 \tabularnewline
4 & 3378 & 3359.94214191376 & -597.059022247644 & 18.0578580862443 & -0.00685227625260278 \tabularnewline
5 & 2866 & 2844.20114208326 & -536.680504292359 & 21.7988579167426 & 0.0891283776203645 \tabularnewline
6 & 2315.5 & 2317.54646501701 & -529.252181208503 & -2.04646501700972 & 0.0110530070076059 \tabularnewline
7 & 1895 & 1873.31083452835 & -466.09894952834 & 21.6891654716516 & 0.0938516448066338 \tabularnewline
8 & 8401.5 & 7017.95887311077 & 3703.0860788229 & 1383.54112688923 & 6.19445517173349 \tabularnewline
9 & 8040 & 8902.16618308934 & 2351.72757153991 & -862.166183089342 & -2.00790732594875 \tabularnewline
10 & 7534 & 8160.82100415 & 54.0411689999787 & -626.82100415 & -3.41394320543733 \tabularnewline
11 & 7135.5 & 7163.47410254672 & -726.958438908862 & -27.9741025467206 & -1.16042332026323 \tabularnewline
12 & 6466.5 & 6395.86139596866 & -757.158235594205 & 70.6386040313425 & -0.0448714134403162 \tabularnewline
13 & 5661.5 & 5659.08984148977 & -742.048350476288 & 2.41015851023153 & 0.0225121205318313 \tabularnewline
14 & 4896 & 4960.22615877008 & -709.929713047367 & -64.2261587700842 & 0.0484541716588885 \tabularnewline
15 & 4064.5 & 4132.18433838217 & -794.376044125048 & -67.6843383821715 & -0.125049631224822 \tabularnewline
16 & 3296 & 3250.57679053648 & -856.859803436102 & 45.4232094635243 & -0.0942114623146908 \tabularnewline
17 & 2593.5 & 2280.34431873416 & -938.334322044441 & 313.155681265841 & -0.120841549962953 \tabularnewline
18 & 2007 & 1765.92367876622 & -635.842291090403 & 241.076321233784 & 0.448820748933709 \tabularnewline
19 & 1513.5 & 2768.19136793266 & 533.869314195179 & -1254.69136793266 & 1.73919387884509 \tabularnewline
20 & 6645 & 4703.82337454831 & 1536.04427044976 & 1941.17662545169 & 1.48912088612596 \tabularnewline
21 & 6221.5 & 6383.54344944973 & 1638.78233060113 & -162.043449449725 & 0.152644209791081 \tabularnewline
22 & 5474 & 6305.60864804918 & 411.273981118909 & -831.608648049184 & -1.82395375463778 \tabularnewline
23 & 5135.5 & 5413.74260539255 & -520.250934411812 & -278.242605392548 & -1.38408184110276 \tabularnewline
24 & 4630.5 & 4580.6741213022 & -743.65819417581 & 49.825878697798 & -0.332029506874725 \tabularnewline
25 & 4164 & 4091.89845398471 & -561.62414871879 & 72.1015460152909 & 0.271245678948102 \tabularnewline
26 & 3600.5 & 3622.6134394073 & -495.594746664965 & -22.1134394073038 & 0.0982448629977701 \tabularnewline
27 & 2969 & 2997.30942627341 & -587.3228042132 & -28.3094262734095 & -0.136031560021605 \tabularnewline
28 & 2503.5 & 2303.67270115391 & -662.393154133228 & 199.827298846085 & -0.112184016866781 \tabularnewline
29 & 2054.5 & 1702.36671828469 & -619.073117320586 & 352.133281715313 & 0.0644341555125677 \tabularnewline
30 & 1608.5 & 1670.67766421777 & -203.965387645647 & -62.1776642177681 & 0.615719290701315 \tabularnewline
31 & 1297.5 & 2765.20130364783 & 712.514521995945 & -1467.70130364783 & 1.3619009978878 \tabularnewline
32 & 8485 & 6091.00683410164 & 2558.98000079227 & 2393.99316589836 & 2.74412982793698 \tabularnewline
33 & 8163.5 & 8128.65335352861 & 2190.43774974574 & 34.8466464713947 & -0.547563075819571 \tabularnewline
34 & 7814 & 8677.52581251995 & 1030.01038747875 & -863.525812519954 & -1.72427255610985 \tabularnewline
35 & 7453.5 & 8029.24659595275 & -155.818224741883 & -575.746595952748 & -1.76192457258335 \tabularnewline
36 & 6888.5 & 7079.55275317667 & -716.3744615793 & -191.052753176672 & -0.833373948845052 \tabularnewline
37 & 6283.5 & 6250.78059525447 & -795.793033427732 & 32.7194047455265 & -0.118214891987606 \tabularnewline
38 & 5712 & 5622.14044916234 & -677.728812560969 & 89.8595508376565 & 0.175393843517265 \tabularnewline
39 & 5030 & 4935.21809982455 & -684.18823197498 & 94.7819001754528 & -0.00958822264751012 \tabularnewline
40 & 4488 & 4152.09134392705 & -753.63500593061 & 335.908656072945 & -0.103466667713145 \tabularnewline
41 & 4058.5 & 3639.84876571992 & -583.719859878278 & 418.651234280084 & 0.252797288971783 \tabularnewline
42 & 3585 & 3859.1600231785 & -19.1611745514269 & -274.160023178503 & 0.837925865116478 \tabularnewline
43 & 3199.5 & 5250.70824382091 & 971.120903938951 & -2051.20824382091 & 1.47090179633525 \tabularnewline
44 & 8181 & 5908.57241182703 & 751.116597103218 & 2272.42758817297 & -0.326938049625503 \tabularnewline
45 & 8219.5 & 7540.31419143099 & 1369.9534762577 & 679.18580856901 & 0.919481170753568 \tabularnewline
46 & 7865.5 & 8426.13136773697 & 1029.72922651928 & -560.631367736974 & -0.505515022777389 \tabularnewline
47 & 7516.5 & 8174.87067894616 & 129.879126563379 & -658.370678946158 & -1.33709636584919 \tabularnewline
48 & 7116 & 7464.09549937966 & -460.516753109036 & -348.095499379664 & -0.877770965165623 \tabularnewline
49 & 6615.5 & 6695.34473728391 & -677.123078729056 & -79.8447372839071 & -0.322158642392882 \tabularnewline
50 & 6216.5 & 6061.17934638592 & -646.957365821803 & 155.320653614083 & 0.0448028211366937 \tabularnewline
51 & 5699.5 & 5463.93453231774 & -612.155846088507 & 235.56546768226 & 0.0516801584300121 \tabularnewline
52 & 5179 & 4816.08796373896 & -637.12677281301 & 362.912036261036 & -0.0371592401678603 \tabularnewline
53 & 4727.5 & 4438.65930203557 & -455.097305306777 & 288.840697964429 & 0.270763332590963 \tabularnewline
54 & 4224.5 & 4708.18705915079 & 52.6675493768345 & -483.687059150794 & 0.754021208767095 \tabularnewline
55 & 3780.5 & 5602.90317137503 & 642.004705742926 & -1822.40317137503 & 0.875238100163451 \tabularnewline
56 & 7023.5 & 5363.62930278043 & 25.2033528057069 & 1659.87069721957 & -0.916466654950347 \tabularnewline
57 & 6558 & 5695.80600488102 & 240.148645954458 & 862.193995118983 & 0.319378742991654 \tabularnewline
58 & 6257.5 & 6381.00021492944 & 551.79685562073 & -123.500214929443 & 0.463060149870137 \tabularnewline
59 & 5862.5 & 6424.76657535545 & 196.123523296877 & -562.266575355455 & -0.528540713362876 \tabularnewline
60 & 5343 & 5790.91714052728 & -384.968994469587 & -447.917140527281 & -0.863867636687984 \tabularnewline
61 & 4756 & 4936.12671966934 & -714.042913644619 & -180.126719669338 & -0.489199816026761 \tabularnewline
62 & 4173.5 & 4032.99323885813 & -846.385512330679 & 140.506761141871 & -0.196555646168693 \tabularnewline
63 & 3451.5 & 3147.77958128464 & -873.506416076379 & 303.720418715359 & -0.0402827713556766 \tabularnewline
64 & 2849 & 2471.52581658941 & -735.778536261193 & 377.474183410595 & 0.204839416941093 \tabularnewline
65 & 2351 & 2184.98661144077 & -421.71276192229 & 166.013388559229 & 0.467061684556341 \tabularnewline
66 & 1887.5 & 2435.73585545749 & 48.4495469370833 & -548.235855457494 & 0.698402196374016 \tabularnewline
67 & 1416.5 & 2880.07479072482 & 324.999372090203 & -1463.57479072482 & 0.41071664291179 \tabularnewline
68 & 7399 & 5351.11024273754 & 1823.72855833688 & 2047.88975726246 & 2.2266081918263 \tabularnewline
69 & 7013 & 6577.7357631928 & 1406.6304898479 & 435.264236807203 & -0.619749598877089 \tabularnewline
70 & 6644.5 & 6900.03075333667 & 649.11324979097 & -255.530753336669 & -1.1256050740561 \tabularnewline
71 & 6238.5 & 6755.71047364937 & 94.8536803418322 & -517.210473649372 & -0.823701569424322 \tabularnewline
72 & 5721 & 6196.30723524615 & -362.263961962818 & -475.30723524615 & -0.679495415566534 \tabularnewline
73 & 5137.5 & 5352.15701021391 & -699.030897582827 & -214.657010213912 & -0.5005015799871 \tabularnewline
74 & 4357 & 4241.22093179296 & -986.686685652645 & 115.779068207038 & -0.427240344959149 \tabularnewline
75 & 3750.5 & 3376.97701934883 & -901.298562687177 & 373.522980651168 & 0.126841480154405 \tabularnewline
76 & 3324 & 2881.82496658116 & -618.131783261509 & 442.175033418842 & 0.42102472266378 \tabularnewline
77 & 2861 & 2691.38742769239 & -319.670518033371 & 169.612572307613 & 0.443783402606002 \tabularnewline
78 & 2455.5 & 3014.76875763391 & 129.177041780151 & -559.268757633906 & 0.666860765231486 \tabularnewline
79 & 2027.5 & 4022.15495584736 & 741.776283660819 & -1994.65495584736 & 0.909857269557189 \tabularnewline
80 & 8388.5 & 5961.16784702329 & 1576.58045789755 & 2427.33215297671 & 1.24014900432542 \tabularnewline
81 & 7910 & 7305.37234961396 & 1414.54376108862 & 604.627650386045 & -0.240760776159438 \tabularnewline
82 & 7686 & 7934.52624864184 & 866.841379650267 & -248.526248641841 & -0.813881939479454 \tabularnewline
83 & 7163 & 7758.23902028627 & 139.351906012161 & -595.239020286273 & -1.08119739115744 \tabularnewline
84 & 6841.5 & 7296.7175740084 & -279.801075394354 & -455.2175740084 & -0.623009326805955 \tabularnewline
85 & 6448.5 & 6603.58321459681 & -568.165013720301 & -155.083214596808 & -0.428499267142166 \tabularnewline
86 & 6060.5 & 5940.60514345085 & -634.268846321716 & 119.894856549153 & -0.0981841086194269 \tabularnewline
87 & 5739 & 5380.97958259093 & -582.281906662251 & 358.020417409073 & 0.0772300814682105 \tabularnewline
88 & 5362.5 & 4919.90058193071 & -497.881524452602 & 442.599418069289 & 0.125469196656764 \tabularnewline
89 & 5081 & 4915.59222377344 & -153.93939990387 & 165.407776226564 & 0.511349710983088 \tabularnewline
90 & 4764 & 5459.22520141862 & 332.290909027028 & -695.225201418618 & 0.722474658254793 \tabularnewline
91 & 4522.5 & 6737.95224804766 & 991.681096074005 & -2215.45224804766 & 0.97941948045958 \tabularnewline
92 & 9056.5 & 6877.74011070784 & 398.433973625291 & 2178.75988929216 & -0.881268584848559 \tabularnewline
93 & 8352 & 7477.34877209462 & 538.514276904892 & 874.651227905377 & 0.20813373308593 \tabularnewline
94 & 7683 & 7740.09037277685 & 346.477300800139 & -57.0903727768479 & -0.285377743659764 \tabularnewline
95 & 7319.5 & 7808.06003208778 & 152.505692179379 & -488.560032087782 & -0.288290495545492 \tabularnewline
96 & 6708 & 7212.17622617011 & -368.853815665858 & -504.176226170114 & -0.774874926864072 \tabularnewline
97 & 6204.5 & 6392.88366133331 & -682.658251771912 & -188.383661333306 & -0.466261469787355 \tabularnewline
98 & 5576.5 & 5473.68987473691 & -847.346381425933 & 102.810125263094 & -0.244619313169586 \tabularnewline
99 & 4776.5 & 4434.63911240655 & -980.711519933395 & 341.860887593448 & -0.198130866033711 \tabularnewline
100 & 4279.5 & 3845.89282296226 & -708.06086702305 & 433.607177037739 & 0.40527924737016 \tabularnewline
101 & 3918 & 3832.96019382371 & -224.260427758203 & 85.0398061762868 & 0.719220779503521 \tabularnewline
102 & 3288.5 & 4150.45701220558 & 152.902366994604 & -861.957012205576 & 0.560446194635532 \tabularnewline
103 & 2393.5 & 4367.72641006507 & 197.697940525091 & -1974.22641006507 & 0.0665405302108675 \tabularnewline
104 & 8131.5 & 5756.95756938027 & 1026.53435779957 & 2374.54243061973 & 1.23121634440665 \tabularnewline
105 & 8121 & 7170.04027696865 & 1295.36363141051 & 950.959723031355 & 0.399425596939863 \tabularnewline
106 & 7790.5 & 7938.63037010766 & 928.994875091754 & -148.130370107664 & -0.544459541667031 \tabularnewline
107 & 7411.5 & 7912.32384191004 & 264.447934917164 & -500.82384191004 & -0.987700379586081 \tabularnewline
108 & 6861 & 7399.49485229179 & -276.393684463675 & -538.494852291792 & -0.803792907259258 \tabularnewline
109 & 6197 & 6434.89519508021 & -755.246596117707 & -237.895195080214 & -0.711459616116014 \tabularnewline
110 & 5622.5 & 5450.70136845376 & -914.461209630728 & 171.798631546236 & -0.23649572181471 \tabularnewline
111 & 4855.5 & 4572.14212539255 & -889.510884681236 & 283.357874607454 & 0.037067854123982 \tabularnewline
112 & 4303.5 & 3960.12144385645 & -696.683743604824 & 343.37855614355 & 0.286606698239224 \tabularnewline
113 & 3853.5 & 3742.38991308731 & -363.706755809204 & 111.110086912688 & 0.494974176451367 \tabularnewline
114 & 3283.5 & 4011.99189220258 & 76.7032536096454 & -728.491892202581 & 0.65444799613853 \tabularnewline
115 & 2861.5 & 5036.86845754502 & 735.892819771258 & -2175.36845754502 & 0.979221643993651 \tabularnewline
116 & 9486.5 & 7026.25027058016 & 1606.92869424222 & 2460.24972941984 & 1.29389861947987 \tabularnewline
117 & 9061 & 8166.95409560751 & 1283.04075571302 & 894.045904392494 & -0.481226536165337 \tabularnewline
118 & 8877.5 & 8893.9988825171 & 896.775715804177 & -16.4988825171034 & -0.574035507906367 \tabularnewline
119 & 8557.5 & 9020.24680957318 & 361.342303805422 & -462.746809573184 & -0.795806294056555 \tabularnewline
120 & 8031 & 8547.10900987456 & -218.672934087086 & -516.109009874563 & -0.861982901331574 \tabularnewline
121 & 7404.5 & 7685.09370812763 & -665.809113205428 & -280.593708127626 & -0.664317027981105 \tabularnewline
122 & 6852.5 & 6702.39001613454 & -885.946985850447 & 150.109983865458 & -0.326998232875611 \tabularnewline
123 & 6174.5 & 5877.36910638902 & -843.647072875306 & 297.130893610979 & 0.0628446720174994 \tabularnewline
124 & 5341.5 & 5052.56394060276 & -830.566310418471 & 288.93605939724 & 0.0194415268655483 \tabularnewline
125 & 4975.5 & 4845.23398685088 & -397.720184830635 & 130.266013149124 & 0.643398643264597 \tabularnewline
126 & 4290 & 5183.52502954804 & 113.583455297198 & -893.525029548039 & 0.759806199471076 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=298093&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]5033[/C][C]5033[/C][C]0[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]2[/C][C]4509.5[/C][C]4616.82750595925[/C][C]-425.042535799469[/C][C]-107.327505959245[/C][C]-0.704521482610434[/C][/ROW]
[ROW][C]3[/C][C]3970[/C][C]3958.43793899277[/C][C]-592.532231458455[/C][C]11.5620610072287[/C][C]-0.26544046162309[/C][/ROW]
[ROW][C]4[/C][C]3378[/C][C]3359.94214191376[/C][C]-597.059022247644[/C][C]18.0578580862443[/C][C]-0.00685227625260278[/C][/ROW]
[ROW][C]5[/C][C]2866[/C][C]2844.20114208326[/C][C]-536.680504292359[/C][C]21.7988579167426[/C][C]0.0891283776203645[/C][/ROW]
[ROW][C]6[/C][C]2315.5[/C][C]2317.54646501701[/C][C]-529.252181208503[/C][C]-2.04646501700972[/C][C]0.0110530070076059[/C][/ROW]
[ROW][C]7[/C][C]1895[/C][C]1873.31083452835[/C][C]-466.09894952834[/C][C]21.6891654716516[/C][C]0.0938516448066338[/C][/ROW]
[ROW][C]8[/C][C]8401.5[/C][C]7017.95887311077[/C][C]3703.0860788229[/C][C]1383.54112688923[/C][C]6.19445517173349[/C][/ROW]
[ROW][C]9[/C][C]8040[/C][C]8902.16618308934[/C][C]2351.72757153991[/C][C]-862.166183089342[/C][C]-2.00790732594875[/C][/ROW]
[ROW][C]10[/C][C]7534[/C][C]8160.82100415[/C][C]54.0411689999787[/C][C]-626.82100415[/C][C]-3.41394320543733[/C][/ROW]
[ROW][C]11[/C][C]7135.5[/C][C]7163.47410254672[/C][C]-726.958438908862[/C][C]-27.9741025467206[/C][C]-1.16042332026323[/C][/ROW]
[ROW][C]12[/C][C]6466.5[/C][C]6395.86139596866[/C][C]-757.158235594205[/C][C]70.6386040313425[/C][C]-0.0448714134403162[/C][/ROW]
[ROW][C]13[/C][C]5661.5[/C][C]5659.08984148977[/C][C]-742.048350476288[/C][C]2.41015851023153[/C][C]0.0225121205318313[/C][/ROW]
[ROW][C]14[/C][C]4896[/C][C]4960.22615877008[/C][C]-709.929713047367[/C][C]-64.2261587700842[/C][C]0.0484541716588885[/C][/ROW]
[ROW][C]15[/C][C]4064.5[/C][C]4132.18433838217[/C][C]-794.376044125048[/C][C]-67.6843383821715[/C][C]-0.125049631224822[/C][/ROW]
[ROW][C]16[/C][C]3296[/C][C]3250.57679053648[/C][C]-856.859803436102[/C][C]45.4232094635243[/C][C]-0.0942114623146908[/C][/ROW]
[ROW][C]17[/C][C]2593.5[/C][C]2280.34431873416[/C][C]-938.334322044441[/C][C]313.155681265841[/C][C]-0.120841549962953[/C][/ROW]
[ROW][C]18[/C][C]2007[/C][C]1765.92367876622[/C][C]-635.842291090403[/C][C]241.076321233784[/C][C]0.448820748933709[/C][/ROW]
[ROW][C]19[/C][C]1513.5[/C][C]2768.19136793266[/C][C]533.869314195179[/C][C]-1254.69136793266[/C][C]1.73919387884509[/C][/ROW]
[ROW][C]20[/C][C]6645[/C][C]4703.82337454831[/C][C]1536.04427044976[/C][C]1941.17662545169[/C][C]1.48912088612596[/C][/ROW]
[ROW][C]21[/C][C]6221.5[/C][C]6383.54344944973[/C][C]1638.78233060113[/C][C]-162.043449449725[/C][C]0.152644209791081[/C][/ROW]
[ROW][C]22[/C][C]5474[/C][C]6305.60864804918[/C][C]411.273981118909[/C][C]-831.608648049184[/C][C]-1.82395375463778[/C][/ROW]
[ROW][C]23[/C][C]5135.5[/C][C]5413.74260539255[/C][C]-520.250934411812[/C][C]-278.242605392548[/C][C]-1.38408184110276[/C][/ROW]
[ROW][C]24[/C][C]4630.5[/C][C]4580.6741213022[/C][C]-743.65819417581[/C][C]49.825878697798[/C][C]-0.332029506874725[/C][/ROW]
[ROW][C]25[/C][C]4164[/C][C]4091.89845398471[/C][C]-561.62414871879[/C][C]72.1015460152909[/C][C]0.271245678948102[/C][/ROW]
[ROW][C]26[/C][C]3600.5[/C][C]3622.6134394073[/C][C]-495.594746664965[/C][C]-22.1134394073038[/C][C]0.0982448629977701[/C][/ROW]
[ROW][C]27[/C][C]2969[/C][C]2997.30942627341[/C][C]-587.3228042132[/C][C]-28.3094262734095[/C][C]-0.136031560021605[/C][/ROW]
[ROW][C]28[/C][C]2503.5[/C][C]2303.67270115391[/C][C]-662.393154133228[/C][C]199.827298846085[/C][C]-0.112184016866781[/C][/ROW]
[ROW][C]29[/C][C]2054.5[/C][C]1702.36671828469[/C][C]-619.073117320586[/C][C]352.133281715313[/C][C]0.0644341555125677[/C][/ROW]
[ROW][C]30[/C][C]1608.5[/C][C]1670.67766421777[/C][C]-203.965387645647[/C][C]-62.1776642177681[/C][C]0.615719290701315[/C][/ROW]
[ROW][C]31[/C][C]1297.5[/C][C]2765.20130364783[/C][C]712.514521995945[/C][C]-1467.70130364783[/C][C]1.3619009978878[/C][/ROW]
[ROW][C]32[/C][C]8485[/C][C]6091.00683410164[/C][C]2558.98000079227[/C][C]2393.99316589836[/C][C]2.74412982793698[/C][/ROW]
[ROW][C]33[/C][C]8163.5[/C][C]8128.65335352861[/C][C]2190.43774974574[/C][C]34.8466464713947[/C][C]-0.547563075819571[/C][/ROW]
[ROW][C]34[/C][C]7814[/C][C]8677.52581251995[/C][C]1030.01038747875[/C][C]-863.525812519954[/C][C]-1.72427255610985[/C][/ROW]
[ROW][C]35[/C][C]7453.5[/C][C]8029.24659595275[/C][C]-155.818224741883[/C][C]-575.746595952748[/C][C]-1.76192457258335[/C][/ROW]
[ROW][C]36[/C][C]6888.5[/C][C]7079.55275317667[/C][C]-716.3744615793[/C][C]-191.052753176672[/C][C]-0.833373948845052[/C][/ROW]
[ROW][C]37[/C][C]6283.5[/C][C]6250.78059525447[/C][C]-795.793033427732[/C][C]32.7194047455265[/C][C]-0.118214891987606[/C][/ROW]
[ROW][C]38[/C][C]5712[/C][C]5622.14044916234[/C][C]-677.728812560969[/C][C]89.8595508376565[/C][C]0.175393843517265[/C][/ROW]
[ROW][C]39[/C][C]5030[/C][C]4935.21809982455[/C][C]-684.18823197498[/C][C]94.7819001754528[/C][C]-0.00958822264751012[/C][/ROW]
[ROW][C]40[/C][C]4488[/C][C]4152.09134392705[/C][C]-753.63500593061[/C][C]335.908656072945[/C][C]-0.103466667713145[/C][/ROW]
[ROW][C]41[/C][C]4058.5[/C][C]3639.84876571992[/C][C]-583.719859878278[/C][C]418.651234280084[/C][C]0.252797288971783[/C][/ROW]
[ROW][C]42[/C][C]3585[/C][C]3859.1600231785[/C][C]-19.1611745514269[/C][C]-274.160023178503[/C][C]0.837925865116478[/C][/ROW]
[ROW][C]43[/C][C]3199.5[/C][C]5250.70824382091[/C][C]971.120903938951[/C][C]-2051.20824382091[/C][C]1.47090179633525[/C][/ROW]
[ROW][C]44[/C][C]8181[/C][C]5908.57241182703[/C][C]751.116597103218[/C][C]2272.42758817297[/C][C]-0.326938049625503[/C][/ROW]
[ROW][C]45[/C][C]8219.5[/C][C]7540.31419143099[/C][C]1369.9534762577[/C][C]679.18580856901[/C][C]0.919481170753568[/C][/ROW]
[ROW][C]46[/C][C]7865.5[/C][C]8426.13136773697[/C][C]1029.72922651928[/C][C]-560.631367736974[/C][C]-0.505515022777389[/C][/ROW]
[ROW][C]47[/C][C]7516.5[/C][C]8174.87067894616[/C][C]129.879126563379[/C][C]-658.370678946158[/C][C]-1.33709636584919[/C][/ROW]
[ROW][C]48[/C][C]7116[/C][C]7464.09549937966[/C][C]-460.516753109036[/C][C]-348.095499379664[/C][C]-0.877770965165623[/C][/ROW]
[ROW][C]49[/C][C]6615.5[/C][C]6695.34473728391[/C][C]-677.123078729056[/C][C]-79.8447372839071[/C][C]-0.322158642392882[/C][/ROW]
[ROW][C]50[/C][C]6216.5[/C][C]6061.17934638592[/C][C]-646.957365821803[/C][C]155.320653614083[/C][C]0.0448028211366937[/C][/ROW]
[ROW][C]51[/C][C]5699.5[/C][C]5463.93453231774[/C][C]-612.155846088507[/C][C]235.56546768226[/C][C]0.0516801584300121[/C][/ROW]
[ROW][C]52[/C][C]5179[/C][C]4816.08796373896[/C][C]-637.12677281301[/C][C]362.912036261036[/C][C]-0.0371592401678603[/C][/ROW]
[ROW][C]53[/C][C]4727.5[/C][C]4438.65930203557[/C][C]-455.097305306777[/C][C]288.840697964429[/C][C]0.270763332590963[/C][/ROW]
[ROW][C]54[/C][C]4224.5[/C][C]4708.18705915079[/C][C]52.6675493768345[/C][C]-483.687059150794[/C][C]0.754021208767095[/C][/ROW]
[ROW][C]55[/C][C]3780.5[/C][C]5602.90317137503[/C][C]642.004705742926[/C][C]-1822.40317137503[/C][C]0.875238100163451[/C][/ROW]
[ROW][C]56[/C][C]7023.5[/C][C]5363.62930278043[/C][C]25.2033528057069[/C][C]1659.87069721957[/C][C]-0.916466654950347[/C][/ROW]
[ROW][C]57[/C][C]6558[/C][C]5695.80600488102[/C][C]240.148645954458[/C][C]862.193995118983[/C][C]0.319378742991654[/C][/ROW]
[ROW][C]58[/C][C]6257.5[/C][C]6381.00021492944[/C][C]551.79685562073[/C][C]-123.500214929443[/C][C]0.463060149870137[/C][/ROW]
[ROW][C]59[/C][C]5862.5[/C][C]6424.76657535545[/C][C]196.123523296877[/C][C]-562.266575355455[/C][C]-0.528540713362876[/C][/ROW]
[ROW][C]60[/C][C]5343[/C][C]5790.91714052728[/C][C]-384.968994469587[/C][C]-447.917140527281[/C][C]-0.863867636687984[/C][/ROW]
[ROW][C]61[/C][C]4756[/C][C]4936.12671966934[/C][C]-714.042913644619[/C][C]-180.126719669338[/C][C]-0.489199816026761[/C][/ROW]
[ROW][C]62[/C][C]4173.5[/C][C]4032.99323885813[/C][C]-846.385512330679[/C][C]140.506761141871[/C][C]-0.196555646168693[/C][/ROW]
[ROW][C]63[/C][C]3451.5[/C][C]3147.77958128464[/C][C]-873.506416076379[/C][C]303.720418715359[/C][C]-0.0402827713556766[/C][/ROW]
[ROW][C]64[/C][C]2849[/C][C]2471.52581658941[/C][C]-735.778536261193[/C][C]377.474183410595[/C][C]0.204839416941093[/C][/ROW]
[ROW][C]65[/C][C]2351[/C][C]2184.98661144077[/C][C]-421.71276192229[/C][C]166.013388559229[/C][C]0.467061684556341[/C][/ROW]
[ROW][C]66[/C][C]1887.5[/C][C]2435.73585545749[/C][C]48.4495469370833[/C][C]-548.235855457494[/C][C]0.698402196374016[/C][/ROW]
[ROW][C]67[/C][C]1416.5[/C][C]2880.07479072482[/C][C]324.999372090203[/C][C]-1463.57479072482[/C][C]0.41071664291179[/C][/ROW]
[ROW][C]68[/C][C]7399[/C][C]5351.11024273754[/C][C]1823.72855833688[/C][C]2047.88975726246[/C][C]2.2266081918263[/C][/ROW]
[ROW][C]69[/C][C]7013[/C][C]6577.7357631928[/C][C]1406.6304898479[/C][C]435.264236807203[/C][C]-0.619749598877089[/C][/ROW]
[ROW][C]70[/C][C]6644.5[/C][C]6900.03075333667[/C][C]649.11324979097[/C][C]-255.530753336669[/C][C]-1.1256050740561[/C][/ROW]
[ROW][C]71[/C][C]6238.5[/C][C]6755.71047364937[/C][C]94.8536803418322[/C][C]-517.210473649372[/C][C]-0.823701569424322[/C][/ROW]
[ROW][C]72[/C][C]5721[/C][C]6196.30723524615[/C][C]-362.263961962818[/C][C]-475.30723524615[/C][C]-0.679495415566534[/C][/ROW]
[ROW][C]73[/C][C]5137.5[/C][C]5352.15701021391[/C][C]-699.030897582827[/C][C]-214.657010213912[/C][C]-0.5005015799871[/C][/ROW]
[ROW][C]74[/C][C]4357[/C][C]4241.22093179296[/C][C]-986.686685652645[/C][C]115.779068207038[/C][C]-0.427240344959149[/C][/ROW]
[ROW][C]75[/C][C]3750.5[/C][C]3376.97701934883[/C][C]-901.298562687177[/C][C]373.522980651168[/C][C]0.126841480154405[/C][/ROW]
[ROW][C]76[/C][C]3324[/C][C]2881.82496658116[/C][C]-618.131783261509[/C][C]442.175033418842[/C][C]0.42102472266378[/C][/ROW]
[ROW][C]77[/C][C]2861[/C][C]2691.38742769239[/C][C]-319.670518033371[/C][C]169.612572307613[/C][C]0.443783402606002[/C][/ROW]
[ROW][C]78[/C][C]2455.5[/C][C]3014.76875763391[/C][C]129.177041780151[/C][C]-559.268757633906[/C][C]0.666860765231486[/C][/ROW]
[ROW][C]79[/C][C]2027.5[/C][C]4022.15495584736[/C][C]741.776283660819[/C][C]-1994.65495584736[/C][C]0.909857269557189[/C][/ROW]
[ROW][C]80[/C][C]8388.5[/C][C]5961.16784702329[/C][C]1576.58045789755[/C][C]2427.33215297671[/C][C]1.24014900432542[/C][/ROW]
[ROW][C]81[/C][C]7910[/C][C]7305.37234961396[/C][C]1414.54376108862[/C][C]604.627650386045[/C][C]-0.240760776159438[/C][/ROW]
[ROW][C]82[/C][C]7686[/C][C]7934.52624864184[/C][C]866.841379650267[/C][C]-248.526248641841[/C][C]-0.813881939479454[/C][/ROW]
[ROW][C]83[/C][C]7163[/C][C]7758.23902028627[/C][C]139.351906012161[/C][C]-595.239020286273[/C][C]-1.08119739115744[/C][/ROW]
[ROW][C]84[/C][C]6841.5[/C][C]7296.7175740084[/C][C]-279.801075394354[/C][C]-455.2175740084[/C][C]-0.623009326805955[/C][/ROW]
[ROW][C]85[/C][C]6448.5[/C][C]6603.58321459681[/C][C]-568.165013720301[/C][C]-155.083214596808[/C][C]-0.428499267142166[/C][/ROW]
[ROW][C]86[/C][C]6060.5[/C][C]5940.60514345085[/C][C]-634.268846321716[/C][C]119.894856549153[/C][C]-0.0981841086194269[/C][/ROW]
[ROW][C]87[/C][C]5739[/C][C]5380.97958259093[/C][C]-582.281906662251[/C][C]358.020417409073[/C][C]0.0772300814682105[/C][/ROW]
[ROW][C]88[/C][C]5362.5[/C][C]4919.90058193071[/C][C]-497.881524452602[/C][C]442.599418069289[/C][C]0.125469196656764[/C][/ROW]
[ROW][C]89[/C][C]5081[/C][C]4915.59222377344[/C][C]-153.93939990387[/C][C]165.407776226564[/C][C]0.511349710983088[/C][/ROW]
[ROW][C]90[/C][C]4764[/C][C]5459.22520141862[/C][C]332.290909027028[/C][C]-695.225201418618[/C][C]0.722474658254793[/C][/ROW]
[ROW][C]91[/C][C]4522.5[/C][C]6737.95224804766[/C][C]991.681096074005[/C][C]-2215.45224804766[/C][C]0.97941948045958[/C][/ROW]
[ROW][C]92[/C][C]9056.5[/C][C]6877.74011070784[/C][C]398.433973625291[/C][C]2178.75988929216[/C][C]-0.881268584848559[/C][/ROW]
[ROW][C]93[/C][C]8352[/C][C]7477.34877209462[/C][C]538.514276904892[/C][C]874.651227905377[/C][C]0.20813373308593[/C][/ROW]
[ROW][C]94[/C][C]7683[/C][C]7740.09037277685[/C][C]346.477300800139[/C][C]-57.0903727768479[/C][C]-0.285377743659764[/C][/ROW]
[ROW][C]95[/C][C]7319.5[/C][C]7808.06003208778[/C][C]152.505692179379[/C][C]-488.560032087782[/C][C]-0.288290495545492[/C][/ROW]
[ROW][C]96[/C][C]6708[/C][C]7212.17622617011[/C][C]-368.853815665858[/C][C]-504.176226170114[/C][C]-0.774874926864072[/C][/ROW]
[ROW][C]97[/C][C]6204.5[/C][C]6392.88366133331[/C][C]-682.658251771912[/C][C]-188.383661333306[/C][C]-0.466261469787355[/C][/ROW]
[ROW][C]98[/C][C]5576.5[/C][C]5473.68987473691[/C][C]-847.346381425933[/C][C]102.810125263094[/C][C]-0.244619313169586[/C][/ROW]
[ROW][C]99[/C][C]4776.5[/C][C]4434.63911240655[/C][C]-980.711519933395[/C][C]341.860887593448[/C][C]-0.198130866033711[/C][/ROW]
[ROW][C]100[/C][C]4279.5[/C][C]3845.89282296226[/C][C]-708.06086702305[/C][C]433.607177037739[/C][C]0.40527924737016[/C][/ROW]
[ROW][C]101[/C][C]3918[/C][C]3832.96019382371[/C][C]-224.260427758203[/C][C]85.0398061762868[/C][C]0.719220779503521[/C][/ROW]
[ROW][C]102[/C][C]3288.5[/C][C]4150.45701220558[/C][C]152.902366994604[/C][C]-861.957012205576[/C][C]0.560446194635532[/C][/ROW]
[ROW][C]103[/C][C]2393.5[/C][C]4367.72641006507[/C][C]197.697940525091[/C][C]-1974.22641006507[/C][C]0.0665405302108675[/C][/ROW]
[ROW][C]104[/C][C]8131.5[/C][C]5756.95756938027[/C][C]1026.53435779957[/C][C]2374.54243061973[/C][C]1.23121634440665[/C][/ROW]
[ROW][C]105[/C][C]8121[/C][C]7170.04027696865[/C][C]1295.36363141051[/C][C]950.959723031355[/C][C]0.399425596939863[/C][/ROW]
[ROW][C]106[/C][C]7790.5[/C][C]7938.63037010766[/C][C]928.994875091754[/C][C]-148.130370107664[/C][C]-0.544459541667031[/C][/ROW]
[ROW][C]107[/C][C]7411.5[/C][C]7912.32384191004[/C][C]264.447934917164[/C][C]-500.82384191004[/C][C]-0.987700379586081[/C][/ROW]
[ROW][C]108[/C][C]6861[/C][C]7399.49485229179[/C][C]-276.393684463675[/C][C]-538.494852291792[/C][C]-0.803792907259258[/C][/ROW]
[ROW][C]109[/C][C]6197[/C][C]6434.89519508021[/C][C]-755.246596117707[/C][C]-237.895195080214[/C][C]-0.711459616116014[/C][/ROW]
[ROW][C]110[/C][C]5622.5[/C][C]5450.70136845376[/C][C]-914.461209630728[/C][C]171.798631546236[/C][C]-0.23649572181471[/C][/ROW]
[ROW][C]111[/C][C]4855.5[/C][C]4572.14212539255[/C][C]-889.510884681236[/C][C]283.357874607454[/C][C]0.037067854123982[/C][/ROW]
[ROW][C]112[/C][C]4303.5[/C][C]3960.12144385645[/C][C]-696.683743604824[/C][C]343.37855614355[/C][C]0.286606698239224[/C][/ROW]
[ROW][C]113[/C][C]3853.5[/C][C]3742.38991308731[/C][C]-363.706755809204[/C][C]111.110086912688[/C][C]0.494974176451367[/C][/ROW]
[ROW][C]114[/C][C]3283.5[/C][C]4011.99189220258[/C][C]76.7032536096454[/C][C]-728.491892202581[/C][C]0.65444799613853[/C][/ROW]
[ROW][C]115[/C][C]2861.5[/C][C]5036.86845754502[/C][C]735.892819771258[/C][C]-2175.36845754502[/C][C]0.979221643993651[/C][/ROW]
[ROW][C]116[/C][C]9486.5[/C][C]7026.25027058016[/C][C]1606.92869424222[/C][C]2460.24972941984[/C][C]1.29389861947987[/C][/ROW]
[ROW][C]117[/C][C]9061[/C][C]8166.95409560751[/C][C]1283.04075571302[/C][C]894.045904392494[/C][C]-0.481226536165337[/C][/ROW]
[ROW][C]118[/C][C]8877.5[/C][C]8893.9988825171[/C][C]896.775715804177[/C][C]-16.4988825171034[/C][C]-0.574035507906367[/C][/ROW]
[ROW][C]119[/C][C]8557.5[/C][C]9020.24680957318[/C][C]361.342303805422[/C][C]-462.746809573184[/C][C]-0.795806294056555[/C][/ROW]
[ROW][C]120[/C][C]8031[/C][C]8547.10900987456[/C][C]-218.672934087086[/C][C]-516.109009874563[/C][C]-0.861982901331574[/C][/ROW]
[ROW][C]121[/C][C]7404.5[/C][C]7685.09370812763[/C][C]-665.809113205428[/C][C]-280.593708127626[/C][C]-0.664317027981105[/C][/ROW]
[ROW][C]122[/C][C]6852.5[/C][C]6702.39001613454[/C][C]-885.946985850447[/C][C]150.109983865458[/C][C]-0.326998232875611[/C][/ROW]
[ROW][C]123[/C][C]6174.5[/C][C]5877.36910638902[/C][C]-843.647072875306[/C][C]297.130893610979[/C][C]0.0628446720174994[/C][/ROW]
[ROW][C]124[/C][C]5341.5[/C][C]5052.56394060276[/C][C]-830.566310418471[/C][C]288.93605939724[/C][C]0.0194415268655483[/C][/ROW]
[ROW][C]125[/C][C]4975.5[/C][C]4845.23398685088[/C][C]-397.720184830635[/C][C]130.266013149124[/C][C]0.643398643264597[/C][/ROW]
[ROW][C]126[/C][C]4290[/C][C]5183.52502954804[/C][C]113.583455297198[/C][C]-893.525029548039[/C][C]0.759806199471076[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=298093&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=298093&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
150335033000
24509.54616.82750595925-425.042535799469-107.327505959245-0.704521482610434
339703958.43793899277-592.53223145845511.5620610072287-0.26544046162309
433783359.94214191376-597.05902224764418.0578580862443-0.00685227625260278
528662844.20114208326-536.68050429235921.79885791674260.0891283776203645
62315.52317.54646501701-529.252181208503-2.046465017009720.0110530070076059
718951873.31083452835-466.0989495283421.68916547165160.0938516448066338
88401.57017.958873110773703.08607882291383.541126889236.19445517173349
980408902.166183089342351.72757153991-862.166183089342-2.00790732594875
1075348160.8210041554.0411689999787-626.82100415-3.41394320543733
117135.57163.47410254672-726.958438908862-27.9741025467206-1.16042332026323
126466.56395.86139596866-757.15823559420570.6386040313425-0.0448714134403162
135661.55659.08984148977-742.0483504762882.410158510231530.0225121205318313
1448964960.22615877008-709.929713047367-64.22615877008420.0484541716588885
154064.54132.18433838217-794.376044125048-67.6843383821715-0.125049631224822
1632963250.57679053648-856.85980343610245.4232094635243-0.0942114623146908
172593.52280.34431873416-938.334322044441313.155681265841-0.120841549962953
1820071765.92367876622-635.842291090403241.0763212337840.448820748933709
191513.52768.19136793266533.869314195179-1254.691367932661.73919387884509
2066454703.823374548311536.044270449761941.176625451691.48912088612596
216221.56383.543449449731638.78233060113-162.0434494497250.152644209791081
2254746305.60864804918411.273981118909-831.608648049184-1.82395375463778
235135.55413.74260539255-520.250934411812-278.242605392548-1.38408184110276
244630.54580.6741213022-743.6581941758149.825878697798-0.332029506874725
2541644091.89845398471-561.6241487187972.10154601529090.271245678948102
263600.53622.6134394073-495.594746664965-22.11343940730380.0982448629977701
2729692997.30942627341-587.3228042132-28.3094262734095-0.136031560021605
282503.52303.67270115391-662.393154133228199.827298846085-0.112184016866781
292054.51702.36671828469-619.073117320586352.1332817153130.0644341555125677
301608.51670.67766421777-203.965387645647-62.17766421776810.615719290701315
311297.52765.20130364783712.514521995945-1467.701303647831.3619009978878
3284856091.006834101642558.980000792272393.993165898362.74412982793698
338163.58128.653353528612190.4377497457434.8466464713947-0.547563075819571
3478148677.525812519951030.01038747875-863.525812519954-1.72427255610985
357453.58029.24659595275-155.818224741883-575.746595952748-1.76192457258335
366888.57079.55275317667-716.3744615793-191.052753176672-0.833373948845052
376283.56250.78059525447-795.79303342773232.7194047455265-0.118214891987606
3857125622.14044916234-677.72881256096989.85955083765650.175393843517265
3950304935.21809982455-684.1882319749894.7819001754528-0.00958822264751012
4044884152.09134392705-753.63500593061335.908656072945-0.103466667713145
414058.53639.84876571992-583.719859878278418.6512342800840.252797288971783
4235853859.1600231785-19.1611745514269-274.1600231785030.837925865116478
433199.55250.70824382091971.120903938951-2051.208243820911.47090179633525
4481815908.57241182703751.1165971032182272.42758817297-0.326938049625503
458219.57540.314191430991369.9534762577679.185808569010.919481170753568
467865.58426.131367736971029.72922651928-560.631367736974-0.505515022777389
477516.58174.87067894616129.879126563379-658.370678946158-1.33709636584919
4871167464.09549937966-460.516753109036-348.095499379664-0.877770965165623
496615.56695.34473728391-677.123078729056-79.8447372839071-0.322158642392882
506216.56061.17934638592-646.957365821803155.3206536140830.0448028211366937
515699.55463.93453231774-612.155846088507235.565467682260.0516801584300121
5251794816.08796373896-637.12677281301362.912036261036-0.0371592401678603
534727.54438.65930203557-455.097305306777288.8406979644290.270763332590963
544224.54708.1870591507952.6675493768345-483.6870591507940.754021208767095
553780.55602.90317137503642.004705742926-1822.403171375030.875238100163451
567023.55363.6293027804325.20335280570691659.87069721957-0.916466654950347
5765585695.80600488102240.148645954458862.1939951189830.319378742991654
586257.56381.00021492944551.79685562073-123.5002149294430.463060149870137
595862.56424.76657535545196.123523296877-562.266575355455-0.528540713362876
6053435790.91714052728-384.968994469587-447.917140527281-0.863867636687984
6147564936.12671966934-714.042913644619-180.126719669338-0.489199816026761
624173.54032.99323885813-846.385512330679140.506761141871-0.196555646168693
633451.53147.77958128464-873.506416076379303.720418715359-0.0402827713556766
6428492471.52581658941-735.778536261193377.4741834105950.204839416941093
6523512184.98661144077-421.71276192229166.0133885592290.467061684556341
661887.52435.7358554574948.4495469370833-548.2358554574940.698402196374016
671416.52880.07479072482324.999372090203-1463.574790724820.41071664291179
6873995351.110242737541823.728558336882047.889757262462.2266081918263
6970136577.73576319281406.6304898479435.264236807203-0.619749598877089
706644.56900.03075333667649.11324979097-255.530753336669-1.1256050740561
716238.56755.7104736493794.8536803418322-517.210473649372-0.823701569424322
7257216196.30723524615-362.263961962818-475.30723524615-0.679495415566534
735137.55352.15701021391-699.030897582827-214.657010213912-0.5005015799871
7443574241.22093179296-986.686685652645115.779068207038-0.427240344959149
753750.53376.97701934883-901.298562687177373.5229806511680.126841480154405
7633242881.82496658116-618.131783261509442.1750334188420.42102472266378
7728612691.38742769239-319.670518033371169.6125723076130.443783402606002
782455.53014.76875763391129.177041780151-559.2687576339060.666860765231486
792027.54022.15495584736741.776283660819-1994.654955847360.909857269557189
808388.55961.167847023291576.580457897552427.332152976711.24014900432542
8179107305.372349613961414.54376108862604.627650386045-0.240760776159438
8276867934.52624864184866.841379650267-248.526248641841-0.813881939479454
8371637758.23902028627139.351906012161-595.239020286273-1.08119739115744
846841.57296.7175740084-279.801075394354-455.2175740084-0.623009326805955
856448.56603.58321459681-568.165013720301-155.083214596808-0.428499267142166
866060.55940.60514345085-634.268846321716119.894856549153-0.0981841086194269
8757395380.97958259093-582.281906662251358.0204174090730.0772300814682105
885362.54919.90058193071-497.881524452602442.5994180692890.125469196656764
8950814915.59222377344-153.93939990387165.4077762265640.511349710983088
9047645459.22520141862332.290909027028-695.2252014186180.722474658254793
914522.56737.95224804766991.681096074005-2215.452248047660.97941948045958
929056.56877.74011070784398.4339736252912178.75988929216-0.881268584848559
9383527477.34877209462538.514276904892874.6512279053770.20813373308593
9476837740.09037277685346.477300800139-57.0903727768479-0.285377743659764
957319.57808.06003208778152.505692179379-488.560032087782-0.288290495545492
9667087212.17622617011-368.853815665858-504.176226170114-0.774874926864072
976204.56392.88366133331-682.658251771912-188.383661333306-0.466261469787355
985576.55473.68987473691-847.346381425933102.810125263094-0.244619313169586
994776.54434.63911240655-980.711519933395341.860887593448-0.198130866033711
1004279.53845.89282296226-708.06086702305433.6071770377390.40527924737016
10139183832.96019382371-224.26042775820385.03980617628680.719220779503521
1023288.54150.45701220558152.902366994604-861.9570122055760.560446194635532
1032393.54367.72641006507197.697940525091-1974.226410065070.0665405302108675
1048131.55756.957569380271026.534357799572374.542430619731.23121634440665
10581217170.040276968651295.36363141051950.9597230313550.399425596939863
1067790.57938.63037010766928.994875091754-148.130370107664-0.544459541667031
1077411.57912.32384191004264.447934917164-500.82384191004-0.987700379586081
10868617399.49485229179-276.393684463675-538.494852291792-0.803792907259258
10961976434.89519508021-755.246596117707-237.895195080214-0.711459616116014
1105622.55450.70136845376-914.461209630728171.798631546236-0.23649572181471
1114855.54572.14212539255-889.510884681236283.3578746074540.037067854123982
1124303.53960.12144385645-696.683743604824343.378556143550.286606698239224
1133853.53742.38991308731-363.706755809204111.1100869126880.494974176451367
1143283.54011.9918922025876.7032536096454-728.4918922025810.65444799613853
1152861.55036.86845754502735.892819771258-2175.368457545020.979221643993651
1169486.57026.250270580161606.928694242222460.249729419841.29389861947987
11790618166.954095607511283.04075571302894.045904392494-0.481226536165337
1188877.58893.9988825171896.775715804177-16.4988825171034-0.574035507906367
1198557.59020.24680957318361.342303805422-462.746809573184-0.795806294056555
12080318547.10900987456-218.672934087086-516.109009874563-0.861982901331574
1217404.57685.09370812763-665.809113205428-280.593708127626-0.664317027981105
1226852.56702.39001613454-885.946985850447150.109983865458-0.326998232875611
1236174.55877.36910638902-843.647072875306297.1308936109790.0628446720174994
1245341.55052.56394060276-830.566310418471288.936059397240.0194415268655483
1254975.54845.23398685088-397.720184830635130.2660131491240.643398643264597
12642905183.52502954804113.583455297198-893.5250295480390.759806199471076







Structural Time Series Model -- Extrapolation
tObservedLevelSeasonal
13626.403194180916787.80241894047-3161.39922475956
29737.240888012746804.474911251242932.7659767615
39106.848597049336821.147403562022285.70119348731
48768.702089115646837.819895872791930.88219324284
58375.80486968536854.492388183571521.31248150173
67842.016438441016871.16488049434970.851557946665
77238.704080984536887.83737280512350.866708179418
86717.497084448036904.50986511589-187.01278066786
96100.503486635736921.18235742667-820.678870790941
105419.937540086126937.85484973744-1517.91730965132
115130.285343428126954.52734204822-1824.24199862009
124490.06990772936971.19983435899-2481.12992662969

\begin{tabular}{lllllllll}
\hline
Structural Time Series Model -- Extrapolation \tabularnewline
t & Observed & Level & Seasonal \tabularnewline
1 & 3626.40319418091 & 6787.80241894047 & -3161.39922475956 \tabularnewline
2 & 9737.24088801274 & 6804.47491125124 & 2932.7659767615 \tabularnewline
3 & 9106.84859704933 & 6821.14740356202 & 2285.70119348731 \tabularnewline
4 & 8768.70208911564 & 6837.81989587279 & 1930.88219324284 \tabularnewline
5 & 8375.8048696853 & 6854.49238818357 & 1521.31248150173 \tabularnewline
6 & 7842.01643844101 & 6871.16488049434 & 970.851557946665 \tabularnewline
7 & 7238.70408098453 & 6887.83737280512 & 350.866708179418 \tabularnewline
8 & 6717.49708444803 & 6904.50986511589 & -187.01278066786 \tabularnewline
9 & 6100.50348663573 & 6921.18235742667 & -820.678870790941 \tabularnewline
10 & 5419.93754008612 & 6937.85484973744 & -1517.91730965132 \tabularnewline
11 & 5130.28534342812 & 6954.52734204822 & -1824.24199862009 \tabularnewline
12 & 4490.0699077293 & 6971.19983435899 & -2481.12992662969 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=298093&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]3626.40319418091[/C][C]6787.80241894047[/C][C]-3161.39922475956[/C][/ROW]
[ROW][C]2[/C][C]9737.24088801274[/C][C]6804.47491125124[/C][C]2932.7659767615[/C][/ROW]
[ROW][C]3[/C][C]9106.84859704933[/C][C]6821.14740356202[/C][C]2285.70119348731[/C][/ROW]
[ROW][C]4[/C][C]8768.70208911564[/C][C]6837.81989587279[/C][C]1930.88219324284[/C][/ROW]
[ROW][C]5[/C][C]8375.8048696853[/C][C]6854.49238818357[/C][C]1521.31248150173[/C][/ROW]
[ROW][C]6[/C][C]7842.01643844101[/C][C]6871.16488049434[/C][C]970.851557946665[/C][/ROW]
[ROW][C]7[/C][C]7238.70408098453[/C][C]6887.83737280512[/C][C]350.866708179418[/C][/ROW]
[ROW][C]8[/C][C]6717.49708444803[/C][C]6904.50986511589[/C][C]-187.01278066786[/C][/ROW]
[ROW][C]9[/C][C]6100.50348663573[/C][C]6921.18235742667[/C][C]-820.678870790941[/C][/ROW]
[ROW][C]10[/C][C]5419.93754008612[/C][C]6937.85484973744[/C][C]-1517.91730965132[/C][/ROW]
[ROW][C]11[/C][C]5130.28534342812[/C][C]6954.52734204822[/C][C]-1824.24199862009[/C][/ROW]
[ROW][C]12[/C][C]4490.0699077293[/C][C]6971.19983435899[/C][C]-2481.12992662969[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=298093&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=298093&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
13626.403194180916787.80241894047-3161.39922475956
29737.240888012746804.474911251242932.7659767615
39106.848597049336821.147403562022285.70119348731
48768.702089115646837.819895872791930.88219324284
58375.80486968536854.492388183571521.31248150173
67842.016438441016871.16488049434970.851557946665
77238.704080984536887.83737280512350.866708179418
86717.497084448036904.50986511589-187.01278066786
96100.503486635736921.18235742667-820.678870790941
105419.937540086126937.85484973744-1517.91730965132
115130.285343428126954.52734204822-1824.24199862009
124490.06990772936971.19983435899-2481.12992662969



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