Home » date » 2010 » Dec » 14 »

*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, 14 Dec 2010 19:12:26 +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/14/t1292353804nmp8jmx6fcb19fh.htm/, Retrieved Tue, 14 Dec 2010 20:10:04 +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/14/t1292353804nmp8jmx6fcb19fh.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 «
313737 312276 309391 302950 300316 304035 333476 337698 335932 323931 313927 314485 313218 309664 302963 298989 298423 301631 329765 335083 327616 309119 295916 291413 291542 284678 276475 272566 264981 263290 296806 303598 286994 276427 266424 267153 268381 262522 255542 253158 243803 250741 280445 285257 270976 261076 255603 260376 263903 264291 263276 262572 256167 264221 293860 300713 287224 275902 271115 277509 279681
 
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'Sir Ronald Aylmer Fisher' @ 193.190.124.24


Autocorrelation Function
Time lag kACF(k)T-STATP-value
10.1303960.90340.185411
20.0975050.67550.251288
30.347192.40540.010029
40.1553951.07660.143518
50.0541260.3750.354657
60.1659511.14970.127973
70.0207150.14350.443241
80.179541.24390.10979
9-0.017193-0.11910.452841
10-0.066648-0.46170.323174
110.2372991.64410.05335
12-0.084537-0.58570.280413
13-0.185509-1.28520.102437
140.1245350.86280.196268
150.0752320.52120.302305
16-0.04887-0.33860.368202
17-0.002517-0.01740.49308
18-0.068187-0.47240.319388
19-0.023789-0.16480.434892
20-0.096883-0.67120.252648
21-0.208442-1.44410.077599
22-0.01577-0.10930.456727
23-0.131757-0.91280.182944
24-0.177797-1.23180.11201
25-0.057913-0.40120.345014
26-0.119087-0.82510.206709
27-0.269587-1.86780.033954
28-0.090977-0.63030.265741
29-0.089692-0.62140.268636
30-0.112909-0.78230.218952
31-0.031535-0.21850.41399
32-0.044422-0.30780.379796
33-0.04583-0.31750.376114
34-0.003156-0.02190.491323
35-0.029417-0.20380.419682
36-0.043055-0.29830.383382
37-0.002296-0.01590.493687
38-0.031201-0.21620.414886
39-0.00127-0.00880.496508
400.0236540.16390.435258
41-0.017175-0.1190.452889
42-0.010819-0.0750.470281
430.0153750.10650.457806
440.0038280.02650.489475
45-0.014159-0.09810.461133
460.0056850.03940.484372
470.0059720.04140.483585
48NANANA
49NANANA
50NANANA
51NANANA
52NANANA
53NANANA
54NANANA
55NANANA
56NANANA
57NANANA
58NANANA
59NANANA
60NANANA


Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
10.1303960.90340.185411
20.0818950.56740.286549
30.3326892.30490.012769
40.0873020.60480.274066
5-0.014037-0.09720.461467
60.0419220.29040.386363
7-0.086594-0.59990.275684
80.1736721.20320.117393
9-0.130284-0.90260.185614
10-0.081825-0.56690.286711
110.1965671.36190.089801
12-0.157732-1.09280.139969
13-0.126467-0.87620.192646
140.0377480.26150.397404
150.1520521.05340.148705
160.0522340.36190.359512
17-0.091965-0.63720.263526
18-0.103089-0.71420.239274
19-0.076919-0.53290.298276
20-0.038735-0.26840.394786
21-0.128454-0.890.188965
22-0.039694-0.2750.392246
23-0.052354-0.36270.359203
240.0509890.35330.36272
25-0.04511-0.31250.377996
26-0.116848-0.80950.211099
27-0.154146-1.0680.145442
280.0520680.36070.359939
290.0930480.64470.261111
30-0.047439-0.32870.371918
310.0369830.25620.399435
320.0546340.37850.353358
33-0.014803-0.10260.459371
34-0.010125-0.07010.472183
350.0143810.09960.460525
36-0.029289-0.20290.420027
370.0194750.13490.446616
380.0415690.2880.387294
39-0.087009-0.60280.274734
40-0.049435-0.34250.366737
410.0433530.30040.3826
420.0244250.16920.433168
43-0.019359-0.13410.446934
44-0.009293-0.06440.474466
45-0.046592-0.32280.374125
46-0.063021-0.43660.332171
47-0.034639-0.240.405681
48NANANA
49NANANA
50NANANA
51NANANA
52NANANA
53NANANA
54NANANA
55NANANA
56NANANA
57NANANA
58NANANA
59NANANA
60NANANA
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2010/Dec/14/t1292353804nmp8jmx6fcb19fh/11fvk1292353942.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/14/t1292353804nmp8jmx6fcb19fh/11fvk1292353942.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/14/t1292353804nmp8jmx6fcb19fh/21fvk1292353942.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/14/t1292353804nmp8jmx6fcb19fh/21fvk1292353942.ps (open in new window)


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