Home » date » 2011 » May » 16 »

Wisselkoers Deomposition

*Unverified author*
R Software Module: /rwasp_decompose.wasp (opens new window with default values)
Title produced by software: Classical Decomposition
Date of computation: Mon, 16 May 2011 11:35:05 +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/16/t13055455525cxc1omlfxf2sce.htm/, Retrieved Mon, 16 May 2011 13:32:38 +0200
 
Original text written by user:
 
IsPrivate?
No (this computation is public)
 
User-defined keywords:
KDGP2W92
 
Dataseries X:
» Textbox « » Textfile « » CSV «
0,8833 0,87 0,8758 0,8858 0,917 0,9554 0,9922 0,9778 0,9808 0,9811 1,0014 1,0183 1,0622 1,0773 1,0807 1,0848 1,1582 1,1663 1,1372 1,1139 1,1222 1,1692 1,1702 1,2286 1,2613 1,2646 1,2262 1,1985 1,2007 1,2138 1,2266 1,2176 1,2218 1,249 1,2991 1,3408 1,3119 1,3014 1,3201 1,2938 1,2694 1,2165 1,2037 1,2292 1,2256 1,2015 1,1786 1,1856 1,2103 1,1938 1,202 1,2271 1,277 1,265 1,2684 1,2811 1,2727 1,2611 1,2881 1,3213 1,2999 1,3074 1,3242 1,3516 1,3511 1,3419 1,3716 1,3622 1,3896 1,4227 1,4684 1,457 1,4718 1,4748 1,5527 1,575 1,5557 1,5553 1,577 1,4975 1,4369 1,3322 1,2732 1,3449 1,3239 1,2785 1,305 1,319 1,365 1,4016 1,4088 1,4268 1,4562 1,4816 1,4914 1,4614 1,4272
 
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' @ 216.218.223.82


Classical Decomposition by Moving Averages
tObservationsFitTrendSeasonalRandom
10.8833NANA1.0062489895994NA
20.87NANA0.997616024114758NA
30.8758NANA1.00409575856586NA
40.8858NANA1.00310790960093NA
50.917NANA1.01393716552327NA
60.9554NANA1.00720455910134NA
70.99220.9579478779802860.95236251.005864760509041.03575572617994
80.97780.968525044885310.9684541666666671.000073186962361.00957637096084
90.98080.976125716624630.9856291666666670.9903579861844231.00478860795875
100.98110.9859765502072641.002458333333330.9835586352289920.995054091087421
111.00141.00407643479461.02080.9836171970950270.997334431222708
121.01831.044126475402721.03963751.004317827514610.975264993263623
131.06221.061056017899581.054466666666671.00624898959941.00107815429263
141.07731.063637421243991.066179166666670.9976160241147581.01284514674186
151.08071.08215583632971.077741666666671.004095758565860.99865468883425
161.08481.094863026015381.091470833333331.003107909600930.990808872181932
171.15821.121760933600291.106341666666671.013937165523271.03248380765299
181.16631.130222005938581.12213751.007204559101341.03192115696903
191.13721.145876944068721.139195833333331.005864760509040.992427682471807
201.11391.1553803859261.155295833333331.000073186962360.96409806983805
211.12221.157889419022341.16916250.9903579861844230.96917717837643
221.16921.160562306121391.17996250.9835586352289921.00744268001214
231.17021.167033115518331.186470833333330.9836171970950271.00271362006746
241.22861.195360001595961.190220833333331.004317827514611.02780752104777
251.26131.203398322886671.1959251.00624898959941.04811513861382
261.26461.201100595900131.203970833333330.9976160241147581.05286768178837
271.22621.217407535008521.212441666666671.004095758565861.00722228566741
281.19851.223708057387331.219916666666671.003107909600930.979400268523888
291.20071.245735875776461.22861251.013937165523270.96384797399498
301.21381.24758232050221.238658333333331.007204559101340.972921770413832
311.22661.252745883769641.245441666666671.005864760509040.979129140148547
321.21761.249174749948231.249083333333331.000073186962360.97472351250332
331.22181.242432979109621.254529166666670.9903579861844230.983393084812987
341.2491.241656715596021.26241250.9835586352289921.00591410195084
351.29911.248452029007871.269245833333330.9836171970950271.04056861602634
361.34081.277714063452151.272220833333331.004317827514611.0493740644737
371.31191.279324001856061.271379166666671.00624898959941.02546344639565
381.30141.267878518514311.270908333333330.9976160241147581.02643903260146
391.32011.276757961804411.271551.004095758565861.0339469496116
401.29381.273675370134331.269729166666671.003107909600931.01580043890112
411.26941.280328032073561.262729166666671.013937165523270.991464662336682
421.21651.260256311204231.251241666666671.007204559101340.965279831717393
431.20371.247817146443151.240541666666671.005864760509040.96464454221606
441.22921.231915153529911.2318251.000073186962360.997795989827604
451.22561.210634234769881.222420833333330.9903579861844231.01236192137996
461.20151.194749165017561.214720833333330.9835586352289921.00565042033935
471.17861.192398143988421.212258333333330.9836171970950270.988428240971368
481.18561.219840248641621.214595833333331.004317827514610.971930546905831
491.21031.226931971130921.21931251.00624898959940.98644425972893
501.19381.221252439587251.224170833333330.9976160241147580.97752107697199
511.2021.233326636514111.228295833333331.004095758565860.974599886529124
521.22711.236572916327971.232741666666671.003107909600930.992339379099378
531.2771.257066623601181.23978751.013937165523271.01585705643963
541.2651.259009895562341.250004166666671.007204559101341.00475778979877
551.26841.266777697178741.259391666666671.005864760509041.0012806531287
561.28111.267951124033451.267858333333331.000073186962361.01037017572469
571.27271.26536389298141.277683333333330.9903579861844231.00579762632654
581.26111.266786638726121.28796250.9835586352289920.995510973551284
591.28811.275001496519461.29623750.9836171970950271.01027332400495
601.32131.308153262941081.302529166666671.004317827514611.01004984464081
611.29991.31821971800821.310033333333331.00624898959940.986102682460337
621.30741.314571105176321.31771250.9976160241147580.994544908869455
631.32421.331393322267381.32596251.004095758565860.994597147103662
641.35161.341723702951881.337566666666671.003107909600931.00736090226802
651.35111.370652934568921.35181251.013937165523270.985734583806167
661.34191.374813239745021.364979166666671.007204559101340.976059846680614
671.37161.385876275926181.377795833333331.005864760509040.98969873705599
681.36221.392035204705811.391933333333331.000073186962360.97856720533723
691.38961.39484907318341.408429166666670.9903579861844230.99623681638084
701.42271.403792258452541.427258333333330.9835586352289921.01346904531893
711.46841.421417014712051.445091666666670.9836171970950271.03305362522164
721.4571.468823192055341.462508333333331.004317827514610.991950568237696
731.47181.489206577565881.479958333333331.00624898959940.988311509075971
741.47481.49059213916451.494154166666670.9976160241147580.989405459246987
751.55271.507913356623261.50176251.004095758565861.0297010721339
761.5751.504624247854781.49996251.003107909600931.04677297487765
771.55571.508797648633281.488058333333331.013937165523271.03108591228864
781.55531.485882722499921.475254166666671.007204559101341.04671787110041
791.5771.473009310805281.464420833333331.005864760509041.0705974418708
801.49751.450185293556061.450079166666671.000073186962361.03262666271282
811.43691.417775860563571.431579166666670.9903579861844231.01348883132262
821.33221.387399614532061.410591666666670.9835586352289920.960213615490535
831.27321.369174646331341.391979166666670.9836171970950270.929903284005076
841.34491.383577531787421.377629166666671.004317827514610.972045273286958
851.32391.3727416424281.364216666666671.00624898959940.964420368029623
861.27851.351033970857711.35426250.9976160241147580.946312252376849
871.3051.357658793818531.352120833333331.004095758565860.961213528717018
881.3191.36337411533411.359151.003107909600930.967452722744975
891.3651.393622836106221.374466666666671.013937165523270.97946156207788
901.40161.398415399913291.38841251.007204559101341.00227729191691
911.40881.405767251565251.397570833333331.005864760509041.00215736170506
921.4268NANA1.00007318696236NA
931.4562NANA0.990357986184423NA
941.4816NANA0.983558635228992NA
951.4914NANA0.983617197095027NA
961.4614NANA1.00431782751461NA
971.4272NANANANA
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2011/May/16/t13055455525cxc1omlfxf2sce/1g5um1305545702.png (open in new window)
http://www.freestatistics.org/blog/date/2011/May/16/t13055455525cxc1omlfxf2sce/1g5um1305545702.ps (open in new window)


http://www.freestatistics.org/blog/date/2011/May/16/t13055455525cxc1omlfxf2sce/2r35y1305545702.png (open in new window)
http://www.freestatistics.org/blog/date/2011/May/16/t13055455525cxc1omlfxf2sce/2r35y1305545702.ps (open in new window)


http://www.freestatistics.org/blog/date/2011/May/16/t13055455525cxc1omlfxf2sce/39f0i1305545702.png (open in new window)
http://www.freestatistics.org/blog/date/2011/May/16/t13055455525cxc1omlfxf2sce/39f0i1305545702.ps (open in new window)


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