Home » date » 2009 » Dec » 06 »

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: Sun, 06 Dec 2009 13:57:50 -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/06/t1260133114vzkpx6eblvxn7vi.htm/, Retrieved Sun, 06 Dec 2009 21:58:37 +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/06/t1260133114vzkpx6eblvxn7vi.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 «
100.00 100.83 101.51 102.16 102.39 102.54 102.85 103.47 103.57 103.69 103.50 103.47 103.45 103.48 103.93 103.89 104.40 104.79 104.77 105.13 105.26 104.96 104.75 105.01 105.15 105.20 105.77 105.78 106.26 106.13 106.12 106.57 106.44 106.54 107.10 108.10 108.40 108.84 109.62 110.42 110.67 111.66 112.28 112.87 112.18 112.36 112.16 111.49 111.25 111.36 111.74 111.10 111.33 111.25 111.04 110.97 111.31 111.02 111.07 111.36
 
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
017.7460
10.9499457.35820
20.9034826.99830
30.8584526.64950
40.812646.29470
50.7660925.93410
60.7191295.57030
70.6723025.20761e-06
80.6270694.85734e-06
90.5829264.51531.5e-05
100.5360144.15195.3e-05
110.4882943.78230.00018
120.4385833.39730.000607
130.3866682.99510.001991
140.3309462.56350.006443
150.2767732.14390.018053
160.2204471.70760.046442
170.1650111.27820.103056
180.1144930.88690.189349
190.0658380.510.305968
200.0243590.18870.425488
21-0.01459-0.1130.544802
22-0.053566-0.41490.660159
23-0.092775-0.71860.762422
24-0.128738-0.99720.838663
25-0.164292-1.27260.895966
26-0.196217-1.51990.933104
27-0.221722-1.71740.954472
28-0.247873-1.920.970193
29-0.271113-2.10.980031
30-0.294261-2.27930.986891
31-0.318535-2.46740.991759
32-0.340309-2.6360.994669
33-0.36292-2.81120.996671
34-0.387516-3.00170.998046
35-0.406826-3.15130.998732
36-0.418967-3.24530.99904
37-0.431016-3.33860.999275
38-0.43918-3.40190.999402
39-0.443107-3.43230.999455
40-0.443062-3.43190.999454
41-0.441359-3.41880.999432
42-0.428968-3.32280.999239
43-0.41138-3.18650.998857
44-0.38578-2.98820.997969
45-0.362772-2.810.99666
46-0.337549-2.61460.994361
47-0.310807-2.40750.990423
48-0.289844-2.24510.985771
49-0.270952-2.09880.979974
50-0.251347-1.94690.971885
51-0.22869-1.77140.959216
52-0.211146-1.63550.946413
53-0.190967-1.47920.927845
54-0.168218-1.3030.901225
55-0.145741-1.12890.868285
56-0.123321-0.95520.828356
57-0.096589-0.74820.771362
58-0.069276-0.53660.703239
59-0.038168-0.29560.61574


Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
00.9499457.35820
10.0111260.08620.465806
2-0.008472-0.06560.526053
3-0.031197-0.24170.595062
4-0.03312-0.25650.600795
5-0.03136-0.24290.595548
6-0.026413-0.20460.580709
7-0.011568-0.08960.535549
8-0.015313-0.11860.547012
9-0.055073-0.42660.664398
10-0.040667-0.3150.623075
11-0.054516-0.42230.662836
12-0.059173-0.45840.675823
13-0.07909-0.61260.728781
14-0.029008-0.22470.588509
15-0.064783-0.50180.691179
16-0.03862-0.29920.617071
170.0027580.02140.491513
18-0.022075-0.1710.567598
190.0320450.24820.402407
20-0.008966-0.06950.52757
21-0.035523-0.27520.607932
22-0.04202-0.32550.627027
23-0.010292-0.07970.531637
24-0.031946-0.24750.597299
25-0.000629-0.00490.501934
260.0312050.24170.404912
27-0.037684-0.29190.614313
28-0.011285-0.08740.534682
29-0.044201-0.34240.63337
30-0.060577-0.46920.679696
31-0.024538-0.19010.575052
32-0.061596-0.47710.682496
33-0.068245-0.52860.700491
34000.500001
350.0281210.21780.414154
36-0.031403-0.24320.595677
370.0005990.00460.498155
380.0051060.03960.48429
390.0058260.04510.482078
40-0.012596-0.09760.5387
410.0815550.63170.264985
420.0562490.43570.332309
430.0892970.69170.2459
44-0.020258-0.15690.562082
450.029570.2290.409805
460.0075720.05870.476713
47-0.076875-0.59550.723116
48-0.046283-0.35850.639389
49-0.017986-0.13930.555167
500.0024940.01930.492325
51-0.06986-0.54110.704791
52-0.001982-0.01540.506101
530.0079170.06130.475651
54-0.015679-0.12140.548129
55-0.018718-0.1450.557397
560.0343380.2660.395582
570.0244690.18950.425156
580.0598720.46380.322245
59NANANA
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2009/Dec/06/t1260133114vzkpx6eblvxn7vi/1zkth1260133068.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Dec/06/t1260133114vzkpx6eblvxn7vi/1zkth1260133068.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Dec/06/t1260133114vzkpx6eblvxn7vi/2sesw1260133068.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Dec/06/t1260133114vzkpx6eblvxn7vi/2sesw1260133068.ps (open in new window)


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