Free Statistics

of Irreproducible Research!

Author's title

Author*The author of this computation has been verified*
R Software Modulerwasp_pairs.wasp
Title produced by softwareKendall tau Correlation Matrix
Date of computationSat, 25 Dec 2010 09:11:52 +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/25/t129326824701l0us6j0nv67zo.htm/, Retrieved Sun, 28 Apr 2024 20:53:46 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=115313, Retrieved Sun, 28 Apr 2024 20:53:46 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact159
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-     [Recursive Partitioning (Regression Trees)] [] [2010-12-05 18:59:57] [b98453cac15ba1066b407e146608df68]
- RMPD  [Kendall tau Correlation Matrix] [KCM] [2010-12-24 11:03:04] [6a528ed37664d761abf4790b0717b23b]
-    D      [Kendall tau Correlation Matrix] [workshop 10 link 2] [2010-12-25 09:11:52] [95216a33d813bfae7986b08ea3322626] [Current]
Feedback Forum

Post a new message
Dataseries X:
-5	-6	33	5	15
-1	-3	24	6	17
-2	-4	24	6	13
-5	-7	31	5	12
-4	-7	25	5	13
-6	-7	28	3	10
-2	-3	24	5	14
-2	0	25	5	13
-2	-5	16	5	10
-2	-3	17	3	11
2	3	11	6	12
1	2	12	6	7
-8	-7	39	4	11
-1	-1	19	6	9
1	0	14	5	13
-1	-3	15	4	12
2	4	7	5	5
2	2	12	5	13
1	3	12	4	11
-1	0	14	3	8
-2	-10	9	2	8
-2	-10	8	3	8
-1	-9	4	2	8
-8	-22	7	-1	0
-4	-16	3	0	3
-6	-18	5	-2	0
-3	-14	0	1	-1
-3	-12	-2	-2	-1
-7	-17	6	-2	-4
-9	-23	11	-2	1
-11	-28	9	-6	-1
-13	-31	17	-4	0
-11	-21	21	-2	-1
-9	-19	21	0	6
-17	-22	41	-5	0
-22	-22	57	-4	-3
-25	-25	65	-5	-3
-20	-16	68	-1	4
-24	-22	73	-2	1
-24	-21	71	-4	0
-22	-10	71	-1	-4
-19	-7	70	1	-2
-18	-5	69	1	3
-17	-4	65	-2	2
-11	7	57	1	5
-11	6	57	1	6
-12	3	57	3	6
-10	10	55	3	3
-15	0	65	1	4
-15	-2	65	1	7
-15	-1	64	0	5
-13	2	60	2	6
-8	8	43	2	1
-13	-6	47	-1	3
-9	-4	40	1	6
-7	4	31	0	0
-4	7	27	1	3
-4	3	24	1	4
-2	3	23	3	7
0	8	17	2	6




Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time4 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 & 4 seconds \tabularnewline
R Server & 'Gwilym Jenkins' @ 72.249.127.135 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=115313&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]4 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=115313&T=0

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







Correlations for all pairs of data series (method=pearson)
indicatorvooruitzichtenwerkloosheidfinanciënspaarvermogen
indicator10.455-0.8360.7190.637
vooruitzichten0.45510.0670.7010.487
werkloosheid-0.8360.0671-0.283-0.264
financiën0.7190.701-0.28310.852
spaarvermogen0.6370.487-0.2640.8521

\begin{tabular}{lllllllll}
\hline
Correlations for all pairs of data series (method=pearson) \tabularnewline
  & indicator & vooruitzichten & werkloosheid & financiën & spaarvermogen \tabularnewline
indicator & 1 & 0.455 & -0.836 & 0.719 & 0.637 \tabularnewline
vooruitzichten & 0.455 & 1 & 0.067 & 0.701 & 0.487 \tabularnewline
werkloosheid & -0.836 & 0.067 & 1 & -0.283 & -0.264 \tabularnewline
financiën & 0.719 & 0.701 & -0.283 & 1 & 0.852 \tabularnewline
spaarvermogen & 0.637 & 0.487 & -0.264 & 0.852 & 1 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=115313&T=1

[TABLE]
[ROW][C]Correlations for all pairs of data series (method=pearson)[/C][/ROW]
[ROW][C] [/C][C]indicator[/C][C]vooruitzichten[/C][C]werkloosheid[/C][C]financiën[/C][C]spaarvermogen[/C][/ROW]
[ROW][C]indicator[/C][C]1[/C][C]0.455[/C][C]-0.836[/C][C]0.719[/C][C]0.637[/C][/ROW]
[ROW][C]vooruitzichten[/C][C]0.455[/C][C]1[/C][C]0.067[/C][C]0.701[/C][C]0.487[/C][/ROW]
[ROW][C]werkloosheid[/C][C]-0.836[/C][C]0.067[/C][C]1[/C][C]-0.283[/C][C]-0.264[/C][/ROW]
[ROW][C]financiën[/C][C]0.719[/C][C]0.701[/C][C]-0.283[/C][C]1[/C][C]0.852[/C][/ROW]
[ROW][C]spaarvermogen[/C][C]0.637[/C][C]0.487[/C][C]-0.264[/C][C]0.852[/C][C]1[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=115313&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=115313&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=pearson)
indicatorvooruitzichtenwerkloosheidfinanciënspaarvermogen
indicator10.455-0.8360.7190.637
vooruitzichten0.45510.0670.7010.487
werkloosheid-0.8360.0671-0.283-0.264
financiën0.7190.701-0.28310.852
spaarvermogen0.6370.487-0.2640.8521







Correlations for all pairs of data series with p-values
pairPearson rSpearman rhoKendall tau
indicator;vooruitzichten0.45460.4230.3384
p-value(3e-04)(8e-04)(2e-04)
indicator;werkloosheid-0.8355-0.7448-0.6112
p-value(0)(0)(0)
indicator;financiën0.71870.74310.5724
p-value(0)(0)(0)
indicator;spaarvermogen0.63690.65130.4595
p-value(0)(0)(0)
vooruitzichten;werkloosheid0.0670.10350.0429
p-value(0.6112)(0.4311)(0.6361)
vooruitzichten;financiën0.70140.59430.4492
p-value(0)(0)(0)
vooruitzichten;spaarvermogen0.48740.43160.2616
p-value(1e-04)(6e-04)(0.0044)
werkloosheid;financiën-0.2831-0.2094-0.1723
p-value(0.0284)(0.1084)(0.064)
werkloosheid;spaarvermogen-0.2645-0.157-0.115
p-value(0.0412)(0.2308)(0.2074)
financiën;spaarvermogen0.85170.8710.728
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
indicator;vooruitzichten & 0.4546 & 0.423 & 0.3384 \tabularnewline
p-value & (3e-04) & (8e-04) & (2e-04) \tabularnewline
indicator;werkloosheid & -0.8355 & -0.7448 & -0.6112 \tabularnewline
p-value & (0) & (0) & (0) \tabularnewline
indicator;financiën & 0.7187 & 0.7431 & 0.5724 \tabularnewline
p-value & (0) & (0) & (0) \tabularnewline
indicator;spaarvermogen & 0.6369 & 0.6513 & 0.4595 \tabularnewline
p-value & (0) & (0) & (0) \tabularnewline
vooruitzichten;werkloosheid & 0.067 & 0.1035 & 0.0429 \tabularnewline
p-value & (0.6112) & (0.4311) & (0.6361) \tabularnewline
vooruitzichten;financiën & 0.7014 & 0.5943 & 0.4492 \tabularnewline
p-value & (0) & (0) & (0) \tabularnewline
vooruitzichten;spaarvermogen & 0.4874 & 0.4316 & 0.2616 \tabularnewline
p-value & (1e-04) & (6e-04) & (0.0044) \tabularnewline
werkloosheid;financiën & -0.2831 & -0.2094 & -0.1723 \tabularnewline
p-value & (0.0284) & (0.1084) & (0.064) \tabularnewline
werkloosheid;spaarvermogen & -0.2645 & -0.157 & -0.115 \tabularnewline
p-value & (0.0412) & (0.2308) & (0.2074) \tabularnewline
financiën;spaarvermogen & 0.8517 & 0.871 & 0.728 \tabularnewline
p-value & (0) & (0) & (0) \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=115313&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]indicator;vooruitzichten[/C][C]0.4546[/C][C]0.423[/C][C]0.3384[/C][/ROW]
[ROW][C]p-value[/C][C](3e-04)[/C][C](8e-04)[/C][C](2e-04)[/C][/ROW]
[ROW][C]indicator;werkloosheid[/C][C]-0.8355[/C][C]-0.7448[/C][C]-0.6112[/C][/ROW]
[ROW][C]p-value[/C][C](0)[/C][C](0)[/C][C](0)[/C][/ROW]
[ROW][C]indicator;financiën[/C][C]0.7187[/C][C]0.7431[/C][C]0.5724[/C][/ROW]
[ROW][C]p-value[/C][C](0)[/C][C](0)[/C][C](0)[/C][/ROW]
[ROW][C]indicator;spaarvermogen[/C][C]0.6369[/C][C]0.6513[/C][C]0.4595[/C][/ROW]
[ROW][C]p-value[/C][C](0)[/C][C](0)[/C][C](0)[/C][/ROW]
[ROW][C]vooruitzichten;werkloosheid[/C][C]0.067[/C][C]0.1035[/C][C]0.0429[/C][/ROW]
[ROW][C]p-value[/C][C](0.6112)[/C][C](0.4311)[/C][C](0.6361)[/C][/ROW]
[ROW][C]vooruitzichten;financiën[/C][C]0.7014[/C][C]0.5943[/C][C]0.4492[/C][/ROW]
[ROW][C]p-value[/C][C](0)[/C][C](0)[/C][C](0)[/C][/ROW]
[ROW][C]vooruitzichten;spaarvermogen[/C][C]0.4874[/C][C]0.4316[/C][C]0.2616[/C][/ROW]
[ROW][C]p-value[/C][C](1e-04)[/C][C](6e-04)[/C][C](0.0044)[/C][/ROW]
[ROW][C]werkloosheid;financiën[/C][C]-0.2831[/C][C]-0.2094[/C][C]-0.1723[/C][/ROW]
[ROW][C]p-value[/C][C](0.0284)[/C][C](0.1084)[/C][C](0.064)[/C][/ROW]
[ROW][C]werkloosheid;spaarvermogen[/C][C]-0.2645[/C][C]-0.157[/C][C]-0.115[/C][/ROW]
[ROW][C]p-value[/C][C](0.0412)[/C][C](0.2308)[/C][C](0.2074)[/C][/ROW]
[ROW][C]financiën;spaarvermogen[/C][C]0.8517[/C][C]0.871[/C][C]0.728[/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=115313&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=115313&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
indicator;vooruitzichten0.45460.4230.3384
p-value(3e-04)(8e-04)(2e-04)
indicator;werkloosheid-0.8355-0.7448-0.6112
p-value(0)(0)(0)
indicator;financiën0.71870.74310.5724
p-value(0)(0)(0)
indicator;spaarvermogen0.63690.65130.4595
p-value(0)(0)(0)
vooruitzichten;werkloosheid0.0670.10350.0429
p-value(0.6112)(0.4311)(0.6361)
vooruitzichten;financiën0.70140.59430.4492
p-value(0)(0)(0)
vooruitzichten;spaarvermogen0.48740.43160.2616
p-value(1e-04)(6e-04)(0.0044)
werkloosheid;financiën-0.2831-0.2094-0.1723
p-value(0.0284)(0.1084)(0.064)
werkloosheid;spaarvermogen-0.2645-0.157-0.115
p-value(0.0412)(0.2308)(0.2074)
financiën;spaarvermogen0.85170.8710.728
p-value(0)(0)(0)



Parameters (Session):
par1 = pearson ;
Parameters (R input):
par1 = pearson ;
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')