Home » date » 2009 » May » 13 »

Opgave 6bis Oefening 2 - Autocorrelatiefunctie - Wisselkoers Euro in Dollar - Anthony Van Trier

*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, 13 May 2009 10:16:39 -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/May/13/t1242231476njkn0xg6c7l25ob.htm/, Retrieved Wed, 13 May 2009 18:17:56 +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/May/13/t1242231476njkn0xg6c7l25ob.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:
 
IsPrivate?
No (this computation is public)
 
User-defined keywords:
 
Dataseries X:
» Textbox « » Textfile « » CSV «
1,1608 1,1208 1,0883 1,0704 1,0628 1,0378 1,0353 1,0604 1,0501 1,0706 1,0338 1,0110 1,0137 0,9834 0,9643 0,9470 0,9060 0,9492 0,9397 0,9041 0,8721 0,8552 0,8564 0,8973 0,9383 0,9217 0,9095 0,8920 0,8742 0,8532 0,8607 0,9005 0,9111 0,9059 0,8883 0,8924 0,8833 0,8700 0,8758 0,8858 0,9170 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,2490 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,2020 1,2271 1,2770 1,2650 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,4570 1,4718 1,4748 1,5527 1,5750 1,5557 1,5553 1,5770 1,4975 1,4369 1,3322 1,2732 1,3449 1,3239
 
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'Sir Ronald Aylmer Fisher' @ 193.190.124.24


Autocorrelation Function
Time lag kACF(k)T-STATP-value
10.98486210.83350
20.96178510.57960
30.94100910.35110
40.91855810.10410
50.8914529.8060
60.8607029.46770
70.8283279.11160
80.7982188.78040
90.7659028.42490
100.7301528.03170
110.6948317.64310
120.6617037.27870
130.6301076.93120
140.6000386.60040
150.5685516.25410
160.5380445.91850
170.5095335.60490
180.4797255.2770
190.4477974.92581e-06
200.4156084.57176e-06
210.3841524.22572.3e-05
220.354563.90027.9e-05
230.326763.59440.000236
240.3008173.3090.000617
250.2743443.01780.001553
260.2481312.72940.003645
270.2237192.46090.007635
280.200962.21060.014473
290.178181.960.026149
300.1570241.72730.043336
310.1393431.53280.063971
320.1223431.34580.090446
330.1071741.17890.120374
340.0967041.06370.144782
350.0875370.96290.168758
360.0750940.8260.205206
370.0613740.67510.250445
380.050880.55970.288366
390.0414120.45550.324773
400.0298610.32850.371564
410.01390.15290.439365
42-0.002211-0.02430.490317
43-0.018134-0.19950.421113
44-0.035241-0.38770.349477
45-0.052197-0.57420.28346
46-0.070007-0.77010.221378
47-0.087478-0.96230.16892
48-0.102798-1.13080.130192


Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
10.98486210.83350
2-0.271816-2.990.00169
30.1442491.58670.057591
4-0.142079-1.56290.060347
5-0.111188-1.22310.11184
6-0.089869-0.98860.162427
7-0.048463-0.53310.297472
80.087260.95990.16952
9-0.141559-1.55710.061023
10-0.031889-0.35080.363183
110.0182150.20040.420766
120.0190850.20990.417038
130.0335950.36950.356183
140.0381540.41970.337727
15-0.078885-0.86770.193629
160.0362210.39840.345508
17-0.025595-0.28150.389386
18-0.08081-0.88890.187907
19-0.052496-0.57750.282351
20-0.039997-0.440.330373
21-0.003108-0.03420.486393
220.018920.20810.417741
230.049960.54960.291818
240.0612810.67410.250771
25-0.090563-0.99620.160572
260.0131340.14450.442683
270.0177730.19550.422663
28-0.007321-0.08050.467975
29-0.027621-0.30380.380888
300.0330580.36360.35838
310.0497680.54740.29254
32-0.078915-0.86810.193539
330.0900720.99080.161881
340.1140881.2550.105954
35-0.056023-0.61630.269443
36-0.140736-1.54810.062105
37-0.009214-0.10140.459719
380.0677520.74530.228777
39-0.082919-0.91210.181764
40-0.055613-0.61170.270926
41-0.138842-1.52730.064652
420.0198010.21780.413971
43-0.08341-0.91750.180352
440.0198880.21880.413599
450.0902120.99230.161509
46-0.072102-0.79310.214628
470.0343340.37770.353168
48-0.012424-0.13670.445763
 
Charts produced by software:
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2009/May/13/t1242231476njkn0xg6c7l25ob/14fj21242231395.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2009/May/13/t1242231476njkn0xg6c7l25ob/14fj21242231395.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2009/May/13/t1242231476njkn0xg6c7l25ob/2ls731242231395.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2009/May/13/t1242231476njkn0xg6c7l25ob/2ls731242231395.ps (open in new window)


 
Parameters (Session):
par1 = 48 ; par2 = 1 ; par3 = 0 ; par4 = 0 ; par5 = 12 ;
 
Parameters (R input):
par1 = 48 ; par2 = 1 ; par3 = 0 ; par4 = 0 ; par5 = 12 ;
 
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 (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='lags',ylab='ACF')
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