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 computationWed, 15 Dec 2010 11:32:58 +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/15/t1292412692wm0ebqsrjt3pvmc.htm/, Retrieved Fri, 03 May 2024 13:49:42 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=110357, Retrieved Fri, 03 May 2024 13:49:42 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact104
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-       [Kendall tau Correlation Matrix] [Bonusvraag - mult...] [2010-12-15 11:32:58] [0829c729852d8a4b1b0c41cf0848af95] [Current]
Feedback Forum

Post a new message
Dataseries X:
6,3	0	3
2,1	3,406028945	4
9,1	1,02325246	4
15,8	-1,638272164	1
5,2	2,204119983	4
10,9	0,51851394	1
8,3	1,717337583	1
11	-0,37161107	4
3,2	2,667452953	5
6,3	-1,124938737	1
6,6	-0,105130343	2
9,5	-0,698970004	2
3,3	1,441852176	5
11	-0,920818754	2
4,7	1,929418926	1
10,4	-0,995678626	3
7,4	0,017033339	4
2,1	2,716837723	5
17,9	-2	1
6,1	1,792391689	1
11,9	-1,638272164	3
13,8	0,230448921	1
14,3	0,544068044	1
15,2	-0,318758763	2
10	1	4
11,9	0,209515015	2
6,5	2,283301229	4
7,5	0,397940009	5
10,6	-0,552841969	3
7,4	0,626853415	1
8,4	0,832508913	2
5,7	-0,124938737	2
4,9	0,556302501	3
3,2	1,744292983	5
11	-0,045757491	2
4,9	0,301029996	3
13,2	-0,982966661	2
9,7	0,622214023	4
12,8	0,544068044	1




Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time1 seconds
R Server'Sir Ronald Aylmer Fisher' @ 193.190.124.24

\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 & 'Sir Ronald Aylmer Fisher' @ 193.190.124.24 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=110357&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]'Sir Ronald Aylmer Fisher' @ 193.190.124.24[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=110357&T=0

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=110357&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'Sir Ronald Aylmer Fisher' @ 193.190.124.24







Correlations for all pairs of data series (method=pearson)
SWSBodyWODI
SWS1-0.712-0.542
BodyW-0.71210.432
ODI-0.5420.4321

\begin{tabular}{lllllllll}
\hline
Correlations for all pairs of data series (method=pearson) \tabularnewline
  & SWS & BodyW & ODI \tabularnewline
SWS & 1 & -0.712 & -0.542 \tabularnewline
BodyW & -0.712 & 1 & 0.432 \tabularnewline
ODI & -0.542 & 0.432 & 1 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=110357&T=1

[TABLE]
[ROW][C]Correlations for all pairs of data series (method=pearson)[/C][/ROW]
[ROW][C] [/C][C]SWS[/C][C]BodyW[/C][C]ODI[/C][/ROW]
[ROW][C]SWS[/C][C]1[/C][C]-0.712[/C][C]-0.542[/C][/ROW]
[ROW][C]BodyW[/C][C]-0.712[/C][C]1[/C][C]0.432[/C][/ROW]
[ROW][C]ODI[/C][C]-0.542[/C][C]0.432[/C][C]1[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=110357&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=110357&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)
SWSBodyWODI
SWS1-0.712-0.542
BodyW-0.71210.432
ODI-0.5420.4321







Correlations for all pairs of data series with p-values
pairPearson rSpearman rhoKendall tau
SWS;BodyW-0.7116-0.6585-0.4813
p-value(0)(0)(0)
SWS;ODI-0.5422-0.4905-0.3888
p-value(4e-04)(0.0015)(0.0014)
BodyW;ODI0.43210.36150.274
p-value(0.006)(0.0238)(0.0236)

\begin{tabular}{lllllllll}
\hline
Correlations for all pairs of data series with p-values \tabularnewline
pair & Pearson r & Spearman rho & Kendall tau \tabularnewline
SWS;BodyW & -0.7116 & -0.6585 & -0.4813 \tabularnewline
p-value & (0) & (0) & (0) \tabularnewline
SWS;ODI & -0.5422 & -0.4905 & -0.3888 \tabularnewline
p-value & (4e-04) & (0.0015) & (0.0014) \tabularnewline
BodyW;ODI & 0.4321 & 0.3615 & 0.274 \tabularnewline
p-value & (0.006) & (0.0238) & (0.0236) \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=110357&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]SWS;BodyW[/C][C]-0.7116[/C][C]-0.6585[/C][C]-0.4813[/C][/ROW]
[ROW][C]p-value[/C][C](0)[/C][C](0)[/C][C](0)[/C][/ROW]
[ROW][C]SWS;ODI[/C][C]-0.5422[/C][C]-0.4905[/C][C]-0.3888[/C][/ROW]
[ROW][C]p-value[/C][C](4e-04)[/C][C](0.0015)[/C][C](0.0014)[/C][/ROW]
[ROW][C]BodyW;ODI[/C][C]0.4321[/C][C]0.3615[/C][C]0.274[/C][/ROW]
[ROW][C]p-value[/C][C](0.006)[/C][C](0.0238)[/C][C](0.0236)[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=110357&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=110357&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
SWS;BodyW-0.7116-0.6585-0.4813
p-value(0)(0)(0)
SWS;ODI-0.5422-0.4905-0.3888
p-value(4e-04)(0.0015)(0.0014)
BodyW;ODI0.43210.36150.274
p-value(0.006)(0.0238)(0.0236)



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