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 computationFri, 24 Dec 2010 12:32:07 +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/24/t1293193794fbbxoo4ojo7c9xg.htm/, Retrieved Tue, 30 Apr 2024 03:01:29 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=114850, Retrieved Tue, 30 Apr 2024 03:01:29 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact145
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-       [Kendall tau Correlation Matrix] [Workshop 7 Kendal...] [2010-12-24 12:32:07] [2980b4453f2452156691660add27a53b] [Current]
Feedback Forum

Post a new message
Dataseries X:
13	13	14	13	3	2
12	12	8	13	5	1
15	10	12	16	6	0
12	9	7	12	6	3
10	10	10	11	5	3
12	12	7	12	3	1
15	13	16	18	8	3
9	12	11	11	4	1
12	12	14	14	4	4
11	6	6	9	4	0
11	5	16	14	6	3
11	12	11	12	6	2
15	11	16	11	5	4
7	14	12	12	4	3
11	14	7	13	6	1
11	12	13	11	4	1
10	12	11	12	6	2
14	11	15	16	6	3
10	11	7	9	4	1
6	7	9	11	4	1
11	9	7	13	2	2
15	11	14	15	7	3
11	11	15	10	5	4
12	12	7	11	4	2
14	12	15	13	6	1
15	11	17	16	6	2
9	11	15	15	7	2
13	8	14	14	5	4
13	9	14	14	6	2
16	12	8	14	4	3
13	10	8	8	4	3
12	10	14	13	7	3
14	12	14	15	7	4
11	8	8	13	4	2
9	12	11	11	4	2
16	11	16	15	6	4
12	12	10	15	6	3
10	7	8	9	5	4
13	11	14	13	6	2
16	11	16	16	7	5
14	12	13	13	6	3
15	9	5	11	3	1
5	15	8	12	3	1
8	11	10	12	4	1
11	11	8	12	6	2
16	11	13	14	7	3
17	11	15	14	5	9
9	15	6	8	4	0
9	11	12	13	5	0
13	12	16	16	6	2
10	12	5	13	6	2
6	9	15	11	6	3
12	12	12	14	5	1
8	12	8	13	4	2
14	13	13	13	5	0
12	11	14	13	5	5
11	9	12	12	4	2
16	9	16	16	6	4
8	11	10	15	2	3
15	11	15	15	8	0
7	12	8	12	3	0
16	12	16	14	6	4
14	9	19	12	6	1
16	11	14	15	6	1
9	9	6	12	5	4
14	12	13	13	5	2
11	12	15	12	6	4
13	12	7	12	5	1
15	12	13	13	6	4
5	14	4	5	2	2
15	11	14	13	5	5
13	12	13	13	5	4
11	11	11	14	5	4
11	6	14	17	6	4
12	10	12	13	6	4
12	12	15	13	6	3
12	13	14	12	5	3
12	8	13	13	5	3
14	12	8	14	4	2
6	12	6	11	2	1
7	12	7	12	4	1
14	6	13	12	6	5
14	11	13	16	6	4
10	10	11	12	5	2
13	12	5	12	3	3
12	13	12	12	6	2
9	11	8	10	4	2
12	7	11	15	5	2
16	11	14	15	8	2
10	11	9	12	4	3
14	11	10	16	6	2
10	11	13	15	6	3
16	12	16	16	7	4
15	10	16	13	6	3
12	11	11	12	5	3
10	12	8	11	4	0
8	7	4	13	6	1
8	13	7	10	3	2
11	8	14	15	5	2
13	12	11	13	6	3
16	11	17	16	7	4
16	12	15	15	7	4
14	14	17	18	6	1
11	10	5	13	3	2
4	10	4	10	2	2
14	13	10	16	8	3
9	10	11	13	3	3
14	11	15	15	8	3
8	10	10	14	3	1
8	7	9	15	4	1
11	10	12	14	5	1
12	8	15	13	7	1
11	12	7	13	6	0
14	12	13	15	6	1
15	12	12	16	7	3
16	11	14	14	6	3
16	12	14	14	6	0
11	12	8	16	6	2
14	12	15	14	6	5
14	11	12	12	4	2
12	12	12	13	4	3
14	11	16	12	5	3
8	11	9	12	4	5
13	13	15	14	6	4
16	12	15	14	6	4
12	12	6	14	5	0
16	12	14	16	8	3
12	12	15	13	6	0
11	8	10	14	5	2
4	8	6	4	4	0
16	12	14	16	8	6
15	11	12	13	6	3
10	12	8	16	4	1
13	13	11	15	6	6
15	12	13	14	6	2
12	12	9	13	4	1
14	11	15	14	6	3
7	12	13	12	3	1
19	12	15	15	6	2
12	10	14	14	5	4
12	11	16	13	4	1
13	12	14	14	6	2
15	12	14	16	4	0
8	10	10	6	4	5
12	12	10	13	4	2
10	13	4	13	6	1
8	12	8	14	5	1
10	15	15	15	6	4
15	11	16	14	6	3
16	12	12	15	8	0
13	11	12	13	7	3
16	12	15	16	7	3
9	11	9	12	4	0
14	10	12	15	6	2
14	11	14	12	6	5
12	11	11	14	2	2




Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time2 seconds
R Server'RServer@AstonUniversity' @ vre.aston.ac.uk

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

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=114850&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'RServer@AstonUniversity' @ vre.aston.ac.uk







Correlations for all pairs of data series (method=kendall)
PopularityFindingFriendsKnowingPeopleLikedCelebritySum
Popularity10.0670.450.4330.4810.245
FindingFriends0.0671-0.0150.0610.038-0.087
KnowingPeople0.45-0.01510.370.450.306
Liked0.4330.0610.3710.4650.14
Celebrity0.4810.0380.450.46510.228
Sum0.245-0.0870.3060.140.2281

\begin{tabular}{lllllllll}
\hline
Correlations for all pairs of data series (method=kendall) \tabularnewline
  & Popularity & FindingFriends & KnowingPeople & Liked & Celebrity & Sum \tabularnewline
Popularity & 1 & 0.067 & 0.45 & 0.433 & 0.481 & 0.245 \tabularnewline
FindingFriends & 0.067 & 1 & -0.015 & 0.061 & 0.038 & -0.087 \tabularnewline
KnowingPeople & 0.45 & -0.015 & 1 & 0.37 & 0.45 & 0.306 \tabularnewline
Liked & 0.433 & 0.061 & 0.37 & 1 & 0.465 & 0.14 \tabularnewline
Celebrity & 0.481 & 0.038 & 0.45 & 0.465 & 1 & 0.228 \tabularnewline
Sum & 0.245 & -0.087 & 0.306 & 0.14 & 0.228 & 1 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=114850&T=1

[TABLE]
[ROW][C]Correlations for all pairs of data series (method=kendall)[/C][/ROW]
[ROW][C] [/C][C]Popularity[/C][C]FindingFriends[/C][C]KnowingPeople[/C][C]Liked[/C][C]Celebrity[/C][C]Sum[/C][/ROW]
[ROW][C]Popularity[/C][C]1[/C][C]0.067[/C][C]0.45[/C][C]0.433[/C][C]0.481[/C][C]0.245[/C][/ROW]
[ROW][C]FindingFriends[/C][C]0.067[/C][C]1[/C][C]-0.015[/C][C]0.061[/C][C]0.038[/C][C]-0.087[/C][/ROW]
[ROW][C]KnowingPeople[/C][C]0.45[/C][C]-0.015[/C][C]1[/C][C]0.37[/C][C]0.45[/C][C]0.306[/C][/ROW]
[ROW][C]Liked[/C][C]0.433[/C][C]0.061[/C][C]0.37[/C][C]1[/C][C]0.465[/C][C]0.14[/C][/ROW]
[ROW][C]Celebrity[/C][C]0.481[/C][C]0.038[/C][C]0.45[/C][C]0.465[/C][C]1[/C][C]0.228[/C][/ROW]
[ROW][C]Sum[/C][C]0.245[/C][C]-0.087[/C][C]0.306[/C][C]0.14[/C][C]0.228[/C][C]1[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=114850&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=114850&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)
PopularityFindingFriendsKnowingPeopleLikedCelebritySum
Popularity10.0670.450.4330.4810.245
FindingFriends0.0671-0.0150.0610.038-0.087
KnowingPeople0.45-0.01510.370.450.306
Liked0.4330.0610.3710.4650.14
Celebrity0.4810.0380.450.46510.228
Sum0.245-0.0870.3060.140.2281







Correlations for all pairs of data series with p-values
pairPearson rSpearman rhoKendall tau
Popularity;FindingFriends0.0940.08910.0671
p-value(0.2432)(0.2688)(0.2772)
Popularity;KnowingPeople0.58370.59160.4504
p-value(0)(0)(0)
Popularity;Liked0.56720.55120.433
p-value(0)(0)(0)
Popularity;Celebrity0.60010.5880.4814
p-value(0)(0)(0)
Popularity;Sum0.31230.31070.2452
p-value(1e-04)(1e-04)(1e-04)
FindingFriends;KnowingPeople0.0172-0.0171-0.015
p-value(0.8308)(0.8318)(0.8069)
FindingFriends;Liked0.08860.07750.0612
p-value(0.2714)(0.3361)(0.3316)
FindingFriends;Celebrity0.03050.0480.0382
p-value(0.7052)(0.5522)(0.5541)
FindingFriends;Sum-0.0611-0.113-0.0874
p-value(0.4486)(0.1601)(0.1717)
KnowingPeople;Liked0.49730.47530.3704
p-value(0)(0)(0)
KnowingPeople;Celebrity0.55770.56920.4502
p-value(0)(0)(0)
KnowingPeople;Sum0.36880.39490.3058
p-value(0)(0)(0)
Liked;Celebrity0.53760.56990.4651
p-value(0)(0)(0)
Liked;Sum0.15760.17690.1398
p-value(0.0494)(0.0272)(0.0253)
Celebrity;Sum0.25220.29620.2278
p-value(0.0015)(2e-04)(4e-04)

\begin{tabular}{lllllllll}
\hline
Correlations for all pairs of data series with p-values \tabularnewline
pair & Pearson r & Spearman rho & Kendall tau \tabularnewline
Popularity;FindingFriends & 0.094 & 0.0891 & 0.0671 \tabularnewline
p-value & (0.2432) & (0.2688) & (0.2772) \tabularnewline
Popularity;KnowingPeople & 0.5837 & 0.5916 & 0.4504 \tabularnewline
p-value & (0) & (0) & (0) \tabularnewline
Popularity;Liked & 0.5672 & 0.5512 & 0.433 \tabularnewline
p-value & (0) & (0) & (0) \tabularnewline
Popularity;Celebrity & 0.6001 & 0.588 & 0.4814 \tabularnewline
p-value & (0) & (0) & (0) \tabularnewline
Popularity;Sum & 0.3123 & 0.3107 & 0.2452 \tabularnewline
p-value & (1e-04) & (1e-04) & (1e-04) \tabularnewline
FindingFriends;KnowingPeople & 0.0172 & -0.0171 & -0.015 \tabularnewline
p-value & (0.8308) & (0.8318) & (0.8069) \tabularnewline
FindingFriends;Liked & 0.0886 & 0.0775 & 0.0612 \tabularnewline
p-value & (0.2714) & (0.3361) & (0.3316) \tabularnewline
FindingFriends;Celebrity & 0.0305 & 0.048 & 0.0382 \tabularnewline
p-value & (0.7052) & (0.5522) & (0.5541) \tabularnewline
FindingFriends;Sum & -0.0611 & -0.113 & -0.0874 \tabularnewline
p-value & (0.4486) & (0.1601) & (0.1717) \tabularnewline
KnowingPeople;Liked & 0.4973 & 0.4753 & 0.3704 \tabularnewline
p-value & (0) & (0) & (0) \tabularnewline
KnowingPeople;Celebrity & 0.5577 & 0.5692 & 0.4502 \tabularnewline
p-value & (0) & (0) & (0) \tabularnewline
KnowingPeople;Sum & 0.3688 & 0.3949 & 0.3058 \tabularnewline
p-value & (0) & (0) & (0) \tabularnewline
Liked;Celebrity & 0.5376 & 0.5699 & 0.4651 \tabularnewline
p-value & (0) & (0) & (0) \tabularnewline
Liked;Sum & 0.1576 & 0.1769 & 0.1398 \tabularnewline
p-value & (0.0494) & (0.0272) & (0.0253) \tabularnewline
Celebrity;Sum & 0.2522 & 0.2962 & 0.2278 \tabularnewline
p-value & (0.0015) & (2e-04) & (4e-04) \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=114850&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;FindingFriends[/C][C]0.094[/C][C]0.0891[/C][C]0.0671[/C][/ROW]
[ROW][C]p-value[/C][C](0.2432)[/C][C](0.2688)[/C][C](0.2772)[/C][/ROW]
[ROW][C]Popularity;KnowingPeople[/C][C]0.5837[/C][C]0.5916[/C][C]0.4504[/C][/ROW]
[ROW][C]p-value[/C][C](0)[/C][C](0)[/C][C](0)[/C][/ROW]
[ROW][C]Popularity;Liked[/C][C]0.5672[/C][C]0.5512[/C][C]0.433[/C][/ROW]
[ROW][C]p-value[/C][C](0)[/C][C](0)[/C][C](0)[/C][/ROW]
[ROW][C]Popularity;Celebrity[/C][C]0.6001[/C][C]0.588[/C][C]0.4814[/C][/ROW]
[ROW][C]p-value[/C][C](0)[/C][C](0)[/C][C](0)[/C][/ROW]
[ROW][C]Popularity;Sum[/C][C]0.3123[/C][C]0.3107[/C][C]0.2452[/C][/ROW]
[ROW][C]p-value[/C][C](1e-04)[/C][C](1e-04)[/C][C](1e-04)[/C][/ROW]
[ROW][C]FindingFriends;KnowingPeople[/C][C]0.0172[/C][C]-0.0171[/C][C]-0.015[/C][/ROW]
[ROW][C]p-value[/C][C](0.8308)[/C][C](0.8318)[/C][C](0.8069)[/C][/ROW]
[ROW][C]FindingFriends;Liked[/C][C]0.0886[/C][C]0.0775[/C][C]0.0612[/C][/ROW]
[ROW][C]p-value[/C][C](0.2714)[/C][C](0.3361)[/C][C](0.3316)[/C][/ROW]
[ROW][C]FindingFriends;Celebrity[/C][C]0.0305[/C][C]0.048[/C][C]0.0382[/C][/ROW]
[ROW][C]p-value[/C][C](0.7052)[/C][C](0.5522)[/C][C](0.5541)[/C][/ROW]
[ROW][C]FindingFriends;Sum[/C][C]-0.0611[/C][C]-0.113[/C][C]-0.0874[/C][/ROW]
[ROW][C]p-value[/C][C](0.4486)[/C][C](0.1601)[/C][C](0.1717)[/C][/ROW]
[ROW][C]KnowingPeople;Liked[/C][C]0.4973[/C][C]0.4753[/C][C]0.3704[/C][/ROW]
[ROW][C]p-value[/C][C](0)[/C][C](0)[/C][C](0)[/C][/ROW]
[ROW][C]KnowingPeople;Celebrity[/C][C]0.5577[/C][C]0.5692[/C][C]0.4502[/C][/ROW]
[ROW][C]p-value[/C][C](0)[/C][C](0)[/C][C](0)[/C][/ROW]
[ROW][C]KnowingPeople;Sum[/C][C]0.3688[/C][C]0.3949[/C][C]0.3058[/C][/ROW]
[ROW][C]p-value[/C][C](0)[/C][C](0)[/C][C](0)[/C][/ROW]
[ROW][C]Liked;Celebrity[/C][C]0.5376[/C][C]0.5699[/C][C]0.4651[/C][/ROW]
[ROW][C]p-value[/C][C](0)[/C][C](0)[/C][C](0)[/C][/ROW]
[ROW][C]Liked;Sum[/C][C]0.1576[/C][C]0.1769[/C][C]0.1398[/C][/ROW]
[ROW][C]p-value[/C][C](0.0494)[/C][C](0.0272)[/C][C](0.0253)[/C][/ROW]
[ROW][C]Celebrity;Sum[/C][C]0.2522[/C][C]0.2962[/C][C]0.2278[/C][/ROW]
[ROW][C]p-value[/C][C](0.0015)[/C][C](2e-04)[/C][C](4e-04)[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=114850&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=114850&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;FindingFriends0.0940.08910.0671
p-value(0.2432)(0.2688)(0.2772)
Popularity;KnowingPeople0.58370.59160.4504
p-value(0)(0)(0)
Popularity;Liked0.56720.55120.433
p-value(0)(0)(0)
Popularity;Celebrity0.60010.5880.4814
p-value(0)(0)(0)
Popularity;Sum0.31230.31070.2452
p-value(1e-04)(1e-04)(1e-04)
FindingFriends;KnowingPeople0.0172-0.0171-0.015
p-value(0.8308)(0.8318)(0.8069)
FindingFriends;Liked0.08860.07750.0612
p-value(0.2714)(0.3361)(0.3316)
FindingFriends;Celebrity0.03050.0480.0382
p-value(0.7052)(0.5522)(0.5541)
FindingFriends;Sum-0.0611-0.113-0.0874
p-value(0.4486)(0.1601)(0.1717)
KnowingPeople;Liked0.49730.47530.3704
p-value(0)(0)(0)
KnowingPeople;Celebrity0.55770.56920.4502
p-value(0)(0)(0)
KnowingPeople;Sum0.36880.39490.3058
p-value(0)(0)(0)
Liked;Celebrity0.53760.56990.4651
p-value(0)(0)(0)
Liked;Sum0.15760.17690.1398
p-value(0.0494)(0.0272)(0.0253)
Celebrity;Sum0.25220.29620.2278
p-value(0.0015)(2e-04)(4e-04)



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