Home » date » 2008 » Dec » 10 »

paper - ACF

*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, 10 Dec 2008 09:38:46 -0700
 
Cite this page as follows:
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL http://www.freestatistics.org/blog/date/2008/Dec/10/t122892719439s99auopxxfo7a.htm/, Retrieved Wed, 10 Dec 2008 16:39:58 +0000
 
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/2008/Dec/10/t122892719439s99auopxxfo7a.htm/},
    year = {2008},
}
@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 = {2008},
    note = {{ISBN} 3-900051-07-0},
    url = {http://www.R-project.org},
}
 
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
 
Feedback Forum:
2008-11-27 13:41:43 [a2386b643d711541400692649981f2dc] [reply
test

Post a new message
 
Original text written by user:
 
IsPrivate?
No (this computation is public)
 
User-defined keywords:
 
Dataseries X:
» Textbox « » Textfile « » CSV «
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
 
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
10.9467878.67740
20.8894528.1520
30.8452787.74710
40.8115597.43810
50.7825837.17250
60.7361156.74660
70.6674436.11720
80.6069495.56280
90.5527075.06561e-06
100.5084124.65976e-06
110.4794584.39431.6e-05
120.4371684.00676.6e-05
130.3616923.3150.000677
140.2902672.66030.004674
150.2295292.10370.019199
160.1794021.64420.051931
170.1398461.28170.101735
180.0828920.75970.224774
190.0164140.15040.440389
20-0.041826-0.38330.351217
21-0.088302-0.80930.210314
22-0.121231-1.11110.134847
23-0.148898-1.36470.088
24-0.190449-1.74550.042278
25-0.247487-2.26830.012939
26-0.299204-2.74220.003728
27-0.336244-3.08170.001391
28-0.360669-3.30560.000698
29-0.3804-3.48640.000391
30-0.409545-3.75350.00016
31-0.443229-4.06235.4e-05
32-0.472026-4.32622.1e-05
33-0.482761-4.42461.4e-05
34-0.482859-4.42551.4e-05
35-0.471716-4.32332.1e-05
36-0.469093-4.29932.3e-05
37-0.480571-4.40451.6e-05
38-0.491431-4.5041.1e-05
39-0.489942-4.49041.1e-05
40-0.475128-4.35461.9e-05
41-0.458678-4.20393.3e-05
42-0.449816-4.12264.4e-05
43-0.447377-4.10034.7e-05
44-0.434842-3.98547.1e-05
45-0.409159-3.750.000162
46-0.37793-3.46380.00042
47-0.347875-3.18830.001005
48-0.321151-2.94340.002098
49-0.305448-2.79950.003174
50-0.286638-2.62710.005117
51-0.259534-2.37870.009822
52-0.226072-2.0720.020667
53-0.191687-1.75680.041294
54-0.160304-1.46920.072756
55-0.139552-1.2790.102207
56-0.10852-0.99460.161394
57-0.066449-0.6090.272078
58-0.023843-0.21850.413776
590.0114590.1050.458305
600.0392270.35950.360055


Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
10.9467878.67740
2-0.06713-0.61530.270026
30.0987330.90490.184053
40.0674770.61840.268981
50.0347480.31850.375458
6-0.17008-1.55880.0614
7-0.218207-1.99990.024371
80.0251330.23030.409192
9-0.046846-0.42940.334383
100.0346160.31730.375916
110.1494381.36960.087228
12-0.078713-0.72140.236329
13-0.319752-2.93060.002178
14-0.033464-0.30670.379915
15-0.022111-0.20260.41995
16-0.05741-0.52620.300079
170.0625150.5730.284101
18-0.046375-0.4250.335948
19-0.043689-0.40040.344932
20-0.040948-0.37530.354192
210.0319850.29310.385066
22-0.004623-0.04240.48315
23-0.047572-0.4360.331975
24-0.040827-0.37420.354605
25-0.122046-1.11860.133256
26-0.068721-0.62980.265254
270.0218010.19980.421056
28-0.00315-0.02890.488519
290.0002380.00220.499134
300.0263910.24190.404734
31-0.022228-0.20370.419532
32-0.089031-0.8160.208409
330.0485890.44530.328615
34-0.027876-0.25550.399484
350.096710.88640.188977
360.0155320.14230.443573
37-0.068474-0.62760.265992
38-0.094033-0.86180.195619
39-0.04737-0.43420.332645
400.0229490.21030.416959
41-0.038853-0.35610.361332
420.0441630.40480.343342
430.0133950.12280.451291
440.0330180.30260.381466
45-0.00198-0.01810.492784
46-0.026389-0.24190.40474
47-0.071595-0.65620.25675
480.0353970.32440.373214
49-0.023145-0.21210.41626
50-0.026824-0.24580.403202
510.0150850.13830.445185
52-0.001621-0.01490.494091
530.0151870.13920.444816
540.0794730.72840.234202
55-0.02701-0.24760.402543
560.0436460.40.345078
570.0105710.09690.461523
58-0.021722-0.19910.421338
59-0.088156-0.8080.210698
600.0104140.09540.462093
 
Charts produced by software:
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/10/t122892719439s99auopxxfo7a/19v0j1228927124.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/10/t122892719439s99auopxxfo7a/19v0j1228927124.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/10/t122892719439s99auopxxfo7a/2304h1228927124.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/10/t122892719439s99auopxxfo7a/2304h1228927124.ps (open in new window)


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