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 computationFri, 24 Dec 2010 10:01:53 +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/Dec/24/t1293184793dryky9xc2m7g1qk.htm/, Retrieved Tue, 30 Apr 2024 07:48:38 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=114680, Retrieved Tue, 30 Apr 2024 07:48:38 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact173
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 17:44:33] [b98453cac15ba1066b407e146608df68]
-   PD  [Kendall tau Correlation Matrix] [] [2010-12-21 12:06:15] [f47feae0308dca73181bb669fbad1c56]
- RM D      [Kendall tau Correlation Matrix] [pearson correlati...] [2010-12-24 10:01:53] [ea05999e24dc6223e14cc730e7a15b1e] [Current]
Feedback Forum

Post a new message
Dataseries X:
3	4	2	4	4
3	3	2	4	2
4	4	4	3	2
3	3	3	2	2
3	3	3	3	2
3	4	1	4	2
3	4	4	5	5
2	3	2	4	4
3	4	2	4	4
3	3	2	2	2
3	4	4	2	4
3	3	3	4	2
3	4	3	4	4
2	3	2	5	4
3	3	3	5	1
3	4	2	4	4
2	3	3	3	3
3	4	3	4	4
2	3	2	4	1
1	3	2	2	2
2	4	1	4	1
3	4	4	4	4
3	3	3	4	4
3	3	2	4	1
3	4	3	4	4
3	4	3	4	5
2	4	4	4	4
3	4	3	3	4
3	4	3	3	4
4	4	2	4	2
3	2	2	3	2
3	4	4	4	4
3	4	4	4	4
3	4	2	4	2
2	3	2	4	3
3	4	3	4	4
3	4	3	4	3
3	3	3	3	2
3	4	3	4	4
4	4	4	4	4
3	3	3	4	3
3	4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2	4	3
3	4	2	4	3
3	4	3	4	1
2	4	2	4	2
NA	4	3	5	4
3	4	3	4	4
4	4	4	4	3
4	4	4	4	3
4	5	4	4	4
2	3	2	3	3
3	4	3	3	4
3	3	3	4	4
3	3	1	3	4




Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time2 seconds
R Server'Gwilym Jenkins' @ 72.249.127.135
R Framework error message
The field 'Names of X columns' contains a hard return which cannot be interpreted.
Please, resubmit your request without hard returns in the 'Names of X columns'.

\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 & 'Gwilym Jenkins' @ 72.249.127.135 \tabularnewline
R Framework error message & 
The field 'Names of X columns' contains a hard return which cannot be interpreted.
Please, resubmit your request without hard returns in the 'Names of X columns'.
\tabularnewline \hline \end{tabular} %Source: https://freestatistics.org/blog/index.php?pk=114680&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]'Gwilym Jenkins' @ 72.249.127.135[/C][/ROW]
[ROW][C]R Framework error message[/C][C]
The field 'Names of X columns' contains a hard return which cannot be interpreted.
Please, resubmit your request without hard returns in the 'Names of X columns'.
[/C][/ROW] [/TABLE] Source: https://freestatistics.org/blog/index.php?pk=114680&T=0

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=114680&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'Gwilym Jenkins' @ 72.249.127.135
R Framework error message
The field 'Names of X columns' contains a hard return which cannot be interpreted.
Please, resubmit your request without hard returns in the 'Names of X columns'.







Correlations for all pairs of data series (method=pearson)
X1X2X3X4X5
X110.3630.510.1350.223
X20.36310.3990.1060.532
X30.510.3991-0.0160.486
X40.1350.106-0.01610.032
X5 0.2230.5320.4860.0321

\begin{tabular}{lllllllll}
\hline
Correlations for all pairs of data series (method=pearson) \tabularnewline
  & X1 & X2 & X3 & X4 & X5
 \tabularnewline
X1 & 1 & 0.363 & 0.51 & 0.135 & 0.223 \tabularnewline
X2 & 0.363 & 1 & 0.399 & 0.106 & 0.532 \tabularnewline
X3 & 0.51 & 0.399 & 1 & -0.016 & 0.486 \tabularnewline
X4 & 0.135 & 0.106 & -0.016 & 1 & 0.032 \tabularnewline
X5
 & 0.223 & 0.532 & 0.486 & 0.032 & 1 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=114680&T=1

[TABLE]
[ROW][C]Correlations for all pairs of data series (method=pearson)[/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.363[/C][C]0.51[/C][C]0.135[/C][C]0.223[/C][/ROW]
[ROW][C]X2[/C][C]0.363[/C][C]1[/C][C]0.399[/C][C]0.106[/C][C]0.532[/C][/ROW]
[ROW][C]X3[/C][C]0.51[/C][C]0.399[/C][C]1[/C][C]-0.016[/C][C]0.486[/C][/ROW]
[ROW][C]X4[/C][C]0.135[/C][C]0.106[/C][C]-0.016[/C][C]1[/C][C]0.032[/C][/ROW]
[ROW][C]X5
[/C][C]0.223[/C][C]0.532[/C][C]0.486[/C][C]0.032[/C][C]1[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=114680&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=114680&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=pearson)
X1X2X3X4X5
X110.3630.510.1350.223
X20.36310.3990.1060.532
X30.510.3991-0.0160.486
X40.1350.106-0.01610.032
X5 0.2230.5320.4860.0321







Correlations for all pairs of data series with p-values
pairPearson rSpearman rhoKendall tau
X1;X20.36290.28440.2631
p-value(0)(4e-04)(4e-04)
X1;X30.51040.52310.4796
p-value(0)(0)(0)
X1;X40.13480.09670.0879
p-value(0.0955)(0.2331)(0.2272)
X1;X5 0.22260.19880.1692
p-value(0.0054)(0.0132)(0.0149)
X2;X30.39910.36130.3316
p-value(0)(0)(0)
X2;X40.1060.03220.0307
p-value(0.1908)(0.6921)(0.6826)
X2;X5 0.53180.4910.4495
p-value(0)(0)(0)
X3;X4-0.0156-0.0495-0.0442
p-value(0.8472)(0.541)(0.5384)
X3;X5 0.48620.46520.4087
p-value(0)(0)(0)
X4;X5 0.0323-0.0131-0.0107
p-value(0.6895)(0.8711)(0.8797)

\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.3629 & 0.2844 & 0.2631 \tabularnewline
p-value & (0) & (4e-04) & (4e-04) \tabularnewline
X1;X3 & 0.5104 & 0.5231 & 0.4796 \tabularnewline
p-value & (0) & (0) & (0) \tabularnewline
X1;X4 & 0.1348 & 0.0967 & 0.0879 \tabularnewline
p-value & (0.0955) & (0.2331) & (0.2272) \tabularnewline
X1;X5
 & 0.2226 & 0.1988 & 0.1692 \tabularnewline
p-value & (0.0054) & (0.0132) & (0.0149) \tabularnewline
X2;X3 & 0.3991 & 0.3613 & 0.3316 \tabularnewline
p-value & (0) & (0) & (0) \tabularnewline
X2;X4 & 0.106 & 0.0322 & 0.0307 \tabularnewline
p-value & (0.1908) & (0.6921) & (0.6826) \tabularnewline
X2;X5
 & 0.5318 & 0.491 & 0.4495 \tabularnewline
p-value & (0) & (0) & (0) \tabularnewline
X3;X4 & -0.0156 & -0.0495 & -0.0442 \tabularnewline
p-value & (0.8472) & (0.541) & (0.5384) \tabularnewline
X3;X5
 & 0.4862 & 0.4652 & 0.4087 \tabularnewline
p-value & (0) & (0) & (0) \tabularnewline
X4;X5
 & 0.0323 & -0.0131 & -0.0107 \tabularnewline
p-value & (0.6895) & (0.8711) & (0.8797) \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=114680&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.3629[/C][C]0.2844[/C][C]0.2631[/C][/ROW]
[ROW][C]p-value[/C][C](0)[/C][C](4e-04)[/C][C](4e-04)[/C][/ROW]
[ROW][C]X1;X3[/C][C]0.5104[/C][C]0.5231[/C][C]0.4796[/C][/ROW]
[ROW][C]p-value[/C][C](0)[/C][C](0)[/C][C](0)[/C][/ROW]
[ROW][C]X1;X4[/C][C]0.1348[/C][C]0.0967[/C][C]0.0879[/C][/ROW]
[ROW][C]p-value[/C][C](0.0955)[/C][C](0.2331)[/C][C](0.2272)[/C][/ROW]
[ROW][C]X1;X5
[/C][C]0.2226[/C][C]0.1988[/C][C]0.1692[/C][/ROW]
[ROW][C]p-value[/C][C](0.0054)[/C][C](0.0132)[/C][C](0.0149)[/C][/ROW]
[ROW][C]X2;X3[/C][C]0.3991[/C][C]0.3613[/C][C]0.3316[/C][/ROW]
[ROW][C]p-value[/C][C](0)[/C][C](0)[/C][C](0)[/C][/ROW]
[ROW][C]X2;X4[/C][C]0.106[/C][C]0.0322[/C][C]0.0307[/C][/ROW]
[ROW][C]p-value[/C][C](0.1908)[/C][C](0.6921)[/C][C](0.6826)[/C][/ROW]
[ROW][C]X2;X5
[/C][C]0.5318[/C][C]0.491[/C][C]0.4495[/C][/ROW]
[ROW][C]p-value[/C][C](0)[/C][C](0)[/C][C](0)[/C][/ROW]
[ROW][C]X3;X4[/C][C]-0.0156[/C][C]-0.0495[/C][C]-0.0442[/C][/ROW]
[ROW][C]p-value[/C][C](0.8472)[/C][C](0.541)[/C][C](0.5384)[/C][/ROW]
[ROW][C]X3;X5
[/C][C]0.4862[/C][C]0.4652[/C][C]0.4087[/C][/ROW]
[ROW][C]p-value[/C][C](0)[/C][C](0)[/C][C](0)[/C][/ROW]
[ROW][C]X4;X5
[/C][C]0.0323[/C][C]-0.0131[/C][C]-0.0107[/C][/ROW]
[ROW][C]p-value[/C][C](0.6895)[/C][C](0.8711)[/C][C](0.8797)[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=114680&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=114680&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.36290.28440.2631
p-value(0)(4e-04)(4e-04)
X1;X30.51040.52310.4796
p-value(0)(0)(0)
X1;X40.13480.09670.0879
p-value(0.0955)(0.2331)(0.2272)
X1;X5 0.22260.19880.1692
p-value(0.0054)(0.0132)(0.0149)
X2;X30.39910.36130.3316
p-value(0)(0)(0)
X2;X40.1060.03220.0307
p-value(0.1908)(0.6921)(0.6826)
X2;X5 0.53180.4910.4495
p-value(0)(0)(0)
X3;X4-0.0156-0.0495-0.0442
p-value(0.8472)(0.541)(0.5384)
X3;X5 0.48620.46520.4087
p-value(0)(0)(0)
X4;X5 0.0323-0.0131-0.0107
p-value(0.6895)(0.8711)(0.8797)



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