Send output to:
Browser Blue - Charts White
Browser Black/White
CSV
Data X:
0.65 -0.36 -15.57 -0.39 -1.53 3.69 -7 4.81 -3.36 0.68 -2.08 -5.87 10.51 7.63 6.06 16.07 -1.02 -1.52 3.1 -8.58 -2.68 5.71 -7.28 5.08 -9.75 13.19 11.93 0.09 3.64 -5.5 -15.18 3.83 9.5 1.77 -4.97 5.82 -0.33 1.97 -3.06 37.12 -0.99 -5.61 5.18 -0.46 3.16 -7.32 -2.3 -3.63 4.27 -1.09 -1.86 -3.88 -2.97 -0.1 -8.75 4.62 -7.49 -9.4 -8.02 -12.97 0.33 -6.39 4.8 3.2 -2.57 -2.03 3.9 -5.75 4.07 0.9 -11.31 -0.57 5.31 7.57 4.26 -7.16 -8.09 -2.19 -6.89 -18.05 5.29 3.59 4.13 15.63 7.38 -1.69 4.25 -18.68 -6.12 -1.54 -5.92 -0.7 -3.38 13.36 -2.62 2.59 -8.61 -3.66 -5.12 2.57 2.58 0.61 -6.19 0.36 10.02 9.25 1.58 32.56 7.08 11.03 6.93 8.53 -2.75 -3.5 1.3 1.42 3.42 -6.56 0.7 3.53 -1.6 5.55 18.15 0.9 0.65 16.5 -13.63 -1.1 2.86 -0.09 -8.97 13.32 -3.52 -10.19 -3.48 -33.59 5.65 -1.56 0.13 -0.85 4.31 3.62 0.16 42.09 -4.39 -3.46 -1.28 -6.25 -5.85 -0.84 -8.46 -11.08 -5.47 -1.75 -2.92 -29.29 -2.3 -5.59 0.15 -11.17 -0.14 -4.31 3.87 13.92 8.08 8.29 7.71 13.54 -7.43 -14.07 -4.12 -16.49 0.02 -4.08 -2.74 -9.38 -2.47 3.96 3.19 -2.84 -2.11 -2.54 -6.22 -2.88 7.87 24.36 1.25 6.18 4.66 11.73 4.24 3.71 3.6 3.82 0.15 3.18 -3.64 -2.98 -2.06 -4.18 7.26 7.46 2.14 13.6 -7.62 -6.39 -1.68 4.82 13.83 11.7 5.03 10.05 1.28 2.36 2.25 9.69 -0.32 -7.48 -6.58 -13.63 -2.9 -2.54 -2.85 2.81 4.92 -2.31 5.04 2.39 11.99 10.86 4.44 9.12 10.06 -2.11 -0.68 14.21 -2.22 3.41 -2.51 3.49 3.97 11.2 2.36 5.51 0.56 -1.21 -6.32 -6.15 3.34 5.82 -3.82 2.72 -2.86 -2.61 2.17 -11.12 4.38 -1.54 4.14 -4.7 1.43 -5.42 -6.96 1.82 -0.49 11.6 5.28 -10.44 -1.23 -9.07 4.28 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