Free Statistics

of Irreproducible Research!

Author's title

Author*The author of this computation has been verified*
R Software Modulerwasp_pairs.wasp
Title produced by softwareKendall tau Correlation Matrix
Date of computationTue, 11 Dec 2012 15:03:28 -0500
Cite this page as followsStatistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?v=date/2012/Dec/11/t13552562299ec4ezpj69e6zn4.htm/, Retrieved Thu, 28 Mar 2024 13:32:44 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=198675, Retrieved Thu, 28 Mar 2024 13:32:44 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact74
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-     [Kendall tau Correlation Matrix] [] [2010-12-05 18:04:16] [b98453cac15ba1066b407e146608df68]
- RMPD    [Kendall tau Correlation Matrix] [WS10.2] [2012-12-11 20:03:28] [6144fd9dab7e8876ce9100c6a2ac91c2] [Current]
Feedback Forum

Post a new message
Dataseries X:
6,8	225	0,442	0,672	9,2
6,3	180	0,435	0,797	11,7
6,4	190	0,456	0,761	15,8
6,2	180	0,416	0,651	8,6
6,9	205	0,449	0,9	23,2
6,4	225	0,431	0,78	27,4
6,3	185	0,487	0,771	9,3
6,8	235	0,469	0,75	16
6,9	235	0,435	0,818	4,7
6,7	210	0,48	0,825	12,5
6,9	245	0,516	0,632	20,1
6,9	245	0,493	0,757	9,1
6,3	185	0,374	0,709	8,1
6,1	185	0,424	0,782	8,6
6,2	180	0,441	0,775	20,3
6,8	220	0,503	0,88	25
6,5	194	0,503	0,833	19,2
7,6	225	0,425	0,571	3,3
6,3	210	0,371	0,816	11,2
7,1	240	0,504	0,714	10,5
6,8	225	0,4	0,765	10,1
7,3	263	0,482	0,655	7,2
6,4	210	0,475	0,244	13,6
6,8	235	0,428	0,728	9
7,2	230	0,559	0,721	24,6
6,4	190	0,441	0,757	12,6
6,6	220	0,492	0,747	5,6
6,8	210	0,402	0,739	8,7
6,1	180	0,415	0,713	7,7
6,5	235	0,492	0,742	24,1
6,4	185	0,484	0,861	11,7
6	175	0,387	0,721	7,7
6	192	0,436	0,785	9,6
7,3	263	0,482	0,655	7,2
6,1	180	0,34	0,821	12,3
6,7	240	0,516	0,728	8,9
6,4	210	0,475	0,846	13,6
5,8	160	0,412	0,813	11,2
6,9	230	0,411	0,595	2,8
7	245	0,407	0,573	3,2
7,3	228	0,445	0,726	9,4
5,9	155	0,291	0,707	11,9
6,2	200	0,449	0,804	15,4
6,8	235	0,546	0,784	7,4
7	235	0,48	0,744	18,9
5,9	105	0,359	0,839	7,9
6,1	180	0,528	0,79	12,2
5,7	185	0,352	0,701	11
7,1	245	0,414	0,778	2,8
5,8	180	0,425	0,872	11,8
7,4	240	0,599	0,713	17,1
6,8	225	0,482	0,701	11,6
6,8	215	0,457	0,734	5,8
7	230	0,435	0,764	8,3




Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time2 seconds
R Server'George Udny Yule' @ yule.wessa.net

\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 & 2 seconds \tabularnewline
R Server & 'George Udny Yule' @ yule.wessa.net \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=198675&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]2 seconds[/C][/ROW]
[ROW][C]R Server[/C][C]'George Udny Yule' @ yule.wessa.net[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=198675&T=0

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=198675&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 time2 seconds
R Server'George Udny Yule' @ yule.wessa.net







Correlations for all pairs of data series (method=kendall)
X1X2X3X4X5
X110.7120.321-0.266-0.09
X20.71210.343-0.256-0.093
X30.3210.34310.0040.234
X4-0.266-0.2560.00410.235
X5-0.09-0.0930.2340.2351

\begin{tabular}{lllllllll}
\hline
Correlations for all pairs of data series (method=kendall) \tabularnewline
  & X1 & X2 & X3 & X4 & X5 \tabularnewline
X1 & 1 & 0.712 & 0.321 & -0.266 & -0.09 \tabularnewline
X2 & 0.712 & 1 & 0.343 & -0.256 & -0.093 \tabularnewline
X3 & 0.321 & 0.343 & 1 & 0.004 & 0.234 \tabularnewline
X4 & -0.266 & -0.256 & 0.004 & 1 & 0.235 \tabularnewline
X5 & -0.09 & -0.093 & 0.234 & 0.235 & 1 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=198675&T=1

[TABLE]
[ROW][C]Correlations for all pairs of data series (method=kendall)[/C][/ROW]
[ROW][C] [/C][C]X1[/C][C]X2[/C][C]X3[/C][C]X4[/C][C]X5[/C][/ROW]
[ROW][C]X1[/C][C]1[/C][C]0.712[/C][C]0.321[/C][C]-0.266[/C][C]-0.09[/C][/ROW]
[ROW][C]X2[/C][C]0.712[/C][C]1[/C][C]0.343[/C][C]-0.256[/C][C]-0.093[/C][/ROW]
[ROW][C]X3[/C][C]0.321[/C][C]0.343[/C][C]1[/C][C]0.004[/C][C]0.234[/C][/ROW]
[ROW][C]X4[/C][C]-0.266[/C][C]-0.256[/C][C]0.004[/C][C]1[/C][C]0.235[/C][/ROW]
[ROW][C]X5[/C][C]-0.09[/C][C]-0.093[/C][C]0.234[/C][C]0.235[/C][C]1[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=198675&T=1

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

As an alternative you can also use a QR Code:  

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

Correlations for all pairs of data series (method=kendall)
X1X2X3X4X5
X110.7120.321-0.266-0.09
X20.71210.343-0.256-0.093
X30.3210.34310.0040.234
X4-0.266-0.2560.00410.235
X5-0.09-0.0930.2340.2351







Correlations for all pairs of data series with p-values
pairPearson rSpearman rhoKendall tau
X1;X20.83430.86780.7122
p-value(0)(0)(0)
X1;X30.49550.42750.3211
p-value(1e-04)(0.0013)(9e-04)
X1;X4-0.2593-0.3518-0.266
p-value(0.0583)(0.0091)(0.0058)
X1;X5-0.0689-0.1595-0.0897
p-value(0.6205)(0.2492)(0.3525)
X2;X30.51610.46210.3427
p-value(1e-04)(4e-04)(4e-04)
X2;X4-0.2902-0.3623-0.2559
p-value(0.0333)(0.0071)(0.0078)
X2;X5-0.0098-0.1526-0.093
p-value(0.9437)(0.2707)(0.3339)
X3;X4-0.01860.0280.0042
p-value(0.894)(0.8406)(0.9643)
X3;X50.33880.34740.2337
p-value(0.0122)(0.0101)(0.0132)
X4;X50.24490.33310.2352
p-value(0.0743)(0.0138)(0.0124)

\begin{tabular}{lllllllll}
\hline
Correlations for all pairs of data series with p-values \tabularnewline
pair & Pearson r & Spearman rho & Kendall tau \tabularnewline
X1;X2 & 0.8343 & 0.8678 & 0.7122 \tabularnewline
p-value & (0) & (0) & (0) \tabularnewline
X1;X3 & 0.4955 & 0.4275 & 0.3211 \tabularnewline
p-value & (1e-04) & (0.0013) & (9e-04) \tabularnewline
X1;X4 & -0.2593 & -0.3518 & -0.266 \tabularnewline
p-value & (0.0583) & (0.0091) & (0.0058) \tabularnewline
X1;X5 & -0.0689 & -0.1595 & -0.0897 \tabularnewline
p-value & (0.6205) & (0.2492) & (0.3525) \tabularnewline
X2;X3 & 0.5161 & 0.4621 & 0.3427 \tabularnewline
p-value & (1e-04) & (4e-04) & (4e-04) \tabularnewline
X2;X4 & -0.2902 & -0.3623 & -0.2559 \tabularnewline
p-value & (0.0333) & (0.0071) & (0.0078) \tabularnewline
X2;X5 & -0.0098 & -0.1526 & -0.093 \tabularnewline
p-value & (0.9437) & (0.2707) & (0.3339) \tabularnewline
X3;X4 & -0.0186 & 0.028 & 0.0042 \tabularnewline
p-value & (0.894) & (0.8406) & (0.9643) \tabularnewline
X3;X5 & 0.3388 & 0.3474 & 0.2337 \tabularnewline
p-value & (0.0122) & (0.0101) & (0.0132) \tabularnewline
X4;X5 & 0.2449 & 0.3331 & 0.2352 \tabularnewline
p-value & (0.0743) & (0.0138) & (0.0124) \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=198675&T=2

[TABLE]
[ROW][C]Correlations for all pairs of data series with p-values[/C][/ROW]
[ROW][C]pair[/C][C]Pearson r[/C][C]Spearman rho[/C][C]Kendall tau[/C][/ROW]
[ROW][C]X1;X2[/C][C]0.8343[/C][C]0.8678[/C][C]0.7122[/C][/ROW]
[ROW][C]p-value[/C][C](0)[/C][C](0)[/C][C](0)[/C][/ROW]
[ROW][C]X1;X3[/C][C]0.4955[/C][C]0.4275[/C][C]0.3211[/C][/ROW]
[ROW][C]p-value[/C][C](1e-04)[/C][C](0.0013)[/C][C](9e-04)[/C][/ROW]
[ROW][C]X1;X4[/C][C]-0.2593[/C][C]-0.3518[/C][C]-0.266[/C][/ROW]
[ROW][C]p-value[/C][C](0.0583)[/C][C](0.0091)[/C][C](0.0058)[/C][/ROW]
[ROW][C]X1;X5[/C][C]-0.0689[/C][C]-0.1595[/C][C]-0.0897[/C][/ROW]
[ROW][C]p-value[/C][C](0.6205)[/C][C](0.2492)[/C][C](0.3525)[/C][/ROW]
[ROW][C]X2;X3[/C][C]0.5161[/C][C]0.4621[/C][C]0.3427[/C][/ROW]
[ROW][C]p-value[/C][C](1e-04)[/C][C](4e-04)[/C][C](4e-04)[/C][/ROW]
[ROW][C]X2;X4[/C][C]-0.2902[/C][C]-0.3623[/C][C]-0.2559[/C][/ROW]
[ROW][C]p-value[/C][C](0.0333)[/C][C](0.0071)[/C][C](0.0078)[/C][/ROW]
[ROW][C]X2;X5[/C][C]-0.0098[/C][C]-0.1526[/C][C]-0.093[/C][/ROW]
[ROW][C]p-value[/C][C](0.9437)[/C][C](0.2707)[/C][C](0.3339)[/C][/ROW]
[ROW][C]X3;X4[/C][C]-0.0186[/C][C]0.028[/C][C]0.0042[/C][/ROW]
[ROW][C]p-value[/C][C](0.894)[/C][C](0.8406)[/C][C](0.9643)[/C][/ROW]
[ROW][C]X3;X5[/C][C]0.3388[/C][C]0.3474[/C][C]0.2337[/C][/ROW]
[ROW][C]p-value[/C][C](0.0122)[/C][C](0.0101)[/C][C](0.0132)[/C][/ROW]
[ROW][C]X4;X5[/C][C]0.2449[/C][C]0.3331[/C][C]0.2352[/C][/ROW]
[ROW][C]p-value[/C][C](0.0743)[/C][C](0.0138)[/C][C](0.0124)[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=198675&T=2

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

As an alternative you can also use a QR Code:  

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

Correlations for all pairs of data series with p-values
pairPearson rSpearman rhoKendall tau
X1;X20.83430.86780.7122
p-value(0)(0)(0)
X1;X30.49550.42750.3211
p-value(1e-04)(0.0013)(9e-04)
X1;X4-0.2593-0.3518-0.266
p-value(0.0583)(0.0091)(0.0058)
X1;X5-0.0689-0.1595-0.0897
p-value(0.6205)(0.2492)(0.3525)
X2;X30.51610.46210.3427
p-value(1e-04)(4e-04)(4e-04)
X2;X4-0.2902-0.3623-0.2559
p-value(0.0333)(0.0071)(0.0078)
X2;X5-0.0098-0.1526-0.093
p-value(0.9437)(0.2707)(0.3339)
X3;X4-0.01860.0280.0042
p-value(0.894)(0.8406)(0.9643)
X3;X50.33880.34740.2337
p-value(0.0122)(0.0101)(0.0132)
X4;X50.24490.33310.2352
p-value(0.0743)(0.0138)(0.0124)



Parameters (Session):
par1 = kendall ;
Parameters (R input):
par1 = kendall ;
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=par1)
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')
n <- length(y[,1])
n
a<-table.start()
a<-table.row.start(a)
a<-table.element(a,paste('Correlations for all pairs of data series (method=',par1,')',sep=''),n+1,TRUE)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,' ',header=TRUE)
for (i in 1:n) {
a<-table.element(a,dimnames(t(x))[[2]][i],header=TRUE)
}
a<-table.row.end(a)
for (i in 1:n) {
a<-table.row.start(a)
a<-table.element(a,dimnames(t(x))[[2]][i],header=TRUE)
for (j in 1:n) {
r <- cor.test(y[i,],y[j,],method=par1)
a<-table.element(a,round(r$estimate,3))
}
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,'Correlations for all pairs of data series with p-values',4,TRUE)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'pair',1,TRUE)
a<-table.element(a,'Pearson r',1,TRUE)
a<-table.element(a,'Spearman rho',1,TRUE)
a<-table.element(a,'Kendall tau',1,TRUE)
a<-table.row.end(a)
cor.test(y[1,],y[2,],method=par1)
for (i in 1:(n-1))
{
for (j in (i+1):n)
{
a<-table.row.start(a)
dum <- paste(dimnames(t(x))[[2]][i],';',dimnames(t(x))[[2]][j],sep='')
a<-table.element(a,dum,header=TRUE)
rp <- cor.test(y[i,],y[j,],method='pearson')
a<-table.element(a,round(rp$estimate,4))
rs <- cor.test(y[i,],y[j,],method='spearman')
a<-table.element(a,round(rs$estimate,4))
rk <- cor.test(y[i,],y[j,],method='kendall')
a<-table.element(a,round(rk$estimate,4))
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'p-value',header=T)
a<-table.element(a,paste('(',round(rp$p.value,4),')',sep=''))
a<-table.element(a,paste('(',round(rs$p.value,4),')',sep=''))
a<-table.element(a,paste('(',round(rk$p.value,4),')',sep=''))
a<-table.row.end(a)
}
}
a<-table.end(a)
table.save(a,file='mytable1.tab')