Home » date » 2011 » May » 29 »

Multiplicatief decompositiemodel Eigen reeks

*Unverified author*
R Software Module: /rwasp_decompose.wasp (opens new window with default values)
Title produced by software: Classical Decomposition
Date of computation: Sun, 29 May 2011 13:40:24 +0000
 
Cite this page as follows:
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL http://www.freestatistics.org/blog/date/2011/May/29/t13066762071sruzhn8irsc4a8.htm/, Retrieved Sun, 29 May 2011 15:36:47 +0200
 
Original text written by user:
 
IsPrivate?
No (this computation is public)
 
User-defined keywords:
KDGP2W92
 
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 577 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 533 536 537 524 536 587 597 581 564 558 575 580 575 563 552 537 545 601 604 586 564 549 551 556
 
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'Sir Ronald Aylmer Fisher' @ 193.190.124.24


Classical Decomposition by Moving Averages
tObservationsFitTrendSeasonalRandom
1476NANA1.00255543259767NA
2475NANA0.99441556935843NA
3470NANA0.977453795257913NA
4461NANA0.965910970979626NA
5455NANA0.94534609794411NA
6456NANA0.951674576117548NA
7517516.229187835907493.2916666666671.046498902615241.00149315881832
8525526.083076142731496.8333333333331.058872343796170.997941245039335
9523522.442574468536500.251.044362967453351.00106696038704
10519513.04492166495503.9166666666671.018114612200991.01160732342058
11509504.285805888034507.8333333333330.9930143863893031.0093482585806
12512512.786314245142511.8751.001780345289650.998466584962785
13519517.485695792498516.1666666666671.002555432597671.00292627259036
14517517.717605797232520.6250.994415569358430.998613904976
15510513.36687871775525.2083333333330.9774537952579130.993441573936052
16509511.369366552797529.4166666666670.9659109709796260.995366623994767
17501503.790691362715532.9166666666670.945346097944110.994460613483813
18507510.375144550373536.2916666666670.9516745761175480.993386933932007
19569564.9785950494539.8751.046498902615241.00711780054295
20580575.497118853219543.51.058872343796171.00782433308398
21578571.4841188152547.2083333333331.044362967453351.01140168373936
22565560.514515458822550.5416666666671.018114612200991.00800244135963
23547549.633462866479553.50.9930143863893030.995208692620815
24555557.490762153692556.51.001780345289650.995532191163007
25562560.470259965123559.0416666666671.002555432597671.00272938663146
26561558.240040248588561.3750.994415569358431.00494403760465
27555551.40612224987564.1250.9774537952579131.00651766022377
28544548.154476030937567.50.9659109709796260.992420975815031
29537540.147126712816571.3750.945346097944110.994173575018406
30543547.212881267595750.9516745761175480.992301202307535
31594604.745553348779577.8751.046498902615240.982231281752671
32611614.410677487728580.251.058872343796170.994448863581483
33613608.471973912506582.6251.044362967453351.00744163458898
34611595.639469579756585.0416666666671.018114612200991.02578830182473
35594583.395952003716587.50.9930143863893031.01817641682268
36595590.883440330014589.8333333333331.001780345289651.00696678801438
37591593.554589240846592.0416666666671.002555432597670.995696117447069
38589590.599980234794593.9166666666670.994415569358430.997290923995362
39584581.870098868742595.2916666666670.9774537952579131.00366044093931
40573575.642692413399595.9583333333330.9659109709796260.995409144512337
41567563.465663795437596.0416666666670.945346097944111.006272496146
42569567.356659795411596.1666666666670.9516745761175481.0028964852641
43621624.062178926219596.3333333333331.046498902615240.995093150923698
44629631.573233393424596.4583333333331.058872343796170.995925676932826
45628622.788449591346596.3333333333331.044362967453351.0083680909819
46612607.008416082667596.2083333333331.018114612200991.00822325322859
47595592.333081481219596.50.9930143863893031.00450239671252
48597597.979384442482596.9166666666671.001780345289650.998362176911173
49593598.567366403834597.0416666666671.002555432597670.99069884742083
50590593.541792960812596.8750.994415569358430.994032782522112
51580582.969734388407596.4166666666670.9774537952579130.99490585151642
52574574.797520313792595.0833333333330.9659109709796260.99861251956453
53573560.472067818614592.8750.945346097944111.02235246482513
54573562.281062056118590.8333333333330.9516745761175481.01906330955676
55620616.039020672835588.6666666666671.046498902615241.00642975395104
56626620.102116335633585.6251.058872343796171.00951114906561
57620607.73221681056581.9166666666671.044362967453351.02018616563365
58588588.385402967824577.9166666666671.018114612200990.99934498210547
59566569.328248196534573.3333333333330.9930143863893030.994154078588096
60577568.67730934276567.6666666666671.001780345289651.01463517274297
61561563.310833690816561.8751.002555432597670.995897764515418
62549553.516566294136556.6250.994415569358430.991840232850889
63532538.414132221234550.8333333333330.9774537952579130.98808699133737
64526526.461725474353545.0416666666670.9659109709796260.999122964781652
65511510.64445057281540.1666666666670.945346097944111.00069627590546
66499509.344163759579535.2083333333330.9516745761175480.97969120980355
67555555.429292563036530.751.046498902615240.999227097726417
68565558.24632358554527.2083333333331.058872343796171.01209802219759
69542547.115649574622523.8751.044362967453350.990649783864528
70527530.183184303667520.751.018114612200990.9939960670238
71510513.884944956464517.50.9930143863893030.992440049091546
72514515.79165528101514.8751.001780345289650.996526397310491
73517514.18561749353512.8751.002555432597671.00547347574634
74508507.607714175422510.4583333333330.994415569358431.0007728129688
75493496.709436956896508.1666666666670.9774537952579130.99253197809242
76490489.032675348893506.2916666666670.9659109709796261.00197803684676
77469477.478558303271505.0833333333330.945346097944110.982243059597483
78478480.437048510009504.8333333333330.9516745761175480.994927434265183
79528528.874382909175505.3751.046498902615240.998346709658417
80534536.715919261684506.8751.058872343796170.994939745283836
81518532.320507535699509.7083333333331.044362967453350.973097960095518
82506522.759431923035513.4583333333331.018114612200990.967940450425957
83502514.091822953629517.7083333333330.9930143863893030.976479254456612
84516523.346748718403522.4166666666671.001780345289650.985961986510102
85528528.639124980147527.2916666666671.002555432597670.998790999474035
86533529.401988737194532.3750.994415569358431.00679636899625
87536525.503596675536537.6250.9774537952579131.01997398950429
88537524.167686918277542.6666666666670.9659109709796261.02448131275922
89524517.498209782905547.4166666666670.945346097944111.01256388929311
90536525.522631553578552.2083333333330.9516745761175481.01993704517624
91587582.725472272917556.8333333333331.046498902615241.00733540565922
92597593.762666783703560.751.058872343796171.00545223436467
93581588.629077530892563.6251.044362967453350.987039244539373
94564575.616548873136565.3751.018114612200990.979818945622954
95558562.584025488973566.5416666666670.9930143863893030.991851838514275
96575568.468605104158567.4583333333331.001780345289651.01148945577152
97580569.869217145726568.4166666666671.002555432597671.01777738215974
98575566.112496839342569.2916666666670.994415569358431.01569918207119
99563556.945027089665569.7916666666670.9774537952579131.01087176043563
100552550.5692534583875700.9659109709796261.00259866771097
101537538.492771041414569.6250.945346097944110.99722787171585
102545540.789077878797568.250.9516745761175481.00778662567987
103601592.580003605877566.251.046498902615241.01420904577084
104604NANA1.05887234379617NA
105586NANA1.04436296745335NA
106564NANA1.01811461220099NA
107549NANA0.993014386389303NA
108551NANA1.00178034528965NA
109556NANANANA
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2011/May/29/t13066762071sruzhn8irsc4a8/1mcyw1306676420.png (open in new window)
http://www.freestatistics.org/blog/date/2011/May/29/t13066762071sruzhn8irsc4a8/1mcyw1306676420.ps (open in new window)


http://www.freestatistics.org/blog/date/2011/May/29/t13066762071sruzhn8irsc4a8/2j0ys1306676420.png (open in new window)
http://www.freestatistics.org/blog/date/2011/May/29/t13066762071sruzhn8irsc4a8/2j0ys1306676420.ps (open in new window)


http://www.freestatistics.org/blog/date/2011/May/29/t13066762071sruzhn8irsc4a8/3dt551306676420.png (open in new window)
http://www.freestatistics.org/blog/date/2011/May/29/t13066762071sruzhn8irsc4a8/3dt551306676420.ps (open in new window)


http://www.freestatistics.org/blog/date/2011/May/29/t13066762071sruzhn8irsc4a8/484kn1306676420.png (open in new window)
http://www.freestatistics.org/blog/date/2011/May/29/t13066762071sruzhn8irsc4a8/484kn1306676420.ps (open in new window)


 
Parameters (Session):
par1 = multiplicative ; par2 = 12 ;
 
Parameters (R input):
par1 = multiplicative ; 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