Home » date » 2010 » Dec » 18 »

autocorrelatie

*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: Sat, 18 Dec 2010 09:15:00 +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/18/t1292663600mi3peowgfaexjyq.htm/, Retrieved Sat, 18 Dec 2010 10:13:23 +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/18/t1292663600mi3peowgfaexjyq.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 «
0.6923 0.6886 0.6855 0.6745 0.6769 0.6758 0.6896 0.6843 0.6818 0.6774 0.6821 0.6885 0.6829 0.6796 0.6976 0.6924 0.6849 0.6921 0.6839 0.6727 0.6776 0.6692 0.6738 0.6740 0.6635 0.6737 0.6788 0.6828 0.6795 0.6740 0.6744 0.6764 0.6987 0.6967 0.7116 0.7357 0.7455 0.7639 0.7958 0.7864 0.7853 0.7903 0.7866 0.8039 0.7916 0.7903 0.8242 0.9567 0.8850 0.8865 0.9258 0.8948 0.8762 0.8527 0.8536 0.8805 0.9155 0.8961 0.9127 0.8857
 
Output produced by software:


Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time15 seconds
R Server'Gwilym Jenkins' @ 72.249.127.135


Autocorrelation Function
Time lag kACF(k)T-STATP-value
1-0.410167-2.78190.003905
20.1090840.73980.231576
3-0.094284-0.63950.262846
40.0668640.45350.326162
5-0.048963-0.33210.370668
6-0.025548-0.17330.431598
70.0229810.15590.43841
8-0.127727-0.86630.195414
90.2342841.5890.059456
10-0.244738-1.65990.05187
110.36082.44710.009141
12-0.208618-1.41490.081913
130.0113490.0770.469489
14-0.1019-0.69110.246482
150.1212640.82250.207531
16-0.022992-0.15590.438382
17-0.03572-0.24230.404826
180.0022580.01530.493924
19-0.018523-0.12560.450286
200.0807040.54740.293388
21-0.078931-0.53530.297497
220.0808160.54810.293129
23-0.047411-0.32160.374624
24-0.006923-0.0470.481375
25-0.012666-0.08590.465957
260.0187960.12750.449558
272.9e-052e-040.499921
28-0.02577-0.17480.43101
29-0.068737-0.46620.321638
300.0780540.52940.29954
31-0.042079-0.28540.388312
32-0.027384-0.18570.426739
330.0852320.57810.283017
34-0.096359-0.65350.258332
350.015730.10670.457752
360.016660.1130.455265
37-0.01508-0.10230.459491
38-0.012804-0.08680.465588
39-0.004594-0.03120.48764
40-0.043827-0.29720.383808
410.0482960.32760.372365
42-0.014995-0.10170.459718
430.0016680.01130.495512
440.0196350.13320.447319
45-0.037767-0.25610.399489
46NANANA
47NANANA
48NANANA
49NANANA
50NANANA
51NANANA
52NANANA
53NANANA
54NANANA
55NANANA
56NANANA
57NANANA
58NANANA
59NANANA
60NANANA


Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
1-0.410167-2.78190.003905
2-0.071117-0.48230.315926
3-0.091268-0.6190.269483
4-0.000577-0.00390.498448
5-0.024241-0.16440.435064
6-0.069955-0.47450.318708
7-0.01443-0.09790.461231
8-0.155495-1.05460.148553
90.1469510.99670.16207
10-0.117538-0.79720.214721
110.2702891.83320.036625
120.0475720.32260.374211
13-0.095909-0.65050.259308
14-0.130506-0.88510.190344
150.0183460.12440.45076
160.0546050.37030.356412
170.0252230.17110.432459
18-0.063338-0.42960.334755
190.0346560.2350.407608
20-0.065287-0.44280.329994
210.0207060.14040.444466
22-0.020337-0.13790.445448
230.0626640.4250.336407
24-0.011925-0.08090.467945
250.0234370.1590.437198
26-0.060296-0.40890.342238
27-0.017667-0.11980.452571
28-0.021039-0.14270.443578
29-0.072009-0.48840.313797
300.0167430.11360.455041
31-0.049734-0.33730.368708
32-0.085294-0.57850.282877
330.0948670.64340.261573
34-0.104682-0.710.240649
35-0.022749-0.15430.439028
36-0.007076-0.0480.480965
37-0.019051-0.12920.448877
38-0.005599-0.0380.484937
39-0.055028-0.37320.355349
40-0.019275-0.13070.448279
41-0.009615-0.06520.474143
42-0.054534-0.36990.356589
430.0542940.36820.357193
44-0.032054-0.21740.414429
45-0.011607-0.07870.468798
46NANANA
47NANANA
48NANANA
49NANANA
50NANANA
51NANANA
52NANANA
53NANANA
54NANANA
55NANANA
56NANANA
57NANANA
58NANANA
59NANANA
60NANANA
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2010/Dec/18/t1292663600mi3peowgfaexjyq/10f2a1292663685.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/18/t1292663600mi3peowgfaexjyq/10f2a1292663685.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/18/t1292663600mi3peowgfaexjyq/2s72u1292663685.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/18/t1292663600mi3peowgfaexjyq/2s72u1292663685.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/18/t1292663600mi3peowgfaexjyq/3s72u1292663685.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/18/t1292663600mi3peowgfaexjyq/3s72u1292663685.ps (open in new window)


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