Home » date » 2009 » Jun » 01 »

AClassical deposition - werkloosheid - Tim Vervaet

*The author of this computation has been verified*
R Software Module: rwasp_decompose.wasp (opens new window with default values)
Title produced by software: Classical Decomposition
Date of computation: Mon, 01 Jun 2009 13:40:50 -0600
 
Cite this page as follows:
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL http://www.freestatistics.org/blog/date/2009/Jun/01/t1243886225l28a4okyf062hxd.htm/, Retrieved Mon, 01 Jun 2009 21:57:09 +0200
 
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/2009/Jun/01/t1243886225l28a4okyf062hxd.htm/},
    year = {2009},
}
@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 = {2009},
    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 «
517 510 509 501 507 569 580 578 565 547 555 562 561 555 544 537 543 594 611 613 611 594 595 591 589 584 573 567 569 621 629 628 612 595 597 593 590 580 574 573 573 620 626 620 588 566 557 561 549 532 526 511 499 555 565 542 527 510 514 517 508 493 490 469 478 528 534 518 506 502 516 528
 
Output produced by software:


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


Classical Decomposition by Moving Averages
tObservationsFitTrendSeasonalRandom
1517NANA-4.63333333333338NA
2510NANA-14.3500000000000NA
3509NANA-20.7583333333333NA
4501NANA-29.8916666666666NA
5507NANA-28.1916666666666NA
6569NANA23.6166666666667NA
7580578.908333333333543.535.40833333333331.09166666666670
8578576.833333333333547.20833333333329.62500000000001.16666666666674
9565564.866666666667550.54166666666714.3250.133333333333326
10547550.05553.5-3.45000000000002-3.04999999999995
11555554.758333333333556.5-1.741666666666650.241666666666788
12562559.083333333333559.0416666666670.04166666666663322.91666666666674
13561556.741666666667561.375-4.633333333333384.25833333333344
14555549.775564.125-14.35000000000005.22500000000002
15544546.741666666667567.5-20.7583333333333-2.74166666666656
16537541.483333333333571.375-29.8916666666666-4.48333333333323
17543546.808333333333575-28.1916666666666-3.80833333333328
18594601.491666666667577.87523.6166666666667-7.49166666666656
19611615.658333333333580.2535.4083333333333-4.6583333333333
20613612.25582.62529.62500000000000.749999999999886
21611599.366666666667585.04166666666714.32511.6333333333333
22594584.05587.5-3.450000000000029.95000000000005
23595588.091666666667589.833333333333-1.741666666666656.90833333333342
24591592.083333333333592.0416666666670.0416666666666332-1.08333333333326
25589589.283333333333593.916666666667-4.63333333333338-0.283333333333417
26584580.941666666666595.291666666667-14.35000000000003.05833333333351
27573575.2595.958333333333-20.7583333333333-2.20000000000005
28567566.15596.041666666667-29.89166666666660.850000000000023
29569567.975596.166666666667-28.19166666666661.02499999999998
30621619.95596.33333333333323.61666666666671.04999999999995
31629631.866666666667596.45833333333335.4083333333333-2.86666666666656
32628625.958333333333596.33333333333329.62500000000002.04166666666663
33612610.533333333333596.20833333333314.3251.46666666666670
34595593.05596.5-3.450000000000021.95000000000016
35597595.175596.916666666667-1.741666666666651.82500000000005
36593597.083333333333597.0416666666670.0416666666666332-4.08333333333326
37590592.241666666667596.875-4.63333333333338-2.24166666666667
38580582.066666666667596.416666666667-14.3500000000000-2.06666666666661
39574574.325595.083333333333-20.7583333333333-0.325000000000045
40573562.983333333333592.875-29.891666666666610.0166666666668
41573561.808333333333590-28.191666666666611.1916666666667
42620610.61666666666758723.61666666666679.38333333333333
43626619.366666666667583.95833333333335.40833333333336.63333333333333
44620609.875580.2529.625000000000010.125
45588590.575576.2514.325-2.57500000000005
46566568.216666666667571.666666666667-3.45000000000002-2.21666666666670
47557564.258333333333566-1.74166666666665-7.25833333333333
48561560.25560.2083333333330.04166666666663320.75
49549550.325554.958333333333-4.63333333333338-1.32500000000005
50532534.816666666667549.166666666667-14.3500000000000-2.81666666666661
51526522.616666666667543.375-20.75833333333333.38333333333344
52511508.608333333333538.5-29.89166666666662.39166666666677
53499506.183333333333534.375-28.1916666666666-7.18333333333328
54555554.366666666667530.7523.61666666666670.63333333333344
55565562.616666666667527.20833333333335.40833333333332.38333333333344
56542553.5523.87529.6250000000000-11.4999999999999
57527535.075520.7514.325-8.07499999999993
58510514.05517.5-3.45000000000002-4.04999999999984
59514513.133333333333514.875-1.741666666666650.866666666666788
60517512.916666666667512.8750.04166666666663324.08333333333337
61508505.825510.458333333333-4.633333333333382.17500000000001
62493493.816666666667508.166666666667-14.3500000000000-0.816666666666606
63490485.533333333333506.291666666667-20.75833333333334.46666666666681
64469475.191666666667505.083333333333-29.8916666666666-6.1916666666666
65478476.641666666667504.833333333333-28.19166666666661.35833333333335
66528528.991666666667505.37523.6166666666667-0.99166666666656
67534NANA35.4083333333333NA
68518NANA29.6250000000000NA
69506NANA14.325NA
70502NANA-3.45000000000002NA
71516NANA-1.74166666666665NA
72528NANA0.0416666666666332NA
 
Charts produced by software:
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2009/Jun/01/t1243886225l28a4okyf062hxd/1zxdd1243885248.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2009/Jun/01/t1243886225l28a4okyf062hxd/1zxdd1243885248.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2009/Jun/01/t1243886225l28a4okyf062hxd/2kc0q1243885248.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2009/Jun/01/t1243886225l28a4okyf062hxd/2kc0q1243885248.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2009/Jun/01/t1243886225l28a4okyf062hxd/3j33h1243885248.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2009/Jun/01/t1243886225l28a4okyf062hxd/3j33h1243885248.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2009/Jun/01/t1243886225l28a4okyf062hxd/430cj1243885248.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2009/Jun/01/t1243886225l28a4okyf062hxd/430cj1243885248.ps (open in new window)


 
Parameters (Session):
par1 = additive ; par2 = 12 ;
 
Parameters (R input):
par1 = additive ; par2 = 12 ;
 
R code (references can be found in the software module):
par2 <- as.numeric(par2)
x <- ts(x,freq=par2)
m <- decompose(x,type=par1)
m$figure
bitmap(file='test1.png')
plot(m)
dev.off()
mylagmax <- length(x)/2
bitmap(file='test2.png')
op <- par(mfrow = c(2,2))
acf(as.numeric(x),lag.max = mylagmax,main='Observed')
acf(as.numeric(m$trend),na.action=na.pass,lag.max = mylagmax,main='Trend')
acf(as.numeric(m$seasonal),na.action=na.pass,lag.max = mylagmax,main='Seasonal')
acf(as.numeric(m$random),na.action=na.pass,lag.max = mylagmax,main='Random')
par(op)
dev.off()
bitmap(file='test3.png')
op <- par(mfrow = c(2,2))
spectrum(as.numeric(x),main='Observed')
spectrum(as.numeric(m$trend[!is.na(m$trend)]),main='Trend')
spectrum(as.numeric(m$seasonal[!is.na(m$seasonal)]),main='Seasonal')
spectrum(as.numeric(m$random[!is.na(m$random)]),main='Random')
par(op)
dev.off()
bitmap(file='test4.png')
op <- par(mfrow = c(2,2))
cpgram(as.numeric(x),main='Observed')
cpgram(as.numeric(m$trend[!is.na(m$trend)]),main='Trend')
cpgram(as.numeric(m$seasonal[!is.na(m$seasonal)]),main='Seasonal')
cpgram(as.numeric(m$random[!is.na(m$random)]),main='Random')
par(op)
dev.off()
load(file='createtable')
a<-table.start()
a<-table.row.start(a)
a<-table.element(a,'Classical Decomposition by Moving Averages',6,TRUE)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'t',header=TRUE)
a<-table.element(a,'Observations',header=TRUE)
a<-table.element(a,'Fit',header=TRUE)
a<-table.element(a,'Trend',header=TRUE)
a<-table.element(a,'Seasonal',header=TRUE)
a<-table.element(a,'Random',header=TRUE)
a<-table.row.end(a)
for (i in 1:length(m$trend)) {
a<-table.row.start(a)
a<-table.element(a,i,header=TRUE)
a<-table.element(a,x[i])
if (par1 == 'additive') a<-table.element(a,m$trend[i]+m$seasonal[i]) else a<-table.element(a,m$trend[i]*m$seasonal[i])
a<-table.element(a,m$trend[i])
a<-table.element(a,m$seasonal[i])
a<-table.element(a,m$random[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