Home » date » 2009 » Jun » 05 »

Koers € t.o.v. £

*Unverified author*
R Software Module: rwasp_autocorrelation.wasp (opens new window with default values)
Title produced by software: (Partial) Autocorrelation Function
Date of computation: Fri, 05 Jun 2009 06:33:28 -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/05/t1244205259f1xfmnquj1s1os1.htm/, Retrieved Fri, 05 Jun 2009 14:34:21 +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/05/t1244205259f1xfmnquj1s1os1.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


Autocorrelation Function
Time lag kACF(k)T-STATP-value
10.1675161.41150.08123
20.2905282.4480.008419
30.20411.71980.044915
40.1033590.87090.193367
50.0488420.41150.340955
6-0.042228-0.35580.361516
7-0.156483-1.31860.095778
80.0240320.20250.420053
9-0.177859-1.49870.069196
10-0.065833-0.55470.290415
11-0.05168-0.43550.332275
12-0.036222-0.30520.38055
13-0.140603-1.18470.120035
14-0.028136-0.23710.406639
15-0.09294-0.78310.218078
160.0324340.27330.392711
17-0.010849-0.09140.463711
18-0.012968-0.10930.456647
190.0535340.45110.326652
200.0325670.27440.39228
210.0189940.160.436648
220.0363350.30620.380187
23-0.148226-1.2490.107888
240.0342890.28890.386739
25-0.148586-1.2520.107338
260.0688170.57990.281922
27-0.035011-0.2950.384426
28-0.069688-0.58720.279465
29-0.004926-0.04150.483504
300.0801350.67520.250861
31-0.151324-1.27510.103219
320.0260540.21950.413431
33-0.113759-0.95850.170519
34-0.037299-0.31430.377113
350.0153720.12950.448654
36-0.024069-0.20280.419933
37-0.028436-0.23960.405662
380.0910210.7670.222824
39-0.036615-0.30850.379294
400.0748790.63090.265052
410.0099390.08370.466746
420.0263210.22180.412559
43-0.097783-0.82390.206369
44-0.098426-0.82940.204842
45-0.163351-1.37640.086509
46-0.065964-0.55580.290041
47-0.130239-1.09740.138085
48-0.116916-0.98520.163947


Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
10.1675161.41150.08123
20.2700442.27540.01295
30.1368811.15340.126312
4-0.011962-0.10080.46
5-0.057151-0.48160.3158
6-0.105861-0.8920.187702
7-0.179044-1.50860.067913
80.1036530.87340.192695
9-0.084938-0.71570.238263
10-0.002347-0.01980.492139
110.0301430.2540.400119
120.0218270.18390.4273
13-0.160709-1.35420.089991
14-0.012036-0.10140.459751
15-0.024516-0.20660.418467
160.0573010.48280.315352
170.0555650.46820.320539
18-0.020959-0.17660.430161
190.0177970.150.440612
20-0.026228-0.2210.412864
210.0034020.02870.488605
22-0.033684-0.28380.388685
23-0.178697-1.50570.068287
240.0522390.44020.330574
25-0.083216-0.70120.242739
260.178831.50680.068143
270.0052110.04390.482551
28-0.100411-0.84610.200176
29-0.035898-0.30250.381585
300.0914790.77080.221687
31-0.182926-1.54140.063837
32-0.026118-0.22010.413222
33-0.014756-0.12430.4507
34-0.018694-0.15750.437642
350.1259131.0610.146152
360.0050550.04260.483074
37-0.082924-0.69870.243502
38-0.029324-0.24710.402778
390.0472160.39790.345966
40-0.007716-0.0650.474173
41-0.026643-0.22450.411507
420.0436550.36780.357041
43-0.181583-1.530.065225
44-0.090879-0.76580.22318
45-0.10049-0.84670.199991
46-0.065993-0.55610.289957
47-0.004303-0.03630.485589
48-0.010397-0.08760.465218
 
Charts produced by software:
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2009/Jun/05/t1244205259f1xfmnquj1s1os1/1vmdx1244205207.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2009/Jun/05/t1244205259f1xfmnquj1s1os1/1vmdx1244205207.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2009/Jun/05/t1244205259f1xfmnquj1s1os1/2sh211244205207.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2009/Jun/05/t1244205259f1xfmnquj1s1os1/2sh211244205207.ps (open in new window)


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