Home » date » 2008 » May » 22 »

Decompositie volgens multiplicatief model van gemiddelde consumptieprijzen van mineraalwater - Rebecca De Cauwer

R Software Module: rwasp_decompose.wasp (opens new window with default values)
Title produced by software: Classical Decomposition
Date of computation: Thu, 22 May 2008 12:38: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/2008/May/22/t1211481581jcz12uf44gq1x1a.htm/, Retrieved Thu, 22 May 2008 20:39:45 +0200
 
User-defined keywords:
 
Dataseries X:
» Textbox « » Textfile « » CSV «
1,12 1,12 1,12 1,13 1,13 1,13 1,14 1,14 1,14 1,14 1,14 1,15 1,15 1,17 1,17 1,18 1,18 1,18 1,18 1,18 1,18 1,19 1,19 1,19 1,19 1,19 1,2 1,21 1,21 1,21 1,21 1,21 1,23 1,24 1,24 1,24 1,27 1,28 1,29 1,29 1,3 1,31 1,31 1,31 1,32 1,32 1,33 1,33 1,34 1,35 1,36 1,37 1,37 1,37 1,37 1,37 1,38 1,38 1,39 1,39 1,39 1,41 1,42 1,42 1,42 1,43 1,43 1,44 1,46 1,46 1,47 1,47 1,47 1,48 1,49 1,49 1,5 1,5 1,51 1,52 1,53 1,53 1,53 1,54
 
Text written by user:
 
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.12NANA0.996983561636156NA
21.12NANA1.00252020632735NA
31.12NANA1.00464164641206NA
41.13NANA1.00535407190813NA
51.13NANA1.00271498068435NA
61.13NANA1.00149837283367NA
71.141.131660076346401.134583333333330.9974234973306471.00736963672036
81.141.132025170298001.137916666666670.9948225590315671.00704474592194
91.141.141890975991921.142083333333330.9998315732873470.99834399602792
101.141.145287130521271.146250.9991599830065630.995383576414705
111.141.149866977834121.150416666666670.9995221828329890.991419026701069
121.151.149419303170471.154583333333330.9955273647091781.00050520887193
131.151.154839292228551.158333333333330.9969835616361560.995809553536052
141.171.164594306350271.161666666666671.002520206327351.00464169678681
151.171.170407518070051.1651.004641646412060.999651815232084
161.181.175007571542631.168751.005354071908131.00424884790386
171.181.176101112761011.172916666666671.002714980684351.00331509527258
181.181.178429752034281.176666666666671.001498372833671.00133249178664
191.181.176959726850161.180.9974234973306471.00258315818331
201.181.176377676054831.18250.9948225590315671.00307921853577
211.181.184383817856641.184583333333330.9998315732873470.996298651002704
221.191.186086163160711.187083333333330.9991599830065631.00329979133123
231.191.189014929995081.189583333333330.9995221828329891.00082847572396
241.191.186751579347071.192083333333330.9955273647091781.00273723726976
251.191.190979946337861.194583333333330.9969835616361560.999177193250927
261.191.200100230324371.197083333333331.002520206327350.991583844358035
271.21.205988576380471.200416666666671.004641646412060.995034300906525
281.211.211032759119341.204583333333331.005354071908130.999147207941685
291.211.212031732902201.208751.002714980684350.99832369661037
301.211.214734068049501.212916666666671.001498372833670.99610279469884
311.211.215194294247841.218333333333330.9974234973306470.995725544242245
321.211.219072144213271.225416666666670.9948225590315670.992558156417296
331.231.232709010565531.232916666666670.9998315732873470.997802392501145
341.241.238958378928141.240.9991599830065631.00084072321522
351.241.246487455507971.247083333333330.9995221828329890.99479541051191
361.241.249386842710021.2550.9955273647091780.992486840433138
371.271.259522566200341.263333333333330.9969835616361561.00831857568957
381.281.274871529046281.271666666666671.002520206327351.00402273549677
391.291.285522706721431.279583333333331.004641646412061.00348285818303
401.291.293555572521801.286666666666671.005354071908130.997251318306438
411.31.297262506260371.293751.002714980684351.00211020801605
421.311.303199757649811.301251.001498372833671.00521811204328
431.311.304546815883711.307916666666670.9974234973306471.00418013677232
441.311.306948136927721.313750.9948225590315671.00233510648667
451.321.319361080250431.319583333333330.9998315732873471.00048426451192
461.321.324719610802871.325833333333330.9991599830065630.996437275658652
471.331.331446841048781.332083333333330.9995221828329890.998913331719923
481.331.331517850298531.33750.9955273647091780.99886006011997
491.341.338450431496541.34250.9969835616361561.00115773320177
501.351.350895978026111.34751.002520206327350.999336752762107
511.361.358777826772311.35251.004641646412061.00089946509548
521.371.364768152615291.35751.005354071908131.00383350635394
531.371.366199161182421.36251.002714980684351.00278205325078
541.371.369549024850041.36751.001498372833671.00032928733603
551.371.368548156962431.372083333333330.9974234973306471.00106086368257
561.371.369539056266791.376666666666670.9948225590315671.00033656851997
571.381.381433957092021.381666666666670.9998315732873470.99896197926462
581.381.385085526442851.386250.9991599830065630.996328366482964
591.391.389752301714031.390416666666670.9995221828329891.00017823196670
601.391.388760673769301.3950.9955273647091781.00089239726765
611.391.395776986290621.40.9969835616361560.995861096473606
621.411.408958606642571.405416666666671.002520206327351.00073912274819
631.421.418219124185021.411666666666671.004641646412061.00125571273480
641.421.42592719198971.418333333333331.005354071908130.995843271645989
651.421.428868847475191.4251.002714980684350.993793099002148
661.431.433811837106871.431666666666671.001498372833670.997341466287126
671.431.434627463660581.438333333333330.9974234973306470.99677444927147
681.441.437104088401021.444583333333330.9948225590315671.00201510219222
691.461.450172377755521.450416666666670.9998315732873471.00677686487153
701.461.455026725253311.456250.9991599830065631.00341799546385
711.471.461801192393251.46250.9995221828329891.00560870222943
721.471.462180816916611.468750.9955273647091781.0053476170614
731.471.470550753413331.4750.9969835616361560.999625478133243
741.481.485400772375031.481666666666671.002520206327350.996364097504546
751.491.494823049723941.487916666666671.004641646412060.996773497890048
761.491.501747644912771.493751.005354071908130.992177350866794
771.51.503236875209281.499166666666671.002714980684350.997846729771826
781.51.506837760125991.504583333333331.001498372833670.995462178937289
791.51NANA0.997423497330647NA
801.52NANA0.994822559031567NA
811.53NANA0.999831573287347NA
821.53NANA0.999159983006563NA
831.53NANA0.999522182832989NA
841.54NANA0.995527364709178NA
 
Charts produced by software:
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/May/22/t1211481581jcz12uf44gq1x1a/1n7171211481528.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/May/22/t1211481581jcz12uf44gq1x1a/1n7171211481528.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/May/22/t1211481581jcz12uf44gq1x1a/28pgo1211481528.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/May/22/t1211481581jcz12uf44gq1x1a/28pgo1211481528.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/May/22/t1211481581jcz12uf44gq1x1a/30sbr1211481528.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/May/22/t1211481581jcz12uf44gq1x1a/30sbr1211481528.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/May/22/t1211481581jcz12uf44gq1x1a/407ba1211481528.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/May/22/t1211481581jcz12uf44gq1x1a/407ba1211481528.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