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 computationTue, 27 Nov 2007 03:21:58 -0700
Cite this page as followsStatistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?v=date/2007/Nov/27/t1196159009om1ceokfl9my6yi.htm/, Retrieved Sun, 05 May 2024 16:57:08 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=6829, Retrieved Sun, 05 May 2024 16:57:08 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact183
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-       [Kendall tau Correlation Matrix] [Stat Opdr4 Q2.3] [2007-11-27 10:21:58] [67794d83edd3193bd9ea9816803ddb96] [Current]
Feedback Forum

Post a new message
Dataseries X:
3804	96	5329	104
3491	75	4903	85
4151	96	5826	110
4254	102	6006	106
4717	130	6552	142
4866	127	6748	138
4001	111	5633	115
3758	108	5361	118
4780	108	6631	118
5016	122	7078	128
4296	113	6100	119
4467	111	6376	114
3891	97	5571	108
3872	124	5512	130
3867	99	5461	109
3973	118	5704	127
4640	111	6420	121
4538	121	6344	131
3836	102	5624	111
3770	102	5322	108
4374	115	6098	122
4497	123	6303	134
3945	127	5581	144
3862	117	5491	125
3608	106	5108	118
3301	88	4585	93
3882	95	5545	106
3605	105	5145	109
4305	117	5888	121
4216	128	5925	137
3971	136	5715	153
3988	128	5595	140
4317	124	6160	135
4484	119	6163	124
4247	128	5906	137
3520	104	5045	113
3686	91	5130	97
3403	99	4743	105
3990	92	5438	101
4053	117	5698	120
4548	103	6333	117
4559	117	6340	123
3922	125	5635	133
4209	94	5948	104
4517	126	6199	136
4386	105	6023	116
3221	107	4540	110
3127	87	4315	91
3777	95	5161	99
3322	63	4433	67
3899	91	5199	102
4033	90	5582	101
4463	102	5936	107
4819	104	6391	114
4246	121	5647	129
4255	107	5827	112
4760	94	6101	97
4581	96	5777	100
4309	98	5511	105
4016	75	5036	81
3601	97	4468	104
3257	81	4053	80
3823	89	4821	97
3940	85	5138	90
4534	95	6102	99
4575	97	6029	103
3953	103	5365	111
4206	99	5717	110
4649	82	6150	88
4353	90	5737	97
3835	82	5268	87
3944	94	5307	97




Summary of compuational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time1 seconds
R Server'Gwilym Jenkins' @ 72.249.127.135

\begin{tabular}{lllllllll}
\hline
Summary of compuational 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' @ 72.249.127.135 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=6829&T=0

[TABLE]
[ROW][C]Summary of compuational 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' @ 72.249.127.135[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=6829&T=0

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=6829&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 compuational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time1 seconds
R Server'Gwilym Jenkins' @ 72.249.127.135







Kendall tau rank correlations for all pairs of data series
pairtaup-value
tau( #Ongevallen , #Dodelijke )0.2498618371761440.00207577412524795
tau( #Ongevallen , #Slachtoffers )0.7949921752738650
tau( #Ongevallen , #Doden30dagen )0.2569390627391360.00149419758544611
tau( #Dodelijke , #Slachtoffers )0.380121562718212.80745279335193e-06
tau( #Dodelijke , #Doden30dagen )0.9083015238568860
tau( #Slachtoffers , #Doden30dagen )0.3922944036001821.24196888240391e-06

\begin{tabular}{lllllllll}
\hline
Kendall tau rank correlations for all pairs of data series \tabularnewline
pair & tau & p-value \tabularnewline
tau( #Ongevallen , #Dodelijke ) & 0.249861837176144 & 0.00207577412524795 \tabularnewline
tau( #Ongevallen , #Slachtoffers ) & 0.794992175273865 & 0 \tabularnewline
tau( #Ongevallen , #Doden30dagen
 ) & 0.256939062739136 & 0.00149419758544611 \tabularnewline
tau( #Dodelijke , #Slachtoffers ) & 0.38012156271821 & 2.80745279335193e-06 \tabularnewline
tau( #Dodelijke , #Doden30dagen
 ) & 0.908301523856886 & 0 \tabularnewline
tau( #Slachtoffers , #Doden30dagen
 ) & 0.392294403600182 & 1.24196888240391e-06 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=6829&T=1

[TABLE]
[ROW][C]Kendall tau rank correlations for all pairs of data series[/C][/ROW]
[ROW][C]pair[/C][C]tau[/C][C]p-value[/C][/ROW]
[ROW][C]tau( #Ongevallen , #Dodelijke )[/C][C]0.249861837176144[/C][C]0.00207577412524795[/C][/ROW]
[ROW][C]tau( #Ongevallen , #Slachtoffers )[/C][C]0.794992175273865[/C][C]0[/C][/ROW]
[ROW][C]tau( #Ongevallen , #Doden30dagen
 )[/C][C]0.256939062739136[/C][C]0.00149419758544611[/C][/ROW]
[ROW][C]tau( #Dodelijke , #Slachtoffers )[/C][C]0.38012156271821[/C][C]2.80745279335193e-06[/C][/ROW]
[ROW][C]tau( #Dodelijke , #Doden30dagen
 )[/C][C]0.908301523856886[/C][C]0[/C][/ROW]
[ROW][C]tau( #Slachtoffers , #Doden30dagen
 )[/C][C]0.392294403600182[/C][C]1.24196888240391e-06[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=6829&T=1

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

As an alternative you can also use a QR Code:  

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

Kendall tau rank correlations for all pairs of data series
pairtaup-value
tau( #Ongevallen , #Dodelijke )0.2498618371761440.00207577412524795
tau( #Ongevallen , #Slachtoffers )0.7949921752738650
tau( #Ongevallen , #Doden30dagen )0.2569390627391360.00149419758544611
tau( #Dodelijke , #Slachtoffers )0.380121562718212.80745279335193e-06
tau( #Dodelijke , #Doden30dagen )0.9083015238568860
tau( #Slachtoffers , #Doden30dagen )0.3922944036001821.24196888240391e-06



Parameters (Session):
Parameters (R input):
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='kendall')
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')
a<-table.start()
a<-table.row.start(a)
a<-table.element(a,'Kendall tau rank correlations for all pairs of data series',3,TRUE)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'pair',1,TRUE)
a<-table.element(a,'tau',1,TRUE)
a<-table.element(a,'p-value',1,TRUE)
a<-table.row.end(a)
n <- length(y[,1])
n
cor.test(y[1,],y[2,],method='kendall')
for (i in 1:(n-1))
{
for (j in (i+1):n)
{
a<-table.row.start(a)
dum <- paste('tau(',dimnames(t(x))[[2]][i])
dum <- paste(dum,',')
dum <- paste(dum,dimnames(t(x))[[2]][j])
dum <- paste(dum,')')
a<-table.element(a,dum,header=TRUE)
r <- cor.test(y[i,],y[j,],method='kendall')
a<-table.element(a,r$estimate)
a<-table.element(a,r$p.value)
a<-table.row.end(a)
}
}
a<-table.end(a)
table.save(a,file='mytable.tab')