Home » date » 2010 » Dec » 22 »

*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, 22 Dec 2010 14:21:53 +0000
 
Cite this page as follows:
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL http://www.freestatistics.org/blog/date/2010/Dec/22/t1293027600hyrsxuhtr9vl1oj.htm/, Retrieved Wed, 22 Dec 2010 15:20:02 +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/2010/Dec/22/t1293027600hyrsxuhtr9vl1oj.htm/},
    year = {2010},
}
@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 = {2010},
    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.193 15.234 14.718 16.961 13.945 15.876 16.226 18.316 16.748 17.904 17.209 18.950 17.225 18.710 17.236 18.687 17.580 19.568 17.381 19.580 17.260 18.661 15.658 18.674 15.908 17.475 17.725 19.562 16.368 19.555 17.743 19.867 15.703 19.324 18.162 19.074 15.323 19.704 18.375 18.352 13.927 17.795 16.761 18.902 16.239 19.158 18.279 15.698 16.239 18.431 18.414 19.801 14.995 18.706 18.232 19.409 16.263 19.017 20.298 19.891 15.203 17.845 17.502 18.532 15.737 17.770 17.224 17.601 14.940 18.507 17.635 19.392 15.699 17.661 18.243 19.643 15.770 17.344 17.229 17.322 16.152 17.919 16.918 18.114 16.308 17.759 16.021 17.952 15.954 17.762 16.610 17.751 15.458 18.106 15.990 15.349 13.185 15.409 16.007 16.633 14.800 15.974 15.693
 
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.0210710.21380.415546
20.3780253.83650.000108
3-0.118303-1.20060.116322
40.6404576.49990
5-0.128761-1.30680.097099
60.2446642.48310.00732
7-0.217718-2.20960.014674
80.4790934.86232e-06
9-0.280364-2.84540.002676
100.1600551.62440.053675
11-0.298926-3.03380.001529
120.4164194.22622.6e-05
13-0.256093-2.59910.00536
140.1541231.56420.060421
15-0.277048-2.81170.00295
160.4045984.10624e-05
17-0.241014-2.4460.008069
180.175291.7790.039094
19-0.244057-2.47690.00744
200.4314764.3791.4e-05
21-0.220589-2.23870.013662
220.1541361.56430.060406
23-0.257061-2.60890.005217
240.3610813.66460.000197
25-0.228862-2.32270.011081
260.0949450.96360.168755
27-0.276588-2.80710.00299
280.293272.97640.001818
29-0.269386-2.7340.003684
300.1039951.05540.146848
31-0.259926-2.6380.004817
320.3025363.07040.001367
33-0.279099-2.83250.002778
340.0897030.91040.182372
35-0.209837-2.12960.017793
360.2647892.68730.0042
37-0.245478-2.49130.007162
380.0963950.97830.165108
39-0.186197-1.88970.030805
400.2565382.60360.005294
41-0.225216-2.28570.01216
420.0842440.8550.197271
43-0.192649-1.95520.026636
440.1717241.74280.042176
45-0.216595-2.19820.015087
460.0594330.60320.273858
47-0.162578-1.650.050996
480.1844611.87210.032017


Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
10.0210710.21380.415546
20.3777493.83370.000109
3-0.153127-1.55410.061618
40.6076736.16720
5-0.293268-2.97630.001818
6-0.061355-0.62270.267435
70.0126260.12810.449144
80.1291161.31040.09649
9-0.28932-2.93630.002049
100.0667360.67730.249869
11-0.025034-0.25410.399976
120.1137191.15410.12556
130.0221460.22480.411306
14-0.052414-0.53190.297953
150.0366570.3720.355318
160.0848680.86130.195532
17-0.073655-0.74750.228228
18-0.004305-0.04370.482618
190.0702510.7130.238739
200.0612570.62170.26776
21-0.064947-0.65910.255638
22-0.05059-0.51340.304373
230.0142590.14470.442611
24-0.047906-0.48620.313931
250.0192190.19510.422867
26-0.113685-1.15380.125631
270.0519750.52750.299494
28-0.040197-0.4080.342077
29-0.037068-0.37620.35377
300.0879510.89260.187075
310.0071190.07220.471273
320.0002980.0030.498798
33-0.107848-1.09450.138136
340.0285680.28990.386226
350.0807460.81950.2072
36-0.140119-1.42210.079015
370.0339230.34430.365669
380.0244410.2480.402296
390.0090160.09150.463637
40-0.049821-0.50560.307097
410.0562080.57050.284807
42-0.068113-0.69130.245476
43-0.027313-0.27720.391092
44-0.114983-1.1670.122962
450.0740430.75150.227047
460.0186980.18980.424933
470.0166940.16940.432896
480.0240090.24370.403989
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2010/Dec/22/t1293027600hyrsxuhtr9vl1oj/1q5c31293027710.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/22/t1293027600hyrsxuhtr9vl1oj/1q5c31293027710.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/22/t1293027600hyrsxuhtr9vl1oj/2q5c31293027710.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/22/t1293027600hyrsxuhtr9vl1oj/2q5c31293027710.ps (open in new window)


 
Parameters (Session):
par1 = 48 ; par2 = 1 ; par3 = 0 ; par4 = 0 ; par5 = 4 ; par6 = White Noise ; par7 = 0.95 ;
 
Parameters (R input):
par1 = 48 ; par2 = 1 ; par3 = 0 ; par4 = 0 ; par5 = 4 ; par6 = White Noise ; 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