Home » date » 2009 » Jan » 14 »

Koers euro-dollar 9/2002 tem 8/2008 - Classical decomposition (additief) - Spillemaeckers Matthias

*Unverified author*
R Software Module: rwasp_decompose.wasp (opens new window with default values)
Title produced by software: Classical Decomposition
Date of computation: Wed, 14 Jan 2009 15:26:05 -0700
 
Cite this page as follows:
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL http://www.freestatistics.org/blog/date/2009/Jan/14/t12319720358o7qww6leeyve70.htm/, Retrieved Wed, 14 Jan 2009 23:27:20 +0100
 
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/2009/Jan/14/t12319720358o7qww6leeyve70.htm/},
    year = {2009},
}
@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 = {2009},
    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:
 
Dataseries X:
» Textbox « » Textfile « » CSV «
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
 
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' @ 72.249.76.132


Classical Decomposition by Moving Averages
tObservationsFitTrendSeasonalRandom
10.9808NANA-0.0194845138888890NA
20.9811NANA-0.0131828472222221NA
31.0014NANA-0.000400347222222256NA
41.0183NANA0.0188254861111111NA
51.0622NANA0.0162988194444445NA
61.0773NANA0.00679715277777771NA
71.08071.085763819444441.077741666666670.00802215277777788-0.00506381944444456
81.08481.092926319444441.091470833333330.00145548611111109-0.00812631944444453
91.15821.120345486111111.106341666666670.01400381944444450.0378545138888886
101.16631.118013819444441.1221375-0.004123680555555650.0482861805555554
111.13721.128802986111111.13919583333333-0.01039284722222220.00839701388888914
121.11391.137477152777781.15529583333333-0.0178186805555555-0.0235771527777779
131.12221.149677986111111.1691625-0.0194845138888890-0.0274779861111110
141.16921.166779652777781.1799625-0.01318284722222210.00242034722222240
151.17021.186070486111111.18647083333333-0.000400347222222256-0.0158704861111112
161.22861.209046319444441.190220833333330.01882548611111110.0195536805555554
171.26131.212223819444441.1959250.01629881944444450.0490761805555557
181.26461.210767986111111.203970833333330.006797152777777710.053832013888889
191.22621.220463819444441.212441666666670.008022152777777880.00573618055555558
201.19851.221372152777781.219916666666670.00145548611111109-0.022872152777778
211.20071.242616319444441.22861250.0140038194444445-0.0419163194444443
221.21381.234534652777781.23865833333333-0.00412368055555565-0.0207346527777779
231.22661.235048819444441.24544166666667-0.0103928472222222-0.00844881944444431
241.21761.231264652777781.24908333333333-0.0178186805555555-0.0136646527777775
251.22181.235044652777781.25452916666667-0.0194845138888890-0.0132446527777776
261.2491.249229652777781.2624125-0.0131828472222221-0.000229652777777867
271.29911.268845486111111.26924583333333-0.0004003472222222560.030254513888889
281.34081.291046319444441.272220833333330.01882548611111110.0497536805555558
291.31191.287677986111111.271379166666670.01629881944444450.0242220138888891
301.30141.277705486111111.270908333333330.006797152777777710.0236945138888889
311.32011.279572152777781.271550.008022152777777880.0405278472222221
321.29381.271184652777781.269729166666670.001455486111111090.0226153472222221
331.26941.276732986111111.262729166666670.0140038194444445-0.00733298611111088
341.21651.247117986111111.25124166666667-0.00412368055555565-0.0306179861111111
351.20371.230148819444441.24054166666667-0.0103928472222222-0.0264488194444443
361.22921.214006319444441.231825-0.01781868055555550.0151936805555557
371.22561.202936319444441.22242083333333-0.01948451388888900.0226636805555556
381.20151.201537986111111.21472083333333-0.0131828472222221-3.79861111110547e-05
391.17861.211857986111111.21225833333333-0.000400347222222256-0.0332579861111109
401.18561.233421319444441.214595833333330.0188254861111111-0.0478213194444441
411.21031.235611319444441.21931250.0162988194444445-0.0253113194444448
421.19381.230967986111111.224170833333330.00679715277777771-0.0371679861111112
431.2021.236317986111111.228295833333330.00802215277777788-0.0343179861111111
441.22711.234197152777781.232741666666670.00145548611111109-0.00709715277777745
451.2771.253791319444441.23978750.01400381944444450.0232086805555554
461.2651.245880486111111.25000416666667-0.004123680555555650.0191195138888887
471.26841.248998819444441.25939166666667-0.01039284722222220.0194011805555556
481.28111.250039652777781.26785833333333-0.01781868055555550.0310603472222222
491.27271.258198819444441.27768333333333-0.01948451388888900.0145011805555559
501.26111.274779652777781.2879625-0.0131828472222221-0.0136796527777776
511.28811.295837152777781.2962375-0.000400347222222256-0.00773715277777764
521.32131.321354652777781.302529166666670.0188254861111111-5.46527777776085e-05
531.29991.326332152777781.310033333333330.0162988194444445-0.0264321527777778
541.30741.324509652777781.31771250.00679715277777771-0.0171096527777779
551.32421.333984652777781.32596250.00802215277777788-0.00978465277777785
561.35161.339022152777781.337566666666670.001455486111111090.0125778472222222
571.35111.365816319444441.35181250.0140038194444445-0.0147163194444442
581.34191.360855486111111.36497916666667-0.00412368055555565-0.0189554861111110
591.37161.367402986111111.37779583333333-0.01039284722222220.00419701388888893
601.36221.374114652777781.39193333333333-0.0178186805555555-0.0119146527777776
611.38961.388944652777781.40842916666667-0.01948451388888900.000655347222222158
621.42271.414075486111111.42725833333333-0.01318284722222210.00862451388888896
631.46841.444691319444441.44509166666667-0.0004003472222222560.0237086805555553
641.4571.481333819444441.462508333333330.0188254861111111-0.0243338194444445
651.47181.496257152777781.479958333333330.0162988194444445-0.0244571527777777
661.47481.500951319444441.494154166666670.00679715277777771-0.0261513194444443
671.5527NANA0.00802215277777788NA
681.575NANA0.00145548611111109NA
691.5557NANA0.0140038194444445NA
701.5553NANA-0.00412368055555565NA
711.577NANA-0.0103928472222222NA
721.4975NANA-0.0178186805555555NA
 
Charts produced by software:
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2009/Jan/14/t12319720358o7qww6leeyve70/1qsqj1231971963.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2009/Jan/14/t12319720358o7qww6leeyve70/1qsqj1231971963.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2009/Jan/14/t12319720358o7qww6leeyve70/25o9t1231971963.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2009/Jan/14/t12319720358o7qww6leeyve70/25o9t1231971963.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2009/Jan/14/t12319720358o7qww6leeyve70/38p1r1231971963.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2009/Jan/14/t12319720358o7qww6leeyve70/38p1r1231971963.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2009/Jan/14/t12319720358o7qww6leeyve70/4h6el1231971963.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2009/Jan/14/t12319720358o7qww6leeyve70/4h6el1231971963.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