Home » date » 2010 » Dec » 20 »

STSM - werkloosheid

*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: Mon, 20 Dec 2010 13:31:59 +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/20/t1292851800p8bc7ytq7g2orr2.htm/, Retrieved Mon, 20 Dec 2010 14:30:06 +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/20/t1292851800p8bc7ytq7g2orr2.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 «
493 514 522 490 484 506 501 462 465 454 464 427 460 473 465 422 415 413 420 363 376 380 384 346 389 407 393 346 348 353 364 305 307 312 312 286 324 336 327 302 299 311 315 264 278 278 287 279 324 354 354 360 363 385 412 370 389 395 417 404
 
Output produced by software:


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


Structural Time Series Model
tObservedLevelSlopeSeasonalStand. Residuals
1493493000
2514504.5710333488493.142428062595599.428966651150851.76691629309249
3522520.0074469454547.48379075677221.992553054546301.23183215236965
4490506.574978572565-1.37237606501525-16.5749785725646-2.12227545364971
5484488.710568130579-8.639501661703-4.71056813057891-1.59055060027424
6506493.561262728594-2.7688071750238912.43873727140581.28279545481015
7501498.7739001126800.6893036306838842.226099887319530.768261258051414
8462477.46497312555-8.87297564973663-15.4649731255497-2.13631655926010
9465463.087216928793-11.27266691643391.91278307120683-0.536233728014627
10454452.173628671692-11.11598043482381.826371328307870.0350066531413511
11464454.930611568434-5.062274144244369.069388431565781.35251809408963
12427437.668444233094-10.3847382757294-10.6684442330937-1.18915900585750
13460448.793092570577-1.1866146156013211.20690742942292.15392038600191
14473461.8176423963124.9543706642895611.18235760368831.37767126090792
15465459.5187690993831.942167799331845.48123090061652-0.656853657086611
16422444.329408514776-5.13641618829899-22.3294085147756-1.60475087331948
17415431.084306116483-8.55739224066271-16.0843061164830-0.774225276626705
18413409.973112057597-13.87991504387363.02688794240324-1.18307750176295
19420401.826319177325-11.46101611360918.17368082267480.536540822031456
20363382.296320682616-14.8598651647699-19.2963206826162-0.757455201188811
21376371.011564421791-13.35149027478044.988435578209490.336916973855627
22380372.938482022992-6.897822806444217.061517977007941.44206767783673
23384371.408407265191-4.632322917698712.59159273480950.506534429325817
24346368.550652855417-3.88437736920351-22.55065285541660.16780449449934
25389376.5257201015991.1241894193265212.47427989840141.12969771546276
26407387.1029985929585.115056632120219.89700140704230.891201994671527
27393385.2185249273092.195088988610617.78147507269059-0.647287238808744
28346372.065083949765-4.16863561400948-26.0650839497649-1.42613513215525
29348360.851992985825-7.10806307933134-12.8519929858245-0.662430282001851
30353351.343652640777-8.115093289155231.65634735922331-0.225423644293794
31364342.070796780096-8.600265120167521.9292032199044-0.108003468651413
32305329.320108629591-10.3347944485435-24.3201086295909-0.386215234726404
33307312.262069318856-13.1417350570144-5.26206931885617-0.626331221209646
34312303.310588476613-11.39234247633258.689411523386550.391010452837393
35312298.641333580546-8.585198446140413.3586664194540.628496124810071
36286306.485381197079-1.71850775064605-20.48538119707911.540178885019
37324313.0182124119791.7360537962365910.98178758802130.774202772509078
38336313.4351384557151.1845500325112822.5648615442849-0.12298495952208
39327312.657553719240.36884170411183714.3424462807603-0.181531695080490
40302320.2327484305453.35428699579593-18.23274843054480.66770852676506
41299316.672395519310.482764751821045-17.6723955193100-0.64492546775473
42311310.691349745327-2.211397979138970.308650254673188-0.603795074957681
43315296.117659991278-7.365535318736918.8823400087221-1.15011773889491
44264284.870189599966-8.98034151744165-20.8701895999657-0.359736754979694
45278281.277263731508-6.74398809596575-3.277263731508230.498782918050458
46278274.92418785064-6.581837817169563.075812149360030.0362453251890144
47287276.740988406644-3.0958555781191810.25901159335630.780775914220422
48279292.4703483222664.73039338193652-13.47034832226621.75396508851009
49324308.6351968290469.4893804778948915.36480317095381.06457432972693
50354327.9036578626213.553791724026826.09634213737980.906359214920433
51354343.36056217101814.342032506133510.63943782898240.175663553763780
52360368.09938978724318.6390606994307-8.099389787242680.960553163847438
53363381.15850305310816.3300326177234-18.1585030531083-0.517671939646797
54385384.79887826274111.06598375789060.201121737258704-1.17936373343546
55412391.4111940846669.2173331877030220.5888059153339-0.412931112201856
56370394.8813459701726.83571197043593-24.8813459701715-0.530939027598221
57389395.327283591294.19347876811356-6.32728359128969-0.589340664512528
58395397.5338882225963.37267569384741-2.53388822259636-0.183456442636117
59417410.2665169963047.242033315672546.733483003695940.866445181414434
60404422.4817438748379.30109927695227-18.48174387483710.461154741842772
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2010/Dec/20/t1292851800p8bc7ytq7g2orr2/1e9ug1292851913.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/20/t1292851800p8bc7ytq7g2orr2/1e9ug1292851913.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/20/t1292851800p8bc7ytq7g2orr2/2e9ug1292851913.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/20/t1292851800p8bc7ytq7g2orr2/2e9ug1292851913.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/20/t1292851800p8bc7ytq7g2orr2/37ib11292851913.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/20/t1292851800p8bc7ytq7g2orr2/37ib11292851913.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/20/t1292851800p8bc7ytq7g2orr2/47ib11292851913.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/20/t1292851800p8bc7ytq7g2orr2/47ib11292851913.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/20/t1292851800p8bc7ytq7g2orr2/5hsb41292851913.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/20/t1292851800p8bc7ytq7g2orr2/5hsb41292851913.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