Home » date » 2007 » Dec » 07 » attachments

Autocorrelation Function 2 d=1 D=0

R Software Module: rwasp_autocorrelation.wasp (opens new window with default values)
Title produced by software: (Partial) Autocorrelation Function
Date of computation: Fri, 07 Dec 2007 06:28:53 -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/07/t1197033381jtab21w7pxknka7.htm/, Retrieved Fri, 07 Dec 2007 14:16:24 +0100
 
User-defined keywords:
 
Dataseries X:
» Textbox « » Textfile « » CSV «
106.22 106.31 107.38 109.31 110.82 111.22 110.66 110.76 110.69 111.08 110.97 110.24 112.51 111.52 112.13 112.23 112.92 111.89 111.99 111.51 112.33 112.04 112.09 111.41 112.61 113.14 113.65 114.26 114.4 114.93 114.86 114.95 116.17 114.6 114.62 113.82 115.02 115.18 115.59 116.6 117.07 116.96 116.66 116.07 116.04 115.81 116.22 115.85 116.43 117.39 119.17 119.24 120.03 119.34 118.49 118.59 117.5 117.56 118.25 118.01
 
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 time2 seconds
R Server'Gwilym Jenkins' @ 72.249.127.135


Autocorrelation Function
Time lag kACF(k)T-STATP-value
017.68110
1-0.06648-0.51060.694245
20.2090241.60550.056857
3-0.172771-1.32710.905202
4-0.035877-0.27560.608081
5-0.187285-1.43860.922221
6-0.145153-1.11490.865301
7-0.190534-1.46350.925683
80.0722640.55510.290473
9-0.048572-0.37310.64479
100.1517771.16580.124189
11-0.016613-0.12760.550553
120.295462.26950.013455
13-0.029359-0.22550.588819
140.0189950.14590.442248
15-0.180763-1.38850.914892
160.0095460.07330.470897
17-0.165903-1.27430.896227
18-0.011639-0.08940.535468
19-0.174197-1.3380.906989
200.1537541.1810.12117
21-0.056038-0.43040.665775
220.1345841.03380.152734
230.0258060.19820.421777
240.1619411.24390.109229
250.0254290.19530.422905
260.0718570.55190.291536
27-0.028846-0.22160.587294
280.0251810.19340.423649
29-0.110328-0.84740.799914
30-0.084497-0.6490.740583
31-0.167347-1.28540.898166
32-0.023767-0.18260.572114
33-0.049712-0.38180.648027
340.1267160.97330.167183
35-0.000758-0.00580.502314
360.1297840.99690.161444
370.0668520.51350.304759
380.0625460.48040.316352
39-0.107521-0.82590.793901
40-0.026458-0.20320.580171
41-0.078387-0.60210.725294
42-0.077094-0.59220.722001
430.0299870.23030.409315
44-0.100757-0.77390.778968
450.0497660.38230.351822
460.1665131.2790.10295
470.0737410.56640.28663


Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
0-0.06648-0.51060.694245
10.2055131.57860.059891
2-0.155284-1.19280.881131
3-0.097851-0.75160.772363
4-0.135385-1.03990.848687
5-0.173562-1.33320.906197
6-0.18986-1.45830.924975
70.0559510.42980.334464
8-0.055021-0.42260.662948
90.0220770.16960.432963
10-0.047363-0.36380.641346
110.2065181.58630.059009
12-0.00614-0.04720.518728
13-0.093523-0.71840.762315
14-0.100868-0.77480.779218
150.0438980.33720.368586
16-0.0713-0.54770.707007
17-0.028238-0.21690.585482
18-0.108436-0.83290.795873
190.0498060.38260.351708
20-0.069765-0.53590.70297
21-0.02969-0.22810.589803
220.0584990.44930.327416
230.0455760.35010.363765
240.0310920.23880.406035
250.0791120.60770.272868
260.131511.01010.158275
270.0271090.20820.417884
28-0.008499-0.06530.525914
29-0.066965-0.51440.695541
30-0.056986-0.43770.668404
31-0.103106-0.7920.784226
32-0.032548-0.250.598273
330.0682980.52460.30091
34-0.04217-0.32390.626425
35-0.059164-0.45440.674413
360.0770450.59180.278125
370.0226790.17420.431152
38-0.114737-0.88130.809137
39-0.02015-0.15480.561236
400.1036030.79580.214672
41-0.033602-0.25810.601387
420.1196560.91910.180893
43-0.085495-0.65670.743037
44-0.03716-0.28540.611844
450.1263890.97080.167802
460.0416460.31990.37509
47-0.019472-0.14960.559193
 
Charts produced by software:
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2007/Dec/07/t1197033381jtab21w7pxknka7/1eqqq1197034130.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2007/Dec/07/t1197033381jtab21w7pxknka7/1eqqq1197034130.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2007/Dec/07/t1197033381jtab21w7pxknka7/2n4dy1197034130.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2007/Dec/07/t1197033381jtab21w7pxknka7/2n4dy1197034130.ps (open in new window)


 
Parameters:
par1 = 48 ; par2 = 1.2 ; par3 = 1 ; par4 = 0 ; 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