Home » date » 2009 » Dec » 27 »

paper ACF WLH

*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: Sun, 27 Dec 2009 06:56:04 -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/Dec/27/t1261922235jse40686s9r1duh.htm/, Retrieved Sun, 27 Dec 2009 14:57:17 +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/Dec/27/t1261922235jse40686s9r1duh.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 «
401 394 372 334 320 334 400 427 423 395 373 377 391 398 393 375 371 364 400 406 407 397 389 394 399 401 396 392 384 370 380 376 378 376 373 374 379 376 371 375 360 338 352 344 330 334 333 343 350 341 320 302 287 304 370 385 365 333 313 330 367
 
Output produced by software:


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


Autocorrelation Function
Time lag kACF(k)T-STATP-value
10.7981556.23380
20.4489363.50630.000429
30.2139441.6710.049927
40.2300631.79680.038656
50.4186653.26990.000886
60.5660744.42122.1e-05
70.519884.06047.1e-05
80.366992.86630.002846
90.2397281.87230.032978
100.2029011.58470.059102
110.248831.94340.028291
120.2901762.26630.013495
130.2134371.6670.050321
140.1113320.86950.193984
150.0324290.25330.400452
160.0051470.04020.484033
170.0162530.12690.449703
180.0163990.12810.449252
19-0.042832-0.33450.369565
20-0.109753-0.85720.197345
21-0.15739-1.22930.111848
22-0.178744-1.3960.083882
23-0.168895-1.31910.096031
24-0.154857-1.20950.115574
25-0.186423-1.4560.075259
26-0.212251-1.65770.051253
27-0.219614-1.71520.045688
28-0.209965-1.63990.053089
29-0.194187-1.51670.06726
30-0.199084-1.55490.062572
31-0.244777-1.91180.030303
32-0.288433-2.25270.013942
33-0.29508-2.30460.012303
34-0.256828-2.00590.024654
35-0.193457-1.51090.067983
36-0.157237-1.22810.112071
37-0.19652-1.53490.064993
38-0.236381-1.84620.034859
39-0.22378-1.74780.042767
40-0.159952-1.24930.10817
41-0.091729-0.71640.238232
42-0.087639-0.68450.248133
43-0.170731-1.33340.093671
44-0.240903-1.88150.032338
45-0.213861-1.67030.049991
46-0.086888-0.67860.249975
470.0597540.46670.321192
480.1053120.82250.206995
490.0010610.00830.496707
50-0.145123-1.13340.130732
51-0.204932-1.60060.05732
52-0.132577-1.03550.152271
530.0061940.04840.480787
540.0962030.75140.22766
550.0698720.54570.293624
560.001410.0110.495625
57-0.047108-0.36790.357103
58-0.048673-0.38010.352578
59-0.022078-0.17240.431832
60-0.000461-0.00360.498568


Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
10.7981556.23380
2-0.518301-4.04817.4e-05
30.3149062.45950.008382
40.370262.89180.002651
50.2038061.59180.058303
6-0.024466-0.19110.424547
7-0.106614-0.83270.204136
80.2196581.71560.045657
9-0.006655-0.0520.479357
10-0.147189-1.14960.127401
110.0296070.23120.408951
12-0.006917-0.0540.478548
13-0.33047-2.5810.006135
140.1854971.44880.07626
15-0.156871-1.22520.112605
16-0.128104-1.00050.160505
17-0.055814-0.43590.332216
18-3e-0600.49999
19-0.097821-0.7640.223905
20-0.058748-0.45880.323992
21-0.024826-0.19390.42345
220.0079190.06190.475441
23-0.029118-0.22740.410429
240.0119690.09350.462914
25-0.004048-0.03160.48744
260.0499540.39020.34889
270.0756670.5910.27836
28-0.00129-0.01010.495998
29-0.003983-0.03110.487641
30-0.016093-0.12570.450194
31-0.034416-0.26880.394497
32-0.104576-0.81680.20862
330.035050.27370.392601
340.0229580.17930.429147
35-0.064118-0.50080.309166
36-0.067668-0.52850.299533
37-0.043957-0.34330.36627
380.1171180.91470.18197
390.027410.21410.4156
40-0.046006-0.35930.360299
410.0074150.05790.477004
42-0.065623-0.51250.305065
43-0.137079-1.07060.144278
440.0781680.61050.271895
450.0790110.61710.269733
460.0755440.590.278678
470.020140.15730.437764
48-0.040078-0.3130.377666
49-0.021582-0.16860.433351
50-0.119682-0.93470.176802
51-0.012324-0.09630.461817
520.0070250.05490.478212
53-0.103888-0.81140.210148
54-0.002311-0.0180.492831
550.0391260.30560.380482
560.063920.49920.309708
57-0.116195-0.90750.183853
58-0.072024-0.56250.287911
59-0.009689-0.07570.469962
600.0470470.36740.357278
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2009/Dec/27/t1261922235jse40686s9r1duh/1su5z1261922160.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Dec/27/t1261922235jse40686s9r1duh/1su5z1261922160.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Dec/27/t1261922235jse40686s9r1duh/2677k1261922160.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Dec/27/t1261922235jse40686s9r1duh/2677k1261922160.ps (open in new window)


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