Free Statistics

of Irreproducible Research!

Author's title

Author*The author of this computation has been verified*
R Software ModulePatrick.Wessarwasp_pairs.wasp
Title produced by softwareKendall tau Correlation Matrix
Date of computationTue, 21 Dec 2010 20:36:29 +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/21/t1292963665if4wnmkda5rbqqp.htm/, Retrieved Thu, 16 May 2024 14:53:45 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=113956, Retrieved Thu, 16 May 2024 14:53:45 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact105
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] [Pearson Correlati...] [2010-12-10 13:00:22] [9894f466352df31a128e82ec8d720241]
-    D    [Kendall tau Correlation Matrix] [paper - pearson c...] [2010-12-21 20:29:35] [9894f466352df31a128e82ec8d720241]
-   PD        [Kendall tau Correlation Matrix] [paper - kendall's...] [2010-12-21 20:36:29] [5398da98f4f83c6a353e4d3806d4bcaa] [Current]
Feedback Forum

Post a new message
Dataseries X:
631923	-12	-10.8
654294	-13	-12.2
671833	-16	-14.1
586840	-10	-15.2
600969	-4	-15.8
625568	-9	-15.8
558110	-8	-14.9
630577	-9	-12.6
628654	-3	-9.9
603184	-13	-7.8
656255	-3	-6
600730	-1	-5
670326	-2	-4.5
678423	0	-3.9
641502	0	-2.9
625311	-3	-1.5
628177	0	-0.5
589767	5	0
582471	3	0.5
636248	4	0.9
599885	3	0.8
621694	1	0.1
637406	-1	-1
596994	0	-2
696308	-2	-3
674201	-1	-3.7
648861	2	-4.7
649605	0	-6.4
672392	-6	-7.5
598396	-7	-7.8
613177	-6	-7.7
638104	-4	-6.6
615632	-9	-4.2
634465	-2	-2
638686	-3	-0.7
604243	2	0.1
706669	3	0.9
677185	1	2.1
644328	0	3.5
644825	1	4.9
605707	1	5.7
600136	3	6.2
612166	5	6.5
599659	5	6.5
634210	4	6.3
618234	11	6.2
613576	8	6.4
627200	-1	6.3
668973	4	5.8
651479	4	5.1
619661	4	5.1
644260	6	5.8
579936	6	6.7
601752	6	7.1
595376	6	6.7
588902	4	5.5
634341	1	4.2
594305	6	3
606200	0	2.2
610926	2	2
633685	-2	1.8
639696	0	1.8
659451	1	1.5
593248	-3	0.4
606677	-3	-0.9
599434	-5	-1.7
569578	-7	-2.6
629873	-7	-4.4
613438	-5	-8.3
604172	-13	-14.4
658328	-16	-21.3
612633	-20	-26.5
707372	-18	-29.2
739770	-21	-30.8
777535	-20	-30.9
685030	-16	-29.5
730234	-14	-27.1
714154	-12	-24.4
630872	-10	-21.9
719492	-3	-19.3
677023	-4	-17
679272	-4	-13.8
718317	-1	-9.9
645672	-8	-7.9




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

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

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=113956&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'Gwilym Jenkins' @ 72.249.127.135







Correlations for all pairs of data series (method=kendall)
WerkloosheidConsumentenvertrouwenOndernemersvertrouwen
Werkloosheid1-0.199-0.266
Consumentenvertrouwen-0.19910.72
Ondernemersvertrouwen-0.2660.721

\begin{tabular}{lllllllll}
\hline
Correlations for all pairs of data series (method=kendall) \tabularnewline
  & Werkloosheid & Consumentenvertrouwen & Ondernemersvertrouwen \tabularnewline
Werkloosheid & 1 & -0.199 & -0.266 \tabularnewline
Consumentenvertrouwen & -0.199 & 1 & 0.72 \tabularnewline
Ondernemersvertrouwen & -0.266 & 0.72 & 1 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=113956&T=1

[TABLE]
[ROW][C]Correlations for all pairs of data series (method=kendall)[/C][/ROW]
[ROW][C] [/C][C]Werkloosheid[/C][C]Consumentenvertrouwen[/C][C]Ondernemersvertrouwen[/C][/ROW]
[ROW][C]Werkloosheid[/C][C]1[/C][C]-0.199[/C][C]-0.266[/C][/ROW]
[ROW][C]Consumentenvertrouwen[/C][C]-0.199[/C][C]1[/C][C]0.72[/C][/ROW]
[ROW][C]Ondernemersvertrouwen[/C][C]-0.266[/C][C]0.72[/C][C]1[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=113956&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=113956&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)
WerkloosheidConsumentenvertrouwenOndernemersvertrouwen
Werkloosheid1-0.199-0.266
Consumentenvertrouwen-0.19910.72
Ondernemersvertrouwen-0.2660.721







Correlations for all pairs of data series with p-values
pairPearson rSpearman rhoKendall tau
Werkloosheid;Consumentenvertrouwen-0.3819-0.2827-0.1994
p-value(3e-04)(0.0092)(0.0084)
Werkloosheid;Ondernemersvertrouwen-0.515-0.3743-0.2664
p-value(0)(5e-04)(3e-04)
Consumentenvertrouwen;Ondernemersvertrouwen0.88590.88790.7203
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
Werkloosheid;Consumentenvertrouwen & -0.3819 & -0.2827 & -0.1994 \tabularnewline
p-value & (3e-04) & (0.0092) & (0.0084) \tabularnewline
Werkloosheid;Ondernemersvertrouwen & -0.515 & -0.3743 & -0.2664 \tabularnewline
p-value & (0) & (5e-04) & (3e-04) \tabularnewline
Consumentenvertrouwen;Ondernemersvertrouwen & 0.8859 & 0.8879 & 0.7203 \tabularnewline
p-value & (0) & (0) & (0) \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=113956&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;Consumentenvertrouwen[/C][C]-0.3819[/C][C]-0.2827[/C][C]-0.1994[/C][/ROW]
[ROW][C]p-value[/C][C](3e-04)[/C][C](0.0092)[/C][C](0.0084)[/C][/ROW]
[ROW][C]Werkloosheid;Ondernemersvertrouwen[/C][C]-0.515[/C][C]-0.3743[/C][C]-0.2664[/C][/ROW]
[ROW][C]p-value[/C][C](0)[/C][C](5e-04)[/C][C](3e-04)[/C][/ROW]
[ROW][C]Consumentenvertrouwen;Ondernemersvertrouwen[/C][C]0.8859[/C][C]0.8879[/C][C]0.7203[/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=113956&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=113956&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;Consumentenvertrouwen-0.3819-0.2827-0.1994
p-value(3e-04)(0.0092)(0.0084)
Werkloosheid;Ondernemersvertrouwen-0.515-0.3743-0.2664
p-value(0)(5e-04)(3e-04)
Consumentenvertrouwen;Ondernemersvertrouwen0.88590.88790.7203
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')