Home » date » 2009 » Dec » 21 »

Autocorrelation function D=d=0, Lambda=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: Mon, 21 Dec 2009 06:47:14 -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/21/t1261403303146xiu7ay28ohuu.htm/, Retrieved Mon, 21 Dec 2009 14:48:25 +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/21/t1261403303146xiu7ay28ohuu.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 «
114.1 110.3 103.9 101.6 94.6 95.9 104.7 102.8 98.1 113.9 80.9 95.7 113.2 105.9 108.8 102.3 99 100.7 115.5 100.7 109.9 114.6 85.4 100.5 114.8 116.5 112.9 102 106 105.3 118.8 106.1 109.3 117.2 92.5 104.2 112.5 122.4 113.3 100 110.7 112.8 109.8 117.3 109.1 115.9 96 99.8 116.8 115.7 99.4 94.3 91 93.2 103.1 94.1 91.8 102.7 82.6 89.1 104.5
 
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.2544651.98740.025684
20.0052230.04080.483796
30.1456571.13760.129865
40.0594130.4640.322138
50.2818482.20130.015754
60.309242.41520.009368
70.1728261.34980.091032
8-0.016577-0.12950.448707
9-0.095706-0.74750.228821
10-0.292391-2.28360.012944
11-0.007335-0.05730.47725
120.426623.3320.000734
13-0.055862-0.43630.332082
14-0.265195-2.07120.021287
15-0.214449-1.67490.049537
16-0.138002-1.07780.142676
170.0393690.30750.379762
180.0059350.04640.48159
190.0021930.01710.493196
20-0.151769-1.18540.120237
21-0.215484-1.6830.048745
22-0.260895-2.03770.022964
23-0.073897-0.57720.282979
240.236091.84390.035026
25-0.05752-0.44920.327422
26-0.275686-2.15320.017634
27-0.194924-1.52240.066538
28-0.107866-0.84250.20141
29-0.021398-0.16710.433914
30-0.003125-0.02440.490305
31-0.012369-0.09660.461678
32-0.148017-1.15610.126084
33-0.160928-1.25690.106793
34-0.131822-1.02960.15364
35-0.080086-0.62550.26699
360.1854161.44810.076348
370.0122610.09580.462012
38-0.178901-1.39730.083698
39-0.057859-0.45190.326476
40-0.009721-0.07590.469865
410.0140770.10990.456406
420.120080.93790.176009
430.0652270.50940.30614
44-0.0252-0.19680.422312
450.0527830.41220.340801
460.0044830.0350.486092
470.0555370.43380.332998
480.2166341.6920.047877
490.0804920.62870.265958
500.0066450.05190.47939
510.033960.26520.395861
520.0004120.00320.498721
530.0241990.1890.425361
540.0531670.41520.33971
550.0083810.06550.474013
56-0.01334-0.10420.458681
57-0.024543-0.19170.424311
58-0.054664-0.42690.335462
59-0.027045-0.21120.416708
60-5.7e-05-4e-040.499822


Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
10.2544651.98740.025684
2-0.063651-0.49710.310442
30.1722461.34530.091757
4-0.027508-0.21480.415303
50.3182212.48540.007849
60.1532261.19670.11802
70.1284141.00290.159925
8-0.156151-1.21960.113659
9-0.122063-0.95330.17209
10-0.493977-3.85810.000139
110.0156690.12240.451499
120.4115313.21420.001046
13-0.078073-0.60980.272141
14-0.175057-1.36720.088284
15-0.108901-0.85050.199174
160.1913171.49420.070135
17-0.000241-0.00190.499251
18-0.203348-1.58820.058706
19-0.033288-0.260.397874
20-0.089243-0.6970.244223
210.0224260.17520.430769
220.0545340.42590.335831
23-0.074172-0.57930.282259
24-0.075765-0.59170.278105
25-0.025574-0.19970.421175
260.0207620.16220.43586
270.0498870.38960.349085
28-0.167436-1.30770.097939
29-0.145946-1.13990.129397
30-0.001582-0.01240.49509
310.0462620.36130.359555
32-0.054554-0.42610.335774
33-0.082385-0.64340.261173
340.1045170.81630.208752
35-0.098169-0.76670.223101
36-0.012567-0.09810.461068
370.0298490.23310.408223
380.0090440.07060.471961
39-0.062104-0.4850.31469
40-0.050588-0.39510.347071
41-0.075213-0.58740.279541
420.1111640.86820.194339
43-0.064011-0.49990.309458
440.0555110.43360.333072
450.0803620.62770.266288
46-0.045595-0.35610.361494
470.0470580.36750.357245
48-0.045611-0.35620.361447
49-0.023231-0.18140.428313
50-0.020651-0.16130.4362
51-0.137281-1.07220.143927
52-0.058143-0.45410.32568
53-0.096196-0.75130.227677
54-0.084088-0.65670.256907
550.0415730.32470.373262
560.0891030.69590.244563
57-0.028388-0.22170.412637
58-0.024944-0.19480.423092
590.0102990.08040.468075
600.0213290.16660.434125
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2009/Dec/21/t1261403303146xiu7ay28ohuu/1riqt1261403232.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Dec/21/t1261403303146xiu7ay28ohuu/1riqt1261403232.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Dec/21/t1261403303146xiu7ay28ohuu/2lflw1261403232.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Dec/21/t1261403303146xiu7ay28ohuu/2lflw1261403232.ps (open in new window)


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