Home » date » 2010 » Dec » 27 »

autocorrelatie functie

*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, 27 Dec 2010 08:37:45 +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/27/t1293438977f70hb1sfu9cpcks.htm/, Retrieved Mon, 27 Dec 2010 09:36:17 +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/27/t1293438977f70hb1sfu9cpcks.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:
D=0 en d=2
 
Dataseries X:
» Textbox « » Textfile « » CSV «
9119000 9166000 9218000 9283000 9367000 9448000 9508000 9557000 9590000 9613000 9638000 9673000 9709000 9738000 9768000 9795000 9811000 9822000 9830000 9837000 9847000 9852000 9856000 9856000 9853000 9858000 9862000 9870000 9902000 9938000 9967400 10004500 10045000 10084500 10115600 10136800 10157000 10181000 10203000 10226000 10252000 10287000 10333000 10376080.14 10421120.61 10478650 10547958 10625700 10708433 10788760
 
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
10.4501993.11910.001533
2-0.010737-0.07440.470504
30.0214450.14860.441254
4-0.119751-0.82970.20542
5-0.145657-1.00910.158984
6-0.08893-0.61610.270361
7-0.035724-0.24750.402786
80.1113770.77160.222055
90.0683780.47370.318917
10-0.006226-0.04310.482887
11-0.05388-0.37330.355288
12-0.182496-1.26440.106101
13-0.014628-0.10130.45985
140.1045730.72450.236136
15-0.028749-0.19920.421482
160.0513360.35570.361823
170.2011631.39370.084914
180.0715960.4960.311069
19-0.087801-0.60830.272927
20-0.096863-0.67110.252692
21-0.069681-0.48280.315729
22-0.122245-0.84690.200617
23-0.104121-0.72140.23709
240.0279820.19390.42355
250.0325070.22520.411383
260.0190760.13220.447704
270.0808890.56040.288902
280.0788690.54640.293653
29-0.003519-0.02440.490324
30-0.061298-0.42470.336481
31-0.121495-0.84170.202054
32-0.131772-0.91290.182918
33-0.097199-0.67340.251956
34-0.067534-0.46790.320991
35-0.055209-0.38250.351891
36-0.062055-0.42990.334586
37-0.017182-0.1190.45287
38-0.041416-0.28690.387698
39-0.137642-0.95360.17253
40-0.113513-0.78640.217738
410.0024970.01730.493134
420.0779780.54020.295762
430.110660.76670.223514
440.067830.46990.320264
450.0085690.05940.476453
46-0.005719-0.03960.484279
47-0.003885-0.02690.48932
48NANANA


Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
10.4501993.11910.001533
2-0.267667-1.85450.034912
30.200051.3860.086078
4-0.319883-2.21620.015725
50.1503011.04130.151473
6-0.211137-1.46280.07502
70.1952991.35310.091186
8-0.005831-0.04040.483971
9-0.03062-0.21210.416448
100.0239560.1660.434439
11-0.178224-1.23480.111463
12-0.036742-0.25460.400078
130.198791.37730.087411
14-0.101053-0.70010.243618
150.0409170.28350.389014
160.0077790.05390.478622
170.1945711.3480.091989
18-0.18719-1.29690.100434
190.0286720.19860.42169
20-0.028537-0.19770.422052
21-0.029605-0.20510.419178
22-0.13948-0.96630.169357
230.093440.64740.260238
24-0.052224-0.36180.359538
250.0251130.1740.431304
26-0.008795-0.06090.475832
270.0676210.46850.320778
280.0455130.31530.376941
29-0.024136-0.16720.433951
30-0.09872-0.6840.248647
31-0.143714-0.99570.1622
320.0485760.33650.368963
33-0.100214-0.69430.24542
34-0.080215-0.55570.290484
35-0.030703-0.21270.416225
360.0084950.05890.476657
37-0.037391-0.25910.398351
38-0.123046-0.85250.199089
390.0074970.05190.479395
40-0.049548-0.34330.366443
41-0.006421-0.04450.482352
420.0622160.4310.334182
43-0.013522-0.09370.462875
44-0.02799-0.19390.423527
45-0.077226-0.5350.297548
460.0481260.33340.370132
470.0614650.42580.336063
48NANANA
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2010/Dec/27/t1293438977f70hb1sfu9cpcks/149uq1293439061.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/27/t1293438977f70hb1sfu9cpcks/149uq1293439061.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/27/t1293438977f70hb1sfu9cpcks/2fjcb1293439061.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/27/t1293438977f70hb1sfu9cpcks/2fjcb1293439061.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/27/t1293438977f70hb1sfu9cpcks/3fjcb1293439061.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/27/t1293438977f70hb1sfu9cpcks/3fjcb1293439061.ps (open in new window)


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