Home » date » 2010 » Dec » 28 »

Paper ACF d=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: Tue, 28 Dec 2010 22:24:37 +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/28/t1293575073ibi2em2h8j8o2jd.htm/, Retrieved Tue, 28 Dec 2010 23:24:33 +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/28/t1293575073ibi2em2h8j8o2jd.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 «
1203 1319 1328 1260 1286 1274 1389 1255 1244 1336 1214 1239 1174 1061 1116 1123 1086 1074 965 1035 1016 941 1003 998 891 828 833 887 842 793 778 699 686 727 641 619 627 593 535 536 504 487 477 435 433 393 389 377 339 370 350 341 367 396 408 405 391 396 368 356
 
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'Sir Ronald Aylmer Fisher' @ 193.190.124.24


Autocorrelation Function
Time lag kACF(k)T-STATP-value
1-0.283583-2.17820.016698
2-0.213243-1.6380.053377
30.2934162.25380.01397
4-0.189454-1.45520.075454
50.2814962.16220.017334
6-0.081756-0.6280.26622
7-0.09309-0.7150.238702
80.2519241.93510.02889
9-0.277226-2.12940.018701
100.0850850.65360.25797
110.1014590.77930.219452
12-0.332707-2.55560.006599
130.2722412.09110.020416
140.0897270.68920.246698
15-0.231362-1.77710.040351
160.0415910.31950.37525
17-0.020933-0.16080.436403
180.1083550.83230.2043
19-0.047797-0.36710.357417
20-0.169407-1.30120.099118
210.1806321.38750.08526
220.0434890.3340.369765
23-0.208182-1.59910.057573
240.0421150.32350.373734
25-0.030147-0.23160.40884
26-0.029127-0.22370.411871
270.1304481.0020.160221
28-0.08878-0.68190.248976
29-0.110257-0.84690.200237
300.0289410.22230.412424
31-0.003039-0.02330.490728
32-0.000282-0.00220.499139
33-0.023214-0.17830.429544
34-0.056402-0.43320.333213
350.0807810.62050.268662
36-0.079357-0.60960.272249
37-0.068424-0.52560.300577
380.0945510.72630.235276
39-0.120235-0.92350.179743
400.0338930.26030.397755
41-0.016701-0.12830.449182
42-0.083819-0.64380.261091
430.0492670.37840.353235
44-0.035937-0.2760.391743
450.015950.12250.451454
46-0.002322-0.01780.492914
47-0.009832-0.07550.470027
480.0783820.60210.274719


Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
1-0.283583-2.17820.016698
2-0.319343-2.45290.008573
30.1490341.14480.128468
4-0.133236-1.02340.155148
50.3728982.86430.00289
6-0.051807-0.39790.346056
70.1450781.11440.134821
80.0557230.4280.335099
9-0.14249-1.09450.139095
10-0.054108-0.41560.339601
11-0.059875-0.45990.323635
12-0.281076-2.1590.017465
130.0767550.58960.278867
140.2114371.62410.054845
150.0414210.31820.375744
16-0.066222-0.50870.306444
170.0686660.52740.299935
18-0.006872-0.05280.47904
19-0.11459-0.88020.191167
20-0.117355-0.90140.185514
21-0.054471-0.41840.338587
220.1424311.0940.139194
23-0.074601-0.5730.284405
24-0.071057-0.54580.293631
25-0.082086-0.63050.265396
26-0.01351-0.10380.458851
270.01220.09370.462828
280.0412520.31690.376234
29-0.083707-0.6430.261368
30-0.002744-0.02110.491627
31-0.060945-0.46810.32071
32-0.137421-1.05550.147739
330.0222740.17110.432369
34-0.007334-0.05630.477634
35-0.069062-0.53050.298888
36-0.070423-0.54090.295297
370.071890.55220.29145
380.0047510.03650.485506
39-0.139894-1.07450.143476
40-0.089996-0.69130.246053
41-0.177411-1.36270.089075
42-0.018178-0.13960.444715
43-0.089316-0.68610.247684
440.0099210.07620.469757
450.0753580.57880.282452
460.0741440.56950.285585
470.0800350.61480.270538
48-0.000374-0.00290.498859
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2010/Dec/28/t1293575073ibi2em2h8j8o2jd/1qr341293575074.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/28/t1293575073ibi2em2h8j8o2jd/1qr341293575074.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/28/t1293575073ibi2em2h8j8o2jd/210371293575074.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/28/t1293575073ibi2em2h8j8o2jd/210371293575074.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/28/t1293575073ibi2em2h8j8o2jd/310371293575074.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/28/t1293575073ibi2em2h8j8o2jd/310371293575074.ps (open in new window)


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