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 computationSun, 12 Dec 2010 19:57:11 +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/12/t1292183718vplen9y773fzfdc.htm/, Retrieved Tue, 07 May 2024 12:28:49 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=108648, Retrieved Tue, 07 May 2024 12:28:49 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact154
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] [WS10 Kendall] [2010-12-12 19:57:11] [8b27277f7b82c0354d659d066108e38e] [Current]
-    D      [Kendall tau Correlation Matrix] [WS10 Kendallcorrel] [2010-12-12 20:17:17] [65eb19f81eab2b6e672eafaed2a27190]
Feedback Forum

Post a new message
Dataseries X:
6	73	62	66
4	58	54	54
5	68	41	82
4	62	49	61
4	65	49	65
6	81	72	77
6	73	78	66
4	64	58	66
4	68	58	66
6	51	23	48
4	68	39	57
6	61	63	80
5	69	46	60
4	73	58	70
6	61	39	85
3	62	44	59
5	63	49	72
6	69	57	70
4	47	76	74
6	66	63	70
2	58	18	51
7	63	40	70
5	69	59	71
2	59	62	72
4	59	70	50
4	63	65	69
6	65	56	73
6	65	45	66
5	71	57	73
6	60	50	58
6	81	40	78
4	67	58	83
6	66	49	76
6	62	49	77
6	63	27	79
2	73	51	71
4	55	75	79
5	59	65	60
3	64	47	73
7	63	49	70
5	64	65	42
3	73	61	74
8	54	46	68
8	76	69	83
5	74	55	62
6	63	78	79
3	73	58	61
5	67	34	86
4	68	67	64
5	66	45	75
5	62	68	59
6	71	49	82
5	63	19	61
6	75	72	69
6	77	59	60
4	62	46	59
8	74	56	81
6	67	45	65
4	56	53	60
6	60	67	60
5	58	73	45
5	65	46	75
6	49	70	84
6	61	38	77
6	66	54	64
6	64	46	54
6	65	46	72
6	46	45	56
7	65	47	67
4	81	25	81
4	72	63	73
3	65	46	67
6	74	69	72
5	59	43	69
5	69	49	71
3	58	39	77
5	71	65	63
4	79	54	49
3	68	50	74
7	66	42	76
4	62	45	65
4	69	50	65
5	63	55	69
6	62	38	71
2	61	40	68
2	65	51	49
6	64	49	86
4	56	39	63
5	56	57	77
6	48	30	52
7	74	51	73
8	69	48	63
6	62	56	54
6	73	66	56
3	64	72	54
7	57	28	61
3	57	52	70
6	60	53	68
4	61	70	63
4	72	63	76
6	57	46	69
6	51	45	71
6	63	68	39
4	54	54	54
7	72	60	64
5	62	50	70
7	68	66	76
4	62	56	71
6	63	54	73
6	77	72	81
6	57	34	50
5	57	39	42
5	61	66	66
6	65	27	77
7	63	63	62
4	66	65	66
4	68	63	69
8	72	49	72
6	68	42	67
3	59	51	59
4	56	50	66
5	62	64	68
5	72	68	72
6	68	66	73
8	67	59	69
2	54	32	57
4	69	62	55
7	61	52	72
5	55	34	68
6	75	63	83
6	55	48	74
4	49	53	72
5	54	39	66
6	66	51	61
6	73	60	86
6	63	70	81
6	61	40	79
5	74	61	73
5	81	35	59
6	62	39	64
4	64	31	75
6	62	36	68
3	85	51	84
6	74	55	68
8	51	67	68
4	66	40	69




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

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

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







Correlations for all pairs of data series (method=kendall)
CelebrityTotNVTotANXTotGR
Celebrity10.0670.0090.14
TotNV0.06710.1740.174
TotANX0.0090.17410.03
TotGR0.140.1740.031

\begin{tabular}{lllllllll}
\hline
Correlations for all pairs of data series (method=kendall) \tabularnewline
  & Celebrity & TotNV & TotANX & TotGR \tabularnewline
Celebrity & 1 & 0.067 & 0.009 & 0.14 \tabularnewline
TotNV & 0.067 & 1 & 0.174 & 0.174 \tabularnewline
TotANX & 0.009 & 0.174 & 1 & 0.03 \tabularnewline
TotGR & 0.14 & 0.174 & 0.03 & 1 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=108648&T=1

[TABLE]
[ROW][C]Correlations for all pairs of data series (method=kendall)[/C][/ROW]
[ROW][C] [/C][C]Celebrity[/C][C]TotNV[/C][C]TotANX[/C][C]TotGR[/C][/ROW]
[ROW][C]Celebrity[/C][C]1[/C][C]0.067[/C][C]0.009[/C][C]0.14[/C][/ROW]
[ROW][C]TotNV[/C][C]0.067[/C][C]1[/C][C]0.174[/C][C]0.174[/C][/ROW]
[ROW][C]TotANX[/C][C]0.009[/C][C]0.174[/C][C]1[/C][C]0.03[/C][/ROW]
[ROW][C]TotGR[/C][C]0.14[/C][C]0.174[/C][C]0.03[/C][C]1[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=108648&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=108648&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)
CelebrityTotNVTotANXTotGR
Celebrity10.0670.0090.14
TotNV0.06710.1740.174
TotANX0.0090.17410.03
TotGR0.140.1740.031







Correlations for all pairs of data series with p-values
pairPearson rSpearman rhoKendall tau
Celebrity;TotNV0.0620.08730.0667
p-value(0.4569)(0.2945)(0.285)
Celebrity;TotANX0.05280.00620.0091
p-value(0.5271)(0.9412)(0.8831)
Celebrity;TotGR0.18660.18860.1395
p-value(0.0241)(0.0227)(0.0244)
TotNV;TotANX0.19820.23960.1743
p-value(0.0165)(0.0036)(0.0025)
TotNV;TotGR0.25410.24580.1735
p-value(0.002)(0.0028)(0.0026)
TotANX;TotGR0.05620.04670.0298
p-value(0.5001)(0.5757)(0.6029)

\begin{tabular}{lllllllll}
\hline
Correlations for all pairs of data series with p-values \tabularnewline
pair & Pearson r & Spearman rho & Kendall tau \tabularnewline
Celebrity;TotNV & 0.062 & 0.0873 & 0.0667 \tabularnewline
p-value & (0.4569) & (0.2945) & (0.285) \tabularnewline
Celebrity;TotANX & 0.0528 & 0.0062 & 0.0091 \tabularnewline
p-value & (0.5271) & (0.9412) & (0.8831) \tabularnewline
Celebrity;TotGR & 0.1866 & 0.1886 & 0.1395 \tabularnewline
p-value & (0.0241) & (0.0227) & (0.0244) \tabularnewline
TotNV;TotANX & 0.1982 & 0.2396 & 0.1743 \tabularnewline
p-value & (0.0165) & (0.0036) & (0.0025) \tabularnewline
TotNV;TotGR & 0.2541 & 0.2458 & 0.1735 \tabularnewline
p-value & (0.002) & (0.0028) & (0.0026) \tabularnewline
TotANX;TotGR & 0.0562 & 0.0467 & 0.0298 \tabularnewline
p-value & (0.5001) & (0.5757) & (0.6029) \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=108648&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]Celebrity;TotNV[/C][C]0.062[/C][C]0.0873[/C][C]0.0667[/C][/ROW]
[ROW][C]p-value[/C][C](0.4569)[/C][C](0.2945)[/C][C](0.285)[/C][/ROW]
[ROW][C]Celebrity;TotANX[/C][C]0.0528[/C][C]0.0062[/C][C]0.0091[/C][/ROW]
[ROW][C]p-value[/C][C](0.5271)[/C][C](0.9412)[/C][C](0.8831)[/C][/ROW]
[ROW][C]Celebrity;TotGR[/C][C]0.1866[/C][C]0.1886[/C][C]0.1395[/C][/ROW]
[ROW][C]p-value[/C][C](0.0241)[/C][C](0.0227)[/C][C](0.0244)[/C][/ROW]
[ROW][C]TotNV;TotANX[/C][C]0.1982[/C][C]0.2396[/C][C]0.1743[/C][/ROW]
[ROW][C]p-value[/C][C](0.0165)[/C][C](0.0036)[/C][C](0.0025)[/C][/ROW]
[ROW][C]TotNV;TotGR[/C][C]0.2541[/C][C]0.2458[/C][C]0.1735[/C][/ROW]
[ROW][C]p-value[/C][C](0.002)[/C][C](0.0028)[/C][C](0.0026)[/C][/ROW]
[ROW][C]TotANX;TotGR[/C][C]0.0562[/C][C]0.0467[/C][C]0.0298[/C][/ROW]
[ROW][C]p-value[/C][C](0.5001)[/C][C](0.5757)[/C][C](0.6029)[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=108648&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=108648&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
Celebrity;TotNV0.0620.08730.0667
p-value(0.4569)(0.2945)(0.285)
Celebrity;TotANX0.05280.00620.0091
p-value(0.5271)(0.9412)(0.8831)
Celebrity;TotGR0.18660.18860.1395
p-value(0.0241)(0.0227)(0.0244)
TotNV;TotANX0.19820.23960.1743
p-value(0.0165)(0.0036)(0.0025)
TotNV;TotGR0.25410.24580.1735
p-value(0.002)(0.0028)(0.0026)
TotANX;TotGR0.05620.04670.0298
p-value(0.5001)(0.5757)(0.6029)



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