Home » date » 2010 » Dec » 22 »

*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, 22 Dec 2010 12:58:05 +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/22/t1293022832bz0dx63urzrjhbr.htm/, Retrieved Wed, 22 Dec 2010 14:00:33 +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/22/t1293022832bz0dx63urzrjhbr.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 «
377 370 358 357 349 348 369 381 368 361 351 351 358 354 347 345 343 340 362 370 373 371 354 357 363 364 363 358 357 357 380 378 376 380 379 384 392 394 392 396 392 396 419 421 420 418 410 418 426 428 430 424 423 427 441 449 452 462 455 461 461 463 462 456 455 456 472 472 471 465 459 465 468 467 463 460 462 461 476 476 471 453 443 442 444 438 427 424 416 406 431 434 418 412 404 409 412 406 398 397 385 390 413 413 401 397 397 409 419 424 428 430 424 433 456 459 446 441 439 454 460 457 451 444 437 443 471 469 454 444 436
 
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'RServer@AstonUniversity' @ vre.aston.ac.uk


Autocorrelation Function
Time lag kACF(k)T-STATP-value
10.1687161.83270.034683
20.132511.43940.076339
30.1396951.51750.06591
40.0911310.98990.162116
50.1794211.9490.026834
60.1035461.12480.131479
70.0419070.45520.324892
80.1500091.62950.052935
90.0988171.07340.142634
10-0.121807-1.32320.09417
11-0.010324-0.11210.45545
12-0.238406-2.58970.005407
13-0.014541-0.1580.43738
140.1678421.82320.0354
15-0.016704-0.18150.428163
160.0256990.27920.390303
17-0.10322-1.12130.132227
180.0354290.38490.350516
190.0457410.49690.310102
20-0.071196-0.77340.220422
21-0.112154-1.21830.11277
22-0.03838-0.41690.338751
230.0639570.69480.244287
24-0.176771-1.92020.028621
25-0.165546-1.79830.037344
26-0.27971-3.03840.001464
27-0.067179-0.72970.233495
28-0.182789-1.98560.024699
29-0.030875-0.33540.368965
30-0.118338-1.28550.100571
31-0.109596-1.19050.118116
32-0.043172-0.4690.319978
33-0.05348-0.58090.281193
34-0.050314-0.54650.292861
35-0.002808-0.03050.487857
360.0527810.57330.283751
370.0766530.83270.203359
380.1031721.12070.132337
39-0.105015-1.14080.12814
40-0.051127-0.55540.289842
410.0286470.31120.378103
42-0.031476-0.34190.366509
430.0245120.26630.395248
44-0.057726-0.62710.265916
45-0.082105-0.89190.187135
46-0.020771-0.22560.41094
47-0.117331-1.27450.102488
48-0.088188-0.9580.170019


Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
10.1687161.83270.034683
20.1070931.16330.123522
30.1058571.14990.126254
40.0439460.47740.31699
50.1417461.53980.063149
60.0370760.40270.343932
7-0.020432-0.22190.41237
80.1063191.15490.125228
90.0394660.42870.334457
10-0.207523-2.25430.013012
11-0.026746-0.29050.385957
12-0.263042-2.85740.002525
130.0379390.41210.340499
140.2243882.43750.008141
150.0313740.34080.366928
160.0412360.44790.32751
17-0.107358-1.16620.122942
180.1115861.21210.113942
190.0302710.32880.371436
20-0.079929-0.86830.193508
21-0.114562-1.24450.107898
22-0.181229-1.96870.025669
230.0873080.94840.17243
24-0.234597-2.54840.006053
25-0.090012-0.97780.165091
26-0.124699-1.35460.089071
270.0206060.22380.411633
28-0.090704-0.98530.163247
290.1507481.63750.052091
300.0509490.55340.290503
310.0492670.53520.296766
32-0.017072-0.18550.426597
330.0499510.54260.294211
34-0.081979-0.89050.187498
350.1429391.55270.061585
36-0.072554-0.78810.216098
37-0.052721-0.57270.283969
38-0.023746-0.2580.398446
39-0.116175-1.2620.104723
40-0.035413-0.38470.350582
410.0113180.12290.45118
42-0.001601-0.01740.493075
430.0001270.00140.499449
440.0020110.02180.491304
45-0.050007-0.54320.294003
46-0.059382-0.64510.260073
47-0.025383-0.27570.391619
48-0.057184-0.62120.267839
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2010/Dec/22/t1293022832bz0dx63urzrjhbr/1aj021293022681.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/22/t1293022832bz0dx63urzrjhbr/1aj021293022681.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/22/t1293022832bz0dx63urzrjhbr/2aj021293022681.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/22/t1293022832bz0dx63urzrjhbr/2aj021293022681.ps (open in new window)


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