Free Statistics

of Irreproducible Research!

Author's title

Author*Unverified author*
R Software Modulerwasp_structuraltimeseries.wasp
Title produced by softwareStructural Time Series Models
Date of computationTue, 12 Jan 2021 21:33:48 +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/2021/Jan/12/t1610483838jd8bhdhsaxxg1ps.htm/, Retrieved Sat, 27 Apr 2024 19:18:08 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=319341, Retrieved Sat, 27 Apr 2024 19:18:08 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact94
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-       [Structural Time Series Models] [Gasto por receta ...] [2021-01-12 20:33:48] [d41d8cd98f00b204e9800998ecf8427e] [Current]
Feedback Forum

Post a new message
Dataseries X:
1.647
1.667
1.777
1.707
1.733
1.717
1.625
1.604
1.647
1.647
1.702
1.718
1.756
1.590
1.834
1.626
1.793
1.707
1.647
1.614
1.639
1.639
1.713
1.700
1.872
1.648
1.774
1.788
1.844
1.757
1.757
1.681
1.635
1.850
1.754
1.717
1.880
1.683
1.811
1.806
1.875
1.712
1.852
1.688
1.723
1.899
1.768
1.801
1.921
1.780
2.020
1.763
1.656
1.745
1.792




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

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







Structural Time Series Model -- Interpolation
tObservedLevelSlopeSeasonalStand. Residuals
11.6471.647000
21.6671.64860656628580.0005355220952681150.004424241274060670.279671663569668
31.7771.670989633389030.005997408347256310.03060582959764791.65546945847509
41.7071.684295553813130.007459110762626460.001946203721705360.466890674371599
51.7331.699325288836060.008720881472677290.01303503090920710.465501524478169
61.7171.708831934875890.0088331335536980.005986829462604120.0489672709823233
71.6251.698051015319290.00638137691491151-0.0160290486765606-1.270461062721
81.6041.682681968598280.00396466317758647-0.0115565474194902-1.48292153449443
91.6471.676798402069760.002979840206976430.0026540484378037-0.710889718214409
101.6471.672786343421580.00234421303832524-0.00114439355250093-0.535491825766914
111.7021.678343120175890.002611926681323960.01155427181751760.261066605568248
121.7181.686506742441820.00303898018783220.009175223558286250.478200108848589
131.7561.695950665096590.00349647607832794-0.007967694125600511.40057575501223
141.591.689435417548320.00282902783655456-0.0552663209379841-0.984708996310256
151.8341.707099307161110.003756206697569290.06961971650989171.30814851628095
161.6261.702302934520810.00325311379534184-0.0420657221504548-0.781748037459795
171.7931.714380766917320.003743375939850950.04079036398354820.859256366124497
181.7071.716437971736390.00365463009138897-0.00168445909905278-0.175137854031569
191.6471.712289566306510.00326447831532546-0.0269649159685253-0.861339588954599
201.6141.704150841992470.00272146866630793-0.0306187859098291-1.3320566535073
211.6391.697537247434720.00229714761066911-0.00695804921771609-1.14959725392856
221.6391.692791501560690.00199093485046488-0.0127439930496564-0.911638439151106
231.7131.694753977255430.001989749052309440.0184209600145029-0.00387150049781746
241.71.696912401152920.00199649604611660.001971686800835910.0245602155252781
251.8721.709975132395790.002422120476761050.06622650917384932.097563100474
261.6481.714939181051720.00251626596487852-0.08548137163400820.413505826218763
271.7741.716648787480170.002487456695720260.0629028246619605-0.124861405325464
281.7881.728588123407840.00281338356578752-0.006186408061981121.47729180472527
291.8441.73821158693260.003040386231086520.05703477660853831.09677504345605
301.7571.742921711574560.003094248760469620.001669479718038320.278676549416581
311.7571.747991790640640.00315599345752012-0.006247514690167470.341995836125871
321.6811.747809965999470.00305484745452935-0.040055619370229-0.598722381314837
331.6351.742374722834130.00280513890688603-0.0368012534480413-1.57670154715982
341.851.751437441793530.002983926908386510.04462711235648851.20298470549974
351.7541.754413612303750.00298371145288194-0.000344043139116368-0.00154869849339133
361.7171.756185604017790.00295096227075096-0.0276821520483842-0.255396784084781
371.881.762326753275610.003034914559884350.0837659220722450.751856280331095
381.6831.766387282533410.00306121237265153-0.09385211719236620.233057421608449
391.8111.769516569284680.003062914232116920.04080562333195840.0151490767153331
401.8061.775494972220930.003134023712705570.001365704844752420.65189406260328
411.8751.781447947716170.003201141612289740.06487191558591210.641466966197821
421.7121.781211560858670.00312119908973662-0.0334077413799615-0.800247351254321
431.8521.787239184354510.003187254189875190.03370811432915880.693475529280158
441.6881.787057007238440.00311237793863203-0.0621081784793455-0.824423429423724
451.7231.788699079732480.00308041477679294-0.0491455486789287-0.369018270032177
461.8991.794533037631120.003139000800662160.07260335881165620.709629517808711
471.7681.796693951177850.00311862398287186-0.0170167858931181-0.259767194748747
481.8011.801376417193330.00315053912639444-0.01983650588901820.432360065476849
491.9211.806339800553760.003186796011075230.09075367532252660.530776751950343
501.781.812770783548560.00325040752056005-0.07534353849603640.946131886946099
512.021.824041175621670.003404637992724420.09154630922289822.32404669162764
521.7631.82624443939150.0033819705545566-0.0475403743533848-0.349754836905953
531.6561.819191165096070.00318872527955682-0.0250854919885362-3.07571364333953
541.7451.819002162290390.0031273120416434-0.0285479532302978-1.01195974139836
551.7921.818405404858630.003060810801046940.0246559885496937-1.13626900087706

\begin{tabular}{lllllllll}
\hline
Structural Time Series Model -- Interpolation \tabularnewline
t & Observed & Level & Slope & Seasonal & Stand. Residuals \tabularnewline
1 & 1.647 & 1.647 & 0 & 0 & 0 \tabularnewline
2 & 1.667 & 1.6486065662858 & 0.000535522095268115 & 0.00442424127406067 & 0.279671663569668 \tabularnewline
3 & 1.777 & 1.67098963338903 & 0.00599740834725631 & 0.0306058295976479 & 1.65546945847509 \tabularnewline
4 & 1.707 & 1.68429555381313 & 0.00745911076262646 & 0.00194620372170536 & 0.466890674371599 \tabularnewline
5 & 1.733 & 1.69932528883606 & 0.00872088147267729 & 0.0130350309092071 & 0.465501524478169 \tabularnewline
6 & 1.717 & 1.70883193487589 & 0.008833133553698 & 0.00598682946260412 & 0.0489672709823233 \tabularnewline
7 & 1.625 & 1.69805101531929 & 0.00638137691491151 & -0.0160290486765606 & -1.270461062721 \tabularnewline
8 & 1.604 & 1.68268196859828 & 0.00396466317758647 & -0.0115565474194902 & -1.48292153449443 \tabularnewline
9 & 1.647 & 1.67679840206976 & 0.00297984020697643 & 0.0026540484378037 & -0.710889718214409 \tabularnewline
10 & 1.647 & 1.67278634342158 & 0.00234421303832524 & -0.00114439355250093 & -0.535491825766914 \tabularnewline
11 & 1.702 & 1.67834312017589 & 0.00261192668132396 & 0.0115542718175176 & 0.261066605568248 \tabularnewline
12 & 1.718 & 1.68650674244182 & 0.0030389801878322 & 0.00917522355828625 & 0.478200108848589 \tabularnewline
13 & 1.756 & 1.69595066509659 & 0.00349647607832794 & -0.00796769412560051 & 1.40057575501223 \tabularnewline
14 & 1.59 & 1.68943541754832 & 0.00282902783655456 & -0.0552663209379841 & -0.984708996310256 \tabularnewline
15 & 1.834 & 1.70709930716111 & 0.00375620669756929 & 0.0696197165098917 & 1.30814851628095 \tabularnewline
16 & 1.626 & 1.70230293452081 & 0.00325311379534184 & -0.0420657221504548 & -0.781748037459795 \tabularnewline
17 & 1.793 & 1.71438076691732 & 0.00374337593985095 & 0.0407903639835482 & 0.859256366124497 \tabularnewline
18 & 1.707 & 1.71643797173639 & 0.00365463009138897 & -0.00168445909905278 & -0.175137854031569 \tabularnewline
19 & 1.647 & 1.71228956630651 & 0.00326447831532546 & -0.0269649159685253 & -0.861339588954599 \tabularnewline
20 & 1.614 & 1.70415084199247 & 0.00272146866630793 & -0.0306187859098291 & -1.3320566535073 \tabularnewline
21 & 1.639 & 1.69753724743472 & 0.00229714761066911 & -0.00695804921771609 & -1.14959725392856 \tabularnewline
22 & 1.639 & 1.69279150156069 & 0.00199093485046488 & -0.0127439930496564 & -0.911638439151106 \tabularnewline
23 & 1.713 & 1.69475397725543 & 0.00198974905230944 & 0.0184209600145029 & -0.00387150049781746 \tabularnewline
24 & 1.7 & 1.69691240115292 & 0.0019964960461166 & 0.00197168680083591 & 0.0245602155252781 \tabularnewline
25 & 1.872 & 1.70997513239579 & 0.00242212047676105 & 0.0662265091738493 & 2.097563100474 \tabularnewline
26 & 1.648 & 1.71493918105172 & 0.00251626596487852 & -0.0854813716340082 & 0.413505826218763 \tabularnewline
27 & 1.774 & 1.71664878748017 & 0.00248745669572026 & 0.0629028246619605 & -0.124861405325464 \tabularnewline
28 & 1.788 & 1.72858812340784 & 0.00281338356578752 & -0.00618640806198112 & 1.47729180472527 \tabularnewline
29 & 1.844 & 1.7382115869326 & 0.00304038623108652 & 0.0570347766085383 & 1.09677504345605 \tabularnewline
30 & 1.757 & 1.74292171157456 & 0.00309424876046962 & 0.00166947971803832 & 0.278676549416581 \tabularnewline
31 & 1.757 & 1.74799179064064 & 0.00315599345752012 & -0.00624751469016747 & 0.341995836125871 \tabularnewline
32 & 1.681 & 1.74780996599947 & 0.00305484745452935 & -0.040055619370229 & -0.598722381314837 \tabularnewline
33 & 1.635 & 1.74237472283413 & 0.00280513890688603 & -0.0368012534480413 & -1.57670154715982 \tabularnewline
34 & 1.85 & 1.75143744179353 & 0.00298392690838651 & 0.0446271123564885 & 1.20298470549974 \tabularnewline
35 & 1.754 & 1.75441361230375 & 0.00298371145288194 & -0.000344043139116368 & -0.00154869849339133 \tabularnewline
36 & 1.717 & 1.75618560401779 & 0.00295096227075096 & -0.0276821520483842 & -0.255396784084781 \tabularnewline
37 & 1.88 & 1.76232675327561 & 0.00303491455988435 & 0.083765922072245 & 0.751856280331095 \tabularnewline
38 & 1.683 & 1.76638728253341 & 0.00306121237265153 & -0.0938521171923662 & 0.233057421608449 \tabularnewline
39 & 1.811 & 1.76951656928468 & 0.00306291423211692 & 0.0408056233319584 & 0.0151490767153331 \tabularnewline
40 & 1.806 & 1.77549497222093 & 0.00313402371270557 & 0.00136570484475242 & 0.65189406260328 \tabularnewline
41 & 1.875 & 1.78144794771617 & 0.00320114161228974 & 0.0648719155859121 & 0.641466966197821 \tabularnewline
42 & 1.712 & 1.78121156085867 & 0.00312119908973662 & -0.0334077413799615 & -0.800247351254321 \tabularnewline
43 & 1.852 & 1.78723918435451 & 0.00318725418987519 & 0.0337081143291588 & 0.693475529280158 \tabularnewline
44 & 1.688 & 1.78705700723844 & 0.00311237793863203 & -0.0621081784793455 & -0.824423429423724 \tabularnewline
45 & 1.723 & 1.78869907973248 & 0.00308041477679294 & -0.0491455486789287 & -0.369018270032177 \tabularnewline
46 & 1.899 & 1.79453303763112 & 0.00313900080066216 & 0.0726033588116562 & 0.709629517808711 \tabularnewline
47 & 1.768 & 1.79669395117785 & 0.00311862398287186 & -0.0170167858931181 & -0.259767194748747 \tabularnewline
48 & 1.801 & 1.80137641719333 & 0.00315053912639444 & -0.0198365058890182 & 0.432360065476849 \tabularnewline
49 & 1.921 & 1.80633980055376 & 0.00318679601107523 & 0.0907536753225266 & 0.530776751950343 \tabularnewline
50 & 1.78 & 1.81277078354856 & 0.00325040752056005 & -0.0753435384960364 & 0.946131886946099 \tabularnewline
51 & 2.02 & 1.82404117562167 & 0.00340463799272442 & 0.0915463092228982 & 2.32404669162764 \tabularnewline
52 & 1.763 & 1.8262444393915 & 0.0033819705545566 & -0.0475403743533848 & -0.349754836905953 \tabularnewline
53 & 1.656 & 1.81919116509607 & 0.00318872527955682 & -0.0250854919885362 & -3.07571364333953 \tabularnewline
54 & 1.745 & 1.81900216229039 & 0.0031273120416434 & -0.0285479532302978 & -1.01195974139836 \tabularnewline
55 & 1.792 & 1.81840540485863 & 0.00306081080104694 & 0.0246559885496937 & -1.13626900087706 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=319341&T=1

[TABLE]
[ROW][C]Structural Time Series Model -- Interpolation[/C][/ROW]
[ROW][C]t[/C][C]Observed[/C][C]Level[/C][C]Slope[/C][C]Seasonal[/C][C]Stand. Residuals[/C][/ROW]
[ROW][C]1[/C][C]1.647[/C][C]1.647[/C][C]0[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]2[/C][C]1.667[/C][C]1.6486065662858[/C][C]0.000535522095268115[/C][C]0.00442424127406067[/C][C]0.279671663569668[/C][/ROW]
[ROW][C]3[/C][C]1.777[/C][C]1.67098963338903[/C][C]0.00599740834725631[/C][C]0.0306058295976479[/C][C]1.65546945847509[/C][/ROW]
[ROW][C]4[/C][C]1.707[/C][C]1.68429555381313[/C][C]0.00745911076262646[/C][C]0.00194620372170536[/C][C]0.466890674371599[/C][/ROW]
[ROW][C]5[/C][C]1.733[/C][C]1.69932528883606[/C][C]0.00872088147267729[/C][C]0.0130350309092071[/C][C]0.465501524478169[/C][/ROW]
[ROW][C]6[/C][C]1.717[/C][C]1.70883193487589[/C][C]0.008833133553698[/C][C]0.00598682946260412[/C][C]0.0489672709823233[/C][/ROW]
[ROW][C]7[/C][C]1.625[/C][C]1.69805101531929[/C][C]0.00638137691491151[/C][C]-0.0160290486765606[/C][C]-1.270461062721[/C][/ROW]
[ROW][C]8[/C][C]1.604[/C][C]1.68268196859828[/C][C]0.00396466317758647[/C][C]-0.0115565474194902[/C][C]-1.48292153449443[/C][/ROW]
[ROW][C]9[/C][C]1.647[/C][C]1.67679840206976[/C][C]0.00297984020697643[/C][C]0.0026540484378037[/C][C]-0.710889718214409[/C][/ROW]
[ROW][C]10[/C][C]1.647[/C][C]1.67278634342158[/C][C]0.00234421303832524[/C][C]-0.00114439355250093[/C][C]-0.535491825766914[/C][/ROW]
[ROW][C]11[/C][C]1.702[/C][C]1.67834312017589[/C][C]0.00261192668132396[/C][C]0.0115542718175176[/C][C]0.261066605568248[/C][/ROW]
[ROW][C]12[/C][C]1.718[/C][C]1.68650674244182[/C][C]0.0030389801878322[/C][C]0.00917522355828625[/C][C]0.478200108848589[/C][/ROW]
[ROW][C]13[/C][C]1.756[/C][C]1.69595066509659[/C][C]0.00349647607832794[/C][C]-0.00796769412560051[/C][C]1.40057575501223[/C][/ROW]
[ROW][C]14[/C][C]1.59[/C][C]1.68943541754832[/C][C]0.00282902783655456[/C][C]-0.0552663209379841[/C][C]-0.984708996310256[/C][/ROW]
[ROW][C]15[/C][C]1.834[/C][C]1.70709930716111[/C][C]0.00375620669756929[/C][C]0.0696197165098917[/C][C]1.30814851628095[/C][/ROW]
[ROW][C]16[/C][C]1.626[/C][C]1.70230293452081[/C][C]0.00325311379534184[/C][C]-0.0420657221504548[/C][C]-0.781748037459795[/C][/ROW]
[ROW][C]17[/C][C]1.793[/C][C]1.71438076691732[/C][C]0.00374337593985095[/C][C]0.0407903639835482[/C][C]0.859256366124497[/C][/ROW]
[ROW][C]18[/C][C]1.707[/C][C]1.71643797173639[/C][C]0.00365463009138897[/C][C]-0.00168445909905278[/C][C]-0.175137854031569[/C][/ROW]
[ROW][C]19[/C][C]1.647[/C][C]1.71228956630651[/C][C]0.00326447831532546[/C][C]-0.0269649159685253[/C][C]-0.861339588954599[/C][/ROW]
[ROW][C]20[/C][C]1.614[/C][C]1.70415084199247[/C][C]0.00272146866630793[/C][C]-0.0306187859098291[/C][C]-1.3320566535073[/C][/ROW]
[ROW][C]21[/C][C]1.639[/C][C]1.69753724743472[/C][C]0.00229714761066911[/C][C]-0.00695804921771609[/C][C]-1.14959725392856[/C][/ROW]
[ROW][C]22[/C][C]1.639[/C][C]1.69279150156069[/C][C]0.00199093485046488[/C][C]-0.0127439930496564[/C][C]-0.911638439151106[/C][/ROW]
[ROW][C]23[/C][C]1.713[/C][C]1.69475397725543[/C][C]0.00198974905230944[/C][C]0.0184209600145029[/C][C]-0.00387150049781746[/C][/ROW]
[ROW][C]24[/C][C]1.7[/C][C]1.69691240115292[/C][C]0.0019964960461166[/C][C]0.00197168680083591[/C][C]0.0245602155252781[/C][/ROW]
[ROW][C]25[/C][C]1.872[/C][C]1.70997513239579[/C][C]0.00242212047676105[/C][C]0.0662265091738493[/C][C]2.097563100474[/C][/ROW]
[ROW][C]26[/C][C]1.648[/C][C]1.71493918105172[/C][C]0.00251626596487852[/C][C]-0.0854813716340082[/C][C]0.413505826218763[/C][/ROW]
[ROW][C]27[/C][C]1.774[/C][C]1.71664878748017[/C][C]0.00248745669572026[/C][C]0.0629028246619605[/C][C]-0.124861405325464[/C][/ROW]
[ROW][C]28[/C][C]1.788[/C][C]1.72858812340784[/C][C]0.00281338356578752[/C][C]-0.00618640806198112[/C][C]1.47729180472527[/C][/ROW]
[ROW][C]29[/C][C]1.844[/C][C]1.7382115869326[/C][C]0.00304038623108652[/C][C]0.0570347766085383[/C][C]1.09677504345605[/C][/ROW]
[ROW][C]30[/C][C]1.757[/C][C]1.74292171157456[/C][C]0.00309424876046962[/C][C]0.00166947971803832[/C][C]0.278676549416581[/C][/ROW]
[ROW][C]31[/C][C]1.757[/C][C]1.74799179064064[/C][C]0.00315599345752012[/C][C]-0.00624751469016747[/C][C]0.341995836125871[/C][/ROW]
[ROW][C]32[/C][C]1.681[/C][C]1.74780996599947[/C][C]0.00305484745452935[/C][C]-0.040055619370229[/C][C]-0.598722381314837[/C][/ROW]
[ROW][C]33[/C][C]1.635[/C][C]1.74237472283413[/C][C]0.00280513890688603[/C][C]-0.0368012534480413[/C][C]-1.57670154715982[/C][/ROW]
[ROW][C]34[/C][C]1.85[/C][C]1.75143744179353[/C][C]0.00298392690838651[/C][C]0.0446271123564885[/C][C]1.20298470549974[/C][/ROW]
[ROW][C]35[/C][C]1.754[/C][C]1.75441361230375[/C][C]0.00298371145288194[/C][C]-0.000344043139116368[/C][C]-0.00154869849339133[/C][/ROW]
[ROW][C]36[/C][C]1.717[/C][C]1.75618560401779[/C][C]0.00295096227075096[/C][C]-0.0276821520483842[/C][C]-0.255396784084781[/C][/ROW]
[ROW][C]37[/C][C]1.88[/C][C]1.76232675327561[/C][C]0.00303491455988435[/C][C]0.083765922072245[/C][C]0.751856280331095[/C][/ROW]
[ROW][C]38[/C][C]1.683[/C][C]1.76638728253341[/C][C]0.00306121237265153[/C][C]-0.0938521171923662[/C][C]0.233057421608449[/C][/ROW]
[ROW][C]39[/C][C]1.811[/C][C]1.76951656928468[/C][C]0.00306291423211692[/C][C]0.0408056233319584[/C][C]0.0151490767153331[/C][/ROW]
[ROW][C]40[/C][C]1.806[/C][C]1.77549497222093[/C][C]0.00313402371270557[/C][C]0.00136570484475242[/C][C]0.65189406260328[/C][/ROW]
[ROW][C]41[/C][C]1.875[/C][C]1.78144794771617[/C][C]0.00320114161228974[/C][C]0.0648719155859121[/C][C]0.641466966197821[/C][/ROW]
[ROW][C]42[/C][C]1.712[/C][C]1.78121156085867[/C][C]0.00312119908973662[/C][C]-0.0334077413799615[/C][C]-0.800247351254321[/C][/ROW]
[ROW][C]43[/C][C]1.852[/C][C]1.78723918435451[/C][C]0.00318725418987519[/C][C]0.0337081143291588[/C][C]0.693475529280158[/C][/ROW]
[ROW][C]44[/C][C]1.688[/C][C]1.78705700723844[/C][C]0.00311237793863203[/C][C]-0.0621081784793455[/C][C]-0.824423429423724[/C][/ROW]
[ROW][C]45[/C][C]1.723[/C][C]1.78869907973248[/C][C]0.00308041477679294[/C][C]-0.0491455486789287[/C][C]-0.369018270032177[/C][/ROW]
[ROW][C]46[/C][C]1.899[/C][C]1.79453303763112[/C][C]0.00313900080066216[/C][C]0.0726033588116562[/C][C]0.709629517808711[/C][/ROW]
[ROW][C]47[/C][C]1.768[/C][C]1.79669395117785[/C][C]0.00311862398287186[/C][C]-0.0170167858931181[/C][C]-0.259767194748747[/C][/ROW]
[ROW][C]48[/C][C]1.801[/C][C]1.80137641719333[/C][C]0.00315053912639444[/C][C]-0.0198365058890182[/C][C]0.432360065476849[/C][/ROW]
[ROW][C]49[/C][C]1.921[/C][C]1.80633980055376[/C][C]0.00318679601107523[/C][C]0.0907536753225266[/C][C]0.530776751950343[/C][/ROW]
[ROW][C]50[/C][C]1.78[/C][C]1.81277078354856[/C][C]0.00325040752056005[/C][C]-0.0753435384960364[/C][C]0.946131886946099[/C][/ROW]
[ROW][C]51[/C][C]2.02[/C][C]1.82404117562167[/C][C]0.00340463799272442[/C][C]0.0915463092228982[/C][C]2.32404669162764[/C][/ROW]
[ROW][C]52[/C][C]1.763[/C][C]1.8262444393915[/C][C]0.0033819705545566[/C][C]-0.0475403743533848[/C][C]-0.349754836905953[/C][/ROW]
[ROW][C]53[/C][C]1.656[/C][C]1.81919116509607[/C][C]0.00318872527955682[/C][C]-0.0250854919885362[/C][C]-3.07571364333953[/C][/ROW]
[ROW][C]54[/C][C]1.745[/C][C]1.81900216229039[/C][C]0.0031273120416434[/C][C]-0.0285479532302978[/C][C]-1.01195974139836[/C][/ROW]
[ROW][C]55[/C][C]1.792[/C][C]1.81840540485863[/C][C]0.00306081080104694[/C][C]0.0246559885496937[/C][C]-1.13626900087706[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=319341&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=319341&T=1

As an alternative you can also use a QR Code:  

The GUIDs for individual cells are displayed in the table below:

Structural Time Series Model -- Interpolation
tObservedLevelSlopeSeasonalStand. Residuals
11.6471.647000
21.6671.64860656628580.0005355220952681150.004424241274060670.279671663569668
31.7771.670989633389030.005997408347256310.03060582959764791.65546945847509
41.7071.684295553813130.007459110762626460.001946203721705360.466890674371599
51.7331.699325288836060.008720881472677290.01303503090920710.465501524478169
61.7171.708831934875890.0088331335536980.005986829462604120.0489672709823233
71.6251.698051015319290.00638137691491151-0.0160290486765606-1.270461062721
81.6041.682681968598280.00396466317758647-0.0115565474194902-1.48292153449443
91.6471.676798402069760.002979840206976430.0026540484378037-0.710889718214409
101.6471.672786343421580.00234421303832524-0.00114439355250093-0.535491825766914
111.7021.678343120175890.002611926681323960.01155427181751760.261066605568248
121.7181.686506742441820.00303898018783220.009175223558286250.478200108848589
131.7561.695950665096590.00349647607832794-0.007967694125600511.40057575501223
141.591.689435417548320.00282902783655456-0.0552663209379841-0.984708996310256
151.8341.707099307161110.003756206697569290.06961971650989171.30814851628095
161.6261.702302934520810.00325311379534184-0.0420657221504548-0.781748037459795
171.7931.714380766917320.003743375939850950.04079036398354820.859256366124497
181.7071.716437971736390.00365463009138897-0.00168445909905278-0.175137854031569
191.6471.712289566306510.00326447831532546-0.0269649159685253-0.861339588954599
201.6141.704150841992470.00272146866630793-0.0306187859098291-1.3320566535073
211.6391.697537247434720.00229714761066911-0.00695804921771609-1.14959725392856
221.6391.692791501560690.00199093485046488-0.0127439930496564-0.911638439151106
231.7131.694753977255430.001989749052309440.0184209600145029-0.00387150049781746
241.71.696912401152920.00199649604611660.001971686800835910.0245602155252781
251.8721.709975132395790.002422120476761050.06622650917384932.097563100474
261.6481.714939181051720.00251626596487852-0.08548137163400820.413505826218763
271.7741.716648787480170.002487456695720260.0629028246619605-0.124861405325464
281.7881.728588123407840.00281338356578752-0.006186408061981121.47729180472527
291.8441.73821158693260.003040386231086520.05703477660853831.09677504345605
301.7571.742921711574560.003094248760469620.001669479718038320.278676549416581
311.7571.747991790640640.00315599345752012-0.006247514690167470.341995836125871
321.6811.747809965999470.00305484745452935-0.040055619370229-0.598722381314837
331.6351.742374722834130.00280513890688603-0.0368012534480413-1.57670154715982
341.851.751437441793530.002983926908386510.04462711235648851.20298470549974
351.7541.754413612303750.00298371145288194-0.000344043139116368-0.00154869849339133
361.7171.756185604017790.00295096227075096-0.0276821520483842-0.255396784084781
371.881.762326753275610.003034914559884350.0837659220722450.751856280331095
381.6831.766387282533410.00306121237265153-0.09385211719236620.233057421608449
391.8111.769516569284680.003062914232116920.04080562333195840.0151490767153331
401.8061.775494972220930.003134023712705570.001365704844752420.65189406260328
411.8751.781447947716170.003201141612289740.06487191558591210.641466966197821
421.7121.781211560858670.00312119908973662-0.0334077413799615-0.800247351254321
431.8521.787239184354510.003187254189875190.03370811432915880.693475529280158
441.6881.787057007238440.00311237793863203-0.0621081784793455-0.824423429423724
451.7231.788699079732480.00308041477679294-0.0491455486789287-0.369018270032177
461.8991.794533037631120.003139000800662160.07260335881165620.709629517808711
471.7681.796693951177850.00311862398287186-0.0170167858931181-0.259767194748747
481.8011.801376417193330.00315053912639444-0.01983650588901820.432360065476849
491.9211.806339800553760.003186796011075230.09075367532252660.530776751950343
501.781.812770783548560.00325040752056005-0.07534353849603640.946131886946099
512.021.824041175621670.003404637992724420.09154630922289822.32404669162764
521.7631.82624443939150.0033819705545566-0.0475403743533848-0.349754836905953
531.6561.819191165096070.00318872527955682-0.0250854919885362-3.07571364333953
541.7451.819002162290390.0031273120416434-0.0285479532302978-1.01195974139836
551.7921.818405404858630.003060810801046940.0246559885496937-1.13626900087706







Structural Time Series Model -- Extrapolation
tObservedLevelSeasonal
11.643072972626451.75471545632798-0.111642483701524
21.658730925308891.75631017204373-0.0975792467348393
31.834451031303911.757904887759490.0765461435444292
41.714106506656591.75949960347524-0.04539309681865
51.739805797237061.76109431919099-0.0212885219539314

\begin{tabular}{lllllllll}
\hline
Structural Time Series Model -- Extrapolation \tabularnewline
t & Observed & Level & Seasonal \tabularnewline
1 & 1.64307297262645 & 1.75471545632798 & -0.111642483701524 \tabularnewline
2 & 1.65873092530889 & 1.75631017204373 & -0.0975792467348393 \tabularnewline
3 & 1.83445103130391 & 1.75790488775949 & 0.0765461435444292 \tabularnewline
4 & 1.71410650665659 & 1.75949960347524 & -0.04539309681865 \tabularnewline
5 & 1.73980579723706 & 1.76109431919099 & -0.0212885219539314 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=319341&T=2

[TABLE]
[ROW][C]Structural Time Series Model -- Extrapolation[/C][/ROW]
[ROW][C]t[/C][C]Observed[/C][C]Level[/C][C]Seasonal[/C][/ROW]
[ROW][C]1[/C][C]1.64307297262645[/C][C]1.75471545632798[/C][C]-0.111642483701524[/C][/ROW]
[ROW][C]2[/C][C]1.65873092530889[/C][C]1.75631017204373[/C][C]-0.0975792467348393[/C][/ROW]
[ROW][C]3[/C][C]1.83445103130391[/C][C]1.75790488775949[/C][C]0.0765461435444292[/C][/ROW]
[ROW][C]4[/C][C]1.71410650665659[/C][C]1.75949960347524[/C][C]-0.04539309681865[/C][/ROW]
[ROW][C]5[/C][C]1.73980579723706[/C][C]1.76109431919099[/C][C]-0.0212885219539314[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=319341&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=319341&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
11.643072972626451.75471545632798-0.111642483701524
21.658730925308891.75631017204373-0.0975792467348393
31.834451031303911.757904887759490.0765461435444292
41.714106506656591.75949960347524-0.04539309681865
51.739805797237061.76109431919099-0.0212885219539314



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