Free Statistics

of Irreproducible Research!

Author's title

Author*The author of this computation has been verified*
R Software ModulePatrick.Wessarwasp_pairs.wasp
Title produced by softwareKendall tau Correlation Matrix
Date of computationTue, 14 Dec 2010 00:43:04 +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/t12922873227l156f8iscd5cx1.htm/, Retrieved Thu, 02 May 2024 18:16:52 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=109244, Retrieved Thu, 02 May 2024 18:16:52 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact150
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]
-   PD    [Kendall tau Correlation Matrix] [WS10 kendall tau ...] [2010-12-14 00:43:04] [6df2229e3f2091de42c4a9cf9a617420] [Current]
Feedback Forum

Post a new message
Dataseries X:
2	3	3	1
2	4	3	4
4	4	2	1
2	2	2	2
3	2	3	2
4	3	2	2
3	2	1	1
3	3	3	3
3	3	2	4
2	3	2	2
4	3	3	2
4	4	2	4
3	2	2	4
3	2	2	2
4	1	3	3
4	1	1	2
3	3	3	1
3	2	2	2
3	2	3	2
4	3	4	4
2	4	2	3
5	4	3	4
4	3	5	1
2	2	2	4
3	3	2	2
4	4	3	2
4	3	2	2
3	2	2	3
4	1	2	3
4	3	2	2
1	2	3	3
4	4	4	3
5	4	1	2
2	5	3	2
4	2	3	1
3	4	2	4
2	4	1	4
4	2	1	1
5	4	2	5
4	4	2	3
4	2	2	2
4	3	1	2
3	2	2	2
4	4	1	3
2	3	2	1
2	1	2	2
4	2	4	4
2	5	2	5
4	2	2	2
4	4	2	3
1	4	1	2
4	2	2	4
2	2	2	2
1	2	1	1
4	4	5	3
3	3	2	4
2	4	2	2
4	2	2	3
3	3	1	2
2	2	3	1
2	2	1	1
3	3	1	2
2	2	2	1
1	3	3	2
3	2	2	1
2	4	2	4
3	2	2	4
3	5	4	3
3	1	1	1
2	3	2	3
3	2	2	2
2	2	2	2
4	3	2	3
4	4	2	3
4	4	1	4
2	2	2	2
3	3	2	1
4	4	2	2
3	2	2	2
4	2	1	4
2	4	4	1
3	2	2	2
3	4	3	2
4	2	2	1
2	3	1	4
4	4	2	2
2	3	2	2
2	1	1	1
4	3	2	4
3	2	1	2
4	2	2	4
2	1	1	1
2	3	2	2
3	2	2	4
3	3	3	3
5	5	4	4
2	3	1	4
3		3	4
4	2	1	2
3	2	1	2
4	3	2	2
3	2	1	2
3	2	3	2
2	2	2	3
3	3	2	2
2	5	1	4
3	2	2	4
2	3	2	2
4	3	1	2
2	1	2	2
4	1	2	1
4	3	4	4
1	4	3	1
5	5	2	4
2	3	5	1
3	3	1	2
4	3	2	1
1	2	1	1
5	3	2	4
3	2	1	4
3	3	1	1
3	2	2	1
3	4	2	2
2	2	2	1
2	2	3	2
4	4	2	2
4	4	1	2
3	3	2	2
3	3	2	2
3	3	3	4
4	4	2	4
3	2	2	1
4	1	2	1
4	3	1	1
2	2	2	4
4	3	2	2
2	2	2	3
4	2	3	1
3	3	1	2
3	2	3	1
2	4	4	4
2	4	2	4
5	2	5	3
2	2	1	3
4	3	2	2
3	4		3
3	4	2	3
3	4	2	3
3	1	3	2
4	4	2	2
4	4	1	3
4	3	2	4
4	1	1	5
4	2	2	2
5	2	3	2
3	2	2	2
3	3	2	4
4	3	2	2
4	3	4	4




Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time1 seconds
R Server'Gwilym Jenkins' @ 72.249.127.135
R Framework error message
Warning: there are blank lines in the 'Data X' field.
Please, use NA for missing data - blank lines are simply
 deleted and are NOT treated as missing values.

\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 & 'Gwilym Jenkins' @ 72.249.127.135 \tabularnewline
R Framework error message & 
Warning: there are blank lines in the 'Data X' field.
Please, use NA for missing data - blank lines are simply
 deleted and are NOT treated as missing values.
\tabularnewline \hline \end{tabular} %Source: https://freestatistics.org/blog/index.php?pk=109244&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]'Gwilym Jenkins' @ 72.249.127.135[/C][/ROW]
[ROW][C]R Framework error message[/C][C]
Warning: there are blank lines in the 'Data X' field.
Please, use NA for missing data - blank lines are simply
 deleted and are NOT treated as missing values.
[/C][/ROW] [/TABLE] Source: https://freestatistics.org/blog/index.php?pk=109244&T=0

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=109244&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'Gwilym Jenkins' @ 72.249.127.135
R Framework error message
Warning: there are blank lines in the 'Data X' field.
Please, use NA for missing data - blank lines are simply
 deleted and are NOT treated as missing values.







Correlations for all pairs of data series (method=pearson)
verw/oudersverw/studentbegrip/oudersbegrip/student
verw/ouders10.1010.070.071
verw/student0.10110.1750.04
begrip/ouders0.070.17510.043
begrip/student0.0710.040.0431

\begin{tabular}{lllllllll}
\hline
Correlations for all pairs of data series (method=pearson) \tabularnewline
  & verw/ouders & verw/student & begrip/ouders & begrip/student \tabularnewline
verw/ouders & 1 & 0.101 & 0.07 & 0.071 \tabularnewline
verw/student & 0.101 & 1 & 0.175 & 0.04 \tabularnewline
begrip/ouders & 0.07 & 0.175 & 1 & 0.043 \tabularnewline
begrip/student & 0.071 & 0.04 & 0.043 & 1 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=109244&T=1

[TABLE]
[ROW][C]Correlations for all pairs of data series (method=pearson)[/C][/ROW]
[ROW][C] [/C][C]verw/ouders[/C][C]verw/student[/C][C]begrip/ouders[/C][C]begrip/student[/C][/ROW]
[ROW][C]verw/ouders[/C][C]1[/C][C]0.101[/C][C]0.07[/C][C]0.071[/C][/ROW]
[ROW][C]verw/student[/C][C]0.101[/C][C]1[/C][C]0.175[/C][C]0.04[/C][/ROW]
[ROW][C]begrip/ouders[/C][C]0.07[/C][C]0.175[/C][C]1[/C][C]0.043[/C][/ROW]
[ROW][C]begrip/student[/C][C]0.071[/C][C]0.04[/C][C]0.043[/C][C]1[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=109244&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=109244&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)
verw/oudersverw/studentbegrip/oudersbegrip/student
verw/ouders10.1010.070.071
verw/student0.10110.1750.04
begrip/ouders0.070.17510.043
begrip/student0.0710.040.0431







Correlations for all pairs of data series with p-values
pairPearson rSpearman rhoKendall tau
verw/ouders;verw/student0.10120.10280.0896
p-value(0.2045)(0.1974)(0.1814)
verw/ouders;begrip/ouders0.06950.05320.0443
p-value(0.3837)(0.5055)(0.5108)
verw/ouders;begrip/student0.07110.05990.0514
p-value(0.3728)(0.453)(0.4411)
verw/student;begrip/ouders0.17470.16120.1373
p-value(0.0277)(0.0423)(0.0405)
verw/student;begrip/student0.03970.02650.022
p-value(0.6195)(0.7404)(0.7398)
begrip/ouders;begrip/student0.0430.05440.0468
p-value(0.5903)(0.496)(0.4832)

\begin{tabular}{lllllllll}
\hline
Correlations for all pairs of data series with p-values \tabularnewline
pair & Pearson r & Spearman rho & Kendall tau \tabularnewline
verw/ouders;verw/student & 0.1012 & 0.1028 & 0.0896 \tabularnewline
p-value & (0.2045) & (0.1974) & (0.1814) \tabularnewline
verw/ouders;begrip/ouders & 0.0695 & 0.0532 & 0.0443 \tabularnewline
p-value & (0.3837) & (0.5055) & (0.5108) \tabularnewline
verw/ouders;begrip/student & 0.0711 & 0.0599 & 0.0514 \tabularnewline
p-value & (0.3728) & (0.453) & (0.4411) \tabularnewline
verw/student;begrip/ouders & 0.1747 & 0.1612 & 0.1373 \tabularnewline
p-value & (0.0277) & (0.0423) & (0.0405) \tabularnewline
verw/student;begrip/student & 0.0397 & 0.0265 & 0.022 \tabularnewline
p-value & (0.6195) & (0.7404) & (0.7398) \tabularnewline
begrip/ouders;begrip/student & 0.043 & 0.0544 & 0.0468 \tabularnewline
p-value & (0.5903) & (0.496) & (0.4832) \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=109244&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]verw/ouders;verw/student[/C][C]0.1012[/C][C]0.1028[/C][C]0.0896[/C][/ROW]
[ROW][C]p-value[/C][C](0.2045)[/C][C](0.1974)[/C][C](0.1814)[/C][/ROW]
[ROW][C]verw/ouders;begrip/ouders[/C][C]0.0695[/C][C]0.0532[/C][C]0.0443[/C][/ROW]
[ROW][C]p-value[/C][C](0.3837)[/C][C](0.5055)[/C][C](0.5108)[/C][/ROW]
[ROW][C]verw/ouders;begrip/student[/C][C]0.0711[/C][C]0.0599[/C][C]0.0514[/C][/ROW]
[ROW][C]p-value[/C][C](0.3728)[/C][C](0.453)[/C][C](0.4411)[/C][/ROW]
[ROW][C]verw/student;begrip/ouders[/C][C]0.1747[/C][C]0.1612[/C][C]0.1373[/C][/ROW]
[ROW][C]p-value[/C][C](0.0277)[/C][C](0.0423)[/C][C](0.0405)[/C][/ROW]
[ROW][C]verw/student;begrip/student[/C][C]0.0397[/C][C]0.0265[/C][C]0.022[/C][/ROW]
[ROW][C]p-value[/C][C](0.6195)[/C][C](0.7404)[/C][C](0.7398)[/C][/ROW]
[ROW][C]begrip/ouders;begrip/student[/C][C]0.043[/C][C]0.0544[/C][C]0.0468[/C][/ROW]
[ROW][C]p-value[/C][C](0.5903)[/C][C](0.496)[/C][C](0.4832)[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=109244&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=109244&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
verw/ouders;verw/student0.10120.10280.0896
p-value(0.2045)(0.1974)(0.1814)
verw/ouders;begrip/ouders0.06950.05320.0443
p-value(0.3837)(0.5055)(0.5108)
verw/ouders;begrip/student0.07110.05990.0514
p-value(0.3728)(0.453)(0.4411)
verw/student;begrip/ouders0.17470.16120.1373
p-value(0.0277)(0.0423)(0.0405)
verw/student;begrip/student0.03970.02650.022
p-value(0.6195)(0.7404)(0.7398)
begrip/ouders;begrip/student0.0430.05440.0468
p-value(0.5903)(0.496)(0.4832)



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