Home » date » 2009 » Jan » 13 »

Bananen - Waerlop Jeroen

*Unverified author*
R Software Module: rwasp_decompose.wasp (opens new window with default values)
Title produced by software: Classical Decomposition
Date of computation: Tue, 13 Jan 2009 10:52:00 -0700
 
Cite this page as follows:
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL http://www.freestatistics.org/blog/date/2009/Jan/13/t1231869145vk1c2f8n9paf4zg.htm/, Retrieved Tue, 13 Jan 2009 18:52:30 +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/2009/Jan/13/t1231869145vk1c2f8n9paf4zg.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 «
1,83 1,89 1,9 2,01 2,04 2,04 2,03 2,04 1,87 1,85 1,82 1,79 1,88 2,01 1,9 1,96 1,94 1,92 1,79 1,77 1,74 1,75 1,86 1,84 1,77 1,98 1,94 1,85 1,84 1,82 1,83 1,91 1,85 1,81 1,83 1,79 1,8 1,82 1,88 2,01 1,97 1,92 1,98 2,02 1,9 1,94 1,96 1,84 1,87 1,84 2,07 2,08 2,14 2,15 2,05 2,05 1,95 2,02 2,02 1,88 1,96 1,93 2,03 2,1 1,95 2,07 2,09 2,01 1,92 1,99 2,11 2
 
Output produced by software:


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


Classical Decomposition by Moving Averages
tObservationsFitTrendSeasonalRandom
11.83NANA0.967158914529167NA
21.89NANA0.999850562201415NA
31.9NANA1.02317220815810NA
42.01NANA1.04078502043631NA
52.04NANA1.02242221248224NA
62.04NANA1.02368422896303NA
72.031.948730160030371.927916666666671.010795847000841.04170399865334
82.041.977081226383631.9351.021747403815831.03182407114929
91.871.884578813330951.940.9714323780056430.992264153015082
101.851.891749571086781.937916666666670.9761769448738470.977930709368264
111.821.910697020123021.931666666666670.989144272712520.952531971752812
121.791.833353688113491.92250.953630006821060.976352796301898
131.881.844855629464381.90750.9671589145291671.01904992996434
142.011.885968122952421.886250.9998505622014151.06576562749821
151.91.912905707502251.869583333333331.023172208158100.993253348844307
161.961.935860138011531.861.040785020436311.01246983783305
171.941.899149259685761.85751.022422212482241.02151002092432
181.921.905332271157441.861251.023684228963031.00769825245948
191.791.878816780612811.858751.010795847000840.952727279461577
201.771.893212793653751.852916666666671.021747403815830.934918676829793
211.741.800388007237121.853333333333330.9714323780056430.966458337317079
221.751.806334088410311.850416666666670.9761769448738470.968813029233207
231.861.821674035578891.841666666666670.989144272712521.02103887066103
241.841.748321679171941.833333333333330.953630006821061.05243790197207
251.771.770706779350481.830833333333330.9671589145291670.999600849017621
261.981.838058616846931.838333333333330.9998505622014151.07722353457724
271.941.891589619832291.848751.023172208158101.02559243276668
281.851.931523533759711.855833333333331.040785020436310.957793144978655
291.841.898723250430561.857083333333331.022422212482240.96907224345768
301.821.897654639440221.853751.023684228963030.959078623777862
311.831.872920471505301.852916666666671.010795847000840.97708366577316
321.911.887678328549751.84751.021747403815831.01182493389507
331.851.785816521567041.838333333333330.9714323780056431.03594069024327
341.811.798606020930061.84250.9761769448738471.00633489432224
351.831.834450482434761.854583333333330.989144272712520.997573942454498
361.791.777725271048931.864166666666670.953630006821061.00690473896669
371.81.813019981861131.874583333333330.9671589145291670.992818621972512
381.821.885134914150581.885416666666670.9998505622014150.965448141848281
391.881.935927082185811.892083333333331.023172208158100.97111095624394
402.011.97705787840381.899583333333331.040785020436311.01666219383663
411.971.953252435096281.910416666666671.022422212482241.00857419379226
421.921.963341044132011.917916666666671.023684228963030.97792485199576
431.981.943676180795361.922916666666671.010795847000841.01868820514628
442.021.968566664685171.926666666666671.021747403815831.02612730177622
451.91.880126414931751.935416666666670.9714323780056431.01057034511638
461.941.899884378960721.946250.9761769448738471.02111476965836
471.961.935013483493871.956250.989144272712521.01291283844752
481.841.881432534290721.972916666666670.953630006821060.977978198242259
491.871.920213428221451.985416666666670.9671589145291670.973850079640388
501.841.98928601437991.989583333333330.9998505622014150.924954977162279
512.072.039096946508421.992916666666671.023172208158101.01515526446376
522.082.079835399171891.998333333333331.040785020436311.00007914127636
532.142.049104517516492.004166666666671.022422212482241.04435863651976
542.152.055899159834092.008333333333331.023684228963031.04577113605781
552.052.035490136897942.013751.010795847000841.00712843694943
562.052.065206939962752.021251.021747403815830.99263660233341
571.951.965531511498082.023333333333330.9714323780056430.992098060291973
582.021.974317871007362.02250.9761769448738471.02313818340171
592.021.993537852962692.015416666666670.989144272712521.01327396266792
601.881.911233472003872.004166666666670.953630006821060.983657950500874
611.961.936735726344662.00250.9671589145291671.01201210538892
621.932.002200750808332.00250.9998505622014150.96393930489778
632.032.045918094562811.999583333333331.023172208158100.9922195836651
642.12.078534417896341.997083333333331.040785020436311.01032726805909
651.952.044418415709281.999583333333331.022422212482240.953816491289764
662.072.055899159834092.008333333333331.023684228963031.00685872169287
672.09NANA1.01079584700084NA
682.01NANA1.02174740381583NA
691.92NANA0.971432378005643NA
701.99NANA0.976176944873847NA
712.11NANA0.98914427271252NA
722NANA0.95363000682106NA
 
Charts produced by software:
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2009/Jan/13/t1231869145vk1c2f8n9paf4zg/1tc791231869115.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2009/Jan/13/t1231869145vk1c2f8n9paf4zg/1tc791231869115.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2009/Jan/13/t1231869145vk1c2f8n9paf4zg/2pffs1231869115.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2009/Jan/13/t1231869145vk1c2f8n9paf4zg/2pffs1231869115.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2009/Jan/13/t1231869145vk1c2f8n9paf4zg/3bjdi1231869115.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2009/Jan/13/t1231869145vk1c2f8n9paf4zg/3bjdi1231869115.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2009/Jan/13/t1231869145vk1c2f8n9paf4zg/4do1v1231869115.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2009/Jan/13/t1231869145vk1c2f8n9paf4zg/4do1v1231869115.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