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 17:24:39 +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/t1292347536pzbjhr22y3fv79a.htm/, Retrieved Thu, 02 May 2024 21:09:45 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=109924, Retrieved Thu, 02 May 2024 21:09:45 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact100
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]
- R PD    [Kendall tau Correlation Matrix] [ktcm] [2010-12-14 17:24:39] [de8ccb310fbbdc3d90ae577a3e011cf9] [Current]
Feedback Forum

Post a new message
Dataseries X:
1606	6	3,74	16	1391
1634	6,81	4,17	29	1621
2013	9,75	4,84	22	1837
1654	6,96	4,21	30	2132
1003	3,94	3,93	20	1489
1029	5	4,9	39	1817
1052	4,9	4,7	18	1586
1653	5,7	3,5	9,6	1565
1918	6,5	3,4	10,2	1787
1926	7,1	3,7	20,2	1804
1862	7,5	4	50	1763
1816	7,8	4,3	120	1675
1712	7	4,1	19,8	1575
1646	7,4	4,5	18	1524
1555	8,55	5,5	3	1686
1402	7,43	5,3	11	1800
1047	4,7	4,5	15	1442
891	4,7	5,3	27	1345
940	5,3	5,6	28	1500
1372	6,2	4,5	14	1556
2012	7,4	3,7	5,6	2012
1879	7,5	4	6,5	1618
1667	7,32	4,4	8,5	1487
1856	8,15	4,4	87,9	1607
1771	7,24	4,1	5,8	1308
1721	7,4	4,3	25,2	1429
1773	9,4	5,3	7,5	1596
1507	8,9	5,9	13,7	1884
1033	4,5	4,4	34	1262
1011	4,9	4,9	17	1283
1111	5,6	5,1	9	1346
1736	6,4	3,7	9,2	1505
1865	6	3,2	5	1151
2078	6,9	3,3	24	1600
1947	6,7	3,5	40	1420
1428	5,4	3,8	86,5	1073
1500	5,6	3,8	0,54	1076
1950	6,9	3,5	14	1510
1591	6,9	4,3	4,8	1345
1613	7	4,3	28	1631
1077	4	3,7	16	1135
880	3,7	4,2	5,8	1009
1128	4,9	4,3	16	1155
1320	5	3,8	9,1	1184
1692	5,7	3,4	6	1285
1575	6,1	3,9	17	1257
1478	5,3	3,6	26	1131
1500	5,5	3,6	99,6	1274
1368	5,7	4,2	41	235
1563	5,21	3,3	72	1299
1424	5,4	3,8	23	1460
1274	4,5	3,5	42	1455
1047	3,7	3,7	40	1113
1049	4,1	3,9	18	1263
1069	4,8	4,5	45	1401
981	4,1	4,2	18	1135
1540	5	3,2	2	1137
1559	5,2	3,3	10	1140
1459	5,5	3,8	13,6	1014
1559	5,9	3,8	160	1220




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' @ 72.249.76.132

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

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







Correlations for all pairs of data series (method=pearson)
aanvoeraanvoerwaardeprijzeninterventievisserijen
aanvoer10.769-0.3530.0420.39
aanvoerwaarde0.76910.31-0.0060.574
prijzen-0.3530.311-0.0930.294
interventie0.042-0.006-0.0931-0.057
visserijen0.390.5740.294-0.0571

\begin{tabular}{lllllllll}
\hline
Correlations for all pairs of data series (method=pearson) \tabularnewline
  & aanvoer & aanvoerwaarde & prijzen & interventie & visserijen \tabularnewline
aanvoer & 1 & 0.769 & -0.353 & 0.042 & 0.39 \tabularnewline
aanvoerwaarde & 0.769 & 1 & 0.31 & -0.006 & 0.574 \tabularnewline
prijzen & -0.353 & 0.31 & 1 & -0.093 & 0.294 \tabularnewline
interventie & 0.042 & -0.006 & -0.093 & 1 & -0.057 \tabularnewline
visserijen & 0.39 & 0.574 & 0.294 & -0.057 & 1 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=109924&T=1

[TABLE]
[ROW][C]Correlations for all pairs of data series (method=pearson)[/C][/ROW]
[ROW][C] [/C][C]aanvoer[/C][C]aanvoerwaarde[/C][C]prijzen[/C][C]interventie[/C][C]visserijen[/C][/ROW]
[ROW][C]aanvoer[/C][C]1[/C][C]0.769[/C][C]-0.353[/C][C]0.042[/C][C]0.39[/C][/ROW]
[ROW][C]aanvoerwaarde[/C][C]0.769[/C][C]1[/C][C]0.31[/C][C]-0.006[/C][C]0.574[/C][/ROW]
[ROW][C]prijzen[/C][C]-0.353[/C][C]0.31[/C][C]1[/C][C]-0.093[/C][C]0.294[/C][/ROW]
[ROW][C]interventie[/C][C]0.042[/C][C]-0.006[/C][C]-0.093[/C][C]1[/C][C]-0.057[/C][/ROW]
[ROW][C]visserijen[/C][C]0.39[/C][C]0.574[/C][C]0.294[/C][C]-0.057[/C][C]1[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=109924&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=109924&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)
aanvoeraanvoerwaardeprijzeninterventievisserijen
aanvoer10.769-0.3530.0420.39
aanvoerwaarde0.76910.31-0.0060.574
prijzen-0.3530.311-0.0930.294
interventie0.042-0.006-0.0931-0.057
visserijen0.390.5740.294-0.0571







Correlations for all pairs of data series with p-values
pairPearson rSpearman rhoKendall tau
aanvoer;aanvoerwaarde0.76890.8030.6124
p-value(0)(0)(0)
aanvoer;prijzen-0.3533-0.3527-0.2472
p-value(0.0056)(0.0057)(0.0061)
aanvoer;interventie0.0416-0.1201-0.0812
p-value(0.7522)(0.3608)(0.3615)
aanvoer;visserijen0.39010.47360.3389
p-value(0.0021)(1e-04)(1e-04)
aanvoerwaarde;prijzen0.31030.1930.1531
p-value(0.0158)(0.1396)(0.0914)
aanvoerwaarde;interventie-0.0059-0.1251-0.0863
p-value(0.9645)(0.3407)(0.3351)
aanvoerwaarde;visserijen0.57430.65670.4647
p-value(0)(0)(0)
prijzen;interventie-0.09250.0440.0243
p-value(0.482)(0.7384)(0.7883)
prijzen;visserijen0.29410.32860.2235
p-value(0.0225)(0.0104)(0.0131)
interventie;visserijen-0.05670.06260.0409
p-value(0.6667)(0.6346)(0.646)

\begin{tabular}{lllllllll}
\hline
Correlations for all pairs of data series with p-values \tabularnewline
pair & Pearson r & Spearman rho & Kendall tau \tabularnewline
aanvoer;aanvoerwaarde & 0.7689 & 0.803 & 0.6124 \tabularnewline
p-value & (0) & (0) & (0) \tabularnewline
aanvoer;prijzen & -0.3533 & -0.3527 & -0.2472 \tabularnewline
p-value & (0.0056) & (0.0057) & (0.0061) \tabularnewline
aanvoer;interventie & 0.0416 & -0.1201 & -0.0812 \tabularnewline
p-value & (0.7522) & (0.3608) & (0.3615) \tabularnewline
aanvoer;visserijen & 0.3901 & 0.4736 & 0.3389 \tabularnewline
p-value & (0.0021) & (1e-04) & (1e-04) \tabularnewline
aanvoerwaarde;prijzen & 0.3103 & 0.193 & 0.1531 \tabularnewline
p-value & (0.0158) & (0.1396) & (0.0914) \tabularnewline
aanvoerwaarde;interventie & -0.0059 & -0.1251 & -0.0863 \tabularnewline
p-value & (0.9645) & (0.3407) & (0.3351) \tabularnewline
aanvoerwaarde;visserijen & 0.5743 & 0.6567 & 0.4647 \tabularnewline
p-value & (0) & (0) & (0) \tabularnewline
prijzen;interventie & -0.0925 & 0.044 & 0.0243 \tabularnewline
p-value & (0.482) & (0.7384) & (0.7883) \tabularnewline
prijzen;visserijen & 0.2941 & 0.3286 & 0.2235 \tabularnewline
p-value & (0.0225) & (0.0104) & (0.0131) \tabularnewline
interventie;visserijen & -0.0567 & 0.0626 & 0.0409 \tabularnewline
p-value & (0.6667) & (0.6346) & (0.646) \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=109924&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]aanvoer;aanvoerwaarde[/C][C]0.7689[/C][C]0.803[/C][C]0.6124[/C][/ROW]
[ROW][C]p-value[/C][C](0)[/C][C](0)[/C][C](0)[/C][/ROW]
[ROW][C]aanvoer;prijzen[/C][C]-0.3533[/C][C]-0.3527[/C][C]-0.2472[/C][/ROW]
[ROW][C]p-value[/C][C](0.0056)[/C][C](0.0057)[/C][C](0.0061)[/C][/ROW]
[ROW][C]aanvoer;interventie[/C][C]0.0416[/C][C]-0.1201[/C][C]-0.0812[/C][/ROW]
[ROW][C]p-value[/C][C](0.7522)[/C][C](0.3608)[/C][C](0.3615)[/C][/ROW]
[ROW][C]aanvoer;visserijen[/C][C]0.3901[/C][C]0.4736[/C][C]0.3389[/C][/ROW]
[ROW][C]p-value[/C][C](0.0021)[/C][C](1e-04)[/C][C](1e-04)[/C][/ROW]
[ROW][C]aanvoerwaarde;prijzen[/C][C]0.3103[/C][C]0.193[/C][C]0.1531[/C][/ROW]
[ROW][C]p-value[/C][C](0.0158)[/C][C](0.1396)[/C][C](0.0914)[/C][/ROW]
[ROW][C]aanvoerwaarde;interventie[/C][C]-0.0059[/C][C]-0.1251[/C][C]-0.0863[/C][/ROW]
[ROW][C]p-value[/C][C](0.9645)[/C][C](0.3407)[/C][C](0.3351)[/C][/ROW]
[ROW][C]aanvoerwaarde;visserijen[/C][C]0.5743[/C][C]0.6567[/C][C]0.4647[/C][/ROW]
[ROW][C]p-value[/C][C](0)[/C][C](0)[/C][C](0)[/C][/ROW]
[ROW][C]prijzen;interventie[/C][C]-0.0925[/C][C]0.044[/C][C]0.0243[/C][/ROW]
[ROW][C]p-value[/C][C](0.482)[/C][C](0.7384)[/C][C](0.7883)[/C][/ROW]
[ROW][C]prijzen;visserijen[/C][C]0.2941[/C][C]0.3286[/C][C]0.2235[/C][/ROW]
[ROW][C]p-value[/C][C](0.0225)[/C][C](0.0104)[/C][C](0.0131)[/C][/ROW]
[ROW][C]interventie;visserijen[/C][C]-0.0567[/C][C]0.0626[/C][C]0.0409[/C][/ROW]
[ROW][C]p-value[/C][C](0.6667)[/C][C](0.6346)[/C][C](0.646)[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=109924&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=109924&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
aanvoer;aanvoerwaarde0.76890.8030.6124
p-value(0)(0)(0)
aanvoer;prijzen-0.3533-0.3527-0.2472
p-value(0.0056)(0.0057)(0.0061)
aanvoer;interventie0.0416-0.1201-0.0812
p-value(0.7522)(0.3608)(0.3615)
aanvoer;visserijen0.39010.47360.3389
p-value(0.0021)(1e-04)(1e-04)
aanvoerwaarde;prijzen0.31030.1930.1531
p-value(0.0158)(0.1396)(0.0914)
aanvoerwaarde;interventie-0.0059-0.1251-0.0863
p-value(0.9645)(0.3407)(0.3351)
aanvoerwaarde;visserijen0.57430.65670.4647
p-value(0)(0)(0)
prijzen;interventie-0.09250.0440.0243
p-value(0.482)(0.7384)(0.7883)
prijzen;visserijen0.29410.32860.2235
p-value(0.0225)(0.0104)(0.0131)
interventie;visserijen-0.05670.06260.0409
p-value(0.6667)(0.6346)(0.646)



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