Home » date » 2007 » Nov » 28 » attachments

Kendall tau correlation matrix

R Software Module: rwasp_pairs.wasp (opens new window with default values)
Title produced by software: Kendall tau Correlation Matrix
Date of computation: Wed, 28 Nov 2007 03:49:05 -0700
 
Cite this page as follows:
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL http://www.freestatistics.org/blog/date/2007/Nov/28/t11962469484pu0bal87fz65ah.htm/, Retrieved Wed, 28 Nov 2007 11:49:10 +0100
 
User-defined keywords:
bridome
 
Dataseries X:
» Textbox « » Textfile « » CSV «
540 2863 91,0 39892 522 2688 85,3 32194 526 3041 89,5 21629 527 3119 76,1 59968 516 3102 76,1 45694 503 4608 91,5 55756 489 3466 85,4 48554 479 3748 80,0 41052 475 4541 94,0 49822 524 3650 72,6 39191 552 4274 80,8 31994 532 3827 94,1 35735 511 3778 94,9 38930 492 3453 91,9 33658 492 4160 99,2 23849 493 3595 84,7 58972 481 3914 93,7 59249 462 4159 106,7 63955 457 3676 93,5 53785 442 3794 104,8 52760 439 3446 103,5 44795 488 3504 83,1 37348 521 3958 89,6 32370 501 3353 105,7 32717 485 3480 110,7 40974 464 3098 110,4 33591 460 2944 109,0 21124 467 3389 106,0 58608 460 3497 100,9 46865 448 4404 114,3 51378 443 3849 101,2 46235 436 3734 109,2 47206 431 3060 111,6 45382 484 3507 91,7 41227 510 3287 93,7 33795 513 3215 105,7 31295 503 3764 109,5 42625 471 2734 105,3 33625 471 2837 102,8 21538 476 2766 100,6 56421 475 3851 97,6 53152 470 3289 110,3 53536 461 3848 107,2 52408 455 3348 107,2 41454 456 3682 108,1 38271 517 4058 97,1 35306 525 3655 92,2 26414 523 3811 112,2 31917 519 3341 111,6 38030 509 3032 115,7 27534 512 3475 111,3 18387 519 3353 104,2 50556 517 3186 103,2 43901 510 3902 112,7 48572 509 4164 106,4 43899 501 3499 102,6 37532 507 4145 110,6 40357 569 3796 95,2 35489 580 3711 89,0 29027 578 3949 112,5 34485 565 3740 116,8 42598 547 3243 107,2 30306 555 4407 113,6 26451 562 4814 101,8 47460 561 3908 102,6 50104 555 5250 122,7 61465 544 3937 110,3 53726 537 4004 110,5 39477 543 5560 121,6 43895 594 3922 100,3 31481 611 3759 100,7 29896 613 4138 123,4 33842 611 4634 127,1 39120 594 3996 124,1 33702 595 4307 131,2 25094 591 4142 111,6 51442 589 4429 114,2 45594 584 5219 130,1 52518 573 4929 125,9 48564 567 5754 119,0 41745 569 5591 133,8 49585 621 4162 107,5 32747 629 4947 113,5 33379 628 5208 134,4 35645 612 4754 126,8 37034 595 4487 135,6 35681 597 5719 139,9 20972 593 5719 129,8 58552 590 4994 131,0 54955 580 6032 153,1 64540 574 4897 134,1 51570 573 5339 144,1 51145 573 5571 155,9 46641 620 4635 123,3 35704 626 4733 128,1 33253 620 5004 144,3 35193 588 5322 153,0 41668 566 4168 149,9 34865 557 4633 150,9 21210 561 4763 141,0 56126 549 4252 138,9 49321 532 4996 157,4 59723 526 4261 142,7 48103 511 4084 151,5 47472 499 5084 160,8 50497 555 4236 138,6 40059
 
Text written by user:
 
Output produced by software:

Enter (or paste) a matrix (table) containing all data (time) series. Every column represents a different variable and must be delimited by a space or Tab. Every row represents a period in time (or category) and must be delimited by hard returns. The easiest way to enter data is to copy and paste a block of spreadsheet cells. Please, do not use commas or spaces to seperate groups of digits!


Summary of compuational 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


Kendall tau rank correlations for all pairs of data series
pairtaup-value
tau( werkloosheid , bouwvergunningen )0.4058737640870077.68466179579264e-10
tau( werkloosheid , omzetcijfer )0.2866675297258521.41640559536693e-05
tau( werkloosheid , personenwagens )-0.1403101829048130.0334310672352718
tau( bouwvergunningen , omzetcijfer )0.449042154888189.46687173097871e-12
tau( bouwvergunningen , personenwagens )0.1630122240562250.0132823935994653
tau( omzetcijfer , personenwagens )0.06331507730066380.336554348740871
 
Charts produced by software:
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2007/Nov/28/t11962469484pu0bal87fz65ah/1q0g31196246943.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2007/Nov/28/t11962469484pu0bal87fz65ah/1q0g31196246943.ps (open in new window)


 
Parameters:
 
R code (references can be found in the software module):
panel.tau <- function(x, y, digits=2, prefix='', cex.cor)
{
usr <- par('usr'); on.exit(par(usr))
par(usr = c(0, 1, 0, 1))
rr <- cor.test(x, y, method='kendall')
r <- round(rr$p.value,2)
txt <- format(c(r, 0.123456789), digits=digits)[1]
txt <- paste(prefix, txt, sep='')
if(missing(cex.cor)) cex <- 0.5/strwidth(txt)
text(0.5, 0.5, txt, cex = cex)
}
panel.hist <- function(x, ...)
{
usr <- par('usr'); on.exit(par(usr))
par(usr = c(usr[1:2], 0, 1.5) )
h <- hist(x, plot = FALSE)
breaks <- h$breaks; nB <- length(breaks)
y <- h$counts; y <- y/max(y)
rect(breaks[-nB], 0, breaks[-1], y, col='grey', ...)
}
bitmap(file='test1.png')
pairs(t(y),diag.panel=panel.hist, upper.panel=panel.smooth, lower.panel=panel.tau, main=main)
dev.off()
load(file='createtable')
a<-table.start()
a<-table.row.start(a)
a<-table.element(a,'Kendall tau rank correlations for all pairs of data series',3,TRUE)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'pair',1,TRUE)
a<-table.element(a,'tau',1,TRUE)
a<-table.element(a,'p-value',1,TRUE)
a<-table.row.end(a)
n <- length(y[,1])
n
cor.test(y[1,],y[2,],method='kendall')
for (i in 1:(n-1))
{
for (j in (i+1):n)
{
a<-table.row.start(a)
dum <- paste('tau(',dimnames(t(x))[[2]][i])
dum <- paste(dum,',')
dum <- paste(dum,dimnames(t(x))[[2]][j])
dum <- paste(dum,')')
a<-table.element(a,dum,header=TRUE)
r <- cor.test(y[i,],y[j,],method='kendall')
a<-table.element(a,r$estimate)
a<-table.element(a,r$p.value)
a<-table.row.end(a)
}
}
a<-table.end(a)
table.save(a,file='mytable.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:

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