Free Statistics

of Irreproducible Research!

Author's title

Author*Unverified author*
R Software Modulerwasp_pairs.wasp
Title produced by softwareKendall tau Correlation Matrix
Date of computationTue, 06 Apr 2010 21:47:49 +0000
Cite this page as followsStatistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?v=date/2010/Apr/06/t12705905203da61dtnd5xkk1x.htm/, Retrieved Fri, 19 Apr 2024 18:35:50 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=74614, Retrieved Fri, 19 Apr 2024 18:35:50 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact269
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-       [Kendall tau Correlation Matrix] [Controle robuusth...] [2010-04-06 21:47:49] [d41d8cd98f00b204e9800998ecf8427e] [Current]
Feedback Forum

Post a new message
Dataseries X:
0,337	0,759	1,511	0,344	0,745	1,429	0,304	0,754	1,505
0,431	0,780	1,335	0,497	0,762	1,322	0,460	0,784	1,255
0,465	0,767	1,279	0,540	0,762	1,190	0,476	0,784	1,189
0,532	0,778	1,209	0,540	0,763	1,188	0,500	0,790	1,170
0,554	0,801	1,180	0,572	0,771	1,176	0,548	0,785	1,195




Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time3 seconds
R Server'Herman Ole Andreas Wold' @ 193.190.124.10:1001

\begin{tabular}{lllllllll}
\hline
Summary of computational transaction \tabularnewline
Raw Input & view raw input (R code)  \tabularnewline
Raw Output & view raw output of R engine  \tabularnewline
Computing time & 3 seconds \tabularnewline
R Server & 'Herman Ole Andreas Wold' @ 193.190.124.10:1001 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=74614&T=0

[TABLE]
[ROW][C]Summary of computational transaction[/C][/ROW]
[ROW][C]Raw Input[/C][C]view raw input (R code) [/C][/ROW]
[ROW][C]Raw Output[/C][C]view raw output of R engine [/C][/ROW]
[ROW][C]Computing time[/C][C]3 seconds[/C][/ROW]
[ROW][C]R Server[/C][C]'Herman Ole Andreas Wold' @ 193.190.124.10:1001[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=74614&T=0

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=74614&T=0

As an alternative you can also use a QR Code:  

The GUIDs for individual cells are displayed in the table below:

Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time3 seconds
R Server'Herman Ole Andreas Wold' @ 193.190.124.10:1001







Kendall tau rank correlations for all pairs of data series
pairtaup-value
tau( 11 , 12 )0.60.233333333333333
tau( 11 , 13 )-10.0166666666666667
tau( 11 , 21 )0.9486832980505140.022977401503206
tau( 11 , 22 )0.9486832980505140.022977401503206
tau( 11 , 23 )-10.0166666666666667
tau( 11 , 31 )10.0166666666666666
tau( 11 , 32 )0.7378647873726220.0769741729812667
tau( 11 , 33 )-0.60.233333333333333
tau( 12 , 13 )-0.60.233333333333333
tau( 12 , 21 )0.527046276694730.206507295485425
tau( 12 , 22 )0.7378647873726220.0769741729812667
tau( 12 , 23 )-0.60.233333333333333
tau( 12 , 31 )0.60.233333333333333
tau( 12 , 32 )0.527046276694730.206507295485425
tau( 12 , 33 )-0.20.816666666666667
tau( 13 , 21 )-0.9486832980505140.0229774015032061
tau( 13 , 22 )-0.9486832980505140.0229774015032061
tau( 13 , 23 )10.0166666666666666
tau( 13 , 31 )-10.0166666666666667
tau( 13 , 32 )-0.7378647873726220.0769741729812668
tau( 13 , 33 )0.60.233333333333333
tau( 21 , 22 )0.8888888888888890.0373564724455817
tau( 21 , 23 )-0.9486832980505140.0229774015032061
tau( 21 , 31 )0.9486832980505140.022977401503206
tau( 21 , 32 )0.6666666666666670.118432928916672
tau( 21 , 33 )-0.527046276694730.206507295485425
tau( 22 , 23 )-0.9486832980505140.0229774015032061
tau( 22 , 31 )0.9486832980505140.022977401503206
tau( 22 , 32 )0.7777777777777780.0685132892803837
tau( 22 , 33 )-0.527046276694730.206507295485425
tau( 23 , 31 )-10.0166666666666667
tau( 23 , 32 )-0.7378647873726220.0769741729812668
tau( 23 , 33 )0.60.233333333333333
tau( 31 , 32 )0.7378647873726220.0769741729812667
tau( 31 , 33 )-0.60.233333333333333
tau( 32 , 33 )-0.7378647873726220.0769741729812668

\begin{tabular}{lllllllll}
\hline
Kendall tau rank correlations for all pairs of data series \tabularnewline
pair & tau & p-value \tabularnewline
tau( 11 , 12 ) & 0.6 & 0.233333333333333 \tabularnewline
tau( 11 , 13 ) & -1 & 0.0166666666666667 \tabularnewline
tau( 11 , 21 ) & 0.948683298050514 & 0.022977401503206 \tabularnewline
tau( 11 , 22 ) & 0.948683298050514 & 0.022977401503206 \tabularnewline
tau( 11 , 23 ) & -1 & 0.0166666666666667 \tabularnewline
tau( 11 , 31 ) & 1 & 0.0166666666666666 \tabularnewline
tau( 11 , 32 ) & 0.737864787372622 & 0.0769741729812667 \tabularnewline
tau( 11 , 33 ) & -0.6 & 0.233333333333333 \tabularnewline
tau( 12 , 13 ) & -0.6 & 0.233333333333333 \tabularnewline
tau( 12 , 21 ) & 0.52704627669473 & 0.206507295485425 \tabularnewline
tau( 12 , 22 ) & 0.737864787372622 & 0.0769741729812667 \tabularnewline
tau( 12 , 23 ) & -0.6 & 0.233333333333333 \tabularnewline
tau( 12 , 31 ) & 0.6 & 0.233333333333333 \tabularnewline
tau( 12 , 32 ) & 0.52704627669473 & 0.206507295485425 \tabularnewline
tau( 12 , 33 ) & -0.2 & 0.816666666666667 \tabularnewline
tau( 13 , 21 ) & -0.948683298050514 & 0.0229774015032061 \tabularnewline
tau( 13 , 22 ) & -0.948683298050514 & 0.0229774015032061 \tabularnewline
tau( 13 , 23 ) & 1 & 0.0166666666666666 \tabularnewline
tau( 13 , 31 ) & -1 & 0.0166666666666667 \tabularnewline
tau( 13 , 32 ) & -0.737864787372622 & 0.0769741729812668 \tabularnewline
tau( 13 , 33 ) & 0.6 & 0.233333333333333 \tabularnewline
tau( 21 , 22 ) & 0.888888888888889 & 0.0373564724455817 \tabularnewline
tau( 21 , 23 ) & -0.948683298050514 & 0.0229774015032061 \tabularnewline
tau( 21 , 31 ) & 0.948683298050514 & 0.022977401503206 \tabularnewline
tau( 21 , 32 ) & 0.666666666666667 & 0.118432928916672 \tabularnewline
tau( 21 , 33 ) & -0.52704627669473 & 0.206507295485425 \tabularnewline
tau( 22 , 23 ) & -0.948683298050514 & 0.0229774015032061 \tabularnewline
tau( 22 , 31 ) & 0.948683298050514 & 0.022977401503206 \tabularnewline
tau( 22 , 32 ) & 0.777777777777778 & 0.0685132892803837 \tabularnewline
tau( 22 , 33 ) & -0.52704627669473 & 0.206507295485425 \tabularnewline
tau( 23 , 31 ) & -1 & 0.0166666666666667 \tabularnewline
tau( 23 , 32 ) & -0.737864787372622 & 0.0769741729812668 \tabularnewline
tau( 23 , 33 ) & 0.6 & 0.233333333333333 \tabularnewline
tau( 31 , 32 ) & 0.737864787372622 & 0.0769741729812667 \tabularnewline
tau( 31 , 33 ) & -0.6 & 0.233333333333333 \tabularnewline
tau( 32 , 33 ) & -0.737864787372622 & 0.0769741729812668 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=74614&T=1

[TABLE]
[ROW][C]Kendall tau rank correlations for all pairs of data series[/C][/ROW]
[ROW][C]pair[/C][C]tau[/C][C]p-value[/C][/ROW]
[ROW][C]tau( 11 , 12 )[/C][C]0.6[/C][C]0.233333333333333[/C][/ROW]
[ROW][C]tau( 11 , 13 )[/C][C]-1[/C][C]0.0166666666666667[/C][/ROW]
[ROW][C]tau( 11 , 21 )[/C][C]0.948683298050514[/C][C]0.022977401503206[/C][/ROW]
[ROW][C]tau( 11 , 22 )[/C][C]0.948683298050514[/C][C]0.022977401503206[/C][/ROW]
[ROW][C]tau( 11 , 23 )[/C][C]-1[/C][C]0.0166666666666667[/C][/ROW]
[ROW][C]tau( 11 , 31 )[/C][C]1[/C][C]0.0166666666666666[/C][/ROW]
[ROW][C]tau( 11 , 32 )[/C][C]0.737864787372622[/C][C]0.0769741729812667[/C][/ROW]
[ROW][C]tau( 11 , 33 )[/C][C]-0.6[/C][C]0.233333333333333[/C][/ROW]
[ROW][C]tau( 12 , 13 )[/C][C]-0.6[/C][C]0.233333333333333[/C][/ROW]
[ROW][C]tau( 12 , 21 )[/C][C]0.52704627669473[/C][C]0.206507295485425[/C][/ROW]
[ROW][C]tau( 12 , 22 )[/C][C]0.737864787372622[/C][C]0.0769741729812667[/C][/ROW]
[ROW][C]tau( 12 , 23 )[/C][C]-0.6[/C][C]0.233333333333333[/C][/ROW]
[ROW][C]tau( 12 , 31 )[/C][C]0.6[/C][C]0.233333333333333[/C][/ROW]
[ROW][C]tau( 12 , 32 )[/C][C]0.52704627669473[/C][C]0.206507295485425[/C][/ROW]
[ROW][C]tau( 12 , 33 )[/C][C]-0.2[/C][C]0.816666666666667[/C][/ROW]
[ROW][C]tau( 13 , 21 )[/C][C]-0.948683298050514[/C][C]0.0229774015032061[/C][/ROW]
[ROW][C]tau( 13 , 22 )[/C][C]-0.948683298050514[/C][C]0.0229774015032061[/C][/ROW]
[ROW][C]tau( 13 , 23 )[/C][C]1[/C][C]0.0166666666666666[/C][/ROW]
[ROW][C]tau( 13 , 31 )[/C][C]-1[/C][C]0.0166666666666667[/C][/ROW]
[ROW][C]tau( 13 , 32 )[/C][C]-0.737864787372622[/C][C]0.0769741729812668[/C][/ROW]
[ROW][C]tau( 13 , 33 )[/C][C]0.6[/C][C]0.233333333333333[/C][/ROW]
[ROW][C]tau( 21 , 22 )[/C][C]0.888888888888889[/C][C]0.0373564724455817[/C][/ROW]
[ROW][C]tau( 21 , 23 )[/C][C]-0.948683298050514[/C][C]0.0229774015032061[/C][/ROW]
[ROW][C]tau( 21 , 31 )[/C][C]0.948683298050514[/C][C]0.022977401503206[/C][/ROW]
[ROW][C]tau( 21 , 32 )[/C][C]0.666666666666667[/C][C]0.118432928916672[/C][/ROW]
[ROW][C]tau( 21 , 33 )[/C][C]-0.52704627669473[/C][C]0.206507295485425[/C][/ROW]
[ROW][C]tau( 22 , 23 )[/C][C]-0.948683298050514[/C][C]0.0229774015032061[/C][/ROW]
[ROW][C]tau( 22 , 31 )[/C][C]0.948683298050514[/C][C]0.022977401503206[/C][/ROW]
[ROW][C]tau( 22 , 32 )[/C][C]0.777777777777778[/C][C]0.0685132892803837[/C][/ROW]
[ROW][C]tau( 22 , 33 )[/C][C]-0.52704627669473[/C][C]0.206507295485425[/C][/ROW]
[ROW][C]tau( 23 , 31 )[/C][C]-1[/C][C]0.0166666666666667[/C][/ROW]
[ROW][C]tau( 23 , 32 )[/C][C]-0.737864787372622[/C][C]0.0769741729812668[/C][/ROW]
[ROW][C]tau( 23 , 33 )[/C][C]0.6[/C][C]0.233333333333333[/C][/ROW]
[ROW][C]tau( 31 , 32 )[/C][C]0.737864787372622[/C][C]0.0769741729812667[/C][/ROW]
[ROW][C]tau( 31 , 33 )[/C][C]-0.6[/C][C]0.233333333333333[/C][/ROW]
[ROW][C]tau( 32 , 33 )[/C][C]-0.737864787372622[/C][C]0.0769741729812668[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=74614&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=74614&T=1

As an alternative you can also use a QR Code:  

The GUIDs for individual cells are displayed in the table below:

Kendall tau rank correlations for all pairs of data series
pairtaup-value
tau( 11 , 12 )0.60.233333333333333
tau( 11 , 13 )-10.0166666666666667
tau( 11 , 21 )0.9486832980505140.022977401503206
tau( 11 , 22 )0.9486832980505140.022977401503206
tau( 11 , 23 )-10.0166666666666667
tau( 11 , 31 )10.0166666666666666
tau( 11 , 32 )0.7378647873726220.0769741729812667
tau( 11 , 33 )-0.60.233333333333333
tau( 12 , 13 )-0.60.233333333333333
tau( 12 , 21 )0.527046276694730.206507295485425
tau( 12 , 22 )0.7378647873726220.0769741729812667
tau( 12 , 23 )-0.60.233333333333333
tau( 12 , 31 )0.60.233333333333333
tau( 12 , 32 )0.527046276694730.206507295485425
tau( 12 , 33 )-0.20.816666666666667
tau( 13 , 21 )-0.9486832980505140.0229774015032061
tau( 13 , 22 )-0.9486832980505140.0229774015032061
tau( 13 , 23 )10.0166666666666666
tau( 13 , 31 )-10.0166666666666667
tau( 13 , 32 )-0.7378647873726220.0769741729812668
tau( 13 , 33 )0.60.233333333333333
tau( 21 , 22 )0.8888888888888890.0373564724455817
tau( 21 , 23 )-0.9486832980505140.0229774015032061
tau( 21 , 31 )0.9486832980505140.022977401503206
tau( 21 , 32 )0.6666666666666670.118432928916672
tau( 21 , 33 )-0.527046276694730.206507295485425
tau( 22 , 23 )-0.9486832980505140.0229774015032061
tau( 22 , 31 )0.9486832980505140.022977401503206
tau( 22 , 32 )0.7777777777777780.0685132892803837
tau( 22 , 33 )-0.527046276694730.206507295485425
tau( 23 , 31 )-10.0166666666666667
tau( 23 , 32 )-0.7378647873726220.0769741729812668
tau( 23 , 33 )0.60.233333333333333
tau( 31 , 32 )0.7378647873726220.0769741729812667
tau( 31 , 33 )-0.60.233333333333333
tau( 32 , 33 )-0.7378647873726220.0769741729812668



Parameters (Session):
par1 = pearson ;
Parameters (R input):
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')