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 computationThu, 15 Dec 2011 04:35:02 -0500
Cite this page as followsStatistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?v=date/2011/Dec/15/t1323941732rt680to54bv3toc.htm/, Retrieved Wed, 08 May 2024 14:16:14 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=155300, Retrieved Wed, 08 May 2024 14:16:14 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact120
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]
- RMPD    [Kendall tau Correlation Matrix] [pearson correlati...] [2011-12-15 09:35:02] [cfea828c93f35e07cca4521b1fb38047] [Current]
Feedback Forum

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




Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time1 seconds
R Server'Herman Ole Andreas Wold' @ wold.wessa.net

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

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







Correlations for all pairs of data series (method=pearson)
consumentenvertrouweneconomieWerkloosheidFinanciënSpaarvermogen
consumentenvertrouwen10.474-0.850.5910.512
economie0.47410.0320.7260.507
Werkloosheid-0.850.0321-0.158-0.149
Financiën0.5910.726-0.15810.778
Spaarvermogen0.5120.507-0.1490.7781

\begin{tabular}{lllllllll}
\hline
Correlations for all pairs of data series (method=pearson) \tabularnewline
  & consumentenvertrouwen & economie & Werkloosheid & Financiën & Spaarvermogen \tabularnewline
consumentenvertrouwen & 1 & 0.474 & -0.85 & 0.591 & 0.512 \tabularnewline
economie & 0.474 & 1 & 0.032 & 0.726 & 0.507 \tabularnewline
Werkloosheid & -0.85 & 0.032 & 1 & -0.158 & -0.149 \tabularnewline
Financiën & 0.591 & 0.726 & -0.158 & 1 & 0.778 \tabularnewline
Spaarvermogen & 0.512 & 0.507 & -0.149 & 0.778 & 1 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=155300&T=1

[TABLE]
[ROW][C]Correlations for all pairs of data series (method=pearson)[/C][/ROW]
[ROW][C] [/C][C]consumentenvertrouwen[/C][C]economie[/C][C]Werkloosheid[/C][C]Financiën[/C][C]Spaarvermogen[/C][/ROW]
[ROW][C]consumentenvertrouwen[/C][C]1[/C][C]0.474[/C][C]-0.85[/C][C]0.591[/C][C]0.512[/C][/ROW]
[ROW][C]economie[/C][C]0.474[/C][C]1[/C][C]0.032[/C][C]0.726[/C][C]0.507[/C][/ROW]
[ROW][C]Werkloosheid[/C][C]-0.85[/C][C]0.032[/C][C]1[/C][C]-0.158[/C][C]-0.149[/C][/ROW]
[ROW][C]Financiën[/C][C]0.591[/C][C]0.726[/C][C]-0.158[/C][C]1[/C][C]0.778[/C][/ROW]
[ROW][C]Spaarvermogen[/C][C]0.512[/C][C]0.507[/C][C]-0.149[/C][C]0.778[/C][C]1[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=155300&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=155300&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)
consumentenvertrouweneconomieWerkloosheidFinanciënSpaarvermogen
consumentenvertrouwen10.474-0.850.5910.512
economie0.47410.0320.7260.507
Werkloosheid-0.850.0321-0.158-0.149
Financiën0.5910.726-0.15810.778
Spaarvermogen0.5120.507-0.1490.7781







Correlations for all pairs of data series with p-values
pairPearson rSpearman rhoKendall tau
consumentenvertrouwen;economie0.47380.45710.35
p-value(1e-04)(2e-04)(1e-04)
consumentenvertrouwen;Werkloosheid-0.8497-0.7885-0.6167
p-value(0)(0)(0)
consumentenvertrouwen;Financiën0.59080.57670.4415
p-value(0)(0)(0)
consumentenvertrouwen;Spaarvermogen0.51170.49360.3626
p-value(0)(1e-04)(1e-04)
economie;Werkloosheid0.03240.04490.0179
p-value(0.8061)(0.7332)(0.843)
economie;Financiën0.7260.70240.5375
p-value(0)(0)(0)
economie;Spaarvermogen0.50690.49590.3252
p-value(0)(1e-04)(4e-04)
Werkloosheid;Financiën-0.1577-0.0898-0.0694
p-value(0.2287)(0.4952)(0.4585)
Werkloosheid;Spaarvermogen-0.1494-0.055-0.0554
p-value(0.2545)(0.6765)(0.5467)
Financiën;Spaarvermogen0.77820.78490.6429
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
consumentenvertrouwen;economie & 0.4738 & 0.4571 & 0.35 \tabularnewline
p-value & (1e-04) & (2e-04) & (1e-04) \tabularnewline
consumentenvertrouwen;Werkloosheid & -0.8497 & -0.7885 & -0.6167 \tabularnewline
p-value & (0) & (0) & (0) \tabularnewline
consumentenvertrouwen;Financiën & 0.5908 & 0.5767 & 0.4415 \tabularnewline
p-value & (0) & (0) & (0) \tabularnewline
consumentenvertrouwen;Spaarvermogen & 0.5117 & 0.4936 & 0.3626 \tabularnewline
p-value & (0) & (1e-04) & (1e-04) \tabularnewline
economie;Werkloosheid & 0.0324 & 0.0449 & 0.0179 \tabularnewline
p-value & (0.8061) & (0.7332) & (0.843) \tabularnewline
economie;Financiën & 0.726 & 0.7024 & 0.5375 \tabularnewline
p-value & (0) & (0) & (0) \tabularnewline
economie;Spaarvermogen & 0.5069 & 0.4959 & 0.3252 \tabularnewline
p-value & (0) & (1e-04) & (4e-04) \tabularnewline
Werkloosheid;Financiën & -0.1577 & -0.0898 & -0.0694 \tabularnewline
p-value & (0.2287) & (0.4952) & (0.4585) \tabularnewline
Werkloosheid;Spaarvermogen & -0.1494 & -0.055 & -0.0554 \tabularnewline
p-value & (0.2545) & (0.6765) & (0.5467) \tabularnewline
Financiën;Spaarvermogen & 0.7782 & 0.7849 & 0.6429 \tabularnewline
p-value & (0) & (0) & (0) \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=155300&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]consumentenvertrouwen;economie[/C][C]0.4738[/C][C]0.4571[/C][C]0.35[/C][/ROW]
[ROW][C]p-value[/C][C](1e-04)[/C][C](2e-04)[/C][C](1e-04)[/C][/ROW]
[ROW][C]consumentenvertrouwen;Werkloosheid[/C][C]-0.8497[/C][C]-0.7885[/C][C]-0.6167[/C][/ROW]
[ROW][C]p-value[/C][C](0)[/C][C](0)[/C][C](0)[/C][/ROW]
[ROW][C]consumentenvertrouwen;Financiën[/C][C]0.5908[/C][C]0.5767[/C][C]0.4415[/C][/ROW]
[ROW][C]p-value[/C][C](0)[/C][C](0)[/C][C](0)[/C][/ROW]
[ROW][C]consumentenvertrouwen;Spaarvermogen[/C][C]0.5117[/C][C]0.4936[/C][C]0.3626[/C][/ROW]
[ROW][C]p-value[/C][C](0)[/C][C](1e-04)[/C][C](1e-04)[/C][/ROW]
[ROW][C]economie;Werkloosheid[/C][C]0.0324[/C][C]0.0449[/C][C]0.0179[/C][/ROW]
[ROW][C]p-value[/C][C](0.8061)[/C][C](0.7332)[/C][C](0.843)[/C][/ROW]
[ROW][C]economie;Financiën[/C][C]0.726[/C][C]0.7024[/C][C]0.5375[/C][/ROW]
[ROW][C]p-value[/C][C](0)[/C][C](0)[/C][C](0)[/C][/ROW]
[ROW][C]economie;Spaarvermogen[/C][C]0.5069[/C][C]0.4959[/C][C]0.3252[/C][/ROW]
[ROW][C]p-value[/C][C](0)[/C][C](1e-04)[/C][C](4e-04)[/C][/ROW]
[ROW][C]Werkloosheid;Financiën[/C][C]-0.1577[/C][C]-0.0898[/C][C]-0.0694[/C][/ROW]
[ROW][C]p-value[/C][C](0.2287)[/C][C](0.4952)[/C][C](0.4585)[/C][/ROW]
[ROW][C]Werkloosheid;Spaarvermogen[/C][C]-0.1494[/C][C]-0.055[/C][C]-0.0554[/C][/ROW]
[ROW][C]p-value[/C][C](0.2545)[/C][C](0.6765)[/C][C](0.5467)[/C][/ROW]
[ROW][C]Financiën;Spaarvermogen[/C][C]0.7782[/C][C]0.7849[/C][C]0.6429[/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=155300&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=155300&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
consumentenvertrouwen;economie0.47380.45710.35
p-value(1e-04)(2e-04)(1e-04)
consumentenvertrouwen;Werkloosheid-0.8497-0.7885-0.6167
p-value(0)(0)(0)
consumentenvertrouwen;Financiën0.59080.57670.4415
p-value(0)(0)(0)
consumentenvertrouwen;Spaarvermogen0.51170.49360.3626
p-value(0)(1e-04)(1e-04)
economie;Werkloosheid0.03240.04490.0179
p-value(0.8061)(0.7332)(0.843)
economie;Financiën0.7260.70240.5375
p-value(0)(0)(0)
economie;Spaarvermogen0.50690.49590.3252
p-value(0)(1e-04)(4e-04)
Werkloosheid;Financiën-0.1577-0.0898-0.0694
p-value(0.2287)(0.4952)(0.4585)
Werkloosheid;Spaarvermogen-0.1494-0.055-0.0554
p-value(0.2545)(0.6765)(0.5467)
Financiën;Spaarvermogen0.77820.78490.6429
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')