Home » date » 2011 » May » 18 »

Autocorrelatie Goudkoers Brussel

*Unverified author*
R Software Module: /rwasp_autocorrelation.wasp (opens new window with default values)
Title produced by software: (Partial) Autocorrelation Function
Date of computation: Wed, 18 May 2011 17:07:16 +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/18/t1305738189rtteg1mks3g820o.htm/, Retrieved Wed, 18 May 2011 19:03:12 +0200
 
Original text written by user:
 
IsPrivate?
No (this computation is public)
 
User-defined keywords:
KEYWORD: KDGP2W12
 
Dataseries X:
» Textbox « » Textfile « » CSV «
32819 32700 32242 32810 33865 32226 31077 31293 30236 30160 32436 30695 27525 26434 25739 25204 24977 24320 22680 22052 21467 21383 21777 21928 21814 22937 23595 20830 19650 19195 19644 18483 18079 19178 18391 18441 18584 20108 20148 19394 17745 17696 17032 16438 15683 15594 15713 15937 16171 15928 16348 15579 15305 15648 14954 15137 15839 16050 15168 17064 16005 14886 14931 14544 13812 13031 12574 11964 11451 11346 11353 10702 10646 10556 10463 10407 10625 10872 10805 10653 10574 10431 10383 10296 10872 10635 10297 10570 10662 10709 10413 10846 10371 9924 9828
 
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'Herman Ole Andreas Wold' @ www.yougetit.org


Autocorrelation Function
Time lag kACF(k)T-STATP-value
10.9615469.3720
20.9212468.97920
30.8849798.62570
40.8453338.23930
50.7996737.79420
60.7606537.41390
70.72297.0460
80.6815526.64290
90.6440326.27730
100.6065135.91160
110.5619285.4770
120.5204455.07271e-06
130.4870654.74734e-06
140.4554794.43951.2e-05
150.4264294.15633.5e-05
160.3968813.86831e-04
170.3659693.5670.000284
180.3383743.29810.000685
190.3161613.08160.001347
200.2956892.8820.002443
210.2762312.69240.004193
220.2567652.50260.007018
230.2330462.27150.012688
240.2075462.02290.022946
250.1839241.79270.038104
260.1567171.52750.064981
270.1257391.22560.111699
280.1026541.00050.159793
290.0840330.81910.207404
300.066690.650.258627
310.0494210.48170.315565
320.036430.35510.361659
330.0254660.24820.402254
340.009290.09050.46402
35-0.004128-0.04020.483994
36-0.015633-0.15240.43961
37-0.031019-0.30230.381527
38-0.050908-0.49620.310453
39-0.071816-0.70.242826
40-0.09202-0.89690.186019
41-0.10824-1.0550.147051
42-0.122508-1.19410.117714
43-0.135242-1.31820.095308
44-0.146595-1.42880.078166
45-0.153693-1.4980.068722
46-0.161002-1.56920.059957
47-0.169951-1.65650.050462
48-0.180145-1.75580.04117


Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
10.9615469.3720
2-0.04409-0.42970.33418
30.0331780.32340.37356
4-0.066847-0.65150.258134
5-0.096602-0.94160.174402
60.0629680.61370.270427
7-0.015878-0.15480.43867
8-0.056028-0.54610.293141
90.0297930.29040.386075
10-0.04423-0.43110.333685
11-0.105686-1.03010.152788
120.0234760.22880.409751
130.0592310.57730.282546
140.0143570.13990.444504
150.0317620.30960.378781
16-0.060602-0.59070.27807
17-0.047319-0.46120.32285
180.0375750.36620.357501
190.0394060.38410.350888
200.0174370.170.432702
210.0116070.11310.455083
22-0.046812-0.45630.324619
23-0.093095-0.90740.183251
24-0.035223-0.34330.366061
250.0042910.04180.483365
26-0.048385-0.47160.319146
27-0.047536-0.46330.322096
280.0580780.56610.28634
290.0127690.12450.450609
300.024350.23730.406454
31-0.011263-0.10980.456407
320.0307110.29930.382671
330.0375660.36610.357535
34-0.088288-0.86050.195834
35-0.002303-0.02240.491069
360.0035170.03430.486361
37-0.058671-0.57190.284387
38-0.081539-0.79470.214371
39-0.061902-0.60330.273858
40-0.014459-0.14090.444113
410.058480.570.285014
420.0090560.08830.464924
43-0.005308-0.05170.479423
440.009290.09050.464023
450.0336950.32840.371659
46-0.015077-0.14690.441742
47-0.009791-0.09540.462087
48-0.020378-0.19860.421494
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2011/May/18/t1305738189rtteg1mks3g820o/1ie6p1305738434.png (open in new window)
http://www.freestatistics.org/blog/date/2011/May/18/t1305738189rtteg1mks3g820o/1ie6p1305738434.ps (open in new window)


http://www.freestatistics.org/blog/date/2011/May/18/t1305738189rtteg1mks3g820o/206ii1305738434.png (open in new window)
http://www.freestatistics.org/blog/date/2011/May/18/t1305738189rtteg1mks3g820o/206ii1305738434.ps (open in new window)


http://www.freestatistics.org/blog/date/2011/May/18/t1305738189rtteg1mks3g820o/369ku1305738434.png (open in new window)
http://www.freestatistics.org/blog/date/2011/May/18/t1305738189rtteg1mks3g820o/369ku1305738434.ps (open in new window)


 
Parameters (Session):
par1 = Goudkoers Brussel 2003-2011 ; par2 = http://www.nbb.be/belgostat/PresentationLinker?TableId=751000059&Lang=N ; par3 = Goudkoers Brussel (EUR/kg) ; par4 = 12 ;
 
Parameters (R input):
par1 = 48 ; par2 = 1 ; par3 = 0 ; par4 = 0 ; par5 = 12 ; par6 = White Noise ; par7 = 0.95 ;
 
R code (references can be found in the software module):
if (par1 == 'Default') {
par1 = 10*log10(length(x))
} else {
par1 <- as.numeric(par1)
}
par2 <- as.numeric(par2)
par3 <- as.numeric(par3)
par4 <- as.numeric(par4)
par5 <- as.numeric(par5)
if (par6 == 'White Noise') par6 <- 'white' else par6 <- 'ma'
par7 <- as.numeric(par7)
if (par8 != '') par8 <- as.numeric(par8)
ox <- x
if (par8 == '') {
if (par2 == 0) {
x <- log(x)
} else {
x <- (x ^ par2 - 1) / par2
}
} else {
x <- log(x,base=par8)
}
if (par3 > 0) x <- diff(x,lag=1,difference=par3)
if (par4 > 0) x <- diff(x,lag=par5,difference=par4)
bitmap(file='picts.png')
op <- par(mfrow=c(2,1))
plot(ox,type='l',main='Original Time Series',xlab='time',ylab='value')
if (par8=='') {
mytitle <- paste('Working Time Series (lambda=',par2,', d=',par3,', D=',par4,')',sep='')
mysub <- paste('(lambda=',par2,', d=',par3,', D=',par4,', CI=', par7, ', CI type=',par6,')',sep='')
} else {
mytitle <- paste('Working Time Series (base=',par8,', d=',par3,', D=',par4,')',sep='')
mysub <- paste('(base=',par8,', d=',par3,', D=',par4,', CI=', par7, ', CI type=',par6,')',sep='')
}
plot(x,type='l', main=mytitle,xlab='time',ylab='value')
par(op)
dev.off()
bitmap(file='pic1.png')
racf <- acf(x, par1, main='Autocorrelation', xlab='time lag', ylab='ACF', ci.type=par6, ci=par7, sub=mysub)
dev.off()
bitmap(file='pic2.png')
rpacf <- pacf(x,par1,main='Partial Autocorrelation',xlab='lags',ylab='PACF',sub=mysub)
dev.off()
(myacf <- c(racf$acf))
(mypacf <- c(rpacf$acf))
lengthx <- length(x)
sqrtn <- sqrt(lengthx)
load(file='createtable')
a<-table.start()
a<-table.row.start(a)
a<-table.element(a,'Autocorrelation Function',4,TRUE)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'Time lag k',header=TRUE)
a<-table.element(a,hyperlink('http://www.xycoon.com/basics.htm','ACF(k)','click here for more information about the Autocorrelation Function'),header=TRUE)
a<-table.element(a,'T-STAT',header=TRUE)
a<-table.element(a,'P-value',header=TRUE)
a<-table.row.end(a)
for (i in 2:(par1+1)) {
a<-table.row.start(a)
a<-table.element(a,i-1,header=TRUE)
a<-table.element(a,round(myacf[i],6))
mytstat <- myacf[i]*sqrtn
a<-table.element(a,round(mytstat,4))
a<-table.element(a,round(1-pt(abs(mytstat),lengthx),6))
a<-table.row.end(a)
}
a<-table.end(a)
table.save(a,file='mytable.tab')
a<-table.start()
a<-table.row.start(a)
a<-table.element(a,'Partial Autocorrelation Function',4,TRUE)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'Time lag k',header=TRUE)
a<-table.element(a,hyperlink('http://www.xycoon.com/basics.htm','PACF(k)','click here for more information about the Partial Autocorrelation Function'),header=TRUE)
a<-table.element(a,'T-STAT',header=TRUE)
a<-table.element(a,'P-value',header=TRUE)
a<-table.row.end(a)
for (i in 1:par1) {
a<-table.row.start(a)
a<-table.element(a,i,header=TRUE)
a<-table.element(a,round(mypacf[i],6))
mytstat <- mypacf[i]*sqrtn
a<-table.element(a,round(mytstat,4))
a<-table.element(a,round(1-pt(abs(mytstat),lengthx),6))
a<-table.row.end(a)
}
a<-table.end(a)
table.save(a,file='mytable1.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