Home » date » 2007 » Dec » 25 » attachments

ACF 7

R Software Module: rwasp_autocorrelation.wasp (opens new window with default values)
Title produced by software: (Partial) Autocorrelation Function
Date of computation: Tue, 25 Dec 2007 05:42:03 -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/25/t1198585367amk9359675m1f1v.htm/, Retrieved Tue, 25 Dec 2007 13:22:47 +0100
 
User-defined keywords:
Klaas Van Pelt
 
Dataseries X:
» Textbox « » Textfile « » CSV «
99,9 99,9 99,9 99,9 99,9 99,7 99,6 99,5 100,6 100,2 100,1 100,2 99,1 99,5 99,5 99,6 99,5 99,6 99,8 99,9 100,5 100,5 100,5 100,5 99,5 99,9 100,4 99,6 99,5 99,6 98,4 99,9 100,3 100,3 101,3 101 99,7 99,4 99,9 100,7 99,8 98,8 99,6 99,1 100,3 100,5 100,8 100,6 99,1 98,8 99 99,9 99,5 99,2 99,6 100,1 99,8 101,6 101,7 101,9 100 102 102 102,9 102,7 102,7 102,7 102,7 102,6 102,6 102,5 102,5 102,1 103,5 103,2 102,1 103,8 104 103,9 104,1
 
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 time3 seconds
R Server'Herman Ole Andreas Wold' @ 193.190.124.10:1001


Autocorrelation Function
Time lag kACF(k)T-STATP-value
018.18540
1-0.441316-3.61230.999709
20.0725030.59350.277434
3-0.015645-0.12810.550757
40.031090.25450.399952
5-0.024183-0.19790.578157
60.0831290.68040.249286
7-0.115549-0.94580.826177
80.0964420.78940.216328
9-0.136697-1.11890.866414
10-0.015045-0.12320.548822
110.1726131.41290.081157
12-0.358028-2.93060.997689
130.3234092.64720.005054
14-0.293613-2.40330.990489
150.1359171.11250.134944
16-0.051282-0.41980.661997
17-0.007243-0.05930.523549
18-0.134282-1.09910.86218
190.2487062.03570.022867
20-0.133036-1.0890.859961
210.0768720.62920.26567
22-0.066062-0.54070.704761
230.0649030.53130.298501
240.0024610.02010.491994
25-0.118263-0.9680.831744
260.1441371.17980.121123
27-0.046006-0.37660.646161
280.0082680.06770.473123
290.0094390.07730.469323
300.0291670.23870.406016
31-0.114225-0.9350.82342
320.09770.79970.213353
33-0.084836-0.69440.755087
340.0904270.74020.230889
35-0.068094-0.55740.710435
36-0.093599-0.76610.776858
370.0701850.57450.28378
380.0139020.11380.454871
390.02280.18660.42626
400.0401130.32830.371841
41-0.046247-0.37850.646889
420.0340620.27880.390626
430.0045920.03760.485064
44-0.031747-0.25990.602115
450.0668510.54720.293031
46-0.007799-0.06380.525355
47-0.009427-0.07720.530637
480.0448510.36710.357344
49-0.054749-0.44810.67225
500.0132520.10850.456973
510.0057120.04680.481425
52-0.029256-0.23950.594263
530.0033040.0270.489252
54-0.011476-0.09390.53728
550.0441230.36120.359558
56-0.050917-0.41680.660911
57-0.007137-0.05840.523204
58-0.000337-0.00280.501095
590.0258810.21180.416436


Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
0-0.441316-3.61230.999709
1-0.151826-1.24270.890853
2-0.058211-0.47650.682357
30.0133450.10920.456671
4-0.001684-0.01380.505478
50.0940890.77020.221957
6-0.047574-0.38940.650896
70.031910.26120.397373
8-0.113024-0.92510.820894
9-0.161529-1.32220.904697
100.1206310.98740.163497
11-0.309073-2.52990.993116
120.1114250.91210.182505
13-0.228966-1.87420.967366
14-0.019291-0.15790.562495
15-0.047964-0.39260.652069
16-0.110694-0.90610.815926
17-0.160182-1.31110.902858
180.0353430.28930.386625
190.1017350.83270.203976
20-0.05709-0.46730.6791
21-0.014046-0.1150.545593
220.0388350.31790.375783
23-0.122112-0.99950.839434
24-0.081107-0.66390.745481
25-0.136699-1.11890.866416
260.0228070.18670.426235
27-0.047953-0.39250.652037
280.0447980.36670.357502
29-0.058127-0.47580.682114
30-0.056723-0.46430.678031
31-0.086507-0.70810.759326
32-0.072113-0.59030.721502
33-0.021187-0.17340.568579
34-0.038348-0.31390.62271
35-0.232156-1.90030.96915
36-0.046313-0.37910.64709
37-0.073813-0.60420.72612
38-0.014222-0.11640.546162
390.0344990.28240.38926
400.0118240.09680.461593
41-0.023844-0.19520.577076
42-0.056949-0.46610.678688
43-0.022106-0.18090.571521
44-0.083252-0.68140.751031
45-0.00283-0.02320.509206
46-0.009811-0.08030.531884
47-0.060173-0.49250.688025
48-0.018037-0.14760.558464
49-0.129081-1.05660.852749
500.0093260.07630.469688
51-0.053826-0.44060.669534
52-0.095886-0.78490.782349
53-0.04038-0.33050.628982
540.1071520.87710.191789
550.0004460.00370.498549
56-0.061221-0.50110.691032
57-0.024856-0.20350.580302
58-0.049462-0.40490.656565
59-0.024782-0.20280.580065
 
Charts produced by software:
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2007/Dec/25/t1198585367amk9359675m1f1v/1t4gf1198586518.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2007/Dec/25/t1198585367amk9359675m1f1v/1t4gf1198586518.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2007/Dec/25/t1198585367amk9359675m1f1v/2sazo1198586518.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2007/Dec/25/t1198585367amk9359675m1f1v/2sazo1198586518.ps (open in new window)


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