Home » date » 2010 » Dec » 22 »

ACF ( d=0 , D=0 )

*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: Wed, 22 Dec 2010 17:19:20 +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/22/t12930382437e65dhwxyg0x8eb.htm/, Retrieved Wed, 22 Dec 2010 18:17:26 +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/22/t12930382437e65dhwxyg0x8eb.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 «
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 105.1 95.1 88.7
 
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.255841.98170.026048
20.0011020.00850.496608
30.1793071.38890.084997
40.1625421.2590.106445
50.3497492.70910.00439
60.3343552.58990.006016
70.2253181.74530.043025
80.0176930.1370.445726
9-0.049977-0.38710.35002
10-0.169631-1.3140.096931
110.0657710.50950.306151
120.445873.45370.00051
13-0.053699-0.41590.339465
14-0.302295-2.34160.011271
15-0.208486-1.61490.055787
16-0.081698-0.63280.264625
170.0516410.40.345284
18-0.031003-0.24020.405516
19-0.028202-0.21850.413908
20-0.203235-1.57430.060344
21-0.220663-1.70920.046287
22-0.235976-1.82790.036271
23-0.073682-0.57070.285154
240.2024381.56810.061061
25-0.133147-1.03140.153258
26-0.337798-2.61660.005611
27-0.201465-1.56050.061946
28-0.084203-0.65220.25837
29-0.022691-0.17580.430535
30-0.066927-0.51840.303038
31-0.040949-0.31720.3761
32-0.196487-1.5220.066634
33-0.205594-1.59250.058261
34-0.108753-0.84240.201455
35-0.085879-0.66520.25423
360.1325341.02660.154364
37-0.075571-0.58540.280247
38-0.239776-1.85730.034089
39-0.087199-0.67540.250996
400.0083330.06450.474375
410.0204160.15810.437438
420.0488750.37860.353166
430.0116960.09060.464058
44-0.069647-0.53950.295775
450.0059370.0460.481738
460.0325510.25210.400897
470.0503790.39020.348872
480.1553381.20320.116804


Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
10.255841.98170.026048
2-0.068859-0.53340.297872
30.2113961.63750.053384
40.0640990.49650.310675
50.3500762.71170.00436
60.186611.44550.076764
70.195261.51250.067831
8-0.149574-1.15860.125606
9-0.160344-1.2420.109531
10-0.532987-4.12855.7e-05
11-0.167004-1.29360.10038
120.3610942.7970.003461
130.0342230.26510.395924
14-0.035057-0.27160.393449
15-0.129128-1.00020.160611
160.0646240.50060.309251
17-0.035822-0.27750.391186
18-0.147856-1.14530.128319
190.0398880.3090.379205
20-0.02097-0.16240.435756
210.1166120.90330.184998
22-0.035502-0.2750.392133
23-0.103575-0.80230.212775
24-0.101032-0.78260.218472
25-0.105285-0.81550.208996
26-0.082097-0.63590.263624
270.0741230.57420.284006
28-0.01725-0.13360.447075
29-0.014546-0.11270.455333
30-0.03643-0.28220.389388
310.0460190.35650.361373
32-0.105662-0.81850.208169
33-0.132439-1.02590.154536
340.0915780.70940.240424
35-0.086748-0.67190.252099
360.0223680.17330.431513
37-0.03983-0.30850.379376
380.0328870.25470.399897
390.0234280.18150.428304
400.004730.03660.485448
41-0.029145-0.22580.41108
420.1038180.80420.212236
43-0.156142-1.20950.115612
440.0084180.06520.474115
450.0462770.35850.360628
460.0108170.08380.466752
47-0.005871-0.04550.481938
48-0.153951-1.19250.11888
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2010/Dec/22/t12930382437e65dhwxyg0x8eb/1yx4f1293038357.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/22/t12930382437e65dhwxyg0x8eb/1yx4f1293038357.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/22/t12930382437e65dhwxyg0x8eb/286301293038357.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/22/t12930382437e65dhwxyg0x8eb/286301293038357.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/22/t12930382437e65dhwxyg0x8eb/386301293038357.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/22/t12930382437e65dhwxyg0x8eb/386301293038357.ps (open in new window)


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