Home » date » 2011 » May » 19 »

Additieve decompositie Goudkoers Brussel

*Unverified author*
R Software Module: /rwasp_decompose.wasp (opens new window with default values)
Title produced by software: Classical Decomposition
Date of computation: Thu, 19 May 2011 15:15:07 +0000
 
Cite this page as follows:
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL http://www.freestatistics.org/blog/date/2011/May/19/t13058178955xuil18m499vnwl.htm/, Retrieved Thu, 19 May 2011 17:11:41 +0200
 
Original text written by user:
 
IsPrivate?
No (this computation is public)
 
User-defined keywords:
KEYWORD: KDGP2W92
 
Dataseries X:
» Textbox « » Textfile « » CSV «
32819 32700 32242 32810 33865 32226 31077 31293 30236 30160 32436 30695 27525 26434 25739 25204 24977 24320 22680 22052 21467 21383 21777 21928 21814 22937 23595 20830 19650 19195 19644 18483 18079 19178 18391 18441 18584 20108 20148 19394 17745 17696 17032 16438 15683 15594 15713 15937 16171 15928 16348 15579 15305 15648 14954 15137 15839 16050 15168 17064 16005 14886 14931 14544 13812 13031 12574 11964 11451 11346 11353 10702 10646 10556 10463 10407 10625 10872 10805 10653 10574 10431 10383 10296 10872 10635 10297 10570 10662 10709 10413 10846 10371 9924 9828
 
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'George Udny Yule' @ 216.218.223.82


Classical Decomposition by Moving Averages
tObservationsFitTrendSeasonalRandom
132819NANA214.627893518518NA
232700NANA516.072337962963NA
332242NANA858.447337962962NA
432810NANA254.329282407407NA
533865NANA-96.1846064814812NA
632226NANA-26.7123842592592NA
73107731377.75983796331659.3333333333-281.57349537037-300.759837962956
83129330627.787615740731177.6666666667-549.879050925926665.212384259263
93023630040.364004629630645.625-605.260995370369195.635995370369
103016029809.516782407430057.75-248.233217592593350.483217592595
113243629123.801504629629370.5-246.698495370373312.19849537037
123069528881.815393518528670.75211.0653935185181813.18460648148
132752528206.086226851927991.4583333333214.627893518518-681.08622685185
142643427772.614004629627256.5416666667516.072337962963-1338.61400462963
152573927364.57233796326506.125858.447337962962-1625.57233796296
162520426029.370949074125775.0416666667254.329282407407-825.370949074077
172497724869.023726851924965.2083333333-96.1846064814812107.97627314815
182432024129.079282407424155.7916666667-26.7123842592592190.920717592595
192268023270.968171296323552.5416666667-281.57349537037-590.968171296292
202205222618.995949074123168.875-549.879050925926-566.995949074073
212146722328.57233796322933.8333333333-605.260995370369-861.57233796296
222138322414.016782407422662.25-248.233217592593-1031.01678240741
232177722011.343171296322258.0416666667-246.69849537037-234.343171296299
242192822033.607060185221822.5416666667211.065393518518-105.607060185186
252181421697.127893518521482.5214.627893518518116.872106481478
262293721723.364004629621207.2916666667516.0723379629631213.63599537037
272359521775.864004629620917.4166666667858.4473379629621819.13599537037
282083020938.704282407420684.375254.329282407407-108.704282407405
291965020355.232060185220451.4166666667-96.1846064814812-705.232060185182
301919520138.329282407420165.0416666667-26.7123842592592-943.32928240741
311964419603.593171296319885.1666666667-281.5734953703740.4068287037044
321848319082.829282407419632.7083333333-549.879050925926-599.829282407405
331807918765.94733796319371.2083333333-605.260995370369-686.947337962964
341917818919.516782407419167.75-248.233217592593258.483217592591
351839118781.843171296319028.5416666667-246.69849537037-390.843171296296
361844119097.773726851918886.7083333333211.065393518518-656.77372685185
371858418930.044560185218715.4166666667214.627893518518-346.044560185182
382010819037.44733796318521.375516.0723379629631070.55266203704
392014819194.780671296318336.3333333333858.447337962962953.219328703704
401939418341.495949074118087.1666666667254.3292824074071052.50405092593
411774517730.065393518517826.25-96.184606481481214.9346064814854
421769617583.620949074117610.3333333333-26.7123842592592112.379050925927
431703217123.88483796317405.4583333333-281.57349537037-91.8848379629599
441643816580.870949074117130.75-549.879050925926-142.870949074073
451568316192.989004629616798.25-605.260995370369-509.989004629631
461559416232.725115740716480.9583333333-248.233217592593-638.725115740739
471571315973.63483796316220.3333333333-246.69849537037-260.634837962962
481593716244.398726851916033.3333333333211.065393518518-307.398726851852
491617116076.044560185215861.4166666667214.62789351851894.9554398148157
501592816236.69733796315720.625516.072337962963-308.697337962962
511634816531.364004629615672.9166666667858.447337962962-183.36400462963
521557915952.745949074115698.4166666667254.329282407407-373.745949074075
531530515598.523726851915694.7083333333-96.1846064814812-293.523726851854
541564815692.245949074115718.9583333333-26.7123842592592-44.2459490740748
551495415477.426504629615759-281.57349537037-523.42650462963
561513715158.787615740715708.6666666667-549.879050925926-21.7876157407391
571583915000.94733796315606.2083333333-605.260995370369838.052662037038
581605015255.808449074115504.0416666667-248.233217592593794.191550925929
591516815152.00983796315398.7083333333-246.6984953703715.9901620370383
601706415438.523726851815227.4583333333211.0653935185181625.47627314815
611600515233.877893518515019.25214.627893518518771.122106481484
621488615303.94733796314787.875516.072337962963-417.947337962964
631493115331.280671296314472.8333333333858.447337962962-400.280671296296
641454414348.329282407414094254.329282407407195.670717592593
651381213642.857060185213739.0416666667-96.1846064814812169.142939814816
661303113288.287615740713315-26.7123842592592-257.287615740741
671257412545.051504629612826.625-281.5734953703728.9484953703704
681196411873.037615740712422.9166666667-549.87905092592690.962384259261
691145111451.07233796312056.3333333333-605.260995370369-0.072337962963502
701134611449.558449074111697.7916666667-248.233217592593-103.558449074073
711135311145.926504629611392.625-246.69849537037207.073495370372
721070211380.940393518511169.875211.065393518518-678.940393518518
731064611220.836226851911006.2083333333214.627893518518-574.83622685185
741055611393.94733796310877.875516.072337962963-837.947337962964
751046311645.155671296310786.7083333333858.447337962962-1182.1556712963
761040710966.370949074110712.0416666667254.329282407407-559.370949074075
771062510537.315393518510633.5-96.184606481481287.6846064814818
781087210549.454282407410576.1666666667-26.7123842592592322.545717592595
791080510287.093171296310568.6666666667-281.57349537037517.906828703704
801065310031.495949074110581.375-549.879050925926621.504050925927
81105749972.4890046296310577.75-605.260995370369601.510995370369
821043110329.391782407410577.625-248.233217592593101.608217592593
831038310339.25983796310585.9583333333-246.6984953703743.7401620370383
841029610791.773726851910580.7083333333211.065393518518-495.77372685185
8510872NA10557.5833333333NANA
8610635NA10549.2916666667NANA
8710297NA10548.875NANA
8810570NA10519.2916666667NANA
8910662NA10475.0416666667NANA
9010709NANANANA
9110413NANANANA
9210846NANANANA
9310371NANANANA
949924NANANANA
959828NANANANA
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2011/May/19/t13058178955xuil18m499vnwl/1vnfz1305818104.png (open in new window)
http://www.freestatistics.org/blog/date/2011/May/19/t13058178955xuil18m499vnwl/1vnfz1305818104.ps (open in new window)


http://www.freestatistics.org/blog/date/2011/May/19/t13058178955xuil18m499vnwl/2q5hg1305818104.png (open in new window)
http://www.freestatistics.org/blog/date/2011/May/19/t13058178955xuil18m499vnwl/2q5hg1305818104.ps (open in new window)


http://www.freestatistics.org/blog/date/2011/May/19/t13058178955xuil18m499vnwl/3s7za1305818104.png (open in new window)
http://www.freestatistics.org/blog/date/2011/May/19/t13058178955xuil18m499vnwl/3s7za1305818104.ps (open in new window)


http://www.freestatistics.org/blog/date/2011/May/19/t13058178955xuil18m499vnwl/4baf01305818104.png (open in new window)
http://www.freestatistics.org/blog/date/2011/May/19/t13058178955xuil18m499vnwl/4baf01305818104.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