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, 14 Dec 2010 12:26:43 +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/t1292329485o6k2fku6f9hb2jx.htm/, Retrieved Thu, 02 May 2024 19:45:25 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=109485, Retrieved Thu, 02 May 2024 19:45:25 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact108
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-       [Kendall tau Correlation Matrix] [] [2010-12-14 12:26:43] [5f45e5b827d1a020c3ecc9d930121b4e] [Current]
Feedback Forum

Post a new message
Dataseries X:
8,7	5
10,6	4
9,0	5
9,2	6
8,3	6
7,6	6
9,0	7
8,2	8
9,0	7
8,7	8
9,1	7
8,0	8
7,7	8
9,9	9
8,4	9
9,0	8
8,8	9
8,3	9
8,8	10
9,8	11
8,1	12
8,9	13
7,4	13
8,9	13
9,8	14
8,5	14
9,7	15
7,7	15
8,8	16
9,6	16
9,6	17
7,8	18
9,4	19
9,4	20
8,8	22
10,1	20
9,0	22
8,0	25
7,8	24
10,0	25
8,9	28
8,9	26
8,6	27
9,0	26
9,3	25
8,9	27
7,0	28
9,3	30
8,4	31
9,0	32
8,9	34
9,4	34
8,3	33
8,8	32
7,5	34
7,5	36
8,2	37
8,1	40
8,2	38
8,4	38
9,3	36
9,2	40
8,3	40
8,6	42
9,2	44
9,5	45
9,2	47
9,4	49
8,8	47
8,4	49
9,3	52
9,1	50
8,9	50
9,3	57
8,9	58
8,8	58
8,6	58
9,7	61
10,4	61
9,7	64
10,0	68
9,8	40
9,3	34
9,5	46
8,4	36
9,8	34
8,6	45
9,7	55
10,5	50
8,6	56
9,3	72
9,1	76
9,1	78
9,9	77
9,3	90
9,7	88
8,9	97
10,0	93
9,1	84
9,7	67
9,1	72
10,3	75
9,7	71
9,6	75
9,8	90
9,8	78
9,8	73
8,7	62
9,1	65
8,9	61
10,1	58
9,5	33
10,3	39
9,3	56
10,2	79
10,1	82
10,3	79
9,8	73
9,8	87
9,3	85
9,9	83
9,3	82
9,2	83
8,4	92
10,1	95
9,6	97
10,6	87
10,0	84
10,4	84
8,6	89
8,4	103
9,6	106
9,1	109
10,0	106
10,0	105
9,3	115
9,6	120
9,6	124
9,9	121
9,3	131
9,7	139
10,0	133
9,9	119
10,4	123
9,8	120
9,4	128
9,0	134
9,4	126
9,7	115
10,5	106
10,5	99
9,9	100
8,9	99
9,4	99
9,2	100
10,6	100
11,3	108
11,2	109
10,0	115
10,6	114
10,1	108
11,1	113
10,9	118
9,1	122
10,8	118
10,6	121
11,1	118
11,2	121
10,7	121
11,2	112
11,1	119
10,7	116
11,0	110
11,4	111
11,5	106
10,9	108




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=109485&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=109485&T=0

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=109485&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)
TemperatuurCO2-uitstoot
Temperatuur10.416
CO2-uitstoot0.4161

\begin{tabular}{lllllllll}
\hline
Correlations for all pairs of data series (method=kendall) \tabularnewline
  & Temperatuur & CO2-uitstoot \tabularnewline
Temperatuur & 1 & 0.416 \tabularnewline
CO2-uitstoot & 0.416 & 1 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=109485&T=1

[TABLE]
[ROW][C]Correlations for all pairs of data series (method=kendall)[/C][/ROW]
[ROW][C] [/C][C]Temperatuur[/C][C]CO2-uitstoot[/C][/ROW]
[ROW][C]Temperatuur[/C][C]1[/C][C]0.416[/C][/ROW]
[ROW][C]CO2-uitstoot[/C][C]0.416[/C][C]1[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=109485&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=109485&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)
TemperatuurCO2-uitstoot
Temperatuur10.416
CO2-uitstoot0.4161







Correlations for all pairs of data series with p-values
pairPearson rSpearman rhoKendall tau
Temperatuur;CO2-uitstoot0.59670.58660.4164
p-value(0)(0)(0)

\begin{tabular}{lllllllll}
\hline
Correlations for all pairs of data series with p-values \tabularnewline
pair & Pearson r & Spearman rho & Kendall tau \tabularnewline
Temperatuur;CO2-uitstoot & 0.5967 & 0.5866 & 0.4164 \tabularnewline
p-value & (0) & (0) & (0) \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=109485&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]Temperatuur;CO2-uitstoot[/C][C]0.5967[/C][C]0.5866[/C][C]0.4164[/C][/ROW]
[ROW][C]p-value[/C][C](0)[/C][C](0)[/C][C](0)[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=109485&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=109485&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
Temperatuur;CO2-uitstoot0.59670.58660.4164
p-value(0)(0)(0)



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