Home » date » 2009 » Jun » 07 »

Koers € t.o.v. £

*Unverified author*
R Software Module: rwasp_decompose.wasp (opens new window with default values)
Title produced by software: Classical Decomposition
Date of computation: Sun, 07 Jun 2009 11:55:03 -0600
 
Cite this page as follows:
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL http://www.freestatistics.org/blog/date/2009/Jun/07/t124439735036qqinwg0oabv6q.htm/, Retrieved Sun, 07 Jun 2009 19:55:54 +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/2009/Jun/07/t124439735036qqinwg0oabv6q.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:
Wesley De Bondt
 
IsPrivate?
No (this computation is public)
 
User-defined keywords:
Wesley De Bondt
 
Dataseries X:
» Textbox « » Textfile « » CSV «
0,63709 0,64218 0,65711 0,66977 0,68255 0,68902 0,71322 0,70224 0,70045 0,69919 0,69693 0,69763 0,69278 0,70196 0,69215 0,6769 0,67124 0,66533 0,67157 0,66428 0,66576 0,66942 0,68130 0,69144 0,69862 0,695 0,69867 0,68968 0,69233 0,68293 0,68399 0,66895 0,68756 0,68527 0,6776 0,68137 0,67933 0,67922 0,68598 0,68297 0,68935 0,69463 0,6833 0,68666 0,68782 0,67669 0,67511 0,67254 0,67397 0,67286 0,66341 0,668 0,68021 0,67934 0,68136 0,67562 0,6744 0,67766 0,68887 0,69614 0,70896 0,72064 0,74725 0,75094 0,77494 0,79487 0,79209 0,79152 0,79308 0,79279 0,79924 0,78668
 
Output produced by software:


Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time1 seconds
R Server'Gwilym Jenkins' @ 72.249.127.135


Classical Decomposition by Moving Averages
tObservationsFitTrendSeasonalRandom
10.63709NANA-0.000334777777777821NA
20.64218NANA0.00146797222222217NA
30.65711NANA0.00350805555555562NA
40.66977NANA-0.00183786111111109NA
50.68255NANA0.00444555555555557NA
60.68902NANA0.00465688888888900NA
70.713220.6889463055555560.6846020833333330.004344222222222260.0242736944444443
80.702240.6853668055555560.689413333333333-0.004046527777777810.0168731944444444
90.700450.6915606388888890.693364166666667-0.001803527777777770.00888936111111116
100.699190.6903381388888890.69512125-0.00478311111111110.00885186111111103
110.696930.6910336388888890.694947083333333-0.003913444444444480.00589636111111125
120.697630.6917853055555560.69348875-0.001703444444444530.00584469444444435
130.692780.6904314722222220.69076625-0.0003347777777778210.00234852777777772
140.701960.6889171388888890.6874491666666670.001467972222222170.0130428611111112
150.692150.6879301388888890.6844220833333330.003508055555555620.00421986111111106
160.67690.6798983888888890.68173625-0.00183786111111109-0.00299838888888881
170.671240.6842901388888890.6798445833333330.00444555555555557-0.0130501388888890
180.665330.6835923055555560.6789354166666670.00465688888888900-0.0182623055555556
190.671570.6832650555555560.6789208333333330.00434422222222226-0.0116950555555555
200.664280.6748276388888890.678874166666667-0.00404652777777781-0.0105476388888889
210.665760.6770523055555550.678855833333333-0.00180352777777777-0.0112923055555554
220.669420.6748768888888890.67966-0.0047831111111111-0.00545688888888884
230.68130.6771578055555550.68107125-0.003913444444444480.00414219444444452
240.691440.6809798888888890.682683333333333-0.001703444444444530.0104601111111111
250.698620.6835993888888890.683934166666667-0.0003347777777778210.0150206111111113
260.6950.6861142222222220.684646250.001467972222222170.00888577777777777
270.698670.6892572222222220.6857491666666670.003508055555555620.00941277777777771
280.689680.6854800555555560.687317916666667-0.001837861111111090.00419994444444438
290.692330.6922697222222220.6878241666666670.004445555555555576.02777777777286e-05
300.682930.6919073055555560.6872504166666670.00465688888888900-0.00897730555555565
310.683990.6903713055555550.6860270833333330.00434422222222226-0.0063813055555555
320.668950.6805193055555560.684565833333333-0.00404652777777781-0.0115693055555555
330.687560.6815760555555560.683379583333333-0.001803527777777770.00598394444444428
340.685270.6777881388888890.68257125-0.00478311111111110.00748186111111104
350.67760.6782540555555560.6821675-0.00391344444444448-0.000654055555555533
360.681370.6808273888888890.682530833333333-0.001703444444444530.000542611111111091
370.679330.6826548055555560.682989583333333-0.000334777777777821-0.00332480555555559
380.679220.6851667222222220.683698750.00146797222222217-0.00594672222222214
390.685980.6879555555555560.68444750.00350805555555562-0.00197555555555551
400.682970.6822629722222220.684100833333333-0.001837861111111090.000707027777777647
410.689350.6880851388888890.6836395833333330.004445555555555570.00126486111111113
420.694630.6878248055555560.6831679166666670.004656888888889000.00680519444444427
430.68330.6869208888888890.6825766666666670.00434422222222226-0.00362088888888901
440.686660.6780418055555560.682088333333333-0.004046527777777810.00861819444444445
450.687820.6790793888888890.680882916666667-0.001803527777777770.00874061111111113
460.676690.6745356388888890.67931875-0.00478311111111110.00215436111111111
470.675110.6744007222222220.678314166666667-0.003913444444444480.00070927777777785
480.672540.6755928055555560.67729625-0.00170344444444453-0.00305280555555554
490.673970.6762435555555560.676578333333333-0.000334777777777821-0.00227355555555564
500.672860.6775054722222220.67603750.00146797222222217-0.00464547222222234
510.663410.6785263888888890.6750183333333330.00350805555555562-0.0151163888888889
520.6680.6726617222222220.674499583333333-0.00183786111111109-0.00466172222222228
530.680210.6795588888888890.6751133333333330.004445555555555570.000651111111111047
540.679340.6813268888888890.676670.00465688888888900-0.00198688888888887
550.681360.6834554722222220.679111250.00434422222222226-0.00209547222222228
560.675620.6785134722222220.68256-0.00404652777777781-0.00289347222222225
570.67440.6862406388888890.688044166666667-0.00180352777777777-0.0118406388888888
580.677660.6902102222222220.694993333333333-0.0047831111111111-0.0125502222222222
590.688870.6984828055555560.70239625-0.00391344444444448-0.00961280555555566
600.696140.7094536388888890.711157083333333-0.00170344444444453-0.0133136388888890
610.708960.7202498055555560.720584583333334-0.000334777777777821-0.0112898055555557
620.720640.7314954722222220.73002750.00146797222222217-0.0108554722222223
630.747250.7433097222222220.7398016666666670.003508055555555620.00394027777777761
640.750940.7477058888888890.74954375-0.001837861111111090.00323411111111116
650.774940.7633851388888890.7589395833333330.004445555555555570.0115548611111111
660.794870.7719677222222220.7673108333333330.004656888888889000.0229022777777779
670.79209NANA0.00434422222222226NA
680.79152NANA-0.00404652777777781NA
690.79308NANA-0.00180352777777777NA
700.79279NANA-0.0047831111111111NA
710.79924NANA-0.00391344444444448NA
720.78668NANA-0.00170344444444453NA
 
Charts produced by software:
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2009/Jun/07/t124439735036qqinwg0oabv6q/1y4yk1244397301.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2009/Jun/07/t124439735036qqinwg0oabv6q/1y4yk1244397301.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2009/Jun/07/t124439735036qqinwg0oabv6q/2vy6f1244397301.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2009/Jun/07/t124439735036qqinwg0oabv6q/2vy6f1244397301.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2009/Jun/07/t124439735036qqinwg0oabv6q/3bt021244397301.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2009/Jun/07/t124439735036qqinwg0oabv6q/3bt021244397301.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2009/Jun/07/t124439735036qqinwg0oabv6q/4s1go1244397301.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2009/Jun/07/t124439735036qqinwg0oabv6q/4s1go1244397301.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