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 computationTue, 12 Dec 2017 17:10:38 +0100
Cite this page as followsStatistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?v=date/2017/Dec/12/t15130950437jhdl6iyyc0j51i.htm/, Retrieved Wed, 15 May 2024 15:02:47 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=309145, Retrieved Wed, 15 May 2024 15:02:47 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact43
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-       [Kendall tau Correlation Matrix] [] [2017-12-12 16:10:38] [00446966c981c20899b3ab1dc0dd23cd] [Current]
Feedback Forum

Post a new message
Dataseries X:
19	13	19	5	0
23	15	21	4	0
6	4	22	5	0
6	12	21	3	0
7	21	19	2	0
18	19	21	1	0
3	0	19	2	0
7	8	20	1	0
20	20	21	2	0
9	12	22	4	0
11	16	23	5	0
7	10	21	5	1
25	19	22	4	0
4	11	19	3	0
35	19	20	5	0
13	12	18	1	0
18	11	21	4	0
6	14	21	2	0
8	10	19	2	0
12	1	19	2	1
20	18	24	1	0
4	22	18	6	0
11	13	18	2	0
32	20	23	2	0
2	4	19	2	0
22	16	20	4	0
2	2	19	2	0
2	2	21	6	0
9	9	20	2	0
32	19	19	3	0
3	6	19	1	0
10	9	23	6	0
5	6	21	4	0
24	18	20	3	0
10	12	21	3	0
10	11	22	6	1
19	12	21	3	0
2	1	23	4	0
16	10	21	6	0
11	26	19	4	0
28	15	23	3	0
20	13	24	7	0
18	12	24	4	0
9	14	21	3	0
0	5	18	0	0
10	12	22	2	0
20	29	19	2	0
11	10	20	2	1
12	10	22	3	0
8	19	20	4	0
12	9	23	5	0
21	13	21	4	0
11	11	21	2	0
28	24	21	3	0
4	7	20	2	0
38	22	19	2	1
8	7	23	5	0
7	8	21	4	0
4	6	18	1	0
15	11	23	6	0
12	12	18	1	0
3	3	19	3	0
8	12	18	5	0
3	0	21	2	0
24	22	22	4	0
23	14	23	5	0
17	12	18	1	0
22	17	23	4	0
23	12	24	6	0
12	11	23	5	0
6	8	19	2	0
34	23	20	3	0
5	15	20	4	0
21	13	22	3	0
13	24	21	2	0
4	5	24	3	0
8	17	23	4	1
20	11	21	4	0
17	10	20	4	0
11	19	23	4	0
23	25	23	3	0
7	28	23	3	0
5	2	23	3	0
25	12	24	4	0
12	25	20	2	0
6	7	20	1	0
21	17	22	5	0
28	26	23	2	0
7	5	23	5	0
21	11	19	3	0
5	13	20	3	0
22	21	20	2	0
7	6	21	3	0
3	6	21	3	0
7	8	22	4	0
13	14	18	2	0
15	12	24	5	0
26	20	20	6	0
18	10	24	5	0
4	7	19	1	1
19	14	22	4	1
16	33	22	3	0
12	21	21	2	1
10	14	18	1	0
23	12	20	2	0
6	9	23	3	0
16	15	19	3	0
10	24	22	3	0
3	0	22	4	0
2	7	19	2	0
17	12	24	6	0
6	11	19	2	0
19	12	19	4	0
6	5	24	4	0
10	9	20	2	0
6	18	21	3	0
3	2	20	2	0
11	11	20	2	0
18	10	19	1	0
4	6	21	2	0
6	12	21	3	0
29	31	21	3	0
12	16	18	2	0
7	22	20	2	0
8	35	20	1	0
30	23	23	6	0




Summary of computational transaction
Raw Input view raw input (R code)
Raw Outputview raw output of R engine
Computing time1 seconds
R ServerBig Analytics Cloud Computing Center

\begin{tabular}{lllllllll}
\hline
Summary of computational transaction \tabularnewline
Raw Input view raw input (R code)  \tabularnewline
Raw Outputview raw output of R engine  \tabularnewline
Computing time1 seconds \tabularnewline
R ServerBig Analytics Cloud Computing Center \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=309145&T=0

[TABLE]
[ROW]
Summary of computational transaction[/C][/ROW] [ROW]Raw Input[/C] view raw input (R code) [/C][/ROW] [ROW]Raw Output[/C]view raw output of R engine [/C][/ROW] [ROW]Computing time[/C]1 seconds[/C][/ROW] [ROW]R Server[/C]Big Analytics Cloud Computing Center[/C][/ROW] [/TABLE] Source: https://freestatistics.org/blog/index.php?pk=309145&T=0

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=309145&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 Input view raw input (R code)
Raw Outputview raw output of R engine
Computing time1 seconds
R ServerBig Analytics Cloud Computing Center







Correlations for all pairs of data series (method=pearson)
MajorHRMinorHRAgeYearsProRight/Left
MajorHR10.5540.1870.1940.01
MinorHR0.55410.035-0.013-0.024
Age0.1870.03510.522-0.034
YearsPro0.194-0.0130.5221-0.015
Right/Left0.01-0.024-0.034-0.0151

\begin{tabular}{lllllllll}
\hline
Correlations for all pairs of data series (method=pearson) \tabularnewline
  & MajorHR & MinorHR & Age & YearsPro & Right/Left \tabularnewline
MajorHR & 1 & 0.554 & 0.187 & 0.194 & 0.01 \tabularnewline
MinorHR & 0.554 & 1 & 0.035 & -0.013 & -0.024 \tabularnewline
Age & 0.187 & 0.035 & 1 & 0.522 & -0.034 \tabularnewline
YearsPro & 0.194 & -0.013 & 0.522 & 1 & -0.015 \tabularnewline
Right/Left & 0.01 & -0.024 & -0.034 & -0.015 & 1 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=309145&T=1

[TABLE]
[ROW][C]Correlations for all pairs of data series (method=pearson)[/C][/ROW]
[ROW][C] [/C][C]MajorHR[/C][C]MinorHR[/C][C]Age[/C][C]YearsPro[/C][C]Right/Left[/C][/ROW]
[ROW][C]MajorHR[/C][C]1[/C][C]0.554[/C][C]0.187[/C][C]0.194[/C][C]0.01[/C][/ROW]
[ROW][C]MinorHR[/C][C]0.554[/C][C]1[/C][C]0.035[/C][C]-0.013[/C][C]-0.024[/C][/ROW]
[ROW][C]Age[/C][C]0.187[/C][C]0.035[/C][C]1[/C][C]0.522[/C][C]-0.034[/C][/ROW]
[ROW][C]YearsPro[/C][C]0.194[/C][C]-0.013[/C][C]0.522[/C][C]1[/C][C]-0.015[/C][/ROW]
[ROW][C]Right/Left[/C][C]0.01[/C][C]-0.024[/C][C]-0.034[/C][C]-0.015[/C][C]1[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=309145&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=309145&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)
MajorHRMinorHRAgeYearsProRight/Left
MajorHR10.5540.1870.1940.01
MinorHR0.55410.035-0.013-0.024
Age0.1870.03510.522-0.034
YearsPro0.194-0.0130.5221-0.015
Right/Left0.01-0.024-0.034-0.0151







Correlations for all pairs of data series with p-values
pairPearson rSpearman rhoKendall tau
MajorHR;MinorHR0.55370.6380.4923
p-value(0)(0)(0)
MajorHR;Age0.18730.20670.1531
p-value(0.0357)(0.0202)(0.0195)
MajorHR;YearsPro0.19370.20630.1481
p-value(0.0297)(0.0205)(0.0256)
MajorHR;Right/Left0.00950.00810.0067
p-value(0.9156)(0.9286)(0.9282)
MinorHR;Age0.03540.04140.0286
p-value(0.6938)(0.6453)(0.6634)
MinorHR;YearsPro-0.01270.03130.0196
p-value(0.8882)(0.728)(0.7689)
MinorHR;Right/Left-0.0236-0.0183-0.0153
p-value(0.7932)(0.8392)(0.8383)
Age;YearsPro0.52170.53510.4487
p-value(0)(0)(0)
Age;Right/Left-0.0337-0.0309-0.0271
p-value(0.7077)(0.7311)(0.7296)
YearsPro;Right/Left-0.0148-0.0264-0.0235
p-value(0.8691)(0.7692)(0.7679)

\begin{tabular}{lllllllll}
\hline
Correlations for all pairs of data series with p-values \tabularnewline
pair & Pearson r & Spearman rho & Kendall tau \tabularnewline
MajorHR;MinorHR & 0.5537 & 0.638 & 0.4923 \tabularnewline
p-value & (0) & (0) & (0) \tabularnewline
MajorHR;Age & 0.1873 & 0.2067 & 0.1531 \tabularnewline
p-value & (0.0357) & (0.0202) & (0.0195) \tabularnewline
MajorHR;YearsPro & 0.1937 & 0.2063 & 0.1481 \tabularnewline
p-value & (0.0297) & (0.0205) & (0.0256) \tabularnewline
MajorHR;Right/Left & 0.0095 & 0.0081 & 0.0067 \tabularnewline
p-value & (0.9156) & (0.9286) & (0.9282) \tabularnewline
MinorHR;Age & 0.0354 & 0.0414 & 0.0286 \tabularnewline
p-value & (0.6938) & (0.6453) & (0.6634) \tabularnewline
MinorHR;YearsPro & -0.0127 & 0.0313 & 0.0196 \tabularnewline
p-value & (0.8882) & (0.728) & (0.7689) \tabularnewline
MinorHR;Right/Left & -0.0236 & -0.0183 & -0.0153 \tabularnewline
p-value & (0.7932) & (0.8392) & (0.8383) \tabularnewline
Age;YearsPro & 0.5217 & 0.5351 & 0.4487 \tabularnewline
p-value & (0) & (0) & (0) \tabularnewline
Age;Right/Left & -0.0337 & -0.0309 & -0.0271 \tabularnewline
p-value & (0.7077) & (0.7311) & (0.7296) \tabularnewline
YearsPro;Right/Left & -0.0148 & -0.0264 & -0.0235 \tabularnewline
p-value & (0.8691) & (0.7692) & (0.7679) \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=309145&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]MajorHR;MinorHR[/C][C]0.5537[/C][C]0.638[/C][C]0.4923[/C][/ROW]
[ROW][C]p-value[/C][C](0)[/C][C](0)[/C][C](0)[/C][/ROW]
[ROW][C]MajorHR;Age[/C][C]0.1873[/C][C]0.2067[/C][C]0.1531[/C][/ROW]
[ROW][C]p-value[/C][C](0.0357)[/C][C](0.0202)[/C][C](0.0195)[/C][/ROW]
[ROW][C]MajorHR;YearsPro[/C][C]0.1937[/C][C]0.2063[/C][C]0.1481[/C][/ROW]
[ROW][C]p-value[/C][C](0.0297)[/C][C](0.0205)[/C][C](0.0256)[/C][/ROW]
[ROW][C]MajorHR;Right/Left[/C][C]0.0095[/C][C]0.0081[/C][C]0.0067[/C][/ROW]
[ROW][C]p-value[/C][C](0.9156)[/C][C](0.9286)[/C][C](0.9282)[/C][/ROW]
[ROW][C]MinorHR;Age[/C][C]0.0354[/C][C]0.0414[/C][C]0.0286[/C][/ROW]
[ROW][C]p-value[/C][C](0.6938)[/C][C](0.6453)[/C][C](0.6634)[/C][/ROW]
[ROW][C]MinorHR;YearsPro[/C][C]-0.0127[/C][C]0.0313[/C][C]0.0196[/C][/ROW]
[ROW][C]p-value[/C][C](0.8882)[/C][C](0.728)[/C][C](0.7689)[/C][/ROW]
[ROW][C]MinorHR;Right/Left[/C][C]-0.0236[/C][C]-0.0183[/C][C]-0.0153[/C][/ROW]
[ROW][C]p-value[/C][C](0.7932)[/C][C](0.8392)[/C][C](0.8383)[/C][/ROW]
[ROW][C]Age;YearsPro[/C][C]0.5217[/C][C]0.5351[/C][C]0.4487[/C][/ROW]
[ROW][C]p-value[/C][C](0)[/C][C](0)[/C][C](0)[/C][/ROW]
[ROW][C]Age;Right/Left[/C][C]-0.0337[/C][C]-0.0309[/C][C]-0.0271[/C][/ROW]
[ROW][C]p-value[/C][C](0.7077)[/C][C](0.7311)[/C][C](0.7296)[/C][/ROW]
[ROW][C]YearsPro;Right/Left[/C][C]-0.0148[/C][C]-0.0264[/C][C]-0.0235[/C][/ROW]
[ROW][C]p-value[/C][C](0.8691)[/C][C](0.7692)[/C][C](0.7679)[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=309145&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=309145&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
MajorHR;MinorHR0.55370.6380.4923
p-value(0)(0)(0)
MajorHR;Age0.18730.20670.1531
p-value(0.0357)(0.0202)(0.0195)
MajorHR;YearsPro0.19370.20630.1481
p-value(0.0297)(0.0205)(0.0256)
MajorHR;Right/Left0.00950.00810.0067
p-value(0.9156)(0.9286)(0.9282)
MinorHR;Age0.03540.04140.0286
p-value(0.6938)(0.6453)(0.6634)
MinorHR;YearsPro-0.01270.03130.0196
p-value(0.8882)(0.728)(0.7689)
MinorHR;Right/Left-0.0236-0.0183-0.0153
p-value(0.7932)(0.8392)(0.8383)
Age;YearsPro0.52170.53510.4487
p-value(0)(0)(0)
Age;Right/Left-0.0337-0.0309-0.0271
p-value(0.7077)(0.7311)(0.7296)
YearsPro;Right/Left-0.0148-0.0264-0.0235
p-value(0.8691)(0.7692)(0.7679)







Meta Analysis of Correlation Tests
Number of significant by total number of Correlations
Type I errorPearson rSpearman rhoKendall tau
0.010.20.20.2
0.020.20.20.3
0.030.30.40.4
0.040.40.40.4
0.050.40.40.4
0.060.40.40.4
0.070.40.40.4
0.080.40.40.4
0.090.40.40.4
0.10.40.40.4

\begin{tabular}{lllllllll}
\hline
Meta Analysis of Correlation Tests \tabularnewline
Number of significant by total number of Correlations \tabularnewline
Type I error & Pearson r & Spearman rho & Kendall tau \tabularnewline
0.01 & 0.2 & 0.2 & 0.2 \tabularnewline
0.02 & 0.2 & 0.2 & 0.3 \tabularnewline
0.03 & 0.3 & 0.4 & 0.4 \tabularnewline
0.04 & 0.4 & 0.4 & 0.4 \tabularnewline
0.05 & 0.4 & 0.4 & 0.4 \tabularnewline
0.06 & 0.4 & 0.4 & 0.4 \tabularnewline
0.07 & 0.4 & 0.4 & 0.4 \tabularnewline
0.08 & 0.4 & 0.4 & 0.4 \tabularnewline
0.09 & 0.4 & 0.4 & 0.4 \tabularnewline
0.1 & 0.4 & 0.4 & 0.4 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=309145&T=3

[TABLE]
[ROW][C]Meta Analysis of Correlation Tests[/C][/ROW]
[ROW][C]Number of significant by total number of Correlations[/C][/ROW]
[ROW][C]Type I error[/C][C]Pearson r[/C][C]Spearman rho[/C][C]Kendall tau[/C][/ROW]
[ROW][C]0.01[/C][C]0.2[/C][C]0.2[/C][C]0.2[/C][/ROW]
[ROW][C]0.02[/C][C]0.2[/C][C]0.2[/C][C]0.3[/C][/ROW]
[ROW][C]0.03[/C][C]0.3[/C][C]0.4[/C][C]0.4[/C][/ROW]
[ROW][C]0.04[/C][C]0.4[/C][C]0.4[/C][C]0.4[/C][/ROW]
[ROW][C]0.05[/C][C]0.4[/C][C]0.4[/C][C]0.4[/C][/ROW]
[ROW][C]0.06[/C][C]0.4[/C][C]0.4[/C][C]0.4[/C][/ROW]
[ROW][C]0.07[/C][C]0.4[/C][C]0.4[/C][C]0.4[/C][/ROW]
[ROW][C]0.08[/C][C]0.4[/C][C]0.4[/C][C]0.4[/C][/ROW]
[ROW][C]0.09[/C][C]0.4[/C][C]0.4[/C][C]0.4[/C][/ROW]
[ROW][C]0.1[/C][C]0.4[/C][C]0.4[/C][C]0.4[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=309145&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=309145&T=3

As an alternative you can also use a QR Code:  

The GUIDs for individual cells are displayed in the table below:

Meta Analysis of Correlation Tests
Number of significant by total number of Correlations
Type I errorPearson rSpearman rhoKendall tau
0.010.20.20.2
0.020.20.20.3
0.030.30.40.4
0.040.40.40.4
0.050.40.40.4
0.060.40.40.4
0.070.40.40.4
0.080.40.40.4
0.090.40.40.4
0.10.40.40.4



Parameters (Session):
par1 = 0.3 ; par2 = 0 ; par3 = 0 ; par4 = 12 ;
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', ...)
}
x <- na.omit(x)
y <- t(na.omit(t(y)))
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])
print(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')
ncorrs <- (n*n -n)/2
mycorrs <- array(0, dim=c(10,3))
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)
for (iii in 1:10) {
iiid100 <- iii / 100
if (rp$p.value < iiid100) mycorrs[iii, 1] = mycorrs[iii, 1] + 1
if (rs$p.value < iiid100) mycorrs[iii, 2] = mycorrs[iii, 2] + 1
if (rk$p.value < iiid100) mycorrs[iii, 3] = mycorrs[iii, 3] + 1
}
}
}
a<-table.end(a)
table.save(a,file='mytable1.tab')
a<-table.start()
a<-table.row.start(a)
a<-table.element(a,'Meta Analysis of Correlation Tests',4,TRUE)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'Number of significant by total number of Correlations',4,TRUE)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'Type I error',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)
for (iii in 1:10) {
iiid100 <- iii / 100
a<-table.row.start(a)
a<-table.element(a,round(iiid100,2),header=T)
a<-table.element(a,round(mycorrs[iii,1]/ncorrs,2))
a<-table.element(a,round(mycorrs[iii,2]/ncorrs,2))
a<-table.element(a,round(mycorrs[iii,3]/ncorrs,2))
a<-table.row.end(a)
}
a<-table.end(a)
table.save(a,file='mytable2.tab')