Send output to:
Browser Blue - Charts White
Browser Black/White
CSV
Data X:
-2.68 5.71 -15.57 5.08 -9.75 13.19 -7 0.09 3.64 -5.5 -2.08 3.83 9.5 1.77 6.06 5.82 -0.33 1.97 3.1 37.12 -0.99 -5.61 -7.28 -0.46 3.16 -7.32 11.93 -3.63 4.27 -1.09 -15.18 -3.88 -2.97 -0.1 -4.97 4.62 -7.49 -9.4 -3.06 -12.97 0.33 -6.39 5.18 3.2 -2.57 -2.03 -2.3 -5.75 4.07 0.9 -1.86 -0.57 5.31 7.57 -8.75 -7.16 -8.09 -2.19 -8.02 -18.05 5.29 3.59 4.8 15.63 7.38 -1.69 3.9 -18.68 -6.12 -1.54 -11.31 -0.7 -3.38 13.36 4.26 2.59 -8.61 -3.66 -6.89 2.57 2.58 0.61 4.13 0.36 10.02 9.25 4.25 32.56 7.08 11.03 -5.92 8.53 -2.75 -3.5 -2.62 1.42 3.42 -6.56 -5.12 3.53 -1.6 5.55 -6.19 0.9 0.65 16.5 1.58 -1.1 2.86 -0.09 6.93 13.32 -3.52 -10.19 1.3 -33.59 5.65 -1.56 0.7 -0.85 4.31 3.62 18.15 42.09 -4.39 -3.46 -13.63 -6.25 -5.85 -0.84 -8.97 -11.08 -5.47 -1.75 -3.48 -29.29 -2.3 -5.59 0.13 -11.17 -0.14 -4.31 0.16 13.92 8.08 8.29 -1.28 13.54 -7.43 -14.07 -8.46 -16.49 0.02 -4.08 -2.92 -9.38 -2.47 3.96 0.15 -2.84 -2.11 -2.54 3.87 -2.88 7.87 24.36 7.71 6.18 4.66 11.73 -4.12 3.71 3.6 3.82 -2.74 3.18 -3.64 -2.98 3.19 -4.18 7.26 7.46 -6.22 13.6 -7.62 -6.39 1.25 4.82 13.83 11.7 4.24 10.05 1.28 2.36 0.15 9.69 -0.32 -7.48 -2.06 -13.63 -2.9 -2.54 2.14 2.81 4.92 -2.31 -1.68 2.39 11.99 10.86 5.03 9.12 10.06 -2.11 2.25 14.21 -2.22 3.41 -6.58 3.49 3.97 11.2 -2.85 5.51 0.56 -1.21 5.04 -6.15 3.34 5.82 4.44 2.72 -2.86 -2.61 -0.68 -11.12 4.38 -1.54 -2.51 -4.7 1.43 -5.42 2.36 1.82 -0.49 11.6 -6.32 -10.44 -1.23 -9.07 -3.82 6.04
Names of X columns:
Producten Machines Electronica Medisch
Type of Correlation
pearson
spearman
kendall
Chart options
Title:
R Code
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')
Compute
Summary of computational transaction
Raw Input
view raw input (R code)
Raw Output
view raw output of R engine
Computing time
0 seconds
R Server
Big Analytics Cloud Computing Center
Click here to blog (archive) this computation