Home » date » 2008 » May » 18 » attachments

timothy van den broeck multiplicatief decompositiemodel gemiddelde prijs rode tafelwijn

R Software Module: rwasp_decompose.wasp (opens new window with default values)
Title produced by software: Classical Decomposition
Date of computation: Sun, 18 May 2008 04:05:29 -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/18/t1211105278cq3mh8qxza72uao.htm/, Retrieved Sun, 18 May 2008 12:08:02 +0200
 
User-defined keywords:
multiplicatief decompositiemodel gemiddelde prijs rode tafelwijn jan 00 - dec 05
 
Dataseries X:
» Textbox « » Textfile « » CSV «
2,17 2,18 2,18 2,18 2,17 2,17 2,18 2,17 2,18 2,17 2,17 2,17 2,17 2,17 2,17 2,17 2,17 2,17 2,18 2,18 2,18 2,18 2,18 2,18 2,18 2,18 2,18 2,18 2,18 2,18 2,18 2,19 2,19 2,19 2,2 2,2 2,21 2,21 2,21 2,2 2,21 2,2 2,21 2,21 2,22 2,22 2,23 2,24 2,24 2,25 2,25 2,32 2,36 2,37 2,37 2,37 2,38 2,38 2,41 2,42 2,43 2,44 2,44 2,44 2,43 2,43 2,43 2,42 2,42 2,42 2,42 2,42
 
Text written by user:
Het multiplicatief decompositiemodel van de gemiddelde prijzen van rode tafelwijnen vanaf januari 2000 tot en met december 2005
 
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
12.17NANA0.998524672160648NA
22.18NANA0.997842788875492NA
32.18NANA0.996026941483364NA
42.18NANA1.00063859803664NA
52.17NANA1.00402525046030NA
62.17NANA1.00171608657884NA
72.182.177797766714482.174166666666671.001670111175691.00101122028830
82.172.174656985025762.173751.000417244405180.99785851973078
92.182.173293951236302.172916666666671.000173630482671.00308566117339
102.172.167186930232282.172083333333330.9977457572525361.00129802820813
112.172.173231806813392.171666666666671.000720709200330.998512902855897
122.172.172748612474122.171666666666671.000498209888310.998734960658432
132.172.168462746375542.171666666666670.9985246721606481.00070891401156
142.172.167397691003312.172083333333330.9978427888754921.00120066059288
152.172.163868530372612.17250.9960269414833641.00283356846376
162.172.174304286983782.172916666666671.000638598036640.998020384262889
172.172.182499888188072.173751.004025250460300.99427267407631
182.172.178315106606242.174583333333331.001716086578840.996182780635811
192.182.179049854353452.175416666666671.001670111175691.00043603667197
202.182.177158028136772.176251.000417244405181.00130535855758
212.182.177461341363312.177083333333331.000173630482671.00116588000368
222.182.173007113816252.177916666666670.9977457572525361.00321806870271
232.182.180320245170222.178751.000720709200330.999853120122638
242.182.18066922330242.179583333333331.000498209888310.999693111043505
252.182.176783785310212.180.9985246721606481.00147750764752
262.182.175713047577272.180416666666670.9978427888754921.00197036664716
272.182.172583766110592.181250.9960269414833641.00341355486730
282.182.183476807465782.182083333333331.000638598036640.998407673736723
292.182.192121796838322.183333333333331.004025250460300.994470290448368
302.182.188749649174772.1851.001716086578840.996002444053814
312.182.19073600565052.187083333333331.001670111175690.995099361300126
322.192.190496924728842.189583333333331.000417244405180.9997731452059
332.192.192463945820552.192083333333331.000173630482670.99887617498785
342.192.189220482371612.194166666666670.9977457572525361.00035607086389
352.22.197832857581232.196251.000720709200331.00098603604514
362.22.199428564737812.198333333333331.000498209888311.00025981078511
372.212.197170330700162.200416666666670.9985246721606481.00583917829245
382.212.197748742498272.20250.9978427888754921.00557445774616
392.212.19582439474522.204583333333330.9960269414833641.00645570988679
402.22.20849277241672.207083333333331.000638598036640.996154493905178
412.212.21847745966292.209583333333331.004025250460300.99617870372044
422.22.216296841555692.21251.001716086578840.992646814609793
432.212.219116658800482.215416666666671.001670111175690.995891762263006
442.212.219258920505492.218333333333331.000417244405180.995827922366365
452.222.222052415722332.221666666666671.000173630482670.99907634234557
462.222.223310129077732.228333333333330.9977457572525360.9985111707834
472.232.241197421646572.239583333333331.000720709200330.995003821823805
482.242.254039092027542.252916666666671.000498209888310.99377158449594
492.242.26332259023082.266666666666670.9985246721606480.989695419322252
502.252.275081558636122.280.9978427888754920.988975534287589
512.252.284221785801852.293333333333330.9960269414833640.985018186055942
522.322.308139699471182.306666666666671.000638598036641.00513846736900
532.362.330175268776612.320833333333331.004025250460301.01279935102867
542.372.339841825567082.335833333333331.001716086578841.01288897997437
552.372.355176848901842.351251.001670111175691.00629385903868
562.372.368070985610762.367083333333331.000417244405181.00081459314394
572.382.383330413637662.382916666666671.000173630482670.99860262193668
582.382.390432543417532.395833333333330.9977457572525360.995635708923784
592.412.405482404740292.403751.000720709200331.0018780412822
602.422.410366937322592.409166666666671.000498209888311.00399651294923
612.432.410604979374502.414166666666670.9985246721606481.00804570669664
622.442.413532245592602.418750.9978427888754921.01096639767533
632.442.412875265743452.42250.9960269414833641.01124166451605
642.442.427382465737222.425833333333331.000638598036641.00519800008482
652.432.437689639346732.427916666666671.004025250460300.996845521586254
662.432.432500563575622.428333333333331.001716086578840.998972019323215
672.43NANA1.00167011117569NA
682.42NANA1.00041724440518NA
692.42NANA1.00017363048267NA
702.42NANA0.997745757252536NA
712.42NANA1.00072070920033NA
722.42NANA1.00049820988831NA
 
Charts produced by software:
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/May/18/t1211105278cq3mh8qxza72uao/1kksz1211105126.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/May/18/t1211105278cq3mh8qxza72uao/1kksz1211105126.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/May/18/t1211105278cq3mh8qxza72uao/2n0bl1211105126.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/May/18/t1211105278cq3mh8qxza72uao/2n0bl1211105126.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/May/18/t1211105278cq3mh8qxza72uao/3mns61211105126.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/May/18/t1211105278cq3mh8qxza72uao/3mns61211105126.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/May/18/t1211105278cq3mh8qxza72uao/40e341211105126.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/May/18/t1211105278cq3mh8qxza72uao/40e341211105126.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