Home » date » 2010 » Dec » 15 »

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: Wed, 15 Dec 2010 16:35:33 +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/15/t1292430812de3844svlcon6sy.htm/, Retrieved Wed, 15 Dec 2010 17:33:32 +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/15/t1292430812de3844svlcon6sy.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 «
1.3031 1.3241 1.2961 1.2865 1.2305 1.2101 1.2125 1.2350 1.2014 1.1992 1.1791 1.1832 1.2159 1.1922 1.2114 1.2614 1.2812 1.2786 1.2772 1.2815 1.2679 1.2765 1.3247 1.3191 1.3029 1.3234 1.3354 1.3651 1.3453 1.3534 1.3706 1.3638 1.4268 1.4485 1.4635 1.4587 1.4876 1.5189 1.5783 1.5633 1.5554 1.5757 1.5593 1.4660 1.4065 1.2759 1.2705 1.3954 1.2793 1.2694 1.3282 1.3230 1.4135 1.4042 1.4253 1.4322 1.4632 1.4713 1.5016 1.4318
 
Output produced by software:


Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time1 seconds
R Server'Sir Ronald Aylmer Fisher' @ 193.190.124.24


Autocorrelation Function
Time lag kACF(k)T-STATP-value
10.9213227.13650
20.834126.46110
30.7516295.82210
40.6450534.99663e-06
50.5486264.24963.8e-05
60.4303273.33330.000737
70.3093252.3960.009855
80.236761.83390.035812
90.1882671.45830.074985
100.1485811.15090.127169
110.1270980.98450.164412
120.1024540.79360.215277
130.0979930.75910.225396
140.1278890.99060.162924
150.1406161.08920.140209
160.1244510.9640.169458
170.0979740.75890.22544
180.0558210.43240.333504
190.0130940.10140.459777
20-0.023431-0.18150.428294
21-0.08547-0.6620.255239
22-0.140537-1.08860.140343
23-0.186569-1.44520.076809
24-0.217758-1.68670.048423
25-0.247409-1.91640.030039
26-0.292347-2.26450.013584
27-0.332676-2.57690.006223
28-0.355896-2.75680.003861
29-0.360947-2.79590.003471
30-0.354615-2.74680.003966
31-0.335206-2.59650.005913
32-0.320162-2.480.007982
33-0.303736-2.35270.010966
34-0.269642-2.08860.020496
35-0.222331-1.72220.045095
36-0.19583-1.51690.067273
37-0.170052-1.31720.096387
38-0.143118-1.10860.136016
39-0.112912-0.87460.192636
40-0.084923-0.65780.256588
41-0.082999-0.64290.261367
42-0.0926-0.71730.237992
43-0.098881-0.76590.223362
44-0.110319-0.85450.198105
45-0.119843-0.92830.178485
46-0.12852-0.99550.161742
47-0.141053-1.09260.139471
48-0.139324-1.07920.142409
49-0.129817-1.00560.159333
50-0.12376-0.95860.170793
51-0.110004-0.85210.198776
52-0.102312-0.79250.215595
53-0.086712-0.67170.252186
54-0.067413-0.52220.301734
55-0.045007-0.34860.364297
56-0.030007-0.23240.408497
57-0.019291-0.14940.440858
58-0.012695-0.09830.460997
59-0.005276-0.04090.483768
60NANANA


Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
10.9213227.13650
2-0.097342-0.7540.226898
3-0.01327-0.10280.459238
4-0.211392-1.63740.053387
50.0232340.180.42889
6-0.237881-1.84260.035163
7-0.049847-0.38610.35039
80.2146491.66270.050798
90.1379771.06880.144729
100.0084710.06560.473951
110.0280.21690.414515
12-0.084195-0.65220.25839
130.0229730.1780.429681
140.133761.03610.152156
15-0.059505-0.46090.323259
16-0.192832-1.49370.070251
17-0.104273-0.80770.211227
18-0.096896-0.75060.227927
19-0.057047-0.44190.33008
200.0908340.70360.242203
21-0.014797-0.11460.454567
220.0574530.4450.328951
23-0.079743-0.61770.269559
240.0428150.33160.370656
25-0.199287-1.54370.063964
26-0.163793-1.26870.104717
27-0.034083-0.2640.396339
28-0.001918-0.01490.494097
290.0382670.29640.383967
300.0859350.66570.254093
310.1644311.27370.103845
32-0.036835-0.28530.38819
33-0.075322-0.58340.280892
340.0106610.08260.46723
350.1045390.80980.210639
36-0.158841-1.23040.111679
370.0422340.32710.372349
38-0.025797-0.19980.421147
390.0218520.16930.43308
40-0.050727-0.39290.347883
410.00790.06120.475706
42-0.000147-0.00110.499548
430.0730440.56580.286821
44-0.057021-0.44170.330153
45-0.069745-0.54020.295514
46-0.096172-0.74490.229608
47-0.019607-0.15190.439899
480.0205040.15880.437169
49-0.082388-0.63820.262894
500.0246610.1910.424576
510.0501910.38880.349408
52-0.046305-0.35870.360547
530.0059990.04650.481545
54-0.04733-0.36660.357599
550.0004450.00340.498629
56-0.038671-0.29950.382781
570.0109230.08460.466427
580.018250.14140.444029
59-0.031878-0.24690.402905
60NANANA
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2010/Dec/15/t1292430812de3844svlcon6sy/101vn1292430929.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/15/t1292430812de3844svlcon6sy/101vn1292430929.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/15/t1292430812de3844svlcon6sy/2sauq1292430929.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/15/t1292430812de3844svlcon6sy/2sauq1292430929.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/15/t1292430812de3844svlcon6sy/3sauq1292430929.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/15/t1292430812de3844svlcon6sy/3sauq1292430929.ps (open in new window)


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