Home » date » 2009 » Dec » 20 »

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: Sun, 20 Dec 2009 14:06:07 -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/Dec/20/t1261343214o8eed5xjz5jpiuz.htm/, Retrieved Sun, 20 Dec 2009 22:06:56 +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/Dec/20/t1261343214o8eed5xjz5jpiuz.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 «
467 460 448 443 436 431 484 510 513 503 471 471 476 475 470 461 455 456 517 525 523 519 509 512 519 517 510 509 501 507 569 580 578 565 547 555 562 561 555 544 537 543 594 611 613 611 594 595 591 589 584 573 567 569 621 629 628 612 595 597 593 590 580 574 573 573 620 626 620 588 566 557 561 549 532 526 511 499 555 565 542 527 510 514
 
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'Gwilym Jenkins' @ 72.249.127.135


Autocorrelation Function
Time lag kACF(k)T-STATP-value
10.0694710.58540.280077
2-0.045642-0.38460.350848
3-0.062572-0.52720.299834
40.0689390.58090.281578
50.0445640.37550.354203
6-0.003041-0.02560.489814
70.0079390.06690.473427
80.0534640.45050.326863
90.1873651.57880.059418
10-0.124996-1.05320.147902
11-0.013622-0.11480.454473
12-0.23423-1.97370.026156
13-0.004102-0.03460.486263
140.1666581.40430.082297
150.0367190.30940.378962
16-0.01848-0.15570.438349
17-0.102033-0.85970.196412
180.1143550.96360.169266
190.0594310.50080.309039
200.0320750.27030.39387
210.0034110.02870.488575
220.067450.56830.285799
230.2038791.71790.045085
24-0.111868-0.94260.174536
25-0.144735-1.21960.113333
26-0.257901-2.17310.016555
270.0835850.70430.241774
28-0.001982-0.01670.49336
290.1142730.96290.169437
30-0.098687-0.83160.204224
31-0.074521-0.62790.266034
320.0597980.50390.307956
33-0.100087-0.84330.200933
34-0.046437-0.39130.348379
35-0.095659-0.8060.211456
360.0357050.30090.382201
370.0848420.71490.23851
380.158551.3360.092913
39-0.134977-1.13730.12961
40-0.050683-0.42710.335312
410.0148080.12480.450527
42-0.040585-0.3420.36669
430.0382120.3220.374207
44-0.139673-1.17690.121582
45-0.078521-0.66160.255175
460.0115560.09740.461352
47-0.082453-0.69480.244737
48-0.092249-0.77730.219781
49-0.094295-0.79450.214763
500.0625430.5270.299918
51-0.021462-0.18080.428504
52-0.014743-0.12420.450743
53-0.122592-1.0330.15256
540.0268540.22630.410819
55-0.082316-0.69360.245097
560.0176360.14860.441144
570.0561390.4730.318819
58-0.049085-0.41360.340206
59-0.001658-0.0140.494448
600.0406680.34270.366428


Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
10.0694710.58540.280077
2-0.050713-0.42730.335223
3-0.056132-0.4730.318839
40.0758980.63950.262269
50.0291340.24550.403394
6-0.005939-0.050.480113
70.0208710.17590.430452
80.051390.4330.333158
90.1786741.50550.068311
10-0.151874-1.27970.102406
110.0289410.24390.40402
12-0.249419-2.10160.019567
13-0.003898-0.03280.486946
140.1688981.42320.079535
15-0.012103-0.1020.459528
160.0279440.23550.407264
17-0.106328-0.89590.186657
180.1106230.93210.177215
190.0939760.79190.215541
200.0161080.13570.446212
210.1371021.15520.125932
22-0.058652-0.49420.31134
230.1846351.55580.062106
24-0.212504-1.79060.038811
25-0.131577-1.10870.135653
26-0.18994-1.60050.056968
27-0.006352-0.05350.478734
28-0.011277-0.0950.462284
290.0860990.72550.23527
30-0.051772-0.43620.331994
310.0046710.03940.484357
320.0444040.37420.354702
330.0105230.08870.464799
34-0.015508-0.13070.448201
350.0472010.39770.346015
36-0.151567-1.27710.102859
370.0321820.27120.393523
380.0196320.16540.434542
39-0.060869-0.51290.304808
400.0300460.25320.400434
41-0.05515-0.46470.321785
42-0.063694-0.53670.296579
430.0097170.08190.467486
44-0.081387-0.68580.247542
45-0.03148-0.26530.39579
46-0.03616-0.30470.380746
47-0.043613-0.36750.357173
48-0.006135-0.05170.47946
49-0.039918-0.33640.368797
500.0637470.53710.296426
51-0.110619-0.93210.177223
52-0.100024-0.84280.20108
530.0391030.32950.37138
540.0164490.13860.445079
55-0.063321-0.53360.297659
56-0.011499-0.09690.461543
570.0123860.10440.458586
58-0.045086-0.37990.352576
59-0.071546-0.60290.274263
600.0988280.83270.203892
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2009/Dec/20/t1261343214o8eed5xjz5jpiuz/11kk51261343165.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Dec/20/t1261343214o8eed5xjz5jpiuz/11kk51261343165.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Dec/20/t1261343214o8eed5xjz5jpiuz/2yzk71261343165.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Dec/20/t1261343214o8eed5xjz5jpiuz/2yzk71261343165.ps (open in new window)


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