Home » date » 2010 » Dec » 21 »

Paper: Partial autocorrelation function (D=2)

*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: Tue, 21 Dec 2010 07:58:08 +0000
 
Cite this page as follows:
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL http://www.freestatistics.org/blog/date/2010/Dec/21/t1292918466lfet1qsenah73gs.htm/, Retrieved Tue, 21 Dec 2010 09:01:06 +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/2010/Dec/21/t1292918466lfet1qsenah73gs.htm/},
    year = {2010},
}
@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 = {2010},
    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 «
608 651 691 627 634 731 475 337 803 722 590 724 627 696 825 677 656 785 412 352 839 729 696 641 695 638 762 635 721 854 418 367 824 687 601 676 740 691 683 594 729 731 386 331 706 715 657 653 642 643 718 654 632 731 392 344 792 852 649 629 685 617 715 715 629 916 531 357 917 828 708 858 775 785 1006 789 734 906 532 387 991 841 892 782
 
Output produced by software:


Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time11 seconds
R Server'Sir Ronald Aylmer Fisher' @ 193.190.124.24


Autocorrelation Function
Time lag kACF(k)T-STATP-value
10.1765271.36740.088305
2-0.013613-0.10540.458187
30.0326820.25320.400508
4-0.162869-1.26160.105991
50.0311050.24090.405212
60.107210.83040.20479
70.0577780.44750.328045
80.2323111.79950.038486
90.0265150.20540.418984
100.0584070.45240.3263
110.0893810.69230.245696
12-0.307899-2.3850.010128
13-0.166683-1.29110.100807
140.193341.49760.069739
150.128130.99250.162472
160.0206450.15990.436743
17-0.011632-0.09010.464253
180.0385550.29860.383121
19-0.064385-0.49870.309899
200.0561260.43470.332652
210.0348120.26970.394177
22-0.068383-0.52970.29914
23-0.114309-0.88540.189728
24-0.175039-1.35580.090115
250.0009970.00770.496932
26-0.055421-0.42930.334625
27-0.16673-1.29150.100745
280.0514630.39860.345789
290.0166420.12890.44893
30-0.175845-1.36210.08913
31-0.071669-0.55510.29043
32-0.187008-1.44860.076334
33-0.134604-1.04260.150649
34-0.032572-0.25230.400836
350.0761480.58980.278756
360.1720321.33260.093858
37-0.008734-0.06770.473143
38-0.07822-0.60590.273436
39-0.046029-0.35650.361345
40-0.142125-1.10090.137669
41-0.041429-0.32090.374698
420.0275680.21350.415815
430.0901970.69870.243731
440.0536150.41530.339702
45-0.033514-0.25960.39803
46-0.05387-0.41730.338984
47-0.06076-0.47060.3198
48-0.166604-1.29050.100912


Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
10.1765271.36740.088305
2-0.046215-0.3580.360808
30.0448440.34740.364767
4-0.184107-1.42610.079513
50.1057310.8190.208017
60.0698710.54120.29518
70.050.38730.349952
80.197041.52630.066099
9-0.047064-0.36460.358363
100.1187280.91970.180716
110.0388320.30080.382308
12-0.306688-2.37560.010366
13-0.098366-0.76190.224541
140.2397771.85730.034089
150.0997280.77250.221427
16-0.206332-1.59820.057622
17-0.041962-0.3250.373142
180.2227451.72540.044803
19-0.092278-0.71480.238757
200.1370261.06140.146382
21-0.022789-0.17650.43024
22-0.127671-0.98890.163333
23-0.087263-0.67590.250838
24-0.24311-1.88310.032267
25-0.065881-0.51030.305853
26-0.019013-0.14730.441705
270.0456340.35350.362484
28-0.071864-0.55670.289916
29-0.088581-0.68610.247632
30-0.020816-0.16120.436223
31-0.020236-0.15670.437986
32-0.088312-0.68410.248286
330.0192950.14950.440845
34-0.063888-0.49490.311249
350.1126680.87270.193146
360.0195240.15120.440149
37-0.027176-0.21050.416993
380.0602410.46660.321228
39-0.010923-0.08460.466427
40-0.047356-0.36680.357522
410.0483790.37470.354588
420.0267410.20710.418304
430.0191250.14810.441362
44-0.015484-0.11990.452467
45-0.036467-0.28250.389278
46-0.146417-1.13410.130624
470.0736120.57020.285338
48-0.041957-0.3250.373158
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2010/Dec/21/t1292918466lfet1qsenah73gs/1wggi1292918275.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/21/t1292918466lfet1qsenah73gs/1wggi1292918275.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/21/t1292918466lfet1qsenah73gs/267fl1292918275.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/21/t1292918466lfet1qsenah73gs/267fl1292918275.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/21/t1292918466lfet1qsenah73gs/3zyw61292918275.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/21/t1292918466lfet1qsenah73gs/3zyw61292918275.ps (open in new window)


 
Parameters (Session):
par1 = 48 ; par2 = 1 ; par3 = 0 ; par4 = 2 ; par5 = 12 ; par6 = White Noise ; par7 = 0.95 ;
 
Parameters (R input):
par1 = 48 ; par2 = 1 ; par3 = 0 ; par4 = 2 ; par5 = 12 ; par6 = White Noise ; 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 (par8 != '') par8 <- as.numeric(par8)
ox <- x
if (par8 == '') {
if (par2 == 0) {
x <- log(x)
} else {
x <- (x ^ par2 - 1) / par2
}
} else {
x <- log(x,base=par8)
}
if (par3 > 0) x <- diff(x,lag=1,difference=par3)
if (par4 > 0) x <- diff(x,lag=par5,difference=par4)
bitmap(file='picts.png')
op <- par(mfrow=c(2,1))
plot(ox,type='l',main='Original Time Series',xlab='time',ylab='value')
if (par8=='') {
mytitle <- paste('Working Time Series (lambda=',par2,', d=',par3,', D=',par4,')',sep='')
mysub <- paste('(lambda=',par2,', d=',par3,', D=',par4,', CI=', par7, ', CI type=',par6,')',sep='')
} else {
mytitle <- paste('Working Time Series (base=',par8,', d=',par3,', D=',par4,')',sep='')
mysub <- paste('(base=',par8,', d=',par3,', D=',par4,', CI=', par7, ', CI type=',par6,')',sep='')
}
plot(x,type='l', main=mytitle,xlab='time',ylab='value')
par(op)
dev.off()
bitmap(file='pic1.png')
racf <- acf(x, par1, main='Autocorrelation', xlab='time lag', ylab='ACF', ci.type=par6, ci=par7, sub=mysub)
dev.off()
bitmap(file='pic2.png')
rpacf <- pacf(x,par1,main='Partial Autocorrelation',xlab='lags',ylab='PACF',sub=mysub)
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