Home » date » 2010 » 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: Tue, 07 Dec 2010 15:41:58 +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/07/t1291736461f91h6idb08ro8nv.htm/, Retrieved Tue, 07 Dec 2010 16:41:01 +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/07/t1291736461f91h6idb08ro8nv.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 «
31.514 27.071 29.462 26.105 22.397 23.843 21.705 18.089 20.764 25.316 17.704 15.548 28.029 29.383 36.438 32.034 22.679 24.319 18.004 17.537 20.366 22.782 19.169 13.807 29.743 25.591 29.096 26.482 22.405 27.044 17.970 18.730 19.684 19.785 18.479 10.698 31.956 29.506 34.506 27.165 26.736 23.691 18.157 17.328 18.205 20.995 17.382 9.367 31.124 26.551 30.651 25.859 25.100 25.778 20.418 18.688 20.424 24.776 19.814 12.738 31.566 30.111 30.019 31.934 25.826 26.835 20.205 17.789 20.520 22.518 15.572 11.509 25.447 24.090 27.786 26.195 20.516 22.759 19.028 16.971 20.036 22.485 18.730 14.538 27.561 25.985 34.670 32.066 27.186 29.586 21.359 21.553 19.573 24.256
 
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'RServer@AstonUniversity' @ vre.aston.ac.uk


Autocorrelation Function
Time lag kACF(k)T-STATP-value
10.3941873.82180.000119
20.1750521.69720.046485
3-0.029334-0.28440.388364
4-0.216516-2.09920.01924
5-0.280179-2.71640.003927
6-0.482067-4.67385e-06
7-0.293832-2.84880.002696
8-0.2335-2.26390.012941
9-0.092544-0.89720.185939
100.0247090.23960.405596
110.2260972.19210.015421
120.7428377.20210
130.2788842.70390.004068
140.1248961.21090.114483
15-0.029411-0.28520.388077
16-0.203468-1.97270.025734
17-0.267059-2.58920.005574
18-0.472219-4.57837e-06
19-0.288193-2.79410.003154
20-0.22251-2.15730.016765
21-0.089797-0.87060.193092
220.044360.43010.334059
230.2445072.37060.009901
240.6787086.58030
250.3081462.98760.001793
260.1641951.59190.057379
270.0174980.16970.432824
28-0.127559-1.23670.109634
29-0.18678-1.81090.036676
30-0.379956-3.68380.000192
31-0.225065-2.18210.015798
32-0.198279-1.92240.028793
33-0.113564-1.1010.136844
340.0201820.19570.422647
350.1491771.44630.075707
360.5253395.09341e-06
370.2497092.4210.008699
380.1300431.26080.105249
390.0217690.21110.416648
40-0.108252-1.04950.148311
41-0.165608-1.60560.055855
42-0.304632-2.95350.001984
43-0.18461-1.78990.038348
44-0.178067-1.72640.043778
45-0.096349-0.93410.176314
460.0083820.08130.4677
470.1091041.05780.146428
480.408263.95827.3e-05


Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
10.3941873.82180.000119
20.0232860.22580.410935
3-0.125461-1.21640.11344
4-0.202454-1.96290.026309
5-0.139482-1.35230.089758
6-0.371987-3.60650.00025
7-0.023645-0.22920.409589
8-0.163917-1.58920.057683
9-0.093241-0.9040.184151
10-0.129049-1.25120.106987
110.1090671.05740.146508
120.6538696.33950
13-0.457434-4.4351.2e-05
14-0.180379-1.74880.041791
150.0706110.68460.247641
16-0.079739-0.77310.220701
17-0.155869-1.51120.067045
18-0.096221-0.93290.176632
19-0.038668-0.37490.354289
20-0.104458-1.01280.156887
21-0.038889-0.3770.353496
220.1842921.78680.038599
230.0239950.23260.408275
24-0.089266-0.86550.194493
250.0394450.38240.351501
26-0.017301-0.16770.433575
27-0.100449-0.97390.166304
280.086120.8350.202928
290.0992930.96270.169089
30-0.01012-0.09810.461024
31-0.043005-0.41690.338835
320.0172680.16740.433699
33-0.013891-0.13470.446575
340.0266570.25840.398313
35-0.173081-1.67810.048326
36-0.017712-0.17170.432014
370.0389210.37740.353382
38-0.054725-0.53060.298482
390.0227510.22060.412951
400.0221030.21430.415391
41-0.036904-0.35780.360647
420.1108691.07490.142583
43-0.043642-0.42310.336586
44-0.029581-0.28680.387448
450.0668270.64790.25931
46-0.126544-1.22690.111463
470.037350.36210.359037
48-0.055224-0.53540.296812
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2010/Dec/07/t1291736461f91h6idb08ro8nv/18rr21291736515.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/07/t1291736461f91h6idb08ro8nv/18rr21291736515.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/07/t1291736461f91h6idb08ro8nv/28rr21291736515.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/07/t1291736461f91h6idb08ro8nv/28rr21291736515.ps (open in new window)


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