Send output to:
Browser Blue - Charts White
Browser Black/White
CSV
Data X:
-0.0166 5.6 -12 -6967 -0.0122 -6.4 -1 -12082 -0.0175 2.1 -4 -5121 -0.0178 5.1 3 -6780 -0.021 -2.1 0 -4759 0.0075 -6.6 -2 52687 0.0398 2.5 -5 25658 0.0106 -0.5 -7 3254 -0.0052 -15.5 -12 -10096 -0.0176 -8.7 -1 -31847 0.0041 -0.3 17 83 -0.0091 2.4 10 4982 -0.0133 2.2 2 -1444 0.0058 13.3 3 -4166 0.01 6.2 -4 -9188 0.0312 0.5 3 -6527 0.0384 -3.5 0 902 0.0368 3.7 -5 61221 -0.0144 3.3 -5 8345 0.003 5.7 1 -2217 0.0003 -3 2 -4390 0.0203 -9.8 1 -9346 0.0169 9.3 -7 2999 0.0439 10.8 -8 6926 0.0151 8.1 -3 -2155 0.0034 -9.1 -9 -7076 0.0041 -16.6 17 -806 0.0734 1.8 7 -8270 0.0081 6.3 -5 6114 -0.0291 3.1 -3 62352 -0.0233 3.9 2 10391 0.0083 -9.9 8 -1722 0.047 7.1 -11 -12528 0.001 0.7 13 -18120 0.0584 2.8 0 7444 0.0327 5 4 7537 0.0033 -0.5 3 -1471 -0.0384 7.5 -2 -5522 -0.0277 1.5 -3 -11733 0.0022 12.5 -4 -6937 0.0131 -5.4 8 6060 0.0128 7.2 -9 50808 -0.009 13.9 4 17233 0.0042 -1.2 -1 1850 0.0272 18.6 -7 -1289 0.0501 -14.6 1 -17157 0.0417 -12.1 2 1287 -0.0289 14 0 -4589 -0.0105 5.1 2 -1486 0.0187 23.2 4 -4951 -0.0263 0.4 -7 -11328 -0.0244 -10 -10 -5644 -0.0529 21.2 -1 1572 -0.0128 7.9 -2 51707 0.0255 18.7 5 8149 -0.0036 -0.7 -10 -652 -0.0241 -12.5 13 -16115 -0.0229 -11 0 -16713 0.007 5.3 4 1737 0.0247 20 3 -3733 -0.0165 -8.2 -1 -3336 0.0082 4.1 -3 -10273 0.0251 25 0 -5594 0.0499 2 0 -1430 -0.012 -1.5 4 167 0.0034 14.7 3 46625 0.0127 -2.4 -5 6242 -0.0084 -34.8 2 -5893 -0.0116 -14.5 6 -32291 0.027 1.9 -1 -21883 0.0332 10 -9 -8468 -0.0214 -27.1 6 3302 0.0075 14.4 1 -11722 0.0168 11.1 -3 -17181 0.0274 16.3 7 -5754 -0.0005 -0.3 -2 -14881 -0.0092 11 1 -12376 0.0297 18.6 -3 56700 -0.0094 -11.8 -10 9229 0.0274 22.5 0 -22934 -1.3896 -270.3 10 -541657
Names of X columns:
Dollar Olie Vertrouwen Werk
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