Home » date » 2010 » May » 03 »

Wisselkoers Autocorrelatie

*Unverified author*
R Software Module: /rwasp_autocorrelation.wasp (opens new window with default values)
Title produced by software: (Partial) Autocorrelation Function
Date of computation: Mon, 03 May 2010 09:42:56 +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/May/03/t1272879852p5tekmstlnfbby8.htm/, Retrieved Mon, 03 May 2010 11:44:12 +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/May/03/t1272879852p5tekmstlnfbby8.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:
KDGP2W21
 
Dataseries X:
» Textbox « » Textfile « » CSV «
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 1.4748 1.5527 1.575 1.5557 1.5553 1.577 1.4975 1.4369 1.3322 1.2732 1.3449 1.3239 1.2785 1.305 1.319 1.365 1.4016 1.4088 1.4268 1.4562 1.4816 1.4914 1.4614 1.4272
 
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'RServer@AstonUniversity' @ vre.aston.ac.uk


Autocorrelation Function
Time lag kACF(k)T-STATP-value
10.9498519.3550
20.8837398.70380
30.8165098.04170
40.7502187.38880
50.685836.75460
60.6253436.15890
70.5741765.6550
80.5302115.2221e-06
90.4908824.83463e-06
100.4546434.47771e-05
110.4246294.18213.2e-05
120.399813.93777.7e-05
130.3816893.75920.000146
140.3666363.61090.000243
150.3526043.47270.000386
160.3330243.27990.000722
170.3170793.12290.001181
180.295752.91280.002223
190.2618892.57930.005701
200.2212762.17930.015865
210.1800441.77320.039665
220.1465611.44350.076057
230.1148691.13130.130354
240.0963220.94870.172574
250.0816960.80460.211505
260.0696270.68570.247255
270.0526610.51870.302591
280.035190.34660.364828
290.0208880.20570.418717
300.0131320.12930.448678
310.0082140.08090.467843
320.0010370.01020.495935
33-0.005366-0.05280.47898
34-0.002384-0.02350.490657
350.0100520.0990.46067
360.0251310.24750.402518
370.033540.33030.370931
380.0406230.40010.344985
390.0504110.49650.310337
400.0529550.52160.301586
410.0430840.42430.336132
420.0224540.22110.412721
43-0.000186-0.00180.49927
44-0.019701-0.1940.423278
45-0.038455-0.37870.352854
46-0.059451-0.58550.279778
47-0.081945-0.80710.210803
48-0.098498-0.97010.167207
49-0.110225-1.08560.140175
50-0.124328-1.22450.111866
51-0.137827-1.35740.088896
52-0.148618-1.46370.073253
53-0.152816-1.50510.067778
54-0.16386-1.61380.054906
55-0.179884-1.77170.039796
56-0.197367-1.94380.027406
57-0.218184-2.14890.017067
58-0.241506-2.37860.00967
59-0.264323-2.60330.005341
60-0.282795-2.78520.003217


Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
10.9498519.3550
2-0.18898-1.86120.03287
3-0.021663-0.21340.415747
4-0.027614-0.2720.393114
5-0.02083-0.20510.418943
6-0.002434-0.0240.490462
70.0500790.49320.311486
80.0153950.15160.439901
90.0010980.01080.495697
10-0.005465-0.05380.478593
110.0343690.33850.367862
120.0182210.17950.428976
130.04610.4540.32541
140.0061970.0610.475729
15-0.001886-0.01860.492607
16-0.066475-0.65470.257103
170.0539860.53170.298076
18-0.072707-0.71610.23783
19-0.116242-1.14480.127545
20-0.048965-0.48230.315357
21-0.011723-0.11550.45416
220.051430.50650.306817
23-0.024434-0.24060.40517
240.1114971.09810.137436
25-0.032778-0.32280.373762
26-0.012348-0.12160.451729
27-0.079895-0.78690.216636
28-0.006122-0.06030.476023
290.0124180.12230.451457
300.0502680.49510.310831
31-0.001188-0.01170.495345
32-0.048739-0.480.316147
330.0082770.08150.4676
340.1117711.10080.13685
350.0784930.77310.22068
360.0367030.36150.359263
37-0.065245-0.64260.261002
380.0290830.28640.38758
390.0096380.09490.462284
40-0.062312-0.61370.270424
41-0.112766-1.11060.13474
42-0.099786-0.98280.164081
43-0.022514-0.22170.412491
440.0283530.27920.390325
450.0290980.28660.387522
46-0.031827-0.31350.377301
47-0.02651-0.26110.397286
480.005410.05330.478809
49-0.003912-0.03850.484672
50-0.07174-0.70660.240766
51-0.011244-0.11070.456024
52-0.027352-0.26940.394103
530.0041620.0410.483692
54-0.135404-1.33360.092733
55-0.030146-0.29690.383589
56-0.018398-0.18120.428294
57-0.020022-0.19720.422043
58-0.010334-0.10180.459573
590.0417920.41160.340768
600.0253240.24940.401783
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2010/May/03/t1272879852p5tekmstlnfbby8/1q3x01272879773.png (open in new window)
http://www.freestatistics.org/blog/date/2010/May/03/t1272879852p5tekmstlnfbby8/1q3x01272879773.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/May/03/t1272879852p5tekmstlnfbby8/2q3x01272879773.png (open in new window)
http://www.freestatistics.org/blog/date/2010/May/03/t1272879852p5tekmstlnfbby8/2q3x01272879773.ps (open in new window)


 
Parameters (Session):
par1 = 60 ; par2 = 1 ; par3 = 0 ; par4 = 0 ; par5 = 12 ; par6 = White Noise ; par7 = 0.95 ;
 
Parameters (R input):
par1 = 60 ; 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 (par2 == 0) {
x <- log(x)
} else {
x <- (x ^ par2 - 1) / par2
}
if (par3 > 0) x <- diff(x,lag=1,difference=par3)
if (par4 > 0) x <- diff(x,lag=par5,difference=par4)
bitmap(file='pic1.png')
racf <- acf(x, par1, main='Autocorrelation', xlab='time lag', ylab='ACF', ci.type=par6, ci=par7, sub=paste('(lambda=',par2,', d=',par3,', D=',par4,', CI=', par7, ', CI type=',par6,')',sep=''))
dev.off()
bitmap(file='pic2.png')
rpacf <- pacf(x,par1,main='Partial Autocorrelation',xlab='lags',ylab='PACF')
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