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 Nov 2007 07:46:04 -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/23/t11958287084cdjb2zsrbf58tf.htm/, Retrieved Mon, 29 Apr 2024 06:56:43 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=6182, Retrieved Mon, 29 Apr 2024 06:56:43 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact104
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-       [Kendall tau Correlation Matrix] [] [2007-11-23 14:46:04] [2467046df5c61f7ccf2ce4e184abae94] [Current]
Feedback Forum

Post a new message
Dataseries X:
104,8	103,65	106,54	106,62
105,2	103,87	107,4	106,9
105,6	103,94	108,24	107,01
105,8	105,32	107,75	106,66
106,1	105,54	108,57	106,76
106,5	106,08	108,78	106,76
106,71	106,21	108,7	106,84
106,68	105,53	109,48	106,88
107,41	105,56	112,67	106,87
107,15	105,14	112,67	106,88
107,5	105,97	113,06	106,89
107,22	105,45	112,16	106,9
107,11	106,22	110,91	107,56
107,57	106,31	111,63	107,7
107,81	107,38	111,96	107,67
108,75	109,31	112,73	107,67
109,43	110,82	113,06	107,72
109,62	111,22	113,88	108,35
109,54	110,66	113,5	108,25
109,53	110,76	113,39	108,26
109,84	110,69	114,13	108,31
109,67	111,08	113,1	108,33
109,79	110,97	112,76	108,36
109,56	110,24	112,09	108,36
110,22	112,51	112,44	108,97
110,4	111,52	112,43	109,62
110,69	112,13	113,14	109,6
110,72	112,23	113,54	109,64
110,89	112,92	113,39	109,65
110,58	111,89	112,7	109,64
110,94	111,99	113,59	109,93
110,91	111,51	113,66	109,81
111,22	112,33	114,37	109,77
111,09	112,04	114,59	110,1
111	112,09	113,41	110,4
111,06	111,41	113,77	110,5
111,55	112,61	114,53	111,89
112,32	113,14	115,56	112,1
112,64	113,65	116,72	111,92
112,36	114,26	114,02	112,15
112,04	114,4	113,36	112,16
112,37	114,93	113,75	112,17
112,59	114,86	113,96	112,32
112,89	114,95	114,67	112,38
113,22	116,17	114,58	112,34
112,85	114,6	114,74	113,14
113,06	114,62	114,97	113,18
112,99	113,82	114,79	113,21
113,32	115,02	115,28	113,76
113,74	115,18	115,15	113,99
113,91	115,59	116,06	113,95
114,52	116,6	116,57	113,93
114,96	117,07	117,55	114,01
114,91	116,96	117,43	114,1
115,3	116,66	118,08	114,11
115,44	116,07	119,42	114,1
115,52	116,04	119,84	114,12
116,08	115,81	122,29	114,68
115,94	116,22	121,06	114,71
115,56	115,85	120,09	114,73




Summary of compuational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time5 seconds
R Server'Herman Ole Andreas Wold' @ 193.190.124.10:1001

\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 & 5 seconds \tabularnewline
R Server & 'Herman Ole Andreas Wold' @ 193.190.124.10:1001 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=6182&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]5 seconds[/C][/ROW]
[ROW][C]R Server[/C][C]'Herman Ole Andreas Wold' @ 193.190.124.10:1001[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=6182&T=0

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=6182&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 time5 seconds
R Server'Herman Ole Andreas Wold' @ 193.190.124.10:1001







Kendall tau rank correlations for all pairs of data series
pairtaup-value
tau( Cons , Inc )0.8621468926553670
tau( Cons , e )0.8385640562271930
tau( Cons , EG )0.9232964626983140
tau( Inc , e )0.718688412316094.44089209850063e-16
tau( Inc , EG )0.8304573334018560
tau( e , EG )0.7830033355559150

\begin{tabular}{lllllllll}
\hline
Kendall tau rank correlations for all pairs of data series \tabularnewline
pair & tau & p-value \tabularnewline
tau( Cons , Inc ) & 0.862146892655367 & 0 \tabularnewline
tau( Cons , e ) & 0.838564056227193 & 0 \tabularnewline
tau( Cons , EG ) & 0.923296462698314 & 0 \tabularnewline
tau( Inc , e ) & 0.71868841231609 & 4.44089209850063e-16 \tabularnewline
tau( Inc , EG ) & 0.830457333401856 & 0 \tabularnewline
tau( e , EG ) & 0.783003335555915 & 0 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=6182&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( Cons , Inc )[/C][C]0.862146892655367[/C][C]0[/C][/ROW]
[ROW][C]tau( Cons , e )[/C][C]0.838564056227193[/C][C]0[/C][/ROW]
[ROW][C]tau( Cons , EG )[/C][C]0.923296462698314[/C][C]0[/C][/ROW]
[ROW][C]tau( Inc , e )[/C][C]0.71868841231609[/C][C]4.44089209850063e-16[/C][/ROW]
[ROW][C]tau( Inc , EG )[/C][C]0.830457333401856[/C][C]0[/C][/ROW]
[ROW][C]tau( e , EG )[/C][C]0.783003335555915[/C][C]0[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=6182&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=6182&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( Cons , Inc )0.8621468926553670
tau( Cons , e )0.8385640562271930
tau( Cons , EG )0.9232964626983140
tau( Inc , e )0.718688412316094.44089209850063e-16
tau( Inc , EG )0.8304573334018560
tau( e , EG )0.7830033355559150



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