Home » date » 2010 » Dec » 21 »

ACF - D=1 d=0 (ASO)

*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: Tue, 21 Dec 2010 18:37:03 +0000
 
Cite this page as follows:
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL http://www.freestatistics.org/blog/date/2010/Dec/21/t129295650680dnf5v253it0cy.htm/, Retrieved Tue, 21 Dec 2010 19:35:09 +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/2010/Dec/21/t129295650680dnf5v253it0cy.htm/},
    year = {2010},
}
@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 = {2010},
    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 «
4940 3924 3927 4535 3446 3016 4934 2743 3242 6662 3262 3381 7144 3803 3684 6759 3386 3066 5538 2940 3215 7023 3443 3712 7475 4137 3491 7019 3908 3402 5604 3222 3636 7123 4368 4092 8377 4595 4188 6988 4218 3655 6211 3622 3841 8510 4627 4582 8967 4928 4809 7917 4790 4065 7290 4670 3561 5149 6880 6981 8454 4960 4670 7638 4560 3980 6825 3939 4079 8117 5121 5167 7960 4670 4397 7191 4293 3747 6425 3709 3840 7642 4821 4865
 
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.0387540.32880.371616
2-0.276967-2.35010.010755
30.1638991.39070.084296
40.1686261.43080.078401
50.0807130.68490.247812
60.0764720.64890.259239
70.1114650.94580.173703
80.0639390.54250.294562
90.0730490.61980.268659
100.2747742.33150.011264
110.0920420.7810.21868
12-0.361597-3.06830.001517
130.0849720.7210.236619
140.169441.43770.07742
150.0238790.20260.420001
160.0070060.05950.476379
170.0243950.2070.418298
180.0345760.29340.385036
19-0.037349-0.31690.376112
20-0.049349-0.41870.338325
21-0.019517-0.16560.434466
22-0.017802-0.15110.440179
23-0.046089-0.39110.348446
240.0484840.41140.341002
25-0.059617-0.50590.307248
26-0.029038-0.24640.40304
27-0.012385-0.10510.458298
28-0.094668-0.80330.212226
29-0.105192-0.89260.187526
30-6.9e-05-6e-040.499767
310.0089170.07570.469949
32-0.059379-0.50380.307954
330.0026150.02220.491178
34-0.044687-0.37920.352835
35-0.007954-0.06750.473188
36-0.038029-0.32270.373933
37-0.010933-0.09280.463171
38-0.040316-0.34210.36664
39-0.033285-0.28240.38921
400.0463170.3930.347737
41-0.001845-0.01570.493776
42-0.150451-1.27660.102919
430.0664290.56370.287366
440.0586580.49770.310095
45-0.185346-1.57270.060085
460.0385670.32730.372212
470.045910.38960.349007
48-0.046321-0.3930.347722


Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
10.0387540.32880.371616
2-0.278887-2.36640.010327
30.2046341.73640.043388
40.0715950.60750.272713
50.1833891.55610.062034
60.1050950.89180.187747
70.1490161.26440.105075
80.0530720.45030.326913
90.0906320.7690.222192
100.2716892.30540.012016
110.0745340.63240.264551
12-0.357592-3.03430.001677
130.0044580.03780.484964
14-0.239776-2.03460.022789
150.0692780.58780.279237
16-0.071035-0.60280.274283
170.0737720.6260.266655
18-0.010109-0.08580.46594
19-0.00874-0.07420.470544
20-0.098596-0.83660.20279
21-0.026634-0.2260.410922
220.1010.8570.19714
23-0.014917-0.12660.449815
24-0.078287-0.66430.254314
25-0.071152-0.60370.273956
26-0.054782-0.46480.321724
270.0349190.29630.383927
28-0.078418-0.66540.25396
29-0.033141-0.28120.389678
300.0413960.35130.363212
310.0011780.010.496026
32-0.032301-0.27410.392404
330.079050.67080.252258
340.0470190.3990.345548
350.1106780.93910.175401
36-0.008309-0.07050.471992
370.0318010.26980.394026
38-0.022921-0.19450.42317
390.0318910.27060.393734
40-0.03231-0.27420.392373
41-0.073812-0.62630.266545
42-0.193483-1.64180.0525
430.1020640.8660.194671
44-0.118851-1.00850.158299
45-0.085663-0.72690.234831
460.0443190.37610.353988
470.0482520.40940.34172
48-0.002853-0.02420.490375
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2010/Dec/21/t129295650680dnf5v253it0cy/1yj401292956621.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/21/t129295650680dnf5v253it0cy/1yj401292956621.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/21/t129295650680dnf5v253it0cy/2qsl31292956621.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/21/t129295650680dnf5v253it0cy/2qsl31292956621.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/21/t129295650680dnf5v253it0cy/31jk51292956621.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/21/t129295650680dnf5v253it0cy/31jk51292956621.ps (open in new window)


 
Parameters (Session):
par1 = 48 ; par2 = 1 ; par3 = 0 ; par4 = 1 ; par5 = 12 ; par6 = White Noise ; par7 = 0.95 ;
 
Parameters (R input):
par1 = 48 ; par2 = 1 ; par3 = 0 ; par4 = 1 ; 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 (par8 != '') par8 <- as.numeric(par8)
ox <- x
if (par8 == '') {
if (par2 == 0) {
x <- log(x)
} else {
x <- (x ^ par2 - 1) / par2
}
} else {
x <- log(x,base=par8)
}
if (par3 > 0) x <- diff(x,lag=1,difference=par3)
if (par4 > 0) x <- diff(x,lag=par5,difference=par4)
bitmap(file='picts.png')
op <- par(mfrow=c(2,1))
plot(ox,type='l',main='Original Time Series',xlab='time',ylab='value')
if (par8=='') {
mytitle <- paste('Working Time Series (lambda=',par2,', d=',par3,', D=',par4,')',sep='')
mysub <- paste('(lambda=',par2,', d=',par3,', D=',par4,', CI=', par7, ', CI type=',par6,')',sep='')
} else {
mytitle <- paste('Working Time Series (base=',par8,', d=',par3,', D=',par4,')',sep='')
mysub <- paste('(base=',par8,', d=',par3,', D=',par4,', CI=', par7, ', CI type=',par6,')',sep='')
}
plot(x,type='l', main=mytitle,xlab='time',ylab='value')
par(op)
dev.off()
bitmap(file='pic1.png')
racf <- acf(x, par1, main='Autocorrelation', xlab='time lag', ylab='ACF', ci.type=par6, ci=par7, sub=mysub)
dev.off()
bitmap(file='pic2.png')
rpacf <- pacf(x,par1,main='Partial Autocorrelation',xlab='lags',ylab='PACF',sub=mysub)
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