Home » date » 2009 » Nov » 27 »

Partial Autocorrelation D=1

*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 11:41:05 -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/t1259347319cepjmw5pnuatfwi.htm/, Retrieved Fri, 27 Nov 2009 19:42:01 +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/t1259347319cepjmw5pnuatfwi.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 «
564 581 597 587 536 524 537 536 533 528 516 502 506 518 534 528 478 469 490 493 508 517 514 510 527 542 565 555 499 511 526 532 549 561 557 566 588 620 626 620 573 573 574 580 590 593 597 595 612 628 629 621 569 567 573 584 589 591 595 594
 
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.9394186.50850
20.8661646.0010
30.7802145.40551e-06
40.6811344.7191e-05
50.5721213.96380.000122
60.461013.1940.00124
70.3470182.40420.010058
80.2356231.63240.054565
90.1354370.93830.176384
100.0483030.33470.369672
11-0.025232-0.17480.430982
12-0.10007-0.69330.245729
13-0.153979-1.06680.1457
14-0.199665-1.38330.086483
15-0.244988-1.69730.048055
16-0.296525-2.05440.022703
17-0.348398-2.41380.009826
18-0.383787-2.6590.00531
19-0.41552-2.87880.002972
20-0.441641-3.05980.00181
21-0.461235-3.19550.001234
22-0.469418-3.25220.001049
23-0.472063-3.27050.000995
24-0.456495-3.16270.001355
25-0.427759-2.96360.002361
26-0.380564-2.63660.005624
27-0.344549-2.38710.010484
28-0.293736-2.03510.023693
29-0.229256-1.58830.059389
30-0.171108-1.18550.120833
31-0.12169-0.84310.201679
32-0.074272-0.51460.304607
33-0.029872-0.2070.41846
340.0079090.05480.478265
350.0516450.35780.361028
360.0838060.58060.282106


Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
10.9394186.50850
2-0.139099-0.96370.170012
3-0.13876-0.96140.170595
4-0.145869-1.01060.158635
5-0.124366-0.86160.196587
6-0.064016-0.44350.329693
7-0.084492-0.58540.280517
8-0.049031-0.33970.367785
90.0151840.10520.45833
100.0200340.13880.445096
110.0148960.10320.459116
12-0.135882-0.94140.175602
130.0678850.47030.320128
14-0.045739-0.31690.376351
15-0.111424-0.7720.221959
16-0.17166-1.18930.120086
17-0.116362-0.80620.212058
180.0837290.58010.282283
19-0.041839-0.28990.386581
20-0.040667-0.28180.389673
21-0.033296-0.23070.409272
220.0213030.14760.44164
23-0.020467-0.14180.443916
240.0224520.15560.438519
250.0157470.10910.45679
260.1009970.69970.243738
27-0.182349-1.26330.106283
280.0631130.43730.331942
290.0567840.39340.34788
30-0.035842-0.24830.402472
31-0.078455-0.54360.294632
32-0.024521-0.16990.432908
330.0045340.03140.487536
34-0.001153-0.0080.49683
350.0927210.64240.261838
36-0.067979-0.4710.319897
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2009/Nov/27/t1259347319cepjmw5pnuatfwi/1fsgj1259347263.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/27/t1259347319cepjmw5pnuatfwi/1fsgj1259347263.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Nov/27/t1259347319cepjmw5pnuatfwi/278no1259347263.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/27/t1259347319cepjmw5pnuatfwi/278no1259347263.ps (open in new window)


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