Home » date » 2010 » Dec » 26 »

paper STSM

*The author of this computation has been verified*
R Software Module: /rwasp_structuraltimeseries.wasp (opens new window with default values)
Title produced by software: Structural Time Series Models
Date of computation: Sun, 26 Dec 2010 20:45:45 +0000
 
Cite this page as follows:
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL http://www.freestatistics.org/blog/date/2010/Dec/26/t1293399456adtkwrwsoz5caw9.htm/, Retrieved Sun, 26 Dec 2010 22:37:44 +0100
 
BibTeX entries for LaTeX users:
@Manual{KEY,
    author = {{YOUR NAME}},
    publisher = {Office for Research Development and Education},
    title = {Statistical Computations at FreeStatistics.org, URL http://www.freestatistics.org/blog/date/2010/Dec/26/t1293399456adtkwrwsoz5caw9.htm/},
    year = {2010},
}
@Manual{R,
    title = {R: A Language and Environment for Statistical Computing},
    author = {{R Development Core Team}},
    organization = {R Foundation for Statistical Computing},
    address = {Vienna, Austria},
    year = {2010},
    note = {{ISBN} 3-900051-07-0},
    url = {http://www.R-project.org},
}
 
Original text written by user:
 
IsPrivate?
No (this computation is public)
 
User-defined keywords:
 
Dataseries X:
» Textbox « » Textfile « » CSV «
5,2 7,9 8,7 8,9 15,3 15,4 18,1 19,7 13 12,6 6,2 3,5 3,4 0 9,5 8,9 10,4 13,2 18,9 19 16,3 10,6 5,8 3,6 2,6 5 7,3 9,2 15,7 16,8 18,4 18,1 14,6 7,8 7,6 3,8 5,6 2,2 6,8 11,8 14,9 16,7 16,7 15,9 13,6 9,2 2,8 2,5 4,8 2,8 7,8 9 12,9 16,4 21,8 17,8 13,5 10 10,4 5,5 4 6,8 5,7 9,1 13,6 15 20,9 20,4 14 13,7 7,1 0,8 2,1 1,3 3,9 10,7 11,1 16,4 17,1 17,3 12,9 10,9 5,3 0,7 -0,2 6,5 8,6 8,5 13,3 16,2 17,5 21,2 14,8 10,3 7,3 5,1 4,4 6,2 7,7 9,3 15,6 16,3 16,6 17,4 15,3 9,7 3,7 4,6 5,4 3,1 7,9 10,1 15 15,6 19,7 18,1 17,7 10,7 6,2 4,2 4 5,9 7,1 10,5 15,1 16,8 15,3 18,4 16,1 11,3 7,9 5,6 3,4 4,8 6,5 8,5 15,1 15,7 18,7 19,2 12,9 14,4 6,2 3,3 4,6 7,2 7,8 9,9 13,6 17,1 17,8 18,6 14,7 10,5 8,6 4,4 2,3 2,8 8,8 10,7 13,9 19,3 19,5 20,4 15,3 7,9 8,3 4,5 3,2 5 6,6 11,1 12,8 16,3 17,4 18,9 15,8 11,7 6,4 2,9 4,7 2,4 7,2 10,7 13,4 18,5 18,3 16,8 16,6 14, etc...
 
Output produced by software:


Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time10 seconds
R Server'George Udny Yule' @ 72.249.76.132


Structural Time Series Model
tObservedLevelSlopeSeasonalStand. Residuals
15.25.2000
27.96.993912842499250.07119884634900060.9060871575007520.872321117172038
38.78.257528332518980.1394242818918420.4424716674810160.607021020776165
48.98.751811428520630.1538351565671310.1481885714793760.221387044607060
515.312.10677075001800.2301276481628623.193229249982022.09997531546472
615.414.43692699605060.2639962872045150.9630730039494261.38408008450448
718.116.74085393497540.2936232719320941.359146065024571.34262529707823
819.718.68192421921840.3187749770645641.018075780781641.08234842091195
91316.16018707234300.272259602839774-3.16018707234296-1.8634331525741
1012.613.75840926882890.226157135535431-1.15840926882892-1.75242697675590
116.29.35408963864380.143494723953962-3.1540896386438-3.03228240690364
123.55.386918982155590.0681537171316838-1.88691898215559-2.69009984476411
133.44.320790548075430.0866945732487102-0.920790548075426-0.793960777852716
1401.864975010377890.068694245001939-1.86497501037789-1.68588625767195
159.55.267147562333080.1611082735077894.232852437666922.01752362168052
168.98.506005465351350.2606900238783990.3939945346486551.89815810317172
1710.49.212452524430530.2734483256553291.187547475569470.285325860819789
1813.211.62889194435940.3242532235500091.571108055640561.39233390851652
1918.915.40474328091160.3959138360523863.495256719088352.24853990466556
201916.74915894113040.4147511919463152.250841058869570.617655104444385
2116.317.56027912250530.422684395442711-1.260279122505320.25789229108849
2210.613.64238088387630.335620942749423-3.04238088387629-2.82106755458364
235.89.597606133517240.253160448751408-3.79760613351724-2.84221862055978
243.66.443535145774340.199886274438809-2.84353514577434-2.21268838942214
252.64.253858659161840.170742681732902-1.65385865916184-1.56917993565361
2656.257133475752630.201656046658349-1.257133475752631.18798242169463
277.35.871606468108180.1874184524940251.42839353189182-0.369331430258462
289.27.652369613381380.23260618694821.547630386618620.997566685974631
2915.712.29382402103810.3587839285256043.406175978961922.80134436861488
3016.815.67292253879480.4401147835408791.127077461205151.94290410656132
3118.416.35405392076010.4461654604957462.045946079239930.155783871679245
3218.116.13962350358210.4303845194073341.9603764964179-0.42726740884776
3314.614.64323221239310.38579436916013-0.0432322123931046-1.24517297557190
347.811.22444617283770.300605637927814-3.42444617283768-2.45504460698801
357.69.727213487170330.262277413163760-2.12721348717033-1.15881038409560
363.87.540345062269520.212782379942841-3.74034506226952-1.58047224720608
375.67.492674594137890.207537994567965-1.89267459413789-0.168374477335764
382.25.684382826162860.162884621719733-3.48438282616286-1.29471108707774
396.86.17776079520570.1712053905924590.62223920479430.209659501337110
4011.89.75931974885270.2647819562136002.040680251147312.15380045290694
4114.912.10068467975070.3233493354421512.799315320249341.31903256150365
4216.714.28463209124600.3750511781710752.415367908754031.19110366571554
4316.714.58435591830020.3730275118035472.11564408169977-0.0484336544472961
4415.913.62656783052190.3385366839415052.27343216947811-0.85641855256745
4513.612.44707791450610.3004501826112331.15292208549390-0.975947524034462
469.211.74390753131420.276016781746823-2.54390753131419-0.64436323689181
472.87.70117517256090.173670257025083-4.90117517256089-2.77148011569467
482.56.122324016096020.132732769308401-3.62232401609602-1.12561715861412
494.85.790502866455910.121739961991668-0.990502866455907-0.298420766915152
502.86.47731088791120.135714429799925-3.67731088791120.36163529967828
517.88.094664719529190.174487578612514-0.2946647195291860.942449164979163
5298.585778579336360.1831516329818150.4142214206636420.200824721045076
5312.99.933240654218730.2156814068392802.966759345781270.740312815498227
5416.412.05500366112480.268845813800584.344996338875171.21760715380658
5521.815.68803569966220.3611671556882296.111964300337832.15590812440043
5617.815.73118558609720.3526341341710312.06881441390284-0.203940065164532
5713.513.50593919700290.285049873262307-0.00593919700289369-1.65170479737381
581011.51913441853330.226704319697405-1.51913441853326-1.45411905198806
5910.412.64628189536940.249490524137618-2.246281895369370.576247460095492
605.511.17561788080270.206148907651655-5.67561788080272-1.10154499911721
6148.294209615475250.127578442620685-4.29420961547525-1.97710648680901
626.89.379365119748220.152510259062019-2.579365119748220.611852057073842
635.78.23585671222230.117804985058603-2.5358567122223-0.825334335254345
649.18.880270664407870.1322441194956630.2197293355921250.334765188032734
6513.610.67914773235880.1785381657679442.920852267641181.06071665397851
661511.76588640895990.2037951018015583.23411359104010.579604490604525
6720.913.09885259753210.2349462346627067.801147402467910.722148955954328
6820.415.08299156923760.2825685702672205.317008430762371.11921003145908
691414.43382242058810.257569328873475-0.433822420588088-0.595759437132807
7013.714.78407503155540.260024393651593-1.084075031555360.0592184615872129
717.111.60005046565520.169553929051414-4.50005046565521-2.20045038755657
720.87.961852359947920.0696898860269607-7.16185235994792-2.43402178776266
732.16.813934839149210.0375615818896349-4.71393483914921-0.77832902508968
741.35.01910866555749-0.0113878481115412-3.71910866555749-1.16984941359758
753.95.746501780645080.00864158732911443-1.846501780645080.470751962172466
7610.78.718934506085510.09002989304989261.981065493914491.88647101250175
7711.19.338786764267120.1046904425137011.761213235732880.337431727567032
7816.411.74588767611650.1684856423257954.654112323883491.46872632353492
7917.111.34512261210580.1527770082921535.75487738789417-0.363615136524896
8017.311.30428769699450.1474743415939965.99571230300548-0.123709327425122
8112.911.92276281977950.1602626842270180.977237180220520.300802238233837
8210.910.82987617360720.1264969975707270.0701238263928003-0.79991097605054
835.39.07396968215440.0760193876617456-3.7739696821544-1.20158218527414
840.77.796835801940630.0397620893750293-7.09683580194063-0.864060262358579
85-0.25.73113737685014-0.0168490989554342-5.93113737685014-1.34451375564957
866.58.085746665669030.0473443580700381-1.585746665669031.51329575526230
878.610.49287769824490.111734931361481-1.892877698244871.50414385202006
888.59.31016729061320.0761645361496686-0.810167290613197-0.824527875592064
8913.310.743623592340.1136252145281382.556376407659990.86481744839751
9016.211.25460625222030.1246029504068174.94539374777970.253424087068524
9117.511.56302578202330.1296704892464605.936974217976750.117330316877039
9221.213.35034168989030.1751762642475587.849658310109741.05827520391311
9314.813.36700317050470.1708464756387661.43299682949533-0.101165902421133
9410.311.24472513894490.108488715449470-0.944725138944861-1.46300019619302
957.310.40145956538190.0826793015953068-3.10145956538192-0.607219362902101
965.110.94076346372710.0950562515886164-5.840763463727070.291400364040211
974.411.56800911651590.109509072235455-7.168009116515920.339645865956382
986.210.38144365629660.0741811751319293-4.18144365629663-0.826828573380992
997.79.655434792785160.0522740509732304-1.95543479278516-0.510136791598769
1009.310.18999305645760.0655292978472939-0.8899930564576120.307335060285335
10115.611.852084171370.1095189046440493.747915828631.01756343534622
10216.312.09527606164080.1132043169677184.204723938359220.0852442859453333
10316.611.80150964310960.1019964717581114.79849035689043-0.259659716856934
10417.410.41802647030730.06118314745049076.98197352969273-0.9478894156745
10515.311.24487965804840.08215986569992344.055120341951630.488471300533817
1069.710.93611813233540.0714773649562187-1.23611813233544-0.249338659362556
1073.79.03423487485730.0176394316819755-5.33423487485729-1.25866241788258
1084.69.419753255817780.0276730874674076-4.819753255817790.234683583420492
1095.410.64964829052150.0604969860077956-5.249648290521540.766992489548304
1103.19.12444038787290.017115224330603-6.0244403878729-1.01142006309705
1117.99.517035392144990.0274124906620305-1.617035392144990.239398619562337
11210.110.71064988112050.0594641879560307-0.6106498811205340.743349952038884
1131511.13712771185760.0695653527714643.862872288142360.233956813436685
11415.611.11662429196490.06708544735264094.48337570803512-0.0574345775154051
11519.712.64039553176010.1071694073965047.059604468239860.929178082270239
11618.112.27901516709740.09429306053609345.82098483290265-0.298895185991773
11717.712.63173758878130.1013836023591665.06826241121870.164833234496593
11810.711.94825224983820.079880567425552-1.24825224983819-0.500537652710383
1196.211.83413850908720.0745706789284152-5.63413850908718-0.123717058725175
1204.210.65466689795630.0402524254271669-6.45466689795633-0.799839032571725
12149.481790427492030.00703530579940385-5.48179042749203-0.773787063489812
1225.910.71505343140470.0406484331053456-4.815053431404660.782045636789683
1237.110.30254526842020.0282099502718445-3.20254526842016-0.288938436648900
12410.510.75667390524510.0399149446809554-0.2566739052450510.271525914510727
12515.111.18359381469590.05055900846585243.916406185304060.246727741609601
12616.812.13938967122900.07546229705403354.660610328770950.577231539786625
12715.310.30789134073160.02301777096687794.99210865926841-1.21621677627229
12818.411.10022096647930.04415980521191537.299779033520710.490670628809171
12916.110.96122344623790.0391308715158575.13877655376211-0.116808272284557
13011.311.52044981489820.0533992292760488-0.2204498148981750.331658758187879
1317.912.19924117603000.0705470404130025-4.299241176029950.398805086779305
1325.612.05683447338930.064708726239526-6.45683447338935-0.135808211047094
1333.410.79626159886600.0283641842923194-7.39626159886603-0.845215659604916
1344.89.98376508501650.00529033661015886-5.1837650850165-0.536233954801848
1356.59.896075756734030.00273701189089286-3.39607575673403-0.0592865456338294
1368.59.47775026589698-0.00883364772365531-0.977750265896976-0.268453682492958
13715.110.30433858510440.01413383511356204.795661414895580.532643587595783
13815.710.38973943629050.01609339185026745.310260563709540.0454433792622407
13918.712.20368796622830.06551896675765836.496312033771731.14653223996487
14019.212.37852844383720.06852316951672516.821471556162820.0697185739554163
14112.910.35746669257590.01112953071679672.54253330742409-1.33253532887539
14214.412.20229369169670.06147114276703922.197706308303341.16928418710705
1436.211.49476772177240.0403659680400127-5.29476772177236-0.490361596214505
1443.310.12618886714670.00170046585233422-6.8261888671467-0.898476226239116
1454.610.59599560351230.0145486674687357-5.995995603512270.298518119514408
1467.211.51321086838540.0393326200382627-4.31321086838540.575622823627492
1477.811.50201845051890.0379448150624614-3.70201845051888-0.0322166380242998
1489.911.47203046462510.0360781545142273-1.57203046462510-0.0433136407926642
14913.610.37235363118740.004861863941702623.22764636881257-0.724158040538503
15017.111.30674748058600.03041225631396105.793252519413960.592711606074051
15117.811.34297059162810.03057196736919456.457029408371860.00370552087473502
15218.611.18426663410010.02537087300406167.41573336589987-0.120701211173704
15314.711.98945027944970.04679320950962992.710549720550350.497269091671175
15410.510.0368811642428-0.008116927483969080.463118835757228-1.27489899019316
1558.611.30910670865630.0270398808311372-2.709106708656290.816412394803794
1564.411.69342618341340.0368498971018388-7.293426183413350.227826847511582
1572.310.3290752895904-0.00162680467730463-8.02907528959037-0.893524974244464
1582.88.5122235081421-0.0514816743402214-5.71222350814211-1.15752014111035
1598.810.0564569684450-0.0076456113962539-1.256456968445031.01749281050220
16010.711.18618356861300.0236058625562564-0.4861835686130440.725205083814198
16113.911.34335366911020.02727632456924252.556646330889760.0851627663817625
16219.312.40591671284590.05572832306530506.894083287154140.660143327663225
16319.512.87256302086660.06702074429880736.627436979133420.262030063989321
16420.413.05318349231520.07014219566044887.346816507684750.0724398672830532
16515.312.49419153610650.05285780833313822.80580846389345-0.401175312165746
1667.910.2834598036250-0.00932112144360216-2.38345980362497-1.44337063343309
1678.310.2081922276043-0.0111324298394944-1.90819222760429-0.0420504666230691
1684.510.5042877139796-0.00269426338568091-6.004287713979580.19590629060636
1693.210.63568548199080.000988800447542322-7.435685481990780.0855061418045782
170511.21537462002450.0168853792035266-6.215374620024490.369014843663567
1716.610.0178931863072-0.0164768269304446-3.41789318630716-0.774331286567024
17211.110.72896730807910.003513484875921910.3710326919208770.463905195884593
17312.810.91438785594280.008512001398500861.885612144057230.115988709349207
17416.310.2953156108554-0.008733518928364376.00468438914456-0.400174008864943
17517.410.3284405280937-0.00758331025868227.071559471906320.0266913818996258
17618.910.5513613727633-0.001249814962446408.34863862723670.146983838987164
17715.811.20089905479790.01663010974346674.599100945202110.414977158345525
17811.712.71868618134510.0578698453893491-1.018686181345100.957203484598758
1796.410.93247430224330.00721227595130937-4.53247430224328-1.17586538034148
1802.99.72363108433544-0.026192553272393-6.82363108433544-0.775418291419035
1814.710.75820781989470.00294725261529634-6.058207819894690.676406960006153
1822.49.66102852015636-0.0272753789652218-7.26102852015636-0.7014999669027
1837.210.1222747453652-0.0138537916747777-2.922274745365230.311502064561537
18410.710.2851869447809-0.008997022121396280.4148130552190980.112711686335567
18513.410.75778752821360.004235819535764512.642212471786430.307082068534069
18618.511.73064036002910.03085093399139866.76935963997090.617630265460058
18718.311.7955058918820.03178555604165226.504494108118010.0216894565814585
18816.810.4387893853457-0.00636503892383396.36121061465434-0.885383899321693
18916.611.15173563373140.01339784799384095.448264366268620.458667919663852
19014.112.63775665592130.05385585212521711.462243344078680.939006889495548
1916.111.67808139577000.0260116180189042-5.57808139577001-0.646269498638805
1923.511.0458554714180.00792839789429527-7.54585547141801-0.41972269537971
1931.79.14523116217976-0.0445043239722753-7.44523116217976-1.21698982601054
1942.39.20601036792327-0.041611834566277-6.906010367923270.0671339513651266
1954.58.47510779290151-0.0605496853163416-3.97510779290152-0.439520912346724
1969.38.75186581415017-0.05128201564633720.5481341858498310.215079515944943
19714.210.3554465009380-0.005812790281377173.844553499062031.05519935144463
19817.310.58867915230810.0007553196483147736.711320847691910.152425199001913
1992313.22338092855280.07312622301546719.776619071447251.67952873682653
20016.312.34949781388690.04710650456590543.95050218611312-0.603859474710321
20118.412.74013270299510.05654492072438895.659867297004850.219049385167289
20214.212.44629412806500.04691841893523661.75370587193498-0.223419102573331
2039.113.14091893968980.0647132829773483-4.040918939689820.413004138431924
2045.912.93045622107220.0571532449538756-7.03045622107219-0.175464299855388
2057.213.72017006843830.077279345271518-6.520170068438340.467114915219488
2066.813.77147804580240.076565805692122-6.97147804580237-0.0165605420280307
207813.19785397147680.0587020477182086-5.19785397147677-0.414588402651813
20814.313.90692340307980.07657105149720750.3930765969202060.414699023068944
20914.612.81360539594370.04442758941091741.78639460405634-0.745965398718904
21017.512.25787602277560.02793779025522485.24212397722437-0.38268468105243
21117.29.64192978867276-0.04470481667934947.55807021132724-1.68585879890837
21217.211.0479846564338-0.004844593896941826.152015343566250.925070857329837
21314.19.9992946379964-0.03352424446393254.1007053620036-0.665601602796992
21410.59.37227837167051-0.04983019060275291.12772162832949-0.378435016881371
2156.89.9763279172859-0.0318653147282525-3.176327917285890.416940400667529
2164.110.7932519830868-0.00854553539911842-6.693251983086780.541224265712183
2176.511.93290924069280.023000476362259-5.432909240692770.732145171310662
2186.112.51952275423620.0384854623120028-6.419522754236220.359384594683093
2196.312.13558079388840.0268793414192920-5.83558079388839-0.269357380194869
2209.310.0954729957666-0.0299114308542927-0.795472995766555-1.31799232401557
22116.411.58551138195310.01184975802827294.81448861804690.969179309053125
22216.110.9250949734018-0.0066210690219415.17490502659821-0.428664437851805
2231810.8294596039333-0.009066774196474547.17054039606668-0.0567593688605438
22417.610.8183715724327-0.00912230875290496.78162842756726-0.00128884248853610
2251410.3164235244981-0.02266270682900633.68357647550190-0.314246752875031
22610.510.0586706247174-0.02912176037370910.441329375282618-0.149903175859111
2276.910.3594809078297-0.0200570038311584-3.459480907829670.210378124521981
2282.810.3036216345671-0.0210406549776728-7.50362163456711-0.0228290261036430
2290.78.31948912139412-0.0749758015568808-7.61948912139412-1.25175195602495
2303.68.543860627982-0.0667513159471764-4.943860627982000.190876720965944
2316.710.1102443753860-0.0218810776285334-3.410244375386021.0413548229914
23212.512.20149203583490.03617731822054460.2985079641650801.3474155305145
23314.411.07470622070320.004224655339288853.32529377929678-0.741551579206058
23416.510.96361310904430.001056268535722995.53638689095566-0.073531329593156
23518.711.17274021552820.006773065884608717.527259784471790.132674779985634
23619.411.76852883002630.02295635943369747.631471169973740.375581525956423
23715.811.99271049727550.02848503015270583.807289502724450.128309721283000
23811.311.50757728591190.0143734223330438-0.207577285911925-0.327504077620879
2399.712.05428784023290.0289992774144157-2.354287840232860.339439877456547
2402.910.9463290056508-0.00223836970997697-8.04632900565084-0.724971642593991
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2010/Dec/26/t1293399456adtkwrwsoz5caw9/1fg9f1293396335.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/26/t1293399456adtkwrwsoz5caw9/1fg9f1293396335.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/26/t1293399456adtkwrwsoz5caw9/2fg9f1293396335.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/26/t1293399456adtkwrwsoz5caw9/2fg9f1293396335.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/26/t1293399456adtkwrwsoz5caw9/3qp801293396335.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/26/t1293399456adtkwrwsoz5caw9/3qp801293396335.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/26/t1293399456adtkwrwsoz5caw9/4qp801293396335.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/26/t1293399456adtkwrwsoz5caw9/4qp801293396335.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/26/t1293399456adtkwrwsoz5caw9/5jgql1293396335.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/26/t1293399456adtkwrwsoz5caw9/5jgql1293396335.ps (open in new window)


 
Parameters (Session):
par1 = 12 ;
 
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')
 





Copyright

Creative Commons License

This work is licensed under a Creative Commons Attribution-Noncommercial-Share Alike 3.0 License.

Software written by Ed van Stee & Patrick Wessa


Disclaimer

Information provided on this web site is provided "AS IS" without warranty of any kind, either express or implied, including, without limitation, warranties of merchantability, fitness for a particular purpose, and noninfringement. We use reasonable efforts to include accurate and timely information and periodically update the information, and software without notice. However, we make no warranties or representations as to the accuracy or completeness of such information (or software), and we assume no liability or responsibility for errors or omissions in the content of this web site, or any software bugs in online applications. Your use of this web site is AT YOUR OWN RISK. Under no circumstances and under no legal theory shall we be liable to you or any other person for any direct, indirect, special, incidental, exemplary, or consequential damages arising from your access to, or use of, this web site.


Privacy Policy

We may request personal information to be submitted to our servers in order to be able to:

  • personalize online software applications according to your needs
  • enforce strict security rules with respect to the data that you upload (e.g. statistical data)
  • manage user sessions of online applications
  • alert you about important changes or upgrades in resources or applications

We NEVER allow other companies to directly offer registered users information about their products and services. Banner references and hyperlinks of third parties NEVER contain any personal data of the visitor.

We do NOT sell, nor transmit by any means, personal information, nor statistical data series uploaded by you to third parties.

We carefully protect your data from loss, misuse, alteration, and destruction. However, at any time, and under any circumstance you are solely responsible for managing your passwords, and keeping them secret.

We store a unique ANONYMOUS USER ID in the form of a small 'Cookie' on your computer. This allows us to track your progress when using this website which is necessary to create state-dependent features. The cookie is used for NO OTHER PURPOSE. At any time you may opt to disallow cookies from this website - this will not affect other features of this website.

We examine cookies that are used by third-parties (banner and online ads) very closely: abuse from third-parties automatically results in termination of the advertising contract without refund. We have very good reason to believe that the cookies that are produced by third parties (banner ads) do NOT cause any privacy or security risk.

FreeStatistics.org is safe. There is no need to download any software to use the applications and services contained in this website. Hence, your system's security is not compromised by their use, and your personal data - other than data you submit in the account application form, and the user-agent information that is transmitted by your browser - is never transmitted to our servers.

As a general rule, we do not log on-line behavior of individuals (other than normal logging of webserver 'hits'). However, in cases of abuse, hacking, unauthorized access, Denial of Service attacks, illegal copying, hotlinking, non-compliance with international webstandards (such as robots.txt), or any other harmful behavior, our system engineers are empowered to log, track, identify, publish, and ban misbehaving individuals - even if this leads to ban entire blocks of IP addresses, or disclosing user's identity.


FreeStatistics.org is powered by