Home » date » 2009 » Nov » 26 »

cs.shw.ws8.v1.3

*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: Thu, 26 Nov 2009 11:34:10 -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/Nov/26/t12592606197ofyyx4h4385ax9.htm/, Retrieved Thu, 26 Nov 2009 19:37: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/2009/Nov/26/t12592606197ofyyx4h4385ax9.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 «
10570 10297 10635 10872 10296 10383 10431 10574 10653 10805 10872 10625 10407 10463 10556 10646 10702 11353 11346 11451 11964 12574 13031 13812 14544 14931 14886 16005 17064 15168 16050 15839 15137 14954 15648 15305 15579 16348 15928 16171 15937 15713 15594 15683 16438 17032 17696 17745 19394 20148 20108 18584 18441 18391 19178 18079 18483 19644 19195 19650
 
Output produced by software:


Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time1 seconds
R Server'Gwilym Jenkins' @ 72.249.127.135


Autocorrelation Function
Time lag kACF(k)T-STATP-value
1-0.084606-0.64990.259148
2-0.081544-0.62630.266751
30.1564091.20140.117198
40.0663580.50970.306081
5-0.18876-1.44990.076191
6-0.088691-0.68120.24919
7-0.073622-0.56550.28694
8-0.128472-0.98680.163882
90.0837680.64340.261219
10-0.036623-0.28130.38973
110.0629450.48350.315268
12-0.052466-0.4030.344202
13-0.00718-0.05520.478102
14-0.048932-0.37590.354187
15-0.101087-0.77650.220289
16-0.142251-1.09270.139494
17-0.056263-0.43220.3336
180.0575630.44210.329999
19-0.12552-0.96410.169455
200.1364561.04810.149424
210.0251970.19350.423599
220.1679871.29030.100984
230.0172820.13270.447422
24-0.02986-0.22940.409692
250.011320.08690.465503
260.1246540.95750.171115
27-0.02383-0.1830.427697
28-0.109878-0.8440.201043
290.1164710.89460.187309
30-0.079953-0.61410.270745
31-0.01043-0.08010.468208
320.0084590.0650.474208
33-0.033882-0.26020.397789
34-0.020601-0.15820.437403
35-0.026262-0.20170.420415
36-0.005746-0.04410.482474
370.0239460.18390.42735
38-0.046212-0.3550.361942
390.0418820.32170.374409
400.041180.31630.376442
41-0.016556-0.12720.449619
42-0.009871-0.07580.469909
430.0028290.02170.491367
44-0.041558-0.31920.375346
45-0.030867-0.23710.406702
460.0176280.13540.446377
470.0393130.3020.381868
48-0.015862-0.12180.451722
49-0.005305-0.04070.483817
500.0126370.09710.461501
510.0423630.32540.373016
52-0.004152-0.03190.487332
53-0.055754-0.42830.335014
540.0501040.38490.350863
55-0.008835-0.06790.473062
56-0.023835-0.18310.427682
570.0144520.1110.455994
58-0.005939-0.04560.481886
59NANANA
60NANANA


Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
1-0.084606-0.64990.259148
2-0.089341-0.68620.247623
30.1434991.10220.137417
40.0878070.67450.251326
5-0.158902-1.22050.113556
6-0.138984-1.06760.145035
7-0.148379-1.13970.129504
8-0.128072-0.98370.164631
90.1174780.90240.185266
10-0.006411-0.04920.480446
110.0941850.72340.236131
12-0.120494-0.92550.17923
13-0.11389-0.87480.192613
14-0.120299-0.9240.179615
15-0.147338-1.13170.131165
16-0.147338-1.13170.131164
17-0.08472-0.65070.258868
180.0380160.2920.385653
19-0.114684-0.88090.190971
200.0535590.41140.341136
21-0.098885-0.75950.225275
220.0986050.75740.225911
23-0.031125-0.23910.405938
24-0.115378-0.88620.189545
25-0.050777-0.390.348961
260.1059320.81370.209551
270.0666330.51180.305344
28-0.020227-0.15540.438531
290.0115810.0890.464709
30-0.13617-1.04590.149927
31-0.103113-0.7920.215759
32-0.046022-0.35350.362486
33-0.053561-0.41140.341132
340.0742720.57050.285255
35-0.056945-0.43740.331709
36-0.009978-0.07660.469583
370.050050.38440.351018
38-0.102643-0.78840.216806
390.1057780.81250.209886
40-0.051483-0.39540.34697
410.0740020.56840.285954
42-0.013511-0.10380.458847
43-0.044095-0.33870.36802
44-0.076908-0.59070.278475
45-0.042432-0.32590.372816
46-0.00879-0.06750.473199
470.0260640.20020.421005
48-0.030032-0.23070.409181
49-0.097742-0.75080.227887
50-0.039149-0.30070.382346
510.0027790.02130.49152
520.0045690.03510.486061
530.0053540.04110.483667
540.0346350.2660.395568
55-0.005121-0.03930.484378
560.0167210.12840.44912
57-0.019173-0.14730.441711
58-0.020919-0.16070.436446
59NANANA
60NANANA
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2009/Nov/26/t12592606197ofyyx4h4385ax9/1imv71259260448.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/26/t12592606197ofyyx4h4385ax9/1imv71259260448.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Nov/26/t12592606197ofyyx4h4385ax9/2cab81259260448.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/26/t12592606197ofyyx4h4385ax9/2cab81259260448.ps (open in new window)


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