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, 04 Dec 2009 07:17:26 -0700
Cite this page as followsStatistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?v=date/2009/Dec/04/t1259936291iwqesmwqcgd8cwo.htm/, Retrieved Sat, 27 Apr 2024 22:43:59 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=63583, Retrieved Sat, 27 Apr 2024 22:43:59 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact119
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-     [Univariate Data Series] [data set] [2008-12-01 19:54:57] [b98453cac15ba1066b407e146608df68]
- RMP   [Structural Time Series Models] [] [2009-11-27 15:02:30] [b98453cac15ba1066b407e146608df68]
-   PD      [Structural Time Series Models] [WS9 Populaire tec...] [2009-12-04 14:17:26] [c6e373ff11c42d4585d53e9e88ed5606] [Current]
Feedback Forum

Post a new message
Dataseries X:
7.1
6.9
6.8
7.5
7.6
7.8
8.0
8.1
8.2
8.3
8.2
8.0
7.9
7.6
7.6
8.3
8.4
8.4
8.4
8.4
8.6
8.9
8.8
8.3
7.5
7.2
7.4
8.8
9.3
9.3
8.7
8.2
8.3
8.5
8.6
8.5
8.2
8.1
7.9
8.6
8.7
8.7
8.5
8.4
8.5
8.7
8.7
8.6
8.5
8.3
8.0
8.2
8.1
8.1
8.0
7.9
7.9
8.0
8.0
7.9
8.0
7.7
7.2
7.5
7.3
7.0
7.0
7.0
7.2
7.3
7.1
6.8
6.4
6.1
6.5
7.7
7.9
7.5
6.9
6.6
6.9
7.7
8.0
8.0
7.7
7.3
7.4
8.1
8.3
8.2




Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time2 seconds
R Server'Gwilym Jenkins' @ 72.249.127.135

\begin{tabular}{lllllllll}
\hline
Summary of computational transaction \tabularnewline
Raw Input & view raw input (R code)  \tabularnewline
Raw Output & view raw output of R engine  \tabularnewline
Computing time & 2 seconds \tabularnewline
R Server & 'Gwilym Jenkins' @ 72.249.127.135 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=63583&T=0

[TABLE]
[ROW][C]Summary of computational transaction[/C][/ROW]
[ROW][C]Raw Input[/C][C]view raw input (R code) [/C][/ROW]
[ROW][C]Raw Output[/C][C]view raw output of R engine [/C][/ROW]
[ROW][C]Computing time[/C][C]2 seconds[/C][/ROW]
[ROW][C]R Server[/C][C]'Gwilym Jenkins' @ 72.249.127.135[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=63583&T=0

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=63583&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 Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time2 seconds
R Server'Gwilym Jenkins' @ 72.249.127.135







Structural Time Series Model
tObservedLevelSlopeSeasonalStand. Residuals
17.17.1000
26.96.90727003089972-0.193330798072277-0.00727003089972077-0.704226735768314
36.86.78850306280179-0.1254920509469390.01149693719820980.252756347173876
47.57.445910837956520.5830435119152960.05408916204348312.52588990561095
57.67.64283226815070.234136871314490-0.0428322681506953-1.24908457651851
67.87.798317766381860.1630069204262510.00168223361814192-0.254542711717144
787.996040117205550.1944031610634870.00395988279444670.112354031319325
88.18.106747052270730.118713362298507-0.00674705227072498-0.270861433124373
98.28.200261034895640.0959246813346164-0.00026103489563794-0.0815509497598487
108.38.29933943425410.09877671400416890.000660565745904740.0102062058851642
118.28.21342016981819-0.0682513346322619-0.0134201698181885-0.597721993050808
1288.00650145456995-0.193653803787009-0.0065014545699481-0.44876183614508
137.97.89147459508063-0.1225955200728380.00852540491936850.254523475645755
147.67.59217121082318-0.2825369629461790.0078287891768185-0.577275216605326
157.67.641824169175160.00596598444299717-0.0418241691751611.04483237081638
168.38.166555258066360.4597823937954230.1334447419336411.62336816872578
178.48.459652197705580.314615543694299-0.0596521977055777-0.519354045982309
188.48.436127409441270.0198809399027283-0.0361274094412692-1.05486589780462
198.48.38716986626877-0.04013387062778770.0128301337312255-0.214765078397047
208.48.395760813502220.002343814893261670.004239186497784330.152009931540260
218.68.590818178772290.1703419207717620.009181821227711180.601193315489384
228.98.878516763115190.2726486136832210.02148323688481410.366112006440112
238.88.831832584746-0.00574093890677252-0.0318325847460061-0.99624165140994
248.38.36200481191443-0.410263807497274-0.0620048119144279-1.44762769201956
257.57.4932303197456-0.8097401699501170.00676968025439419-1.43130618328905
267.27.15511012989834-0.3983270058724720.04488987010166361.47498680004554
277.47.455831143138960.201888958538703-0.05583114313895862.15555527228033
288.88.580391196286020.9980894105562520.2196088037139782.85296047944670
299.39.355775717618050.806473459701432-0.0557757176180474-0.685193450912207
309.39.399366186745910.150037179689955-0.099366186745913-2.34951319211936
318.78.74806931594868-0.539751201203634-0.0480693159486781-2.46844625115379
328.28.19999718750983-0.5469139704648482.81249016968841e-06-0.025632464797672
338.38.25928087668654-0.02510968227789610.04071912331345591.86731544749477
348.58.45412535718340.1642243490658130.04587464281659900.677547023955088
358.68.601614115097250.149818621850856-0.00161411509725253-0.051552241481579
368.58.50057399688722-0.0660559400168866-0.00057399688721909-0.772568313369397
378.28.2246425368067-0.246655836751749-0.0246425368067008-0.647074252099913
388.18.09442967950603-0.1464468777309860.005570320493973730.358638820560745
397.98.09142844421346-0.0238997809579522-0.1914284442134590.439135973489429
408.68.374546918020180.239146391862270.2254530819798150.942689687612276
418.78.685847690929420.3008821467106180.01415230907057950.220765088877582
428.78.705697246243420.0605463043947875-0.00569724624342114-0.860125487706866
438.58.53430383931603-0.137888066608808-0.0343038393160259-0.71013274749021
448.48.46329550245308-0.0806649634861769-0.0632955024530750.204775138201458
458.58.483686987877870.005799140972799040.01631301212212900.309418719666709
468.78.652678415364390.1454260812981320.04732158463561030.499669444396183
478.78.688248651263320.05144021075955540.0117513487366797-0.336333862244121
488.68.579968496711-0.08516484685103070.0200315032890044-0.488923484234839
498.58.52374288160539-0.0604079103247379-0.02374288160538930.0886787778566803
508.38.31311180350983-0.188854972835606-0.0131118035098312-0.459524459102798
5188.22776220341937-0.100708917528796-0.2277622034193650.315642902356651
528.28.01447943356547-0.1967447561313820.185520566434526-0.344087289326769
538.18.03298858416205-0.01320149233080790.06701141583794630.656468788902478
548.18.062551056613350.02323684527146250.03744894338664470.130392330938489
5588.03970540050667-0.0160420623676027-0.0397054005066689-0.140570424063523
567.97.97802831168556-0.0549450064838047-0.0780283116855602-0.139215456420619
577.97.91615239554774-0.0608535176785578-0.0161523955477431-0.0211441138149328
5887.935451980602080.007474677018085950.06454801939792460.244520744789192
5987.965200681675080.02646019224692660.03479931832491600.0679404175326343
607.97.89872396132192-0.05273550784369370.00127603867807973-0.283469326265611
6187.986233490518950.06681216363730340.01376650948104530.428103429163364
627.77.75631952395923-0.185943521580317-0.0563195239592275-0.904194443637885
637.27.41481367387593-0.318120961263392-0.214813673875928-0.473185742016671
647.57.32354846566041-0.1251480998706720.1764515343395890.6912281262927
657.37.23829098133275-0.0912170449343760.06170901866725050.121381259628967
6676.97357700991644-0.2386883939937440.0264229900835601-0.527675275800038
6777.00535343574502-0.00874736864003431-0.005353435745017850.822912848967152
6877.06692774344010.051048683953149-0.06692774344009670.213983038118568
697.27.217768904319960.135906561874758-0.01776890431995470.303671323684131
707.37.250714200250480.04835683807814570.049285799749519-0.313307336039727
717.17.07611430569738-0.1411959115502970.0238856943026192-0.678325316143238
726.86.8441745721063-0.218330676964357-0.0441745721063067-0.276101577646014
736.46.3681186017649-0.4374719300729820.0318813982351018-0.784590556971931
746.16.10687663620297-0.287734886356914-0.006876636202966030.535674493546359
756.56.66952061297330.433565869984015-0.1695206129732992.58186942735932
767.77.490873663622270.7627527253243440.2091263363777331.17890596097675
777.97.836394801398020.4085167131604040.063605198601978-1.26737687852553
787.57.57333104585269-0.161303494489143-0.0733310458526862-2.03882164460811
796.96.96011983928894-0.544773139016027-0.060119839288939-1.37234651814663
806.66.66851579883087-0.329902993657074-0.06851579883087180.768927974988306
816.96.864719134688830.1166335350037330.03528086531116631.59796866010482
827.77.569286918977110.6156269839168920.1307130810228871.78570242190926
8387.981834958099320.443299261839280.0181650419006784-0.616691422072169
8488.013398969125460.0939464808181325-0.0133989691254577-1.25050214367421
857.77.69547686589742-0.2556097001249280.00452313410258257-1.25133186123122
867.37.43848397623087-0.256782819675197-0.138483976230873-0.00419692932001889
877.47.625319419925960.118993667319690-0.2253194199259611.34498147436459
888.17.854090506031190.2120374502520550.2459094939688110.333163348864071
898.38.134005948128430.2695822632922630.1659940518715690.205901647277511
908.28.19550387025570.09326823851490480.00449612974429121-0.630844684103213

\begin{tabular}{lllllllll}
\hline
Structural Time Series Model \tabularnewline
t & Observed & Level & Slope & Seasonal & Stand. Residuals \tabularnewline
1 & 7.1 & 7.1 & 0 & 0 & 0 \tabularnewline
2 & 6.9 & 6.90727003089972 & -0.193330798072277 & -0.00727003089972077 & -0.704226735768314 \tabularnewline
3 & 6.8 & 6.78850306280179 & -0.125492050946939 & 0.0114969371982098 & 0.252756347173876 \tabularnewline
4 & 7.5 & 7.44591083795652 & 0.583043511915296 & 0.0540891620434831 & 2.52588990561095 \tabularnewline
5 & 7.6 & 7.6428322681507 & 0.234136871314490 & -0.0428322681506953 & -1.24908457651851 \tabularnewline
6 & 7.8 & 7.79831776638186 & 0.163006920426251 & 0.00168223361814192 & -0.254542711717144 \tabularnewline
7 & 8 & 7.99604011720555 & 0.194403161063487 & 0.0039598827944467 & 0.112354031319325 \tabularnewline
8 & 8.1 & 8.10674705227073 & 0.118713362298507 & -0.00674705227072498 & -0.270861433124373 \tabularnewline
9 & 8.2 & 8.20026103489564 & 0.0959246813346164 & -0.00026103489563794 & -0.0815509497598487 \tabularnewline
10 & 8.3 & 8.2993394342541 & 0.0987767140041689 & 0.00066056574590474 & 0.0102062058851642 \tabularnewline
11 & 8.2 & 8.21342016981819 & -0.0682513346322619 & -0.0134201698181885 & -0.597721993050808 \tabularnewline
12 & 8 & 8.00650145456995 & -0.193653803787009 & -0.0065014545699481 & -0.44876183614508 \tabularnewline
13 & 7.9 & 7.89147459508063 & -0.122595520072838 & 0.0085254049193685 & 0.254523475645755 \tabularnewline
14 & 7.6 & 7.59217121082318 & -0.282536962946179 & 0.0078287891768185 & -0.577275216605326 \tabularnewline
15 & 7.6 & 7.64182416917516 & 0.00596598444299717 & -0.041824169175161 & 1.04483237081638 \tabularnewline
16 & 8.3 & 8.16655525806636 & 0.459782393795423 & 0.133444741933641 & 1.62336816872578 \tabularnewline
17 & 8.4 & 8.45965219770558 & 0.314615543694299 & -0.0596521977055777 & -0.519354045982309 \tabularnewline
18 & 8.4 & 8.43612740944127 & 0.0198809399027283 & -0.0361274094412692 & -1.05486589780462 \tabularnewline
19 & 8.4 & 8.38716986626877 & -0.0401338706277877 & 0.0128301337312255 & -0.214765078397047 \tabularnewline
20 & 8.4 & 8.39576081350222 & 0.00234381489326167 & 0.00423918649778433 & 0.152009931540260 \tabularnewline
21 & 8.6 & 8.59081817877229 & 0.170341920771762 & 0.00918182122771118 & 0.601193315489384 \tabularnewline
22 & 8.9 & 8.87851676311519 & 0.272648613683221 & 0.0214832368848141 & 0.366112006440112 \tabularnewline
23 & 8.8 & 8.831832584746 & -0.00574093890677252 & -0.0318325847460061 & -0.99624165140994 \tabularnewline
24 & 8.3 & 8.36200481191443 & -0.410263807497274 & -0.0620048119144279 & -1.44762769201956 \tabularnewline
25 & 7.5 & 7.4932303197456 & -0.809740169950117 & 0.00676968025439419 & -1.43130618328905 \tabularnewline
26 & 7.2 & 7.15511012989834 & -0.398327005872472 & 0.0448898701016636 & 1.47498680004554 \tabularnewline
27 & 7.4 & 7.45583114313896 & 0.201888958538703 & -0.0558311431389586 & 2.15555527228033 \tabularnewline
28 & 8.8 & 8.58039119628602 & 0.998089410556252 & 0.219608803713978 & 2.85296047944670 \tabularnewline
29 & 9.3 & 9.35577571761805 & 0.806473459701432 & -0.0557757176180474 & -0.685193450912207 \tabularnewline
30 & 9.3 & 9.39936618674591 & 0.150037179689955 & -0.099366186745913 & -2.34951319211936 \tabularnewline
31 & 8.7 & 8.74806931594868 & -0.539751201203634 & -0.0480693159486781 & -2.46844625115379 \tabularnewline
32 & 8.2 & 8.19999718750983 & -0.546913970464848 & 2.81249016968841e-06 & -0.025632464797672 \tabularnewline
33 & 8.3 & 8.25928087668654 & -0.0251096822778961 & 0.0407191233134559 & 1.86731544749477 \tabularnewline
34 & 8.5 & 8.4541253571834 & 0.164224349065813 & 0.0458746428165990 & 0.677547023955088 \tabularnewline
35 & 8.6 & 8.60161411509725 & 0.149818621850856 & -0.00161411509725253 & -0.051552241481579 \tabularnewline
36 & 8.5 & 8.50057399688722 & -0.0660559400168866 & -0.00057399688721909 & -0.772568313369397 \tabularnewline
37 & 8.2 & 8.2246425368067 & -0.246655836751749 & -0.0246425368067008 & -0.647074252099913 \tabularnewline
38 & 8.1 & 8.09442967950603 & -0.146446877730986 & 0.00557032049397373 & 0.358638820560745 \tabularnewline
39 & 7.9 & 8.09142844421346 & -0.0238997809579522 & -0.191428444213459 & 0.439135973489429 \tabularnewline
40 & 8.6 & 8.37454691802018 & 0.23914639186227 & 0.225453081979815 & 0.942689687612276 \tabularnewline
41 & 8.7 & 8.68584769092942 & 0.300882146710618 & 0.0141523090705795 & 0.220765088877582 \tabularnewline
42 & 8.7 & 8.70569724624342 & 0.0605463043947875 & -0.00569724624342114 & -0.860125487706866 \tabularnewline
43 & 8.5 & 8.53430383931603 & -0.137888066608808 & -0.0343038393160259 & -0.71013274749021 \tabularnewline
44 & 8.4 & 8.46329550245308 & -0.0806649634861769 & -0.063295502453075 & 0.204775138201458 \tabularnewline
45 & 8.5 & 8.48368698787787 & 0.00579914097279904 & 0.0163130121221290 & 0.309418719666709 \tabularnewline
46 & 8.7 & 8.65267841536439 & 0.145426081298132 & 0.0473215846356103 & 0.499669444396183 \tabularnewline
47 & 8.7 & 8.68824865126332 & 0.0514402107595554 & 0.0117513487366797 & -0.336333862244121 \tabularnewline
48 & 8.6 & 8.579968496711 & -0.0851648468510307 & 0.0200315032890044 & -0.488923484234839 \tabularnewline
49 & 8.5 & 8.52374288160539 & -0.0604079103247379 & -0.0237428816053893 & 0.0886787778566803 \tabularnewline
50 & 8.3 & 8.31311180350983 & -0.188854972835606 & -0.0131118035098312 & -0.459524459102798 \tabularnewline
51 & 8 & 8.22776220341937 & -0.100708917528796 & -0.227762203419365 & 0.315642902356651 \tabularnewline
52 & 8.2 & 8.01447943356547 & -0.196744756131382 & 0.185520566434526 & -0.344087289326769 \tabularnewline
53 & 8.1 & 8.03298858416205 & -0.0132014923308079 & 0.0670114158379463 & 0.656468788902478 \tabularnewline
54 & 8.1 & 8.06255105661335 & 0.0232368452714625 & 0.0374489433866447 & 0.130392330938489 \tabularnewline
55 & 8 & 8.03970540050667 & -0.0160420623676027 & -0.0397054005066689 & -0.140570424063523 \tabularnewline
56 & 7.9 & 7.97802831168556 & -0.0549450064838047 & -0.0780283116855602 & -0.139215456420619 \tabularnewline
57 & 7.9 & 7.91615239554774 & -0.0608535176785578 & -0.0161523955477431 & -0.0211441138149328 \tabularnewline
58 & 8 & 7.93545198060208 & 0.00747467701808595 & 0.0645480193979246 & 0.244520744789192 \tabularnewline
59 & 8 & 7.96520068167508 & 0.0264601922469266 & 0.0347993183249160 & 0.0679404175326343 \tabularnewline
60 & 7.9 & 7.89872396132192 & -0.0527355078436937 & 0.00127603867807973 & -0.283469326265611 \tabularnewline
61 & 8 & 7.98623349051895 & 0.0668121636373034 & 0.0137665094810453 & 0.428103429163364 \tabularnewline
62 & 7.7 & 7.75631952395923 & -0.185943521580317 & -0.0563195239592275 & -0.904194443637885 \tabularnewline
63 & 7.2 & 7.41481367387593 & -0.318120961263392 & -0.214813673875928 & -0.473185742016671 \tabularnewline
64 & 7.5 & 7.32354846566041 & -0.125148099870672 & 0.176451534339589 & 0.6912281262927 \tabularnewline
65 & 7.3 & 7.23829098133275 & -0.091217044934376 & 0.0617090186672505 & 0.121381259628967 \tabularnewline
66 & 7 & 6.97357700991644 & -0.238688393993744 & 0.0264229900835601 & -0.527675275800038 \tabularnewline
67 & 7 & 7.00535343574502 & -0.00874736864003431 & -0.00535343574501785 & 0.822912848967152 \tabularnewline
68 & 7 & 7.0669277434401 & 0.051048683953149 & -0.0669277434400967 & 0.213983038118568 \tabularnewline
69 & 7.2 & 7.21776890431996 & 0.135906561874758 & -0.0177689043199547 & 0.303671323684131 \tabularnewline
70 & 7.3 & 7.25071420025048 & 0.0483568380781457 & 0.049285799749519 & -0.313307336039727 \tabularnewline
71 & 7.1 & 7.07611430569738 & -0.141195911550297 & 0.0238856943026192 & -0.678325316143238 \tabularnewline
72 & 6.8 & 6.8441745721063 & -0.218330676964357 & -0.0441745721063067 & -0.276101577646014 \tabularnewline
73 & 6.4 & 6.3681186017649 & -0.437471930072982 & 0.0318813982351018 & -0.784590556971931 \tabularnewline
74 & 6.1 & 6.10687663620297 & -0.287734886356914 & -0.00687663620296603 & 0.535674493546359 \tabularnewline
75 & 6.5 & 6.6695206129733 & 0.433565869984015 & -0.169520612973299 & 2.58186942735932 \tabularnewline
76 & 7.7 & 7.49087366362227 & 0.762752725324344 & 0.209126336377733 & 1.17890596097675 \tabularnewline
77 & 7.9 & 7.83639480139802 & 0.408516713160404 & 0.063605198601978 & -1.26737687852553 \tabularnewline
78 & 7.5 & 7.57333104585269 & -0.161303494489143 & -0.0733310458526862 & -2.03882164460811 \tabularnewline
79 & 6.9 & 6.96011983928894 & -0.544773139016027 & -0.060119839288939 & -1.37234651814663 \tabularnewline
80 & 6.6 & 6.66851579883087 & -0.329902993657074 & -0.0685157988308718 & 0.768927974988306 \tabularnewline
81 & 6.9 & 6.86471913468883 & 0.116633535003733 & 0.0352808653111663 & 1.59796866010482 \tabularnewline
82 & 7.7 & 7.56928691897711 & 0.615626983916892 & 0.130713081022887 & 1.78570242190926 \tabularnewline
83 & 8 & 7.98183495809932 & 0.44329926183928 & 0.0181650419006784 & -0.616691422072169 \tabularnewline
84 & 8 & 8.01339896912546 & 0.0939464808181325 & -0.0133989691254577 & -1.25050214367421 \tabularnewline
85 & 7.7 & 7.69547686589742 & -0.255609700124928 & 0.00452313410258257 & -1.25133186123122 \tabularnewline
86 & 7.3 & 7.43848397623087 & -0.256782819675197 & -0.138483976230873 & -0.00419692932001889 \tabularnewline
87 & 7.4 & 7.62531941992596 & 0.118993667319690 & -0.225319419925961 & 1.34498147436459 \tabularnewline
88 & 8.1 & 7.85409050603119 & 0.212037450252055 & 0.245909493968811 & 0.333163348864071 \tabularnewline
89 & 8.3 & 8.13400594812843 & 0.269582263292263 & 0.165994051871569 & 0.205901647277511 \tabularnewline
90 & 8.2 & 8.1955038702557 & 0.0932682385149048 & 0.00449612974429121 & -0.630844684103213 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=63583&T=1

[TABLE]
[ROW][C]Structural Time Series Model[/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]7.1[/C][C]7.1[/C][C]0[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]2[/C][C]6.9[/C][C]6.90727003089972[/C][C]-0.193330798072277[/C][C]-0.00727003089972077[/C][C]-0.704226735768314[/C][/ROW]
[ROW][C]3[/C][C]6.8[/C][C]6.78850306280179[/C][C]-0.125492050946939[/C][C]0.0114969371982098[/C][C]0.252756347173876[/C][/ROW]
[ROW][C]4[/C][C]7.5[/C][C]7.44591083795652[/C][C]0.583043511915296[/C][C]0.0540891620434831[/C][C]2.52588990561095[/C][/ROW]
[ROW][C]5[/C][C]7.6[/C][C]7.6428322681507[/C][C]0.234136871314490[/C][C]-0.0428322681506953[/C][C]-1.24908457651851[/C][/ROW]
[ROW][C]6[/C][C]7.8[/C][C]7.79831776638186[/C][C]0.163006920426251[/C][C]0.00168223361814192[/C][C]-0.254542711717144[/C][/ROW]
[ROW][C]7[/C][C]8[/C][C]7.99604011720555[/C][C]0.194403161063487[/C][C]0.0039598827944467[/C][C]0.112354031319325[/C][/ROW]
[ROW][C]8[/C][C]8.1[/C][C]8.10674705227073[/C][C]0.118713362298507[/C][C]-0.00674705227072498[/C][C]-0.270861433124373[/C][/ROW]
[ROW][C]9[/C][C]8.2[/C][C]8.20026103489564[/C][C]0.0959246813346164[/C][C]-0.00026103489563794[/C][C]-0.0815509497598487[/C][/ROW]
[ROW][C]10[/C][C]8.3[/C][C]8.2993394342541[/C][C]0.0987767140041689[/C][C]0.00066056574590474[/C][C]0.0102062058851642[/C][/ROW]
[ROW][C]11[/C][C]8.2[/C][C]8.21342016981819[/C][C]-0.0682513346322619[/C][C]-0.0134201698181885[/C][C]-0.597721993050808[/C][/ROW]
[ROW][C]12[/C][C]8[/C][C]8.00650145456995[/C][C]-0.193653803787009[/C][C]-0.0065014545699481[/C][C]-0.44876183614508[/C][/ROW]
[ROW][C]13[/C][C]7.9[/C][C]7.89147459508063[/C][C]-0.122595520072838[/C][C]0.0085254049193685[/C][C]0.254523475645755[/C][/ROW]
[ROW][C]14[/C][C]7.6[/C][C]7.59217121082318[/C][C]-0.282536962946179[/C][C]0.0078287891768185[/C][C]-0.577275216605326[/C][/ROW]
[ROW][C]15[/C][C]7.6[/C][C]7.64182416917516[/C][C]0.00596598444299717[/C][C]-0.041824169175161[/C][C]1.04483237081638[/C][/ROW]
[ROW][C]16[/C][C]8.3[/C][C]8.16655525806636[/C][C]0.459782393795423[/C][C]0.133444741933641[/C][C]1.62336816872578[/C][/ROW]
[ROW][C]17[/C][C]8.4[/C][C]8.45965219770558[/C][C]0.314615543694299[/C][C]-0.0596521977055777[/C][C]-0.519354045982309[/C][/ROW]
[ROW][C]18[/C][C]8.4[/C][C]8.43612740944127[/C][C]0.0198809399027283[/C][C]-0.0361274094412692[/C][C]-1.05486589780462[/C][/ROW]
[ROW][C]19[/C][C]8.4[/C][C]8.38716986626877[/C][C]-0.0401338706277877[/C][C]0.0128301337312255[/C][C]-0.214765078397047[/C][/ROW]
[ROW][C]20[/C][C]8.4[/C][C]8.39576081350222[/C][C]0.00234381489326167[/C][C]0.00423918649778433[/C][C]0.152009931540260[/C][/ROW]
[ROW][C]21[/C][C]8.6[/C][C]8.59081817877229[/C][C]0.170341920771762[/C][C]0.00918182122771118[/C][C]0.601193315489384[/C][/ROW]
[ROW][C]22[/C][C]8.9[/C][C]8.87851676311519[/C][C]0.272648613683221[/C][C]0.0214832368848141[/C][C]0.366112006440112[/C][/ROW]
[ROW][C]23[/C][C]8.8[/C][C]8.831832584746[/C][C]-0.00574093890677252[/C][C]-0.0318325847460061[/C][C]-0.99624165140994[/C][/ROW]
[ROW][C]24[/C][C]8.3[/C][C]8.36200481191443[/C][C]-0.410263807497274[/C][C]-0.0620048119144279[/C][C]-1.44762769201956[/C][/ROW]
[ROW][C]25[/C][C]7.5[/C][C]7.4932303197456[/C][C]-0.809740169950117[/C][C]0.00676968025439419[/C][C]-1.43130618328905[/C][/ROW]
[ROW][C]26[/C][C]7.2[/C][C]7.15511012989834[/C][C]-0.398327005872472[/C][C]0.0448898701016636[/C][C]1.47498680004554[/C][/ROW]
[ROW][C]27[/C][C]7.4[/C][C]7.45583114313896[/C][C]0.201888958538703[/C][C]-0.0558311431389586[/C][C]2.15555527228033[/C][/ROW]
[ROW][C]28[/C][C]8.8[/C][C]8.58039119628602[/C][C]0.998089410556252[/C][C]0.219608803713978[/C][C]2.85296047944670[/C][/ROW]
[ROW][C]29[/C][C]9.3[/C][C]9.35577571761805[/C][C]0.806473459701432[/C][C]-0.0557757176180474[/C][C]-0.685193450912207[/C][/ROW]
[ROW][C]30[/C][C]9.3[/C][C]9.39936618674591[/C][C]0.150037179689955[/C][C]-0.099366186745913[/C][C]-2.34951319211936[/C][/ROW]
[ROW][C]31[/C][C]8.7[/C][C]8.74806931594868[/C][C]-0.539751201203634[/C][C]-0.0480693159486781[/C][C]-2.46844625115379[/C][/ROW]
[ROW][C]32[/C][C]8.2[/C][C]8.19999718750983[/C][C]-0.546913970464848[/C][C]2.81249016968841e-06[/C][C]-0.025632464797672[/C][/ROW]
[ROW][C]33[/C][C]8.3[/C][C]8.25928087668654[/C][C]-0.0251096822778961[/C][C]0.0407191233134559[/C][C]1.86731544749477[/C][/ROW]
[ROW][C]34[/C][C]8.5[/C][C]8.4541253571834[/C][C]0.164224349065813[/C][C]0.0458746428165990[/C][C]0.677547023955088[/C][/ROW]
[ROW][C]35[/C][C]8.6[/C][C]8.60161411509725[/C][C]0.149818621850856[/C][C]-0.00161411509725253[/C][C]-0.051552241481579[/C][/ROW]
[ROW][C]36[/C][C]8.5[/C][C]8.50057399688722[/C][C]-0.0660559400168866[/C][C]-0.00057399688721909[/C][C]-0.772568313369397[/C][/ROW]
[ROW][C]37[/C][C]8.2[/C][C]8.2246425368067[/C][C]-0.246655836751749[/C][C]-0.0246425368067008[/C][C]-0.647074252099913[/C][/ROW]
[ROW][C]38[/C][C]8.1[/C][C]8.09442967950603[/C][C]-0.146446877730986[/C][C]0.00557032049397373[/C][C]0.358638820560745[/C][/ROW]
[ROW][C]39[/C][C]7.9[/C][C]8.09142844421346[/C][C]-0.0238997809579522[/C][C]-0.191428444213459[/C][C]0.439135973489429[/C][/ROW]
[ROW][C]40[/C][C]8.6[/C][C]8.37454691802018[/C][C]0.23914639186227[/C][C]0.225453081979815[/C][C]0.942689687612276[/C][/ROW]
[ROW][C]41[/C][C]8.7[/C][C]8.68584769092942[/C][C]0.300882146710618[/C][C]0.0141523090705795[/C][C]0.220765088877582[/C][/ROW]
[ROW][C]42[/C][C]8.7[/C][C]8.70569724624342[/C][C]0.0605463043947875[/C][C]-0.00569724624342114[/C][C]-0.860125487706866[/C][/ROW]
[ROW][C]43[/C][C]8.5[/C][C]8.53430383931603[/C][C]-0.137888066608808[/C][C]-0.0343038393160259[/C][C]-0.71013274749021[/C][/ROW]
[ROW][C]44[/C][C]8.4[/C][C]8.46329550245308[/C][C]-0.0806649634861769[/C][C]-0.063295502453075[/C][C]0.204775138201458[/C][/ROW]
[ROW][C]45[/C][C]8.5[/C][C]8.48368698787787[/C][C]0.00579914097279904[/C][C]0.0163130121221290[/C][C]0.309418719666709[/C][/ROW]
[ROW][C]46[/C][C]8.7[/C][C]8.65267841536439[/C][C]0.145426081298132[/C][C]0.0473215846356103[/C][C]0.499669444396183[/C][/ROW]
[ROW][C]47[/C][C]8.7[/C][C]8.68824865126332[/C][C]0.0514402107595554[/C][C]0.0117513487366797[/C][C]-0.336333862244121[/C][/ROW]
[ROW][C]48[/C][C]8.6[/C][C]8.579968496711[/C][C]-0.0851648468510307[/C][C]0.0200315032890044[/C][C]-0.488923484234839[/C][/ROW]
[ROW][C]49[/C][C]8.5[/C][C]8.52374288160539[/C][C]-0.0604079103247379[/C][C]-0.0237428816053893[/C][C]0.0886787778566803[/C][/ROW]
[ROW][C]50[/C][C]8.3[/C][C]8.31311180350983[/C][C]-0.188854972835606[/C][C]-0.0131118035098312[/C][C]-0.459524459102798[/C][/ROW]
[ROW][C]51[/C][C]8[/C][C]8.22776220341937[/C][C]-0.100708917528796[/C][C]-0.227762203419365[/C][C]0.315642902356651[/C][/ROW]
[ROW][C]52[/C][C]8.2[/C][C]8.01447943356547[/C][C]-0.196744756131382[/C][C]0.185520566434526[/C][C]-0.344087289326769[/C][/ROW]
[ROW][C]53[/C][C]8.1[/C][C]8.03298858416205[/C][C]-0.0132014923308079[/C][C]0.0670114158379463[/C][C]0.656468788902478[/C][/ROW]
[ROW][C]54[/C][C]8.1[/C][C]8.06255105661335[/C][C]0.0232368452714625[/C][C]0.0374489433866447[/C][C]0.130392330938489[/C][/ROW]
[ROW][C]55[/C][C]8[/C][C]8.03970540050667[/C][C]-0.0160420623676027[/C][C]-0.0397054005066689[/C][C]-0.140570424063523[/C][/ROW]
[ROW][C]56[/C][C]7.9[/C][C]7.97802831168556[/C][C]-0.0549450064838047[/C][C]-0.0780283116855602[/C][C]-0.139215456420619[/C][/ROW]
[ROW][C]57[/C][C]7.9[/C][C]7.91615239554774[/C][C]-0.0608535176785578[/C][C]-0.0161523955477431[/C][C]-0.0211441138149328[/C][/ROW]
[ROW][C]58[/C][C]8[/C][C]7.93545198060208[/C][C]0.00747467701808595[/C][C]0.0645480193979246[/C][C]0.244520744789192[/C][/ROW]
[ROW][C]59[/C][C]8[/C][C]7.96520068167508[/C][C]0.0264601922469266[/C][C]0.0347993183249160[/C][C]0.0679404175326343[/C][/ROW]
[ROW][C]60[/C][C]7.9[/C][C]7.89872396132192[/C][C]-0.0527355078436937[/C][C]0.00127603867807973[/C][C]-0.283469326265611[/C][/ROW]
[ROW][C]61[/C][C]8[/C][C]7.98623349051895[/C][C]0.0668121636373034[/C][C]0.0137665094810453[/C][C]0.428103429163364[/C][/ROW]
[ROW][C]62[/C][C]7.7[/C][C]7.75631952395923[/C][C]-0.185943521580317[/C][C]-0.0563195239592275[/C][C]-0.904194443637885[/C][/ROW]
[ROW][C]63[/C][C]7.2[/C][C]7.41481367387593[/C][C]-0.318120961263392[/C][C]-0.214813673875928[/C][C]-0.473185742016671[/C][/ROW]
[ROW][C]64[/C][C]7.5[/C][C]7.32354846566041[/C][C]-0.125148099870672[/C][C]0.176451534339589[/C][C]0.6912281262927[/C][/ROW]
[ROW][C]65[/C][C]7.3[/C][C]7.23829098133275[/C][C]-0.091217044934376[/C][C]0.0617090186672505[/C][C]0.121381259628967[/C][/ROW]
[ROW][C]66[/C][C]7[/C][C]6.97357700991644[/C][C]-0.238688393993744[/C][C]0.0264229900835601[/C][C]-0.527675275800038[/C][/ROW]
[ROW][C]67[/C][C]7[/C][C]7.00535343574502[/C][C]-0.00874736864003431[/C][C]-0.00535343574501785[/C][C]0.822912848967152[/C][/ROW]
[ROW][C]68[/C][C]7[/C][C]7.0669277434401[/C][C]0.051048683953149[/C][C]-0.0669277434400967[/C][C]0.213983038118568[/C][/ROW]
[ROW][C]69[/C][C]7.2[/C][C]7.21776890431996[/C][C]0.135906561874758[/C][C]-0.0177689043199547[/C][C]0.303671323684131[/C][/ROW]
[ROW][C]70[/C][C]7.3[/C][C]7.25071420025048[/C][C]0.0483568380781457[/C][C]0.049285799749519[/C][C]-0.313307336039727[/C][/ROW]
[ROW][C]71[/C][C]7.1[/C][C]7.07611430569738[/C][C]-0.141195911550297[/C][C]0.0238856943026192[/C][C]-0.678325316143238[/C][/ROW]
[ROW][C]72[/C][C]6.8[/C][C]6.8441745721063[/C][C]-0.218330676964357[/C][C]-0.0441745721063067[/C][C]-0.276101577646014[/C][/ROW]
[ROW][C]73[/C][C]6.4[/C][C]6.3681186017649[/C][C]-0.437471930072982[/C][C]0.0318813982351018[/C][C]-0.784590556971931[/C][/ROW]
[ROW][C]74[/C][C]6.1[/C][C]6.10687663620297[/C][C]-0.287734886356914[/C][C]-0.00687663620296603[/C][C]0.535674493546359[/C][/ROW]
[ROW][C]75[/C][C]6.5[/C][C]6.6695206129733[/C][C]0.433565869984015[/C][C]-0.169520612973299[/C][C]2.58186942735932[/C][/ROW]
[ROW][C]76[/C][C]7.7[/C][C]7.49087366362227[/C][C]0.762752725324344[/C][C]0.209126336377733[/C][C]1.17890596097675[/C][/ROW]
[ROW][C]77[/C][C]7.9[/C][C]7.83639480139802[/C][C]0.408516713160404[/C][C]0.063605198601978[/C][C]-1.26737687852553[/C][/ROW]
[ROW][C]78[/C][C]7.5[/C][C]7.57333104585269[/C][C]-0.161303494489143[/C][C]-0.0733310458526862[/C][C]-2.03882164460811[/C][/ROW]
[ROW][C]79[/C][C]6.9[/C][C]6.96011983928894[/C][C]-0.544773139016027[/C][C]-0.060119839288939[/C][C]-1.37234651814663[/C][/ROW]
[ROW][C]80[/C][C]6.6[/C][C]6.66851579883087[/C][C]-0.329902993657074[/C][C]-0.0685157988308718[/C][C]0.768927974988306[/C][/ROW]
[ROW][C]81[/C][C]6.9[/C][C]6.86471913468883[/C][C]0.116633535003733[/C][C]0.0352808653111663[/C][C]1.59796866010482[/C][/ROW]
[ROW][C]82[/C][C]7.7[/C][C]7.56928691897711[/C][C]0.615626983916892[/C][C]0.130713081022887[/C][C]1.78570242190926[/C][/ROW]
[ROW][C]83[/C][C]8[/C][C]7.98183495809932[/C][C]0.44329926183928[/C][C]0.0181650419006784[/C][C]-0.616691422072169[/C][/ROW]
[ROW][C]84[/C][C]8[/C][C]8.01339896912546[/C][C]0.0939464808181325[/C][C]-0.0133989691254577[/C][C]-1.25050214367421[/C][/ROW]
[ROW][C]85[/C][C]7.7[/C][C]7.69547686589742[/C][C]-0.255609700124928[/C][C]0.00452313410258257[/C][C]-1.25133186123122[/C][/ROW]
[ROW][C]86[/C][C]7.3[/C][C]7.43848397623087[/C][C]-0.256782819675197[/C][C]-0.138483976230873[/C][C]-0.00419692932001889[/C][/ROW]
[ROW][C]87[/C][C]7.4[/C][C]7.62531941992596[/C][C]0.118993667319690[/C][C]-0.225319419925961[/C][C]1.34498147436459[/C][/ROW]
[ROW][C]88[/C][C]8.1[/C][C]7.85409050603119[/C][C]0.212037450252055[/C][C]0.245909493968811[/C][C]0.333163348864071[/C][/ROW]
[ROW][C]89[/C][C]8.3[/C][C]8.13400594812843[/C][C]0.269582263292263[/C][C]0.165994051871569[/C][C]0.205901647277511[/C][/ROW]
[ROW][C]90[/C][C]8.2[/C][C]8.1955038702557[/C][C]0.0932682385149048[/C][C]0.00449612974429121[/C][C]-0.630844684103213[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=63583&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=63583&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
tObservedLevelSlopeSeasonalStand. Residuals
17.17.1000
26.96.90727003089972-0.193330798072277-0.00727003089972077-0.704226735768314
36.86.78850306280179-0.1254920509469390.01149693719820980.252756347173876
47.57.445910837956520.5830435119152960.05408916204348312.52588990561095
57.67.64283226815070.234136871314490-0.0428322681506953-1.24908457651851
67.87.798317766381860.1630069204262510.00168223361814192-0.254542711717144
787.996040117205550.1944031610634870.00395988279444670.112354031319325
88.18.106747052270730.118713362298507-0.00674705227072498-0.270861433124373
98.28.200261034895640.0959246813346164-0.00026103489563794-0.0815509497598487
108.38.29933943425410.09877671400416890.000660565745904740.0102062058851642
118.28.21342016981819-0.0682513346322619-0.0134201698181885-0.597721993050808
1288.00650145456995-0.193653803787009-0.0065014545699481-0.44876183614508
137.97.89147459508063-0.1225955200728380.00852540491936850.254523475645755
147.67.59217121082318-0.2825369629461790.0078287891768185-0.577275216605326
157.67.641824169175160.00596598444299717-0.0418241691751611.04483237081638
168.38.166555258066360.4597823937954230.1334447419336411.62336816872578
178.48.459652197705580.314615543694299-0.0596521977055777-0.519354045982309
188.48.436127409441270.0198809399027283-0.0361274094412692-1.05486589780462
198.48.38716986626877-0.04013387062778770.0128301337312255-0.214765078397047
208.48.395760813502220.002343814893261670.004239186497784330.152009931540260
218.68.590818178772290.1703419207717620.009181821227711180.601193315489384
228.98.878516763115190.2726486136832210.02148323688481410.366112006440112
238.88.831832584746-0.00574093890677252-0.0318325847460061-0.99624165140994
248.38.36200481191443-0.410263807497274-0.0620048119144279-1.44762769201956
257.57.4932303197456-0.8097401699501170.00676968025439419-1.43130618328905
267.27.15511012989834-0.3983270058724720.04488987010166361.47498680004554
277.47.455831143138960.201888958538703-0.05583114313895862.15555527228033
288.88.580391196286020.9980894105562520.2196088037139782.85296047944670
299.39.355775717618050.806473459701432-0.0557757176180474-0.685193450912207
309.39.399366186745910.150037179689955-0.099366186745913-2.34951319211936
318.78.74806931594868-0.539751201203634-0.0480693159486781-2.46844625115379
328.28.19999718750983-0.5469139704648482.81249016968841e-06-0.025632464797672
338.38.25928087668654-0.02510968227789610.04071912331345591.86731544749477
348.58.45412535718340.1642243490658130.04587464281659900.677547023955088
358.68.601614115097250.149818621850856-0.00161411509725253-0.051552241481579
368.58.50057399688722-0.0660559400168866-0.00057399688721909-0.772568313369397
378.28.2246425368067-0.246655836751749-0.0246425368067008-0.647074252099913
388.18.09442967950603-0.1464468777309860.005570320493973730.358638820560745
397.98.09142844421346-0.0238997809579522-0.1914284442134590.439135973489429
408.68.374546918020180.239146391862270.2254530819798150.942689687612276
418.78.685847690929420.3008821467106180.01415230907057950.220765088877582
428.78.705697246243420.0605463043947875-0.00569724624342114-0.860125487706866
438.58.53430383931603-0.137888066608808-0.0343038393160259-0.71013274749021
448.48.46329550245308-0.0806649634861769-0.0632955024530750.204775138201458
458.58.483686987877870.005799140972799040.01631301212212900.309418719666709
468.78.652678415364390.1454260812981320.04732158463561030.499669444396183
478.78.688248651263320.05144021075955540.0117513487366797-0.336333862244121
488.68.579968496711-0.08516484685103070.0200315032890044-0.488923484234839
498.58.52374288160539-0.0604079103247379-0.02374288160538930.0886787778566803
508.38.31311180350983-0.188854972835606-0.0131118035098312-0.459524459102798
5188.22776220341937-0.100708917528796-0.2277622034193650.315642902356651
528.28.01447943356547-0.1967447561313820.185520566434526-0.344087289326769
538.18.03298858416205-0.01320149233080790.06701141583794630.656468788902478
548.18.062551056613350.02323684527146250.03744894338664470.130392330938489
5588.03970540050667-0.0160420623676027-0.0397054005066689-0.140570424063523
567.97.97802831168556-0.0549450064838047-0.0780283116855602-0.139215456420619
577.97.91615239554774-0.0608535176785578-0.0161523955477431-0.0211441138149328
5887.935451980602080.007474677018085950.06454801939792460.244520744789192
5987.965200681675080.02646019224692660.03479931832491600.0679404175326343
607.97.89872396132192-0.05273550784369370.00127603867807973-0.283469326265611
6187.986233490518950.06681216363730340.01376650948104530.428103429163364
627.77.75631952395923-0.185943521580317-0.0563195239592275-0.904194443637885
637.27.41481367387593-0.318120961263392-0.214813673875928-0.473185742016671
647.57.32354846566041-0.1251480998706720.1764515343395890.6912281262927
657.37.23829098133275-0.0912170449343760.06170901866725050.121381259628967
6676.97357700991644-0.2386883939937440.0264229900835601-0.527675275800038
6777.00535343574502-0.00874736864003431-0.005353435745017850.822912848967152
6877.06692774344010.051048683953149-0.06692774344009670.213983038118568
697.27.217768904319960.135906561874758-0.01776890431995470.303671323684131
707.37.250714200250480.04835683807814570.049285799749519-0.313307336039727
717.17.07611430569738-0.1411959115502970.0238856943026192-0.678325316143238
726.86.8441745721063-0.218330676964357-0.0441745721063067-0.276101577646014
736.46.3681186017649-0.4374719300729820.0318813982351018-0.784590556971931
746.16.10687663620297-0.287734886356914-0.006876636202966030.535674493546359
756.56.66952061297330.433565869984015-0.1695206129732992.58186942735932
767.77.490873663622270.7627527253243440.2091263363777331.17890596097675
777.97.836394801398020.4085167131604040.063605198601978-1.26737687852553
787.57.57333104585269-0.161303494489143-0.0733310458526862-2.03882164460811
796.96.96011983928894-0.544773139016027-0.060119839288939-1.37234651814663
806.66.66851579883087-0.329902993657074-0.06851579883087180.768927974988306
816.96.864719134688830.1166335350037330.03528086531116631.59796866010482
827.77.569286918977110.6156269839168920.1307130810228871.78570242190926
8387.981834958099320.443299261839280.0181650419006784-0.616691422072169
8488.013398969125460.0939464808181325-0.0133989691254577-1.25050214367421
857.77.69547686589742-0.2556097001249280.00452313410258257-1.25133186123122
867.37.43848397623087-0.256782819675197-0.138483976230873-0.00419692932001889
877.47.625319419925960.118993667319690-0.2253194199259611.34498147436459
888.17.854090506031190.2120374502520550.2459094939688110.333163348864071
898.38.134005948128430.2695822632922630.1659940518715690.205901647277511
908.28.19550387025570.09326823851490480.00449612974429121-0.630844684103213



Parameters (Session):
par1 = 0.01 ; par2 = 0.99 ; par3 = 0.005 ;
Parameters (R input):
par1 = 12 ;
R code (references can be found in the software module):
par1 <- as.numeric(par1)
nx <- length(x)
x <- ts(x,frequency=par1)
m <- StructTS(x,type='BSM')
m$coef
m$fitted
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
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()
load(file='createtable')
a<-table.start()
a<-table.row.start(a)
a<-table.element(a,'Structural Time Series Model',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')