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 computationMon, 03 Nov 2008 13:43:19 -0700
Cite this page as followsStatistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?v=date/2008/Nov/03/t1225745077hx7b7z1tr7b9eq7.htm/, Retrieved Sun, 19 May 2024 09:22:05 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=21229, Retrieved Sun, 19 May 2024 09:22:05 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact166
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
F     [Mean Plot] [workshop 3] [2007-10-26 12:14:28] [e9ffc5de6f8a7be62f22b142b5b6b1a8]
F RMPD    [Kendall tau Correlation Matrix] [Part 2 - Q1] [2008-11-03 20:43:19] [3a23ee8a65a3056dd39b310a09ef5fc1] [Current]
Feedback Forum
2008-11-11 21:51:47 [Joachim Van Hemelen] [reply
De kendall tau correlation plot is verkeerd opgesteld. Het is de bedoeling dat op de diagonaal alle variabelen staan. Onder de diagonaal staan de P-waarden, en boven de diagonaal staan de scatter plots.
2008-11-11 21:52:03 [Joachim Van Hemelen] [reply
De P-waarden geven niet de correlatiecoëfficiënt, maar de betrouwbaarheid van de correlatiecoëfficiënt. Hoe kleiner de P-waarde, hoe groter de betrouwbaarheid van de correlatiecoëfficiënt. Hoe groterr de P-waarde, hoe kleiner de betrouwbaarheid van de correlatiecoëfficiënt. Eigenlijk is er pas sprake van correlatie met een P-waarde < 0,05.

De kendall tau correlation plot is verkeerd opgesteld. Het is de bedoeling dat op de diagonaal alle variabelen staan. Onder de diagonaal staan de P-waarden, en boven de diagonaal staan de scatter plots.

Post a new message
Dataseries X:
4,2	2,6	3	3,8	4	3,5	4,1
4,8	-4,2	1,6	5,2	9,2	4,6	10,6
20,8	17,1	22,3	25,1	27,7	24,9	29,5
0,9	0,85	0,83	0,84	0,85	0,83	0,83
39,6	36,1	34,4	33,4	34,8	33,7	36,3




Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time4 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 & 4 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=21229&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]4 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=21229&T=0

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=21229&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 time4 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( 1985 , 1993 )0.60.233333333333333
tau( 1985 , 1998 )0.80.0833333333333333
tau( 1985 , 1999 )10.0166666666666666
tau( 1985 , 2000 )10.0166666666666666
tau( 1985 , 2001 )10.0166666666666666
tau( 1985 , 2002 )10.0166666666666666
tau( 1993 , 1998 )0.80.0833333333333333
tau( 1993 , 1999 )0.60.233333333333333
tau( 1993 , 2000 )0.60.233333333333333
tau( 1993 , 2001 )0.60.233333333333333
tau( 1993 , 2002 )0.60.233333333333333
tau( 1998 , 1999 )0.80.0833333333333333
tau( 1998 , 2000 )0.80.0833333333333333
tau( 1998 , 2001 )0.80.0833333333333333
tau( 1998 , 2002 )0.80.0833333333333333
tau( 1999 , 2000 )10.0166666666666666
tau( 1999 , 2001 )10.0166666666666666
tau( 1999 , 2002 )10.0166666666666666
tau( 2000 , 2001 )10.0166666666666666
tau( 2000 , 2002 )10.0166666666666666
tau( 2001 , 2002 )10.0166666666666666

\begin{tabular}{lllllllll}
\hline
Kendall tau rank correlations for all pairs of data series \tabularnewline
pair & tau & p-value \tabularnewline
tau( 1985 , 1993 ) & 0.6 & 0.233333333333333 \tabularnewline
tau( 1985 , 1998 ) & 0.8 & 0.0833333333333333 \tabularnewline
tau( 1985 , 1999 ) & 1 & 0.0166666666666666 \tabularnewline
tau( 1985 , 2000 ) & 1 & 0.0166666666666666 \tabularnewline
tau( 1985 , 2001 ) & 1 & 0.0166666666666666 \tabularnewline
tau( 1985 , 2002 ) & 1 & 0.0166666666666666 \tabularnewline
tau( 1993 , 1998 ) & 0.8 & 0.0833333333333333 \tabularnewline
tau( 1993 , 1999 ) & 0.6 & 0.233333333333333 \tabularnewline
tau( 1993 , 2000 ) & 0.6 & 0.233333333333333 \tabularnewline
tau( 1993 , 2001 ) & 0.6 & 0.233333333333333 \tabularnewline
tau( 1993 , 2002 ) & 0.6 & 0.233333333333333 \tabularnewline
tau( 1998 , 1999 ) & 0.8 & 0.0833333333333333 \tabularnewline
tau( 1998 , 2000 ) & 0.8 & 0.0833333333333333 \tabularnewline
tau( 1998 , 2001 ) & 0.8 & 0.0833333333333333 \tabularnewline
tau( 1998 , 2002 ) & 0.8 & 0.0833333333333333 \tabularnewline
tau( 1999 , 2000 ) & 1 & 0.0166666666666666 \tabularnewline
tau( 1999 , 2001 ) & 1 & 0.0166666666666666 \tabularnewline
tau( 1999 , 2002 ) & 1 & 0.0166666666666666 \tabularnewline
tau( 2000 , 2001 ) & 1 & 0.0166666666666666 \tabularnewline
tau( 2000 , 2002 ) & 1 & 0.0166666666666666 \tabularnewline
tau( 2001 , 2002 ) & 1 & 0.0166666666666666 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=21229&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( 1985 , 1993 )[/C][C]0.6[/C][C]0.233333333333333[/C][/ROW]
[ROW][C]tau( 1985 , 1998 )[/C][C]0.8[/C][C]0.0833333333333333[/C][/ROW]
[ROW][C]tau( 1985 , 1999 )[/C][C]1[/C][C]0.0166666666666666[/C][/ROW]
[ROW][C]tau( 1985 , 2000 )[/C][C]1[/C][C]0.0166666666666666[/C][/ROW]
[ROW][C]tau( 1985 , 2001 )[/C][C]1[/C][C]0.0166666666666666[/C][/ROW]
[ROW][C]tau( 1985 , 2002 )[/C][C]1[/C][C]0.0166666666666666[/C][/ROW]
[ROW][C]tau( 1993 , 1998 )[/C][C]0.8[/C][C]0.0833333333333333[/C][/ROW]
[ROW][C]tau( 1993 , 1999 )[/C][C]0.6[/C][C]0.233333333333333[/C][/ROW]
[ROW][C]tau( 1993 , 2000 )[/C][C]0.6[/C][C]0.233333333333333[/C][/ROW]
[ROW][C]tau( 1993 , 2001 )[/C][C]0.6[/C][C]0.233333333333333[/C][/ROW]
[ROW][C]tau( 1993 , 2002 )[/C][C]0.6[/C][C]0.233333333333333[/C][/ROW]
[ROW][C]tau( 1998 , 1999 )[/C][C]0.8[/C][C]0.0833333333333333[/C][/ROW]
[ROW][C]tau( 1998 , 2000 )[/C][C]0.8[/C][C]0.0833333333333333[/C][/ROW]
[ROW][C]tau( 1998 , 2001 )[/C][C]0.8[/C][C]0.0833333333333333[/C][/ROW]
[ROW][C]tau( 1998 , 2002 )[/C][C]0.8[/C][C]0.0833333333333333[/C][/ROW]
[ROW][C]tau( 1999 , 2000 )[/C][C]1[/C][C]0.0166666666666666[/C][/ROW]
[ROW][C]tau( 1999 , 2001 )[/C][C]1[/C][C]0.0166666666666666[/C][/ROW]
[ROW][C]tau( 1999 , 2002 )[/C][C]1[/C][C]0.0166666666666666[/C][/ROW]
[ROW][C]tau( 2000 , 2001 )[/C][C]1[/C][C]0.0166666666666666[/C][/ROW]
[ROW][C]tau( 2000 , 2002 )[/C][C]1[/C][C]0.0166666666666666[/C][/ROW]
[ROW][C]tau( 2001 , 2002 )[/C][C]1[/C][C]0.0166666666666666[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=21229&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=21229&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( 1985 , 1993 )0.60.233333333333333
tau( 1985 , 1998 )0.80.0833333333333333
tau( 1985 , 1999 )10.0166666666666666
tau( 1985 , 2000 )10.0166666666666666
tau( 1985 , 2001 )10.0166666666666666
tau( 1985 , 2002 )10.0166666666666666
tau( 1993 , 1998 )0.80.0833333333333333
tau( 1993 , 1999 )0.60.233333333333333
tau( 1993 , 2000 )0.60.233333333333333
tau( 1993 , 2001 )0.60.233333333333333
tau( 1993 , 2002 )0.60.233333333333333
tau( 1998 , 1999 )0.80.0833333333333333
tau( 1998 , 2000 )0.80.0833333333333333
tau( 1998 , 2001 )0.80.0833333333333333
tau( 1998 , 2002 )0.80.0833333333333333
tau( 1999 , 2000 )10.0166666666666666
tau( 1999 , 2001 )10.0166666666666666
tau( 1999 , 2002 )10.0166666666666666
tau( 2000 , 2001 )10.0166666666666666
tau( 2000 , 2002 )10.0166666666666666
tau( 2001 , 2002 )10.0166666666666666



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