Home » date » 2008 » Dec » 21 »

Autocorrelatie zonder differentiatie

*Unverified author*
R Software Module: rwasp_autocorrelation.wasp (opens new window with default values)
Title produced by software: (Partial) Autocorrelation Function
Date of computation: Sun, 21 Dec 2008 06:03:53 -0700
 
Cite this page as follows:
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL http://www.freestatistics.org/blog/date/2008/Dec/21/t1229864671z6r5smwwevmmw0s.htm/, Retrieved Sun, 21 Dec 2008 14: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/2008/Dec/21/t1229864671z6r5smwwevmmw0s.htm/},
    year = {2008},
}
@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 = {2008},
    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:
steven coomans
 
Dataseries X:
» Textbox « » Textfile « » CSV «
527 516 503 489 479 475 524 552 532 511 492 492 493 481 462 457 442 439 488 521 501 485 464 460 467 460 448 443 436 431 484 510 513 503 471 471 476 475 470 461 455 456 517 525 523 519 509 512 519 517 510 509 501 507 569 580 578 565 547 555 562 561 555 544 537 543 594 611 613 611 594 595 591 589 584 573 567 569 621 629 628 612 595 597 593 590 580 574 573 573 620 626
 
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'Gwilym Jenkins' @ 72.249.127.135


Autocorrelation Function
Time lag kACF(k)T-STATP-value
019.59170
10.9206018.83010
20.8066337.73690
30.7314457.01580
40.6959046.67490
50.6979656.69460
60.6945236.66160
70.6681236.40840
80.6363956.10410
90.6369286.10920
100.6710226.43620
110.7205566.91130
120.7312787.01420
130.6392566.13150
140.5194244.98211e-06
150.4337564.16043.6e-05
160.3835783.67920.000197
170.3670213.52030.000336
180.3457283.31610.000654
190.3059382.93450.002109
200.2621982.51490.006821
210.2460882.36040.010184
220.2586652.4810.007459
230.2842592.72650.003832
240.2776252.66290.004573
250.187451.7980.037732
260.0814460.78120.218343
270.0057440.05510.47809
28-0.039274-0.37670.64637
29-0.055267-0.53010.701342
30-0.076399-0.73280.767225
31-0.112649-1.08050.858627
32-0.151339-1.45160.924992
33-0.162378-1.55750.938604
34-0.143408-1.37550.913845
35-0.114659-1.09980.86285
36-0.11874-1.13890.871152
37-0.192117-1.84270.965705
38-0.274928-2.6370.995091
39-0.324284-3.11040.998756
40-0.348686-3.34450.999403
41-0.353166-3.38750.99948
42-0.358629-3.43990.999562
43-0.376169-3.60810.999749
44-0.394657-3.78540.999863
45-0.389127-3.73240.999836
46-0.360763-3.46030.99959
47-0.3229-3.09710.998705
48-0.311411-2.98690.998194
49-0.354623-3.40140.999503
50-0.405831-3.89260.999906
51-0.426962-4.09530.999955
52-0.42747-4.10020.999956
53-0.412682-3.95830.999926
54-0.400181-3.83840.999886
55-0.395673-3.79520.999868
56-0.392352-3.76330.999853
57-0.370879-3.55730.999703
58-0.332242-3.18680.999017
59-0.295129-2.83080.997149


Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
00.9206018.83010
1-0.268035-2.57090.994126
20.2583892.47840.007511
30.0986430.94620.173274
40.2284052.19080.015497
5-0.067139-0.6440.739403
60.0176360.16920.433021
70.0407790.39110.348301
80.2514222.41160.008935
90.1319121.26530.104488
100.1960211.88020.031624
11-0.163048-1.56390.939363
12-0.522404-5.01070.999999
13-0.08441-0.80960.78988
14-0.131475-1.26110.894763
15-0.12732-1.22120.887436
16-0.054512-0.52290.698837
17-0.087076-0.83520.797116
18-0.01365-0.13090.551941
19-0.073032-0.70050.757308
200.0094440.09060.464011
21-0.022432-0.21520.58494
220.1263211.21160.114378
230.0293970.2820.389302
24-0.11523-1.10520.864032
250.0993370.95280.171593
26-0.053218-0.51050.694521
27-0.003872-0.03710.514774
28-0.041482-0.39790.65418
29-0.036418-0.34930.636172
30-0.016727-0.16040.563557
31-0.055351-0.53090.70162
320.0280590.26910.394216
330.0192640.18480.426908
340.0574280.55080.291543
35-0.039226-0.37620.646199
36-0.035045-0.33610.631234
370.030090.28860.386762
380.0446450.42820.334746
39-0.036491-0.350.636434
40-0.042124-0.4040.656438
410.0598790.57430.28357
42-0.016434-0.15760.562454
43-0.010692-0.10260.540729
44-0.035054-0.33620.631266
45-0.04692-0.450.673129
460.0609950.5850.279975
470.001230.01180.495306
480.0347720.33350.36975
49-0.022586-0.21660.585516
500.0721220.69180.245412
51-0.02281-0.21880.586348
520.0222030.2130.415913
53-0.013606-0.13050.551774
540.0475590.45620.32467
55-0.005291-0.05070.520181
56-0.018282-0.17540.569408
57-0.038606-0.37030.643995
58-0.118362-1.13530.870398
59-0.035583-0.34130.633172
 
Charts produced by software:
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/21/t1229864671z6r5smwwevmmw0s/1esa81229864631.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/21/t1229864671z6r5smwwevmmw0s/1esa81229864631.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/21/t1229864671z6r5smwwevmmw0s/2zash1229864631.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/21/t1229864671z6r5smwwevmmw0s/2zash1229864631.ps (open in new window)


 
Parameters (Session):
par1 = 60 ; par2 = 1 ; par3 = 0 ; par4 = 0 ; par5 = 12 ;
 
Parameters (R input):
par1 = 60 ; par2 = 1 ; par3 = 0 ; par4 = 0 ; par5 = 12 ;
 
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 (par2 == 0) {
x <- log(x)
} else {
x <- (x ^ par2 - 1) / par2
}
if (par3 > 0) x <- diff(x,lag=1,difference=par3)
if (par4 > 0) x <- diff(x,lag=par5,difference=par4)
bitmap(file='pic1.png')
racf <- acf(x,par1,main='Autocorrelation',xlab='lags',ylab='ACF')
dev.off()
bitmap(file='pic2.png')
rpacf <- pacf(x,par1,main='Partial Autocorrelation',xlab='lags',ylab='PACF')
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 1:par1) {
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(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-1,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(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