Send output to:
Browser Blue - Charts White
Browser Black/White
CSV
Data X:
126.2 111.2 88.8 95.1 127.0 116.7 64.6 97.0 127.1 114.8 50.0 112.7 123.6 100.0 94.1 102.9 125.0 98.8 120.8 97.4 134.7 106.3 82.2 111.4 140.7 119.5 86.4 87.4 137.9 120.7 78.5 96.8 142.1 121.1 60.4 114.1 137.5 112.4 96.3 110.3 136.4 108.2 82.3 103.9 140.7 113.6 91.2 101.6 120.0 106.7 126.3 94.6 123.8 114.3 131.8 95.9 132.2 117.3 135.8 104.7 136.4 109.6 135.3 102.8 144.2 109.9 116.2 98.1 144.9 112.5 104.4 113.9 138.9 116.1 112.5 80.9 129.3 112.0 108.0 95.7 133.3 113.3 94.0 113.2 137.5 107.9 83.2 105.9 140.0 108.2 82.9 108.8 146.3 114.8 116.1 102.3 124.6 105.6 146.9 99.0 130.2 111.9 122.1 100.7 139.0 113.6 74.8 115.5 149.1 108.4 96.1 100.7 151.9 111.1 101.4 109.9 149.0 112.5 68.0 114.6 127.8 112.6 57.3 85.4 113.8 108.7 56.6 100.5 117.5 108.9 36.3 114.8 123.2 104.5 40.7 116.5 127.3 105.9 48.1 112.9 131.5 111.1 65.9 102.0 110.8 102.2 92.7 106.0 112.7 108.3 90.8 105.3 116.9 112.3 80.5 118.8 127.3 110.8 87.3 106.1 130.8 108.6 59.3 109.3 130.6 103.8 46.9 117.2 124.1 96.6 49.1 92.5 113.8 88.0 38.9 104.2 112.3 85.6 44.9 112.5 112.5 88.8 75.4 122.4 112.7 92.9 94.8 113.3 120.4 98.8 124.1 100.0 104.6 88.8 193.3 110.7 107.9 90.5 186.7 112.8 108.5 87.7 194.2 109.8 110.9 81.9 203.4 117.3 111.5 80.2 241.2 109.1 124.5 86.3 210.9 115.9 133.3 94.3 211.8 96.0 125.9 94.6 187.2 99.8 121.1 92.2 162.5 116.8 108.9 88.8 158.9 115.7 105.5 88.2 101.3 99.4 114.8 96.3 105.6 94.3
Names of X columns:
WLMan WLVrouw Infl Prod
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