Home » date » 2009 » Dec » 09 »

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, 09 Dec 2009 12:58:12 -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/09/t1260388748pnmd8lh4x6tq1t1.htm/, Retrieved Wed, 09 Dec 2009 20:59:10 +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/09/t1260388748pnmd8lh4x6tq1t1.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 612 595 597 589 584 573 567 569 621 629 628 593 588 566 557 590 580 574 573 573 620 626 620 561 527 510 514 549 532 526 511 499 555 565 542 517 506 502 516 508 493 490 469 478 528 534 518 528 533 536 537 524 536 587 597 581 564 558
 
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.1891371.45280.07579
2-0.210198-1.61460.055871
3-0.349468-2.68430.00471
4-0.266018-2.04330.022747
50.1511331.16090.125184
60.209191.60680.056717
70.0187070.14370.443118
8-0.178918-1.37430.087274
9-0.175865-1.35080.090952
10-0.037839-0.29060.386171
110.1285310.98730.163773
120.4676513.59210.000335
13-0.026787-0.20580.418845
14-0.169126-1.29910.099484
15-0.165027-1.26760.104961
16-0.134219-1.0310.153384
170.1547661.18880.119645
180.0787590.6050.273762
19-0.089836-0.690.246437
20-0.030092-0.23110.409002
21-0.047735-0.36670.357593
22-0.038303-0.29420.384815
230.0178350.1370.44575
240.1173140.90110.185597
25-0.009809-0.07530.470097
26-0.006744-0.05180.479431
27-0.015825-0.12160.451834
28-0.047206-0.36260.3591
29-0.014327-0.110.456373
30-0.090454-0.69480.244958
31-0.105227-0.80830.211092
320.0911910.70050.243199
330.0841110.64610.26037
34-0.01699-0.13050.448307
350.0104570.08030.468127
360.0297750.22870.409944
37-0.006893-0.05290.478977
380.0425830.32710.372379
390.0007570.00580.497691
40-0.049345-0.3790.353014
41-0.034935-0.26830.394686
42-0.076149-0.58490.28042
43-0.035933-0.2760.391754
440.0911820.70040.243221
450.1313961.00930.158482
460.009490.07290.471067
47-0.038849-0.29840.383221
48-0.052664-0.40450.343646
49-0.024003-0.18440.427176
500.0023190.01780.492925
51-0.005595-0.0430.482934
52-0.009355-0.07190.47148
530.0358570.27540.391976
540.010860.08340.466902
55-0.004085-0.03140.487537
56-0.007654-0.05880.476657
57-0.002178-0.01670.493354
580.0006470.0050.498025
59NANANA
60NANANA


Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
10.1891371.45280.07579
2-0.255096-1.95940.027396
3-0.278787-2.14140.018191
4-0.234411-1.80050.038443
50.1150660.88380.190184
6-0.016431-0.12620.449997
7-0.12097-0.92920.178289
8-0.159264-1.22330.113034
9-0.059317-0.45560.325166
10-0.085273-0.6550.257509
11-0.039395-0.30260.38163
120.4128013.17080.001206
13-0.210343-1.61570.05575
140.0692660.5320.298348
150.0611070.46940.320268
16-0.014594-0.11210.455562
17-0.02468-0.18960.425147
18-0.065955-0.50660.307159
19-0.056493-0.43390.332962
200.1012350.77760.219955
21-0.053884-0.41390.340228
22-0.139134-1.06870.144778
23-0.026165-0.2010.420705
24-0.100367-0.77090.221911
250.0322230.24750.402688
26-0.044826-0.34430.365916
270.0102170.07850.468856
280.0465510.35760.360972
29-0.167146-1.28390.102103
30-0.106472-0.81780.208374
31-0.042097-0.32340.373785
32-0.02904-0.22310.412129
33-0.031675-0.24330.404308
34-0.062042-0.47660.317721
350.0744450.57180.284807
360.0813480.62480.26724
37-0.126637-0.97270.167332
380.0099920.07680.46954
390.0717910.55140.291707
40-0.075125-0.5770.283051
410.0168330.12930.448783
42-0.015304-0.11760.453411
430.0210720.16190.435985
44-0.038878-0.29860.383137
450.0391280.30050.382409
460.0216450.16630.434262
47-0.036468-0.28010.390184
48-0.063107-0.48470.31483
490.039340.30220.38179
50-0.136342-1.04730.149625
51-0.03102-0.23830.406249
52-0.015029-0.11540.454243
53-0.040465-0.31080.378518
540.0773560.59420.27733
55-0.013971-0.10730.457453
56-0.082249-0.63180.264991
57-0.051794-0.39780.346093
580.0220130.16910.433154
59NANANA
60NANANA
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2009/Dec/09/t1260388748pnmd8lh4x6tq1t1/1wi2y1260388691.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Dec/09/t1260388748pnmd8lh4x6tq1t1/1wi2y1260388691.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Dec/09/t1260388748pnmd8lh4x6tq1t1/24va31260388691.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Dec/09/t1260388748pnmd8lh4x6tq1t1/24va31260388691.ps (open in new window)


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