Home » date » 2009 » Dec » 29 »

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: Tue, 29 Dec 2009 01:06:59 -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/29/t1262074129lvr849qyq6r3zhd.htm/, Retrieved Tue, 29 Dec 2009 09:08:51 +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/29/t1262074129lvr849qyq6r3zhd.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.2664312.06380.021687
20.3503792.7140.004333
30.4694783.63660.000288
40.1376511.06620.145294
50.1195960.92640.178978
60.1780031.37880.086536
7-0.123993-0.96040.170342
80.0254510.19710.422191
9-0.009812-0.0760.469834
10-0.229403-1.77690.040323
11-0.120402-0.93260.177375
12-0.213995-1.65760.051309
13-0.206915-1.60280.05712
14-0.040913-0.31690.376204
15-0.162193-1.25630.106931
16-0.129273-1.00130.160341
170.0957380.74160.230617
18-0.022176-0.17180.432097
19-0.014065-0.10890.456805
207.2e-056e-040.499777
210.0479480.37140.355823
22-0.128974-0.9990.160896
230.0425380.32950.371465
24-0.181668-1.40720.082265
25-0.187264-1.45050.076058
26-0.047563-0.36840.356927
27-0.21409-1.65830.051235
28-0.181903-1.4090.081996
29-0.09562-0.74070.230891
30-0.217551-1.68510.048578
31-0.104966-0.81310.209698
32-0.057769-0.44750.328071
33-0.209774-1.62490.054713
340.0186290.14430.442873
350.0959550.74330.230112
36-0.011427-0.08850.464881
370.18911.46480.074103
380.1199080.92880.178355
390.0885810.68610.247632
400.2325431.80130.038343
410.0663960.51430.304465
420.0741820.57460.283852
430.145021.12330.132888
440.0680930.52740.299916
450.0396150.30690.380007
460.0429220.33250.370346
47-0.032757-0.25370.400284
48-0.031866-0.24680.402941
49-0.041099-0.31840.375662
50-0.093815-0.72670.235121
51-0.057882-0.44840.327756
52-0.048848-0.37840.353243
53-0.062099-0.4810.316128
54-0.04864-0.37680.353839
55-0.045442-0.3520.363039
56-0.026528-0.20550.418945
57-0.010165-0.07870.468752
58-0.003601-0.02790.48892
590.0002220.00170.499318
60NANANA


Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
10.2664312.06380.021687
20.3007422.32950.011607
30.3835242.97080.002134
4-0.108485-0.84030.202032
5-0.173256-1.3420.09232
6-0.006563-0.05080.479814
7-0.197164-1.52720.06598
80.0528440.40930.34188
90.0357510.27690.391393
10-0.139951-1.08410.141338
11-0.117233-0.90810.183734
12-0.16523-1.27990.102759
130.0789610.61160.271546
140.2177391.68660.048437
150.0329210.2550.399797
16-0.097013-0.75150.227657
170.0523390.40540.343308
180.0686510.53180.298425
19-0.034647-0.26840.394665
20-0.20189-1.56380.061558
210.0752270.58270.281137
22-0.251844-1.95080.027879
230.0187260.14510.442578
24-0.194417-1.50590.068663
25-0.111096-0.86050.196457
260.112180.86890.19417
27-0.06658-0.51570.303971
280.0873790.67680.250555
290.0003680.00280.498868
30-0.053992-0.41820.33864
31-0.016576-0.12840.449131
32-0.057988-0.44920.327461
33-0.021373-0.16560.434531
34-0.007441-0.05760.477116
350.0915520.70920.240486
360.0290410.22490.411392
370.0019760.01530.493921
38-0.067313-0.52140.302001
39-0.00705-0.05460.478315
400.0037480.0290.488468
410.0613910.47550.318068
42-0.042615-0.33010.37124
430.0065290.05060.479918
44-0.029084-0.22530.411261
45-0.015872-0.12290.451281
46-0.040068-0.31040.37868
470.0037610.02910.488429
48-0.007244-0.05610.477721
49-0.121706-0.94270.1748
500.0355960.27570.391852
510.0302980.23470.407625
52-0.029538-0.22880.409902
53-0.055467-0.42960.334497
54-0.095576-0.74030.230993
55-0.011919-0.09230.463373
560.0288640.22360.411923
570.0013620.01060.495808
58-0.081056-0.62790.26624
590.0795290.6160.270102
60NANANA
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2009/Dec/29/t1262074129lvr849qyq6r3zhd/1fziv1262074017.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Dec/29/t1262074129lvr849qyq6r3zhd/1fziv1262074017.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Dec/29/t1262074129lvr849qyq6r3zhd/2nr901262074017.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Dec/29/t1262074129lvr849qyq6r3zhd/2nr901262074017.ps (open in new window)


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