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 10:29:52 +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/t12923225191hrm8pzzpxuizts.htm/, Retrieved Thu, 02 May 2024 17:54:05 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=109360, Retrieved Thu, 02 May 2024 17:54:05 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact139
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-14 10:29:52] [7b390cc0228d34e5578246b07143e3df] [Current]
-   P       [Kendall tau Correlation Matrix] [] [2010-12-14 10:53:04] [5f6607fc345873e3e6f60671bd6cbc8b]
Feedback Forum

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




Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time4 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 & 4 seconds \tabularnewline
R Server & 'Gwilym Jenkins' @ 72.249.127.135 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=109360&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]4 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=109360&T=0

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







Correlations for all pairs of data series (method=pearson)
PopularityFriendsKnownNfriendsBefore
Popularity10.6420.2160.506-0.146
Friends0.64210.4290.463-0.137
Known0.2160.42910.486-0.142
Nfriends0.5060.4630.4861-0.192
Before-0.146-0.137-0.142-0.1921

\begin{tabular}{lllllllll}
\hline
Correlations for all pairs of data series (method=pearson) \tabularnewline
  & Popularity & Friends & Known & Nfriends & Before \tabularnewline
Popularity & 1 & 0.642 & 0.216 & 0.506 & -0.146 \tabularnewline
Friends & 0.642 & 1 & 0.429 & 0.463 & -0.137 \tabularnewline
Known & 0.216 & 0.429 & 1 & 0.486 & -0.142 \tabularnewline
Nfriends & 0.506 & 0.463 & 0.486 & 1 & -0.192 \tabularnewline
Before & -0.146 & -0.137 & -0.142 & -0.192 & 1 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=109360&T=1

[TABLE]
[ROW][C]Correlations for all pairs of data series (method=pearson)[/C][/ROW]
[ROW][C] [/C][C]Popularity[/C][C]Friends[/C][C]Known[/C][C]Nfriends[/C][C]Before[/C][/ROW]
[ROW][C]Popularity[/C][C]1[/C][C]0.642[/C][C]0.216[/C][C]0.506[/C][C]-0.146[/C][/ROW]
[ROW][C]Friends[/C][C]0.642[/C][C]1[/C][C]0.429[/C][C]0.463[/C][C]-0.137[/C][/ROW]
[ROW][C]Known[/C][C]0.216[/C][C]0.429[/C][C]1[/C][C]0.486[/C][C]-0.142[/C][/ROW]
[ROW][C]Nfriends[/C][C]0.506[/C][C]0.463[/C][C]0.486[/C][C]1[/C][C]-0.192[/C][/ROW]
[ROW][C]Before[/C][C]-0.146[/C][C]-0.137[/C][C]-0.142[/C][C]-0.192[/C][C]1[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=109360&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=109360&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)
PopularityFriendsKnownNfriendsBefore
Popularity10.6420.2160.506-0.146
Friends0.64210.4290.463-0.137
Known0.2160.42910.486-0.142
Nfriends0.5060.4630.4861-0.192
Before-0.146-0.137-0.142-0.1921







Correlations for all pairs of data series with p-values
pairPearson rSpearman rhoKendall tau
Popularity;Friends0.6420.61940.5673
p-value(0)(0)(0)
Popularity;Known0.21590.19020.1619
p-value(0.0068)(0.0174)(0.0195)
Popularity;Nfriends0.50640.51690.4736
p-value(0)(0)(0)
Popularity;Before-0.1459-0.1578-0.139
p-value(0.0691)(0.0492)(0.052)
Friends;Known0.42910.3960.345
p-value(0)(0)(0)
Friends;Nfriends0.46330.44780.3972
p-value(0)(0)(0)
Friends;Before-0.137-0.1914-0.1717
p-value(0.088)(0.0167)(0.0155)
Known;Nfriends0.48620.46520.4087
p-value(0)(0)(0)
Known;Before-0.1416-0.1687-0.1509
p-value(0.0779)(0.0352)(0.0306)
Nfriends;Before-0.1922-0.2142-0.1922
p-value(0.0162)(0.0072)(0.0067)

\begin{tabular}{lllllllll}
\hline
Correlations for all pairs of data series with p-values \tabularnewline
pair & Pearson r & Spearman rho & Kendall tau \tabularnewline
Popularity;Friends & 0.642 & 0.6194 & 0.5673 \tabularnewline
p-value & (0) & (0) & (0) \tabularnewline
Popularity;Known & 0.2159 & 0.1902 & 0.1619 \tabularnewline
p-value & (0.0068) & (0.0174) & (0.0195) \tabularnewline
Popularity;Nfriends & 0.5064 & 0.5169 & 0.4736 \tabularnewline
p-value & (0) & (0) & (0) \tabularnewline
Popularity;Before & -0.1459 & -0.1578 & -0.139 \tabularnewline
p-value & (0.0691) & (0.0492) & (0.052) \tabularnewline
Friends;Known & 0.4291 & 0.396 & 0.345 \tabularnewline
p-value & (0) & (0) & (0) \tabularnewline
Friends;Nfriends & 0.4633 & 0.4478 & 0.3972 \tabularnewline
p-value & (0) & (0) & (0) \tabularnewline
Friends;Before & -0.137 & -0.1914 & -0.1717 \tabularnewline
p-value & (0.088) & (0.0167) & (0.0155) \tabularnewline
Known;Nfriends & 0.4862 & 0.4652 & 0.4087 \tabularnewline
p-value & (0) & (0) & (0) \tabularnewline
Known;Before & -0.1416 & -0.1687 & -0.1509 \tabularnewline
p-value & (0.0779) & (0.0352) & (0.0306) \tabularnewline
Nfriends;Before & -0.1922 & -0.2142 & -0.1922 \tabularnewline
p-value & (0.0162) & (0.0072) & (0.0067) \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=109360&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]Popularity;Friends[/C][C]0.642[/C][C]0.6194[/C][C]0.5673[/C][/ROW]
[ROW][C]p-value[/C][C](0)[/C][C](0)[/C][C](0)[/C][/ROW]
[ROW][C]Popularity;Known[/C][C]0.2159[/C][C]0.1902[/C][C]0.1619[/C][/ROW]
[ROW][C]p-value[/C][C](0.0068)[/C][C](0.0174)[/C][C](0.0195)[/C][/ROW]
[ROW][C]Popularity;Nfriends[/C][C]0.5064[/C][C]0.5169[/C][C]0.4736[/C][/ROW]
[ROW][C]p-value[/C][C](0)[/C][C](0)[/C][C](0)[/C][/ROW]
[ROW][C]Popularity;Before[/C][C]-0.1459[/C][C]-0.1578[/C][C]-0.139[/C][/ROW]
[ROW][C]p-value[/C][C](0.0691)[/C][C](0.0492)[/C][C](0.052)[/C][/ROW]
[ROW][C]Friends;Known[/C][C]0.4291[/C][C]0.396[/C][C]0.345[/C][/ROW]
[ROW][C]p-value[/C][C](0)[/C][C](0)[/C][C](0)[/C][/ROW]
[ROW][C]Friends;Nfriends[/C][C]0.4633[/C][C]0.4478[/C][C]0.3972[/C][/ROW]
[ROW][C]p-value[/C][C](0)[/C][C](0)[/C][C](0)[/C][/ROW]
[ROW][C]Friends;Before[/C][C]-0.137[/C][C]-0.1914[/C][C]-0.1717[/C][/ROW]
[ROW][C]p-value[/C][C](0.088)[/C][C](0.0167)[/C][C](0.0155)[/C][/ROW]
[ROW][C]Known;Nfriends[/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]Known;Before[/C][C]-0.1416[/C][C]-0.1687[/C][C]-0.1509[/C][/ROW]
[ROW][C]p-value[/C][C](0.0779)[/C][C](0.0352)[/C][C](0.0306)[/C][/ROW]
[ROW][C]Nfriends;Before[/C][C]-0.1922[/C][C]-0.2142[/C][C]-0.1922[/C][/ROW]
[ROW][C]p-value[/C][C](0.0162)[/C][C](0.0072)[/C][C](0.0067)[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=109360&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=109360&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
Popularity;Friends0.6420.61940.5673
p-value(0)(0)(0)
Popularity;Known0.21590.19020.1619
p-value(0.0068)(0.0174)(0.0195)
Popularity;Nfriends0.50640.51690.4736
p-value(0)(0)(0)
Popularity;Before-0.1459-0.1578-0.139
p-value(0.0691)(0.0492)(0.052)
Friends;Known0.42910.3960.345
p-value(0)(0)(0)
Friends;Nfriends0.46330.44780.3972
p-value(0)(0)(0)
Friends;Before-0.137-0.1914-0.1717
p-value(0.088)(0.0167)(0.0155)
Known;Nfriends0.48620.46520.4087
p-value(0)(0)(0)
Known;Before-0.1416-0.1687-0.1509
p-value(0.0779)(0.0352)(0.0306)
Nfriends;Before-0.1922-0.2142-0.1922
p-value(0.0162)(0.0072)(0.0067)



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