Home » date » 2009 » Nov » 27 »

WS 8.4 Autocorrelatie

*The author of this computation has been verified*
R Software Module: /rwasp_autocorrelation.wasp (opens new window with default values)
Title produced by software: (Partial) Autocorrelation Function
Date of computation: Fri, 27 Nov 2009 13:58:47 -0700
 
Cite this page as follows:
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL http://www.freestatistics.org/blog/date/2009/Nov/27/t125935562644glid621ab4vte.htm/, Retrieved Fri, 27 Nov 2009 22:00:28 +0100
 
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/Nov/27/t125935562644glid621ab4vte.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 «
474605 470390 461251 454724 455626 516847 525192 522975 518585 509239 512238 519164 517009 509933 509127 500875 506971 569323 579714 577992 565644 547344 554788 562325 560854 555332 543599 536662 542722 593530 610763 612613 611324 594167 595454 590865 589379 584428 573100 567456 569028 620735 628884 628232 612117 595404 597141 593408 590072 579799 574205 572775 572942 619567 625809 619916 587625 565724 557274 560576 548854 531673 525919 511038 498662 555362 564591 541667 527070 509846 514258 516922 507561 492622 490243 469357 477580 528379 533590 517945 506174 501866 516441 528222 532638
 
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
1-0.056255-0.43580.33229
20.0391390.30320.381404
30.0666070.51590.303898
4-0.037932-0.29380.384953
50.0359710.27860.390744
6-0.007798-0.06040.476017
70.0249510.19330.423699
80.0974350.75470.226683
90.0786350.60910.272377
10-0.123864-0.95940.170592
110.1078560.83540.20339
12-0.393497-3.0480.001712
130.0125560.09730.461423
140.1927041.49270.070381
150.011980.09280.463186
160.0580480.44960.327297
17-0.074491-0.5770.283048
180.1245710.96490.169228
190.0272130.21080.416881
200.0329210.2550.399796
21-0.080248-0.62160.268281
220.0682180.52840.299581
230.0098270.07610.469788
24-0.083057-0.64340.261221
25-0.05167-0.40020.345203
26-0.210452-1.63020.054154
270.0863650.6690.253037
28-0.06505-0.50390.308097
290.1250030.96830.168398
30-0.086781-0.67220.252017
31-0.103121-0.79880.213787
32-0.021666-0.16780.433644
33-0.022683-0.17570.430561
34-0.026337-0.2040.419521
350.0083070.06430.474455
360.0639720.49550.31102
370.0290440.2250.411382
380.1847111.43080.078843
39-0.197687-1.53130.065478
40-0.049365-0.38240.351765
41-0.044358-0.34360.366175
42-0.110636-0.8570.197432
430.0905150.70110.242966
44-0.055695-0.43140.333859
45-0.009718-0.07530.470122
460.0021460.01660.493395
47-0.055819-0.43240.333511
48-0.032066-0.24840.402343
490.0075090.05820.476906
50-0.125715-0.97380.167037
510.0899460.69670.244336
520.0397360.30780.379654
53-0.054415-0.42150.337448
540.0414530.32110.374627
55-0.046564-0.36070.359802
560.0060680.0470.481335
57-0.0195-0.1510.440222
58-0.020946-0.16220.435829
590.0039790.03080.487758
60NANANA


Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
1-0.056255-0.43580.33229
20.0360890.27950.390395
30.0710770.55060.291991
4-0.032019-0.2480.402485
50.0269280.20860.417739
6-0.006274-0.04860.480699
70.0266520.20640.418572
80.0964920.74740.228862
90.0920940.71340.239196
10-0.130048-1.00740.158906
110.0795520.61620.270044
12-0.400227-3.10010.001472
130.0010190.00790.496863
140.2294411.77720.040298
150.1152810.8930.187723
160.0090980.07050.472027
17-0.127905-0.99070.162894
180.123940.960.170445
190.0842930.65290.258148
200.1286040.99620.161586
21-0.049481-0.38330.351433
22-0.144133-1.11640.134341
230.0012530.00970.496145
24-0.247993-1.92090.029747
25-0.084744-0.65640.25703
26-0.067298-0.52130.302041
270.1632361.26440.105485
28-0.024812-0.19220.424121
290.0569380.4410.330385
300.0118350.09170.463632
31-0.075257-0.58290.28106
320.0420060.32540.373013
33-0.041198-0.31910.375373
34-0.075894-0.58790.279411
350.087340.67650.250651
36-0.137703-1.06660.145203
37-0.027837-0.21560.415006
380.1004680.77820.219749
390.0184580.1430.443395
40-0.043169-0.33440.369628
41-0.021402-0.16580.434445
42-0.109417-0.84750.200031
43-0.025119-0.19460.423194
440.0589530.45670.324786
45-0.001357-0.01050.495825
46-0.042323-0.32780.372091
47-0.036409-0.2820.389449
480.0022440.01740.493094
49-0.006108-0.04730.481212
500.0126170.09770.461234
510.0458420.35510.361885
52-0.141403-1.09530.138881
530.0301520.23360.408062
54-0.079793-0.61810.269432
550.0326630.2530.400565
56-0.033289-0.25790.3987
57-0.059534-0.46110.32318
58-0.021656-0.16770.433674
590.0343110.26580.395664
60NANANA
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2009/Nov/27/t125935562644glid621ab4vte/1kirs1259355526.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/27/t125935562644glid621ab4vte/1kirs1259355526.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Nov/27/t125935562644glid621ab4vte/2uroz1259355526.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/27/t125935562644glid621ab4vte/2uroz1259355526.ps (open in new window)


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