Home » date » 2009 » Dec » 03 »

PAPER

*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: Wed, 02 Dec 2009 16:46:11 -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/03/t12597976213nuwpice62eykkg.htm/, Retrieved Thu, 03 Dec 2009 00:47: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/2009/Dec/03/t12597976213nuwpice62eykkg.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 «
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 516 528 533 536 537 524 536 587 597 581 564 564
 
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
016.85570
10.1300740.89170.188537
20.2391791.63970.05387
30.3366132.30770.012733
40.221941.52150.067412
50.0651880.44690.328497
60.1903231.30480.099158
70.0204380.14010.444584
80.153391.05160.149183
90.0229850.15760.437732
10-0.081669-0.55990.710896
110.2890171.98140.026706
12-0.148853-1.02050.843638
13-0.074863-0.51320.694905
140.1007280.69060.24662
150.0670180.45950.324014
16-0.109154-0.74830.771004
170.0899740.61680.270162
18-0.165698-1.1360.869135
19-0.026648-0.18270.572086
20-0.146065-1.00140.839112
21-0.205897-1.41160.917667
22-0.090432-0.620.730865
23-0.182002-1.24770.890847
24-0.195024-1.3370.906174
25-0.07395-0.5070.692728
26-0.128428-0.88050.808455
27-0.237266-1.62660.944747
28-0.101052-0.69280.75407
29-0.137963-0.94580.825464
30-0.100748-0.69070.753422
31-0.046344-0.31770.623946
32-0.071487-0.49010.686826
33-0.05132-0.35180.636733
340.0079190.05430.478467
35-0.016389-0.11240.544491
36-0.006332-0.04340.51722
37-0.017085-0.11710.546373
38-0.017711-0.12140.548062
390.0040590.02780.488958
40-0.000548-0.00380.50149
41-0.015966-0.10950.543347
42-0.003171-0.02170.508626
430.0140330.09620.461884
44-0.000337-0.00230.500916
450.0005190.00360.498587
46-0.000996-0.00680.502711
47NANANA


Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
00.1300740.89170.188537
10.2260851.550.06393
20.3035152.08080.021464
30.1474871.01110.158568
4-0.095052-0.65160.741097
50.0224210.15370.439249
6-0.108369-0.74290.769392
70.1139820.78140.219237
8-0.026812-0.18380.572524
9-0.161511-1.10730.863093
100.315282.16150.017893
11-0.244519-1.67630.949844
12-0.068649-0.47060.679961
130.0519950.35650.361546
140.1186770.81360.209986
150.0093490.06410.474584
16-0.059509-0.4080.657428
17-0.186181-1.27640.895956
18-0.095941-0.65770.743043
19-0.083308-0.57110.714685
20-0.065487-0.4490.672236
21-0.080746-0.55360.708751
220.008010.05490.478221
230.0521620.35760.361119
24-0.042328-0.29020.613524
25-0.055912-0.38330.648391
26-0.072693-0.49840.689721
27-0.095802-0.65680.742739
280.1089610.7470.229392
29-0.042137-0.28890.613027
300.0970150.66510.254617
310.010860.07450.470484
32-0.039351-0.26980.605743
330.047120.3230.37405
340.0459320.31490.377118
350.0186350.12780.449443
36-0.036035-0.2470.597025
370.0138250.09480.462448
38-0.048226-0.33060.628799
39-0.092102-0.63140.734588
40-0.013007-0.08920.535338
41-0.05092-0.34910.635708
420.0642330.44040.330848
430.0376640.25820.398686
44-0.082975-0.56880.713915
45-0.123238-0.84490.798771
46NANANA
47NANANA
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2009/Dec/03/t12597976213nuwpice62eykkg/1wgji1259797569.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Dec/03/t12597976213nuwpice62eykkg/1wgji1259797569.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Dec/03/t12597976213nuwpice62eykkg/2wg6k1259797569.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Dec/03/t12597976213nuwpice62eykkg/2wg6k1259797569.ps (open in new window)


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