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 09:37:04 -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/t1324565077lxnyco1olo4hb3p.htm/, Retrieved Fri, 03 May 2024 08:15:49 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=159520, Retrieved Fri, 03 May 2024 08:15:49 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact92
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-       [Kendall tau Correlation Matrix] [] [2011-12-22 14:37:04] [6ad33b3268238fa8bcced586c4c02be4] [Current]
Feedback Forum

Post a new message
Dataseries X:
20465	162687	95	39
33629	201906	63	46
1423	7215	18	0
25629	146367	97	54
54002	257045	139	93
151036	524450	266	198
33287	188294	59	42
31172	195674	60	59
28113	177020	45	49
57803	330194	99	83
49830	121844	75	49
52143	203938	72	83
21055	113213	106	39
47007	220751	120	93
28735	173259	65	31
59147	156326	88	29
78950	145178	58	104
13497	89171	61	2
46154	172624	88	46
53249	39790	27	27
10726	87927	62	16
83700	241285	103	108
40400	198587	74	36
33797	146946	57	33
36205	159763	89	46
30165	207078	34	65
58534	212394	166	80
44663	201536	95	81
92556	394662	121	69
40078	217892	46	69
34711	182286	45	37
31076	188748	48	45
74608	137978	107	62
58092	255929	131	33
42009	236489	55	77
0	0	1	0
36022	230761	65	34
23333	132807	54	44
53349	158599	51	43
92596	253254	68	117
49598	269329	72	125
44093	161273	61	49
84205	107181	33	76
63369	213097	81	81
60132	139667	51	111
37403	171101	99	61
24460	81407	33	56
46456	247596	106	54
66616	239807	90	47
41554	172743	60	55
22346	48188	28	14
30874	169355	71	44
68701	325322	77	115
35728	241518	80	57
29010	195583	60	48
23110	159913	57	40
38844	223936	71	51
27084	101694	26	32
35139	157258	68	36
57476	202536	100	47
33277	173505	65	51
31141	150518	84	37
61281	141491	64	52
25820	125612	39	42
23284	166049	36	11
35378	124197	43	47
74990	195043	71	59
29653	138708	66	82
64622	116552	40	49
4157	31970	15	6
29245	258158	115	83
50008	151194	79	56
52338	135926	68	114
13310	119629	73	46
92901	171518	71	46
10956	108949	45	2
34241	183471	60	51
75043	159966	98	96
21152	93786	34	20
42249	84971	72	57
42005	88882	76	49
41152	304603	65	51
14399	75101	30	40
28263	145043	41	40
17215	95827	48	36
48140	173924	59	64
62897	241957	238	117
22883	115367	115	40
41622	118689	65	46
40715	164078	53	61
65897	158931	42	59
76542	184139	83	94
37477	152856	58	36
53216	146159	61	51
40911	62535	43	39
57021	245196	117	62
73116	199841	71	79
3895	19349	12	14
46609	247280	109	45
29351	160833	85	43
2325	72128	30	8
31747	104253	26	41
32665	151090	57	25
19249	146461	67	22
15292	87448	42	18
5842	27676	22	3
33994	170326	52	54
13018	132148	38	6
0	0	0	0
98177	95778	34	50
37941	109001	68	33
31032	158833	46	54
32683	150013	66	63
34545	89887	63	56
0	3616	5	0
0	0	0	0
27525	199005	45	49
66856	160930	93	90
28549	177948	102	51
38610	136061	40	29
2781	43410	19	1
41211	184277	75	68
22698	109873	45	29
41194	151030	59	27
32689	60493	40	4
5752	19764	12	10
26757	177559	56	47
22527	140281	35	44
44810	164249	54	53
0	11796	9	0
0	10674	9	0
100674	151322	59	40
0	6836	3	0
57786	174712	68	57
0	5118	3	0
5444	40248	16	6
0	0	0	0
28470	127628	51	24
61849	88837	38	34
0	7131	4	0
2179	9056	15	10
8019	88589	29	16
39644	144470	53	93
23494	111408	20	28




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

\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
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=159520&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]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=159520&T=0

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







Correlations for all pairs of data series (method=pearson)
ABCD
A10.6780.6160.758
B0.67810.760.747
C0.6160.7610.689
D0.7580.7470.6891

\begin{tabular}{lllllllll}
\hline
Correlations for all pairs of data series (method=pearson) \tabularnewline
  & A & B & C & D \tabularnewline
A & 1 & 0.678 & 0.616 & 0.758 \tabularnewline
B & 0.678 & 1 & 0.76 & 0.747 \tabularnewline
C & 0.616 & 0.76 & 1 & 0.689 \tabularnewline
D & 0.758 & 0.747 & 0.689 & 1 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=159520&T=1

[TABLE]
[ROW][C]Correlations for all pairs of data series (method=pearson)[/C][/ROW]
[ROW][C] [/C][C]A[/C][C]B[/C][C]C[/C][C]D[/C][/ROW]
[ROW][C]A[/C][C]1[/C][C]0.678[/C][C]0.616[/C][C]0.758[/C][/ROW]
[ROW][C]B[/C][C]0.678[/C][C]1[/C][C]0.76[/C][C]0.747[/C][/ROW]
[ROW][C]C[/C][C]0.616[/C][C]0.76[/C][C]1[/C][C]0.689[/C][/ROW]
[ROW][C]D[/C][C]0.758[/C][C]0.747[/C][C]0.689[/C][C]1[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=159520&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=159520&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)
ABCD
A10.6780.6160.758
B0.67810.760.747
C0.6160.7610.689
D0.7580.7470.6891







Correlations for all pairs of data series with p-values
pairPearson rSpearman rhoKendall tau
A;B0.67820.6080.4542
p-value(0)(0)(0)
A;C0.61640.60240.4571
p-value(0)(0)(0)
A;D0.75830.73790.5655
p-value(0)(0)(0)
B;C0.75990.71620.551
p-value(0)(0)(0)
B;D0.74710.69060.5247
p-value(0)(0)(0)
C;D0.68860.63180.4675
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
A;B & 0.6782 & 0.608 & 0.4542 \tabularnewline
p-value & (0) & (0) & (0) \tabularnewline
A;C & 0.6164 & 0.6024 & 0.4571 \tabularnewline
p-value & (0) & (0) & (0) \tabularnewline
A;D & 0.7583 & 0.7379 & 0.5655 \tabularnewline
p-value & (0) & (0) & (0) \tabularnewline
B;C & 0.7599 & 0.7162 & 0.551 \tabularnewline
p-value & (0) & (0) & (0) \tabularnewline
B;D & 0.7471 & 0.6906 & 0.5247 \tabularnewline
p-value & (0) & (0) & (0) \tabularnewline
C;D & 0.6886 & 0.6318 & 0.4675 \tabularnewline
p-value & (0) & (0) & (0) \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=159520&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]A;B[/C][C]0.6782[/C][C]0.608[/C][C]0.4542[/C][/ROW]
[ROW][C]p-value[/C][C](0)[/C][C](0)[/C][C](0)[/C][/ROW]
[ROW][C]A;C[/C][C]0.6164[/C][C]0.6024[/C][C]0.4571[/C][/ROW]
[ROW][C]p-value[/C][C](0)[/C][C](0)[/C][C](0)[/C][/ROW]
[ROW][C]A;D[/C][C]0.7583[/C][C]0.7379[/C][C]0.5655[/C][/ROW]
[ROW][C]p-value[/C][C](0)[/C][C](0)[/C][C](0)[/C][/ROW]
[ROW][C]B;C[/C][C]0.7599[/C][C]0.7162[/C][C]0.551[/C][/ROW]
[ROW][C]p-value[/C][C](0)[/C][C](0)[/C][C](0)[/C][/ROW]
[ROW][C]B;D[/C][C]0.7471[/C][C]0.6906[/C][C]0.5247[/C][/ROW]
[ROW][C]p-value[/C][C](0)[/C][C](0)[/C][C](0)[/C][/ROW]
[ROW][C]C;D[/C][C]0.6886[/C][C]0.6318[/C][C]0.4675[/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=159520&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=159520&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
A;B0.67820.6080.4542
p-value(0)(0)(0)
A;C0.61640.60240.4571
p-value(0)(0)(0)
A;D0.75830.73790.5655
p-value(0)(0)(0)
B;C0.75990.71620.551
p-value(0)(0)(0)
B;D0.74710.69060.5247
p-value(0)(0)(0)
C;D0.68860.63180.4675
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')