Home » date » 2010 » Dec » 21 »

*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, 21 Dec 2010 10:50:06 +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/21/t1292928464hfnvgpb5m6179io.htm/, Retrieved Tue, 21 Dec 2010 11:47:45 +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/21/t1292928464hfnvgpb5m6179io.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 «
11514 31514 27071 29462 26105 22397 23843 21705 18089 20764 25316 17704 15548 28029 29383 36438 32034 22679 24319 18004 17537 20366 22782 19169 13807 29743 25591 29096 26482 22405 27044 17970 18730 19684 19785 18479 10698 31956 29506 34506 27165 26736 23691 18157 17328 18205 20995 17382 9367 31124 26551 30651 25859 25100 25778 20418 18688 20424 24776 19814 12738 31566 30111 30019 31934 25826 26835 20205 17789 20520 22518 15572 11509 25447 24090 27786 26195 20516 22759 19028 16971 20036 22485 18730 14538 27561 25985 34670 32066 27186 29586 21359 21553 19573 24256 22380
 
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
1-0.392051-3.57180.000297
20.100110.9120.182194
3-0.135083-1.23070.110963
4-0.059338-0.54060.295116
50.0231010.21050.416912
60.0336350.30640.380022
7-0.057534-0.52420.300782
80.1395991.27180.103497
90.0924680.84240.200987
10-0.097793-0.89090.187769
11-0.030485-0.27770.390954
12-0.165608-1.50880.067579
13-0.084359-0.76850.222172
140.0811720.73950.230842
150.108260.98630.163427
16-0.05346-0.4870.313756
170.0143220.13050.44825
180.0202960.18490.426876
19-0.107418-0.97860.165304
20-0.016781-0.15290.439432
210.1243141.13260.130331
22-0.289833-2.64050.004944
230.4200853.82720.000125
24-0.230755-2.10230.01928
250.1467431.33690.092456
26-0.009358-0.08530.466133
27-0.027004-0.2460.403139
28-0.081579-0.74320.229723
290.1278661.16490.123695
30-0.083963-0.76490.223239
310.0502890.45820.324019
320.0416680.37960.352602
33-0.11119-1.0130.157004
340.1212331.10450.136286
35-0.026606-0.24240.404536
36-0.111398-1.01490.156555
370.0385390.35110.3632
38-0.045782-0.41710.338843
39-1.6e-05-1e-040.499942
400.0318550.29020.386189
41-0.042416-0.38640.350083
420.0159510.14530.442405
430.0169380.15430.43887
440.0797270.72630.234835
45-0.165452-1.50730.06776
460.1497471.36430.088087
47-0.104034-0.94780.172993
48-0.008647-0.07880.4687


Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
1-0.392051-3.57180.000297
2-0.063328-0.57690.282769
3-0.140202-1.27730.102528
4-0.193174-1.75990.041054
5-0.096621-0.88030.190629
6-0.014563-0.13270.447386
7-0.101046-0.92060.179972
80.0758690.69120.245686
90.2391292.17860.0161
100.0498050.45370.325599
11-0.030828-0.28090.389761
12-0.159269-1.4510.075273
13-0.290041-2.64240.004919
14-0.205417-1.87140.032404
150.0051640.0470.481295
16-0.092009-0.83820.202152
17-0.148369-1.35170.09007
180.0288770.26310.396569
19-0.046372-0.42250.336887
20-0.089003-0.81090.209884
210.2835942.58370.005764
22-0.201874-1.83920.034734
230.1255251.14360.128042
24-0.066667-0.60740.272635
25-0.075402-0.68690.247015
260.0314730.28670.387515
270.1178221.07340.143099
28-0.069972-0.63750.262784
290.0137870.12560.450176
300.056180.51180.305068
31-0.047366-0.43150.333602
32-0.033255-0.3030.381335
33-0.025543-0.23270.408279
34-0.012475-0.11370.454893
350.0299430.27280.392843
36-0.074301-0.67690.250171
370.0154650.14090.444148
38-0.099263-0.90430.18422
39-0.02187-0.19920.42128
400.0129970.11840.453014
41-0.15481-1.41040.081082
420.0193620.17640.430207
430.069910.63690.262967
44-0.003013-0.02750.489082
450.0795930.72510.235208
460.0754430.68730.2469
470.0661820.60290.274094
48-0.157748-1.43710.077217
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2010/Dec/21/t1292928464hfnvgpb5m6179io/1qlx61292928602.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/21/t1292928464hfnvgpb5m6179io/1qlx61292928602.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/21/t1292928464hfnvgpb5m6179io/2qlx61292928602.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/21/t1292928464hfnvgpb5m6179io/2qlx61292928602.ps (open in new window)


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