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:46:02 +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/t1272880012pa2peardqtb07g6.htm/, Retrieved Mon, 03 May 2010 11:46: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/2010/May/03/t1272880012pa2peardqtb07g6.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 time6 seconds
R Server'George Udny Yule' @ 72.249.76.132


Autocorrelation Function
Time lag kACF(k)T-STATP-value
10.300532.94460.002028
2-0.036911-0.36170.359201
3-0.00596-0.05840.476779
40.0825210.80850.210391
50.0657480.64420.260491
6-0.111266-1.09020.139181
7-0.275944-2.70370.004056
8-0.079231-0.77630.219738
9-0.026954-0.26410.396138
10-0.091408-0.89560.186349
11-0.051186-0.50150.308578
12-0.115336-1.13010.130635
13-0.084622-0.82910.204545
140.0970040.95040.172137
150.0471830.46230.322458
16-0.019846-0.19440.423119
170.0499170.48910.312949
180.0625180.61250.270812
190.1035931.0150.15633
200.0169040.16560.434402
21-0.097521-0.95550.170861
22-0.037152-0.3640.358324
23-0.021127-0.2070.418223
240.0042960.04210.483255
25-0.052618-0.51550.303677
26-0.058941-0.57750.282477
27-0.036999-0.36250.35888
28-0.042315-0.41460.33968
29-0.102291-1.00220.159372
30-0.064934-0.63620.263072
310.0631180.61840.268878
32-0.040327-0.39510.346815
33-0.17491-1.71380.0449
34-0.031039-0.30410.38085
350.1120511.09790.137504
360.0749380.73420.232296
37-0.056706-0.55560.289887
380.0467870.45840.323844
390.1367341.33970.091751
400.2186722.14250.017339
410.0597850.58580.279701
420.0102510.10040.460105
430.0027540.0270.489263
44-0.075529-0.740.230543
450.0397620.38960.348851
46-0.021169-0.20740.418062
47-0.141712-1.38850.084102
48-0.083738-0.82050.206993
490.0293340.28740.387207
500.0125680.12310.451128
51-0.033288-0.32620.372509
52-0.044925-0.44020.330401
530.1230641.20580.115434
540.1855161.81770.036116
550.0540360.52940.298859
56-0.053219-0.52140.30163
57-0.040761-0.39940.345253
580.0245770.24080.405111
590.0244060.23910.405758
60-0.01242-0.12170.451699


Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
10.300532.94460.002028
2-0.139862-1.37040.086886
30.0546230.53520.296877
40.0701050.68690.246907
50.0184530.18080.428453
6-0.141019-1.38170.085136
7-0.214649-2.10310.019035
80.0598620.58650.279448
9-0.075354-0.73830.231061
10-0.061384-0.60140.274484
110.0429020.42030.337585
12-0.129635-1.27020.103549
13-0.06486-0.63550.263308
140.0992860.97280.166548
15-0.029334-0.28740.387208
16-0.037503-0.36750.357045
170.0657570.64430.260463
180.0075160.07360.470726
190.0124060.12160.451752
20-0.049548-0.48550.314225
21-0.045009-0.4410.330105
22-0.029408-0.28810.386931
23-0.054335-0.53240.297849
240.0757090.74180.230011
25-0.081253-0.79610.213966
260.0165410.16210.435795
27-0.013851-0.13570.446166
28-0.103636-1.01540.156228
29-0.087526-0.85760.196631
30-0.009596-0.0940.462643
310.0961970.94250.174143
32-0.158876-1.55670.061421
33-0.179644-1.76010.040784
340.080980.79340.21474
350.0239010.23420.407672
36-0.060282-0.59060.278075
37-0.049204-0.48210.315416
380.1448031.41880.079601
39-0.021458-0.21020.416963
400.1310121.28360.101178
41-0.015053-0.14750.441526
420.0151750.14870.441056
43-0.049514-0.48510.314342
44-0.10893-1.06730.144257
450.1462651.43310.077539
46-0.11098-1.08740.139797
470.0220960.21650.41453
480.0106140.1040.458693
490.0149390.14640.441969
50-0.035823-0.3510.36318
51-0.014061-0.13780.445356
520.1048061.02690.153527
530.0784080.76820.222117
540.0314060.30770.379484
55-0.022752-0.22290.412033
56-0.052211-0.51160.305065
57-0.094256-0.92350.179027
580.0248020.2430.404259
59-0.034283-0.33590.36884
600.0570540.5590.288727
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2010/May/03/t1272880012pa2peardqtb07g6/1vzj11272879956.png (open in new window)
http://www.freestatistics.org/blog/date/2010/May/03/t1272880012pa2peardqtb07g6/1vzj11272879956.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/May/03/t1272880012pa2peardqtb07g6/268in1272879956.png (open in new window)
http://www.freestatistics.org/blog/date/2010/May/03/t1272880012pa2peardqtb07g6/268in1272879956.ps (open in new window)


 
Parameters (Session):
par1 = 60 ; par2 = 1 ; par3 = 1 ; par4 = 0 ; par5 = 12 ; par6 = White Noise ; par7 = 0.95 ;
 
Parameters (R input):
par1 = 60 ; par2 = 1 ; par3 = 1 ; 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