Free Statistics

of Irreproducible Research!

Author's title

Author*The author of this computation has been verified*
R Software Modulerwasp_structuraltimeseries.wasp
Title produced by softwareStructural Time Series Models
Date of computationFri, 16 Dec 2016 22:57:52 +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/16/t1481925504d7ay3jcrwvnotnx.htm/, Retrieved Fri, 03 May 2024 00:16:17 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=300571, Retrieved Fri, 03 May 2024 00:16:17 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact60
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-     [Classical Decomposition] [multiple regressi...] [2016-12-16 20:41:06] [15f3778596b3a039df0348fb43372a09]
- RM      [Structural Time Series Models] [zonder dummie 4] [2016-12-16 21:57:52] [ca14e1566745fb922befb698831e7d61] [Current]
Feedback Forum

Post a new message
Dataseries X:
11285
11218
11195
11145
11153
11230
11133
11217
11148
11095
11023
11006
10921
10846
10771
10812
10714
10591
10443
10360
10255
10165
10108
9999
10051
9794
9696
9667
10422
10593
10345
10305
10266
10088
10075
10074
10037
9062
6608
6604
6798
6720
6729
6695
6564
6536
6491
6452
6391
6348
6331
6414
6299
6299
6268
6135
6107
5992
5952
5914
5902
5886
5881




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

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=300571&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
11128511285000
21121811221.482366803-3.51377625955117-3.48236680297988-0.110049378847929
31119511198.558408523-3.6443867579841-3.55840852295353-0.056054362644382
41114511148.7378414565-4.01914462267299-3.73784145652543-0.133254472518991
51115311156.6917571246-3.90565982457266-3.691757124574530.0345267437252909
61123011233.3848867857-3.03412064803384-3.384886785699990.232257179062514
71113311136.7369910849-4.16851046498646-3.73699108487519-0.269572047147317
81121711220.4110175462-2.99237776299801-3.411017546213440.252778107896856
91114811151.6515025249-3.95422221863866-3.65150252488182-0.189124897609995
101109511098.8273732401-4.72751414881484-3.82737324006244-0.140440624195318
111102311027.064519844-5.86596723737413-4.06451984402884-0.192518889169721
121100611010.1030611187-6.06681642737539-4.10306111869683-0.0318450308221482
131092110916.3932611676-4.17360288697734.60673883239999-0.302768152141385
141084610847.9614320642-6.61940113062254-1.96143206416778-0.156785984197291
151077110773.065275521-7.962102442009-2.06527552102074-0.195419882420771
161081210813.9924565005-6.95113438890683-1.992456500520720.139852932747363
171071410716.1249418363-8.91941995361742-2.12494183634214-0.259938670772251
181059110593.2871981312-11.4914205951873-2.28719813124776-0.325538312507791
191044310445.4768044322-14.6899376356343-2.47680443219827-0.389361983286991
201036010362.5693818635-16.3481346613688-2.5693818635466-0.194755890067592
211025510257.68651468-18.5712680723565-2.68651467999572-0.252647564275263
221016510167.778452508-20.4169387133565-2.77845250797629-0.203484035446905
231010810110.8242888112-21.3886625450707-2.82428881122194-0.104178061193588
24999910001.9310694784-23.7757691263855-2.93106947836169-0.249404225055869
251005110011.5079187624-23.322200210749239.49208123761170.104428217999581
2697949800.44530446406-30.3900661735787-6.44530446405913-0.486832231411868
2796969702.49375327062-32.3386494169393-6.49375327062349-0.19231017797431
2896679673.49143108248-32.2405622866721-6.491431082482450.00949374803664381
291042210427.9602430094-8.69813415281838-5.960243009399632.23798258256183
301059310598.8426782239-3.23540279466091-5.842678223860110.510719090293761
311034510350.9978693734-10.7898534979978-5.99786937335532-0.695477425347945
321030510311.0158101491-11.7041419111919-6.01581014907572-0.0829794224934148
331026610272.0320435639-12.5696810195555-6.03204356389318-0.0775249837911722
341008810094.12727095-17.8788395515028-6.12727095004692-0.469757826043303
351007510081.1245536616-17.7205107311759-6.124553661577570.0138514381968304
361007410080.1155464509-17.1722748236178-6.115546450859370.0474626990984054
37100379981.47831308292-19.344685446337955.521686917077-0.246464591173882
3890629076.84525862559-53.0532830644675-14.8452586255859-2.35506928488206
3966086623.68250710174-133.744955148636-15.6825071017388-6.81241708950598
4066046619.63879517988-129.350678687562-15.63879517987540.368087179337404
4167986813.53357229541-118.320708951541-15.53357229540770.917232396119831
4267206735.52090191341-116.936174754175-15.52090191341150.11436228577384
4367296744.4826949816-112.585172240705-15.48269498160270.357155762875887
4466956710.45968194988-109.854643323365-15.45968194987860.222845308799849
4565646579.46565790454-110.593239506573-15.4656579045432-0.0599565517157334
4665366551.4431352806-107.694198377593-15.44313528060170.234168087816131
4764916506.42664179301-105.483652994549-15.42664179300940.177735749313047
4864526467.4097706663-103.129660793444-15.4097706663030.188464264720512
4963916235.4948486083-107.299799925531155.505151391696-0.383039130943329
5063486360.12242704775-98.4634036693648-12.12242704774970.625779283782803
5163316343.10856835551-95.5491241402084-12.10856835551520.230884130502165
5264146426.07927216042-89.1417193253623-12.07927216041960.506015751833343
5362996311.08336226789-90.0723565399819-12.0833622678876-0.0732795073171049
5462996311.06962929205-86.8219591727423-12.06962929205410.255242305910545
5562686280.06142623328-84.8025293096911-12.06142623327780.158177967137379
5661356147.06825205669-86.5501516723091-12.0682520566925-0.136567192084108
5761076119.06026137213-84.4226118114844-12.06026137213370.165894776305645
5859926004.06428251135-85.5359022430306-12.0642825113496-0.0866341009431234
5959525964.05851265045-83.8749486313474-12.05851265044940.129011192489253
6059145926.05291221582-82.1987854587964-12.05291221581460.129967591022212
6159025775.40597014708-84.5912768428567126.59402985292-0.201554356329243
6258865896.04150813303-76.8079969235313-10.0415081330290.558743072948547
6358815891.03567091915-74.1731844521656-10.03567091914650.203421770758765

\begin{tabular}{lllllllll}
\hline
Structural Time Series Model -- Interpolation \tabularnewline
t & Observed & Level & Slope & Seasonal & Stand. Residuals \tabularnewline
1 & 11285 & 11285 & 0 & 0 & 0 \tabularnewline
2 & 11218 & 11221.482366803 & -3.51377625955117 & -3.48236680297988 & -0.110049378847929 \tabularnewline
3 & 11195 & 11198.558408523 & -3.6443867579841 & -3.55840852295353 & -0.056054362644382 \tabularnewline
4 & 11145 & 11148.7378414565 & -4.01914462267299 & -3.73784145652543 & -0.133254472518991 \tabularnewline
5 & 11153 & 11156.6917571246 & -3.90565982457266 & -3.69175712457453 & 0.0345267437252909 \tabularnewline
6 & 11230 & 11233.3848867857 & -3.03412064803384 & -3.38488678569999 & 0.232257179062514 \tabularnewline
7 & 11133 & 11136.7369910849 & -4.16851046498646 & -3.73699108487519 & -0.269572047147317 \tabularnewline
8 & 11217 & 11220.4110175462 & -2.99237776299801 & -3.41101754621344 & 0.252778107896856 \tabularnewline
9 & 11148 & 11151.6515025249 & -3.95422221863866 & -3.65150252488182 & -0.189124897609995 \tabularnewline
10 & 11095 & 11098.8273732401 & -4.72751414881484 & -3.82737324006244 & -0.140440624195318 \tabularnewline
11 & 11023 & 11027.064519844 & -5.86596723737413 & -4.06451984402884 & -0.192518889169721 \tabularnewline
12 & 11006 & 11010.1030611187 & -6.06681642737539 & -4.10306111869683 & -0.0318450308221482 \tabularnewline
13 & 10921 & 10916.3932611676 & -4.1736028869773 & 4.60673883239999 & -0.302768152141385 \tabularnewline
14 & 10846 & 10847.9614320642 & -6.61940113062254 & -1.96143206416778 & -0.156785984197291 \tabularnewline
15 & 10771 & 10773.065275521 & -7.962102442009 & -2.06527552102074 & -0.195419882420771 \tabularnewline
16 & 10812 & 10813.9924565005 & -6.95113438890683 & -1.99245650052072 & 0.139852932747363 \tabularnewline
17 & 10714 & 10716.1249418363 & -8.91941995361742 & -2.12494183634214 & -0.259938670772251 \tabularnewline
18 & 10591 & 10593.2871981312 & -11.4914205951873 & -2.28719813124776 & -0.325538312507791 \tabularnewline
19 & 10443 & 10445.4768044322 & -14.6899376356343 & -2.47680443219827 & -0.389361983286991 \tabularnewline
20 & 10360 & 10362.5693818635 & -16.3481346613688 & -2.5693818635466 & -0.194755890067592 \tabularnewline
21 & 10255 & 10257.68651468 & -18.5712680723565 & -2.68651467999572 & -0.252647564275263 \tabularnewline
22 & 10165 & 10167.778452508 & -20.4169387133565 & -2.77845250797629 & -0.203484035446905 \tabularnewline
23 & 10108 & 10110.8242888112 & -21.3886625450707 & -2.82428881122194 & -0.104178061193588 \tabularnewline
24 & 9999 & 10001.9310694784 & -23.7757691263855 & -2.93106947836169 & -0.249404225055869 \tabularnewline
25 & 10051 & 10011.5079187624 & -23.3222002107492 & 39.4920812376117 & 0.104428217999581 \tabularnewline
26 & 9794 & 9800.44530446406 & -30.3900661735787 & -6.44530446405913 & -0.486832231411868 \tabularnewline
27 & 9696 & 9702.49375327062 & -32.3386494169393 & -6.49375327062349 & -0.19231017797431 \tabularnewline
28 & 9667 & 9673.49143108248 & -32.2405622866721 & -6.49143108248245 & 0.00949374803664381 \tabularnewline
29 & 10422 & 10427.9602430094 & -8.69813415281838 & -5.96024300939963 & 2.23798258256183 \tabularnewline
30 & 10593 & 10598.8426782239 & -3.23540279466091 & -5.84267822386011 & 0.510719090293761 \tabularnewline
31 & 10345 & 10350.9978693734 & -10.7898534979978 & -5.99786937335532 & -0.695477425347945 \tabularnewline
32 & 10305 & 10311.0158101491 & -11.7041419111919 & -6.01581014907572 & -0.0829794224934148 \tabularnewline
33 & 10266 & 10272.0320435639 & -12.5696810195555 & -6.03204356389318 & -0.0775249837911722 \tabularnewline
34 & 10088 & 10094.12727095 & -17.8788395515028 & -6.12727095004692 & -0.469757826043303 \tabularnewline
35 & 10075 & 10081.1245536616 & -17.7205107311759 & -6.12455366157757 & 0.0138514381968304 \tabularnewline
36 & 10074 & 10080.1155464509 & -17.1722748236178 & -6.11554645085937 & 0.0474626990984054 \tabularnewline
37 & 10037 & 9981.47831308292 & -19.3446854463379 & 55.521686917077 & -0.246464591173882 \tabularnewline
38 & 9062 & 9076.84525862559 & -53.0532830644675 & -14.8452586255859 & -2.35506928488206 \tabularnewline
39 & 6608 & 6623.68250710174 & -133.744955148636 & -15.6825071017388 & -6.81241708950598 \tabularnewline
40 & 6604 & 6619.63879517988 & -129.350678687562 & -15.6387951798754 & 0.368087179337404 \tabularnewline
41 & 6798 & 6813.53357229541 & -118.320708951541 & -15.5335722954077 & 0.917232396119831 \tabularnewline
42 & 6720 & 6735.52090191341 & -116.936174754175 & -15.5209019134115 & 0.11436228577384 \tabularnewline
43 & 6729 & 6744.4826949816 & -112.585172240705 & -15.4826949816027 & 0.357155762875887 \tabularnewline
44 & 6695 & 6710.45968194988 & -109.854643323365 & -15.4596819498786 & 0.222845308799849 \tabularnewline
45 & 6564 & 6579.46565790454 & -110.593239506573 & -15.4656579045432 & -0.0599565517157334 \tabularnewline
46 & 6536 & 6551.4431352806 & -107.694198377593 & -15.4431352806017 & 0.234168087816131 \tabularnewline
47 & 6491 & 6506.42664179301 & -105.483652994549 & -15.4266417930094 & 0.177735749313047 \tabularnewline
48 & 6452 & 6467.4097706663 & -103.129660793444 & -15.409770666303 & 0.188464264720512 \tabularnewline
49 & 6391 & 6235.4948486083 & -107.299799925531 & 155.505151391696 & -0.383039130943329 \tabularnewline
50 & 6348 & 6360.12242704775 & -98.4634036693648 & -12.1224270477497 & 0.625779283782803 \tabularnewline
51 & 6331 & 6343.10856835551 & -95.5491241402084 & -12.1085683555152 & 0.230884130502165 \tabularnewline
52 & 6414 & 6426.07927216042 & -89.1417193253623 & -12.0792721604196 & 0.506015751833343 \tabularnewline
53 & 6299 & 6311.08336226789 & -90.0723565399819 & -12.0833622678876 & -0.0732795073171049 \tabularnewline
54 & 6299 & 6311.06962929205 & -86.8219591727423 & -12.0696292920541 & 0.255242305910545 \tabularnewline
55 & 6268 & 6280.06142623328 & -84.8025293096911 & -12.0614262332778 & 0.158177967137379 \tabularnewline
56 & 6135 & 6147.06825205669 & -86.5501516723091 & -12.0682520566925 & -0.136567192084108 \tabularnewline
57 & 6107 & 6119.06026137213 & -84.4226118114844 & -12.0602613721337 & 0.165894776305645 \tabularnewline
58 & 5992 & 6004.06428251135 & -85.5359022430306 & -12.0642825113496 & -0.0866341009431234 \tabularnewline
59 & 5952 & 5964.05851265045 & -83.8749486313474 & -12.0585126504494 & 0.129011192489253 \tabularnewline
60 & 5914 & 5926.05291221582 & -82.1987854587964 & -12.0529122158146 & 0.129967591022212 \tabularnewline
61 & 5902 & 5775.40597014708 & -84.5912768428567 & 126.59402985292 & -0.201554356329243 \tabularnewline
62 & 5886 & 5896.04150813303 & -76.8079969235313 & -10.041508133029 & 0.558743072948547 \tabularnewline
63 & 5881 & 5891.03567091915 & -74.1731844521656 & -10.0356709191465 & 0.203421770758765 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=300571&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]11285[/C][C]11285[/C][C]0[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]2[/C][C]11218[/C][C]11221.482366803[/C][C]-3.51377625955117[/C][C]-3.48236680297988[/C][C]-0.110049378847929[/C][/ROW]
[ROW][C]3[/C][C]11195[/C][C]11198.558408523[/C][C]-3.6443867579841[/C][C]-3.55840852295353[/C][C]-0.056054362644382[/C][/ROW]
[ROW][C]4[/C][C]11145[/C][C]11148.7378414565[/C][C]-4.01914462267299[/C][C]-3.73784145652543[/C][C]-0.133254472518991[/C][/ROW]
[ROW][C]5[/C][C]11153[/C][C]11156.6917571246[/C][C]-3.90565982457266[/C][C]-3.69175712457453[/C][C]0.0345267437252909[/C][/ROW]
[ROW][C]6[/C][C]11230[/C][C]11233.3848867857[/C][C]-3.03412064803384[/C][C]-3.38488678569999[/C][C]0.232257179062514[/C][/ROW]
[ROW][C]7[/C][C]11133[/C][C]11136.7369910849[/C][C]-4.16851046498646[/C][C]-3.73699108487519[/C][C]-0.269572047147317[/C][/ROW]
[ROW][C]8[/C][C]11217[/C][C]11220.4110175462[/C][C]-2.99237776299801[/C][C]-3.41101754621344[/C][C]0.252778107896856[/C][/ROW]
[ROW][C]9[/C][C]11148[/C][C]11151.6515025249[/C][C]-3.95422221863866[/C][C]-3.65150252488182[/C][C]-0.189124897609995[/C][/ROW]
[ROW][C]10[/C][C]11095[/C][C]11098.8273732401[/C][C]-4.72751414881484[/C][C]-3.82737324006244[/C][C]-0.140440624195318[/C][/ROW]
[ROW][C]11[/C][C]11023[/C][C]11027.064519844[/C][C]-5.86596723737413[/C][C]-4.06451984402884[/C][C]-0.192518889169721[/C][/ROW]
[ROW][C]12[/C][C]11006[/C][C]11010.1030611187[/C][C]-6.06681642737539[/C][C]-4.10306111869683[/C][C]-0.0318450308221482[/C][/ROW]
[ROW][C]13[/C][C]10921[/C][C]10916.3932611676[/C][C]-4.1736028869773[/C][C]4.60673883239999[/C][C]-0.302768152141385[/C][/ROW]
[ROW][C]14[/C][C]10846[/C][C]10847.9614320642[/C][C]-6.61940113062254[/C][C]-1.96143206416778[/C][C]-0.156785984197291[/C][/ROW]
[ROW][C]15[/C][C]10771[/C][C]10773.065275521[/C][C]-7.962102442009[/C][C]-2.06527552102074[/C][C]-0.195419882420771[/C][/ROW]
[ROW][C]16[/C][C]10812[/C][C]10813.9924565005[/C][C]-6.95113438890683[/C][C]-1.99245650052072[/C][C]0.139852932747363[/C][/ROW]
[ROW][C]17[/C][C]10714[/C][C]10716.1249418363[/C][C]-8.91941995361742[/C][C]-2.12494183634214[/C][C]-0.259938670772251[/C][/ROW]
[ROW][C]18[/C][C]10591[/C][C]10593.2871981312[/C][C]-11.4914205951873[/C][C]-2.28719813124776[/C][C]-0.325538312507791[/C][/ROW]
[ROW][C]19[/C][C]10443[/C][C]10445.4768044322[/C][C]-14.6899376356343[/C][C]-2.47680443219827[/C][C]-0.389361983286991[/C][/ROW]
[ROW][C]20[/C][C]10360[/C][C]10362.5693818635[/C][C]-16.3481346613688[/C][C]-2.5693818635466[/C][C]-0.194755890067592[/C][/ROW]
[ROW][C]21[/C][C]10255[/C][C]10257.68651468[/C][C]-18.5712680723565[/C][C]-2.68651467999572[/C][C]-0.252647564275263[/C][/ROW]
[ROW][C]22[/C][C]10165[/C][C]10167.778452508[/C][C]-20.4169387133565[/C][C]-2.77845250797629[/C][C]-0.203484035446905[/C][/ROW]
[ROW][C]23[/C][C]10108[/C][C]10110.8242888112[/C][C]-21.3886625450707[/C][C]-2.82428881122194[/C][C]-0.104178061193588[/C][/ROW]
[ROW][C]24[/C][C]9999[/C][C]10001.9310694784[/C][C]-23.7757691263855[/C][C]-2.93106947836169[/C][C]-0.249404225055869[/C][/ROW]
[ROW][C]25[/C][C]10051[/C][C]10011.5079187624[/C][C]-23.3222002107492[/C][C]39.4920812376117[/C][C]0.104428217999581[/C][/ROW]
[ROW][C]26[/C][C]9794[/C][C]9800.44530446406[/C][C]-30.3900661735787[/C][C]-6.44530446405913[/C][C]-0.486832231411868[/C][/ROW]
[ROW][C]27[/C][C]9696[/C][C]9702.49375327062[/C][C]-32.3386494169393[/C][C]-6.49375327062349[/C][C]-0.19231017797431[/C][/ROW]
[ROW][C]28[/C][C]9667[/C][C]9673.49143108248[/C][C]-32.2405622866721[/C][C]-6.49143108248245[/C][C]0.00949374803664381[/C][/ROW]
[ROW][C]29[/C][C]10422[/C][C]10427.9602430094[/C][C]-8.69813415281838[/C][C]-5.96024300939963[/C][C]2.23798258256183[/C][/ROW]
[ROW][C]30[/C][C]10593[/C][C]10598.8426782239[/C][C]-3.23540279466091[/C][C]-5.84267822386011[/C][C]0.510719090293761[/C][/ROW]
[ROW][C]31[/C][C]10345[/C][C]10350.9978693734[/C][C]-10.7898534979978[/C][C]-5.99786937335532[/C][C]-0.695477425347945[/C][/ROW]
[ROW][C]32[/C][C]10305[/C][C]10311.0158101491[/C][C]-11.7041419111919[/C][C]-6.01581014907572[/C][C]-0.0829794224934148[/C][/ROW]
[ROW][C]33[/C][C]10266[/C][C]10272.0320435639[/C][C]-12.5696810195555[/C][C]-6.03204356389318[/C][C]-0.0775249837911722[/C][/ROW]
[ROW][C]34[/C][C]10088[/C][C]10094.12727095[/C][C]-17.8788395515028[/C][C]-6.12727095004692[/C][C]-0.469757826043303[/C][/ROW]
[ROW][C]35[/C][C]10075[/C][C]10081.1245536616[/C][C]-17.7205107311759[/C][C]-6.12455366157757[/C][C]0.0138514381968304[/C][/ROW]
[ROW][C]36[/C][C]10074[/C][C]10080.1155464509[/C][C]-17.1722748236178[/C][C]-6.11554645085937[/C][C]0.0474626990984054[/C][/ROW]
[ROW][C]37[/C][C]10037[/C][C]9981.47831308292[/C][C]-19.3446854463379[/C][C]55.521686917077[/C][C]-0.246464591173882[/C][/ROW]
[ROW][C]38[/C][C]9062[/C][C]9076.84525862559[/C][C]-53.0532830644675[/C][C]-14.8452586255859[/C][C]-2.35506928488206[/C][/ROW]
[ROW][C]39[/C][C]6608[/C][C]6623.68250710174[/C][C]-133.744955148636[/C][C]-15.6825071017388[/C][C]-6.81241708950598[/C][/ROW]
[ROW][C]40[/C][C]6604[/C][C]6619.63879517988[/C][C]-129.350678687562[/C][C]-15.6387951798754[/C][C]0.368087179337404[/C][/ROW]
[ROW][C]41[/C][C]6798[/C][C]6813.53357229541[/C][C]-118.320708951541[/C][C]-15.5335722954077[/C][C]0.917232396119831[/C][/ROW]
[ROW][C]42[/C][C]6720[/C][C]6735.52090191341[/C][C]-116.936174754175[/C][C]-15.5209019134115[/C][C]0.11436228577384[/C][/ROW]
[ROW][C]43[/C][C]6729[/C][C]6744.4826949816[/C][C]-112.585172240705[/C][C]-15.4826949816027[/C][C]0.357155762875887[/C][/ROW]
[ROW][C]44[/C][C]6695[/C][C]6710.45968194988[/C][C]-109.854643323365[/C][C]-15.4596819498786[/C][C]0.222845308799849[/C][/ROW]
[ROW][C]45[/C][C]6564[/C][C]6579.46565790454[/C][C]-110.593239506573[/C][C]-15.4656579045432[/C][C]-0.0599565517157334[/C][/ROW]
[ROW][C]46[/C][C]6536[/C][C]6551.4431352806[/C][C]-107.694198377593[/C][C]-15.4431352806017[/C][C]0.234168087816131[/C][/ROW]
[ROW][C]47[/C][C]6491[/C][C]6506.42664179301[/C][C]-105.483652994549[/C][C]-15.4266417930094[/C][C]0.177735749313047[/C][/ROW]
[ROW][C]48[/C][C]6452[/C][C]6467.4097706663[/C][C]-103.129660793444[/C][C]-15.409770666303[/C][C]0.188464264720512[/C][/ROW]
[ROW][C]49[/C][C]6391[/C][C]6235.4948486083[/C][C]-107.299799925531[/C][C]155.505151391696[/C][C]-0.383039130943329[/C][/ROW]
[ROW][C]50[/C][C]6348[/C][C]6360.12242704775[/C][C]-98.4634036693648[/C][C]-12.1224270477497[/C][C]0.625779283782803[/C][/ROW]
[ROW][C]51[/C][C]6331[/C][C]6343.10856835551[/C][C]-95.5491241402084[/C][C]-12.1085683555152[/C][C]0.230884130502165[/C][/ROW]
[ROW][C]52[/C][C]6414[/C][C]6426.07927216042[/C][C]-89.1417193253623[/C][C]-12.0792721604196[/C][C]0.506015751833343[/C][/ROW]
[ROW][C]53[/C][C]6299[/C][C]6311.08336226789[/C][C]-90.0723565399819[/C][C]-12.0833622678876[/C][C]-0.0732795073171049[/C][/ROW]
[ROW][C]54[/C][C]6299[/C][C]6311.06962929205[/C][C]-86.8219591727423[/C][C]-12.0696292920541[/C][C]0.255242305910545[/C][/ROW]
[ROW][C]55[/C][C]6268[/C][C]6280.06142623328[/C][C]-84.8025293096911[/C][C]-12.0614262332778[/C][C]0.158177967137379[/C][/ROW]
[ROW][C]56[/C][C]6135[/C][C]6147.06825205669[/C][C]-86.5501516723091[/C][C]-12.0682520566925[/C][C]-0.136567192084108[/C][/ROW]
[ROW][C]57[/C][C]6107[/C][C]6119.06026137213[/C][C]-84.4226118114844[/C][C]-12.0602613721337[/C][C]0.165894776305645[/C][/ROW]
[ROW][C]58[/C][C]5992[/C][C]6004.06428251135[/C][C]-85.5359022430306[/C][C]-12.0642825113496[/C][C]-0.0866341009431234[/C][/ROW]
[ROW][C]59[/C][C]5952[/C][C]5964.05851265045[/C][C]-83.8749486313474[/C][C]-12.0585126504494[/C][C]0.129011192489253[/C][/ROW]
[ROW][C]60[/C][C]5914[/C][C]5926.05291221582[/C][C]-82.1987854587964[/C][C]-12.0529122158146[/C][C]0.129967591022212[/C][/ROW]
[ROW][C]61[/C][C]5902[/C][C]5775.40597014708[/C][C]-84.5912768428567[/C][C]126.59402985292[/C][C]-0.201554356329243[/C][/ROW]
[ROW][C]62[/C][C]5886[/C][C]5896.04150813303[/C][C]-76.8079969235313[/C][C]-10.041508133029[/C][C]0.558743072948547[/C][/ROW]
[ROW][C]63[/C][C]5881[/C][C]5891.03567091915[/C][C]-74.1731844521656[/C][C]-10.0356709191465[/C][C]0.203421770758765[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=300571&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=300571&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
11128511285000
21121811221.482366803-3.51377625955117-3.48236680297988-0.110049378847929
31119511198.558408523-3.6443867579841-3.55840852295353-0.056054362644382
41114511148.7378414565-4.01914462267299-3.73784145652543-0.133254472518991
51115311156.6917571246-3.90565982457266-3.691757124574530.0345267437252909
61123011233.3848867857-3.03412064803384-3.384886785699990.232257179062514
71113311136.7369910849-4.16851046498646-3.73699108487519-0.269572047147317
81121711220.4110175462-2.99237776299801-3.411017546213440.252778107896856
91114811151.6515025249-3.95422221863866-3.65150252488182-0.189124897609995
101109511098.8273732401-4.72751414881484-3.82737324006244-0.140440624195318
111102311027.064519844-5.86596723737413-4.06451984402884-0.192518889169721
121100611010.1030611187-6.06681642737539-4.10306111869683-0.0318450308221482
131092110916.3932611676-4.17360288697734.60673883239999-0.302768152141385
141084610847.9614320642-6.61940113062254-1.96143206416778-0.156785984197291
151077110773.065275521-7.962102442009-2.06527552102074-0.195419882420771
161081210813.9924565005-6.95113438890683-1.992456500520720.139852932747363
171071410716.1249418363-8.91941995361742-2.12494183634214-0.259938670772251
181059110593.2871981312-11.4914205951873-2.28719813124776-0.325538312507791
191044310445.4768044322-14.6899376356343-2.47680443219827-0.389361983286991
201036010362.5693818635-16.3481346613688-2.5693818635466-0.194755890067592
211025510257.68651468-18.5712680723565-2.68651467999572-0.252647564275263
221016510167.778452508-20.4169387133565-2.77845250797629-0.203484035446905
231010810110.8242888112-21.3886625450707-2.82428881122194-0.104178061193588
24999910001.9310694784-23.7757691263855-2.93106947836169-0.249404225055869
251005110011.5079187624-23.322200210749239.49208123761170.104428217999581
2697949800.44530446406-30.3900661735787-6.44530446405913-0.486832231411868
2796969702.49375327062-32.3386494169393-6.49375327062349-0.19231017797431
2896679673.49143108248-32.2405622866721-6.491431082482450.00949374803664381
291042210427.9602430094-8.69813415281838-5.960243009399632.23798258256183
301059310598.8426782239-3.23540279466091-5.842678223860110.510719090293761
311034510350.9978693734-10.7898534979978-5.99786937335532-0.695477425347945
321030510311.0158101491-11.7041419111919-6.01581014907572-0.0829794224934148
331026610272.0320435639-12.5696810195555-6.03204356389318-0.0775249837911722
341008810094.12727095-17.8788395515028-6.12727095004692-0.469757826043303
351007510081.1245536616-17.7205107311759-6.124553661577570.0138514381968304
361007410080.1155464509-17.1722748236178-6.115546450859370.0474626990984054
37100379981.47831308292-19.344685446337955.521686917077-0.246464591173882
3890629076.84525862559-53.0532830644675-14.8452586255859-2.35506928488206
3966086623.68250710174-133.744955148636-15.6825071017388-6.81241708950598
4066046619.63879517988-129.350678687562-15.63879517987540.368087179337404
4167986813.53357229541-118.320708951541-15.53357229540770.917232396119831
4267206735.52090191341-116.936174754175-15.52090191341150.11436228577384
4367296744.4826949816-112.585172240705-15.48269498160270.357155762875887
4466956710.45968194988-109.854643323365-15.45968194987860.222845308799849
4565646579.46565790454-110.593239506573-15.4656579045432-0.0599565517157334
4665366551.4431352806-107.694198377593-15.44313528060170.234168087816131
4764916506.42664179301-105.483652994549-15.42664179300940.177735749313047
4864526467.4097706663-103.129660793444-15.4097706663030.188464264720512
4963916235.4948486083-107.299799925531155.505151391696-0.383039130943329
5063486360.12242704775-98.4634036693648-12.12242704774970.625779283782803
5163316343.10856835551-95.5491241402084-12.10856835551520.230884130502165
5264146426.07927216042-89.1417193253623-12.07927216041960.506015751833343
5362996311.08336226789-90.0723565399819-12.0833622678876-0.0732795073171049
5462996311.06962929205-86.8219591727423-12.06962929205410.255242305910545
5562686280.06142623328-84.8025293096911-12.06142623327780.158177967137379
5661356147.06825205669-86.5501516723091-12.0682520566925-0.136567192084108
5761076119.06026137213-84.4226118114844-12.06026137213370.165894776305645
5859926004.06428251135-85.5359022430306-12.0642825113496-0.0866341009431234
5959525964.05851265045-83.8749486313474-12.05851265044940.129011192489253
6059145926.05291221582-82.1987854587964-12.05291221581460.129967591022212
6159025775.40597014708-84.5912768428567126.59402985292-0.201554356329243
6258865896.04150813303-76.8079969235313-10.0415081330290.558743072948547
6358815891.03567091915-74.1731844521656-10.03567091914650.203421770758765







Structural Time Series Model -- Extrapolation
tObservedLevelSeasonal
15892.350860384276158.05802729094-265.707166906672
26043.003624009816082.01403524871-39.010411238902
36054.656974375746005.9700432064948.6869311692542
45955.48168991835929.9260511642625.5556387540339
55915.727142355755853.8820591220461.8450832337101
65844.908273154285777.8380670798167.0702060744735
75754.672228674195701.7940750375852.878153636601
85712.386434980425625.7500829953686.6363519850617
95674.779219842715549.70609095313125.073128889574
105648.901501933485473.66209891091175.23940302257
115412.452807582145397.6181068686814.8347007134602
124968.472095493295321.57411482645-353.102019333165

\begin{tabular}{lllllllll}
\hline
Structural Time Series Model -- Extrapolation \tabularnewline
t & Observed & Level & Seasonal \tabularnewline
1 & 5892.35086038427 & 6158.05802729094 & -265.707166906672 \tabularnewline
2 & 6043.00362400981 & 6082.01403524871 & -39.010411238902 \tabularnewline
3 & 6054.65697437574 & 6005.97004320649 & 48.6869311692542 \tabularnewline
4 & 5955.4816899183 & 5929.92605116426 & 25.5556387540339 \tabularnewline
5 & 5915.72714235575 & 5853.88205912204 & 61.8450832337101 \tabularnewline
6 & 5844.90827315428 & 5777.83806707981 & 67.0702060744735 \tabularnewline
7 & 5754.67222867419 & 5701.79407503758 & 52.878153636601 \tabularnewline
8 & 5712.38643498042 & 5625.75008299536 & 86.6363519850617 \tabularnewline
9 & 5674.77921984271 & 5549.70609095313 & 125.073128889574 \tabularnewline
10 & 5648.90150193348 & 5473.66209891091 & 175.23940302257 \tabularnewline
11 & 5412.45280758214 & 5397.61810686868 & 14.8347007134602 \tabularnewline
12 & 4968.47209549329 & 5321.57411482645 & -353.102019333165 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=300571&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]5892.35086038427[/C][C]6158.05802729094[/C][C]-265.707166906672[/C][/ROW]
[ROW][C]2[/C][C]6043.00362400981[/C][C]6082.01403524871[/C][C]-39.010411238902[/C][/ROW]
[ROW][C]3[/C][C]6054.65697437574[/C][C]6005.97004320649[/C][C]48.6869311692542[/C][/ROW]
[ROW][C]4[/C][C]5955.4816899183[/C][C]5929.92605116426[/C][C]25.5556387540339[/C][/ROW]
[ROW][C]5[/C][C]5915.72714235575[/C][C]5853.88205912204[/C][C]61.8450832337101[/C][/ROW]
[ROW][C]6[/C][C]5844.90827315428[/C][C]5777.83806707981[/C][C]67.0702060744735[/C][/ROW]
[ROW][C]7[/C][C]5754.67222867419[/C][C]5701.79407503758[/C][C]52.878153636601[/C][/ROW]
[ROW][C]8[/C][C]5712.38643498042[/C][C]5625.75008299536[/C][C]86.6363519850617[/C][/ROW]
[ROW][C]9[/C][C]5674.77921984271[/C][C]5549.70609095313[/C][C]125.073128889574[/C][/ROW]
[ROW][C]10[/C][C]5648.90150193348[/C][C]5473.66209891091[/C][C]175.23940302257[/C][/ROW]
[ROW][C]11[/C][C]5412.45280758214[/C][C]5397.61810686868[/C][C]14.8347007134602[/C][/ROW]
[ROW][C]12[/C][C]4968.47209549329[/C][C]5321.57411482645[/C][C]-353.102019333165[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=300571&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=300571&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
15892.350860384276158.05802729094-265.707166906672
26043.003624009816082.01403524871-39.010411238902
36054.656974375746005.9700432064948.6869311692542
45955.48168991835929.9260511642625.5556387540339
55915.727142355755853.8820591220461.8450832337101
65844.908273154285777.8380670798167.0702060744735
75754.672228674195701.7940750375852.878153636601
85712.386434980425625.7500829953686.6363519850617
95674.779219842715549.70609095313125.073128889574
105648.901501933485473.66209891091175.23940302257
115412.452807582145397.6181068686814.8347007134602
124968.472095493295321.57411482645-353.102019333165



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