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 computationThu, 15 Dec 2011 05:17:19 -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/2011/Dec/15/t1323944284r0tzeo1m5bckprt.htm/, Retrieved Thu, 09 May 2024 00:03:03 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=155319, Retrieved Thu, 09 May 2024 00:03:03 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact134
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-     [Kendall tau Correlation Matrix] [ws 10 deel 1 ] [2011-12-12 14:45:04] [4b648d52023f19d55c572f0eddd72b1f]
-    D  [Kendall tau Correlation Matrix] [WS 10.1] [2011-12-15 09:55:13] [da10aa57c5e54f8a2ad733cadd93c4c3]
-   P       [Kendall tau Correlation Matrix] [WS 10.2] [2011-12-15 10:17:19] [e524eb56e6915a531809c7eb50783bc6] [Current]
Feedback Forum

Post a new message
Dataseries X:
70.5	4.0	370
53.5	315.0	6166
65.0	4.0	684
76.5	1.7	449
70.0	8.0	643
71.0	5.6	1551
60.5	15.0	616
51.5	503.0	36660
78.0	2.6	403
76.0	2.6	346
57.5	44.0	2471
61.0	24.0	7427
64.5	23.0	2992
78.5	3.8	233
79.0	1.8	609
61.0	96.0	7615
70.0	90.0	370
70.0	4.9	1066
72.0	6.6	600
64.5	21.0	4873
54.5	592.0	3485
56.5	73.0	2364
64.5	14.0	1016
64.5	8.8	1062
73.0	3.9	480
72.0	6.0	559
69.0	3.2	259
64.0	11.0	1340
78.5	2.6	275
53.0	23.0	12550
75.0	3.2	965
68.5	11.0	4883
70.0	5.0	1189
70.5	3.0	226
76.0	3.0	611
75.5	1.3	404
74.5	5.6	576
65.0	29.0	3096




Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time1 seconds
R Server'Herman Ole Andreas Wold' @ wold.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 & 1 seconds \tabularnewline
R Server & 'Herman Ole Andreas Wold' @ wold.wessa.net \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=155319&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]1 seconds[/C][/ROW]
[ROW][C]R Server[/C][C]'Herman Ole Andreas Wold' @ wold.wessa.net[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=155319&T=0

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=155319&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 time1 seconds
R Server'Herman Ole Andreas Wold' @ wold.wessa.net







Correlations for all pairs of data series (method=kendall)
lepptppp
le1-0.705-0.583
ppt-0.70510.572
ppp-0.5830.5721

\begin{tabular}{lllllllll}
\hline
Correlations for all pairs of data series (method=kendall) \tabularnewline
  & le & ppt & ppp \tabularnewline
le & 1 & -0.705 & -0.583 \tabularnewline
ppt & -0.705 & 1 & 0.572 \tabularnewline
ppp & -0.583 & 0.572 & 1 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=155319&T=1

[TABLE]
[ROW][C]Correlations for all pairs of data series (method=kendall)[/C][/ROW]
[ROW][C] [/C][C]le[/C][C]ppt[/C][C]ppp[/C][/ROW]
[ROW][C]le[/C][C]1[/C][C]-0.705[/C][C]-0.583[/C][/ROW]
[ROW][C]ppt[/C][C]-0.705[/C][C]1[/C][C]0.572[/C][/ROW]
[ROW][C]ppp[/C][C]-0.583[/C][C]0.572[/C][C]1[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=155319&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=155319&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)
lepptppp
le1-0.705-0.583
ppt-0.70510.572
ppp-0.5830.5721







Correlations for all pairs of data series with p-values
pairPearson rSpearman rhoKendall tau
le;ppt-0.6058-0.8756-0.7049
p-value(1e-04)(0)(0)
le;ppp-0.5875-0.7726-0.5826
p-value(1e-04)(0)(0)
ppt;ppp0.61970.7590.5716
p-value(0)(0)(0)

\begin{tabular}{lllllllll}
\hline
Correlations for all pairs of data series with p-values \tabularnewline
pair & Pearson r & Spearman rho & Kendall tau \tabularnewline
le;ppt & -0.6058 & -0.8756 & -0.7049 \tabularnewline
p-value & (1e-04) & (0) & (0) \tabularnewline
le;ppp & -0.5875 & -0.7726 & -0.5826 \tabularnewline
p-value & (1e-04) & (0) & (0) \tabularnewline
ppt;ppp & 0.6197 & 0.759 & 0.5716 \tabularnewline
p-value & (0) & (0) & (0) \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=155319&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]le;ppt[/C][C]-0.6058[/C][C]-0.8756[/C][C]-0.7049[/C][/ROW]
[ROW][C]p-value[/C][C](1e-04)[/C][C](0)[/C][C](0)[/C][/ROW]
[ROW][C]le;ppp[/C][C]-0.5875[/C][C]-0.7726[/C][C]-0.5826[/C][/ROW]
[ROW][C]p-value[/C][C](1e-04)[/C][C](0)[/C][C](0)[/C][/ROW]
[ROW][C]ppt;ppp[/C][C]0.6197[/C][C]0.759[/C][C]0.5716[/C][/ROW]
[ROW][C]p-value[/C][C](0)[/C][C](0)[/C][C](0)[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=155319&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=155319&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
le;ppt-0.6058-0.8756-0.7049
p-value(1e-04)(0)(0)
le;ppp-0.5875-0.7726-0.5826
p-value(1e-04)(0)(0)
ppt;ppp0.61970.7590.5716
p-value(0)(0)(0)



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')