Home » date » 2008 » Dec » 21 »

*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, 21 Dec 2008 14:31:41 -0700
 
Cite this page as follows:
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL http://www.freestatistics.org/blog/date/2008/Dec/21/t12298951227tv4rfj988132m6.htm/, Retrieved Sun, 21 Dec 2008 22:32:04 +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/2008/Dec/21/t12298951227tv4rfj988132m6.htm/},
    year = {2008},
}
@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 = {2008},
    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 «
451 450 444 429 421 400 389 384 432 446 431 423 416 416 413 399 386 374 365 365 418 428 424 421 417 423 423 419 406 398 390 391 444 460 455 456 452 459 461 451 443 439 430 436 488 506 502 501 501 515 521 520 512 509 505 511 570 592 594 586 586 592 594 586 572 563 555 554 601 622 617 606 595 599 600 592 575 567 555 555 608 631 629 624 610 616 621 604 584 574 555 545 599 620 608 590 579 580 579 572 560 551 537 541 588 607 599 578 563 566 561 554 540 526 512 505 554 584 569 540 522 526 527 516 503 489 479 475 524 552 532 511 492 492 493 481 462 457 442 439 488 521 501 485 464 460 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 517 508 493 490 469 478 528 534 518 506 502
 
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.0563490.85090.197872
20.0620840.93740.174761
30.1358882.05190.020662
40.1362992.05810.02036
50.1162051.75470.040331
60.105481.59270.056305
70.0511560.77240.220328
80.0709651.07150.142529
90.0661160.99830.15959
10-0.036042-0.54420.293412
110.0304790.46020.322898
12-0.248843-3.75750.000109
130.0157130.23730.406332
140.1162981.75610.040211
15-0.008138-0.12290.451155
16-0.060093-0.90740.182579
17-0.00447-0.06750.473124
180.0186680.28190.389146
190.0007860.01190.495271
200.0585550.88420.188772
210.0637830.96310.168258
220.0465680.70320.241338
230.183122.7650.003079
24-0.039292-0.59330.276786
25-0.040916-0.61780.268658
26-0.025679-0.38770.349286
270.0622540.940.174103
280.0240210.36270.358579
290.114071.72240.043175
30-0.070288-1.06130.144832
31-0.031372-0.47370.318079
320.026760.40410.343269
33-0.095424-1.44090.075497
34-0.07173-1.08310.139954
35-0.098597-1.48880.068963
36-0.040137-0.60610.272539
370.0142580.21530.414864
380.0254560.38440.350528
39-0.223899-3.38080.000425
40-0.092116-1.39090.082802
41-0.035896-0.5420.29417
42-0.04553-0.68750.246235
430.0403490.60930.271479
44-0.119875-1.81010.035801
45-0.07148-1.07930.140792
46-0.01302-0.19660.422157
47-0.065983-0.99630.160076
48-0.066071-0.99770.159753
49-0.077902-1.17630.120351
50-0.022353-0.33750.368015
510.0517340.78120.217757
520.0179720.27140.393174
53-0.186585-2.81740.002633
54-0.015528-0.23450.407418
55-0.073374-1.10790.134532
56-0.032444-0.48990.312341
57-0.023219-0.35060.363107
58-0.022142-0.33430.369219
59-0.04598-0.69430.244104
60-0.035677-0.53870.295308


Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
10.0563490.85090.197872
20.0590960.89230.186578
30.1301331.9650.025316
40.1224411.84880.032889
50.0949591.43390.076492
60.0730871.10360.135468
70.0063680.09610.461744
80.0226790.34250.366163
90.0164940.2490.401773
10-0.083131-1.25520.105337
11-0.005995-0.09050.463973
12-0.296946-4.48386e-06
130.0115770.17480.430695
140.1373452.07390.019607
150.0574180.8670.193429
160.0035420.05350.478698
170.0201440.30420.38064
180.0472770.71390.238018
190.0042640.06440.474362
200.0715231.080.140646
210.08631.30310.096928
22-0.018553-0.28010.38981
230.1751992.64540.004363
24-0.176708-2.66820.004086
25-0.102121-1.5420.062231
26-0.047713-0.72050.235992
270.0265550.4010.344406
28-0.025413-0.38370.350767
290.128481.940.026806
30-0.045156-0.68180.248016
31-0.045092-0.68090.248321
320.0480660.72580.23436
33-0.034892-0.52690.2994
34-0.108212-1.6340.051822
35-0.008122-0.12260.451247
36-0.107013-1.61590.053754
37-0.023169-0.34990.363387
380.0942451.42310.078041
39-0.130399-1.9690.025083
40-0.097628-1.47420.070909
410.0703051.06160.144776
42-0.035457-0.53540.296451
430.0525880.79410.213993
44-0.039799-0.6010.274233
45-0.047389-0.71560.237497
46-0.082179-1.24090.107964
470.0181850.27460.391938
48-0.027039-0.40830.341725
49-0.10109-1.52640.064144
500.0633590.95670.169865
510.007180.10840.45688
52-0.049791-0.75180.226463
53-0.037474-0.56580.286027
540.0339270.51230.304472
55-0.059759-0.90230.183915
560.0089170.13460.446507
570.023310.3520.362589
58-0.040365-0.60950.271403
59-0.003445-0.0520.47928
600.0047260.07140.471587
 
Charts produced by software:
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/21/t12298951227tv4rfj988132m6/1hj8e1229895099.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/21/t12298951227tv4rfj988132m6/1hj8e1229895099.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/21/t12298951227tv4rfj988132m6/2dnx21229895099.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/21/t12298951227tv4rfj988132m6/2dnx21229895099.ps (open in new window)


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