Home » date » 2008 » Aug » 15 »

Opgave 9 - Superbenzine Loodvrij 98 - Stijn Cappaert

R Software Module: rwasp_decompose.wasp (opens new window with default values)
Title produced by software: Classical Decomposition
Date of computation: Fri, 15 Aug 2008 06:39:40 -0600
 
Cite this page as follows:
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL http://www.freestatistics.org/blog/date/2008/Aug/15/t1218804023plf60a0q1a0x7lm.htm/, Retrieved Fri, 15 Aug 2008 12:40:23 +0000
 
IsPrivate?
No (this computation is public)
 
User-defined keywords:
 
Dataseries X:
» Textbox « » Textfile « » CSV «
0.91 0.9 0.89 0.89 0.89 0.89 0.89 0.89 0.88 0.88 0.88 0.86 0.85 0.85 0.86 0.9 0.92 0.91 0.93 0.96 0.96 0.97 0.98 1.01 0.99 1.03 1.08 1.06 1.1 1.17 1.16 1.12 1.17 1.13 1.12 1.07 1.04 1.08 1.06 1.12 1.18 1.13 1.08 1.06 1.09 1.02 1.01 1.01 1 1.01 1.03 1.09 1.07 1.05 1.06 1.06 1.08 1.07 1.04 1.04 1.06 1.09 1.09 1.05 1.01 1.02 1.03 1.06 1.08 1.05 1.05 1.05 1.04 1.05 1.07 1.1 1.16 1.16 1.17 1.17 1.18 1.21 1.18 1.13 1.12 1.17 1.19 1.26 1.25 1.28 1.35 1.39 1.45 1.41 1.32 1.31
 
Text written by user:
Classical decomposition, multiplicatief
 
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'Herman Ole Andreas Wold' @ 193.190.124.10:1001


Classical Decomposition by Moving Averages
tObservationsFitTrendSeasonalRandom
10.91NANA0.965231570419191NA
20.9NANA0.981820722865626NA
30.89NANA0.990897587224616NA
40.89NANA1.00789664496506NA
50.89NANA1.02216222286161NA
60.89NANA1.01777307274688NA
70.890.8964703246382340.8851.012960818800260.992782444147446
80.890.8890387336846880.8804166666666671.009793166513611.00108124233387
90.880.8992951365282920.8770833333333341.025324621219900.978544155589699
100.880.8791873819844380.876251.003352219097791.00092428307345
110.880.8677688351242820.8779166666666670.9884410082099081.01409495752860
120.860.8574247836664780.880.9743463450755431.00300343118438
130.850.8518168608949370.88250.9652315704191910.997867075684522
140.850.8709567995753820.8870833333333330.9818207228656260.975938187077018
150.860.8852018445873240.8933333333333330.9908975872246160.971529832725244
160.90.9075269374039580.9004166666666671.007896644965060.991706100288892
170.920.9284640190992950.9083333333333331.022162222861610.990883848027298
180.910.9350790105861950.918751.017773072746880.973179795180652
190.930.9428976954999130.9308333333333331.012960818800260.986321214314694
200.960.953413048049930.9441666666666661.009793166513611.00690881246438
210.960.9851660735554580.9608333333333331.025324621219900.974454993700063
220.970.9799406673188410.9766666666666671.003352219097790.989855847756539
230.980.9793802989679840.9908333333333330.9884410082099081.00063274810885
241.010.9832778532387351.009166666666670.9743463450755431.02717659781846
250.990.9937863377107591.029583333333330.9652315704191910.996189988162364
261.031.02682083933031.045833333333330.9818207228656261.00309612012917
271.081.051590064442121.061250.9908975872246161.02701616962590
281.061.085168721079051.076666666666671.007896644965060.976806628692704
291.11.113305021066771.089166666666671.022162222861610.988049078361274
301.171.11700594733971.09751.017773072746881.04744294583795
311.161.116367235719461.102083333333331.012960818800261.03908459768834
321.121.117083690455681.106251.009793166513611.00261064553107
331.171.135547018001041.10751.025324621219901.03034042752330
341.131.112884836349301.109166666666671.003352219097791.01537909682267
351.121.102111724154051.1150.9884410082099081.0162309096745
361.071.088020085334361.116666666666670.9743463450755430.983437727320247
371.041.073015762449331.111666666666670.9652315704191910.969230869103012
381.081.085730082702241.105833333333330.9818207228656260.994722369036716
391.061.089987345947081.10.9908975872246160.972488354054219
401.121.100707127688931.092083333333331.007896644965061.01752770725813
411.181.106916507173881.082916666666671.022162222861611.06602439511243
421.131.094954197430181.075833333333331.017773072746881.03200663795076
431.081.085556344147621.071666666666671.012960818800260.994881570010095
441.061.077533458100561.067083333333331.009793166513610.983728154361473
451.091.089834628638321.062916666666671.025324621219901.00015173986707
461.021.063971415668281.060416666666671.003352219097790.958672371249126
471.011.042393413241371.054583333333330.9884410082099080.968924004286792
481.011.019815841179071.046666666666670.9743463450755430.990374888501713
4911.006253912162011.04250.9652315704191910.99378495617615
501.011.022729919651691.041666666666670.9818207228656260.987552999665807
511.031.031772112697631.041250.9908975872246160.998282457263748
521.091.051152209311481.042916666666671.007896644965061.03695734104385
531.071.069437225668961.046251.022162222861611.00052623409540
541.051.067389510043291.048751.017773072746880.98370837460958
551.061.066141261787281.05251.012960818800260.994239729754964
561.061.068697767893571.058333333333331.009793166513610.991861339889658
571.081.091116284414851.064166666666671.025324621219900.98981200759843
581.071.068570113339151.0651.003352219097791.00133813087509
591.041.048571169542681.060833333333330.9884410082099080.991825858089904
601.041.029965282273601.057083333333330.9743463450755431.00974277278963
611.061.017917126971241.054583333333330.9652315704191911.04134214064555
621.091.034184494751791.053333333333330.9818207228656261.05397054928928
631.091.043745458543261.053333333333330.9908975872246161.04431592116462
641.051.060811218825731.05251.007896644965060.989808536491823
651.011.075399838635651.052083333333331.022162222861610.939185560304134
661.021.071630231179731.052916666666671.017773072746880.95182085230752
671.031.066141261787281.05251.012960818800260.96610086947888
681.061.060282824839291.051.009793166513610.999733255285608
691.081.074027540727851.04751.025324621219901.00556080644646
701.051.052265639778811.048751.003352219097790.9978468936995
711.051.044864515761891.057083333333330.9884410082099081.00491497621045
721.051.041738633943271.069166666666670.9743463450755431.00793036351686
731.041.043254455694741.080833333333330.9652315704191910.996880477550824
741.051.071411863827111.091250.9818207228656260.980015282124439
751.071.089987345947081.10.9908975872246160.981662772488693
761.11.119605189782021.110833333333331.007896644965060.982489193547022
771.161.147802996088351.122916666666671.022162222861611.01062639142189
781.161.151779860658551.131666666666671.017773072746881.00713690143596
791.171.153087065400971.138333333333331.012960818800261.01466752607545
801.171.157896164268941.146666666666671.009793166513611.01045329979023
811.181.185958811877691.156666666666671.025324621219900.994975532187112
821.211.172249842645921.168333333333331.003352219097791.03220316691950
831.181.165124838427431.178750.9884410082099081.01276701095193
841.131.157036284777211.18750.9743463450755430.976633157375516
851.121.158277884503031.20.9652315704191910.966952762359394
861.171.194548546153181.216666666666670.9818207228656260.97944951987742
871.191.225822890195791.237083333333330.9908975872246160.970776455161427
881.261.266590117172761.256666666666671.007896644965060.994796961476794
891.251.298997824886631.270833333333331.022162222861610.962280287196859
901.281.306990254252451.284166666666671.017773072746880.979349307185241
911.35NANA1.01296081880026NA
921.39NANA1.00979316651361NA
931.45NANA1.02532462121990NA
941.41NANA1.00335221909779NA
951.32NANA0.988441008209908NA
961.31NANA0.974346345075543NA
 
Charts produced by software:
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Aug/15/t1218804023plf60a0q1a0x7lm/1b6g51218803974.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Aug/15/t1218804023plf60a0q1a0x7lm/1b6g51218803974.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Aug/15/t1218804023plf60a0q1a0x7lm/2r1xr1218803974.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Aug/15/t1218804023plf60a0q1a0x7lm/2r1xr1218803974.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Aug/15/t1218804023plf60a0q1a0x7lm/3xq4d1218803974.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Aug/15/t1218804023plf60a0q1a0x7lm/3xq4d1218803974.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Aug/15/t1218804023plf60a0q1a0x7lm/476fn1218803974.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Aug/15/t1218804023plf60a0q1a0x7lm/476fn1218803974.ps (open in new window)


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