Home » date » 2009 » Dec » 04 »

ws9 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: Fri, 04 Dec 2009 11:53:32 -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/04/t12599528622ct11amtp0zayoq.htm/, Retrieved Fri, 04 Dec 2009 19:54:25 +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/04/t12599528622ct11amtp0zayoq.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 «
2.05 2.11 2.09 2.05 2.08 2.06 2.06 2.08 2.07 2.06 2.07 2.06 2.09 2.07 2.09 2.28 2.33 2.35 2.52 2.63 2.58 2.70 2.81 2.97 3.04 3.28 3.33 3.50 3.56 3.57 3.69 3.82 3.79 3.96 4.06 4.05 4.03 3.94 4.02 3.88 4.02 4.03 4.09 3.99 4.01 4.01 4.19 4.30 4.27 3.82 3.15 2.49 1.81 1.26 1.06 0.84 0.78 0.70 0.36 0.35
 
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
1-0.190365-1.44980.076254
20.193361.47260.073134
3-0.260825-1.98640.025862
4-0.046663-0.35540.3618
5-0.318593-2.42630.009191
60.1438121.09520.13897
7-0.015283-0.11640.453872
80.1039850.79190.215815
9-0.073431-0.55920.289079
10-0.040977-0.31210.378052
11-0.028543-0.21740.414338
12-0.076644-0.58370.280843
130.190661.4520.075941
14-0.122566-0.93340.177234
150.2169741.65240.051926
16-0.145044-1.10460.136942
170.0549830.41870.338476
18-0.123459-0.94020.175498
190.0923290.70320.242386
20-0.133472-1.01650.156808
210.1470561.11990.133677
22-0.111036-0.84560.200619
230.1469821.11940.133796
24-0.083177-0.63350.264463
25-0.034571-0.26330.396632
260.0264760.20160.420454
27-0.040648-0.30960.379001
28-0.07993-0.60870.272541
290.0920650.70110.243007
300.0177970.13550.446329
31-0.032281-0.24580.403335
320.0356290.27130.393546
330.0103850.07910.468617
34-0.02336-0.17790.42971
35-0.054258-0.41320.340486
360.0402460.30650.380159
37-0.026162-0.19920.421384
380.018430.14040.444431
390.0141240.10760.457355
40-0.007229-0.05510.478141
410.0251150.19130.42449
420.0105910.08070.467997
43-0.030678-0.23360.408046
440.0097390.07420.470566
45-0.007954-0.06060.475953
46-0.001324-0.01010.495995
470.0395840.30150.382071
480.0061590.04690.481374
49-0.003059-0.02330.490746
500.0059590.04540.481979
51-0.017651-0.13440.446765
52-0.008304-0.06320.474897
530.0021020.0160.493641
54-0.009968-0.07590.469875
550.0055770.04250.483133
560.002340.01780.492922
57-0.005007-0.03810.484856
58NANANA
59NANANA
60NANANA


Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
1-0.190365-1.44980.076254
20.163031.24160.109691
3-0.212101-1.61530.055835
4-0.161357-1.22890.112044
5-0.312482-2.37980.010316
60.0173970.13250.447526
70.0496120.37780.353466
8-0.069602-0.53010.299041
9-0.152016-1.15770.125862
10-0.186091-1.41720.080883
110.0140650.10710.457535
12-0.103031-0.78470.217923
130.1188040.90480.184662
14-0.194133-1.47850.072346
150.0626370.4770.317568
16-0.030745-0.23410.407848
17-0.056799-0.43260.333467
180.0092150.07020.472147
19-0.050315-0.38320.351492
20-0.051754-0.39410.347459
21-0.002982-0.02270.490979
22-0.054934-0.41840.338613
230.0666640.50770.306794
24-0.005235-0.03990.484168
25-0.149147-1.13590.130342
260.0320940.24440.403883
27-0.01026-0.07810.468995
28-0.187184-1.42550.079679
290.0748620.57010.285395
30-0.043442-0.33080.370977
31-0.082438-0.62780.266291
32-0.028498-0.2170.414471
330.0068880.05250.479173
34-0.061668-0.46970.320182
35-0.052122-0.3970.34643
36-0.096815-0.73730.23195
37-0.024047-0.18310.427663
38-0.013131-0.10.460345
39-0.085181-0.64870.259539
40-0.034619-0.26370.396491
410.0099730.0760.469859
42-0.062096-0.47290.319026
430.0035190.02680.489355
44-0.082037-0.62480.267284
45-0.06111-0.46540.321693
460.0153810.11710.453577
470.005870.04470.482249
48-0.027787-0.21160.416574
49-0.028512-0.21710.414429
50-0.020004-0.15230.439722
510.0404070.30770.379695
52-0.034739-0.26460.396142
53-0.042562-0.32410.373499
54-0.004811-0.03660.485449
55-0.024237-0.18460.427101
56-0.048444-0.36890.356757
570.034250.26080.397571
58NANANA
59NANANA
60NANANA
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2009/Dec/04/t12599528622ct11amtp0zayoq/18sor1259952810.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Dec/04/t12599528622ct11amtp0zayoq/18sor1259952810.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Dec/04/t12599528622ct11amtp0zayoq/2gs961259952810.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Dec/04/t12599528622ct11amtp0zayoq/2gs961259952810.ps (open in new window)


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