Home » date » 2007 » Dec » 20 » attachments

ACF - versie 2 - serie 3 - paper

R Software Module: rwasp_autocorrelation.wasp (opens new window with default values)
Title produced by software: (Partial) Autocorrelation Function
Date of computation: Thu, 20 Dec 2007 06:44:08 -0700
 
Cite this page as follows:
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL http://www.freestatistics.org/blog/date/2007/Dec/20/t11981572034di7xsd71uelf7w.htm/, Retrieved Thu, 20 Dec 2007 14:26:46 +0100
 
User-defined keywords:
 
Dataseries X:
» Textbox « » Textfile « » CSV «
2,9 2,6 2,5 3,2 3,1 3,1 2,9 2,5 2,8 3,1 2,6 2,3 2,3 2,6 2,9 2 2,2 2,4 2,3 2,6 1,9 1,1 1,3 1,6 1,7 1,9 1,6 1,8 1,8 1,5 1,6 1 1,5 1,8 1,7 1,2 1,4 1,1 1,3 1,3 1,3 1,3 0,9 1,3 1,8 2,7 2,6 2,9 2,2 2,1 2,3 2,3 2,7 2,6 2,9 3,1 2,8 2,1 2,3 2,2
 
Text written by user:
 
Output produced by software:


Summary of compuational 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
016.85570
1-0.14062-0.9640.83002
2-0.141173-0.96780.830959
3-0.116291-0.79720.785342
4-0.101796-0.69790.755653
50.1856411.27270.104694
60.1109310.76050.225376
7-0.210752-1.44480.922431
8-0.047472-0.32550.626859
90.1476351.01210.158328
10-0.058987-0.40440.656122
110.2639961.80990.038357
12-0.460532-3.15730.99861
130.0487890.33450.369752
140.1095160.75080.228257
15-0.027877-0.19110.575371
160.040030.27440.392477
17-0.089055-0.61050.727774
18-0.136208-0.93380.822409
190.0641440.43970.331068
200.1805361.23770.110989
21-0.036217-0.24830.597505
220.176091.20720.116696
23-0.174286-1.19480.880929
24-0.075125-0.5150.695526
25-0.044659-0.30620.619585
26-0.034087-0.23370.591881
270.0852240.58430.280917
280.0253990.17410.431257
29-0.047241-0.32390.626264
30-0.047211-0.32370.626185
310.0798450.54740.29335
32-0.077575-0.53180.701324
330.0411740.28230.389487
34-0.104169-0.71410.760665
350.0093860.06430.474483
360.1288720.88350.190731
37-0.006021-0.04130.516376
38-0.027759-0.19030.575056
39-0.033424-0.22910.590125
40-0.013142-0.09010.535702
410.0556470.38150.352278
420.1022670.70110.243346
43-0.083099-0.56970.714201
44-0.009864-0.06760.526815
450.0010560.00720.497128
46-0.011535-0.07910.531346
47NANANA


Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
0-0.14062-0.9640.83002
1-0.164194-1.12570.866987
2-0.170362-1.16790.875639
3-0.189133-1.29660.899456
40.0901710.61820.269719
50.1074520.73670.232498
6-0.17602-1.20670.883213
7-0.068538-0.46990.679691
80.1598151.09560.139411
9-0.07977-0.54690.706474
100.225441.54550.064462
11-0.411383-2.82030.996498
120.1206880.82740.206097
13-0.048485-0.33240.629465
14-0.094436-0.64740.739744
15-0.05404-0.37050.643655
16-0.061967-0.42480.663548
17-0.059344-0.40680.657014
18-0.138957-0.95260.827177
190.0833610.57150.285193
200.1648971.13050.132006
210.1084830.74370.230374
220.1481491.01570.157496
23-0.30281-2.0760.978304
24-0.041695-0.28580.611874
25-0.122918-0.84270.798164
26-0.051386-0.35230.6369
270.0013570.00930.496307
28-0.09302-0.63770.736621
29-0.068388-0.46880.679326
30-0.074658-0.51180.694416
31-0.024733-0.16960.566958
320.0270480.18540.426844
33-0.025742-0.17650.569662
340.1191040.81650.209156
35-0.062253-0.42680.664257
36-0.004106-0.02820.51117
37-0.022174-0.1520.560087
380.0211360.14490.442704
39-0.010044-0.06890.527302
40-0.085512-0.58620.719741
41-0.104975-0.71970.762355
42-0.037988-0.26040.602165
43-0.04779-0.32760.627677
440.1246490.85460.198567
450.0012420.00850.496621
46NANANA
47NANANA
 
Charts produced by software:
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2007/Dec/20/t11981572034di7xsd71uelf7w/1ly8w1198158246.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2007/Dec/20/t11981572034di7xsd71uelf7w/1ly8w1198158246.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2007/Dec/20/t11981572034di7xsd71uelf7w/2dsh81198158246.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2007/Dec/20/t11981572034di7xsd71uelf7w/2dsh81198158246.ps (open in new window)


 
Parameters (Session):
par1 = 48 ; par2 = 1 ; par3 = 1 ; par4 = 1 ; par5 = 12 ;
 
Parameters (R input):
par1 = 48 ; par2 = 1 ; par3 = 1 ; par4 = 1 ; par5 = 12 ;
 
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 (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='lags',ylab='ACF')
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 1:par1) {
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(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-1,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(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:

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