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, 18 Dec 2007 14:15:50 -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/2007/Dec/18/t11980115626riuvakonre5biv.htm/, Retrieved Sat, 04 May 2024 09:01:20 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=4619, Retrieved Sat, 04 May 2024 09:01:20 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywordsPKTCMRM
Estimated Impact250
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-       [Kendall tau Correlation Matrix] [Paper - Kendall t...] [2007-12-18 21:15:50] [e51d7ab0e549b3dc96ac85a81d9bd259] [Current]
-    D    [Kendall tau Correlation Matrix] [Paper - Kendall t...] [2008-12-28 14:03:17] [c29178f7f550574a75dc881e636e0923]
-    D    [Kendall tau Correlation Matrix] [Paper - Kendall t...] [2008-12-28 14:05:04] [c29178f7f550574a75dc881e636e0923]
Feedback Forum

Post a new message
Dataseries X:
10,51	7,63	-15,57	16,07
-1,02	-1,52	-7	-8,58
-2,68	5,71	-2,08	5,08
-9,75	13,19	6,06	0,09
3,64	-5,5	3,1	3,83
9,5	1,77	-7,28	5,82
-0,33	1,97	11,93	37,12
-0,99	-5,61	-15,18	-0,46
3,16	-7,32	-4,97	-3,63
4,27	-1,09	-3,06	-3,88
-2,97	-0,1	5,18	4,62
-7,49	-9,4	-2,3	-12,97
0,33	-6,39	-1,86	3,2
-2,57	-2,03	-8,75	-5,75
4,07	0,9	-8,02	-0,57
5,31	7,57	4,8	-7,16
-8,09	-2,19	3,9	-18,05
5,29	3,59	-11,31	15,63
7,38	-1,69	4,26	-18,68
-6,12	-1,54	-6,89	-0,7
-3,38	13,36	4,13	2,59
-8,61	-3,66	4,25	2,57
2,58	0,61	-5,92	0,36
10,02	9,25	-2,62	32,56
7,08	11,03	-5,12	8,53
-2,75	-3,5	-6,19	1,42
3,42	-6,56	1,58	3,53
-1,6	5,55	6,93	0,9
0,65	16,5	1,3	-1,1
2,86	-0,09	0,7	13,32
-3,52	-10,19	18,15	-33,59
5,65	-1,56	-13,63	-0,85
4,31	3,62	-8,97	42,09
-4,39	-3,46	-3,48	-6,25
-5,85	-0,84	0,13	-11,08
-5,47	-1,75	0,16	-29,29
-2,3	-5,59	-1,28	-11,17
-0,14	-4,31	-8,46	13,92
8,08	8,29	-2,92	13,54
-7,43	-14,07	0,15	-16,49
0,02	-4,08	3,87	-9,38
-2,47	3,96	7,71	-2,84
-2,11	-2,54	-4,12	-2,88
7,87	24,36	-2,74	6,18
4,66	11,73	3,19	3,71
3,6	3,82	-6,22	3,18
-3,64	-2,98	1,25	-4,18
7,26	7,46	4,24	13,6
-7,62	-6,39	0,15	4,82
13,83	11,7	-2,06	10,05
1,28	2,36	2,14	9,69
-0,32	-7,48	-1,68	-13,63
-2,9	-2,54	5,03	2,81
4,92	-2,31	2,25	2,39
11,99	10,86	-6,58	9,12
10,06	-2,11	-2,85	14,21
-2,22	3,41	5,04	3,49
3,97	11,2	4,44	5,51
0,56	-1,21	-0,68	-6,15
3,34	5,82	-2,51	2,72
-2,86	-2,61	2,36	-11,12
4,38	-1,54	-6,32	-4,7
1,43	-5,42	-3,82	1,82
-0,49	11,6	2,17	-10,44
-1,23	-9,07	4,14	6,04




Summary of compuational 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 compuational 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=4619&T=0

[TABLE]
[ROW][C]Summary of compuational 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=4619&T=0

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=4619&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 compuational 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( Producten , Machines )0.2968487662598560.000477192778053359
tau( Producten , Electronica )-0.2274585302585570.00740901771238879
tau( Producten , Medisch )0.3653846153846151.68765258694581e-05
tau( Machines , Electronica )0.02598652851432830.759806885968401
tau( Machines , Medisch )0.2727929505175670.00132661231353381
tau( Electronica , Medisch )-0.1149314772342390.176026004657565

\begin{tabular}{lllllllll}
\hline
Kendall tau rank correlations for all pairs of data series \tabularnewline
pair & tau & p-value \tabularnewline
tau( Producten , Machines ) & 0.296848766259856 & 0.000477192778053359 \tabularnewline
tau( Producten , Electronica ) & -0.227458530258557 & 0.00740901771238879 \tabularnewline
tau( Producten , Medisch ) & 0.365384615384615 & 1.68765258694581e-05 \tabularnewline
tau( Machines , Electronica ) & 0.0259865285143283 & 0.759806885968401 \tabularnewline
tau( Machines , Medisch ) & 0.272792950517567 & 0.00132661231353381 \tabularnewline
tau( Electronica , Medisch ) & -0.114931477234239 & 0.176026004657565 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=4619&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( Producten , Machines )[/C][C]0.296848766259856[/C][C]0.000477192778053359[/C][/ROW]
[ROW][C]tau( Producten , Electronica )[/C][C]-0.227458530258557[/C][C]0.00740901771238879[/C][/ROW]
[ROW][C]tau( Producten , Medisch )[/C][C]0.365384615384615[/C][C]1.68765258694581e-05[/C][/ROW]
[ROW][C]tau( Machines , Electronica )[/C][C]0.0259865285143283[/C][C]0.759806885968401[/C][/ROW]
[ROW][C]tau( Machines , Medisch )[/C][C]0.272792950517567[/C][C]0.00132661231353381[/C][/ROW]
[ROW][C]tau( Electronica , Medisch )[/C][C]-0.114931477234239[/C][C]0.176026004657565[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=4619&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=4619&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( Producten , Machines )0.2968487662598560.000477192778053359
tau( Producten , Electronica )-0.2274585302585570.00740901771238879
tau( Producten , Medisch )0.3653846153846151.68765258694581e-05
tau( Machines , Electronica )0.02598652851432830.759806885968401
tau( Machines , Medisch )0.2727929505175670.00132661231353381
tau( Electronica , Medisch )-0.1149314772342390.176026004657565



Parameters (Session):
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')