Home » date » 2010 » Dec » 20 »

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: Mon, 20 Dec 2010 08:06:42 +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/20/t12928322736ltcivfau6y31nr.htm/, Retrieved Mon, 20 Dec 2010 09:04: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/20/t12928322736ltcivfau6y31nr.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 «
116.1 107.5 116.7 112.5 113 126.4 114.1 112.5 112.4 113.1 116.3 111.7 118.8 116.5 125.1 113.1 119.6 114.4 114 117.8 117 120.9 115 117.3 119.4 114.9 125.8 117.6 117.6 114.9 121.9 117 106.4 110.5 113.6 114.2 125.4 124.6 120.2 120.8 111.4 124.1 120.2 125.5 116 117 105.7 102 106.4 96.9 107.6 98.8 101.1 105.7 104.6 103.2 101.6 106.7 99.5 101
 
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'RServer@AstonUniversity' @ vre.aston.ac.uk


Autocorrelation Function
Time lag kACF(k)T-STATP-value
10.6013334.65799e-06
20.6010754.65599e-06
30.4596073.56010.000366
40.353782.74040.004036
50.370522.870.00283
60.26032.01630.024127
70.3184332.46660.008258
80.1320481.02280.155246
90.1197370.92750.178696
100.0254480.19710.422199
11-0.020853-0.16150.43611
12-0.003011-0.02330.490735
13-0.116399-0.90160.18543
14-0.051216-0.39670.346491
15-0.083066-0.64340.2612
16-0.058184-0.45070.326918
17-0.039078-0.30270.381584
18-0.087851-0.68050.249407
19-0.081654-0.63250.264736
20-0.120385-0.93250.177408
21-0.092413-0.71580.238437
22-0.073952-0.57280.28445
23-0.079264-0.6140.270776
24-0.003919-0.03040.487941
25-0.068177-0.52810.299691
26-0.090939-0.70440.241951
27-0.108817-0.84290.201319
28-0.192163-1.48850.07093
29-0.119601-0.92640.178968
30-0.174648-1.35280.090595
31-0.074835-0.57970.282153
32-0.155023-1.20080.117274
33-0.176646-1.36830.088162
34-0.120266-0.93160.177643
35-0.222295-1.72190.045121
36-0.100985-0.78220.218578
37-0.133526-1.03430.152577
38-0.095893-0.74280.230256
39-0.089315-0.69180.245856
40-0.089865-0.69610.244529
41-0.092169-0.71390.239016
42-0.146042-1.13120.131228
43-0.078702-0.60960.272208
44-0.131667-1.01990.155938
45-0.070633-0.54710.293162
46-0.071648-0.5550.290484
47-0.061154-0.47370.318718
480.0030190.02340.490709


Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
10.6013334.65799e-06
20.3751162.90560.002563
30.0149030.11540.454242
4-0.086466-0.66980.252789
50.1441.11540.134559
6-0.035729-0.27680.39146
70.1151220.89170.188051
8-0.227829-1.76480.041347
9-0.054407-0.42140.337472
10-0.061345-0.47520.318193
11-0.002951-0.02290.490921
120.0160170.12410.450837
13-0.121352-0.940.175496
140.036140.27990.390243
150.1086910.84190.201589
160.0286820.22220.412468
170.0181080.14030.444462
18-0.086457-0.66970.252811
19-0.06881-0.5330.298001
200.0158210.12260.451436
21-0.01055-0.08170.467571
220.0176110.13640.445976
23-0.057287-0.44370.329414
240.1018550.7890.216619
25-0.032732-0.25350.40036
26-0.13599-1.05340.148196
27-0.034771-0.26930.394299
28-0.137055-1.06160.146331
290.0837890.6490.259399
30-0.014951-0.11580.454094
310.0723870.56070.288544
32-0.130686-1.01230.157732
33-0.087269-0.6760.250824
340.1350811.04630.149801
35-0.061427-0.47580.317968
360.0137160.10620.457871
370.0474240.36730.357327
38-0.082464-0.63880.262704
390.0203360.15750.437682
400.0196970.15260.439624
41-0.183706-1.4230.07996
42-0.053411-0.41370.340278
430.0438760.33990.367575
440.0471240.3650.35819
450.0141890.10990.456425
46-0.083656-0.6480.259731
470.0349810.2710.393674
480.074110.57410.284038
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2010/Dec/20/t12928322736ltcivfau6y31nr/1ly7c1292832398.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/20/t12928322736ltcivfau6y31nr/1ly7c1292832398.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/20/t12928322736ltcivfau6y31nr/26zrs1292832399.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/20/t12928322736ltcivfau6y31nr/26zrs1292832399.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/20/t12928322736ltcivfau6y31nr/36zrs1292832399.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/20/t12928322736ltcivfau6y31nr/36zrs1292832399.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