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, 14 Dec 2010 16:09:28 +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/14/t1292343071dv5jgepv2ob6sfs.htm/, Retrieved Thu, 02 May 2024 23:07:24 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=109813, Retrieved Thu, 02 May 2024 23:07:24 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact97
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] [Correlatiematrix ...] [2010-12-12 18:46:13] [c289bfbb56808c5d93a0f55b5d39f5bd]
-   P       [Kendall tau Correlation Matrix] [Correlatiematrix ...] [2010-12-14 16:09:28] [3ee4962e6ce79244b15c133e74cea133] [Current]
Feedback Forum

Post a new message
Dataseries X:
1	3	4	4	2
1	3	2	2	2
1	3	5	5	4
1	5	4	5	3
2	3	1	1	2
1	2	2	4	1
4	3	5	6	4
1	2	1	5	3
1	2	3	4	1
2	3	5	5	4
1	7	2	7	4
1	4	2	2	4
2	6	2	7	3
1	2	2	5	4
1	4	1	5	1
1	4	4	7	4
1	2	3	3	1
1	6	6	6	4
1	1	1	2	4
2	3	3	6	3
1	2	2	1	2
2	5	5	5	6
1	3	5	4	5
2	5	3	4	4
1	1	3	7	6
1	7	5	7	1
1	2	5	5	2
2	5	4	6	4
1	5	2	5	4
1	1	1	1	1
2	4	4	6	2
1	5	6	4	1
1	2	2	2	2
1	1	3	2	2
1	5	2	6	2
2	7	4	6	6
1	4	2	6	2
1	1	1	1	1
1	5	5	6	4
1	5	5	6	3
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2	5	2
1	1	2	5	1
1	6	6	6	3
1	2	2	4	3
1	2	2	2	2
2	1	1	4	5
1	2	5	5	2
1	4	3	5	5
3	3	6	5	4
1	1	1	5	1
1	4	2	2	2
1	2	3	5	2
1	2	2	1	3
2	2	3	3	4
1	1	7	7	2




Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time2 seconds
R Server'Sir Ronald Aylmer Fisher' @ 193.190.124.24

\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 & 'Sir Ronald Aylmer Fisher' @ 193.190.124.24 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=109813&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]'Sir Ronald Aylmer Fisher' @ 193.190.124.24[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=109813&T=0

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=109813&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'Sir Ronald Aylmer Fisher' @ 193.190.124.24







Correlations for all pairs of data series (method=pearson)
Depressedhigh-strungcannotdoworrytoomuchlimitactivity
Depressed10.1670.2090.2110.228
high-strung0.16710.3080.4790.325
cannotdo0.2090.30810.290.276
worrytoomuch0.2110.4790.2910.221
limitactivity0.2280.3250.2760.2211

\begin{tabular}{lllllllll}
\hline
Correlations for all pairs of data series (method=pearson) \tabularnewline
  & Depressed & high-strung & cannotdo & worrytoomuch & limitactivity \tabularnewline
Depressed & 1 & 0.167 & 0.209 & 0.211 & 0.228 \tabularnewline
high-strung & 0.167 & 1 & 0.308 & 0.479 & 0.325 \tabularnewline
cannotdo & 0.209 & 0.308 & 1 & 0.29 & 0.276 \tabularnewline
worrytoomuch & 0.211 & 0.479 & 0.29 & 1 & 0.221 \tabularnewline
limitactivity & 0.228 & 0.325 & 0.276 & 0.221 & 1 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=109813&T=1

[TABLE]
[ROW][C]Correlations for all pairs of data series (method=pearson)[/C][/ROW]
[ROW][C] [/C][C]Depressed[/C][C]high-strung[/C][C]cannotdo[/C][C]worrytoomuch[/C][C]limitactivity[/C][/ROW]
[ROW][C]Depressed[/C][C]1[/C][C]0.167[/C][C]0.209[/C][C]0.211[/C][C]0.228[/C][/ROW]
[ROW][C]high-strung[/C][C]0.167[/C][C]1[/C][C]0.308[/C][C]0.479[/C][C]0.325[/C][/ROW]
[ROW][C]cannotdo[/C][C]0.209[/C][C]0.308[/C][C]1[/C][C]0.29[/C][C]0.276[/C][/ROW]
[ROW][C]worrytoomuch[/C][C]0.211[/C][C]0.479[/C][C]0.29[/C][C]1[/C][C]0.221[/C][/ROW]
[ROW][C]limitactivity[/C][C]0.228[/C][C]0.325[/C][C]0.276[/C][C]0.221[/C][C]1[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=109813&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=109813&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)
Depressedhigh-strungcannotdoworrytoomuchlimitactivity
Depressed10.1670.2090.2110.228
high-strung0.16710.3080.4790.325
cannotdo0.2090.30810.290.276
worrytoomuch0.2110.4790.2910.221
limitactivity0.2280.3250.2760.2211







Correlations for all pairs of data series with p-values
pairPearson rSpearman rhoKendall tau
Depressed;high-strung0.1670.19760.1716
p-value(0.0366)(0.0131)(0.014)
Depressed;cannotdo0.20920.19530.1722
p-value(0.0085)(0.0142)(0.0137)
Depressed;worrytoomuch0.21060.23160.2025
p-value(0.0081)(0.0035)(0.0036)
Depressed;limitactivity0.22790.19370.1721
p-value(0.0041)(0.0151)(0.015)
high-strung;cannotdo0.30760.33810.2802
p-value(1e-04)(0)(0)
high-strung;worrytoomuch0.47880.47290.3933
p-value(0)(0)(0)
high-strung;limitactivity0.3250.33550.2761
p-value(0)(0)(0)
cannotdo;worrytoomuch0.28980.3130.2533
p-value(2e-04)(1e-04)(1e-04)
cannotdo;limitactivity0.27650.2930.2392
p-value(5e-04)(2e-04)(2e-04)
worrytoomuch;limitactivity0.2210.21060.1655
p-value(0.0054)(0.0081)(0.0093)

\begin{tabular}{lllllllll}
\hline
Correlations for all pairs of data series with p-values \tabularnewline
pair & Pearson r & Spearman rho & Kendall tau \tabularnewline
Depressed;high-strung & 0.167 & 0.1976 & 0.1716 \tabularnewline
p-value & (0.0366) & (0.0131) & (0.014) \tabularnewline
Depressed;cannotdo & 0.2092 & 0.1953 & 0.1722 \tabularnewline
p-value & (0.0085) & (0.0142) & (0.0137) \tabularnewline
Depressed;worrytoomuch & 0.2106 & 0.2316 & 0.2025 \tabularnewline
p-value & (0.0081) & (0.0035) & (0.0036) \tabularnewline
Depressed;limitactivity & 0.2279 & 0.1937 & 0.1721 \tabularnewline
p-value & (0.0041) & (0.0151) & (0.015) \tabularnewline
high-strung;cannotdo & 0.3076 & 0.3381 & 0.2802 \tabularnewline
p-value & (1e-04) & (0) & (0) \tabularnewline
high-strung;worrytoomuch & 0.4788 & 0.4729 & 0.3933 \tabularnewline
p-value & (0) & (0) & (0) \tabularnewline
high-strung;limitactivity & 0.325 & 0.3355 & 0.2761 \tabularnewline
p-value & (0) & (0) & (0) \tabularnewline
cannotdo;worrytoomuch & 0.2898 & 0.313 & 0.2533 \tabularnewline
p-value & (2e-04) & (1e-04) & (1e-04) \tabularnewline
cannotdo;limitactivity & 0.2765 & 0.293 & 0.2392 \tabularnewline
p-value & (5e-04) & (2e-04) & (2e-04) \tabularnewline
worrytoomuch;limitactivity & 0.221 & 0.2106 & 0.1655 \tabularnewline
p-value & (0.0054) & (0.0081) & (0.0093) \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=109813&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]Depressed;high-strung[/C][C]0.167[/C][C]0.1976[/C][C]0.1716[/C][/ROW]
[ROW][C]p-value[/C][C](0.0366)[/C][C](0.0131)[/C][C](0.014)[/C][/ROW]
[ROW][C]Depressed;cannotdo[/C][C]0.2092[/C][C]0.1953[/C][C]0.1722[/C][/ROW]
[ROW][C]p-value[/C][C](0.0085)[/C][C](0.0142)[/C][C](0.0137)[/C][/ROW]
[ROW][C]Depressed;worrytoomuch[/C][C]0.2106[/C][C]0.2316[/C][C]0.2025[/C][/ROW]
[ROW][C]p-value[/C][C](0.0081)[/C][C](0.0035)[/C][C](0.0036)[/C][/ROW]
[ROW][C]Depressed;limitactivity[/C][C]0.2279[/C][C]0.1937[/C][C]0.1721[/C][/ROW]
[ROW][C]p-value[/C][C](0.0041)[/C][C](0.0151)[/C][C](0.015)[/C][/ROW]
[ROW][C]high-strung;cannotdo[/C][C]0.3076[/C][C]0.3381[/C][C]0.2802[/C][/ROW]
[ROW][C]p-value[/C][C](1e-04)[/C][C](0)[/C][C](0)[/C][/ROW]
[ROW][C]high-strung;worrytoomuch[/C][C]0.4788[/C][C]0.4729[/C][C]0.3933[/C][/ROW]
[ROW][C]p-value[/C][C](0)[/C][C](0)[/C][C](0)[/C][/ROW]
[ROW][C]high-strung;limitactivity[/C][C]0.325[/C][C]0.3355[/C][C]0.2761[/C][/ROW]
[ROW][C]p-value[/C][C](0)[/C][C](0)[/C][C](0)[/C][/ROW]
[ROW][C]cannotdo;worrytoomuch[/C][C]0.2898[/C][C]0.313[/C][C]0.2533[/C][/ROW]
[ROW][C]p-value[/C][C](2e-04)[/C][C](1e-04)[/C][C](1e-04)[/C][/ROW]
[ROW][C]cannotdo;limitactivity[/C][C]0.2765[/C][C]0.293[/C][C]0.2392[/C][/ROW]
[ROW][C]p-value[/C][C](5e-04)[/C][C](2e-04)[/C][C](2e-04)[/C][/ROW]
[ROW][C]worrytoomuch;limitactivity[/C][C]0.221[/C][C]0.2106[/C][C]0.1655[/C][/ROW]
[ROW][C]p-value[/C][C](0.0054)[/C][C](0.0081)[/C][C](0.0093)[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=109813&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=109813&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
Depressed;high-strung0.1670.19760.1716
p-value(0.0366)(0.0131)(0.014)
Depressed;cannotdo0.20920.19530.1722
p-value(0.0085)(0.0142)(0.0137)
Depressed;worrytoomuch0.21060.23160.2025
p-value(0.0081)(0.0035)(0.0036)
Depressed;limitactivity0.22790.19370.1721
p-value(0.0041)(0.0151)(0.015)
high-strung;cannotdo0.30760.33810.2802
p-value(1e-04)(0)(0)
high-strung;worrytoomuch0.47880.47290.3933
p-value(0)(0)(0)
high-strung;limitactivity0.3250.33550.2761
p-value(0)(0)(0)
cannotdo;worrytoomuch0.28980.3130.2533
p-value(2e-04)(1e-04)(1e-04)
cannotdo;limitactivity0.27650.2930.2392
p-value(5e-04)(2e-04)(2e-04)
worrytoomuch;limitactivity0.2210.21060.1655
p-value(0.0054)(0.0081)(0.0093)



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