Home » date » 2010 » May » 24 »

Classical Decomposition (multiplicatief) - Verhandelde kapitalen Euronext

*Unverified author*
R Software Module: /rwasp_decompose.wasp (opens new window with default values)
Title produced by software: Classical Decomposition
Date of computation: Mon, 24 May 2010 09:14:43 +0000
 
Cite this page as follows:
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL http://www.freestatistics.org/blog/date/2010/May/24/t12746926980dwsc7bqbv2dsuf.htm/, Retrieved Mon, 24 May 2010 11:18:18 +0200
 
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/2010/May/24/t12746926980dwsc7bqbv2dsuf.htm/},
    year = {2010},
}
@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 = {2010},
    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:
KDGP2W52
 
Dataseries X:
» Textbox « » Textfile « » CSV «
3592,21 5955,74 4652,25 4211,65 4787,85 3599,73 4174,27 5106,33 5325,75 6604,61 5711,90 6919,30 7048,76 8655,98 6658,53 7247,03 8779,57 6602,49 9832,48 9369,49 8582,76 8206,94 6515,83 8618,10 8505,39 9881,64 9375,29 15642,50 12232,73 6288,93 12473,94 11142,82 10236,32 10581,51 8763,71 10819,04 11636,25 14650,13 10671,38 17468,63 13873,19 13077,58 16866,81 14186,64 19919,87 17681,78 9984,28 17423,09 13514,45 12334,57 12274,56 11752,23 13054,00 12460,98 8626,68 13722,62 12066,22 6798,83 6593,82 6606,19 6315,28 7232,95 6747,44 7803,61 6700,31 5369,53 8081,19 10718,39 9447,21 6815,10 5497,80 6805,31
 
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'Sir Ronald Aylmer Fisher' @ 193.190.124.24


Classical Decomposition by Moving Averages
tObservationsFitTrendSeasonalRandom
13592.21NANA0.939141670558009NA
25955.74NANA1.05581132590604NA
34652.25NANA0.904809104827505NA
44211.65NANA1.16452206257041NA
54787.85NANA1.07340443509932NA
63599.73NANA0.844802307861316NA
74174.275409.886531263025197.488751.040865462433760.771600286970428
85106.335980.420904406695454.021666666671.096515795116330.853841239876174
95325.756269.533563581635650.126666666671.109627081560700.849465107091241
106604.615851.674212891825860.195833333330.9985458471553051.12867014801497
115711.94776.586960795266152.991666666670.7763031740595441.19581199858424
126919.36416.406237322296444.428333333330.9956517328517571.07837623493234
137048.766391.142767193566805.302083333330.9391416705580091.10289509353195
148655.987621.577299732997218.69251.055811325906041.13572029247847
156658.536815.051960860477532.032916666670.9048091048275050.97703290279232
167247.039007.002200778667734.505416666671.164522062570410.804599559148935
178779.578409.872840716497834.766251.073404435099321.04395989883386
186602.496706.924946218697939.046666666670.8448023078613160.984428788594456
199832.488400.328567738518070.522916666671.040865462433761.17048754947059
209369.498972.004742643428182.2851.096515795116331.04430283629559
218582.769261.560691668188346.55251.109627081560700.92670774243494
228206.948796.751633569338809.562083333330.9985458471553050.93295120083662
236515.837222.146385585339303.2550.7763031740595440.902201319680384
248618.19393.049802764339434.071666666670.9956517328517570.917497530723593
258505.398951.022654151149531.06750.9391416705580090.950214330655897
269881.6410257.2250679549715.017083333331.055811325906040.963383364851044
279375.298919.430963606529857.804166666670.9048091048275051.05110853352120
2815642.511675.082367911110025.64291666671.164522062570411.33981924127519
2912232.7310968.309501931510218.2451.073404435099321.11527943279189
306288.938788.9958500948410403.61250.8448023078613160.715545906183599
3112473.9411059.997872152710625.77083333331.040865462433761.12784289329815
3211142.8212012.232305959410954.91041666671.096515795116330.927622752889312
3310236.3212436.257866333611207.601251.109627081560700.823102906840725
3410581.5111321.207010381211337.693750.9985458471553050.934662707809964
358763.718913.6178454801811482.1350.7763031740595440.983182154757039
3610819.0411781.893358666911833.34791666670.9956517328517570.918276856753367
3711636.2511550.733104593212299.24458333330.9391416705580091.00740359028578
3814650.1313312.837628224012609.10666666671.055811325906041.10045133946055
3910671.3811888.661193095713139.413750.9048091048275050.897609901289588
4017468.6316115.517562958113838.73958333331.164522062570411.08396332489824
4113873.1915226.715551590914185.441251.073404435099320.911108502223944
4213077.5812259.320882453514511.46708333330.8448023078613161.06674587649611
4316866.8115472.354940816414864.89416666671.040865462433761.09012558621603
4414186.6416279.609073642914846.67083333331.096515795116330.871436158928934
4519919.8716441.331521835614816.98833333331.109627081560701.21157279588606
4617681.7814624.307219705414645.60416666670.9985458471553051.20906787134332
479984.2811158.029031380014373.28791666670.7763031740595440.894806777426456
4817423.0914251.224570943414313.46333333330.9956517328517571.22256792132261
4913514.4513095.798024342413944.43291666670.9391416705580091.03196842031920
5012334.5714339.776033737613581.761.055811325906040.860164759266818
5112274.5611975.320793125713235.19041666670.9048091048275051.02498799088923
5211752.2314503.538572630612454.498751.164522062570410.810300875275877
531305412730.333295272711859.77333333331.073404435099321.02542484137847
5412460.989519.0634445197411267.80.8448023078613161.30905525240237
558626.6810946.917814619910517.13041666671.040865462433760.788046475372166
5613722.6210970.199182531310004.59751.096515795116331.25089980333735
5712066.2210609.95825332839561.733333333331.109627081560701.13725423907439
586798.839153.580743867979166.910833333330.9985458471553050.742750863322484
596593.826783.06381152318737.647916666670.7763031740595440.97210054087924
606606.198141.876083467948177.433750.9956517328517570.811384247595447
616315.287380.928434954477859.227916666660.9391416705580090.855621356534526
627232.958141.702073135477711.322916666671.055811325906040.888383035270474
636747.446765.276903988747477.021250.9048091048275050.997363462835022
647803.618580.866701552177368.573751.164522062570410.909419790729114
656700.317861.167725323187323.584166666671.073404435099320.852330116099202
665369.536155.40983956997286.213333333330.8448023078613160.872326967650816
678081.19NANA1.04086546243376NA
6810718.39NANA1.09651579511633NA
699447.21NANA1.10962708156070NA
706815.1NANA0.998545847155305NA
715497.8NANA0.776303174059544NA
726805.31NANA0.995651732851757NA
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2010/May/24/t12746926980dwsc7bqbv2dsuf/1nw021274692479.png (open in new window)
http://www.freestatistics.org/blog/date/2010/May/24/t12746926980dwsc7bqbv2dsuf/1nw021274692479.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/May/24/t12746926980dwsc7bqbv2dsuf/2nw021274692479.png (open in new window)
http://www.freestatistics.org/blog/date/2010/May/24/t12746926980dwsc7bqbv2dsuf/2nw021274692479.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/May/24/t12746926980dwsc7bqbv2dsuf/3y5z51274692479.png (open in new window)
http://www.freestatistics.org/blog/date/2010/May/24/t12746926980dwsc7bqbv2dsuf/3y5z51274692479.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/May/24/t12746926980dwsc7bqbv2dsuf/48wgq1274692479.png (open in new window)
http://www.freestatistics.org/blog/date/2010/May/24/t12746926980dwsc7bqbv2dsuf/48wgq1274692479.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