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 12:44:20 -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/t1324575873beds3kvdzkq7muc.htm/, Retrieved Fri, 03 May 2024 05:31:14 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=159777, Retrieved Fri, 03 May 2024 05:31:14 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact81
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-       [Kendall tau Correlation Matrix] [pearson correlati...] [2011-12-22 17:44:20] [9aaeed430538c8fa0389aee05c40e1f1] [Current]
Feedback Forum

Post a new message
Dataseries X:
210907	56	396	145	0
120982	56	297	101	0
176508	54	559	98	0
179321	89	967	132	NA
123185	40	270	60	NA
52746	25	143	38	NA
385534	92	1562	144	NA
33170	18	109	5	NA
101645	63	371	28	NA
149061	44	656	84	0
165446	33	511	79	NA
237213	84	655	127	0
173326	88	465	78	NA
133131	55	525	60	1
258873	60	885	131	NA
180083	66	497	84	NA
324799	154	1436	133	0
230964	53	612	150	0
236785	119	865	91	1
135473	41	385	132	NA
202925	61	567	136	NA
215147	58	639	124	NA
344297	75	963	118	0
153935	33	398	70	NA
132943	40	410	107	NA
174724	92	966	119	0
174415	100	801	89	0
225548	112	892	112	NA
223632	73	513	108	0
124817	40	469	52	0
221698	45	683	112	NA
210767	60	643	116	NA
170266	62	535	123	NA
260561	75	625	125	NA
84853	31	264	27	NA
294424	77	992	162	0
101011	34	238	32	NA
215641	46	818	64	NA
325107	99	937	92	NA
7176	17	70	0	NA
167542	66	507	83	NA
106408	30	260	41	0
96560	76	503	47	0
265769	146	927	120	0
269651	67	1269	105	NA
149112	56	537	79	1
175824	107	910	65	0
152871	58	532	70	0
111665	34	345	55	0
116408	61	918	39	NA
362301	119	1635	67	0
78800	42	330	21	NA
183167	66	557	127	0
277965	89	1178	152	NA
150629	44	740	113	NA
168809	66	452	99	NA
24188	24	218	7	NA
329267	259	764	141	0
65029	17	255	21	NA
101097	64	454	35	NA
218946	41	866	109	1
244052	68	574	133	0
341570	168	1276	123	1
103597	43	379	26	0
233328	132	825	230	NA
256462	105	798	166	NA
206161	71	663	68	NA
311473	112	1069	147	NA
235800	94	921	179	NA
177939	82	858	61	NA
207176	70	711	101	NA
196553	57	503	108	0
174184	53	382	90	NA
143246	103	464	114	0
187559	121	717	103	NA
187681	62	690	142	NA
119016	52	462	79	NA
182192	52	657	88	NA
73566	32	385	25	NA
194979	62	577	83	NA
167488	45	619	113	0
143756	46	479	118	0
			110	NA
			129	NA
			51	0
			93	NA
			76	0
			49	NA
			118	0
			38	NA
			141	0
			58	NA
			27	0
			91	0
			48	1
			63	0
			56	NA
			144	NA
			73	NA
			168	1
			64	1
			97	0
			117	1
			100	0
			149	NA
			187	NA
			127	NA
			37	0
			245	NA
			87	1
			177	NA
			49	NA
			49	NA
			73	NA
			177	0
			94	NA
			117	NA
			60	0
			55	0
			39	0
			64	1
			26	0
			64	NA
			58	1
			95	NA
			25	NA
			26	NA
			76	0
			129	0
			11	NA
			2	NA
			101	1
			28	NA
			36	0
			89	0
			193	NA
			4	NA
			84	NA
			23	0
			39	NA
			14	NA
			78	1
			14	NA
			101	1
			82	NA
			24	NA
			36	1
			75	1
			16	NA
			55	NA
			131	0
			131	0
			39	0
			144	0
			139	NA
			211	0
			78	NA
			50	NA
			39	NA
			90	0
			166	NA
			12	NA
			57	0
			133	0
			69	0
			119	NA
			119	NA
			65	NA
			61	1
			49	1
			101	0
			196	0
			15	0
			136	0
			89	NA
			40	NA
			123	NA
			21	0
			163	0
			29	0
			35	NA
			13	NA
			5	NA
			96	1
			151	NA
			6	NA
			13	NA
			3	NA
			56	NA
			23	NA
			57	NA
			14	1
			43	NA
			20	0
			72	NA
			87	1
			21	NA
			56	0
			59	NA
			82	NA
			43	NA
			25	NA
			38	NA
			25	0
			38	NA
			12	NA
			29	NA
			47	0
			45	0
			40	NA
			30	NA
			41	0
			25	NA
			23	NA
			14	0
			16	0
			26	NA
			21	0
			27	NA
			9	NA
			33	0
			42	0
			68	0
			32	NA
			6	NA
			67	NA
			33	NA
			77	0
			46	NA
			30	NA
			0	0
			36	0
			46	NA
			18	NA
			48	1
			29	0
			28	1
			34	NA
			33	0
			34	NA
			33	NA
			80	NA
			32	NA
			30	NA
			41	NA
			41	NA
			51	0
			18	0
			34	NA
			31	NA
			39	0
			54	0
			14	NA
			24	0
			24	0
			8	NA
			26	NA
			19	NA
			11	NA
			14	NA
			1	NA
			39	NA
			5	NA
			37	0
			32	NA
			38	NA
			47	0
			47	0
			37	0
			51	NA
			45	NA
			21	NA
			1	NA
			42	NA
			26	NA
			21	NA
			4	NA
			10	NA
			43	NA
			34	0
			31	NA
			19	NA
			34	NA
			6	NA
			11	0
			24	NA
			16	NA
			72	NA
			21	NA




Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time2 seconds
R Server'Gwilym Jenkins' @ jenkins.wessa.net
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 & 2 seconds \tabularnewline
R Server & 'Gwilym Jenkins' @ jenkins.wessa.net \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=159777&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]'Gwilym Jenkins' @ jenkins.wessa.net[/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=159777&T=0

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=159777&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'Gwilym Jenkins' @ jenkins.wessa.net
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)
timeinrfcloginscompendiumviewstotalblogsgender
timeinrfc1-0.4110.9450.78-0.326
logins-0.4111-0.31-0.3810.636
compendiumviews0.945-0.3110.652-0.251
totalblogs0.78-0.3810.6521-0.441
gender-0.3260.636-0.251-0.4411

\begin{tabular}{lllllllll}
\hline
Correlations for all pairs of data series (method=pearson) \tabularnewline
  & timeinrfc & logins & compendiumviews & totalblogs & gender \tabularnewline
timeinrfc & 1 & -0.411 & 0.945 & 0.78 & -0.326 \tabularnewline
logins & -0.411 & 1 & -0.31 & -0.381 & 0.636 \tabularnewline
compendiumviews & 0.945 & -0.31 & 1 & 0.652 & -0.251 \tabularnewline
totalblogs & 0.78 & -0.381 & 0.652 & 1 & -0.441 \tabularnewline
gender & -0.326 & 0.636 & -0.251 & -0.441 & 1 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=159777&T=1

[TABLE]
[ROW][C]Correlations for all pairs of data series (method=pearson)[/C][/ROW]
[ROW][C] [/C][C]timeinrfc[/C][C]logins[/C][C]compendiumviews[/C][C]totalblogs[/C][C]gender[/C][/ROW]
[ROW][C]timeinrfc[/C][C]1[/C][C]-0.411[/C][C]0.945[/C][C]0.78[/C][C]-0.326[/C][/ROW]
[ROW][C]logins[/C][C]-0.411[/C][C]1[/C][C]-0.31[/C][C]-0.381[/C][C]0.636[/C][/ROW]
[ROW][C]compendiumviews[/C][C]0.945[/C][C]-0.31[/C][C]1[/C][C]0.652[/C][C]-0.251[/C][/ROW]
[ROW][C]totalblogs[/C][C]0.78[/C][C]-0.381[/C][C]0.652[/C][C]1[/C][C]-0.441[/C][/ROW]
[ROW][C]gender[/C][C]-0.326[/C][C]0.636[/C][C]-0.251[/C][C]-0.441[/C][C]1[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=159777&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=159777&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)
timeinrfcloginscompendiumviewstotalblogsgender
timeinrfc1-0.4110.9450.78-0.326
logins-0.4111-0.31-0.3810.636
compendiumviews0.945-0.3110.652-0.251
totalblogs0.78-0.3810.6521-0.441
gender-0.3260.636-0.251-0.4411







Correlations for all pairs of data series with p-values
pairPearson rSpearman rhoKendall tau
timeinrfc;logins-0.4106-0.1425-0.0018
p-value(0)(0.0373)(0.9687)
timeinrfc;compendiumviews0.94520.85440.689
p-value(0)(0)(0)
timeinrfc;totalblogs0.78030.59230.4475
p-value(0)(0)(0)
timeinrfc;gender-0.3261-0.1979-0.1161
p-value(0)(0.0065)(0.0201)
logins;compendiumviews-0.3096-0.10680.0013
p-value(0)(0.1177)(0.9774)
logins;totalblogs-0.3807-0.01670.0399
p-value(0)(0.8191)(0.4246)
logins;gender0.63590.66240.405
p-value(0)(0)(0)
compendiumviews;totalblogs0.6520.52640.3841
p-value(0)(0)(0)
compendiumviews;gender-0.2512-0.1205-0.0503
p-value(4e-04)(0.0959)(0.3104)
totalblogs;gender-0.4406-0.8162-0.6286
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
timeinrfc;logins & -0.4106 & -0.1425 & -0.0018 \tabularnewline
p-value & (0) & (0.0373) & (0.9687) \tabularnewline
timeinrfc;compendiumviews & 0.9452 & 0.8544 & 0.689 \tabularnewline
p-value & (0) & (0) & (0) \tabularnewline
timeinrfc;totalblogs & 0.7803 & 0.5923 & 0.4475 \tabularnewline
p-value & (0) & (0) & (0) \tabularnewline
timeinrfc;gender & -0.3261 & -0.1979 & -0.1161 \tabularnewline
p-value & (0) & (0.0065) & (0.0201) \tabularnewline
logins;compendiumviews & -0.3096 & -0.1068 & 0.0013 \tabularnewline
p-value & (0) & (0.1177) & (0.9774) \tabularnewline
logins;totalblogs & -0.3807 & -0.0167 & 0.0399 \tabularnewline
p-value & (0) & (0.8191) & (0.4246) \tabularnewline
logins;gender & 0.6359 & 0.6624 & 0.405 \tabularnewline
p-value & (0) & (0) & (0) \tabularnewline
compendiumviews;totalblogs & 0.652 & 0.5264 & 0.3841 \tabularnewline
p-value & (0) & (0) & (0) \tabularnewline
compendiumviews;gender & -0.2512 & -0.1205 & -0.0503 \tabularnewline
p-value & (4e-04) & (0.0959) & (0.3104) \tabularnewline
totalblogs;gender & -0.4406 & -0.8162 & -0.6286 \tabularnewline
p-value & (0) & (0) & (0) \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=159777&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]timeinrfc;logins[/C][C]-0.4106[/C][C]-0.1425[/C][C]-0.0018[/C][/ROW]
[ROW][C]p-value[/C][C](0)[/C][C](0.0373)[/C][C](0.9687)[/C][/ROW]
[ROW][C]timeinrfc;compendiumviews[/C][C]0.9452[/C][C]0.8544[/C][C]0.689[/C][/ROW]
[ROW][C]p-value[/C][C](0)[/C][C](0)[/C][C](0)[/C][/ROW]
[ROW][C]timeinrfc;totalblogs[/C][C]0.7803[/C][C]0.5923[/C][C]0.4475[/C][/ROW]
[ROW][C]p-value[/C][C](0)[/C][C](0)[/C][C](0)[/C][/ROW]
[ROW][C]timeinrfc;gender[/C][C]-0.3261[/C][C]-0.1979[/C][C]-0.1161[/C][/ROW]
[ROW][C]p-value[/C][C](0)[/C][C](0.0065)[/C][C](0.0201)[/C][/ROW]
[ROW][C]logins;compendiumviews[/C][C]-0.3096[/C][C]-0.1068[/C][C]0.0013[/C][/ROW]
[ROW][C]p-value[/C][C](0)[/C][C](0.1177)[/C][C](0.9774)[/C][/ROW]
[ROW][C]logins;totalblogs[/C][C]-0.3807[/C][C]-0.0167[/C][C]0.0399[/C][/ROW]
[ROW][C]p-value[/C][C](0)[/C][C](0.8191)[/C][C](0.4246)[/C][/ROW]
[ROW][C]logins;gender[/C][C]0.6359[/C][C]0.6624[/C][C]0.405[/C][/ROW]
[ROW][C]p-value[/C][C](0)[/C][C](0)[/C][C](0)[/C][/ROW]
[ROW][C]compendiumviews;totalblogs[/C][C]0.652[/C][C]0.5264[/C][C]0.3841[/C][/ROW]
[ROW][C]p-value[/C][C](0)[/C][C](0)[/C][C](0)[/C][/ROW]
[ROW][C]compendiumviews;gender[/C][C]-0.2512[/C][C]-0.1205[/C][C]-0.0503[/C][/ROW]
[ROW][C]p-value[/C][C](4e-04)[/C][C](0.0959)[/C][C](0.3104)[/C][/ROW]
[ROW][C]totalblogs;gender[/C][C]-0.4406[/C][C]-0.8162[/C][C]-0.6286[/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=159777&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=159777&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
timeinrfc;logins-0.4106-0.1425-0.0018
p-value(0)(0.0373)(0.9687)
timeinrfc;compendiumviews0.94520.85440.689
p-value(0)(0)(0)
timeinrfc;totalblogs0.78030.59230.4475
p-value(0)(0)(0)
timeinrfc;gender-0.3261-0.1979-0.1161
p-value(0)(0.0065)(0.0201)
logins;compendiumviews-0.3096-0.10680.0013
p-value(0)(0.1177)(0.9774)
logins;totalblogs-0.3807-0.01670.0399
p-value(0)(0.8191)(0.4246)
logins;gender0.63590.66240.405
p-value(0)(0)(0)
compendiumviews;totalblogs0.6520.52640.3841
p-value(0)(0)(0)
compendiumviews;gender-0.2512-0.1205-0.0503
p-value(4e-04)(0.0959)(0.3104)
totalblogs;gender-0.4406-0.8162-0.6286
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')