Free Statistics

of Irreproducible Research!

Author's title

Author*The author of this computation has been verified*
R Software ModulePatrick.Wessarwasp_pairs.wasp
Title produced by softwareKendall tau Correlation Matrix
Date of computationTue, 14 Dec 2010 16:16:40 +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/14/t1292343535sep5wyrkpjo94c9.htm/, Retrieved Thu, 02 May 2024 14:02:51 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=109834, Retrieved Thu, 02 May 2024 14:02:51 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact152
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] [Kendall Tau Corre...] [2010-12-14 16:16:40] [a960f182d9e6e851e9aaba5921cd26a4] [Current]
-           [Kendall tau Correlation Matrix] [Pearson Correlati...] [2010-12-14 22:39:59] [18a20458ff88c9ba38344d123a9464bc]
Feedback Forum

Post a new message
Dataseries X:
1424	863	1045	1283	583
1445	813	1005	1243	530
1398	821	995	1171	567
1302	772	998	1103	533
1232	719	887	1119	513
1238	673	831	1037	512
1171	670	857	1050	465
1155	708	858	1010	470
1184	682	845	969	508
1363	760	921	1090	514
1339	832	943	1212	526
1339	755	1057	1170	566




Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time1 seconds
R Server'Gwilym Jenkins' @ 72.249.127.135

\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 & 'Gwilym Jenkins' @ 72.249.127.135 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=109834&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]'Gwilym Jenkins' @ 72.249.127.135[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=109834&T=0

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=109834&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'Gwilym Jenkins' @ 72.249.127.135







Correlations for all pairs of data series (method=pearson)
AntwerpenVlaams-BrabantWest-VlaanderenOost-VlaanderenLimburg
Antwerpen10.8860.8320.8760.807
Vlaams-Brabant0.88610.8180.9020.759
West-Vlaanderen0.8320.81810.830.848
Oost-Vlaanderen0.8760.9020.8310.743
Limburg0.8070.7590.8480.7431

\begin{tabular}{lllllllll}
\hline
Correlations for all pairs of data series (method=pearson) \tabularnewline
  & Antwerpen & Vlaams-Brabant & West-Vlaanderen & Oost-Vlaanderen & Limburg \tabularnewline
Antwerpen & 1 & 0.886 & 0.832 & 0.876 & 0.807 \tabularnewline
Vlaams-Brabant & 0.886 & 1 & 0.818 & 0.902 & 0.759 \tabularnewline
West-Vlaanderen & 0.832 & 0.818 & 1 & 0.83 & 0.848 \tabularnewline
Oost-Vlaanderen & 0.876 & 0.902 & 0.83 & 1 & 0.743 \tabularnewline
Limburg & 0.807 & 0.759 & 0.848 & 0.743 & 1 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=109834&T=1

[TABLE]
[ROW][C]Correlations for all pairs of data series (method=pearson)[/C][/ROW]
[ROW][C] [/C][C]Antwerpen[/C][C]Vlaams-Brabant[/C][C]West-Vlaanderen[/C][C]Oost-Vlaanderen[/C][C]Limburg[/C][/ROW]
[ROW][C]Antwerpen[/C][C]1[/C][C]0.886[/C][C]0.832[/C][C]0.876[/C][C]0.807[/C][/ROW]
[ROW][C]Vlaams-Brabant[/C][C]0.886[/C][C]1[/C][C]0.818[/C][C]0.902[/C][C]0.759[/C][/ROW]
[ROW][C]West-Vlaanderen[/C][C]0.832[/C][C]0.818[/C][C]1[/C][C]0.83[/C][C]0.848[/C][/ROW]
[ROW][C]Oost-Vlaanderen[/C][C]0.876[/C][C]0.902[/C][C]0.83[/C][C]1[/C][C]0.743[/C][/ROW]
[ROW][C]Limburg[/C][C]0.807[/C][C]0.759[/C][C]0.848[/C][C]0.743[/C][C]1[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=109834&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=109834&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)
AntwerpenVlaams-BrabantWest-VlaanderenOost-VlaanderenLimburg
Antwerpen10.8860.8320.8760.807
Vlaams-Brabant0.88610.8180.9020.759
West-Vlaanderen0.8320.81810.830.848
Oost-Vlaanderen0.8760.9020.8310.743
Limburg0.8070.7590.8480.7431







Correlations for all pairs of data series with p-values
pairPearson rSpearman rhoKendall tau
Antwerpen;Vlaams-Brabant0.8860.81610.626
p-value(1e-04)(0.0012)(0.0048)
Antwerpen;West-Vlaanderen0.8320.73910.5038
p-value(8e-04)(0.006)(0.0233)
Antwerpen;Oost-Vlaanderen0.87590.83360.6565
p-value(2e-04)(8e-04)(0.0031)
Antwerpen;Limburg0.80660.83710.687
p-value(0.0015)(7e-04)(0.002)
Vlaams-Brabant;West-Vlaanderen0.81770.76920.6061
p-value(0.0012)(0.005)(0.0054)
Vlaams-Brabant;Oost-Vlaanderen0.90190.86010.6667
p-value(1e-04)(5e-04)(0.0018)
Vlaams-Brabant;Limburg0.75880.84620.6667
p-value(0.0042)(9e-04)(0.0018)
West-Vlaanderen;Oost-Vlaanderen0.82990.81820.6364
p-value(8e-04)(0.0019)(0.0032)
West-Vlaanderen;Limburg0.8480.87410.697
p-value(5e-04)(2e-04)(0.001)
Oost-Vlaanderen;Limburg0.74320.81120.6364
p-value(0.0056)(0.0022)(0.0032)

\begin{tabular}{lllllllll}
\hline
Correlations for all pairs of data series with p-values \tabularnewline
pair & Pearson r & Spearman rho & Kendall tau \tabularnewline
Antwerpen;Vlaams-Brabant & 0.886 & 0.8161 & 0.626 \tabularnewline
p-value & (1e-04) & (0.0012) & (0.0048) \tabularnewline
Antwerpen;West-Vlaanderen & 0.832 & 0.7391 & 0.5038 \tabularnewline
p-value & (8e-04) & (0.006) & (0.0233) \tabularnewline
Antwerpen;Oost-Vlaanderen & 0.8759 & 0.8336 & 0.6565 \tabularnewline
p-value & (2e-04) & (8e-04) & (0.0031) \tabularnewline
Antwerpen;Limburg & 0.8066 & 0.8371 & 0.687 \tabularnewline
p-value & (0.0015) & (7e-04) & (0.002) \tabularnewline
Vlaams-Brabant;West-Vlaanderen & 0.8177 & 0.7692 & 0.6061 \tabularnewline
p-value & (0.0012) & (0.005) & (0.0054) \tabularnewline
Vlaams-Brabant;Oost-Vlaanderen & 0.9019 & 0.8601 & 0.6667 \tabularnewline
p-value & (1e-04) & (5e-04) & (0.0018) \tabularnewline
Vlaams-Brabant;Limburg & 0.7588 & 0.8462 & 0.6667 \tabularnewline
p-value & (0.0042) & (9e-04) & (0.0018) \tabularnewline
West-Vlaanderen;Oost-Vlaanderen & 0.8299 & 0.8182 & 0.6364 \tabularnewline
p-value & (8e-04) & (0.0019) & (0.0032) \tabularnewline
West-Vlaanderen;Limburg & 0.848 & 0.8741 & 0.697 \tabularnewline
p-value & (5e-04) & (2e-04) & (0.001) \tabularnewline
Oost-Vlaanderen;Limburg & 0.7432 & 0.8112 & 0.6364 \tabularnewline
p-value & (0.0056) & (0.0022) & (0.0032) \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=109834&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]Antwerpen;Vlaams-Brabant[/C][C]0.886[/C][C]0.8161[/C][C]0.626[/C][/ROW]
[ROW][C]p-value[/C][C](1e-04)[/C][C](0.0012)[/C][C](0.0048)[/C][/ROW]
[ROW][C]Antwerpen;West-Vlaanderen[/C][C]0.832[/C][C]0.7391[/C][C]0.5038[/C][/ROW]
[ROW][C]p-value[/C][C](8e-04)[/C][C](0.006)[/C][C](0.0233)[/C][/ROW]
[ROW][C]Antwerpen;Oost-Vlaanderen[/C][C]0.8759[/C][C]0.8336[/C][C]0.6565[/C][/ROW]
[ROW][C]p-value[/C][C](2e-04)[/C][C](8e-04)[/C][C](0.0031)[/C][/ROW]
[ROW][C]Antwerpen;Limburg[/C][C]0.8066[/C][C]0.8371[/C][C]0.687[/C][/ROW]
[ROW][C]p-value[/C][C](0.0015)[/C][C](7e-04)[/C][C](0.002)[/C][/ROW]
[ROW][C]Vlaams-Brabant;West-Vlaanderen[/C][C]0.8177[/C][C]0.7692[/C][C]0.6061[/C][/ROW]
[ROW][C]p-value[/C][C](0.0012)[/C][C](0.005)[/C][C](0.0054)[/C][/ROW]
[ROW][C]Vlaams-Brabant;Oost-Vlaanderen[/C][C]0.9019[/C][C]0.8601[/C][C]0.6667[/C][/ROW]
[ROW][C]p-value[/C][C](1e-04)[/C][C](5e-04)[/C][C](0.0018)[/C][/ROW]
[ROW][C]Vlaams-Brabant;Limburg[/C][C]0.7588[/C][C]0.8462[/C][C]0.6667[/C][/ROW]
[ROW][C]p-value[/C][C](0.0042)[/C][C](9e-04)[/C][C](0.0018)[/C][/ROW]
[ROW][C]West-Vlaanderen;Oost-Vlaanderen[/C][C]0.8299[/C][C]0.8182[/C][C]0.6364[/C][/ROW]
[ROW][C]p-value[/C][C](8e-04)[/C][C](0.0019)[/C][C](0.0032)[/C][/ROW]
[ROW][C]West-Vlaanderen;Limburg[/C][C]0.848[/C][C]0.8741[/C][C]0.697[/C][/ROW]
[ROW][C]p-value[/C][C](5e-04)[/C][C](2e-04)[/C][C](0.001)[/C][/ROW]
[ROW][C]Oost-Vlaanderen;Limburg[/C][C]0.7432[/C][C]0.8112[/C][C]0.6364[/C][/ROW]
[ROW][C]p-value[/C][C](0.0056)[/C][C](0.0022)[/C][C](0.0032)[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=109834&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=109834&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
Antwerpen;Vlaams-Brabant0.8860.81610.626
p-value(1e-04)(0.0012)(0.0048)
Antwerpen;West-Vlaanderen0.8320.73910.5038
p-value(8e-04)(0.006)(0.0233)
Antwerpen;Oost-Vlaanderen0.87590.83360.6565
p-value(2e-04)(8e-04)(0.0031)
Antwerpen;Limburg0.80660.83710.687
p-value(0.0015)(7e-04)(0.002)
Vlaams-Brabant;West-Vlaanderen0.81770.76920.6061
p-value(0.0012)(0.005)(0.0054)
Vlaams-Brabant;Oost-Vlaanderen0.90190.86010.6667
p-value(1e-04)(5e-04)(0.0018)
Vlaams-Brabant;Limburg0.75880.84620.6667
p-value(0.0042)(9e-04)(0.0018)
West-Vlaanderen;Oost-Vlaanderen0.82990.81820.6364
p-value(8e-04)(0.0019)(0.0032)
West-Vlaanderen;Limburg0.8480.87410.697
p-value(5e-04)(2e-04)(0.001)
Oost-Vlaanderen;Limburg0.74320.81120.6364
p-value(0.0056)(0.0022)(0.0032)



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