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, 28 Dec 2010 18:12:59 +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/28/t1293559891ldrukcpiej21tbt.htm/, Retrieved Sat, 04 May 2024 20:41:41 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=116451, Retrieved Sat, 04 May 2024 20:41:41 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact131
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-       [Kendall tau Correlation Matrix] [] [2010-12-28 18:12:59] [0956ee981dded61b2e7128dae94e5715] [Current]
Feedback Forum

Post a new message
Dataseries X:
19.39	9.1
19.39	9.27
19.39	9.59
19.39	10.64
19.39	12.17
19.39	12.81
19.39	12.33
19.39	11.92
19.39	11.92
19.39	12.17
19.39	12.33
19.39	10.39
19.39	10.96
19.39	11.44
19.39	11.36
19.39	11.84
19.39	11.2
19.39	12.17
19.39	11.92
19.39	11.92
19.39	12.73
19.39	12.89
19.39	15.47
20.1	17
21.64	14.91
20.95	13.62
19.46	12.89
19.39	12.33
19.39	12.33
19.39	11.36
19.39	10.96
19.39	11.36
19.39	10.15
19.39	9.35
19.39	9.59
19.39	9.59
19.39	9.67
19.39	9.19
19.39	9.02
19.39	8.94
19.39	8.38
19.39	8.3
19.39	8.14
19.94	8.3
20.69	8.54
20.69	9.02
21.64	9.27
20.86	9.02
20.67	9.02
20.67	8.38
20.67	8.46
20.67	7.9
20.67	7.17
20.67	7.25
20.67	7.33
20.67	7.41
20.67	7.98
20.67	7.65
20.67	7.41
20.67	7.57
20.67	7.41
20.67	7.49
20.67	7.49
20.67	8.14
20.67	8.38
20.67	8.22
20.7	8.46
20.67	7.98
20.67	8.06
20.67	8.06
20.67	8.54
23.42	9.75
30.02	12.17
42.03	15.23
32.52	15.79
29.13	15.39
28.57	14.34
28.88	13.78
27.49	13.21
23.75	12.65
23.09	11.84
23.24	11.84
23.52	11.6
22.99	11.04
23.75	10.64
23.05	10.39
21.66	10.15
20.84	9.67
20.67	9.67
20.67	9.91
20.67	9.91
20.67	9.91
20.67	9.71
20.67	9.51
20.67	9.32
20.67	9.12
20.67	9.22
20.67	9.22
20.67	8.92
20.67	8.82
20.67	8.82
20.67	8.82
20.67	8.72
20.67	8.34
20.67	8.14
20.67	8.14
20.67	8.04
20.67	8.04
20.67	8.04
20.67	8.14
20.67	8.24
20.67	8.34
20.67	8.53
20.67	8.63
20.67	8.53
20.67	8.72
20.67	9.11
20.67	8.92
20.67	8.82
20.67	9.21
20.67	9.21
20.67	9.4
20.67	9.6
20.67	9.69
20.67	9.74
20.67	10.64
20.67	12.82
20.67	15.06
20.67	17.3
20.67	20.04
20.67	17.9
20.67	16.77
20.67	17.07
20.67	17.1
20.67	17.53
20.67	17.7
20.67	17.37
20.67	17.13
20.67	17.13
20.67	16.7
20.67	15.23
20.67	13.66
24.44	12.96
34.94	13.39
35	13.73
35	13.86
35	14.36
35	14.09
35	13.89
35	14.03
35	14.73
35	16.3
35	17.3
35	17.6
35	18
35	19.54
35	22.34
35	24.08
35	23.85
35	24.08
35	25.98
35	26.55
35	26.75
35	26.88
35	26.78
35	27.18
35	28.15
35	28.92
35	29.16
35	29.62
35	29.92
35	30.26
35	30.62
35	31.03
35	31.56
35	32.46
35	33.4
39.26	34.8
41.51	36.67
36.41	38.84
41.25	40.51
58.6	41.85
97.81	44.45
159.74	49.33
161.49	53.84
125.32	56.94
148.31	60.61
193.55	65.22
307.5	72.57
612.56	82.38
459.64	90.93
375.91	96.5
424	99.6
360.66	103.9
317.66	107.6
368.24	109.6
447.95	113.6
438.31	118.3
382.58	124
384.93	130.7
363.29	136.2
344.97	140.3
360.91	144.5
385.42	148.2
385.5	152.4
389.09	156.9
332.39	160.5
295.24	163
279.91	166.6
280.1	172.2
272.22	177.1
311.33	179.9
364.8	184
410.52	188.9
446	195.3
606	201.6
699	207.34
768	215.3
950	214.54




Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time2 seconds
R Server'RServer@AstonUniversity' @ vre.aston.ac.uk

\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 & 'RServer@AstonUniversity' @ vre.aston.ac.uk \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=116451&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]'RServer@AstonUniversity' @ vre.aston.ac.uk[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=116451&T=0

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=116451&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'RServer@AstonUniversity' @ vre.aston.ac.uk







Correlations for all pairs of data series (method=spearman)
goldCPI
gold10.716
CPI0.7161

\begin{tabular}{lllllllll}
\hline
Correlations for all pairs of data series (method=spearman) \tabularnewline
  & gold & CPI \tabularnewline
gold & 1 & 0.716 \tabularnewline
CPI & 0.716 & 1 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=116451&T=1

[TABLE]
[ROW][C]Correlations for all pairs of data series (method=spearman)[/C][/ROW]
[ROW][C] [/C][C]gold[/C][C]CPI[/C][/ROW]
[ROW][C]gold[/C][C]1[/C][C]0.716[/C][/ROW]
[ROW][C]CPI[/C][C]0.716[/C][C]1[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=116451&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=116451&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=spearman)
goldCPI
gold10.716
CPI0.7161







Correlations for all pairs of data series with p-values
pairPearson rSpearman rhoKendall tau
gold;CPI0.92060.71620.5682
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
gold;CPI & 0.9206 & 0.7162 & 0.5682 \tabularnewline
p-value & (0) & (0) & (0) \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=116451&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]gold;CPI[/C][C]0.9206[/C][C]0.7162[/C][C]0.5682[/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=116451&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=116451&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
gold;CPI0.92060.71620.5682
p-value(0)(0)(0)



Parameters (Session):
par1 = spearman ;
Parameters (R input):
par1 = spearman ;
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')