Home » date » 2010 » Dec » 21 »

(Partial) Autocorrelation Function - Goudprijs (d = 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: Tue, 21 Dec 2010 18:16:23 +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/t1292955583l5v9sfhlurdau3l.htm/, Retrieved Tue, 21 Dec 2010 19:19:44 +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/t1292955583l5v9sfhlurdau3l.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 «
9.026 9.787 9.536 9.490 9.736 9.694 9.647 9.753 10.070 10.137 9.984 9.732 9.103 9.155 9.308 9.394 9.948 10.177 10.002 9.728 10.002 10.063 10.018 9.960 10.236 10.893 10.756 10.940 10.997 10.827 10.166 10.186 10.457 10.368 10.244 10.511 10.812 10.738 10.171 9.721 9.897 9.828 9.924 10.371 10.846 10.413 10.709 10.662 10.570 10.297 10.635 10.872 10.296 10.383 10.431 10.574 10.653 10.805 10.872 10.625 10.407 10.463 10.556 10.646 10.702 11.353 11.346 11.451 11.964 12.574 13.031 13.812 14.544 14.931 14.886 16.005 17.064 15.168 16.050 15.839 15.137 14.954 15.648 15.305 15.579 16.348 15.928 16.171 15.937 15.713 15.594 15.683 16.438 17.032 17.696 17.745 19.394 20.148 20.108 18.584 18.441 18.391 19.178 18.079 18.483 19.644 19.195 19.650 20.830 23.595 22.937 21.814 21.928 21.777 21.383 21.467 22.052 22.680 24.320 24.977 25.204 25.739 26.434 27.525 30.695 32.436 30.160 30.236 31.293 31.077 32.22 etc...
 
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.95868210.97260
20.92013310.53140
30.88172510.09180
40.845259.67430
50.807639.24370
60.761948.72080
70.7215318.25830
80.6908437.90710
90.6643357.60370
100.6392437.31650
110.6160357.05080
120.5918796.77440
130.567326.49330
140.5477056.26880
150.5306056.07310
160.5132465.87440
170.4945735.66060
180.4757355.4450
190.4566475.22660
200.4375765.00831e-06
210.4134674.73233e-06
220.3866364.42521e-05
230.3679254.21112.3e-05
240.3518614.02724.8e-05
250.3376253.86438.7e-05
260.322643.69280.000162
270.3104133.55280.000265
280.2979563.41030.000432
290.2805433.2110.000832
300.2654223.03790.001438
310.2494642.85520.002501
320.2322052.65770.004423
330.2096582.39960.008909
340.1857722.12630.017679
350.1632721.86870.031947
360.1474741.68790.046904
370.131641.50670.06715
380.1173771.34340.090726
390.104351.19430.117251
400.0929881.06430.144575
410.0808650.92550.178192
420.0687450.78680.216402
430.0559230.64010.261625
440.0417060.47740.316954
450.0295670.33840.367796
460.0155880.17840.429336
470.0035350.04050.483896
48-0.00809-0.09260.463181
49-0.02131-0.24390.403845
50-0.03473-0.39750.345822
51-0.04928-0.5640.286847
52-0.066424-0.76030.224235
53-0.086656-0.99180.161556
54-0.104307-1.19380.117347
55-0.129922-1.4870.069705
56-0.152103-1.74090.042024
57-0.170469-1.95110.026589
58-0.188509-2.15760.016392
59-0.205562-2.35280.010062
60-0.221032-2.52980.006298


Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
10.95868210.97260
20.013120.15020.440431
3-0.017233-0.19720.421974
40.0036260.04150.483481
5-0.032399-0.37080.355685
6-0.121416-1.38970.083493
70.033920.38820.349238
80.1015781.16260.123549
90.0378870.43360.332633
100.0097240.11130.455776
110.0222170.25430.399837
12-0.039015-0.44650.32797
13-0.044745-0.51210.304713
140.0497260.56910.285119
150.0385950.44170.329705
16-0.004346-0.04970.480203
17-0.01153-0.1320.447607
18-0.006388-0.07310.470915
19-0.034734-0.39750.345806
20-0.020696-0.23690.40656
21-0.058815-0.67320.251014
22-0.039478-0.45190.326061
230.0906861.03790.150603
240.0349350.39990.344958
250.0115990.13280.447294
26-0.01192-0.13640.445846
270.017960.20560.418725
28-0.048059-0.55010.291608
29-0.086507-0.99010.161971
300.0331870.37980.352337
314e-040.00460.498175
32-0.027019-0.30920.378813
33-0.061514-0.70410.241323
34-0.028864-0.33040.370829
35-0.032747-0.37480.354203
360.0619880.70950.239644
370.0146960.16820.433341
380.0238310.27280.392733
390.0009590.0110.495629
40-0.003022-0.03460.486231
41-0.051718-0.59190.277455
42-0.024418-0.27950.390159
43-0.021181-0.24240.404416
44-0.030105-0.34460.365488
450.0293510.33590.368727
46-0.014776-0.16910.432982
470.0061090.06990.472183
48-0.012783-0.14630.441952
49-0.013786-0.15780.437432
50-0.024762-0.28340.388653
51-0.038881-0.4450.328521
52-0.041951-0.48010.315962
53-0.04714-0.53950.295216
540.0182470.20880.417446
55-0.137728-1.57640.058676
56-0.008245-0.09440.462482
570.0267620.30630.37993
58-0.009397-0.10760.457258
59-0.021017-0.24050.40514
600.0320420.36670.357204
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2010/Dec/21/t1292955583l5v9sfhlurdau3l/1hyb61292955379.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/21/t1292955583l5v9sfhlurdau3l/1hyb61292955379.ps (open in new window)


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


http://www.freestatistics.org/blog/date/2010/Dec/21/t1292955583l5v9sfhlurdau3l/32hau1292955379.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/21/t1292955583l5v9sfhlurdau3l/32hau1292955379.ps (open in new window)


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