Home » date » 2009 » Jun » 03 »

decompositie prijzen energiegrondstoffen - Charlotte De Saeger

*Unverified author*
R Software Module: rwasp_decompose.wasp (opens new window with default values)
Title produced by software: Classical Decomposition
Date of computation: Wed, 03 Jun 2009 07:06: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/03/t1244034495uhifymzfqnthrd0.htm/, Retrieved Wed, 03 Jun 2009 15:08:15 +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/03/t1244034495uhifymzfqnthrd0.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 «
106,8 114,3 105,7 90,1 91,6 97,7 100,8 104,6 95,9 102,7 104 107,9 113,8 113,8 123,1 125,1 137,6 134 140,3 152,1 150,6 167,3 153,2 142 154,4 158,5 180,9 181,3 172,4 192 199,3 215,4 214,3 201,5 190,5 196 215,7 209,4 214,1 237,8 239 237,8 251,5 248,8 215,4 201,2 203,1 214,2 188,9 203 213,3 228,5 228,2 240,9 258,8 248,5 269,2 289,6 323,4 317,2 322,8 340,9 368,2 388,5 441,2 474,3 483,9 417,9 365,9 263 199,4 157,2
 
Output produced by software:


Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time3 seconds
R Server'Sir Ronald Aylmer Fisher' @ 193.190.124.24


Classical Decomposition by Moving Averages
tObservationsFitTrendSeasonalRandom
1106.8NANA0.943353544186046NA
2114.3NANA0.941668404876309NA
3105.7NANA0.989597587183469NA
490.1NANA1.01967889364651NA
591.6NANA1.04339512685611NA
697.7NANA1.07713444164794NA
7100.8105.824066266178102.1333333333331.036136419055270.952524350618494
8104.6107.398046286489102.4041666666671.048766371353600.97394695356911
995.9102.495342509423103.1083333333330.9940548857294770.93565227113791
10102.7104.753994769180105.2916666666670.9948934999843010.980392205817962
11104105.038444304931108.6666666666670.9666114506588770.99011367398096
12107.9105.897984628496112.0958333333330.9447093748221011.01890513193927
13113.8108.725426607209115.2541666666670.9433535441860461.04667329024262
14113.8111.944755248025118.8791666666670.9416684048763091.01657285995994
15123.1121.856572891804123.13750.9895975871834691.01020402165175
16125.1130.629363600231128.1083333333331.019678893646510.957671357741949
17137.6138.615042602835132.851.043395126856110.992677255052737
18134146.835864697481136.3208333333331.077134441647940.912583586278963
19140.3144.47195469694139.4333333333331.036136419055270.971122736549862
20152.1149.960481523922142.98751.048766371353601.01426721529789
21150.6146.382865714380147.2583333333330.9940548857294771.02880893378497
22167.3151.232102776780152.0083333333330.9948934999843011.1062466032555
23153.2150.598064012653155.80.9666114506588771.01727735349326
24142150.838596846596159.6666666666670.9447093748221010.94140361266033
25154.4155.220964416279164.5416666666670.9433535441860460.994710995261714
26158.5159.742274032205169.63750.9416684048763090.99222326062571
27180.9173.109481261348174.9291666666670.9895975871834691.04500342027419
28181.3182.531019286838179.0083333333331.019678893646510.993255835136144
29172.4189.884870648727181.98751.043395126856110.907918568820196
30192200.122603137839185.7916666666671.077134441647940.959411865474063
31199.3197.483284236855190.5958333333331.036136419055271.00919933942847
32215.4204.793483306193195.2708333333331.048766371353601.05179128028185
33214.3197.593259910877198.7750.9940548857294771.08455116382340
34201.5201.478369915571202.51250.9948934999843011.00010735685641
35190.5200.708812633894207.6416666666670.9666114506588770.949136201346
36196200.585418009103212.3250.9447093748221010.97713982374883
37215.7204.149568241395216.4083333333330.9433535441860461.05657828159081
38209.4207.143507362666219.9750.9416684048763091.01089337853773
39214.1219.10927577226221.41250.9895975871834690.97713800223836
40237.8225.803642335962221.4458333333331.019678893646511.05312738776016
41239231.590243365105221.9583333333331.043395126856111.03199511571484
42237.8240.461287977555223.2416666666671.077134441647940.988932572057907
43251.5230.937538867102222.8833333333331.036136419055271.08903905893243
44248.8232.301751254821221.51.048766371353601.07102076784209
45215.4219.88494072336221.20.9940548857294770.979603238363637
46201.2219.651757848617220.7791666666670.9948934999843010.91599540095038
47203.1212.598133476998219.9416666666670.9666114506588770.955323533082545
48214.2207.477860156242219.6208333333330.9447093748221011.03239931161183
49188.9207.588878037907220.0541666666670.9433535441860460.90997167953047
50203207.492709396141220.3458333333330.9416684048763090.978347627686698
51213.3220.259682967361222.5750.9895975871834690.968402374535371
52228.5232.996627198226228.51.019678893646510.980700891457966
53228.2247.488976610575237.1958333333331.043395126856110.922061269658382
54240.9265.513639866216246.51.077134441647940.907298021003297
55258.8265.635157200216256.3708333333331.036136419055270.974268627420188
56248.5280.750387751477267.6958333333331.048766371353600.885127895958508
57269.2278.231820620323279.8958333333330.9940548857294770.967538505839531
58289.6291.520377053733293.0166666666670.9948934999843010.993412546069192
59323.4298.256018196219308.5583333333330.9666114506588771.08430335104668
60317.2309.069544551174327.1583333333330.9447093748221011.02630623298919
61322.8326.647956593721346.26250.9433535441860460.988219866323833
62340.9341.543130448637362.70.9416684048763090.998116986139372
63368.2369.899208119341373.78750.9895975871834690.995406294249777
64388.5384.121536560752376.7083333333331.019678893646511.01139864085323
65441.2386.508334825066370.4333333333331.043395126856111.14150190370329
66474.3386.26041077495358.61.077134441647941.22792806813522
67483.9NANA1.03613641905527NA
68417.9NANA1.04876637135360NA
69365.9NANA0.994054885729477NA
70263NANA0.994893499984301NA
71199.4NANA0.966611450658877NA
72157.2NANA0.944709374822101NA
 
Charts produced by software:
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2009/Jun/03/t1244034495uhifymzfqnthrd0/1nrye1244034406.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2009/Jun/03/t1244034495uhifymzfqnthrd0/1nrye1244034406.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2009/Jun/03/t1244034495uhifymzfqnthrd0/2u3ao1244034406.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2009/Jun/03/t1244034495uhifymzfqnthrd0/2u3ao1244034406.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2009/Jun/03/t1244034495uhifymzfqnthrd0/3r9o21244034406.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2009/Jun/03/t1244034495uhifymzfqnthrd0/3r9o21244034406.ps (open in new window)


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