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 computationFri, 10 Dec 2010 15:10:20 +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/10/t1291993715o473euacwl0376s.htm/, Retrieved Mon, 29 Apr 2024 10:56:14 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=107757, Retrieved Mon, 29 Apr 2024 10:56:14 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact129
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]
F R PD    [Kendall tau Correlation Matrix] [] [2010-12-10 15:10:20] [c2e23af56713b360851e64c7775b3f2b] [Current]
Feedback Forum
2010-12-19 17:04:51 [00c625c7d009d84797af914265b614f9] [reply
Correct,
Bij deze techniek is normaliteits geen assumptie.

Post a new message
Dataseries X:
24	26	38	23	10	11
25	23	36	15	10	11
30	25	23	25	10	11
19	23	30	18	10	11
22	19	26	21	10	11
22	29	26	19	10	11
25	25	30	15	13	12
23	21	27	22	10	11
17	22	34	19	10	11
21	25	28	20	13	9
19	24	36	26	10	11
19	18	42	26	10	11
15	22	31	21	10	11
23	22	26	19	10	11
27	28	16	19	13	12
14	12	23	19	10	11
23	20	45	28	10	11
19	21	30	27	10	11
18	23	45	18	10	11
20	28	30	19	10	11
23	24	24	24	10	11
25	24	29	21	13	12
19	24	30	22	13	9
24	23	31	25	10	11
25	29	34	15	10	11
26	24	41	34	10	11
29	18	37	23	10	11
32	25	33	19	10	11
29	26	48	15	10	11
28	22	44	15	10	11
17	22	29	17	10	11
28	22	44	30	13	9
26	30	43	28	10	11
25	23	31	23	10	11
14	17	28	23	10	11
25	23	26	21	10	11
26	23	30	18	10	11
20	25	27	19	15	11
18	24	34	24	10	11
32	24	47	15	10	11
25	21	37	24	13	16
21	24	27	20	10	11
20	28	30	20	10	11
30	20	36	44	10	11
24	29	39	20	10	11
26	27	32	20	10	11
24	22	25	20	10	11
22	28	19	11	10	11
14	16	29	21	10	11
24	25	26	21	13	9
24	24	31	19	13	12
24	28	31	21	10	11
24	24	31	17	10	11
22	24	39	19	10	11
27	21	28	21	10	11
19	25	22	16	10	11
25	25	31	19	10	11
20	22	36	19	10	11
21	23	28	16	10	11
27	26	39	24	10	11
25	25	35	21	10	11
20	21	33	20	10	11
21	25	27	19	10	11
22	24	33	23	10	11
23	29	31	18	10	11
25	22	39	19	10	11
25	27	37	23	10	11
17	26	24	19	10	11
25	24	28	26	13	12
19	27	37	13	13	12
20	24	32	23	10	11
26	24	31	16	13	12
23	29	29	17	13	12
27	22	40	30	10	11
17	24	40	22	10	11
19	24	15	14	10	11
17	23	27	14	13	9
22	20	32	21	13	9
21	27	28	21	10	11
32	26	41	33	10	11
21	25	47	23	10	11
21	21	42	30	10	11
18	19	32	21	11	17
23	21	33	25	10	11
20	16	29	29	10	11
20	29	37	21	10	11
17	15	39	16	10	11
18	17	29	17	10	11
19	15	33	23	10	11
15	21	31	18	13	9
14	19	21	19	10	11
18	24	36	28	10	11
35	17	32	29	10	11
29	23	15	19	10	11
25	14	25	25	13	9
20	19	28	15	10	11
22	24	39	24	10	11
13	13	31	12	13	9
26	22	40	11	10	11
17	16	25	19	10	11
25	19	36	25	10	11
20	25	23	12	10	11
19	25	39	15	10	11
21	23	31	25	10	11
22	24	23	14	10	11
24	26	31	19	10	11
21	26	28	23	13	9
26	25	47	19	13	9
16	21	25	20	10	11
23	26	26	16	13	9
18	23	24	13	12	18
21	13	30	22	10	11
21	24	25	21	13	16
23	14	44	18	15	13
21	10	38	44	10	11
21	24	36	12	10	11
23	22	34	28	13	12
27	24	45	17	13	16
21	20	29	18	10	11
10	13	25	21	10	11
20	20	30	24	10	11
26	22	27	20	10	11
24	24	44	24	10	11
24	20	31	33	10	11
22	22	35	25	10	11
17	20	47	35	10	11




Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time3 seconds
R Server'George Udny Yule' @ 72.249.76.132

\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 & 3 seconds \tabularnewline
R Server & 'George Udny Yule' @ 72.249.76.132 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=107757&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]3 seconds[/C][/ROW]
[ROW][C]R Server[/C][C]'George Udny Yule' @ 72.249.76.132[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=107757&T=0

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=107757&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 time3 seconds
R Server'George Udny Yule' @ 72.249.76.132







Correlations for all pairs of data series (method=kendall)
PSOCMDPEChappinessdepression
PS10.20.1770.1040.0440.093
O0.210.009-0.1620.0660.044
CMD0.1770.00910.196-0.0790.027
PEC0.104-0.1620.1961-0.115-0.055
happiness0.0440.066-0.079-0.11510.091
depression0.0930.0440.027-0.0550.0911

\begin{tabular}{lllllllll}
\hline
Correlations for all pairs of data series (method=kendall) \tabularnewline
  & PS & O & CMD & PEC & happiness & depression \tabularnewline
PS & 1 & 0.2 & 0.177 & 0.104 & 0.044 & 0.093 \tabularnewline
O & 0.2 & 1 & 0.009 & -0.162 & 0.066 & 0.044 \tabularnewline
CMD & 0.177 & 0.009 & 1 & 0.196 & -0.079 & 0.027 \tabularnewline
PEC & 0.104 & -0.162 & 0.196 & 1 & -0.115 & -0.055 \tabularnewline
happiness & 0.044 & 0.066 & -0.079 & -0.115 & 1 & 0.091 \tabularnewline
depression & 0.093 & 0.044 & 0.027 & -0.055 & 0.091 & 1 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=107757&T=1

[TABLE]
[ROW][C]Correlations for all pairs of data series (method=kendall)[/C][/ROW]
[ROW][C] [/C][C]PS[/C][C]O[/C][C]CMD[/C][C]PEC[/C][C]happiness[/C][C]depression[/C][/ROW]
[ROW][C]PS[/C][C]1[/C][C]0.2[/C][C]0.177[/C][C]0.104[/C][C]0.044[/C][C]0.093[/C][/ROW]
[ROW][C]O[/C][C]0.2[/C][C]1[/C][C]0.009[/C][C]-0.162[/C][C]0.066[/C][C]0.044[/C][/ROW]
[ROW][C]CMD[/C][C]0.177[/C][C]0.009[/C][C]1[/C][C]0.196[/C][C]-0.079[/C][C]0.027[/C][/ROW]
[ROW][C]PEC[/C][C]0.104[/C][C]-0.162[/C][C]0.196[/C][C]1[/C][C]-0.115[/C][C]-0.055[/C][/ROW]
[ROW][C]happiness[/C][C]0.044[/C][C]0.066[/C][C]-0.079[/C][C]-0.115[/C][C]1[/C][C]0.091[/C][/ROW]
[ROW][C]depression[/C][C]0.093[/C][C]0.044[/C][C]0.027[/C][C]-0.055[/C][C]0.091[/C][C]1[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=107757&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=107757&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)
PSOCMDPEChappinessdepression
PS10.20.1770.1040.0440.093
O0.210.009-0.1620.0660.044
CMD0.1770.00910.196-0.0790.027
PEC0.104-0.1620.1961-0.115-0.055
happiness0.0440.066-0.079-0.11510.091
depression0.0930.0440.027-0.0550.0911







Correlations for all pairs of data series with p-values
pairPearson rSpearman rhoKendall tau
PS;O0.31630.27490.1998
p-value(3e-04)(0.0018)(0.0019)
PS;CMD0.24520.2490.1774
p-value(0.0056)(0.0049)(0.0051)
PS;PEC0.19360.14590.1035
p-value(0.0298)(0.103)(0.1055)
PS;happiness0.02490.0540.0437
p-value(0.7815)(0.5478)(0.5577)
PS;depression0.03040.11360.0925
p-value(0.7353)(0.2051)(0.2047)
O;CMD0.01730.01080.0088
p-value(0.8472)(0.9049)(0.8901)
O;PEC-0.2418-0.2202-0.1621
p-value(0.0064)(0.0132)(0.0119)
O;happiness0.02890.07580.0656
p-value(0.7479)(0.3989)(0.3827)
O;depression0.01210.05290.0438
p-value(0.8929)(0.5562)(0.5513)
CMD;PEC0.28420.25380.1955
p-value(0.0013)(0.0041)(0.002)
CMD;happiness-0.0568-0.0939-0.0788
p-value(0.5275)(0.2955)(0.2854)
CMD;depression0.01210.03380.0269
p-value(0.8927)(0.7068)(0.71)
PEC;happiness-0.1435-0.1395-0.115
p-value(0.109)(0.1194)(0.1228)
PEC;depression-0.0662-0.068-0.0555
p-value(0.4612)(0.449)(0.4471)
happiness;depression0.09190.0970.0906
p-value(0.3063)(0.2799)(0.2872)

\begin{tabular}{lllllllll}
\hline
Correlations for all pairs of data series with p-values \tabularnewline
pair & Pearson r & Spearman rho & Kendall tau \tabularnewline
PS;O & 0.3163 & 0.2749 & 0.1998 \tabularnewline
p-value & (3e-04) & (0.0018) & (0.0019) \tabularnewline
PS;CMD & 0.2452 & 0.249 & 0.1774 \tabularnewline
p-value & (0.0056) & (0.0049) & (0.0051) \tabularnewline
PS;PEC & 0.1936 & 0.1459 & 0.1035 \tabularnewline
p-value & (0.0298) & (0.103) & (0.1055) \tabularnewline
PS;happiness & 0.0249 & 0.054 & 0.0437 \tabularnewline
p-value & (0.7815) & (0.5478) & (0.5577) \tabularnewline
PS;depression & 0.0304 & 0.1136 & 0.0925 \tabularnewline
p-value & (0.7353) & (0.2051) & (0.2047) \tabularnewline
O;CMD & 0.0173 & 0.0108 & 0.0088 \tabularnewline
p-value & (0.8472) & (0.9049) & (0.8901) \tabularnewline
O;PEC & -0.2418 & -0.2202 & -0.1621 \tabularnewline
p-value & (0.0064) & (0.0132) & (0.0119) \tabularnewline
O;happiness & 0.0289 & 0.0758 & 0.0656 \tabularnewline
p-value & (0.7479) & (0.3989) & (0.3827) \tabularnewline
O;depression & 0.0121 & 0.0529 & 0.0438 \tabularnewline
p-value & (0.8929) & (0.5562) & (0.5513) \tabularnewline
CMD;PEC & 0.2842 & 0.2538 & 0.1955 \tabularnewline
p-value & (0.0013) & (0.0041) & (0.002) \tabularnewline
CMD;happiness & -0.0568 & -0.0939 & -0.0788 \tabularnewline
p-value & (0.5275) & (0.2955) & (0.2854) \tabularnewline
CMD;depression & 0.0121 & 0.0338 & 0.0269 \tabularnewline
p-value & (0.8927) & (0.7068) & (0.71) \tabularnewline
PEC;happiness & -0.1435 & -0.1395 & -0.115 \tabularnewline
p-value & (0.109) & (0.1194) & (0.1228) \tabularnewline
PEC;depression & -0.0662 & -0.068 & -0.0555 \tabularnewline
p-value & (0.4612) & (0.449) & (0.4471) \tabularnewline
happiness;depression & 0.0919 & 0.097 & 0.0906 \tabularnewline
p-value & (0.3063) & (0.2799) & (0.2872) \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=107757&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]PS;O[/C][C]0.3163[/C][C]0.2749[/C][C]0.1998[/C][/ROW]
[ROW][C]p-value[/C][C](3e-04)[/C][C](0.0018)[/C][C](0.0019)[/C][/ROW]
[ROW][C]PS;CMD[/C][C]0.2452[/C][C]0.249[/C][C]0.1774[/C][/ROW]
[ROW][C]p-value[/C][C](0.0056)[/C][C](0.0049)[/C][C](0.0051)[/C][/ROW]
[ROW][C]PS;PEC[/C][C]0.1936[/C][C]0.1459[/C][C]0.1035[/C][/ROW]
[ROW][C]p-value[/C][C](0.0298)[/C][C](0.103)[/C][C](0.1055)[/C][/ROW]
[ROW][C]PS;happiness[/C][C]0.0249[/C][C]0.054[/C][C]0.0437[/C][/ROW]
[ROW][C]p-value[/C][C](0.7815)[/C][C](0.5478)[/C][C](0.5577)[/C][/ROW]
[ROW][C]PS;depression[/C][C]0.0304[/C][C]0.1136[/C][C]0.0925[/C][/ROW]
[ROW][C]p-value[/C][C](0.7353)[/C][C](0.2051)[/C][C](0.2047)[/C][/ROW]
[ROW][C]O;CMD[/C][C]0.0173[/C][C]0.0108[/C][C]0.0088[/C][/ROW]
[ROW][C]p-value[/C][C](0.8472)[/C][C](0.9049)[/C][C](0.8901)[/C][/ROW]
[ROW][C]O;PEC[/C][C]-0.2418[/C][C]-0.2202[/C][C]-0.1621[/C][/ROW]
[ROW][C]p-value[/C][C](0.0064)[/C][C](0.0132)[/C][C](0.0119)[/C][/ROW]
[ROW][C]O;happiness[/C][C]0.0289[/C][C]0.0758[/C][C]0.0656[/C][/ROW]
[ROW][C]p-value[/C][C](0.7479)[/C][C](0.3989)[/C][C](0.3827)[/C][/ROW]
[ROW][C]O;depression[/C][C]0.0121[/C][C]0.0529[/C][C]0.0438[/C][/ROW]
[ROW][C]p-value[/C][C](0.8929)[/C][C](0.5562)[/C][C](0.5513)[/C][/ROW]
[ROW][C]CMD;PEC[/C][C]0.2842[/C][C]0.2538[/C][C]0.1955[/C][/ROW]
[ROW][C]p-value[/C][C](0.0013)[/C][C](0.0041)[/C][C](0.002)[/C][/ROW]
[ROW][C]CMD;happiness[/C][C]-0.0568[/C][C]-0.0939[/C][C]-0.0788[/C][/ROW]
[ROW][C]p-value[/C][C](0.5275)[/C][C](0.2955)[/C][C](0.2854)[/C][/ROW]
[ROW][C]CMD;depression[/C][C]0.0121[/C][C]0.0338[/C][C]0.0269[/C][/ROW]
[ROW][C]p-value[/C][C](0.8927)[/C][C](0.7068)[/C][C](0.71)[/C][/ROW]
[ROW][C]PEC;happiness[/C][C]-0.1435[/C][C]-0.1395[/C][C]-0.115[/C][/ROW]
[ROW][C]p-value[/C][C](0.109)[/C][C](0.1194)[/C][C](0.1228)[/C][/ROW]
[ROW][C]PEC;depression[/C][C]-0.0662[/C][C]-0.068[/C][C]-0.0555[/C][/ROW]
[ROW][C]p-value[/C][C](0.4612)[/C][C](0.449)[/C][C](0.4471)[/C][/ROW]
[ROW][C]happiness;depression[/C][C]0.0919[/C][C]0.097[/C][C]0.0906[/C][/ROW]
[ROW][C]p-value[/C][C](0.3063)[/C][C](0.2799)[/C][C](0.2872)[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=107757&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=107757&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
PS;O0.31630.27490.1998
p-value(3e-04)(0.0018)(0.0019)
PS;CMD0.24520.2490.1774
p-value(0.0056)(0.0049)(0.0051)
PS;PEC0.19360.14590.1035
p-value(0.0298)(0.103)(0.1055)
PS;happiness0.02490.0540.0437
p-value(0.7815)(0.5478)(0.5577)
PS;depression0.03040.11360.0925
p-value(0.7353)(0.2051)(0.2047)
O;CMD0.01730.01080.0088
p-value(0.8472)(0.9049)(0.8901)
O;PEC-0.2418-0.2202-0.1621
p-value(0.0064)(0.0132)(0.0119)
O;happiness0.02890.07580.0656
p-value(0.7479)(0.3989)(0.3827)
O;depression0.01210.05290.0438
p-value(0.8929)(0.5562)(0.5513)
CMD;PEC0.28420.25380.1955
p-value(0.0013)(0.0041)(0.002)
CMD;happiness-0.0568-0.0939-0.0788
p-value(0.5275)(0.2955)(0.2854)
CMD;depression0.01210.03380.0269
p-value(0.8927)(0.7068)(0.71)
PEC;happiness-0.1435-0.1395-0.115
p-value(0.109)(0.1194)(0.1228)
PEC;depression-0.0662-0.068-0.0555
p-value(0.4612)(0.449)(0.4471)
happiness;depression0.09190.0970.0906
p-value(0.3063)(0.2799)(0.2872)



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