Home » date » 2008 » May » 17 » attachments

Gemiddelde consumptieprijs - broodje - Elisa Somers

R Software Module: rwasp_decompose.wasp (opens new window with default values)
Title produced by software: Classical Decomposition
Date of computation: Sat, 17 May 2008 10:09:21 -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/May/17/t1211040625fhgebt1a5lrer8j.htm/, Retrieved Sat, 17 May 2008 18:10:33 +0200
 
User-defined keywords:
 
Dataseries X:
» Textbox « » Textfile « » CSV «
4,07 4,07 4,08 4,09 4,08 4,09 4,12 4,14 4,14 4,14 4,14 4,14 4,23 4,29 4,32 4,33 4,35 4,35 4,35 4,35 4,36 4,36 4,38 4,4 4,4 4,4 4,43 4,44 4,46 4,47 4,49 4,49 4,57 4,62 4,64 4,66 4,67 4,68 4,72 4,74 4,75 4,76 4,77 4,76 4,77 4,77 4,78 4,81 4,81 4,85 4,92 4,96 4,95 4,96 4,97 5 5 5,01 5,01 5,02 5,04 5,04 5,19 5,22 5,22 5,22 5,24 5,28 5,34 5,36 5,38 5,39 5,41 5,44 5,51 5,55 5,56 5,57 5,58 5,58 5,59 5,61 5,63 5,64 5,64
 
Text written by user:
Additief
 
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'George Udny Yule' @ 72.249.76.132


Classical Decomposition by Moving Averages
tObservationsFitTrendSeasonalRandom
14.07NANA-0.0191250000000002NA
24.07NANA-0.0159583333333338NA
34.08NANA0.028541666666667NA
44.09NANA0.0303749999999997NA
54.08NANA0.0178749999999997NA
64.09NANA0.00312500000000016NA
74.124.1098754.115-0.005124999999999970.0101249999999995
84.144.118291666666674.13083333333333-0.01254166666666660.0217083333333337
94.144.149958333333334.15-4.16666666661104e-05-0.00995833333333351
104.144.1658754.17-0.00412499999999946-0.0258750000000001
114.144.1808754.19125-0.010375-0.0408749999999989
124.144.200708333333334.21333333333333-0.0126250000000004-0.0607083333333325
134.234.2146254.23375-0.01912500000000020.0153750000000015
144.294.2361254.25208333333333-0.01595833333333380.0538750000000014
154.324.298541666666674.270.0285416666666670.0214583333333334
164.334.318708333333334.288333333333330.03037499999999970.0112916666666676
174.354.3253754.30750.01787499999999970.0246250000000003
184.354.331458333333334.328333333333330.003125000000000160.0185416666666676
194.354.3411254.34625-0.005124999999999970.00887499999999974
204.354.3453754.35791666666667-0.01254166666666660.00462499999999988
214.364.367041666666674.36708333333333-4.16666666661104e-05-0.00704166666666595
224.364.3721254.37625-0.00412499999999946-0.0121250000000002
234.384.375041666666674.38541666666667-0.0103750.00495833333333362
244.44.3823754.395-0.01262500000000040.0176250000000016
254.44.386708333333334.40583333333333-0.01912500000000020.0132916666666665
264.44.401541666666674.4175-0.0159583333333338-0.00154166666666633
274.434.4606254.432083333333330.028541666666667-0.0306250000000006
284.444.482041666666674.451666666666670.0303749999999997-0.0420416666666661
294.464.491208333333334.473333333333330.0178749999999997-0.0312083333333337
304.474.4981254.4950.00312500000000016-0.0281250000000002
314.494.511958333333334.51708333333333-0.00512499999999997-0.0219583333333340
324.494.527458333333334.54-0.0125416666666666-0.0374583333333334
334.574.563708333333334.56375-4.16666666661104e-050.0062916666666668
344.624.584208333333334.58833333333333-0.004124999999999460.0357916666666664
354.644.602541666666674.61291666666667-0.0103750.0374583333333334
364.664.624458333333334.63708333333333-0.01262500000000040.0355416666666679
374.674.641708333333334.66083333333333-0.01912500000000020.0282916666666662
384.684.667791666666674.68375-0.01595833333333380.0122083333333327
394.724.7318754.703333333333330.028541666666667-0.0118749999999999
404.744.748291666666674.717916666666670.0303749999999997-0.0082916666666657
414.754.7478754.730.01787499999999970.00212499999999949
424.764.745208333333334.742083333333330.003125000000000160.0147916666666674
434.774.749041666666674.75416666666667-0.005124999999999970.0209583333333336
444.764.754541666666674.76708333333333-0.01254166666666660.00545833333333334
454.774.782458333333334.7825-4.16666666661104e-05-0.0124583333333339
464.774.7958754.8-0.00412499999999946-0.0258750000000001
474.784.8071254.8175-0.010375-0.0271249999999998
484.814.821541666666674.83416666666667-0.0126250000000004-0.0115416666666661
494.814.831708333333334.85083333333333-0.0191250000000002-0.0217083333333346
504.854.853208333333334.86916666666667-0.0159583333333338-0.00320833333333326
514.924.917291666666674.888750.0285416666666670.00270833333333265
524.964.938708333333334.908333333333330.03037499999999970.0212916666666674
534.954.945791666666674.927916666666670.01787499999999970.00420833333333359
544.964.9493754.946250.003125000000000160.010625000000001
554.974.959458333333334.96458333333333-0.005124999999999970.0105416666666658
5654.969541666666674.98208333333333-0.01254166666666660.0304583333333328
5755.001208333333335.00125-4.16666666661104e-05-0.00120833333333259
585.015.019208333333335.02333333333333-0.00412499999999946-0.00920833333333348
595.015.035041666666675.04541666666667-0.010375-0.0250416666666666
605.025.0548755.0675-0.0126250000000004-0.0348750000000004
615.045.070458333333335.08958333333333-0.0191250000000002-0.0304583333333337
625.045.096541666666675.1125-0.0159583333333338-0.056541666666667
635.195.1668755.138333333333330.0285416666666670.0231250000000003
645.225.197458333333335.167083333333330.03037499999999970.0225416666666662
655.225.214958333333335.197083333333330.01787499999999970.00504166666666617
665.225.231041666666675.227916666666670.00312500000000016-0.0110416666666664
675.245.2536255.25875-0.00512499999999997-0.0136249999999993
685.285.278291666666675.29083333333333-0.01254166666666660.00170833333333409
695.345.320791666666675.32083333333333-4.16666666661104e-050.0192083333333342
705.365.343791666666675.34791666666667-0.004124999999999460.0162083333333340
715.385.365458333333335.37583333333333-0.0103750.0145416666666662
725.395.391958333333335.40458333333333-0.0126250000000004-0.00195833333333351
735.415.414208333333335.43333333333333-0.0191250000000002-0.00420833333333448
745.445.444041666666675.46-0.0159583333333338-0.00404166666666583
755.515.511458333333335.482916666666670.028541666666667-0.00145833333333290
765.555.5341255.503750.03037499999999970.0158750000000003
775.565.542458333333335.524583333333330.01787499999999970.0175416666666655
785.575.548541666666675.545416666666670.003125000000000160.0214583333333334
795.585.560291666666675.56541666666667-0.005124999999999970.019708333333333
805.58NANA-0.0125416666666666NA
815.59NANA-4.16666666661104e-05NA
825.61NANA-0.00412499999999946NA
835.63NANA-0.010375NA
845.64NANA-0.0126250000000004NA
855.64NANANANA
 
Charts produced by software:
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/May/17/t1211040625fhgebt1a5lrer8j/1j4951211040559.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/May/17/t1211040625fhgebt1a5lrer8j/1j4951211040559.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/May/17/t1211040625fhgebt1a5lrer8j/2g6to1211040559.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/May/17/t1211040625fhgebt1a5lrer8j/2g6to1211040559.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/May/17/t1211040625fhgebt1a5lrer8j/34e8s1211040559.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/May/17/t1211040625fhgebt1a5lrer8j/34e8s1211040559.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/May/17/t1211040625fhgebt1a5lrer8j/4wyhu1211040559.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/May/17/t1211040625fhgebt1a5lrer8j/4wyhu1211040559.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