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 computationTue, 11 Dec 2012 17:53:31 -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/2012/Dec/11/t1355266454v1odbbfw70b2mib.htm/, Retrieved Thu, 25 Apr 2024 05:26:50 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=198726, Retrieved Thu, 25 Apr 2024 05:26:50 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact87
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...] [2012-12-11 22:53:31] [a1c9ee8128156b02a669e54abb47d426] [Current]
-   P       [Kendall tau Correlation Matrix] [Pearson correlati...] [2012-12-11 22:58:01] [0f86cfddc502cf698caf54991235c44d]
Feedback Forum

Post a new message
Dataseries X:
-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
-2	3	16	0	6
-3	-3	15	0	6
1	4	8	3	6
-2	-5	5	-2	2
-1	-1	6	0	2
1	5	5	1	2
-3	0	12	-1	3
-4	-6	8	-2	-1
-9	-13	17	-1	-4
-9	-15	22	-1	4
-7	-8	24	1	5
-14	-20	36	-2	3
-12	-10	31	-5	-1
-16	-22	34	-5	-4
-20	-25	47	-6	0
-12	-10	33	-4	-1
-12	-8	35	-3	-1
-10	-9	31	-3	3
-10	-5	35	-1	2
-13	-7	39	-2	-4
-16	-11	46	-3	-3
-14	-11	40	-3	-1
-17	-16	50	-3	3
-24	-28	62	-5	-2




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
R Framework error message
The field 'Names of X columns' contains a hard return which cannot be interpreted.
Please, resubmit your request without hard returns in the 'Names of X columns'.

\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
R Framework error message & 
The field 'Names of X columns' contains a hard return which cannot be interpreted.
Please, resubmit your request without hard returns in the 'Names of X columns'.
\tabularnewline \hline \end{tabular} %Source: https://freestatistics.org/blog/index.php?pk=198726&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]
[ROW][C]R Framework error message[/C][C]
The field 'Names of X columns' contains a hard return which cannot be interpreted.
Please, resubmit your request without hard returns in the 'Names of X columns'.
[/C][/ROW] [/TABLE] Source: https://freestatistics.org/blog/index.php?pk=198726&T=0

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=198726&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
R Framework error message
The field 'Names of X columns' contains a hard return which cannot be interpreted.
Please, resubmit your request without hard returns in the 'Names of X columns'.







Correlations for all pairs of data series (method=pearson)
Consumer_confidence_indicatorGeneral_economic_situationUnemployment_in_BelgiumFinancial_situation_of_householdsSaving_capacity_of_households
Consumer_confidence_indicator10.522-0.8360.5020.371
General_economic_situation0.52210.0110.7980.553
Unemployment_in_Belgium-0.8360.0111-0.0230.022
Financial_situation_of_households0.5020.798-0.02310.661
Saving_capacity_of_households 0.3710.5530.0220.6611

\begin{tabular}{lllllllll}
\hline
Correlations for all pairs of data series (method=pearson) \tabularnewline
  & Consumer_confidence_indicator & General_economic_situation & Unemployment_in_Belgium & Financial_situation_of_households & Saving_capacity_of_households
 \tabularnewline
Consumer_confidence_indicator & 1 & 0.522 & -0.836 & 0.502 & 0.371 \tabularnewline
General_economic_situation & 0.522 & 1 & 0.011 & 0.798 & 0.553 \tabularnewline
Unemployment_in_Belgium & -0.836 & 0.011 & 1 & -0.023 & 0.022 \tabularnewline
Financial_situation_of_households & 0.502 & 0.798 & -0.023 & 1 & 0.661 \tabularnewline
Saving_capacity_of_households
 & 0.371 & 0.553 & 0.022 & 0.661 & 1 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=198726&T=1

[TABLE]
[ROW][C]Correlations for all pairs of data series (method=pearson)[/C][/ROW]
[ROW][C] [/C][C]Consumer_confidence_indicator[/C][C]General_economic_situation[/C][C]Unemployment_in_Belgium[/C][C]Financial_situation_of_households[/C][C]Saving_capacity_of_households
[/C][/ROW]
[ROW][C]Consumer_confidence_indicator[/C][C]1[/C][C]0.522[/C][C]-0.836[/C][C]0.502[/C][C]0.371[/C][/ROW]
[ROW][C]General_economic_situation[/C][C]0.522[/C][C]1[/C][C]0.011[/C][C]0.798[/C][C]0.553[/C][/ROW]
[ROW][C]Unemployment_in_Belgium[/C][C]-0.836[/C][C]0.011[/C][C]1[/C][C]-0.023[/C][C]0.022[/C][/ROW]
[ROW][C]Financial_situation_of_households[/C][C]0.502[/C][C]0.798[/C][C]-0.023[/C][C]1[/C][C]0.661[/C][/ROW]
[ROW][C]Saving_capacity_of_households
[/C][C]0.371[/C][C]0.553[/C][C]0.022[/C][C]0.661[/C][C]1[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=198726&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=198726&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)
Consumer_confidence_indicatorGeneral_economic_situationUnemployment_in_BelgiumFinancial_situation_of_householdsSaving_capacity_of_households
Consumer_confidence_indicator10.522-0.8360.5020.371
General_economic_situation0.52210.0110.7980.553
Unemployment_in_Belgium-0.8360.0111-0.0230.022
Financial_situation_of_households0.5020.798-0.02310.661
Saving_capacity_of_households 0.3710.5530.0220.6611







Correlations for all pairs of data series with p-values
pairPearson rSpearman rhoKendall tau
Consumer_confidence_indicator;General_economic_situation0.52250.49490.3607
p-value(0)(1e-04)(1e-04)
Consumer_confidence_indicator;Unemployment_in_Belgium-0.8364-0.8482-0.6682
p-value(0)(0)(0)
Consumer_confidence_indicator;Financial_situation_of_households0.50190.47560.353
p-value(0)(1e-04)(2e-04)
Consumer_confidence_indicator;Saving_capacity_of_households 0.37130.33730.2383
p-value(0.0035)(0.0084)(0.011)
General_economic_situation;Unemployment_in_Belgium0.011-0.0026-0.0121
p-value(0.9333)(0.9842)(0.8933)
General_economic_situation;Financial_situation_of_households0.79810.79890.6388
p-value(0)(0)(0)
General_economic_situation;Saving_capacity_of_households 0.55250.56750.396
p-value(0)(0)(0)
Unemployment_in_Belgium;Financial_situation_of_households-0.0231-0.0183-0.0206
p-value(0.8611)(0.8895)(0.8264)
Unemployment_in_Belgium;Saving_capacity_of_households 0.02220.02670.0185
p-value(0.8662)(0.8393)(0.842)
Financial_situation_of_households;Saving_capacity_of_households 0.66070.67230.5244
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
Consumer_confidence_indicator;General_economic_situation & 0.5225 & 0.4949 & 0.3607 \tabularnewline
p-value & (0) & (1e-04) & (1e-04) \tabularnewline
Consumer_confidence_indicator;Unemployment_in_Belgium & -0.8364 & -0.8482 & -0.6682 \tabularnewline
p-value & (0) & (0) & (0) \tabularnewline
Consumer_confidence_indicator;Financial_situation_of_households & 0.5019 & 0.4756 & 0.353 \tabularnewline
p-value & (0) & (1e-04) & (2e-04) \tabularnewline
Consumer_confidence_indicator;Saving_capacity_of_households
 & 0.3713 & 0.3373 & 0.2383 \tabularnewline
p-value & (0.0035) & (0.0084) & (0.011) \tabularnewline
General_economic_situation;Unemployment_in_Belgium & 0.011 & -0.0026 & -0.0121 \tabularnewline
p-value & (0.9333) & (0.9842) & (0.8933) \tabularnewline
General_economic_situation;Financial_situation_of_households & 0.7981 & 0.7989 & 0.6388 \tabularnewline
p-value & (0) & (0) & (0) \tabularnewline
General_economic_situation;Saving_capacity_of_households
 & 0.5525 & 0.5675 & 0.396 \tabularnewline
p-value & (0) & (0) & (0) \tabularnewline
Unemployment_in_Belgium;Financial_situation_of_households & -0.0231 & -0.0183 & -0.0206 \tabularnewline
p-value & (0.8611) & (0.8895) & (0.8264) \tabularnewline
Unemployment_in_Belgium;Saving_capacity_of_households
 & 0.0222 & 0.0267 & 0.0185 \tabularnewline
p-value & (0.8662) & (0.8393) & (0.842) \tabularnewline
Financial_situation_of_households;Saving_capacity_of_households
 & 0.6607 & 0.6723 & 0.5244 \tabularnewline
p-value & (0) & (0) & (0) \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=198726&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]Consumer_confidence_indicator;General_economic_situation[/C][C]0.5225[/C][C]0.4949[/C][C]0.3607[/C][/ROW]
[ROW][C]p-value[/C][C](0)[/C][C](1e-04)[/C][C](1e-04)[/C][/ROW]
[ROW][C]Consumer_confidence_indicator;Unemployment_in_Belgium[/C][C]-0.8364[/C][C]-0.8482[/C][C]-0.6682[/C][/ROW]
[ROW][C]p-value[/C][C](0)[/C][C](0)[/C][C](0)[/C][/ROW]
[ROW][C]Consumer_confidence_indicator;Financial_situation_of_households[/C][C]0.5019[/C][C]0.4756[/C][C]0.353[/C][/ROW]
[ROW][C]p-value[/C][C](0)[/C][C](1e-04)[/C][C](2e-04)[/C][/ROW]
[ROW][C]Consumer_confidence_indicator;Saving_capacity_of_households
[/C][C]0.3713[/C][C]0.3373[/C][C]0.2383[/C][/ROW]
[ROW][C]p-value[/C][C](0.0035)[/C][C](0.0084)[/C][C](0.011)[/C][/ROW]
[ROW][C]General_economic_situation;Unemployment_in_Belgium[/C][C]0.011[/C][C]-0.0026[/C][C]-0.0121[/C][/ROW]
[ROW][C]p-value[/C][C](0.9333)[/C][C](0.9842)[/C][C](0.8933)[/C][/ROW]
[ROW][C]General_economic_situation;Financial_situation_of_households[/C][C]0.7981[/C][C]0.7989[/C][C]0.6388[/C][/ROW]
[ROW][C]p-value[/C][C](0)[/C][C](0)[/C][C](0)[/C][/ROW]
[ROW][C]General_economic_situation;Saving_capacity_of_households
[/C][C]0.5525[/C][C]0.5675[/C][C]0.396[/C][/ROW]
[ROW][C]p-value[/C][C](0)[/C][C](0)[/C][C](0)[/C][/ROW]
[ROW][C]Unemployment_in_Belgium;Financial_situation_of_households[/C][C]-0.0231[/C][C]-0.0183[/C][C]-0.0206[/C][/ROW]
[ROW][C]p-value[/C][C](0.8611)[/C][C](0.8895)[/C][C](0.8264)[/C][/ROW]
[ROW][C]Unemployment_in_Belgium;Saving_capacity_of_households
[/C][C]0.0222[/C][C]0.0267[/C][C]0.0185[/C][/ROW]
[ROW][C]p-value[/C][C](0.8662)[/C][C](0.8393)[/C][C](0.842)[/C][/ROW]
[ROW][C]Financial_situation_of_households;Saving_capacity_of_households
[/C][C]0.6607[/C][C]0.6723[/C][C]0.5244[/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=198726&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=198726&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
Consumer_confidence_indicator;General_economic_situation0.52250.49490.3607
p-value(0)(1e-04)(1e-04)
Consumer_confidence_indicator;Unemployment_in_Belgium-0.8364-0.8482-0.6682
p-value(0)(0)(0)
Consumer_confidence_indicator;Financial_situation_of_households0.50190.47560.353
p-value(0)(1e-04)(2e-04)
Consumer_confidence_indicator;Saving_capacity_of_households 0.37130.33730.2383
p-value(0.0035)(0.0084)(0.011)
General_economic_situation;Unemployment_in_Belgium0.011-0.0026-0.0121
p-value(0.9333)(0.9842)(0.8933)
General_economic_situation;Financial_situation_of_households0.79810.79890.6388
p-value(0)(0)(0)
General_economic_situation;Saving_capacity_of_households 0.55250.56750.396
p-value(0)(0)(0)
Unemployment_in_Belgium;Financial_situation_of_households-0.0231-0.0183-0.0206
p-value(0.8611)(0.8895)(0.8264)
Unemployment_in_Belgium;Saving_capacity_of_households 0.02220.02670.0185
p-value(0.8662)(0.8393)(0.842)
Financial_situation_of_households;Saving_capacity_of_households 0.66070.67230.5244
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')