Home » date » 2010 » Jun » 01 »

Decompositie Gemiddelde prijs pilsbieren

*Unverified author*
R Software Module: /rwasp_decompose.wasp (opens new window with default values)
Title produced by software: Classical Decomposition
Date of computation: Tue, 01 Jun 2010 17:09:04 +0000
 
Cite this page as follows:
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL http://www.freestatistics.org/blog/date/2010/Jun/01/t1275412442qgg0rey9fim2le7.htm/, Retrieved Tue, 01 Jun 2010 19:14:03 +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/2010/Jun/01/t1275412442qgg0rey9fim2le7.htm/},
    year = {2010},
}
@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 = {2010},
    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:
KDGP2W52
 
Dataseries X:
» Textbox « » Textfile « » CSV «
0,47 0,47 0,47 0,47 0,47 0,47 0,47 0,47 0,47 0,47 0,47 0,46 0,46 0,46 0,45 0,45 0,46 0,46 0,46 0,46 0,46 0,44 0,44 0,43 0,44 0,44 0,44 0,44 0,44 0,44 0,44 0,44 0,44 0,44 0,44 0,43 0,43 0,42 0,42 0,42 0,42 0,42 0,42 0,42 0,42 0,42 0,42 0,42 0,42 0,42 0,42 0,41 0,41 0,41 0,41 0,41 0,41 0,41 0,41 0,41 0,41 0,41 0,41 0,41 0,41 0,41 0,41 0,41 0,41 0,41 0,41 0,41
 
Output produced by software:


Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time12 seconds
R Server'RServer@AstonUniversity' @ vre.aston.ac.uk


Classical Decomposition by Moving Averages
tObservationsFitTrendSeasonalRandom
10.47NANA0.999435206936909NA
20.47NANA0.99704990791683NA
30.47NANA0.994995496957232NA
40.47NANA0.992442453680009NA
50.47NANA0.999080931115287NA
60.47NANA1.00118196391945NA
70.470.4704552126592010.468751.003637787006290.99903239958459
80.470.4706885808123610.4679166666666671.005923948307810.998537077718834
90.470.4704959930438490.4666666666666671.008205699379680.998945808144635
100.470.4657231895802920.4651.001555246409231.00918315968668
110.470.4655259450442970.463751.003829531092821.00961075317784
120.460.4595197042109820.4629166666666670.992661827278451.0010452126092
130.460.4618223518720970.4620833333333330.9994352069369090.996053998112674
140.460.4598892700266380.461250.997049907916831.00024077529218
150.450.4581125100573920.4604166666666670.9949954969572320.982291446141963
160.450.4552829756257040.458750.9924424536800090.988396281195352
170.460.455830674821350.456250.9990809311152871.00914665337142
180.460.4542863161284510.453751.001181963919451.01257727487863
190.460.4533097337978430.4516666666666671.003637787006291.01475870845769
200.460.4526657767385130.451.005923948307811.01620229237194
210.460.452432307596630.448751.008205699379681.01672668435986
220.440.4486132874541350.4479166666666671.001555246409230.98080019541326
230.440.4483771905547950.4466666666666671.003829531092820.981316644264554
240.430.441734513138910.4450.992661827278450.973435371722426
250.440.443082941742030.4433333333333330.9994352069369090.99304206627791
260.440.4403637093299340.4416666666666670.997049907916830.999174070609753
270.440.4377980186611820.440.9949954969572321.00502967406192
280.440.4358476442411370.4391666666666670.9924424536800091.00952708088188
290.440.438763042248130.4391666666666670.9990809311152871.00281919312422
300.440.4396857458212930.4391666666666671.001181963919451.0007147245088
310.440.4403460790490120.438751.003637787006290.99921407487093
320.440.4400917273846650.43751.005923948307810.999791572122452
330.440.4394096506463090.4358333333333331.008205699379681.00134350566225
340.440.4348419028160080.4341666666666671.001555246409231.01186200582462
350.440.4341562721976470.43251.003829531092821.01345996401888
360.430.4276718039191320.4308333333333330.992661827278451.00544388491253
370.430.4289242763104230.4291666666666670.9994352069369091.00250795711269
380.420.4262388356344450.42750.997049907916830.985363052089895
390.420.4237022491209540.4258333333333330.9949954969572320.991262144280245
400.420.4209610074359370.4241666666666670.9924424536800090.997717110566153
410.420.4221116933962090.42250.9990809311152870.99499731130588
420.420.4217479023010690.421251.001181963919450.995855575590223
430.420.4219460529538960.4204166666666671.003637787006290.995387910515402
440.420.4224880582892790.421.005923948307810.994110938189938
450.420.4234463937394640.421.008205699379680.991861086101056
460.420.4202358888058730.4195833333333331.001555246409230.999438675248458
470.420.420353616145120.418751.003829531092820.999158765069365
480.420.4148499219834520.4179166666666670.992661827278451.01241431598185
490.420.4168477675599360.4170833333333330.9994352069369091.00756207106138
500.420.4150220241703810.416250.997049907916831.01199448593016
510.420.4133377126943170.4154166666666670.9949954969572321.01611826625317
520.410.411450100588170.4145833333333330.9924424536800090.996475634381673
530.410.413369735248950.413750.9990809311152870.991848132648317
540.410.4134047192684070.4129166666666671.001181963919450.9917641983516
550.410.4135824047288440.4120833333333331.003637787006290.991338111370592
560.410.4136862237415850.411251.005923948307810.991089324396047
570.410.4137844224537420.4104166666666671.008205699379680.99085412053141
580.410.4106376510277850.411.001555246409230.998447168626187
590.410.4115701077480580.411.003829531092820.996185078268563
600.410.4069913491841650.410.992661827278451.00739241957321
610.410.4097684348441330.410.9994352069369091.00056511223456
620.410.4087904622459010.410.997049907916831.00295882087721
630.410.4079481537524650.410.9949954969572321.00502967406192
640.410.4069014060088040.410.9924424536800091.00761509777415
650.410.4096231817572680.410.9990809311152871.00091991434937
660.410.4104846052069750.411.001181963919450.998819431469955
670.41NANA1.00363778700629NA
680.41NANA1.00592394830781NA
690.41NANA1.00820569937968NA
700.41NANA1.00155524640923NA
710.41NANA1.00382953109282NA
720.41NANA0.99266182727845NA
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2010/Jun/01/t1275412442qgg0rey9fim2le7/13r4o1275412131.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Jun/01/t1275412442qgg0rey9fim2le7/13r4o1275412131.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Jun/01/t1275412442qgg0rey9fim2le7/23r4o1275412131.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Jun/01/t1275412442qgg0rey9fim2le7/23r4o1275412131.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Jun/01/t1275412442qgg0rey9fim2le7/3dil91275412131.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Jun/01/t1275412442qgg0rey9fim2le7/3dil91275412131.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Jun/01/t1275412442qgg0rey9fim2le7/4dil91275412131.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Jun/01/t1275412442qgg0rey9fim2le7/4dil91275412131.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