Home » date » 2009 » Dec » 07 »

*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: Mon, 07 Dec 2009 12:33:45 -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/07/t126021450718dgrc8tynkzgog.htm/, Retrieved Mon, 07 Dec 2009 20:35:09 +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/07/t126021450718dgrc8tynkzgog.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 «
17 18 23.8 25.5 25.6 23.7 22 21.3 20.7 20.4 20.3 20.4 19.8 19.5 23.1 23.5 23.5 22.9 21.9 21.5 20.5 20.2 19.4 19.2 18.8 18.8 22.6 23.3 23 21.4 19.9 18.8 18.6 18.4 18.6 19.9 19.2 18.4 21.1 20.5 19.1 18.1 17 17.1 17.4 16.8 15.3 14.3 13.4 15.3 22.1 23.7 22.2 19.5 16.6 17.3 19.8 21.2 21.5 20.6 19.1 19.6 23.5 24
 
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.2961532.09410.02067
2-0.128739-0.91030.183511
3-0.507612-3.58940.000377
4-0.546792-3.86640.00016
5-0.156805-1.10880.136415
60.1982521.40190.083568
70.3839792.71510.004535
80.3495172.47150.008453
90.1091970.77210.221834
10-0.199322-1.40940.08245
11-0.206873-1.46280.074888
12-0.350121-2.47570.008364
13-0.106825-0.75540.226787
140.1431181.0120.158206
150.2745451.94130.028933
160.122680.86750.194912
170.0839010.59330.277837
18-0.022777-0.16110.436348
19-0.184719-1.30620.098737
20-0.118336-0.83680.203355
21-0.149821-1.05940.147255
220.0479530.33910.367984
230.101690.71910.237726
240.142991.01110.15842
250.0952050.67320.25196
260.072270.5110.305791
27-0.169218-1.19660.118562
28-0.072067-0.50960.306289
29-0.084774-0.59940.275791
30-0.121949-0.86230.196318
310.0975810.690.246693
320.1441741.01950.156446
330.1852521.30990.098103
340.0141360.10.46039
35-0.133238-0.94210.175328
36-0.160196-1.13280.131359
37-0.063549-0.44940.327558
380.0307940.21770.414257
390.1263220.89320.188007
400.0991590.70120.243226
41-0.018639-0.13180.447837
42-0.025873-0.18290.42779
43-0.047759-0.33770.368498
44-0.046766-0.33070.371133
45-0.048448-0.34260.366674
460.0093480.06610.47378
470.0228630.16170.43611
480.0444440.31430.377313
49-0.024305-0.17190.432119
50NANANA
51NANANA
52NANANA
53NANANA
54NANANA
55NANANA
56NANANA
57NANANA
58NANANA
59NANANA
60NANANA


Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
10.2961532.09410.02067
2-0.237254-1.67760.049829
3-0.453197-3.20460.001178
4-0.42438-3.00080.002096
5-0.161172-1.13970.12993
6-0.138809-0.98150.16553
7-0.129637-0.91670.181857
8-0.007173-0.05070.479875
90.0714830.50550.307729
10-0.017325-0.12250.451494
110.2131141.50690.069058
12-0.172859-1.22230.113663
13-0.05389-0.38110.352387
140.0095440.06750.473231
150.004090.02890.488522
16-0.347389-2.45640.008775
170.035560.25150.401248
180.1667131.17880.122021
19-0.125005-0.88390.190485
200.0182330.12890.448965
210.0239720.16950.433041
220.0148580.10510.458375
23-0.058217-0.41170.341175
24-0.029357-0.20760.418198
25-0.1173-0.82940.2054
260.1029860.72820.234937
27-0.060504-0.42780.335306
280.0545290.38560.350723
29-0.023281-0.16460.434954
30-0.054313-0.3840.351285
310.0614130.43430.332986
320.0634920.4490.327701
330.0039110.02770.489024
34-0.05443-0.38490.35098
35-0.052979-0.37460.354765
360.0773750.54710.293363
37-0.020948-0.14810.44142
380.1262910.8930.188064
390.0058640.04150.483546
400.0075050.05310.478944
410.0257920.18240.428013
420.0713420.50450.308076
43-0.068536-0.48460.315031
44-0.016904-0.11950.452668
450.054580.38590.350588
46-0.141244-0.99870.161363
47-0.031346-0.22170.412744
480.0032160.02270.490974
49-0.13163-0.93080.178223
50NANANA
51NANANA
52NANANA
53NANANA
54NANANA
55NANANA
56NANANA
57NANANA
58NANANA
59NANANA
60NANANA
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2009/Dec/07/t126021450718dgrc8tynkzgog/1ptxb1260214423.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Dec/07/t126021450718dgrc8tynkzgog/1ptxb1260214423.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Dec/07/t126021450718dgrc8tynkzgog/2usa01260214423.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Dec/07/t126021450718dgrc8tynkzgog/2usa01260214423.ps (open in new window)


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