Free Statistics

of Irreproducible Research!

Author's title

Author*Unverified author*
R Software Modulerwasp_pairs.wasp
Title produced by softwareKendall tau Correlation Matrix
Date of computationFri, 23 Dec 2011 05:09:00 -0500
Cite this page as followsStatistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?v=date/2011/Dec/23/t1324634958qukkr38o5bk62b4.htm/, Retrieved Mon, 29 Apr 2024 22:23:33 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=160228, Retrieved Mon, 29 Apr 2024 22:23:33 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact161
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] [WS10 PCM DMA] [2010-12-09 16:41:09] [2099aacba481f75a7f949aa310cab952]
- R  D    [Kendall tau Correlation Matrix] [Workshop 10, Pear...] [2010-12-10 12:51:04] [3635fb7041b1998c5a1332cf9de22bce]
- R  D      [Kendall tau Correlation Matrix] [Paper Pearson Cor...] [2010-12-18 17:31:07] [8081b8996d5947580de3eb171e82db4f]
-   PD        [Kendall tau Correlation Matrix] [Paper Kendall Cor...] [2010-12-18 17:54:50] [8081b8996d5947580de3eb171e82db4f]
- RM D            [Kendall tau Correlation Matrix] [] [2011-12-23 10:09:00] [d41d8cd98f00b204e9800998ecf8427e] [Current]
Feedback Forum

Post a new message
Dataseries X:
631.923	9.911	58608
654.294	8.915	46865
671.833	9.452	51378
586.840	9.112	46235
600.969	8.472	47206
625.568	8.230	45382
558.110	8.384	41227
630.577	8.625	33795
628.654	8.221	31295
603.184	8.649	42625
656.255	8.625	33625
600.730	10.443	21538
670.326	10.357	56421
678.423	8.586	53152
641.502	8.892	53536
625.311	8.329	52408
628.177	8.101	41454
589.767	7.922	38271
582.471	8.120	35306
636.248	7.838	26414
599.885	7.735	31917
621.694	8.406	38030
637.406	8.209	27534
595.994	9.451	18387
696.308	10.041	50556
674.201	9.411	43901
648.861	10.405	48572
649.605	8.467	43899
672.392	8.464	37532
598.396	8.102	40357
613.177	7.627	35489
638.104	7.513	29027
615.632	7.510	34485
634.465	8.291	42598
638.686	8.064	30306
604.243	9.383	26451
706.669	9.706	47460
677.185	8.579	50104
644.328	9.474	61465
664.825	8.318	53726
605.707	8.213	39477
600.136	8.059	43895
612.166	9.111	31481
599.659	7.708	29896
634.210	7.680	33842
618.234	8.014	39120
613.576	8.007	33702
627.200	8.718	25094
668.973	9.486	51442
651.479	9.113	45594
619.661	9.025	52518
644.260	8.476	48564
579.936	7.952	41745
601.752	7.759	49585
595.376	7.835	32747
588.902	7.600	33379
634.341	7.651	35645
594.305	8.319	37034
606.200	8.812	35681
610.926	8.630	20972




Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time1 seconds
R Server'Gwilym Jenkins' @ jenkins.wessa.net

\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 & 1 seconds \tabularnewline
R Server & 'Gwilym Jenkins' @ jenkins.wessa.net \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=160228&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]1 seconds[/C][/ROW]
[ROW][C]R Server[/C][C]'Gwilym Jenkins' @ jenkins.wessa.net[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=160228&T=0

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







Correlations for all pairs of data series (method=kendall)
WERKLOOSHEIDOVERLIJDENSINSCHRIJVINGEN
WERKLOOSHEID10.270.27
OVERLIJDENS0.2710.298
INSCHRIJVINGEN0.270.2981

\begin{tabular}{lllllllll}
\hline
Correlations for all pairs of data series (method=kendall) \tabularnewline
  & WERKLOOSHEID & OVERLIJDENS & INSCHRIJVINGEN \tabularnewline
WERKLOOSHEID & 1 & 0.27 & 0.27 \tabularnewline
OVERLIJDENS & 0.27 & 1 & 0.298 \tabularnewline
INSCHRIJVINGEN & 0.27 & 0.298 & 1 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=160228&T=1

[TABLE]
[ROW][C]Correlations for all pairs of data series (method=kendall)[/C][/ROW]
[ROW][C] [/C][C]WERKLOOSHEID[/C][C]OVERLIJDENS[/C][C]INSCHRIJVINGEN[/C][/ROW]
[ROW][C]WERKLOOSHEID[/C][C]1[/C][C]0.27[/C][C]0.27[/C][/ROW]
[ROW][C]OVERLIJDENS[/C][C]0.27[/C][C]1[/C][C]0.298[/C][/ROW]
[ROW][C]INSCHRIJVINGEN[/C][C]0.27[/C][C]0.298[/C][C]1[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=160228&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=160228&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)
WERKLOOSHEIDOVERLIJDENSINSCHRIJVINGEN
WERKLOOSHEID10.270.27
OVERLIJDENS0.2710.298
INSCHRIJVINGEN0.270.2981







Correlations for all pairs of data series with p-values
pairPearson rSpearman rhoKendall tau
WERKLOOSHEID;OVERLIJDENS0.41870.40240.2696
p-value(9e-04)(0.0014)(0.0023)
WERKLOOSHEID;INSCHRIJVINGEN0.4330.42870.2701
p-value(5e-04)(7e-04)(0.0023)
OVERLIJDENS;INSCHRIJVINGEN0.33730.4040.2978
p-value(0.0084)(0.0014)(8e-04)

\begin{tabular}{lllllllll}
\hline
Correlations for all pairs of data series with p-values \tabularnewline
pair & Pearson r & Spearman rho & Kendall tau \tabularnewline
WERKLOOSHEID;OVERLIJDENS & 0.4187 & 0.4024 & 0.2696 \tabularnewline
p-value & (9e-04) & (0.0014) & (0.0023) \tabularnewline
WERKLOOSHEID;INSCHRIJVINGEN & 0.433 & 0.4287 & 0.2701 \tabularnewline
p-value & (5e-04) & (7e-04) & (0.0023) \tabularnewline
OVERLIJDENS;INSCHRIJVINGEN & 0.3373 & 0.404 & 0.2978 \tabularnewline
p-value & (0.0084) & (0.0014) & (8e-04) \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=160228&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]WERKLOOSHEID;OVERLIJDENS[/C][C]0.4187[/C][C]0.4024[/C][C]0.2696[/C][/ROW]
[ROW][C]p-value[/C][C](9e-04)[/C][C](0.0014)[/C][C](0.0023)[/C][/ROW]
[ROW][C]WERKLOOSHEID;INSCHRIJVINGEN[/C][C]0.433[/C][C]0.4287[/C][C]0.2701[/C][/ROW]
[ROW][C]p-value[/C][C](5e-04)[/C][C](7e-04)[/C][C](0.0023)[/C][/ROW]
[ROW][C]OVERLIJDENS;INSCHRIJVINGEN[/C][C]0.3373[/C][C]0.404[/C][C]0.2978[/C][/ROW]
[ROW][C]p-value[/C][C](0.0084)[/C][C](0.0014)[/C][C](8e-04)[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=160228&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=160228&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
WERKLOOSHEID;OVERLIJDENS0.41870.40240.2696
p-value(9e-04)(0.0014)(0.0023)
WERKLOOSHEID;INSCHRIJVINGEN0.4330.42870.2701
p-value(5e-04)(7e-04)(0.0023)
OVERLIJDENS;INSCHRIJVINGEN0.33730.4040.2978
p-value(0.0084)(0.0014)(8e-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')