Home » date » 2009 » Jan » 09 »

Classical Decomposition prijs citroenen - Lotte Kenis

*Unverified author*
R Software Module: rwasp_decompose.wasp (opens new window with default values)
Title produced by software: Classical Decomposition
Date of computation: Fri, 09 Jan 2009 09:15:55 -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/09/t1231517918qqs6vvqppbxrt6r.htm/, Retrieved Fri, 09 Jan 2009 17:18:42 +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/09/t1231517918qqs6vvqppbxrt6r.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.82 1.76 1.79 1.74 1.78 1.80 1.80 1.80 1.79 1.82 1.82 1.83 1.77 1.77 1.77 1.77 1.74 1.78 1.78 1.78 1.78 1.81 1.84 1.80 1.78 1.76 1.74 1.72 1.73 1.77 1.81 1.83 1.87 1.89 1.82 1.79 1.79 1.82 1.82 1.81 1.81 1.78 1.80 1.79 1.83 1.82 1.80 1.82 1.84 1.82 1.81 1.79 1.87 1.89 1.92 1.9 1.91 1.95 2.04 1.99 1.94 1.93 1.89 1.87 1.89 1.9 1.93 1.94 1.88 1.89 1.92 1.91 1.89 1.89 1.98 2.02 2.02 1.99 1.97 1.96 1.95 1.98 2.00 2.00
 
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'Gwilym Jenkins' @ 72.249.127.135


Classical Decomposition by Moving Averages
tObservationsFitTrendSeasonalRandom
11.82NANA-0.0124305555555555NA
21.76NANA-0.0180555555555555NA
31.79NANA-0.0169444444444444NA
41.74NANA-0.0241666666666666NA
51.78NANA-0.0131944444444444NA
61.8NANA-0.00729166666666674NA
71.81.802291666666671.793750.00854166666666663-0.00229166666666658
81.81.799236111111111.792083333333330.007152777777777740.00076388888888923
91.791.799930555555561.791666666666670.00826388888888884-0.00993055555555533
101.821.817083333333331.792083333333330.02499999999999980.00291666666666712
111.821.823055555555561.791666666666670.0313888888888889-0.00305555555555515
121.831.800902777777781.789166666666670.01173611111111110.0290972222222226
131.771.775069444444441.7875-0.0124305555555555-0.00506944444444413
141.771.767777777777781.78583333333333-0.01805555555555550.00222222222222235
151.771.767638888888891.78458333333333-0.01694444444444440.00236111111111148
161.771.759583333333331.78375-0.02416666666666660.0104166666666667
171.741.770972222222221.78416666666667-0.0131944444444444-0.0309722222222222
181.781.776458333333331.78375-0.007291666666666740.003541666666667
191.781.791458333333331.782916666666670.00854166666666663-0.0114583333333331
201.781.790069444444441.782916666666670.00715277777777774-0.0100694444444442
211.781.789513888888891.781250.00826388888888884-0.00951388888888882
221.811.802916666666671.777916666666670.02499999999999980.00708333333333311
231.841.806805555555561.775416666666670.03138888888888890.0331944444444443
241.81.786319444444441.774583333333330.01173611111111110.0136805555555553
251.781.762986111111111.77541666666667-0.01243055555555550.0170138888888889
261.761.760694444444441.77875-0.0180555555555555-0.000694444444444553
271.741.767638888888891.78458333333333-0.0169444444444444-0.027638888888889
281.721.76751.79166666666667-0.0241666666666666-0.0474999999999997
291.731.780972222222221.79416666666667-0.0131944444444444-0.050972222222222
301.771.7856251.79291666666667-0.00729166666666674-0.0156249999999998
311.811.801458333333331.792916666666670.008541666666666630.00854166666666667
321.831.802986111111111.795833333333330.007152777777777740.0270138888888891
331.871.809930555555561.801666666666670.008263888888888840.0600694444444445
341.891.833751.808750.02499999999999980.0562499999999997
351.821.847222222222221.815833333333330.0313888888888889-0.0272222222222220
361.791.831319444444441.819583333333330.0117361111111111-0.0413194444444445
371.791.807152777777781.81958333333333-0.0124305555555555-0.0171527777777776
381.821.799444444444441.8175-0.01805555555555550.0205555555555559
391.821.797222222222221.81416666666667-0.01694444444444440.022777777777778
401.811.785416666666671.80958333333333-0.02416666666666660.0245833333333334
411.811.792638888888891.80583333333333-0.01319444444444440.0173611111111112
421.781.798958333333331.80625-0.00729166666666674-0.0189583333333332
431.81.8181251.809583333333330.00854166666666663-0.0181249999999999
441.791.818819444444441.811666666666670.00715277777777774-0.0288194444444447
451.831.819513888888891.811250.008263888888888840.0104861111111112
461.821.8351.810.0249999999999998-0.0150000000000001
471.81.843055555555561.811666666666670.0313888888888889-0.0430555555555556
481.821.830486111111111.818750.0117361111111111-0.0104861111111110
491.841.815902777777781.82833333333333-0.01243055555555550.0240972222222224
501.821.819861111111111.83791666666667-0.01805555555555550.000138888888888911
511.811.828888888888891.84583333333333-0.0169444444444444-0.0188888888888885
521.791.830416666666671.85458333333333-0.0241666666666666-0.0404166666666663
531.871.856805555555561.87-0.01319444444444440.0131944444444450
541.891.879791666666671.88708333333333-0.007291666666666740.0102083333333334
551.921.9068751.898333333333330.008541666666666630.0131250000000001
561.91.914236111111111.907083333333330.00715277777777774-0.0142361111111111
571.911.923263888888891.9150.00826388888888884-0.0132638888888885
581.951.946666666666671.921666666666670.02499999999999980.00333333333333363
592.041.957222222222221.925833333333330.03138888888888890.082777777777778
601.991.938819444444441.927083333333330.01173611111111110.0511805555555558
611.941.915486111111111.92791666666667-0.01243055555555550.0245138888888889
621.931.911944444444441.93-0.01805555555555550.0180555555555557
631.891.913472222222221.93041666666667-0.0169444444444444-0.0234722222222221
641.871.90251.92666666666667-0.0241666666666666-0.0324999999999998
651.891.905972222222221.91916666666667-0.0131944444444444-0.0159722222222218
661.91.903541666666671.91083333333333-0.00729166666666674-0.00354166666666678
671.931.913958333333331.905416666666670.008541666666666630.0160416666666667
681.941.908819444444441.901666666666670.007152777777777740.0311805555555555
691.881.912013888888891.903750.00826388888888884-0.032013888888889
701.891.938751.913750.0249999999999998-0.0487499999999998
711.921.956805555555561.925416666666670.0313888888888889-0.0368055555555555
721.911.946319444444441.934583333333330.0117361111111111-0.0363194444444443
731.891.927569444444441.94-0.0124305555555555-0.0375694444444443
741.891.924444444444441.9425-0.0180555555555555-0.0344444444444445
751.981.929305555555561.94625-0.01694444444444440.0506944444444446
762.021.928751.95291666666667-0.02416666666666660.09125
772.021.946805555555561.96-0.01319444444444440.0731944444444443
781.991.959791666666671.96708333333333-0.007291666666666740.0302083333333332
791.97NANA0.00854166666666663NA
801.96NANA0.00715277777777774NA
811.95NANA0.00826388888888884NA
821.98NANA0.0249999999999998NA
832NANA0.0313888888888889NA
842NANA0.0117361111111111NA
 
Charts produced by software:
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2009/Jan/09/t1231517918qqs6vvqppbxrt6r/1iqk61231517753.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2009/Jan/09/t1231517918qqs6vvqppbxrt6r/1iqk61231517753.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2009/Jan/09/t1231517918qqs6vvqppbxrt6r/23vfh1231517753.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2009/Jan/09/t1231517918qqs6vvqppbxrt6r/23vfh1231517753.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2009/Jan/09/t1231517918qqs6vvqppbxrt6r/3um5d1231517753.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2009/Jan/09/t1231517918qqs6vvqppbxrt6r/3um5d1231517753.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2009/Jan/09/t1231517918qqs6vvqppbxrt6r/41z7h1231517753.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2009/Jan/09/t1231517918qqs6vvqppbxrt6r/41z7h1231517753.ps (open in new window)


 
Parameters (Session):
par1 = additive ; par2 = 12 ;
 
Parameters (R input):
par1 = additive ; 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