Home » date » 2010 » Jun » 01 »

Wisselkoersen

*Unverified author*
R Software Module: /rwasp_decompose.wasp (opens new window with default values)
Title produced by software: Classical Decomposition
Date of computation: Tue, 01 Jun 2010 20:44:47 +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/Jun/01/t1275425139bljdib07oqxpui4.htm/, Retrieved Tue, 01 Jun 2010 22:45:44 +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/Jun/01/t1275425139bljdib07oqxpui4.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 «
1.4272 1.4614 1.4914 1.4816 1.4562 1.4268 1.4088 1.4016 1.365 1.319 1.305 1.2785 1.3239 1.3449 1.2732 1.3322 1.4369 1.4975 1.577 1.5553 1.5557 1.575 1.5527 1.4748 1.4718 1.457 1.4684 1.4227 1.3896 1.3622 1.3716 1.3419 1.3511 1.3516 1.3242 1.3074 1.2999 1.3213 1.2881 1.2611 1.2727 1.2811 1.2684 1.265 1.277 1.2271 1.202 1.1938 1.2103 1.1856 1.1786 1.2015 1.2256 1.2292 1.2037 1.2165 1.2694 1.2938 1.3201 1.3014 1.3119 1.3408 1.2991 1.249 1.2218 1.2176 1.2266 1.2138 1.2007 1.1985 1.2262 1.2646
 
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.4272NANA-0.00418368055555557NA
21.4614NANA0.00525965277777782NA
31.4914NANA-0.0202461805555554NA
41.4816NANA-0.0260528472222221NA
51.4562NANA-0.0083720138888889NA
61.4268NANA0.000600486111111157NA
71.40881.416762986111111.397570833333330.0191921527777777-0.00796298611111101
81.40161.399730486111111.38841250.01131798611111110.00186951388888912
91.3651.395972152777781.374466666666670.0215054861111112-0.030972152777778
101.3191.373856319444441.359150.0147063194444444-0.0548563194444445
111.3051.358218819444441.352120833333330.00609798611111109-0.0532188194444443
121.27851.334437152777781.3542625-0.0198253472222223-0.0559371527777777
131.32391.360032986111111.36421666666667-0.00418368055555557-0.0361329861111110
141.34491.382888819444441.377629166666670.00525965277777782-0.0379888194444444
151.27321.371732986111111.39197916666667-0.0202461805555554-0.098532986111111
161.33221.384538819444441.41059166666667-0.0260528472222221-0.0523388194444443
171.43691.423207152777781.43157916666667-0.00837201388888890.0136928472222224
181.49751.450679652777781.450079166666670.0006004861111111570.0468203472222224
191.5771.483612986111111.464420833333330.01919215277777770.093387013888889
201.55531.486572152777781.475254166666670.01131798611111110.0687278472222221
211.55571.509563819444441.488058333333330.02150548611111120.0461361805555556
221.5751.514668819444441.49996250.01470631944444440.0603311805555558
231.55271.507860486111111.50176250.006097986111111090.0448395138888891
241.47481.474328819444441.49415416666667-0.01982534722222230.000471180555555728
251.47181.475774652777781.47995833333333-0.00418368055555557-0.00397465277777753
261.4571.467767986111111.462508333333330.00525965277777782-0.0107679861111107
271.46841.424845486111111.44509166666667-0.02024618055555540.0435545138888891
281.42271.401205486111111.42725833333333-0.02605284722222210.0214945138888889
291.38961.400057152777781.40842916666667-0.0083720138888889-0.0104571527777777
301.36221.392533819444441.391933333333330.000600486111111157-0.0303338194444442
311.37161.396987986111111.377795833333330.0191921527777777-0.0253879861111113
321.34191.376297152777781.364979166666670.0113179861111111-0.0343971527777776
331.35111.373317986111111.35181250.0215054861111112-0.0222179861111111
341.35161.352272986111111.337566666666670.0147063194444444-0.000672986111111218
351.32421.332060486111111.32596250.00609798611111109-0.00786048611111112
361.30741.297887152777781.3177125-0.01982534722222230.00951284722222212
371.29991.305849652777781.31003333333333-0.00418368055555557-0.00594965277777781
381.32131.307788819444441.302529166666670.005259652777777820.0135111805555554
391.28811.275991319444441.2962375-0.02024618055555540.0121086805555555
401.26111.261909652777781.2879625-0.0260528472222221-0.00080965277777767
411.27271.269311319444441.27768333333333-0.00837201388888890.00338868055555563
421.28111.268458819444441.267858333333330.0006004861111111570.0126411805555555
431.26841.278583819444441.259391666666670.0191921527777777-0.0101838194444444
441.2651.261322152777781.250004166666670.01131798611111110.00367784722222231
451.2771.261292986111111.23978750.02150548611111120.0157070138888888
461.22711.247447986111111.232741666666670.0147063194444444-0.0203479861111111
471.2021.234393819444441.228295833333330.00609798611111109-0.0323938194444442
481.19381.204345486111111.22417083333333-0.0198253472222223-0.0105454861111112
491.21031.215128819444441.2193125-0.00418368055555557-0.00482881944444458
501.18561.219855486111111.214595833333330.00525965277777782-0.0342554861111108
511.17861.192012152777781.21225833333333-0.0202461805555554-0.0134121527777780
521.20151.188667986111111.21472083333333-0.02605284722222210.0128320138888887
531.22561.214048819444441.22242083333333-0.00837201388888890.0115511805555557
541.22921.232425486111111.2318250.000600486111111157-0.00322548611111095
551.20371.259733819444441.240541666666670.0191921527777777-0.0560338194444443
561.21651.262559652777781.251241666666670.0113179861111111-0.0460596527777777
571.26941.284234652777781.262729166666670.0215054861111112-0.0148346527777778
581.29381.284435486111111.269729166666670.01470631944444440.00936451388888915
591.32011.277647986111111.271550.006097986111111090.0424520138888889
601.30141.251082986111111.27090833333333-0.01982534722222230.0503170138888887
611.31191.267195486111111.27137916666667-0.004183680555555570.0447045138888886
621.34081.277480486111111.272220833333330.005259652777777820.0633195138888889
631.29911.248999652777781.26924583333333-0.02024618055555540.0501003472222221
641.2491.236359652777781.2624125-0.02605284722222210.0126403472222223
651.22181.246157152777781.25452916666667-0.0083720138888889-0.0243571527777777
661.21761.249683819444441.249083333333330.000600486111111157-0.0320838194444444
671.2266NANA0.0191921527777777NA
681.2138NANA0.0113179861111111NA
691.2007NANA0.0215054861111112NA
701.1985NANA0.0147063194444444NA
711.2262NANA0.00609798611111109NA
721.2646NANA-0.0198253472222223NA
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2010/Jun/01/t1275425139bljdib07oqxpui4/1fr4c1275425084.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Jun/01/t1275425139bljdib07oqxpui4/1fr4c1275425084.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Jun/01/t1275425139bljdib07oqxpui4/2fr4c1275425084.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Jun/01/t1275425139bljdib07oqxpui4/2fr4c1275425084.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Jun/01/t1275425139bljdib07oqxpui4/3fr4c1275425084.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Jun/01/t1275425139bljdib07oqxpui4/3fr4c1275425084.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Jun/01/t1275425139bljdib07oqxpui4/4803f1275425084.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Jun/01/t1275425139bljdib07oqxpui4/4803f1275425084.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