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, 22 Dec 2011 04:43:22 -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/22/t1324547028c2v9avdlfugkab7.htm/, Retrieved Fri, 03 May 2024 07:52:09 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=159207, Retrieved Fri, 03 May 2024 07:52:09 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact118
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 18:04:16] [b98453cac15ba1066b407e146608df68]
- RMPD    [Kendall tau Correlation Matrix] [PAPER: werklooshe...] [2011-12-22 09:43:22] [6baf48ba14bcb50d9e72b77bece8a45b] [Current]
-   PD      [Kendall tau Correlation Matrix] [PAPER: werklooshe...] [2011-12-22 09:44:21] [f0cb027b41af06223bae4ee77475f3bc]
Feedback Forum

Post a new message
Dataseries X:
0,072	0,0213
0,073	0,0218
0,073	0,0290
0,073	0,0263
0,074	0,0267
0,073	0,0181
0,074	0,0133
0,074	0,0088
0,076	0,0128
0,076	0,0126
0,077	0,0126
0,077	0,0129
0,078	0,0110
0,078	0,0137
0,080	0,0121
0,081	0,0174
0,081	0,0176
0,082	0,0148
0,081	0,0104
0,081	0,0162
0,081	0,0149
0,080	0,0179
0,082	0,0180
0,084	0,0158
0,084	0,0186
0,085	0,0174
0,086	0,0159
0,085	0,0126
0,083	0,0113
0,078	0,0192
0,078	0,0261
0,080	0,0226
0,086	0,0241
0,089	0,0226
0,089	0,0203
0,086	0,0286
0,083	0,0255
0,083	0,0227
0,083	0,0226
0,084	0,0257
0,085	0,0307
0,084	0,0276
0,086	0,0251
0,085	0,0287
0,085	0,0314
0,085	0,0311
0,085	0,0316
0,085	0,0247
0,085	0,0257
0,085	0,0289
0,085	0,0263
0,086	0,0238
0,086	0,0169
0,086	0,0196
0,086	0,0219
0,084	0,0187
0,080	0,0160
0,079	0,0163
0,080	0,0122
0,080	0,0121
0,080	0,0149
0,080	0,0164
0,079	0,0166
0,079	0,0177
0,079	0,0182
0,080	0,0178
0,079	0,0128
0,075	0,0129
0,072	0,0137
0,070	0,0112
0,069	0,0151
0,071	0,0224
0,071	0,0294
0,072	0,0309
0,071	0,0346
0,069	0,0364
0,068	0,0439
0,067	0,0415
0,067	0,0521
0,069	0,0580
0,073	0,0591
0,074	0,0539
0,073	0,0546
0,071	0,0472
0,070	0,0314
0,071	0,0263
0,075	0,0232
0,077	0,0193
0,078	0,0062
0,077	0,0060
0,077	-0,0037
0,078	-0,0110
0,080	-0,0168
0,081	-0,0078
0,081	-0,0119
0,080	-0,0097
0,081	-0,0012
0,082	0,0026
0,083	0,0062
0,084	0,0070
0,085	0,0166
0,085	0,0180
0,085	0,0227
0,085	0,0246
0,085	0,0257
0,083	0,0232
0,082	0,0291
0,081	0,0301
0,079	0,0286
0,076	0,0310
0,073	0,0322
0,071	0,0339
0,070	0,0352
0,070	0,0341
0,070	0,0335
0,070	0,0367
0,069	0,0375
0,068	0,0360
0,067	0,0355
0,066	0,0357




Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time1 seconds
R Server'Gertrude Mary Cox' @ cox.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 & 'Gertrude Mary Cox' @ cox.wessa.net \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=159207&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]'Gertrude Mary Cox' @ cox.wessa.net[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=159207&T=0

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=159207&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'Gertrude Mary Cox' @ cox.wessa.net







Correlations for all pairs of data series (method=kendall)
WerkloosheidsgraadInflatie
Werkloosheidsgraad1-0.173
Inflatie-0.1731

\begin{tabular}{lllllllll}
\hline
Correlations for all pairs of data series (method=kendall) \tabularnewline
  & Werkloosheidsgraad & Inflatie \tabularnewline
Werkloosheidsgraad & 1 & -0.173 \tabularnewline
Inflatie & -0.173 & 1 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=159207&T=1

[TABLE]
[ROW][C]Correlations for all pairs of data series (method=kendall)[/C][/ROW]
[ROW][C] [/C][C]Werkloosheidsgraad[/C][C]Inflatie[/C][/ROW]
[ROW][C]Werkloosheidsgraad[/C][C]1[/C][C]-0.173[/C][/ROW]
[ROW][C]Inflatie[/C][C]-0.173[/C][C]1[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=159207&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=159207&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)
WerkloosheidsgraadInflatie
Werkloosheidsgraad1-0.173
Inflatie-0.1731







Correlations for all pairs of data series with p-values
pairPearson rSpearman rhoKendall tau
Werkloosheidsgraad;Inflatie-0.3809-0.2719-0.1727
p-value(0)(0.0027)(0.0065)

\begin{tabular}{lllllllll}
\hline
Correlations for all pairs of data series with p-values \tabularnewline
pair & Pearson r & Spearman rho & Kendall tau \tabularnewline
Werkloosheidsgraad;Inflatie & -0.3809 & -0.2719 & -0.1727 \tabularnewline
p-value & (0) & (0.0027) & (0.0065) \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=159207&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]Werkloosheidsgraad;Inflatie[/C][C]-0.3809[/C][C]-0.2719[/C][C]-0.1727[/C][/ROW]
[ROW][C]p-value[/C][C](0)[/C][C](0.0027)[/C][C](0.0065)[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=159207&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=159207&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
Werkloosheidsgraad;Inflatie-0.3809-0.2719-0.1727
p-value(0)(0.0027)(0.0065)



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