Home » date » 2009 » Nov » 27 »

Workshop8 ACF d=0 D=1 L=1

*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: Fri, 27 Nov 2009 02:07:06 -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/Nov/27/t1259312957j6zx1gm6ay348vj.htm/, Retrieved Fri, 27 Nov 2009 10:09:19 +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/Nov/27/t1259312957j6zx1gm6ay348vj.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 «
562325 560854 555332 543599 536662 542722 593530 610763 612613 611324 594167 595454 590865 589379 584428 573100 567456 569028 620735 628884 628232 612117 595404 597141 593408 590072 579799 574205 572775 572942 619567 625809 619916 587625 565742 557274 560576 548854 531673 525919 511038 498662 555362 564591 541657 527070 509846 514258 516922 507561 492622 490243 469357 477580 528379 533590 517945 506174 501866 516141 528222 532638 536322 536535 523597 536214 586570 596594 580523
 
Output produced by software:


Summary of computational 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
10.9362367.06840
20.8649646.53030
30.7843335.92160
40.6869755.18661e-06
50.5820774.39462.4e-05
60.4809523.63110.000303
70.3734472.81950.003302
80.2847252.14960.017921
90.2018021.52360.066573
100.131280.99110.162902
110.0726260.54830.292808
120.0099070.07480.470318
13-0.048216-0.3640.358594
14-0.098365-0.74260.230375
15-0.15828-1.1950.118521
16-0.228713-1.72670.044815
17-0.283873-2.14320.01819
18-0.34702-2.61990.005626
19-0.400865-3.02650.001855
20-0.454079-3.42820.000567
21-0.50084-3.78130.000188
22-0.53185-4.01548.8e-05
23-0.547708-4.13515.9e-05
24-0.549922-4.15185.6e-05
25-0.5298-3.99999.2e-05
26-0.515573-3.89250.000131
27-0.486367-3.6720.000266
28-0.438482-3.31050.00081
29-0.38676-2.920.002503
30-0.335231-2.53090.00708
31-0.282831-2.13530.018522
32-0.237188-1.79070.039323
33-0.18388-1.38830.08523
34-0.132956-1.00380.159859
35-0.091291-0.68920.246738
36-0.060071-0.45350.325945


Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
10.9362367.06840
2-0.093749-0.70780.240979
3-0.111339-0.84060.202044
4-0.17614-1.32980.094436
5-0.108018-0.81550.209086
6-0.017216-0.130.44852
7-0.105086-0.79340.215422
80.0942090.71130.23991
9-0.030841-0.23280.408358
100.0277560.20960.417381
11-0.002622-0.01980.492137
12-0.142159-1.07330.143834
13-0.046346-0.34990.363851
14-0.042128-0.31810.375802
15-0.131773-0.99490.162004
16-0.171495-1.29480.100312
170.0526010.39710.346377
18-0.114029-0.86090.196451
190.0025810.01950.492261
20-0.107565-0.81210.210057
21-0.049665-0.3750.354539
220.0186010.14040.444407
23-0.020306-0.15330.439349
240.0421670.31840.37569
250.0275630.20810.417947
26-0.132558-1.00080.16058
270.039580.29880.383081
280.0501980.3790.353052
290.0168920.12750.449483
30-0.014499-0.10950.45661
31-0.04091-0.30890.379276
32-0.045561-0.3440.366063
330.0669670.50560.307547
34-0.020444-0.15430.438941
35-0.034817-0.26290.396801
36-0.136334-1.02930.153844
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2009/Nov/27/t1259312957j6zx1gm6ay348vj/1l6c51259312825.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/27/t1259312957j6zx1gm6ay348vj/1l6c51259312825.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Nov/27/t1259312957j6zx1gm6ay348vj/20e3o1259312825.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/27/t1259312957j6zx1gm6ay348vj/20e3o1259312825.ps (open in new window)


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