Send output to:
Browser Blue - Charts White
Browser Black/White
CSV
Data X:
0 544.5 -0.04 619.8 -0.0325 777.6 -0.0179 640.4 -0.0076 633 -0.025 722 -0.0025 860.1 0.0251 495.1 -0.0103 692.8 0.0205 766.7 -0.0368 648.5 -0.0228 640 0.0027 681.6 -0.0303 752.5 -0.0191 1031.7 -0.0173 685.5 -0.041 887.6 0.0432 655.4 -0.0095 944.2 -0.0356 626.6 -0.032 1221.8 -0.0169 939.6 0.0012 886.6 0.0409 811.3 0.041 774.7 -0.0166 910.6 -0.0122 911.6 -0.0175 697.7 -0.0178 829.8 -0.021 824.3 0.0075 885.6 0.0398 538.9 0.0106 686 -0.0052 878.7 -0.0176 812.7 0.0041 640.4 -0.0091 773.9 -0.0133 795.9 0.0058 836.3 0.01 876.1 0.0312 851.7 0.0384 692.4 0.0368 877.3 -0.0144 536.8 0.003 705.9 0.0003 951 0.0203 755.7 0.0169 695.5 0.0439 744.8 0.0151 672.1 0.0034 666.6 0.0041 760.8 0.0734 756 0.0081 604.4 -0.0291 883.9 -0.0233 527.9 0.0083 756.2 0.047 812.9 0.001 655.6 0.0584 707.6
Names of X columns:
dollarkoers export
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