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 computationWed, 11 Nov 2009 06:05:01 -0700
Cite this page as followsStatistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?v=date/2009/Nov/11/t1257946137qgk1fdcvtkaxa6r.htm/, Retrieved Fri, 26 Apr 2024 06:03:40 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=55577, Retrieved Fri, 26 Apr 2024 06:03:40 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact146
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-       [Kendall tau Correlation Matrix] [] [2009-11-11 13:05:01] [c4328af89eba9af53ee195d6fed304d9] [Current]
Feedback Forum

Post a new message
Dataseries X:
100.00	100	100
104.02	95.70	101.73
112.82	96.10	102.97
133.11	102.64	100.18
102.26	93.99	99.58
103.44	95.42	100.79
98.49	94.85	102.60
111.32	94.05	99.08
112.82	97.93	99.31
114.67	100.44	100.24
121.37	103.09	101.64
129.34	108.79	105.56
107.12	102.76	108.99
112.32	101.12	106.24
121.71	104.13	108.25
119.11	102.62	106.18
114.84	102.80	104.04
123.72	99.78	107.16
117.69	103.93	107.14
121.54	103.70	111.00
114.92	105.61	109.75
123.55	111.98	110.51
126.32	110.39	108.55
139.40	120.06	112.37
151.55	127.33	112.26
163.79	136.52	115.12
164.29	135.56	115.18
194.22	141.02	117.17
233.36	158.80	117.87
202.01	150.15	114.22
189.10	149.66	114.22
190.36	153.09	114.98
213.75	149.20	117.26
194.13	144.29	120.14
207.21	147.53	123.91
232.19	155.86	125.96
218.11	153.69	127.53
227.66	158.61	129.32
239.56	161.06	126.52
223.55	158.14	127.78
225.48	161.83	133.32
226.82	160.12	137.66
209.05	157.30	135.32
214.08	159.94	130.87
202.85	161.44	132.56
230.93	178.38	137.36
240.74	189.85	139.02
232.36	188.41	133.07
250.29	203.42	132.02
288.18	219.76	123.98
337.97	237.48	119.65
280.64	213.27	119.29
278.96	204.92	124.65
282.65	213.39	125.87
294.38	225.23	114.82
294.89	219.22	114.16
227.66	197.54	115.82
205.87	211.41	104.70
168.48	175.26	87.12
166.14	186.91	79.92




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=55577&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=55577&T=0

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







Kendall tau rank correlations for all pairs of data series
pairtaup-value
tau( Zilver , Goud )0.814019349959850
tau( Zilver , S&P500 )0.5671473226388181.57991175697703e-10
tau( Goud , S&P500 )0.5498728673884175.44019718162758e-10

\begin{tabular}{lllllllll}
\hline
Kendall tau rank correlations for all pairs of data series \tabularnewline
pair & tau & p-value \tabularnewline
tau( Zilver , Goud ) & 0.81401934995985 & 0 \tabularnewline
tau( Zilver , S&P500 ) & 0.567147322638818 & 1.57991175697703e-10 \tabularnewline
tau( Goud , S&P500 ) & 0.549872867388417 & 5.44019718162758e-10 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=55577&T=1

[TABLE]
[ROW][C]Kendall tau rank correlations for all pairs of data series[/C][/ROW]
[ROW][C]pair[/C][C]tau[/C][C]p-value[/C][/ROW]
[ROW][C]tau( Zilver , Goud )[/C][C]0.81401934995985[/C][C]0[/C][/ROW]
[ROW][C]tau( Zilver , S&P500 )[/C][C]0.567147322638818[/C][C]1.57991175697703e-10[/C][/ROW]
[ROW][C]tau( Goud , S&P500 )[/C][C]0.549872867388417[/C][C]5.44019718162758e-10[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=55577&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=55577&T=1

As an alternative you can also use a QR Code:  

The GUIDs for individual cells are displayed in the table below:

Kendall tau rank correlations for all pairs of data series
pairtaup-value
tau( Zilver , Goud )0.814019349959850
tau( Zilver , S&P500 )0.5671473226388181.57991175697703e-10
tau( Goud , S&P500 )0.5498728673884175.44019718162758e-10



Parameters (Session):
Parameters (R input):
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='kendall')
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')
a<-table.start()
a<-table.row.start(a)
a<-table.element(a,'Kendall tau rank correlations for all pairs of data series',3,TRUE)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'pair',1,TRUE)
a<-table.element(a,'tau',1,TRUE)
a<-table.element(a,'p-value',1,TRUE)
a<-table.row.end(a)
n <- length(y[,1])
n
cor.test(y[1,],y[2,],method='kendall')
for (i in 1:(n-1))
{
for (j in (i+1):n)
{
a<-table.row.start(a)
dum <- paste('tau(',dimnames(t(x))[[2]][i])
dum <- paste(dum,',')
dum <- paste(dum,dimnames(t(x))[[2]][j])
dum <- paste(dum,')')
a<-table.element(a,dum,header=TRUE)
r <- cor.test(y[i,],y[j,],method='kendall')
a<-table.element(a,r$estimate)
a<-table.element(a,r$p.value)
a<-table.row.end(a)
}
}
a<-table.end(a)
table.save(a,file='mytable.tab')