Home » date » 2009 » Nov » 27 »

WS 8.2 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:13:42 -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/t1259352927jhmwwnzowljs9nb.htm/, Retrieved Fri, 27 Nov 2009 21:15:29 +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/t1259352927jhmwwnzowljs9nb.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
10.8954568.25570
20.7458566.87650
30.624845.76070
40.5511345.08121e-06
50.524184.83273e-06
60.5116444.71715e-06
70.468264.31712.1e-05
80.41453.82150.000126
90.396833.65860.00022
100.4196133.86860.000107
110.474284.37261.7e-05
120.4891054.50931e-05
130.3661593.37580.000556
140.2106161.94180.027738
150.0836930.77160.221242
160.002590.02390.490501
17-0.03282-0.30260.381471
18-0.052475-0.48380.314887
19-0.090598-0.83530.202953
20-0.136311-1.25670.106148
21-0.152222-1.40340.082068
22-0.133401-1.22990.111065
23-0.092339-0.85130.198492
24-0.080122-0.73870.231065
25-0.171165-1.57810.059133
26-0.288104-2.65620.004718
27-0.381627-3.51840.00035
28-0.432042-3.98327.1e-05
29-0.44396-4.09314.8e-05
30-0.438668-4.04435.7e-05
31-0.440462-4.06095.4e-05
32-0.446034-4.11224.5e-05
33-0.423205-3.90189.5e-05
34-0.380163-3.50490.000366
35-0.323435-2.98190.001868
36-0.291622-2.68860.004316
37-0.344474-3.17590.001041
38-0.415824-3.83370.000121
39-0.462853-4.26732.6e-05
40-0.468891-4.3232.1e-05
41-0.448335-4.13344.2e-05
42-0.41115-3.79060.00014
43-0.387043-3.56840.000297
44-0.36547-3.36950.000567
45-0.326307-3.00840.001727
46-0.275148-2.53670.006508
47-0.21196-1.95420.026984
48-0.16482-1.51960.066166
49-0.183658-1.69320.047036
50-0.217825-2.00830.023896
51-0.225967-2.08330.020114
52-0.202846-1.87010.032453
53-0.160441-1.47920.071392
54-0.104379-0.96230.169307
55-0.066214-0.61050.271591
56-0.033542-0.30920.378946
570.0026520.02440.490277
580.0434550.40060.344848
590.0943050.86940.193526
600.1381131.27330.103184


Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
10.8954568.25570
2-0.282528-2.60480.005425
30.1165691.07470.142771
40.1064820.98170.164514
50.1345881.24080.109039
60.0152370.14050.444306
7-0.127848-1.17870.120903
80.053830.49630.310486
90.1900611.75230.041666
100.1209641.11520.133948
110.139531.28640.100897
12-0.183695-1.69360.047003
13-0.594835-5.48410
140.0584560.53890.295671
15-0.003899-0.03590.485704
16-0.0586-0.54030.295212
17-0.082156-0.75740.225441
18-0.101829-0.93880.175242
190.0949380.87530.191943
200.0627030.57810.282364
21-0.023898-0.22030.413071
22-0.031391-0.28940.386487
23-0.06921-0.63810.262567
240.0769750.70970.239924
25-0.122531-1.12970.130894
26-0.057899-0.53380.297436
27-0.062516-0.57640.282946
28-0.022296-0.20560.418815
29-0.0299-0.27570.391738
30-0.040401-0.37250.355231
310.0132460.12210.451547
320.0289660.26710.395036
330.0452620.41730.338758
34-0.077417-0.71380.238668
35-0.021193-0.19540.422776
360.0146620.13520.446397
37-0.090001-0.82980.204497
380.0147260.13580.446163
39-0.026808-0.24720.402691
400.0158240.14590.442178
41-0.044173-0.40730.342423
42-0.006485-0.05980.476232
43-0.083825-0.77280.220883
440.0234330.2160.414735
45-0.064975-0.5990.27537
46-0.031304-0.28860.38679
470.015940.1470.441754
480.0471250.43450.332524
490.0122070.11250.455328
50-0.013809-0.12730.449498
510.043750.40340.343849
520.0105570.09730.461348
530.0145310.1340.446873
540.0230130.21220.416242
55-0.078357-0.72240.236012
560.0359510.33150.370559
57-0.083531-0.77010.221684
58-0.005668-0.05230.479225
59-0.000132-0.00120.499514
600.0367990.33930.367621
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2009/Nov/27/t1259352927jhmwwnzowljs9nb/1qrv61259352820.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/27/t1259352927jhmwwnzowljs9nb/1qrv61259352820.ps (open in new window)


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


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