Home » date » 2008 » May » 19 » attachments

US DOllar per euro- DEcompositie- Raf Deceulaer

R Software Module: rwasp_decompose.wasp (opens new window with default values)
Title produced by software: Classical Decomposition
Date of computation: Mon, 19 May 2008 13:11:55 -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/19/t1211224349nae8nzxg7rvrivp.htm/, Retrieved Mon, 19 May 2008 21:12:33 +0200
 
User-defined keywords:
 
Dataseries X:
» Textbox « » Textfile « » CSV «
1.0137 0.9834 0.9643 0.947 0.906 0.9492 0.9397 0.9041 0.8721 0.8552 0.8564 0.8973 0.9383 0.9217 0.9095 0.892 0.8742 0.8532 0.8607 0.9005 0.9111 0.9059 0.8883 0.8924 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
 
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.0137NANA1.02027342292487NA
20.9834NANA1.00941665581264NA
30.9643NANA1.00197629714242NA
40.947NANA0.99205975811345NA
50.906NANA1.00380066383502NA
60.9492NANA0.995435588726848NA
70.93970.9156438669637470.9208916666666670.9943013929945581.02627236844388
80.90410.910591528635110.9151791666666660.9949871695088230.992871086067712
90.87210.9037380006473390.9103250.9927641234145370.964992065593483
100.85520.8985492941640930.905750.9920500073575410.951756353885493
110.85640.8961497580760720.9021333333333330.9933673049912120.955643844438
120.89730.905388650355160.8968083333333331.009567615178080.991066101444957
130.93830.9075502142487190.8895166666666671.020273422924871.03388218664764
140.92170.8944188632991880.8860751.009416655812641.03050152207231
150.90950.8893040625287560.887551.001976297142421.02270982257049
160.8920.8842104616595420.89128750.992059758113451.00880959757685
170.87420.8981297314525530.8947291666666671.003800663835020.973356041321724
180.85320.8917651198092330.8958541666666670.9954355887268480.956754173321465
190.86070.888267435276630.8933583333333330.9943013929945580.968964937605705
200.90050.8844565323160120.88891250.9949871695088231.01813935122620
210.91110.8789478531822420.8853541666666670.9927641234145371.03658026662373
220.90590.8766663244184650.8836916666666670.9920500073575411.03334641102010
230.88830.879345294499970.8852166666666670.9933673049912121.01018337796999
240.89240.8997855500909220.8912583333333331.009567615178080.99179187741993
250.88330.9192621029160440.9009958333333331.020273422924870.960879380535795
260.870.918262125890030.9096958333333331.009416655812640.947441885569166
270.87580.917630767429220.9158208333333331.001976297142420.95441438003827
280.88580.9145385551815350.9218583333333330.992059758113450.9685758954407
290.9170.9332376596701820.9297041666666671.003800663835020.982600723940008
300.95540.9353734938920420.93966250.9954355887268481.02141017063102
310.99220.946935360385780.95236250.9943013929945581.04780119267674
320.97780.9635994700906930.9684541666666670.9949871695088231.01473696317825
330.98080.9784972756576340.9856291666666670.9927641234145371.00235332729038
340.98110.9944887969589621.002458333333330.9920500073575410.986537005746165
351.00141.014029344935031.02080.9933673049912120.987545385152697
361.01831.04958435152471.03963751.009567615178080.97019358045949
371.06221.075844315360181.054466666666671.020273422924870.98731757451764
381.07731.076219008913781.066179166666671.009416655812641.00100443411357
391.08071.079871604442771.077741666666671.001976297142421.00076712412274
401.08481.082804290904551.091470833333330.992059758113451.00184309307990
411.15821.110546499428341.106341666666671.003800663835021.04290995523032
421.16631.117015602944971.12213750.9954355887268481.04412149384941
431.13721.132704003976931.139195833333330.9943013929945581.00396925940695
441.11391.149504531153671.155295833333330.9949871695088230.9690261932957
451.12221.160702584441651.16916250.9927641234145370.966828208226855
461.16921.170581806806621.17996250.9920500073575410.998819555541879
471.17021.178601334159011.186470833333330.9933673049912120.992871776133696
481.22861.20160840824361.190220833333331.009567615178081.02246288522220
491.26131.220170493311421.1959251.020273422924871.03370799975416
501.26461.215308212279291.203970833333331.009416655812641.04055908387903
511.22621.214837811667851.212441666666671.001976297142421.00935284383069
521.19851.21023023325191.219916666666670.992059758113450.99030743661032
531.20071.2332820430961.22861251.003800663835020.973581028542175
541.21381.233004587273081.238658333333330.9954355887268480.98442456137527
551.22661.238344384060131.245441666666670.9943013929945580.990516059820431
561.21761.242821890313981.249083333333330.9949871695088230.97970594941194
571.22181.245451548443801.254529166666670.9927641234145370.981009659931487
581.2491.252376329913251.26241250.9920500073575410.99730406122137
591.29911.260827312829661.269245833333330.9933673049912121.03035521738853
601.34081.28439295268821.272220833333331.009567615178081.04391728185190
611.31191.297154374210371.271379166666671.020273422924871.01136767225459
621.30141.282876039677751.270908333333331.009416655812641.01443940002722
631.32011.274062960631451.271551.001976297142421.03613403794875
641.29381.259647209952931.269729166666670.992059758113451.02711298034658
651.26941.267528375743841.262729166666671.003800663835021.00147659357532
661.21651.245530485097901.251241666666670.9954355887268480.976692272533487
671.20371.233472307234461.240541666666670.9943013929945580.975863011224622
681.22921.225650070080211.2318250.9949871695088231.00289636496293
691.22561.213575547047841.222420833333330.9927641234145371.00990828546391
701.20151.205063811645691.214720833333330.9920500073575410.997042636571399
711.17861.204217793536471.212258333333330.9933673049912120.978726611021717
721.18561.226216618863561.214595833333331.009567615178080.966876473341874
731.21031.244032137990081.21931251.020273422924870.97288483395246
741.19381.235698428726711.224170833333331.009416655812640.966093322000997
751.2021.230723310878801.228295833333331.001976297142420.976661439151349
761.22711.222953399649701.232741666666670.992059758113451.00339064460795
771.2771.244499515514361.23978751.003800663835021.02611530505274
781.2651.244298633556851.250004166666670.9954355887268481.01663697595165
791.26841.252214888492411.259391666666670.9943013929945581.01292518692784
801.28111.261502774421511.267858333333330.9949871695088231.01553482558727
811.27271.268438174418031.277683333333330.9927641234145371.00335990012594
821.26111.277723207601241.28796250.9920500073575410.98698997756138
831.28811.287639952003551.29623750.9933673049912121.00035727999565
841.32131.314991264491561.302529166666671.009567615178081.00479754936690
851.29991.336592193145671.310033333333331.020273422924870.972547951922928
861.30741.330120945072521.31771251.009416655812640.982918136011098
871.32421.328582995899711.32596251.001976297142420.996700999551225
881.35161.326946063793951.337566666666670.992059758113451.01857945615028
891.35111.356950284880481.35181251.003800663835020.995688652012044
901.34191.358748840370721.364979166666670.9954355887268480.987599738914133
911.37161.369944316345431.377795833333330.9943013929945581.00120857733764
921.3622NANA0.994987169508823NA
931.3896NANA0.992764123414537NA
941.4227NANA0.992050007357541NA
951.4684NANA0.993367304991212NA
961.457NANA1.00956761517808NA
971.4718NANANANA
 
Charts produced by software:
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/May/19/t1211224349nae8nzxg7rvrivp/1jeea1211224313.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/May/19/t1211224349nae8nzxg7rvrivp/1jeea1211224313.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/May/19/t1211224349nae8nzxg7rvrivp/2b95r1211224313.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/May/19/t1211224349nae8nzxg7rvrivp/2b95r1211224313.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/May/19/t1211224349nae8nzxg7rvrivp/30ogy1211224313.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/May/19/t1211224349nae8nzxg7rvrivp/30ogy1211224313.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/May/19/t1211224349nae8nzxg7rvrivp/48ri21211224313.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/May/19/t1211224349nae8nzxg7rvrivp/48ri21211224313.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