Home » date » 2008 » May » 19 » attachments

Jan-pieter Onzea-decompositie-werkloosheid

R Software Module: rwasp_decompose.wasp (opens new window with default values)
Title produced by software: Classical Decomposition
Date of computation: Mon, 19 May 2008 08:43:51 -0600
 
Cite this page as follows:
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL http://www.freestatistics.org/blog/date/2008/May/19/t12112082795tmmraqe0dt2ifm.htm/, Retrieved Mon, 19 May 2008 16:44:44 +0200
 
User-defined keywords:
 
Dataseries X:
» Textbox « » Textfile « » CSV «
476 475 470 461 455 456 517 525 523 519 509 512 519 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
 
Text written by user:
 
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
1476NANA-1.01302083333332NA
2475NANA-5.13802083333335NA
3470NANA-14.2005208333333NA
4461NANA-23.1796875000000NA
5455NANA-29.9921875000000NA
6456NANA-27.5546875000000NA
7517517.830729166667493.29166666666724.5390625-0.830729166666629
8525531.1015625496.83333333333334.2682291666667-6.1015625
9523532.205729166667500.2531.9557291666666-9.20572916666663
10519519.716145833333503.91666666666715.7994791666667-0.716145833333314
11509504.8515625507.833333333333-2.981770833333354.14843750000011
12512509.372395833333511.875-2.502604166666642.62760416666663
13519515.153645833333516.166666666667-1.013020833333323.84635416666674
14517515.486979166667520.625-5.138020833333351.51302083333337
15510511.0078125525.208333333333-14.2005208333333-1.0078125
16509506.236979166667529.416666666667-23.17968750000002.76302083333326
17501502.924479166667532.916666666667-29.9921875000000-1.92447916666663
18507508.736979166667536.291666666667-27.5546875000000-1.73697916666663
19569564.4140625539.87524.53906254.5859375
20580577.768229166667543.534.26822916666672.23177083333337
21578579.1640625547.20833333333331.9557291666666-1.16406249999989
22565566.341145833333550.54166666666715.7994791666667-1.34114583333326
23547550.518229166667553.5-2.98177083333335-3.51822916666663
24555553.997395833333556.5-2.502604166666641.00260416666674
25562558.028645833333559.041666666667-1.013020833333323.97135416666674
26561556.236979166667561.375-5.138020833333354.76302083333348
27555549.924479166667564.125-14.20052083333335.07552083333337
28544544.3203125567.5-23.1796875000000-0.320312499999886
29537541.3828125571.375-29.9921875000000-4.38281249999989
30543547.4453125575-27.5546875000000-4.44531249999989
31594602.4140625577.87524.5390625-8.41406249999989
32611614.518229166667580.2534.2682291666667-3.51822916666663
33613614.580729166667582.62531.9557291666666-1.58072916666674
34611600.841145833333585.04166666666715.799479166666710.1588541666667
35594584.518229166667587.5-2.981770833333359.48177083333337
36595587.330729166667589.833333333333-2.502604166666647.66927083333337
37591591.028645833333592.041666666667-1.01302083333332-0.0286458333332575
38589588.778645833333593.916666666667-5.138020833333350.221354166666629
39584581.091145833333595.291666666667-14.20052083333332.90885416666686
40573572.778645833333595.958333333333-23.17968750000000.221354166666629
41567566.049479166667596.041666666667-29.99218750000000.950520833333371
42569568.611979166667596.166666666667-27.55468750000000.388020833333371
43621620.872395833333596.33333333333324.53906250.127604166666629
44629630.7265625596.45833333333334.2682291666667-1.72656249999989
45628628.2890625596.33333333333331.9557291666666-0.2890625
46612612.0078125596.20833333333315.7994791666667-0.00781249999988631
47595593.518229166667596.5-2.981770833333351.48177083333348
48597594.4140625596.916666666667-2.502604166666642.5859375
49593596.028645833333597.041666666667-1.01302083333332-3.02864583333326
50590591.736979166667596.875-5.13802083333335-1.73697916666663
51580582.216145833333596.416666666667-14.2005208333333-2.21614583333326
52574571.903645833333595.083333333333-23.17968750000002.09635416666663
53573562.8828125592.875-29.992187500000010.1171875000001
54573562.4453125590-27.554687500000010.5546875000001
55620611.539062558724.53906258.4609375
56626618.2265625583.95833333333334.26822916666677.7734375
57620612.205729166667580.2531.95572916666667.79427083333337
58588592.049479166667576.2515.7994791666667-4.04947916666663
59566568.684895833333571.666666666667-2.98177083333335-2.68489583333337
60557563.497395833333566-2.50260416666664-6.49739583333337
61561559.1953125560.208333333333-1.013020833333321.8046875
62549549.8203125554.958333333333-5.13802083333335-0.8203125
63532534.966145833333549.166666666667-14.2005208333333-2.96614583333326
64526520.1953125543.375-23.17968750000005.80468750000011
65511508.5078125538.5-29.99218750000002.49218750000011
66499506.8203125534.375-27.5546875000000-7.82031249999989
67555NANA24.5390625NA
68565NANA34.2682291666667NA
69542NANA31.9557291666666NA
70527NANA15.7994791666667NA
71510NANA-2.98177083333335NA
72514NANA-2.50260416666664NA
 
Charts produced by software:
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/May/19/t12112082795tmmraqe0dt2ifm/1oq411211208229.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/May/19/t12112082795tmmraqe0dt2ifm/1oq411211208229.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/May/19/t12112082795tmmraqe0dt2ifm/2xbmi1211208229.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/May/19/t12112082795tmmraqe0dt2ifm/2xbmi1211208229.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/May/19/t12112082795tmmraqe0dt2ifm/3ncyy1211208229.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/May/19/t12112082795tmmraqe0dt2ifm/3ncyy1211208229.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/May/19/t12112082795tmmraqe0dt2ifm/4j0xw1211208229.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/May/19/t12112082795tmmraqe0dt2ifm/4j0xw1211208229.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