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 computationWed, 28 Nov 2007 04:48:44 -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/28/t1196249951eq3w969jtbtg6iq.htm/, Retrieved Thu, 02 May 2024 13:06:12 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=7033, Retrieved Thu, 02 May 2024 13:06:12 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact176
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-       [Kendall tau Correlation Matrix] [] [2007-11-28 11:48:44] [67794d83edd3193bd9ea9816803ddb96] [Current]
Feedback Forum

Post a new message
Dataseries X:
-313	-21	-426	-19
660	21	923	25
103	6	180	-4
463	28	546	36
149	-3	196	-4
-865	-16	-1115	-23
-243	-3	-272	3
1022	0	1270	0
236	14	447	10
-720	-9	-978	-9
171	-2	276	-5
-576	-14	-805	-6
-19	27	-59	22
-5	-25	-51	-21
106	19	243	18
667	-7	716	-6
-102	10	-76	10
-702	-19	-720	-20
-66	0	-302	-3
604	13	776	14
123	8	205	12
-552	4	-722	10
-83	-10	-90	-19
-254	-11	-383	-7
-307	-18	-523	-25
581	7	960	13
-277	10	-400	3
700	12	743	12
-89	11	37	16
-245	8	-210	16
17	-8	-120	-13
329	-4	565	-5
167	-5	3	-11
-237	9	-257	13
-727	-24	-861	-24
166	-13	85	-16
-283	8	-387	8
586	-7	695	-4
63	25	260	19
495	-14	635	-3
10	14	7	6
-637	8	-705	10
287	-31	313	-29
309	32	251	32
-131	-21	-176	-20
-1165	2	-1484	-6
-94	-20	-224	-19
651	8	846	8
-455	-32	-728	-32
577	28	766	35
134	-1	383	-1
430	12	354	6
356	2	454	7
-573	17	-743	15
9	-14	179	-17
505	-13	274	-15
-179	2	-324	3
-272	2	-266	5
-293	-23	-476	-24
-415	22	-568	23
-344	-16	-415	-24
567	8	768	17
117	-4	317	-7
594	10	964	9
40	2	-72	4
-622	6	-664	8
254	-4	352	-1
443	-17	432	-22
-296	8	-413	9
-518	-8	-469	-10
109	12	39	10




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

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=7033&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( Ong , Dod )0.1854897264858370.0234631643960268
tau( Ong , Slacht )0.873641851106640
tau( Ong , Dod30d )0.1966806148991850.0160048449543830
tau( Dod , Slacht )0.2196588866279650.00729228410763083
tau( Dod , Dod30d )0.8161547077152550
tau( Slacht , Dod30d )0.2429106975765200.00292990081379974

\begin{tabular}{lllllllll}
\hline
Kendall tau rank correlations for all pairs of data series \tabularnewline
pair & tau & p-value \tabularnewline
tau( Ong , Dod ) & 0.185489726485837 & 0.0234631643960268 \tabularnewline
tau( Ong , Slacht ) & 0.87364185110664 & 0 \tabularnewline
tau( Ong , Dod30d ) & 0.196680614899185 & 0.0160048449543830 \tabularnewline
tau( Dod , Slacht ) & 0.219658886627965 & 0.00729228410763083 \tabularnewline
tau( Dod , Dod30d ) & 0.816154707715255 & 0 \tabularnewline
tau( Slacht , Dod30d ) & 0.242910697576520 & 0.00292990081379974 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=7033&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( Ong , Dod )[/C][C]0.185489726485837[/C][C]0.0234631643960268[/C][/ROW]
[ROW][C]tau( Ong , Slacht )[/C][C]0.87364185110664[/C][C]0[/C][/ROW]
[ROW][C]tau( Ong , Dod30d )[/C][C]0.196680614899185[/C][C]0.0160048449543830[/C][/ROW]
[ROW][C]tau( Dod , Slacht )[/C][C]0.219658886627965[/C][C]0.00729228410763083[/C][/ROW]
[ROW][C]tau( Dod , Dod30d )[/C][C]0.816154707715255[/C][C]0[/C][/ROW]
[ROW][C]tau( Slacht , Dod30d )[/C][C]0.242910697576520[/C][C]0.00292990081379974[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=7033&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=7033&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( Ong , Dod )0.1854897264858370.0234631643960268
tau( Ong , Slacht )0.873641851106640
tau( Ong , Dod30d )0.1966806148991850.0160048449543830
tau( Dod , Slacht )0.2196588866279650.00729228410763083
tau( Dod , Dod30d )0.8161547077152550
tau( Slacht , Dod30d )0.2429106975765200.00292990081379974



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