Home » date » 2009 » Dec » 19 »

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: Sat, 19 Dec 2009 09:26:13 -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/19/t1261240024f5ryncanr31q6ka.htm/, Retrieved Sat, 19 Dec 2009 17:27:07 +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/19/t1261240024f5ryncanr31q6ka.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 «
13.4 13.5 14.8 14.3 14.3 14 13.2 12.2 14.3 15.7 14.2 14.6 14.5 14.3 15.3 14.4 13.7 14.2 13.5 11.9 14.6 15.6 14.1 14.9 14.2 14.6 17.2 15.4 14.3 17.5 14.5 14.4 16.6 16.7 16.6 16.9 15.7 16.4 18.4 16.9 16.5 18.3 15.1 15.7 18.1 16.8 18.9 19 18.1 17.8 21.5 17.1 18.7 19 16.4 16.9 18.6 19.3 19.4 17.6 18.6 18.1 20.4 18.1 19.6 19.9 19.2 17.8 19.2 22 21.1 19.5
 
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.7509256.37180
20.6592935.59430
30.708736.01380
40.6154355.22211e-06
50.6162115.22871e-06
60.6705875.69010
70.5343634.53421.1e-05
80.5045134.28092.8e-05
90.5390454.57391e-05
100.4077433.45980.000456
110.4668243.96118.7e-05
120.5758694.88643e-06
130.3995453.39030.000568
140.3515452.9830.001947
150.3588673.04510.001624
160.2731752.3180.011648
170.301152.55530.00636
180.3237022.74670.0038
190.2059931.74790.042372
200.1763131.49610.069504
210.1747651.48290.071229
220.0444430.37710.353599
230.109770.93140.177373
240.122931.04310.150196
25-0.015879-0.13470.446598
26-0.062866-0.53340.297689
27-0.067463-0.57240.284402
28-0.136972-1.16220.124486
29-0.11026-0.93560.176307
30-0.096186-0.81620.208549
31-0.169481-1.43810.07737
32-0.169066-1.43460.07787
33-0.206838-1.75510.04175
34-0.268596-2.27910.012813
35-0.202502-1.71830.045021
36-0.180312-1.530.065199
37-0.255955-2.17190.016581
38-0.295499-2.50740.00721
39-0.302329-2.56530.006195
40-0.329396-2.7950.003324
41-0.312176-2.64890.004959
42-0.299552-2.54180.006591
43-0.347978-2.95270.002126
44-0.332803-2.82390.003066
45-0.36181-3.07010.001509
46-0.398944-3.38520.000577
47-0.359156-3.04750.001612
48-0.308942-2.62150.005338
49-0.337855-2.86680.002717
50-0.36197-3.07140.001503
51-0.338331-2.87080.002686
52-0.331386-2.81190.003171
53-0.284782-2.41650.009104
54-0.256674-2.1780.016343
55-0.259938-2.20560.015301
56-0.251712-2.13590.018046
57-0.251916-2.13760.017973
58-0.24782-2.10280.019489
59-0.225243-1.91120.029977
60-0.200242-1.69910.046808


Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
10.7509256.37180
20.2187621.85630.033754
30.3797333.22210.000956
4-0.067465-0.57250.284396
50.2020171.71420.0454
60.1756611.49050.070227
7-0.214391-1.81920.036522
80.0192110.1630.435485
90.0231940.19680.422267
10-0.199497-1.69280.047409
110.2570812.18140.01621
120.2444682.07440.02081
13-0.297386-2.52340.006915
14-0.098615-0.83680.202743
15-0.118551-1.00590.158907
160.0252190.2140.41558
17-0.001942-0.01650.493448
18-0.028129-0.23870.406016
190.0335330.28450.388407
20-0.145081-1.23110.111154
21-0.027462-0.2330.408201
22-0.101658-0.86260.195611
230.0747420.63420.263977
24-0.147203-1.24910.107844
25-0.06797-0.57670.282956
26-0.12945-1.09840.137841
270.0596630.50630.307111
28-0.012485-0.10590.457963
29-0.030127-0.25560.399479
300.0406380.34480.365616
310.0601890.51070.305553
32-0.014269-0.12110.451982
33-0.116857-0.99160.162364
340.0823080.69840.243587
35-0.032931-0.27940.39036
360.0773630.65640.256815
37-0.009626-0.08170.467563
38-0.070428-0.59760.275992
39-0.003249-0.02760.489041
40-0.033089-0.28080.389846
41-0.045717-0.38790.349608
420.0149190.12660.449809
43-0.059451-0.50450.30774
440.0434910.3690.356592
450.0142250.12070.452131
46-0.093186-0.79070.215854
470.0017460.01480.494109
480.0159410.13530.446391
490.044460.37730.353546
50-0.046813-0.39720.34619
510.0588850.49970.30942
520.0436490.37040.356097
530.0458130.38870.349309
54-0.028004-0.23760.406426
550.0440920.37410.354703
56-0.034755-0.29490.384457
57-0.028599-0.24270.404477
580.0706970.59990.275233
59-0.073668-0.62510.266943
60-0.106755-0.90580.18402
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2009/Dec/19/t1261240024f5ryncanr31q6ka/1ygnx1261239970.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Dec/19/t1261240024f5ryncanr31q6ka/1ygnx1261239970.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Dec/19/t1261240024f5ryncanr31q6ka/2pw9r1261239970.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Dec/19/t1261240024f5ryncanr31q6ka/2pw9r1261239970.ps (open in new window)


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