Home » date » 2009 » Jun » 04 »

DIFFERENTIEREN - YANNICK DE ROEY

*Unverified author*
R Software Module: rwasp_autocorrelation.wasp (opens new window with default values)
Title produced by software: (Partial) Autocorrelation Function
Date of computation: Thu, 04 Jun 2009 01:53:29 -0600
 
Cite this page as follows:
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL http://www.freestatistics.org/blog/date/2009/Jun/04/t1244102035j9dym8l71yzhc7g.htm/, Retrieved Thu, 04 Jun 2009 09:53:55 +0200
 
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/2009/Jun/04/t1244102035j9dym8l71yzhc7g.htm/},
    year = {2009},
}
@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 = {2009},
    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 «
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 620 588 566 557 561 549 532 526 511 499 555 565 542 527 510 514 517 508 493 490 469 478 528 534 518 506 502 516 528 533 536
 
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.2640752.22510.014625
2-0.199348-1.67970.048702
3-0.304383-2.56480.00622
4-0.251231-2.11690.018886
50.0845180.71220.239348
60.2002591.68740.047957
70.0530550.44710.3281
8-0.24202-2.03930.022572
9-0.277797-2.34080.011029
10-0.159592-1.34480.091493
110.2479562.08930.020132
120.7431976.26230
130.1713131.44350.076638
14-0.16939-1.42730.078937
15-0.261996-2.20760.015252
16-0.204539-1.72350.044577
170.064280.54160.294884
180.1242011.04650.149432
190.0301640.25420.40005
20-0.230959-1.94610.027801
21-0.231374-1.94960.027587
22-0.094204-0.79380.214986
230.183911.54970.062836
240.5480434.61798e-06
250.1134130.95560.17125
26-0.187753-1.5820.059043
27-0.266473-2.24530.013931
28-0.156614-1.31970.095595
290.0514570.43360.332953
300.0908840.76580.223166
310.0140040.1180.453199
32-0.189422-1.59610.057455
33-0.145846-1.22890.11158
34-0.066491-0.56030.288533
350.1252651.05550.147386
360.4161943.50690.000395
370.0843790.7110.239709
38-0.176477-1.4870.070719
39-0.220396-1.85710.033723
40-0.104234-0.87830.191375
410.041570.35030.363585
420.0955330.8050.211761
43-0.003171-0.02670.489381
44-0.153435-1.29290.100124
45-0.107019-0.90180.185118
46-0.063809-0.53770.296244
470.0710620.59880.275613
480.2877942.4250.008927


Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
10.2640752.22510.014625
2-0.289256-2.43730.008652
3-0.187848-1.58280.058952
4-0.193891-1.63380.053369
50.1139590.96020.170098
60.0103950.08760.465226
7-0.06738-0.56780.285996
8-0.260448-2.19460.015733
9-0.119464-1.00660.158767
10-0.182263-1.53580.064519
110.1932221.62810.053965
120.6204765.22821e-06
13-0.169333-1.42680.079006
140.1303671.09850.13785
150.0257040.21660.414575
160.0376780.31750.375904
17-0.111364-0.93840.175619
18-0.094197-0.79370.215002
190.0294330.2480.402423
20-0.096883-0.81630.208516
210.0155870.13130.447941
220.0147570.12430.450696
23-0.113332-0.9550.171421
240.0384010.32360.373608
25-0.037355-0.31480.376935
26-0.130622-1.10060.137384
27-0.120906-1.01880.155885
280.0158710.13370.446998
29-0.067767-0.5710.284896
30-0.038284-0.32260.373978
31-0.038668-0.32580.372758
320.0761270.64150.261646
330.0346050.29160.385726
34-0.084892-0.71530.238382
35-0.008719-0.07350.470821
36-0.006639-0.05590.477774
370.0031860.02680.48933
38-0.041511-0.34980.363769
390.0344250.29010.386303
400.0240270.20250.420071
41-0.013061-0.11010.456339
420.0908260.76530.223312
43-0.092704-0.78110.218658
44-0.007333-0.06180.475451
45-0.076926-0.64820.259475
46-0.042211-0.35570.361569
47-0.142864-1.20380.116334
48-0.110671-0.93250.177111
 
Charts produced by software:
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2009/Jun/04/t1244102035j9dym8l71yzhc7g/1ld1c1244102005.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2009/Jun/04/t1244102035j9dym8l71yzhc7g/1ld1c1244102005.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2009/Jun/04/t1244102035j9dym8l71yzhc7g/2cng01244102005.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2009/Jun/04/t1244102035j9dym8l71yzhc7g/2cng01244102005.ps (open in new window)


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