Home » date » 2009 » Jun » 02 »

Deomposition-Goudprijs-Nina Van Geel

*Unverified author*
R Software Module: rwasp_decompose.wasp (opens new window with default values)
Title produced by software: Classical Decomposition
Date of computation: Tue, 02 Jun 2009 12:52:00 -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/02/t1243968761wgntsogevnldzbk.htm/, Retrieved Tue, 02 Jun 2009 20:52:41 +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/02/t1243968761wgntsogevnldzbk.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 «
9721 9897 9828 9924 10371 10846 10413 10709 10662 10570 10297 10635 10872 10296 10383 10431 10574 10653 10805 10872 10625 10407 10463 10556 10646 10702 11353 11346 11451 11964 12574 13031 13812 14544 14931 14886 16005 17064 15168 16050 15839 15137 14954 15648 15305 15579 16348 15928 16171 15937 15713 15594 15683 16438 17032 17696 17745 19394 20148 20108 18584 18441 18391 19178 18079 18483 19644 19195 19650 20830 23595 22937
 
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
19721NANA1.01782445591248NA
29897NANA1.00719983532485NA
39828NANA0.982207501903263NA
49924NANA0.99031197129628NA
510371NANA0.968905020750641NA
610846NANA0.969543042112416NA
71041310262.353261447810370.70833333330.98955181570991.01467955104587
81070910533.481262650110435.29166666671.009409377247891.01666293725439
91066210489.046681160110475.04166666671.001336988905541.01648894547782
101057010702.015082811310519.29166666671.017370315600590.987664464889106
111029710830.968387216510548.8751.026741561277060.95069984805359
121063510756.037886937610549.29166666671.019598113959090.988746982094157
131087210745.766512000710557.58333333331.017824455912481.01174727627465
141029610656.887690953610580.70833333331.007199835324850.966135732925108
151038310397.607689835410585.95833333330.9822075019032630.998595091268
161043110475.148665382810577.6250.990311971296280.995785390089144
171057410248.835083245110577.750.9689050207506411.03172701230079
181065310259.098507232310581.3750.9695430421124161.03839533195729
191080510458.243289632710568.66666666670.98955181570991.03315630558251
201087210675.681808669910576.16666666671.009409377247891.01838928837038
211062510647.716871527010633.51.001336988905540.99786650304463
221040710898.113211143410712.04166666671.017370315600590.954935941513143
231046311075.161755206910786.70833333331.026741561277060.944726608176253
241055611091.060833882710877.8751.019598113959090.951757470101678
251064611202.388008534411006.20833333331.017824455912480.950333088970804
261070211250.296260599111169.8751.007199835324850.951263838044925
271135311189.921741370711392.6250.9822075019032631.01457367284584
281134611584.463125229911697.79166666670.990311971296280.97941526312855
291145111681.441898510012056.33333333330.9689050207506410.980272820726063
301196412044.552416909012422.91666666670.9695430421124160.99331212866026
311257412692.6100581812826.6250.98955181570990.990655187732364
321303113440.2858580557133151.009409377247890.969547830873671
331381213757.410612947713739.04166666671.001336988905541.00396799867272
341454414338.8172280747140941.017370315600591.01430960229575
351493114859.859492769314472.83333333331.026741561277061.00478742798781
361488615077.689459462714787.8751.019598113959090.987286549442599
371600515286.959959463515019.251.017824455912481.04697075431875
381706415337.093525749315227.45833333331.007199835324851.11259672318953
391516815124.726844620315398.70833333330.9822075019032631.00286108673725
401605015353.838065976315504.04166666670.990311971296281.04534123201197
411583915120.933609047215606.20833333330.9689050207506411.04748823118456
421513715230.228467529915708.66666666670.9695430421124160.993878721666673
431495415594.3470637723157590.98955181570990.958937231475377
441564815866.863942235615718.95833333331.009409377247890.986206225563389
451530515715.691984250715694.70833333331.001336988905540.973867394152149
461557915971.103118596215698.41666666671.017370315600590.97544921501761
471634816092.034928098615672.91666666671.026741561277061.01590632092492
481592816028.719600258115720.6251.019598113959090.99371630406109
491617116144.137788751215861.41666666671.017824455912481.00166389878483
501593716148.770693041716033.33333333331.007199835324850.986886265396475
511571315931.733083371616220.33333333330.9822075019032630.986270603315602
521559416321.290335935216480.95833333330.990311971296280.955439164369628
531568316275.908764824516798.250.9689050207506410.963571388031748
541643816608.999468667317130.750.9695430421124160.98970440880621
551703217223.602897013017405.45833333330.98955181570990.988875562322315
561769617776.035603127817610.33333333331.009409377247890.995497556096605
571774517850.083498477417826.251.001336988905540.994112996811118
581939418401.346459987218087.16666666671.017370315600591.05394461444282
592014818826.675514763318336.33333333331.026741561277061.07018363301586
602010818884.359017929018521.3751.019598113959091.06479653245891
611858419049.008785925418715.41666666671.017824455912480.97558881980941
621844119022.689523161818886.70833333331.007199835324850.969421278602402
631839118689.976375278819028.54166666670.9822075019032630.984003383991738
641917818982.052287814319167.750.990311971296281.01032278855914
651807918768.861012173319371.20833333330.9689050207506410.963244385915272
661848319034.755762405819632.70833333330.9695430421124160.971013247068002
6719644NANA0.9895518157099NA
6819195NANA1.00940937724789NA
6919650NANA1.00133698890554NA
7020830NANA1.01737031560059NA
7123595NANA1.02674156127706NA
7222937NANA1.01959811395909NA
 
Charts produced by software:
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2009/Jun/02/t1243968761wgntsogevnldzbk/104pk1243968716.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2009/Jun/02/t1243968761wgntsogevnldzbk/104pk1243968716.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2009/Jun/02/t1243968761wgntsogevnldzbk/2fn0t1243968716.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2009/Jun/02/t1243968761wgntsogevnldzbk/2fn0t1243968716.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2009/Jun/02/t1243968761wgntsogevnldzbk/3q89p1243968716.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2009/Jun/02/t1243968761wgntsogevnldzbk/3q89p1243968716.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2009/Jun/02/t1243968761wgntsogevnldzbk/4wdbr1243968716.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2009/Jun/02/t1243968761wgntsogevnldzbk/4wdbr1243968716.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