Home » date » 2008 » Dec » 20 »

PaperACF1Geoffrey

*Unverified author*
R Software Module: rwasp_autocorrelation.wasp (opens new window with default values)
Title produced by software: (Partial) Autocorrelation Function
Date of computation: Sat, 20 Dec 2008 07:46:30 -0700
 
Cite this page as follows:
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL http://www.freestatistics.org/blog/date/2008/Dec/20/t1229784484qei9fn91wn55duy.htm/, Retrieved Sat, 20 Dec 2008 15:48:06 +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/2008/Dec/20/t1229784484qei9fn91wn55duy.htm/},
    year = {2008},
}
@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 = {2008},
    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 «
127,84 132,43 134,13 134,78 133,13 129,08 134,48 132,86 134,08 134,54 134,51 135,97 136,09 139,14 135,63 136,55 138,83 138,84 135,37 132,22 134,75 135,98 136,06 138,05 139,59 140,58 139,81 140,77 140,96 143,59 142,7 145,11 146,7 148,53 148,99 149,65 151,11 154,82 156,56 157,6 155,24 160,68 163,22 164,55 166,76 159,05 159,82 164,95 162,89 163,55 158,68 157,97 156,59 161,56 162,31 166,26 168,45 163,63 153,2 133,52 123,28
 
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'Gwilym Jenkins' @ 72.249.127.135


Autocorrelation Function
Time lag kACF(k)T-STATP-value
10.8994287.02480
20.7867336.14460
30.7080865.53030
40.6633775.18111e-06
50.6426655.01942e-06
60.6084944.75256e-06
70.5832284.55521.3e-05
80.5499694.29543.2e-05
90.5030153.92870.00011
100.4466093.48810.000454
110.383962.99880.001959
120.3389612.64740.005155
130.2922122.28230.012988
140.259392.02590.023577
150.187951.46790.073629
160.112530.87890.191456
170.0700180.54690.293235
180.0343440.26820.394712
19-0.00163-0.01270.494941
20-0.047504-0.3710.355955
21-0.100341-0.78370.218127
22-0.138541-1.0820.141747
23-0.170156-1.3290.094405
24-0.194625-1.52010.06683
25-0.221552-1.73040.044309
26-0.244582-1.91020.030403
27-0.270283-2.1110.01944
28-0.288972-2.25690.013802
29-0.304922-2.38150.010189
30-0.313261-2.44660.008658
31-0.326135-2.54720.006698
32-0.337891-2.6390.00527
33-0.351995-2.74920.003925
34-0.363733-2.84080.003054
35-0.370785-2.89590.00262
36-0.371287-2.89980.002592
37-0.367548-2.87060.002812
38-0.350697-2.7390.004034
39-0.334026-2.60880.005705
40-0.306847-2.39660.009815
41-0.302752-2.36460.010624
42-0.308512-2.40960.009502
43-0.299782-2.34140.011248
44-0.277568-2.16790.01704
45-0.243729-1.90360.030843
46-0.237523-1.85510.034207
47-0.230575-1.80080.038335
48-0.20263-1.58260.059343
49-0.180257-1.40790.082125
50-0.152267-1.18920.119476
51-0.135078-1.0550.147794
52-0.11376-0.88850.188883
53-0.096875-0.75660.226096
54-0.070245-0.54860.29263
55-0.044671-0.34890.364185
56-0.032007-0.250.40172
57-0.001296-0.01010.495977
580.033480.26150.397298
590.0578350.45170.326541
600.0445590.3480.364514


Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
10.8994287.02480
2-0.116414-0.90920.183405
30.1210310.94530.174121
40.1116270.87180.193359
50.1071170.83660.203039
6-0.052473-0.40980.341684
70.0994470.77670.220166
8-0.046927-0.36650.357625
9-0.061806-0.48270.31551
10-0.07542-0.5890.279002
11-0.070536-0.55090.291857
120.0071390.05580.477858
13-0.086314-0.67410.251387
140.0439490.34330.366295
15-0.265052-2.07010.021341
16-0.01284-0.10030.460223
170.056190.43890.331158
18-0.04036-0.31520.376833
19-0.0647-0.50530.307577
20-0.014033-0.10960.456542
21-0.083036-0.64850.259539
220.0177390.13850.445131
230.0160250.12520.450405
240.0002470.00190.499233
25-0.022187-0.17330.431499
26-0.015048-0.11750.453414
27-0.031099-0.24290.404452
280.0037910.02960.488239
290.0152330.1190.452845
300.0435710.34030.367399
31-0.119932-0.93670.176303
32-0.00369-0.02880.488552
33-0.031721-0.24770.402581
34-0.026187-0.20450.41931
35-0.006453-0.05040.479985
36-0.014421-0.11260.455346
37-0.043402-0.3390.367894
380.0580830.45360.325849
390.0074980.05860.476748
400.0780320.60940.272245
41-0.114751-0.89620.186825
42-0.037217-0.29070.386144
430.0463550.3620.359284
440.0038630.03020.488014
450.0655650.51210.305223
46-0.147511-1.15210.126887
470.0247850.19360.423575
480.0611760.47780.31725
49-0.046401-0.36240.359151
500.0318630.24890.402153
510.0083490.06520.474112
52-0.041807-0.32650.372572
53-0.032241-0.25180.401016
540.0698030.54520.293809
55-0.002205-0.01720.493157
56-0.005054-0.03950.48432
570.0554320.43290.333293
580.0124920.09760.461299
59-0.070042-0.5470.293171
60-0.133442-1.04220.150713
 
Charts produced by software:
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/20/t1229784484qei9fn91wn55duy/1xznz1229784388.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/20/t1229784484qei9fn91wn55duy/1xznz1229784388.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/20/t1229784484qei9fn91wn55duy/2gdyg1229784388.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/20/t1229784484qei9fn91wn55duy/2gdyg1229784388.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 = 0 ; 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 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